]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxNotificationMessage and implemented it generically and natively for Maemo
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 50135 2007-11-21 14:24:40Z 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_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_STC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_REGEX_BUILTIN
895 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
896 COND_SHARED_1
897 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
898 COND_TOOLKIT_
899 COND_TOOLKIT_COCOA
900 COND_TOOLKIT_COCOA_USE_GUI_1
901 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
902 COND_TOOLKIT_DFB
903 COND_TOOLKIT_DFB_USE_GUI_1
904 COND_TOOLKIT_GTK
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_GTK_USE_GUI_1
913 COND_TOOLKIT_MAC
914 COND_TOOLKIT_MAC_USE_GUI_1
915 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_MGL
917 COND_TOOLKIT_MGL_USE_GUI_1
918 COND_TOOLKIT_MOTIF
919 COND_TOOLKIT_MOTIF_USE_GUI_1
920 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MSW
922 COND_TOOLKIT_MSW_USE_GUI_1
923 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW_WXUNIV_0
925 COND_TOOLKIT_PM
926 COND_TOOLKIT_PM_USE_GUI_1
927 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_WINCE
929 COND_TOOLKIT_WINCE_USE_GUI_1
930 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE_WXUNIV_0
932 COND_TOOLKIT_X11
933 COND_TOOLKIT_X11_USE_GUI_1
934 COND_UNICODE_1
935 COND_USE_EXCEPTIONS_0
936 COND_USE_EXCEPTIONS_1
937 COND_USE_GUI_0
938 COND_USE_GUI_1
939 COND_USE_GUI_1_USE_OPENGL_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_PCH_1
946 COND_USE_PLUGINS_0
947 COND_USE_RTTI_0
948 COND_USE_RTTI_1
949 COND_USE_SOSYMLINKS_1
950 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
951 COND_USE_SOVERLINUX_1
952 COND_USE_SOVERSION_0
953 COND_USE_SOVERSOLARIS_1
954 COND_USE_STC_1
955 COND_USE_THREADS_0
956 COND_USE_THREADS_1
957 COND_USE_XRC_1
958 COND_WINDOWS_IMPLIB_1
959 COND_WITH_PLUGIN_SDL_1
960 COND_WXUNIV_0
961 COND_WXUNIV_1
962 COND_WXUSE_EXPAT_BUILTIN
963 COND_WXUSE_LIBJPEG_BUILTIN
964 COND_WXUSE_LIBPNG_BUILTIN
965 COND_WXUSE_LIBTIFF_BUILTIN
966 COND_WXUSE_REGEX_BUILTIN
967 COND_WXUSE_ZLIB_BUILTIN
968 DEREZ
969 SHARED
970 WX_LIBRARY_BASENAME_NOGUI
971 WX_LIBRARY_BASENAME_GUI
972 USE_GUI
973 AFMINSTALL
974 WIN32INSTALL
975 TOOLKIT
976 TOOLKIT_DIR
977 TOOLCHAIN_NAME
978 TOOLCHAIN_FULLNAME
979 cross_compiling
980 WIDGET_SET
981 WX_RELEASE
982 WX_VERSION
983 WX_SUBVERSION
984 WX_CHARTYPE
985 WX_DEBUGTYPE
986 WXCONFIG_CPPFLAGS
987 WXCONFIG_CFLAGS
988 WXCONFIG_CXXFLAGS
989 WXCONFIG_LIBS
990 WXCONFIG_RPATH
991 WXCONFIG_LDFLAGS_GUI
992 WXCONFIG_RESFLAGS
993 GUIDIST
994 DISTDIR
995 SAMPLES_SUBDIRS
996 LDFLAGS_GL
997 OPENGL_LIBS
998 DMALLOC_LIBS
999 WX_VERSION_TAG
1000 RESCOMP
1001 RESFLAGS
1002 RESPROGRAMOBJ
1003 WX_RESOURCES_MACOSX_ASCII
1004 WX_RESOURCES_MACOSX_DATA
1005 LIBWXMACRES
1006 POSTLINK_COMMAND
1007 MACSETFILE
1008 GCC
1009 DLLTOOL
1010 CPPUNIT_CONFIG
1011 LIBOBJS
1012 LTLIBOBJS'
1013 ac_subst_files=''
1014 ac_precious_vars='build_alias
1015 host_alias
1016 target_alias
1017 CC
1018 CFLAGS
1019 LDFLAGS
1020 LIBS
1021 CPPFLAGS
1022 CPP
1023 CXX
1024 CXXFLAGS
1025 CCC
1026 PKG_CONFIG
1027 DIRECTFB_CFLAGS
1028 DIRECTFB_LIBS
1029 XMKMF
1030 PANGOX_CFLAGS
1031 PANGOX_LIBS
1032 PANGOFT2_CFLAGS
1033 PANGOFT2_LIBS
1034 PANGOXFT_CFLAGS
1035 PANGOXFT_LIBS
1036 GTKPRINT_CFLAGS
1037 GTKPRINT_LIBS
1038 LIBGNOMEPRINTUI_CFLAGS
1039 LIBGNOMEPRINTUI_LIBS
1040 GNOMEVFS_CFLAGS
1041 GNOMEVFS_LIBS
1042 HILDON_CFLAGS
1043 HILDON_LIBS
1044 CAIRO_CFLAGS
1045 CAIRO_LIBS
1046 GST_CFLAGS
1047 GST_LIBS'
1048 ac_subdirs_all='src/tiff
1049 src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --disable-gui don't build GUI parts of the library
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-official_build official build of wxWidgets (win32 DLL only)
1632 --enable-vendor=VENDOR vendor name (win32 DLL only)
1633 --disable-all-features disable all optional features to build minimal library
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --disable-shared create static library instead of shared
1639 --disable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-std_iostreams use standard C++ stream classes
1643 --enable-std_string use standard C++ string classes
1644 --disable-unicode compile without Unicode support
1645 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1646 --enable-utf8 use UTF-8 representation for strings (Unix only)
1647 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1648 --enable-extended_rtti use extended RTTI (XTI)
1649 --enable-omf use OMF object format
1650 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1651 --enable-debug_info create code with debugging information
1652 --enable-debug_gdb create code with extra GDB debugging information
1653 --enable-debug_cntxt use wxDebugContext
1654 --enable-mem_tracing create code with memory tracing
1655 --enable-profile create code with profiling information
1656 --enable-no_rtti create code without RTTI information
1657 --enable-no_exceptions create code without C++ exceptions handling
1658 --enable-permissive compile code disregarding strict ANSI
1659 --enable-no_deps create code without dependency information
1660 --disable-vararg_macros don't use vararg macros, even if they are supported
1661 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1662 --enable-compat26 enable wxWidgets 2.6 compatibility
1663 --disable-compat28 disable wxWidgets 2.8 compatibility
1664 --disable-rpath disable use of rpath for uninstalled builds
1665 --enable-objc_uniquifying enable Objective-C class name uniquifying
1666 --disable-visibility disable use of ELF symbols visibility even if supported
1667 --enable-intl use internationalization system
1668 --enable-config use wxConfig (and derived) classes
1669 --enable-protocols use wxProtocol and derived classes
1670 --enable-ftp use wxFTP (requires wxProtocol
1671 --enable-http use wxHTTP (requires wxProtocol
1672 --enable-fileproto use wxFileProto class (requires wxProtocol
1673 --enable-sockets use socket/network classes
1674 --enable-ipv6 enable IPv6 support in wxSocket
1675 --enable-ole use OLE classes (Win32 only)
1676 --enable-dataobj use data object classes
1677 --enable-ipc use interprocess communication (wxSocket etc.)
1678 --enable-baseevtloop use event loop in console programs too
1679 --enable-epollloop use wxEpollDispatcher class (Linux only)
1680 --enable-selectloop use wxSelectDispatcher class
1681 --enable-apple_ieee use the Apple IEEE codec
1682 --enable-arcstream use wxArchive streams
1683 --enable-base64 use base64 encoding/decoding functions
1684 --enable-backtrace use wxStackWalker class for getting backtraces
1685 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1686 --enable-cmdline use wxCmdLineParser class
1687 --enable-datetime use wxDateTime class
1688 --enable-debugreport use wxDebugReport class
1689 --enable-dialupman use dialup network classes
1690 --enable-dynlib use wxLibrary class for DLL loading
1691 --enable-dynamicloader use (new) wxDynamicLibrary class
1692 --enable-exceptions build exception-safe library
1693 --enable-ffile use wxFFile class
1694 --enable-file use wxFile class
1695 --enable-filesystem use virtual file systems classes
1696 --enable-fontenum use wxFontEnumerator class
1697 --enable-fontmap use font encodings conversion classes
1698 --enable-fs_archive use virtual archive filesystems
1699 --enable-fs_inet use virtual HTTP/FTP filesystems
1700 --enable-fs_zip now replaced by fs_archive
1701 --enable-geometry use geometry class
1702 --enable-log use logging system
1703 --enable-longlong use wxLongLong class
1704 --enable-mimetype use wxMimeTypesManager
1705 --enable-snglinst use wxSingleInstanceChecker class
1706 --enable-stdpaths use wxStandardPaths class
1707 --enable-stopwatch use wxStopWatch class
1708 --enable-streams use wxStream etc classes
1709 --enable-sysoptions use wxSystemOptions
1710 --enable-tarstream use wxTar streams
1711 --enable-textbuf use wxTextBuffer class
1712 --enable-textfile use wxTextFile class
1713 --enable-timer use wxTimer class
1714 --enable-sound use wxSound class
1715 --enable-mediactrl use wxMediaCtrl class
1716 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1717 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1718 --enable-zipstream use wxZip streams
1719 --enable-url use wxURL class
1720 --enable-variant use wxVariant class
1721 --enable-protocol use wxProtocol class
1722 --enable-protocol-http HTTP support in wxProtocol
1723 --enable-protocol-ftp FTP support in wxProtocol
1724 --enable-protocol-file FILE support in wxProtocol
1725 --enable-threads use threads
1726 --enable-iniconf use wxIniConfig (Win32 only)
1727 --enable-regkey use wxRegKey class (Win32 only)
1728 --enable-docview use document view architecture
1729 --enable-help use help subsystem
1730 --enable-mshtmlhelp use MS HTML Help (win32)
1731 --enable-html use wxHTML sub-library
1732 --enable-htmlhelp use wxHTML-based help
1733 --enable-xrc use XRC resources sub-library
1734 --enable-aui use AUI docking library
1735 --enable-stc use wxStyledTextCtrl library
1736 --enable-constraints use layout-constraints system
1737 --enable-printarch use printing architecture
1738 --enable-mdi use multiple document interface architecture
1739 --enable-mdidoc use docview architecture with MDI
1740 --enable-loggui use standard GUI logger
1741 --enable-logwin use wxLogWindow
1742 --enable-logdialog use wxLogDialog
1743 --enable-webkit use wxWebKitCtrl (Mac)
1744 --enable-richtext use wxRichTextCtrl
1745 --enable-graphics_ctx use graphics context 2D drawing API
1746 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1747 --enable-svg use wxSVGFileDC device context
1748 --enable-clipboard use wxClipboard class
1749 --enable-dnd use Drag'n'Drop classes
1750 --enable-metafile use win32 metafiles
1751 --disable-controls disable compilation of all standard controls
1752 --enable-accel use accelerators
1753 --enable-animatectrl use wxAnimationCtrl class
1754 --enable-button use wxButton class
1755 --enable-bmpbutton use wxBitmapButton class
1756 --enable-bmpcombobox use wxBitmapComboBox class
1757 --enable-calendar use wxCalendarCtrl class
1758 --enable-caret use wxCaret class
1759 --enable-checkbox use wxCheckBox class
1760 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1761 --enable-choice use wxChoice class
1762 --enable-choicebook use wxChoicebook class
1763 --enable-collpane use wxCollapsiblePane class
1764 --enable-colourpicker use wxColourPickerCtrl class
1765 --enable-combobox use wxComboBox class
1766 --enable-comboctrl use wxComboCtrl class
1767 --enable-datepick use wxDatePickerCtrl class
1768 --enable-dirpicker use wxDirPickerCtrl class
1769 --enable-display use wxDisplay class
1770 --enable-detect_sm use code to detect X11 session manager
1771 --enable-editablebox use wxEditableListBox class
1772 --enable-filepicker use wxFilePickerCtrl class
1773 --enable-filectrl use wxFileCtrl class
1774 --enable-fontpicker use wxFontPickerCtrl class
1775 --enable-gauge use wxGauge class
1776 --enable-grid use wxGrid class
1777 --enable-dataviewctrl use wxDataViewCtrl class
1778 --enable-hyperlink use wxHyperlinkCtrl class
1779 --enable-imaglist use wxImageList class
1780 --enable-listbook use wxListbook class
1781 --enable-listbox use wxListBox class
1782 --enable-listctrl use wxListCtrl class
1783 --enable-notebook use wxNotebook class
1784 --enable-notifmsg use wxNotificationMessage class
1785 --enable-odcombobox use wxOwnerDrawnComboBox class
1786 --enable-radiobox use wxRadioBox class
1787 --enable-radiobtn use wxRadioButton class
1788 --enable-sash use wxSashWindow class
1789 --enable-scrollbar use wxScrollBar class and scrollable windows
1790 --enable-searchctrl use wxSearchCtrl class
1791 --enable-slider use wxSlider class
1792 --enable-spinbtn use wxSpinButton class
1793 --enable-spinctrl use wxSpinCtrl class
1794 --enable-splitter use wxSplitterWindow class
1795 --enable-statbmp use wxStaticBitmap class
1796 --enable-statbox use wxStaticBox class
1797 --enable-statline use wxStaticLine class
1798 --enable-stattext use wxStaticText class
1799 --enable-statusbar use wxStatusBar class
1800 --enable-tabdialog use wxTabControl class
1801 --enable-taskbaricon use wxTaskBarIcon class
1802 --enable-textctrl use wxTextCtrl class
1803 --enable-togglebtn use wxToggleButton class
1804 --enable-toolbar use wxToolBar class
1805 --enable-tbarnative use native wxToolBar class
1806 --enable-treebook use wxTreebook class
1807 --enable-toolbook use wxToolbook class
1808 --enable-treectrl use wxTreeCtrl class
1809 --enable-tipwindow use wxTipWindow class
1810 --enable-popupwin use wxPopUpWindow class
1811 --enable-commondlg use all common dialogs
1812 --enable-aboutdlg use wxAboutBox
1813 --enable-choicedlg use wxChoiceDialog
1814 --enable-coldlg use wxColourDialog
1815 --enable-filedlg use wxFileDialog
1816 --enable-finddlg use wxFindReplaceDialog
1817 --enable-fontdlg use wxFontDialog
1818 --enable-dirdlg use wxDirDialog
1819 --enable-msgdlg use wxMessageDialog
1820 --enable-numberdlg use wxNumberEntryDialog
1821 --enable-splash use wxSplashScreen
1822 --enable-textdlg use wxTextDialog
1823 --enable-tipdlg use startup tips
1824 --enable-progressdlg use wxProgressDialog
1825 --enable-wizarddlg use wxWizard
1826 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1827 --enable-miniframe use wxMiniFrame class
1828 --enable-tooltips use wxToolTip class
1829 --enable-splines use spline drawing code
1830 --enable-mousewheel use mousewheel
1831 --enable-validators use wxValidator and derived classes
1832 --enable-busyinfo use wxBusyInfo
1833 --enable-joystick use wxJoystick
1834 --enable-metafiles use wxMetaFile (Win32 only)
1835 --enable-dragimage use wxDragImage
1836 --enable-accessibility enable accessibility support
1837 --enable-palette use wxPalette class
1838 --enable-image use wxImage class
1839 --enable-gif use gif images (GIF file format)
1840 --enable-pcx use pcx images (PCX file format)
1841 --enable-tga use tga images (TGA file format)
1842 --enable-iff use iff images (IFF file format)
1843 --enable-pnm use pnm images (PNM file format)
1844 --enable-xpm use xpm images (XPM file format)
1845 --enable-icocur use Windows ICO and CUR formats
1846 --enable-dccache cache temporary wxDC objects (Win32 only)
1847 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1848 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1849 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1850 --enable-wxdib use wxDIB class (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1858 can
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1861
1862 Optional Packages:
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1878 --with-x11 use X11
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gtkprint don't use GTK printing support
1885 --without-gnomeprint don't use GNOME printing libraries
1886 --with-gnomevfs use GNOME VFS for associating MIME types
1887 --with-hildon use Hildon framework for Nokia 770
1888 --with-opengl use OpenGL (or Mesa)
1889 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1890 --with-sdl use SDL for audio on Unix
1891 --with-regex enable support for wxRegEx class
1892 --with-zlib use zlib for LZW compression
1893 --with-expat enable XML support using expat parser
1894 --with-macosx-sdk=PATH use an OS X SDK at PATH
1895 --with-macosx-version-min=VER build binaries which require at least this OS X version
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1913 CPP C preprocessor
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1917 DIRECTFB_CFLAGS
1918 C compiler flags for DIRECTFB, overriding pkg-config
1919 DIRECTFB_LIBS
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 PANGOX_CFLAGS
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 PANGOFT2_CFLAGS
1926 C compiler flags for PANGOFT2, overriding pkg-config
1927 PANGOFT2_LIBS
1928 linker flags for PANGOFT2, overriding pkg-config
1929 PANGOXFT_CFLAGS
1930 C compiler flags for PANGOXFT, overriding pkg-config
1931 PANGOXFT_LIBS
1932 linker flags for PANGOXFT, overriding pkg-config
1933 GTKPRINT_CFLAGS
1934 C compiler flags for GTKPRINT, overriding pkg-config
1935 GTKPRINT_LIBS
1936 linker flags for GTKPRINT, overriding pkg-config
1937 LIBGNOMEPRINTUI_CFLAGS
1938 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1939 LIBGNOMEPRINTUI_LIBS
1940 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1941 GNOMEVFS_CFLAGS
1942 C compiler flags for GNOMEVFS, overriding pkg-config
1943 GNOMEVFS_LIBS
1944 linker flags for GNOMEVFS, overriding pkg-config
1945 HILDON_CFLAGS
1946 C compiler flags for HILDON, overriding pkg-config
1947 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1948 CAIRO_CFLAGS
1949 C compiler flags for CAIRO, overriding pkg-config
1950 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1951 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1952 GST_LIBS linker flags for GST, overriding pkg-config
1953
1954 Use these variables to override the choices made by `configure' or to help
1955 it to find libraries and programs with nonstandard names/locations.
1956
1957 Report bugs to <wx-dev@lists.wxwidgets.org>.
1958 _ACEOF
1959 ac_status=$?
1960 fi
1961
1962 if test "$ac_init_help" = "recursive"; then
1963 # If there are subdirs, report their specific --help.
1964 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1965 test -d "$ac_dir" || continue
1966 ac_builddir=.
1967
1968 case "$ac_dir" in
1969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1970 *)
1971 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1972 # A ".." for each directory in $ac_dir_suffix.
1973 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1974 case $ac_top_builddir_sub in
1975 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1976 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1977 esac ;;
1978 esac
1979 ac_abs_top_builddir=$ac_pwd
1980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1981 # for backward compatibility:
1982 ac_top_builddir=$ac_top_build_prefix
1983
1984 case $srcdir in
1985 .) # We are building in place.
1986 ac_srcdir=.
1987 ac_top_srcdir=$ac_top_builddir_sub
1988 ac_abs_top_srcdir=$ac_pwd ;;
1989 [\\/]* | ?:[\\/]* ) # Absolute name.
1990 ac_srcdir=$srcdir$ac_dir_suffix;
1991 ac_top_srcdir=$srcdir
1992 ac_abs_top_srcdir=$srcdir ;;
1993 *) # Relative name.
1994 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1995 ac_top_srcdir=$ac_top_build_prefix$srcdir
1996 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1997 esac
1998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1999
2000 cd "$ac_dir" || { ac_status=$?; continue; }
2001 # Check for guested configure.
2002 if test -f "$ac_srcdir/configure.gnu"; then
2003 echo &&
2004 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2005 elif test -f "$ac_srcdir/configure"; then
2006 echo &&
2007 $SHELL "$ac_srcdir/configure" --help=recursive
2008 else
2009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2010 fi || ac_status=$?
2011 cd "$ac_pwd" || { ac_status=$?; break; }
2012 done
2013 fi
2014
2015 test -n "$ac_init_help" && exit $ac_status
2016 if $ac_init_version; then
2017 cat <<\_ACEOF
2018 wxWidgets configure 2.9.0
2019 generated by GNU Autoconf 2.61
2020
2021 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2022 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2023 This configure script is free software; the Free Software Foundation
2024 gives unlimited permission to copy, distribute and modify it.
2025 _ACEOF
2026 exit
2027 fi
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2031
2032 It was created by wxWidgets $as_me 2.9.0, which was
2033 generated by GNU Autoconf 2.61. Invocation command line was
2034
2035 $ $0 $@
2036
2037 _ACEOF
2038 exec 5>>config.log
2039 {
2040 cat <<_ASUNAME
2041 ## --------- ##
2042 ## Platform. ##
2043 ## --------- ##
2044
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2053
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2061
2062 _ASUNAME
2063
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067 IFS=$as_save_IFS
2068 test -z "$as_dir" && as_dir=.
2069 echo "PATH: $as_dir"
2070 done
2071 IFS=$as_save_IFS
2072
2073 } >&5
2074
2075 cat >&5 <<_ACEOF
2076
2077
2078 ## ----------- ##
2079 ## Core tests. ##
2080 ## ----------- ##
2081
2082 _ACEOF
2083
2084
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_configure_args=
2091 ac_configure_args0=
2092 ac_configure_args1=
2093 ac_must_keep_next=false
2094 for ac_pass in 1 2
2095 do
2096 for ac_arg
2097 do
2098 case $ac_arg in
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2102 continue ;;
2103 *\'*)
2104 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105 esac
2106 case $ac_pass in
2107 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2108 2)
2109 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2112 else
2113 case $ac_arg in
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120 esac
2121 ;;
2122 -* ) ac_must_keep_next=true ;;
2123 esac
2124 fi
2125 ac_configure_args="$ac_configure_args '$ac_arg'"
2126 ;;
2127 esac
2128 done
2129 done
2130 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2131 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2132
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2140 {
2141 echo
2142
2143 cat <<\_ASBOX
2144 ## ---------------- ##
2145 ## Cache variables. ##
2146 ## ---------------- ##
2147 _ASBOX
2148 echo
2149 # The following way of writing the cache mishandles newlines in values,
2150 (
2151 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2152 eval ac_val=\$$ac_var
2153 case $ac_val in #(
2154 *${as_nl}*)
2155 case $ac_var in #(
2156 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2157 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2158 esac
2159 case $ac_var in #(
2160 _ | IFS | as_nl) ;; #(
2161 *) $as_unset $ac_var ;;
2162 esac ;;
2163 esac
2164 done
2165 (set) 2>&1 |
2166 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2167 *${as_nl}ac_space=\ *)
2168 sed -n \
2169 "s/'\''/'\''\\\\'\'''\''/g;
2170 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2171 ;; #(
2172 *)
2173 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2174 ;;
2175 esac |
2176 sort
2177 )
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ----------------- ##
2182 ## Output variables. ##
2183 ## ----------------- ##
2184 _ASBOX
2185 echo
2186 for ac_var in $ac_subst_vars
2187 do
2188 eval ac_val=\$$ac_var
2189 case $ac_val in
2190 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2191 esac
2192 echo "$ac_var='\''$ac_val'\''"
2193 done | sort
2194 echo
2195
2196 if test -n "$ac_subst_files"; then
2197 cat <<\_ASBOX
2198 ## ------------------- ##
2199 ## File substitutions. ##
2200 ## ------------------- ##
2201 _ASBOX
2202 echo
2203 for ac_var in $ac_subst_files
2204 do
2205 eval ac_val=\$$ac_var
2206 case $ac_val in
2207 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2208 esac
2209 echo "$ac_var='\''$ac_val'\''"
2210 done | sort
2211 echo
2212 fi
2213
2214 if test -s confdefs.h; then
2215 cat <<\_ASBOX
2216 ## ----------- ##
2217 ## confdefs.h. ##
2218 ## ----------- ##
2219 _ASBOX
2220 echo
2221 cat confdefs.h
2222 echo
2223 fi
2224 test "$ac_signal" != 0 &&
2225 echo "$as_me: caught signal $ac_signal"
2226 echo "$as_me: exit $exit_status"
2227 } >&5
2228 rm -f core *.core core.conftest.* &&
2229 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2230 exit $exit_status
2231 ' 0
2232 for ac_signal in 1 2 13 15; do
2233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2234 done
2235 ac_signal=0
2236
2237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2238 rm -f -r conftest* confdefs.h
2239
2240 # Predefined preprocessor variables.
2241
2242 cat >>confdefs.h <<_ACEOF
2243 #define PACKAGE_NAME "$PACKAGE_NAME"
2244 _ACEOF
2245
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2249 _ACEOF
2250
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2254 _ACEOF
2255
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_STRING "$PACKAGE_STRING"
2259 _ACEOF
2260
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2264 _ACEOF
2265
2266
2267 # Let the site file select an alternate cache file if it wants to.
2268 # Prefer explicitly selected file to automatically selected ones.
2269 if test -n "$CONFIG_SITE"; then
2270 set x "$CONFIG_SITE"
2271 elif test "x$prefix" != xNONE; then
2272 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2273 else
2274 set x "$ac_default_prefix/share/config.site" \
2275 "$ac_default_prefix/etc/config.site"
2276 fi
2277 shift
2278 for ac_site_file
2279 do
2280 if test -r "$ac_site_file"; then
2281 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2282 echo "$as_me: loading site script $ac_site_file" >&6;}
2283 sed 's/^/| /' "$ac_site_file" >&5
2284 . "$ac_site_file"
2285 fi
2286 done
2287
2288 if test -r "$cache_file"; then
2289 # Some versions of bash will fail to source /dev/null (special
2290 # files actually), so we avoid doing that.
2291 if test -f "$cache_file"; then
2292 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2293 echo "$as_me: loading cache $cache_file" >&6;}
2294 case $cache_file in
2295 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2296 *) . "./$cache_file";;
2297 esac
2298 fi
2299 else
2300 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2301 echo "$as_me: creating cache $cache_file" >&6;}
2302 >$cache_file
2303 fi
2304
2305 # Check that the precious variables saved in the cache have kept the same
2306 # value.
2307 ac_cache_corrupted=false
2308 for ac_var in $ac_precious_vars; do
2309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2310 eval ac_new_set=\$ac_env_${ac_var}_set
2311 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2312 eval ac_new_val=\$ac_env_${ac_var}_value
2313 case $ac_old_set,$ac_new_set in
2314 set,)
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2318 ,set)
2319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2321 ac_cache_corrupted=: ;;
2322 ,);;
2323 *)
2324 if test "x$ac_old_val" != "x$ac_new_val"; then
2325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2328 echo "$as_me: former value: $ac_old_val" >&2;}
2329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2330 echo "$as_me: current value: $ac_new_val" >&2;}
2331 ac_cache_corrupted=:
2332 fi;;
2333 esac
2334 # Pass precious variables to config.status.
2335 if test "$ac_new_set" = set; then
2336 case $ac_new_val in
2337 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2338 *) ac_arg=$ac_var=$ac_new_val ;;
2339 esac
2340 case " $ac_configure_args " in
2341 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2342 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2343 esac
2344 fi
2345 done
2346 if $ac_cache_corrupted; then
2347 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2348 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2350 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2351 { (exit 1); exit 1; }; }
2352 fi
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378 ac_ext=c
2379 ac_cpp='$CPP $CPPFLAGS'
2380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383
2384
2385
2386
2387
2388 ac_aux_dir=
2389 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2390 if test -f "$ac_dir/install-sh"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/install-sh -c"
2393 break
2394 elif test -f "$ac_dir/install.sh"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/install.sh -c"
2397 break
2398 elif test -f "$ac_dir/shtool"; then
2399 ac_aux_dir=$ac_dir
2400 ac_install_sh="$ac_aux_dir/shtool install -c"
2401 break
2402 fi
2403 done
2404 if test -z "$ac_aux_dir"; then
2405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2406 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2407 { (exit 1); exit 1; }; }
2408 fi
2409
2410 # These three variables are undocumented and unsupported,
2411 # and are intended to be withdrawn in a future Autoconf release.
2412 # They can cause serious problems if a builder's source tree is in a directory
2413 # whose full name contains unusual characters.
2414 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2415 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2416 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2417
2418
2419 # Make sure we can run config.sub.
2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2421 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2423 { (exit 1); exit 1; }; }
2424
2425 { echo "$as_me:$LINENO: checking build system type" >&5
2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2427 if test "${ac_cv_build+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 ac_build_alias=$build_alias
2431 test "x$ac_build_alias" = x &&
2432 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2433 test "x$ac_build_alias" = x &&
2434 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2436 { (exit 1); exit 1; }; }
2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2438 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2440 { (exit 1); exit 1; }; }
2441
2442 fi
2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2444 echo "${ECHO_T}$ac_cv_build" >&6; }
2445 case $ac_cv_build in
2446 *-*-*) ;;
2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2448 echo "$as_me: error: invalid value of canonical build" >&2;}
2449 { (exit 1); exit 1; }; };;
2450 esac
2451 build=$ac_cv_build
2452 ac_save_IFS=$IFS; IFS='-'
2453 set x $ac_cv_build
2454 shift
2455 build_cpu=$1
2456 build_vendor=$2
2457 shift; shift
2458 # Remember, the first character of IFS is used to create $*,
2459 # except with old shells:
2460 build_os=$*
2461 IFS=$ac_save_IFS
2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2463
2464
2465 { echo "$as_me:$LINENO: checking host system type" >&5
2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_host+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 else
2470 if test "x$host_alias" = x; then
2471 ac_cv_host=$ac_cv_build
2472 else
2473 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2477 fi
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2481 echo "${ECHO_T}$ac_cv_host" >&6; }
2482 case $ac_cv_host in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2485 echo "$as_me: error: invalid value of canonical host" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 host=$ac_cv_host
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_host
2491 shift
2492 host_cpu=$1
2493 host_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 host_os=$*
2498 IFS=$ac_save_IFS
2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking target system type" >&5
2503 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_target+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$target_alias" = x; then
2508 ac_cv_target=$ac_cv_host
2509 else
2510 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2518 echo "${ECHO_T}$ac_cv_target" >&6; }
2519 case $ac_cv_target in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2522 echo "$as_me: error: invalid value of canonical target" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 target=$ac_cv_target
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_target
2528 shift
2529 target_cpu=$1
2530 target_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 target_os=$*
2535 IFS=$ac_save_IFS
2536 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2537
2538
2539 # The aliases save the names the user supplied, while $host etc.
2540 # will get canonicalized.
2541 test -n "$target_alias" &&
2542 test "$program_prefix$program_suffix$program_transform_name" = \
2543 NONENONEs,x,x, &&
2544 program_prefix=${target_alias}-
2545
2546
2547
2548 wx_major_version_number=2
2549 wx_minor_version_number=9
2550 wx_release_number=0
2551 wx_subrelease_number=0
2552
2553 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2554 WX_VERSION=$WX_RELEASE.$wx_release_number
2555 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2556
2557 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2558
2559
2560 wx_top_builddir="`pwd`"
2561
2562
2563
2564
2565 USE_UNIX=1
2566 USE_OS2=0
2567 USE_WIN32=0
2568 USE_DOS=0
2569 USE_BEOS=0
2570 USE_MAC=0
2571
2572 USE_AIX=
2573 USE_BSD= USE_DARWIN= USE_FREEBSD=
2574 USE_GNU= USE_HPUX=
2575 USE_LINUX=
2576 USE_NETBSD=
2577 USE_OPENBSD=
2578 USE_OSF= USE_SGI=
2579 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2580 USE_ULTRIX=
2581 USE_UNIXWARE=
2582
2583 USE_ALPHA=
2584
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2586
2587 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2588
2589 DEFAULT_wxUSE_COCOA=0
2590 DEFAULT_wxUSE_GTK=0
2591 DEFAULT_wxUSE_MAC=0
2592 DEFAULT_wxUSE_MGL=0
2593 DEFAULT_wxUSE_MICROWIN=0
2594 DEFAULT_wxUSE_MOTIF=0
2595 DEFAULT_wxUSE_MSW=0
2596 DEFAULT_wxUSE_PM=0
2597 DEFAULT_wxUSE_X11=0
2598 DEFAULT_wxUSE_DFB=0
2599
2600 DEFAULT_DEFAULT_wxUSE_COCOA=0
2601 DEFAULT_DEFAULT_wxUSE_GTK=0
2602 DEFAULT_DEFAULT_wxUSE_MAC=0
2603 DEFAULT_DEFAULT_wxUSE_MGL=0
2604 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2605 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2606 DEFAULT_DEFAULT_wxUSE_MSW=0
2607 DEFAULT_DEFAULT_wxUSE_PM=0
2608 DEFAULT_DEFAULT_wxUSE_X11=0
2609 DEFAULT_DEFAULT_wxUSE_DFB=0
2610
2611 PROGRAM_EXT=
2612 SO_SUFFIX=so
2613 SAMPLES_RPATH_FLAG=
2614 SAMPLES_RPATH_POSTLINK=
2615
2616 DEFAULT_STD_FLAG=yes
2617
2618 case "${host}" in
2619 *-hp-hpux* )
2620 USE_HPUX=1
2621 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2623 SO_SUFFIX=sl
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __HPUX__ 1
2626 _ACEOF
2627
2628
2629 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2630 ;;
2631 *-*-linux* )
2632 USE_LINUX=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __LINUX__ 1
2635 _ACEOF
2636
2637 TMP=`uname -m`
2638 if test "x$TMP" = "xalpha"; then
2639 USE_ALPHA=1
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __ALPHA__ 1
2642 _ACEOF
2643
2644 fi
2645 DEFAULT_DEFAULT_wxUSE_GTK=1
2646 ;;
2647 *-*-gnu* | *-*-k*bsd*-gnu )
2648 USE_GNU=1
2649 TMP=`uname -m`
2650 if test "x$TMP" = "xalpha"; then
2651 USE_ALPHA=1
2652 cat >>confdefs.h <<\_ACEOF
2653 #define __ALPHA__ 1
2654 _ACEOF
2655
2656 fi
2657 DEFAULT_DEFAULT_wxUSE_GTK=1
2658 ;;
2659 *-*-irix5* | *-*-irix6* )
2660 USE_SGI=1
2661 USE_SVR4=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SGI__ 1
2664 _ACEOF
2665
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __SVR4__ 1
2668 _ACEOF
2669
2670 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2671 ;;
2672 *-*-solaris2* )
2673 USE_SUN=1
2674 USE_SOLARIS=1
2675 USE_SVR4=1
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SUN__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SOLARIS__ 1
2682 _ACEOF
2683
2684 cat >>confdefs.h <<\_ACEOF
2685 #define __SVR4__ 1
2686 _ACEOF
2687
2688 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2689 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2690 ;;
2691 *-*-sunos4* )
2692 USE_SUN=1
2693 USE_SUNOS=1
2694 USE_BSD=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUN__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SUNOS__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-freebsd*)
2710 USE_BSD=1
2711 USE_FREEBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __FREEBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 ;;
2722 *-*-openbsd*|*-*-mirbsd*)
2723 USE_BSD=1
2724 USE_OPENBSD=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __OPENBSD__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __BSD__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_GTK=1
2734 ;;
2735 *-*-netbsd*)
2736 USE_BSD=1
2737 USE_NETBSD=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __NETBSD__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __BSD__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_GTK=1
2747 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2748
2749 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2750 ;;
2751 *-*-osf* )
2752 USE_ALPHA=1
2753 USE_OSF=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __ALPHA__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __OSF__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2764 ;;
2765 *-*-dgux5* )
2766 USE_ALPHA=1
2767 USE_SVR4=1
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __ALPHA__ 1
2770 _ACEOF
2771
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __SVR4__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2777 ;;
2778 *-*-sysv5* )
2779 USE_SYSV=1
2780 USE_SVR4=1
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SYSV__ 1
2783 _ACEOF
2784
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __SVR4__ 1
2787 _ACEOF
2788
2789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2790 ;;
2791 *-*-aix* )
2792 USE_AIX=1
2793 USE_SYSV=1
2794 USE_SVR4=1
2795 SO_SUFFIX=a
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __AIX__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SYSV__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __SVR4__ 1
2806 _ACEOF
2807
2808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2809 ;;
2810
2811 *-*-*UnixWare*)
2812 USE_SYSV=1
2813 USE_SVR4=1
2814 USE_UNIXWARE=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __UNIXWARE__ 1
2817 _ACEOF
2818
2819 ;;
2820
2821 *-*-cygwin* | *-*-mingw32* )
2822 SO_SUFFIX=dll
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 SO_SUFFIX=dylib
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __BSD__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __DARWIN__ 1
2880 _ACEOF
2881
2882 cat >>confdefs.h <<\_ACEOF
2883 #define TARGET_CARBON 1
2884 _ACEOF
2885
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 DEFAULT_STD_FLAG=no
2888 ;;
2889 powerpc-apple-macos* )
2890 USE_UNIX=0
2891 ac_cv_c_bigendian=yes
2892 SO_SUFFIX=shlib
2893 DEFAULT_DEFAULT_wxUSE_MAC=1
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896
2897 *-*-beos* )
2898 USE_BEOS=1
2899 cat >>confdefs.h <<\_ACEOF
2900 #define __BEOS__ 1
2901 _ACEOF
2902
2903 ;;
2904
2905 *)
2906 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2907 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2908 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2909 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2910
2911 DEFAULT_DEFAULT_wxUSE_X11=1
2912 DEFAULT_wxUSE_SHARED=no
2913 esac
2914
2915
2916
2917 DEFAULT_wxUSE_ALL_FEATURES=yes
2918
2919 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2920 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2921
2922 DEFAULT_wxUSE_DMALLOC=no
2923 DEFAULT_wxUSE_LIBGNOMEVFS=no
2924 DEFAULT_wxUSE_LIBHILDON=no
2925 DEFAULT_wxUSE_LIBMSPACK=no
2926 DEFAULT_wxUSE_LIBSDL=no
2927 DEFAULT_wxUSE_OPENGL=no
2928
2929 DEFAULT_wxUSE_ACCESSIBILITY=no
2930 DEFAULT_wxUSE_DATAVIEWCTRL=no
2931 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2932 DEFAULT_wxUSE_IPV6=no
2933 DEFAULT_wxUSE_MEDIACTRL=no
2934 DEFAULT_wxUSE_TAB_DIALOG=no
2935 DEFAULT_wxUSE_GSTREAMER8=no
2936
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939
2940 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2941
2942 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2943
2944 DEFAULT_wxUSE_GTK2=yes
2945
2946 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2947
2948
2949
2950
2951
2952 enablestring=disable
2953 defaultval=
2954 if test -z "$defaultval"; then
2955 if test x"$enablestring" = xdisable; then
2956 defaultval=yes
2957 else
2958 defaultval=no
2959 fi
2960 fi
2961
2962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2963 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2964 # Check whether --enable-gui was given.
2965 if test "${enable_gui+set}" = set; then
2966 enableval=$enable_gui;
2967 if test "$enableval" = yes; then
2968 wx_cv_use_gui='wxUSE_GUI=yes'
2969 else
2970 wx_cv_use_gui='wxUSE_GUI=no'
2971 fi
2972
2973 else
2974
2975 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2976
2977 fi
2978
2979
2980 eval "$wx_cv_use_gui"
2981
2982 if test x"$enablestring" = xdisable; then
2983 if test $wxUSE_GUI = yes; then
2984 result=no
2985 else
2986 result=yes
2987 fi
2988 else
2989 result=$wxUSE_GUI
2990 fi
2991
2992 { echo "$as_me:$LINENO: result: $result" >&5
2993 echo "${ECHO_T}$result" >&6; }
2994
2995
2996 enablestring=
2997 defaultval=
2998 if test -z "$defaultval"; then
2999 if test x"$enablestring" = xdisable; then
3000 defaultval=yes
3001 else
3002 defaultval=no
3003 fi
3004 fi
3005
3006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3007 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3008 # Check whether --enable-monolithic was given.
3009 if test "${enable_monolithic+set}" = set; then
3010 enableval=$enable_monolithic;
3011 if test "$enableval" = yes; then
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3013 else
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3015 fi
3016
3017 else
3018
3019 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3020
3021 fi
3022
3023
3024 eval "$wx_cv_use_monolithic"
3025
3026 if test x"$enablestring" = xdisable; then
3027 if test $wxUSE_MONOLITHIC = yes; then
3028 result=no
3029 else
3030 result=yes
3031 fi
3032 else
3033 result=$wxUSE_MONOLITHIC
3034 fi
3035
3036 { echo "$as_me:$LINENO: result: $result" >&5
3037 echo "${ECHO_T}$result" >&6; }
3038
3039
3040 enablestring=
3041 defaultval=
3042 if test -z "$defaultval"; then
3043 if test x"$enablestring" = xdisable; then
3044 defaultval=yes
3045 else
3046 defaultval=no
3047 fi
3048 fi
3049
3050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3051 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3052 # Check whether --enable-plugins was given.
3053 if test "${enable_plugins+set}" = set; then
3054 enableval=$enable_plugins;
3055 if test "$enableval" = yes; then
3056 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3057 else
3058 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3059 fi
3060
3061 else
3062
3063 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3064
3065 fi
3066
3067
3068 eval "$wx_cv_use_plugins"
3069
3070 if test x"$enablestring" = xdisable; then
3071 if test $wxUSE_PLUGINS = yes; then
3072 result=no
3073 else
3074 result=yes
3075 fi
3076 else
3077 result=$wxUSE_PLUGINS
3078 fi
3079
3080 { echo "$as_me:$LINENO: result: $result" >&5
3081 echo "${ECHO_T}$result" >&6; }
3082
3083
3084 withstring=without
3085 defaultval=$wxUSE_ALL_FEATURES
3086 if test -z "$defaultval"; then
3087 if test x"$withstring" = xwithout; then
3088 defaultval=yes
3089 else
3090 defaultval=no
3091 fi
3092 fi
3093 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3095
3096 # Check whether --with-subdirs was given.
3097 if test "${with_subdirs+set}" = set; then
3098 withval=$with_subdirs;
3099 if test "$withval" = yes; then
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3101 else
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3103 fi
3104
3105 else
3106
3107 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3108
3109 fi
3110
3111
3112 eval "$wx_cv_use_subdirs"
3113
3114 if test x"$withstring" = xwithout; then
3115 if test $wxWITH_SUBDIRS = yes; then
3116 result=no
3117 else
3118 result=yes
3119 fi
3120 else
3121 result=$wxWITH_SUBDIRS
3122 fi
3123
3124 { echo "$as_me:$LINENO: result: $result" >&5
3125 echo "${ECHO_T}$result" >&6; }
3126
3127
3128 # Check whether --with-flavour was given.
3129 if test "${with_flavour+set}" = set; then
3130 withval=$with_flavour; WX_FLAVOUR="$withval"
3131 fi
3132
3133
3134 enablestring=
3135 defaultval=
3136 if test -z "$defaultval"; then
3137 if test x"$enablestring" = xdisable; then
3138 defaultval=yes
3139 else
3140 defaultval=no
3141 fi
3142 fi
3143
3144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3145 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3146 # Check whether --enable-official_build was given.
3147 if test "${enable_official_build+set}" = set; then
3148 enableval=$enable_official_build;
3149 if test "$enableval" = yes; then
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3151 else
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3153 fi
3154
3155 else
3156
3157 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3158
3159 fi
3160
3161
3162 eval "$wx_cv_use_official_build"
3163
3164 if test x"$enablestring" = xdisable; then
3165 if test $wxUSE_OFFICIAL_BUILD = yes; then
3166 result=no
3167 else
3168 result=yes
3169 fi
3170 else
3171 result=$wxUSE_OFFICIAL_BUILD
3172 fi
3173
3174 { echo "$as_me:$LINENO: result: $result" >&5
3175 echo "${ECHO_T}$result" >&6; }
3176
3177 # Check whether --enable-vendor was given.
3178 if test "${enable_vendor+set}" = set; then
3179 enableval=$enable_vendor; VENDOR="$enableval"
3180 fi
3181
3182 if test "x$VENDOR" = "x"; then
3183 VENDOR="custom"
3184 fi
3185
3186
3187 enablestring=disable
3188 defaultval=
3189 if test -z "$defaultval"; then
3190 if test x"$enablestring" = xdisable; then
3191 defaultval=yes
3192 else
3193 defaultval=no
3194 fi
3195 fi
3196
3197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3199 # Check whether --enable-all-features was given.
3200 if test "${enable_all_features+set}" = set; then
3201 enableval=$enable_all_features;
3202 if test "$enableval" = yes; then
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3204 else
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3206 fi
3207
3208 else
3209
3210 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3211
3212 fi
3213
3214
3215 eval "$wx_cv_use_all_features"
3216
3217 if test x"$enablestring" = xdisable; then
3218 if test $wxUSE_ALL_FEATURES = yes; then
3219 result=no
3220 else
3221 result=yes
3222 fi
3223 else
3224 result=$wxUSE_ALL_FEATURES
3225 fi
3226
3227 { echo "$as_me:$LINENO: result: $result" >&5
3228 echo "${ECHO_T}$result" >&6; }
3229
3230
3231
3232 if test "$wxUSE_GUI" = "yes"; then
3233
3234
3235 enablestring=
3236 defaultval=
3237 if test -z "$defaultval"; then
3238 if test x"$enablestring" = xdisable; then
3239 defaultval=yes
3240 else
3241 defaultval=no
3242 fi
3243 fi
3244
3245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3246 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3247 # Check whether --enable-universal was given.
3248 if test "${enable_universal+set}" = set; then
3249 enableval=$enable_universal;
3250 if test "$enableval" = yes; then
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3252 else
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3254 fi
3255
3256 else
3257
3258 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3259
3260 fi
3261
3262
3263 eval "$wx_cv_use_universal"
3264
3265 if test x"$enablestring" = xdisable; then
3266 if test $wxUSE_UNIVERSAL = yes; then
3267 result=no
3268 else
3269 result=yes
3270 fi
3271 else
3272 result=$wxUSE_UNIVERSAL
3273 fi
3274
3275 { echo "$as_me:$LINENO: result: $result" >&5
3276 echo "${ECHO_T}$result" >&6; }
3277
3278 if test "$wxUSE_UNIVERSAL" = "yes"; then
3279
3280 # Check whether --with-themes was given.
3281 if test "${with_themes+set}" = set; then
3282 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 fi
3284
3285 fi
3286
3287
3288 # Check whether --with-gtk was given.
3289 if test "${with_gtk+set}" = set; then
3290 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3291 fi
3292
3293
3294 # Check whether --with-motif was given.
3295 if test "${with_motif+set}" = set; then
3296 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3297 fi
3298
3299
3300 # Check whether --with-mac was given.
3301 if test "${with_mac+set}" = set; then
3302 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3303 fi
3304
3305
3306 # Check whether --with-cocoa was given.
3307 if test "${with_cocoa+set}" = set; then
3308 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3309 fi
3310
3311
3312 # Check whether --with-wine was given.
3313 if test "${with_wine+set}" = set; then
3314 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3315 fi
3316
3317
3318 # Check whether --with-msw was given.
3319 if test "${with_msw+set}" = set; then
3320 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3321 fi
3322
3323
3324 # Check whether --with-pm was given.
3325 if test "${with_pm+set}" = set; then
3326 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-mgl was given.
3331 if test "${with_mgl+set}" = set; then
3332 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-directfb was given.
3337 if test "${with_directfb+set}" = set; then
3338 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-microwin was given.
3343 if test "${with_microwin+set}" = set; then
3344 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-x11 was given.
3349 if test "${with_x11+set}" = set; then
3350 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 enablestring=
3355 defaultval=
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3358 defaultval=yes
3359 else
3360 defaultval=no
3361 fi
3362 fi
3363
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3366 # Check whether --enable-nanox was given.
3367 if test "${enable_nanox+set}" = set; then
3368 enableval=$enable_nanox;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_nanox='wxUSE_NANOX=yes'
3371 else
3372 wx_cv_use_nanox='wxUSE_NANOX=no'
3373 fi
3374
3375 else
3376
3377 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3378
3379 fi
3380
3381
3382 eval "$wx_cv_use_nanox"
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_NANOX = yes; then
3386 result=no
3387 else
3388 result=yes
3389 fi
3390 else
3391 result=$wxUSE_NANOX
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397
3398 # Check whether --enable-gtk2 was given.
3399 if test "${enable_gtk2+set}" = set; then
3400 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3401 fi
3402
3403
3404 enablestring=
3405 defaultval=
3406 if test -z "$defaultval"; then
3407 if test x"$enablestring" = xdisable; then
3408 defaultval=yes
3409 else
3410 defaultval=no
3411 fi
3412 fi
3413
3414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3415 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3416 # Check whether --enable-gpe was given.
3417 if test "${enable_gpe+set}" = set; then
3418 enableval=$enable_gpe;
3419 if test "$enableval" = yes; then
3420 wx_cv_use_gpe='wxUSE_GPE=yes'
3421 else
3422 wx_cv_use_gpe='wxUSE_GPE=no'
3423 fi
3424
3425 else
3426
3427 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3428
3429 fi
3430
3431
3432 eval "$wx_cv_use_gpe"
3433
3434 if test x"$enablestring" = xdisable; then
3435 if test $wxUSE_GPE = yes; then
3436 result=no
3437 else
3438 result=yes
3439 fi
3440 else
3441 result=$wxUSE_GPE
3442 fi
3443
3444 { echo "$as_me:$LINENO: result: $result" >&5
3445 echo "${ECHO_T}$result" >&6; }
3446
3447
3448
3449
3450 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3451 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3452
3453 # Check whether --with-libpng was given.
3454 if test "${with_libpng+set}" = set; then
3455 withval=$with_libpng;
3456 if test "$withval" = yes; then
3457 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3458 elif test "$withval" = no; then
3459 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3460 elif test "$withval" = sys; then
3461 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3462 elif test "$withval" = builtin; then
3463 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3464 else
3465 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3466 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3467 { (exit 1); exit 1; }; }
3468 fi
3469
3470 else
3471
3472 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3473
3474 fi
3475
3476
3477 eval "$wx_cv_use_libpng"
3478
3479 if test "$wxUSE_LIBPNG" = yes; then
3480 { echo "$as_me:$LINENO: result: yes" >&5
3481 echo "${ECHO_T}yes" >&6; }
3482 elif test "$wxUSE_LIBPNG" = no; then
3483 { echo "$as_me:$LINENO: result: no" >&5
3484 echo "${ECHO_T}no" >&6; }
3485 elif test "$wxUSE_LIBPNG" = sys; then
3486 { echo "$as_me:$LINENO: result: system version" >&5
3487 echo "${ECHO_T}system version" >&6; }
3488 elif test "$wxUSE_LIBPNG" = builtin; then
3489 { echo "$as_me:$LINENO: result: builtin version" >&5
3490 echo "${ECHO_T}builtin version" >&6; }
3491 else
3492 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3493 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3494 { (exit 1); exit 1; }; }
3495 fi
3496
3497
3498 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3499 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3500
3501 # Check whether --with-libjpeg was given.
3502 if test "${with_libjpeg+set}" = set; then
3503 withval=$with_libjpeg;
3504 if test "$withval" = yes; then
3505 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3506 elif test "$withval" = no; then
3507 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3508 elif test "$withval" = sys; then
3509 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3510 elif test "$withval" = builtin; then
3511 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3512 else
3513 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3514 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3515 { (exit 1); exit 1; }; }
3516 fi
3517
3518 else
3519
3520 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3521
3522 fi
3523
3524
3525 eval "$wx_cv_use_libjpeg"
3526
3527 if test "$wxUSE_LIBJPEG" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 elif test "$wxUSE_LIBJPEG" = no; then
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 elif test "$wxUSE_LIBJPEG" = sys; then
3534 { echo "$as_me:$LINENO: result: system version" >&5
3535 echo "${ECHO_T}system version" >&6; }
3536 elif test "$wxUSE_LIBJPEG" = builtin; then
3537 { echo "$as_me:$LINENO: result: builtin version" >&5
3538 echo "${ECHO_T}builtin version" >&6; }
3539 else
3540 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3541 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3542 { (exit 1); exit 1; }; }
3543 fi
3544
3545
3546 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3547 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3548
3549 # Check whether --with-libtiff was given.
3550 if test "${with_libtiff+set}" = set; then
3551 withval=$with_libtiff;
3552 if test "$withval" = yes; then
3553 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3554 elif test "$withval" = no; then
3555 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3556 elif test "$withval" = sys; then
3557 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3558 elif test "$withval" = builtin; then
3559 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3560 else
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3564 fi
3565
3566 else
3567
3568 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3569
3570 fi
3571
3572
3573 eval "$wx_cv_use_libtiff"
3574
3575 if test "$wxUSE_LIBTIFF" = yes; then
3576 { echo "$as_me:$LINENO: result: yes" >&5
3577 echo "${ECHO_T}yes" >&6; }
3578 elif test "$wxUSE_LIBTIFF" = no; then
3579 { echo "$as_me:$LINENO: result: no" >&5
3580 echo "${ECHO_T}no" >&6; }
3581 elif test "$wxUSE_LIBTIFF" = sys; then
3582 { echo "$as_me:$LINENO: result: system version" >&5
3583 echo "${ECHO_T}system version" >&6; }
3584 elif test "$wxUSE_LIBTIFF" = builtin; then
3585 { echo "$as_me:$LINENO: result: builtin version" >&5
3586 echo "${ECHO_T}builtin version" >&6; }
3587 else
3588 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3589 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3590 { (exit 1); exit 1; }; }
3591 fi
3592
3593
3594 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3595 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3596
3597 # Check whether --with-libxpm was given.
3598 if test "${with_libxpm+set}" = set; then
3599 withval=$with_libxpm;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3608 else
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3612 fi
3613
3614 else
3615
3616 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3617
3618 fi
3619
3620
3621 eval "$wx_cv_use_libxpm"
3622
3623 if test "$wxUSE_LIBXPM" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBXPM" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBXPM" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBXPM" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 withstring=
3643 defaultval=$wxUSE_ALL_FEATURES
3644 if test -z "$defaultval"; then
3645 if test x"$withstring" = xwithout; then
3646 defaultval=yes
3647 else
3648 defaultval=no
3649 fi
3650 fi
3651 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3652 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3653
3654 # Check whether --with-libmspack was given.
3655 if test "${with_libmspack+set}" = set; then
3656 withval=$with_libmspack;
3657 if test "$withval" = yes; then
3658 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3659 else
3660 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libmspack"
3671
3672 if test x"$withstring" = xwithout; then
3673 if test $wxUSE_LIBMSPACK = yes; then
3674 result=no
3675 else
3676 result=yes
3677 fi
3678 else
3679 result=$wxUSE_LIBMSPACK
3680 fi
3681
3682 { echo "$as_me:$LINENO: result: $result" >&5
3683 echo "${ECHO_T}$result" >&6; }
3684
3685
3686 withstring=without
3687 defaultval=$wxUSE_ALL_FEATURES
3688 if test -z "$defaultval"; then
3689 if test x"$withstring" = xwithout; then
3690 defaultval=yes
3691 else
3692 defaultval=no
3693 fi
3694 fi
3695 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3696 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3697
3698 # Check whether --with-gtkprint was given.
3699 if test "${with_gtkprint+set}" = set; then
3700 withval=$with_gtkprint;
3701 if test "$withval" = yes; then
3702 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3703 else
3704 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3705 fi
3706
3707 else
3708
3709 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3710
3711 fi
3712
3713
3714 eval "$wx_cv_use_gtkprint"
3715
3716 if test x"$withstring" = xwithout; then
3717 if test $wxUSE_GTKPRINT = yes; then
3718 result=no
3719 else
3720 result=yes
3721 fi
3722 else
3723 result=$wxUSE_GTKPRINT
3724 fi
3725
3726 { echo "$as_me:$LINENO: result: $result" >&5
3727 echo "${ECHO_T}$result" >&6; }
3728
3729
3730 withstring=without
3731 defaultval=$wxUSE_ALL_FEATURES
3732 if test -z "$defaultval"; then
3733 if test x"$withstring" = xwithout; then
3734 defaultval=yes
3735 else
3736 defaultval=no
3737 fi
3738 fi
3739 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3740 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3741
3742 # Check whether --with-gnomeprint was given.
3743 if test "${with_gnomeprint+set}" = set; then
3744 withval=$with_gnomeprint;
3745 if test "$withval" = yes; then
3746 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3747 else
3748 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3749 fi
3750
3751 else
3752
3753 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3754
3755 fi
3756
3757
3758 eval "$wx_cv_use_gnomeprint"
3759
3760 if test x"$withstring" = xwithout; then
3761 if test $wxUSE_LIBGNOMEPRINT = yes; then
3762 result=no
3763 else
3764 result=yes
3765 fi
3766 else
3767 result=$wxUSE_LIBGNOMEPRINT
3768 fi
3769
3770 { echo "$as_me:$LINENO: result: $result" >&5
3771 echo "${ECHO_T}$result" >&6; }
3772
3773
3774 withstring=
3775 defaultval=$wxUSE_ALL_FEATURES
3776 if test -z "$defaultval"; then
3777 if test x"$withstring" = xwithout; then
3778 defaultval=yes
3779 else
3780 defaultval=no
3781 fi
3782 fi
3783 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3784 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3785
3786 # Check whether --with-gnomevfs was given.
3787 if test "${with_gnomevfs+set}" = set; then
3788 withval=$with_gnomevfs;
3789 if test "$withval" = yes; then
3790 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3791 else
3792 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3793 fi
3794
3795 else
3796
3797 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3798
3799 fi
3800
3801
3802 eval "$wx_cv_use_gnomevfs"
3803
3804 if test x"$withstring" = xwithout; then
3805 if test $wxUSE_LIBGNOMEVFS = yes; then
3806 result=no
3807 else
3808 result=yes
3809 fi
3810 else
3811 result=$wxUSE_LIBGNOMEVFS
3812 fi
3813
3814 { echo "$as_me:$LINENO: result: $result" >&5
3815 echo "${ECHO_T}$result" >&6; }
3816
3817
3818 withstring=
3819 defaultval=$wxUSE_ALL_FEATURES
3820 if test -z "$defaultval"; then
3821 if test x"$withstring" = xwithout; then
3822 defaultval=yes
3823 else
3824 defaultval=no
3825 fi
3826 fi
3827 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3828 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3829
3830 # Check whether --with-hildon was given.
3831 if test "${with_hildon+set}" = set; then
3832 withval=$with_hildon;
3833 if test "$withval" = yes; then
3834 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3835 else
3836 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3837 fi
3838
3839 else
3840
3841 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3842
3843 fi
3844
3845
3846 eval "$wx_cv_use_hildon"
3847
3848 if test x"$withstring" = xwithout; then
3849 if test $wxUSE_LIBHILDON = yes; then
3850 result=no
3851 else
3852 result=yes
3853 fi
3854 else
3855 result=$wxUSE_LIBHILDON
3856 fi
3857
3858 { echo "$as_me:$LINENO: result: $result" >&5
3859 echo "${ECHO_T}$result" >&6; }
3860
3861
3862 withstring=
3863 defaultval=$wxUSE_ALL_FEATURES
3864 if test -z "$defaultval"; then
3865 if test x"$withstring" = xwithout; then
3866 defaultval=yes
3867 else
3868 defaultval=no
3869 fi
3870 fi
3871 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3872 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3873
3874 # Check whether --with-opengl was given.
3875 if test "${with_opengl+set}" = set; then
3876 withval=$with_opengl;
3877 if test "$withval" = yes; then
3878 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3879 else
3880 wx_cv_use_opengl='wxUSE_OPENGL=no'
3881 fi
3882
3883 else
3884
3885 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3886
3887 fi
3888
3889
3890 eval "$wx_cv_use_opengl"
3891
3892 if test x"$withstring" = xwithout; then
3893 if test $wxUSE_OPENGL = yes; then
3894 result=no
3895 else
3896 result=yes
3897 fi
3898 else
3899 result=$wxUSE_OPENGL
3900 fi
3901
3902 { echo "$as_me:$LINENO: result: $result" >&5
3903 echo "${ECHO_T}$result" >&6; }
3904
3905
3906 fi
3907
3908
3909 withstring=
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3913 defaultval=yes
3914 else
3915 defaultval=no
3916 fi
3917 fi
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
3920
3921 # Check whether --with-dmalloc was given.
3922 if test "${with_dmalloc+set}" = set; then
3923 withval=$with_dmalloc;
3924 if test "$withval" = yes; then
3925 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3926 else
3927 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3928 fi
3929
3930 else
3931
3932 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3933
3934 fi
3935
3936
3937 eval "$wx_cv_use_dmalloc"
3938
3939 if test x"$withstring" = xwithout; then
3940 if test $wxUSE_DMALLOC = yes; then
3941 result=no
3942 else
3943 result=yes
3944 fi
3945 else
3946 result=$wxUSE_DMALLOC
3947 fi
3948
3949 { echo "$as_me:$LINENO: result: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3951
3952
3953 withstring=
3954 defaultval=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x"$withstring" = xwithout; then
3957 defaultval=yes
3958 else
3959 defaultval=no
3960 fi
3961 fi
3962 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3963 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
3964
3965 # Check whether --with-sdl was given.
3966 if test "${with_sdl+set}" = set; then
3967 withval=$with_sdl;
3968 if test "$withval" = yes; then
3969 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3970 else
3971 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3972 fi
3973
3974 else
3975
3976 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3977
3978 fi
3979
3980
3981 eval "$wx_cv_use_sdl"
3982
3983 if test x"$withstring" = xwithout; then
3984 if test $wxUSE_LIBSDL = yes; then
3985 result=no
3986 else
3987 result=yes
3988 fi
3989 else
3990 result=$wxUSE_LIBSDL
3991 fi
3992
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3995
3996
3997 { echo "$as_me:$LINENO: checking for --with-regex" >&5
3998 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
3999
4000 # Check whether --with-regex was given.
4001 if test "${with_regex+set}" = set; then
4002 withval=$with_regex;
4003 if test "$withval" = yes; then
4004 wx_cv_use_regex='wxUSE_REGEX=yes'
4005 elif test "$withval" = no; then
4006 wx_cv_use_regex='wxUSE_REGEX=no'
4007 elif test "$withval" = sys; then
4008 wx_cv_use_regex='wxUSE_REGEX=sys'
4009 elif test "$withval" = builtin; then
4010 wx_cv_use_regex='wxUSE_REGEX=builtin'
4011 else
4012 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4013 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4014 { (exit 1); exit 1; }; }
4015 fi
4016
4017 else
4018
4019 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4020
4021 fi
4022
4023
4024 eval "$wx_cv_use_regex"
4025
4026 if test "$wxUSE_REGEX" = yes; then
4027 { echo "$as_me:$LINENO: result: yes" >&5
4028 echo "${ECHO_T}yes" >&6; }
4029 elif test "$wxUSE_REGEX" = no; then
4030 { echo "$as_me:$LINENO: result: no" >&5
4031 echo "${ECHO_T}no" >&6; }
4032 elif test "$wxUSE_REGEX" = sys; then
4033 { echo "$as_me:$LINENO: result: system version" >&5
4034 echo "${ECHO_T}system version" >&6; }
4035 elif test "$wxUSE_REGEX" = builtin; then
4036 { echo "$as_me:$LINENO: result: builtin version" >&5
4037 echo "${ECHO_T}builtin version" >&6; }
4038 else
4039 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4040 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4041 { (exit 1); exit 1; }; }
4042 fi
4043
4044
4045 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4046 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4047
4048 # Check whether --with-zlib was given.
4049 if test "${with_zlib+set}" = set; then
4050 withval=$with_zlib;
4051 if test "$withval" = yes; then
4052 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4053 elif test "$withval" = no; then
4054 wx_cv_use_zlib='wxUSE_ZLIB=no'
4055 elif test "$withval" = sys; then
4056 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4057 elif test "$withval" = builtin; then
4058 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4059 else
4060 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4061 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4062 { (exit 1); exit 1; }; }
4063 fi
4064
4065 else
4066
4067 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4068
4069 fi
4070
4071
4072 eval "$wx_cv_use_zlib"
4073
4074 if test "$wxUSE_ZLIB" = yes; then
4075 { echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6; }
4077 elif test "$wxUSE_ZLIB" = no; then
4078 { echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6; }
4080 elif test "$wxUSE_ZLIB" = sys; then
4081 { echo "$as_me:$LINENO: result: system version" >&5
4082 echo "${ECHO_T}system version" >&6; }
4083 elif test "$wxUSE_ZLIB" = builtin; then
4084 { echo "$as_me:$LINENO: result: builtin version" >&5
4085 echo "${ECHO_T}builtin version" >&6; }
4086 else
4087 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4088 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4089 { (exit 1); exit 1; }; }
4090 fi
4091
4092
4093 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4094 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4095
4096 # Check whether --with-expat was given.
4097 if test "${with_expat+set}" = set; then
4098 withval=$with_expat;
4099 if test "$withval" = yes; then
4100 wx_cv_use_expat='wxUSE_EXPAT=yes'
4101 elif test "$withval" = no; then
4102 wx_cv_use_expat='wxUSE_EXPAT=no'
4103 elif test "$withval" = sys; then
4104 wx_cv_use_expat='wxUSE_EXPAT=sys'
4105 elif test "$withval" = builtin; then
4106 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4107 else
4108 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4109 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4110 { (exit 1); exit 1; }; }
4111 fi
4112
4113 else
4114
4115 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4116
4117 fi
4118
4119
4120 eval "$wx_cv_use_expat"
4121
4122 if test "$wxUSE_EXPAT" = yes; then
4123 { echo "$as_me:$LINENO: result: yes" >&5
4124 echo "${ECHO_T}yes" >&6; }
4125 elif test "$wxUSE_EXPAT" = no; then
4126 { echo "$as_me:$LINENO: result: no" >&5
4127 echo "${ECHO_T}no" >&6; }
4128 elif test "$wxUSE_EXPAT" = sys; then
4129 { echo "$as_me:$LINENO: result: system version" >&5
4130 echo "${ECHO_T}system version" >&6; }
4131 elif test "$wxUSE_EXPAT" = builtin; then
4132 { echo "$as_me:$LINENO: result: builtin version" >&5
4133 echo "${ECHO_T}builtin version" >&6; }
4134 else
4135 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4136 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4137 { (exit 1); exit 1; }; }
4138 fi
4139
4140
4141 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4142 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4143
4144 # Check whether --with-macosx-sdk was given.
4145 if test "${with_macosx_sdk+set}" = set; then
4146 withval=$with_macosx_sdk;
4147 wxUSE_MACOSX_SDK=$withval
4148 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4149
4150 fi
4151
4152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4153 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4154
4155 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4156 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4157
4158 # Check whether --with-macosx-version-min was given.
4159 if test "${with_macosx_version_min+set}" = set; then
4160 withval=$with_macosx_version_min;
4161 wxUSE_MACOSX_VERSION_MIN=$withval
4162 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4163
4164 fi
4165
4166 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4167 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4168
4169
4170
4171 enablestring=disable
4172 defaultval=
4173 if test -z "$defaultval"; then
4174 if test x"$enablestring" = xdisable; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180
4181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4182 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4183 # Check whether --enable-shared was given.
4184 if test "${enable_shared+set}" = set; then
4185 enableval=$enable_shared;
4186 if test "$enableval" = yes; then
4187 wx_cv_use_shared='wxUSE_SHARED=yes'
4188 else
4189 wx_cv_use_shared='wxUSE_SHARED=no'
4190 fi
4191
4192 else
4193
4194 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4195
4196 fi
4197
4198
4199 eval "$wx_cv_use_shared"
4200
4201 if test x"$enablestring" = xdisable; then
4202 if test $wxUSE_SHARED = yes; then
4203 result=no
4204 else
4205 result=yes
4206 fi
4207 else
4208 result=$wxUSE_SHARED
4209 fi
4210
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4213
4214
4215 enablestring=disable
4216 defaultval=
4217 if test -z "$defaultval"; then
4218 if test x"$enablestring" = xdisable; then
4219 defaultval=yes
4220 else
4221 defaultval=no
4222 fi
4223 fi
4224
4225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4227 # Check whether --enable-optimise was given.
4228 if test "${enable_optimise+set}" = set; then
4229 enableval=$enable_optimise;
4230 if test "$enableval" = yes; then
4231 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4232 else
4233 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4234 fi
4235
4236 else
4237
4238 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4239
4240 fi
4241
4242
4243 eval "$wx_cv_use_optimise"
4244
4245 if test x"$enablestring" = xdisable; then
4246 if test $wxUSE_OPTIMISE = yes; then
4247 result=no
4248 else
4249 result=yes
4250 fi
4251 else
4252 result=$wxUSE_OPTIMISE
4253 fi
4254
4255 { echo "$as_me:$LINENO: result: $result" >&5
4256 echo "${ECHO_T}$result" >&6; }
4257
4258
4259 enablestring=
4260 defaultval=
4261 if test -z "$defaultval"; then
4262 if test x"$enablestring" = xdisable; then
4263 defaultval=yes
4264 else
4265 defaultval=no
4266 fi
4267 fi
4268
4269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4271 # Check whether --enable-debug was given.
4272 if test "${enable_debug+set}" = set; then
4273 enableval=$enable_debug;
4274 if test "$enableval" = yes; then
4275 wx_cv_use_debug='wxUSE_DEBUG=yes'
4276 else
4277 wx_cv_use_debug='wxUSE_DEBUG=no'
4278 fi
4279
4280 else
4281
4282 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4283
4284 fi
4285
4286
4287 eval "$wx_cv_use_debug"
4288
4289 if test x"$enablestring" = xdisable; then
4290 if test $wxUSE_DEBUG = yes; then
4291 result=no
4292 else
4293 result=yes
4294 fi
4295 else
4296 result=$wxUSE_DEBUG
4297 fi
4298
4299 { echo "$as_me:$LINENO: result: $result" >&5
4300 echo "${ECHO_T}$result" >&6; }
4301
4302
4303 enablestring=
4304 defaultval=
4305 if test -z "$defaultval"; then
4306 if test x"$enablestring" = xdisable; then
4307 defaultval=yes
4308 else
4309 defaultval=no
4310 fi
4311 fi
4312
4313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4315 # Check whether --enable-stl was given.
4316 if test "${enable_stl+set}" = set; then
4317 enableval=$enable_stl;
4318 if test "$enableval" = yes; then
4319 wx_cv_use_stl='wxUSE_STL=yes'
4320 else
4321 wx_cv_use_stl='wxUSE_STL=no'
4322 fi
4323
4324 else
4325
4326 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4327
4328 fi
4329
4330
4331 eval "$wx_cv_use_stl"
4332
4333 if test x"$enablestring" = xdisable; then
4334 if test $wxUSE_STL = yes; then
4335 result=no
4336 else
4337 result=yes
4338 fi
4339 else
4340 result=$wxUSE_STL
4341 fi
4342
4343 { echo "$as_me:$LINENO: result: $result" >&5
4344 echo "${ECHO_T}$result" >&6; }
4345
4346
4347 enablestring=
4348 defaultval=
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4351 defaultval=yes
4352 else
4353 defaultval=no
4354 fi
4355 fi
4356
4357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4359 # Check whether --enable-std_iostreams was given.
4360 if test "${enable_std_iostreams+set}" = set; then
4361 enableval=$enable_std_iostreams;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4364 else
4365 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4366 fi
4367
4368 else
4369
4370 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_std_iostreams"
4376
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_STD_IOSTREAM = yes; then
4379 result=no
4380 else
4381 result=yes
4382 fi
4383 else
4384 result=$wxUSE_STD_IOSTREAM
4385 fi
4386
4387 { echo "$as_me:$LINENO: result: $result" >&5
4388 echo "${ECHO_T}$result" >&6; }
4389
4390
4391 enablestring=
4392 defaultval=
4393 if test -z "$defaultval"; then
4394 if test x"$enablestring" = xdisable; then
4395 defaultval=yes
4396 else
4397 defaultval=no
4398 fi
4399 fi
4400
4401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4403 # Check whether --enable-std_string was given.
4404 if test "${enable_std_string+set}" = set; then
4405 enableval=$enable_std_string;
4406 if test "$enableval" = yes; then
4407 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4408 else
4409 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4410 fi
4411
4412 else
4413
4414 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4415
4416 fi
4417
4418
4419 eval "$wx_cv_use_std_string"
4420
4421 if test x"$enablestring" = xdisable; then
4422 if test $wxUSE_STD_STRING = yes; then
4423 result=no
4424 else
4425 result=yes
4426 fi
4427 else
4428 result=$wxUSE_STD_STRING
4429 fi
4430
4431 { echo "$as_me:$LINENO: result: $result" >&5
4432 echo "${ECHO_T}$result" >&6; }
4433
4434
4435 enablestring=disable
4436 defaultval=
4437 if test -z "$defaultval"; then
4438 if test x"$enablestring" = xdisable; then
4439 defaultval=yes
4440 else
4441 defaultval=no
4442 fi
4443 fi
4444
4445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4447 # Check whether --enable-unicode was given.
4448 if test "${enable_unicode+set}" = set; then
4449 enableval=$enable_unicode;
4450 if test "$enableval" = yes; then
4451 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4452 else
4453 wx_cv_use_unicode='wxUSE_UNICODE=no'
4454 fi
4455
4456 else
4457
4458 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4459
4460 fi
4461
4462
4463 eval "$wx_cv_use_unicode"
4464
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_UNICODE = yes; then
4467 result=no
4468 else
4469 result=yes
4470 fi
4471 else
4472 result=$wxUSE_UNICODE
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4477
4478
4479 enablestring=
4480 defaultval=
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4483 defaultval=yes
4484 else
4485 defaultval=no
4486 fi
4487 fi
4488
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4491 # Check whether --enable-mslu was given.
4492 if test "${enable_mslu+set}" = set; then
4493 enableval=$enable_mslu;
4494 if test "$enableval" = yes; then
4495 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4496 else
4497 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4498 fi
4499
4500 else
4501
4502 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4503
4504 fi
4505
4506
4507 eval "$wx_cv_use_mslu"
4508
4509 if test x"$enablestring" = xdisable; then
4510 if test $wxUSE_UNICODE_MSLU = yes; then
4511 result=no
4512 else
4513 result=yes
4514 fi
4515 else
4516 result=$wxUSE_UNICODE_MSLU
4517 fi
4518
4519 { echo "$as_me:$LINENO: result: $result" >&5
4520 echo "${ECHO_T}$result" >&6; }
4521
4522
4523 enablestring=
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4526 # Check whether --enable-utf8 was given.
4527 if test "${enable_utf8+set}" = set; then
4528 enableval=$enable_utf8;
4529 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4530
4531 else
4532
4533 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4534
4535 fi
4536
4537
4538 eval "$wx_cv_use_utf8"
4539
4540 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4541 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4542
4543
4544 enablestring=
4545 defaultval=
4546 if test -z "$defaultval"; then
4547 if test x"$enablestring" = xdisable; then
4548 defaultval=yes
4549 else
4550 defaultval=no
4551 fi
4552 fi
4553
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4556 # Check whether --enable-utf8only was given.
4557 if test "${enable_utf8only+set}" = set; then
4558 enableval=$enable_utf8only;
4559 if test "$enableval" = yes; then
4560 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4561 else
4562 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4563 fi
4564
4565 else
4566
4567 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4568
4569 fi
4570
4571
4572 eval "$wx_cv_use_utf8only"
4573
4574 if test x"$enablestring" = xdisable; then
4575 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4576 result=no
4577 else
4578 result=yes
4579 fi
4580 else
4581 result=$wxUSE_UNICODE_UTF8_LOCALE
4582 fi
4583
4584 { echo "$as_me:$LINENO: result: $result" >&5
4585 echo "${ECHO_T}$result" >&6; }
4586
4587
4588 enablestring=
4589 defaultval=
4590 if test -z "$defaultval"; then
4591 if test x"$enablestring" = xdisable; then
4592 defaultval=yes
4593 else
4594 defaultval=no
4595 fi
4596 fi
4597
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4600 # Check whether --enable-extended_rtti was given.
4601 if test "${enable_extended_rtti+set}" = set; then
4602 enableval=$enable_extended_rtti;
4603 if test "$enableval" = yes; then
4604 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4605 else
4606 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4607 fi
4608
4609 else
4610
4611 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4612
4613 fi
4614
4615
4616 eval "$wx_cv_use_extended_rtti"
4617
4618 if test x"$enablestring" = xdisable; then
4619 if test $wxUSE_EXTENDED_RTTI = yes; then
4620 result=no
4621 else
4622 result=yes
4623 fi
4624 else
4625 result=$wxUSE_EXTENDED_RTTI
4626 fi
4627
4628 { echo "$as_me:$LINENO: result: $result" >&5
4629 echo "${ECHO_T}$result" >&6; }
4630
4631 if test "$USE_OS2" = 1; then
4632 DEFAULT_wxUSE_OMF=no
4633
4634 enablestring=
4635 defaultval=
4636 if test -z "$defaultval"; then
4637 if test x"$enablestring" = xdisable; then
4638 defaultval=yes
4639 else
4640 defaultval=no
4641 fi
4642 fi
4643
4644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4646 # Check whether --enable-omf was given.
4647 if test "${enable_omf+set}" = set; then
4648 enableval=$enable_omf;
4649 if test "$enableval" = yes; then
4650 wx_cv_use_omf='wxUSE_OMF=yes'
4651 else
4652 wx_cv_use_omf='wxUSE_OMF=no'
4653 fi
4654
4655 else
4656
4657 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4658
4659 fi
4660
4661
4662 eval "$wx_cv_use_omf"
4663
4664 if test x"$enablestring" = xdisable; then
4665 if test $wxUSE_OMF = yes; then
4666 result=no
4667 else
4668 result=yes
4669 fi
4670 else
4671 result=$wxUSE_OMF
4672 fi
4673
4674 { echo "$as_me:$LINENO: result: $result" >&5
4675 echo "${ECHO_T}$result" >&6; }
4676
4677 fi
4678
4679 if test "$wxUSE_DEBUG" = "yes"; then
4680 DEFAULT_wxUSE_DEBUG_FLAG=yes
4681 DEFAULT_wxUSE_DEBUG_INFO=yes
4682 BUILD=debug
4683 elif test "$wxUSE_DEBUG" = "no"; then
4684 DEFAULT_wxUSE_DEBUG_FLAG=no
4685 DEFAULT_wxUSE_DEBUG_INFO=no
4686 BUILD=release
4687 fi
4688
4689
4690 enablestring=
4691 defaultval=
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4694 defaultval=yes
4695 else
4696 defaultval=no
4697 fi
4698 fi
4699
4700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4701 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4702 # Check whether --enable-debug_flag was given.
4703 if test "${enable_debug_flag+set}" = set; then
4704 enableval=$enable_debug_flag;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4707 else
4708 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4709 fi
4710
4711 else
4712
4713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4714
4715 fi
4716
4717
4718 eval "$wx_cv_use_debug_flag"
4719
4720 if test x"$enablestring" = xdisable; then
4721 if test $wxUSE_DEBUG_FLAG = yes; then
4722 result=no
4723 else
4724 result=yes
4725 fi
4726 else
4727 result=$wxUSE_DEBUG_FLAG
4728 fi
4729
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4732
4733
4734 enablestring=
4735 defaultval=
4736 if test -z "$defaultval"; then
4737 if test x"$enablestring" = xdisable; then
4738 defaultval=yes
4739 else
4740 defaultval=no
4741 fi
4742 fi
4743
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4746 # Check whether --enable-debug_info was given.
4747 if test "${enable_debug_info+set}" = set; then
4748 enableval=$enable_debug_info;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4751 else
4752 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4753 fi
4754
4755 else
4756
4757 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4758
4759 fi
4760
4761
4762 eval "$wx_cv_use_debug_info"
4763
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_DEBUG_INFO = yes; then
4766 result=no
4767 else
4768 result=yes
4769 fi
4770 else
4771 result=$wxUSE_DEBUG_INFO
4772 fi
4773
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4776
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4790 # Check whether --enable-debug_gdb was given.
4791 if test "${enable_debug_gdb+set}" = set; then
4792 enableval=$enable_debug_gdb;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4795 else
4796 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_debug_gdb"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_DEBUG_GDB = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_DEBUG_GDB
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821
4822 enablestring=
4823 defaultval=
4824 if test -z "$defaultval"; then
4825 if test x"$enablestring" = xdisable; then
4826 defaultval=yes
4827 else
4828 defaultval=no
4829 fi
4830 fi
4831
4832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4833 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4834 # Check whether --enable-debug_cntxt was given.
4835 if test "${enable_debug_cntxt+set}" = set; then
4836 enableval=$enable_debug_cntxt;
4837 if test "$enableval" = yes; then
4838 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4839 else
4840 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4841 fi
4842
4843 else
4844
4845 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4846
4847 fi
4848
4849
4850 eval "$wx_cv_use_debug_cntxt"
4851
4852 if test x"$enablestring" = xdisable; then
4853 if test $wxUSE_DEBUG_CONTEXT = yes; then
4854 result=no
4855 else
4856 result=yes
4857 fi
4858 else
4859 result=$wxUSE_DEBUG_CONTEXT
4860 fi
4861
4862 { echo "$as_me:$LINENO: result: $result" >&5
4863 echo "${ECHO_T}$result" >&6; }
4864
4865
4866 enablestring=
4867 defaultval=
4868 if test -z "$defaultval"; then
4869 if test x"$enablestring" = xdisable; then
4870 defaultval=yes
4871 else
4872 defaultval=no
4873 fi
4874 fi
4875
4876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4878 # Check whether --enable-mem_tracing was given.
4879 if test "${enable_mem_tracing+set}" = set; then
4880 enableval=$enable_mem_tracing;
4881 if test "$enableval" = yes; then
4882 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4883 else
4884 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4885 fi
4886
4887 else
4888
4889 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4890
4891 fi
4892
4893
4894 eval "$wx_cv_use_mem_tracing"
4895
4896 if test x"$enablestring" = xdisable; then
4897 if test $wxUSE_MEM_TRACING = yes; then
4898 result=no
4899 else
4900 result=yes
4901 fi
4902 else
4903 result=$wxUSE_MEM_TRACING
4904 fi
4905
4906 { echo "$as_me:$LINENO: result: $result" >&5
4907 echo "${ECHO_T}$result" >&6; }
4908
4909
4910 enablestring=
4911 defaultval=
4912 if test -z "$defaultval"; then
4913 if test x"$enablestring" = xdisable; then
4914 defaultval=yes
4915 else
4916 defaultval=no
4917 fi
4918 fi
4919
4920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4922 # Check whether --enable-profile was given.
4923 if test "${enable_profile+set}" = set; then
4924 enableval=$enable_profile;
4925 if test "$enableval" = yes; then
4926 wx_cv_use_profile='wxUSE_PROFILE=yes'
4927 else
4928 wx_cv_use_profile='wxUSE_PROFILE=no'
4929 fi
4930
4931 else
4932
4933 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4934
4935 fi
4936
4937
4938 eval "$wx_cv_use_profile"
4939
4940 if test x"$enablestring" = xdisable; then
4941 if test $wxUSE_PROFILE = yes; then
4942 result=no
4943 else
4944 result=yes
4945 fi
4946 else
4947 result=$wxUSE_PROFILE
4948 fi
4949
4950 { echo "$as_me:$LINENO: result: $result" >&5
4951 echo "${ECHO_T}$result" >&6; }
4952
4953
4954 enablestring=
4955 defaultval=
4956 if test -z "$defaultval"; then
4957 if test x"$enablestring" = xdisable; then
4958 defaultval=yes
4959 else
4960 defaultval=no
4961 fi
4962 fi
4963
4964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4966 # Check whether --enable-no_rtti was given.
4967 if test "${enable_no_rtti+set}" = set; then
4968 enableval=$enable_no_rtti;
4969 if test "$enableval" = yes; then
4970 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4971 else
4972 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4973 fi
4974
4975 else
4976
4977 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4978
4979 fi
4980
4981
4982 eval "$wx_cv_use_no_rtti"
4983
4984 if test x"$enablestring" = xdisable; then
4985 if test $wxUSE_NO_RTTI = yes; then
4986 result=no
4987 else
4988 result=yes
4989 fi
4990 else
4991 result=$wxUSE_NO_RTTI
4992 fi
4993
4994 { echo "$as_me:$LINENO: result: $result" >&5
4995 echo "${ECHO_T}$result" >&6; }
4996
4997
4998 enablestring=
4999 defaultval=
5000 if test -z "$defaultval"; then
5001 if test x"$enablestring" = xdisable; then
5002 defaultval=yes
5003 else
5004 defaultval=no
5005 fi
5006 fi
5007
5008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5009 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5010 # Check whether --enable-no_exceptions was given.
5011 if test "${enable_no_exceptions+set}" = set; then
5012 enableval=$enable_no_exceptions;
5013 if test "$enableval" = yes; then
5014 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5015 else
5016 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5017 fi
5018
5019 else
5020
5021 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5022
5023 fi
5024
5025
5026 eval "$wx_cv_use_no_exceptions"
5027
5028 if test x"$enablestring" = xdisable; then
5029 if test $wxUSE_NO_EXCEPTIONS = yes; then
5030 result=no
5031 else
5032 result=yes
5033 fi
5034 else
5035 result=$wxUSE_NO_EXCEPTIONS
5036 fi
5037
5038 { echo "$as_me:$LINENO: result: $result" >&5
5039 echo "${ECHO_T}$result" >&6; }
5040
5041
5042 enablestring=
5043 defaultval=
5044 if test -z "$defaultval"; then
5045 if test x"$enablestring" = xdisable; then
5046 defaultval=yes
5047 else
5048 defaultval=no
5049 fi
5050 fi
5051
5052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5059 else
5060 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5061 fi
5062
5063 else
5064
5065 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_permissive"
5071
5072 if test x"$enablestring" = xdisable; then
5073 if test $wxUSE_PERMISSIVE = yes; then
5074 result=no
5075 else
5076 result=yes
5077 fi
5078 else
5079 result=$wxUSE_PERMISSIVE
5080 fi
5081
5082 { echo "$as_me:$LINENO: result: $result" >&5
5083 echo "${ECHO_T}$result" >&6; }
5084
5085
5086 enablestring=
5087 defaultval=
5088 if test -z "$defaultval"; then
5089 if test x"$enablestring" = xdisable; then
5090 defaultval=yes
5091 else
5092 defaultval=no
5093 fi
5094 fi
5095
5096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 else
5104 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5105 fi
5106
5107 else
5108
5109 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5110
5111 fi
5112
5113
5114 eval "$wx_cv_use_no_deps"
5115
5116 if test x"$enablestring" = xdisable; then
5117 if test $wxUSE_NO_DEPS = yes; then
5118 result=no
5119 else
5120 result=yes
5121 fi
5122 else
5123 result=$wxUSE_NO_DEPS
5124 fi
5125
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5128
5129
5130 enablestring=disable
5131 defaultval=
5132 if test -z "$defaultval"; then
5133 if test x"$enablestring" = xdisable; then
5134 defaultval=yes
5135 else
5136 defaultval=no
5137 fi
5138 fi
5139
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5142 # Check whether --enable-vararg_macros was given.
5143 if test "${enable_vararg_macros+set}" = set; then
5144 enableval=$enable_vararg_macros;
5145 if test "$enableval" = yes; then
5146 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5147 else
5148 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5149 fi
5150
5151 else
5152
5153 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5154
5155 fi
5156
5157
5158 eval "$wx_cv_use_vararg_macros"
5159
5160 if test x"$enablestring" = xdisable; then
5161 if test $wxUSE_VARARG_MACROS = yes; then
5162 result=no
5163 else
5164 result=yes
5165 fi
5166 else
5167 result=$wxUSE_VARARG_MACROS
5168 fi
5169
5170 { echo "$as_me:$LINENO: result: $result" >&5
5171 echo "${ECHO_T}$result" >&6; }
5172
5173
5174 enablestring=
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181
5182 else
5183
5184 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5185
5186 fi
5187
5188
5189 eval "$wx_cv_use_universal_binary"
5190
5191 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5192 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5193
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5208 # Check whether --enable-compat26 was given.
5209 if test "${enable_compat26+set}" = set; then
5210 enableval=$enable_compat26;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5213 else
5214 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_compat26"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$WXWIN_COMPATIBILITY_2_6
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=disable
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5252 # Check whether --enable-compat28 was given.
5253 if test "${enable_compat28+set}" = set; then
5254 enableval=$enable_compat28;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5257 else
5258 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_compat28"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$WXWIN_COMPATIBILITY_2_8
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284
5285 enablestring=disable
5286 defaultval=
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5289 defaultval=yes
5290 else
5291 defaultval=no
5292 fi
5293 fi
5294
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5297 # Check whether --enable-rpath was given.
5298 if test "${enable_rpath+set}" = set; then
5299 enableval=$enable_rpath;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_rpath='wxUSE_RPATH=yes'
5302 else
5303 wx_cv_use_rpath='wxUSE_RPATH=no'
5304 fi
5305
5306 else
5307
5308 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_rpath"
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_RPATH = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_RPATH
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329
5330 enablestring=
5331 defaultval=
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5334 defaultval=yes
5335 else
5336 defaultval=no
5337 fi
5338 fi
5339
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5342 # Check whether --enable-objc_uniquifying was given.
5343 if test "${enable_objc_uniquifying+set}" = set; then
5344 enableval=$enable_objc_uniquifying;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5347 else
5348 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5349 fi
5350
5351 else
5352
5353 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_objc_uniquifying"
5359
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5362 result=no
5363 else
5364 result=yes
5365 fi
5366 else
5367 result=$wxUSE_OBJC_UNIQUIFYING
5368 fi
5369
5370 { echo "$as_me:$LINENO: result: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5372
5373
5374
5375 enablestring=disable
5376 defaultval=
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5379 defaultval=yes
5380 else
5381 defaultval=no
5382 fi
5383 fi
5384
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5387 # Check whether --enable-visibility was given.
5388 if test "${enable_visibility+set}" = set; then
5389 enableval=$enable_visibility;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5392 else
5393 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5394 fi
5395
5396 else
5397
5398 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5399
5400 fi
5401
5402
5403 eval "$wx_cv_use_visibility"
5404
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VISIBILITY = yes; then
5407 result=no
5408 else
5409 result=yes
5410 fi
5411 else
5412 result=$wxUSE_VISIBILITY
5413 fi
5414
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5417
5418
5419
5420
5421 enablestring=
5422 defaultval=$wxUSE_ALL_FEATURES
5423 if test -z "$defaultval"; then
5424 if test x"$enablestring" = xdisable; then
5425 defaultval=yes
5426 else
5427 defaultval=no
5428 fi
5429 fi
5430
5431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5432 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5433 # Check whether --enable-intl was given.
5434 if test "${enable_intl+set}" = set; then
5435 enableval=$enable_intl;
5436 if test "$enableval" = yes; then
5437 wx_cv_use_intl='wxUSE_INTL=yes'
5438 else
5439 wx_cv_use_intl='wxUSE_INTL=no'
5440 fi
5441
5442 else
5443
5444 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5445
5446 fi
5447
5448
5449 eval "$wx_cv_use_intl"
5450
5451 if test x"$enablestring" = xdisable; then
5452 if test $wxUSE_INTL = yes; then
5453 result=no
5454 else
5455 result=yes
5456 fi
5457 else
5458 result=$wxUSE_INTL
5459 fi
5460
5461 { echo "$as_me:$LINENO: result: $result" >&5
5462 echo "${ECHO_T}$result" >&6; }
5463
5464
5465 enablestring=
5466 defaultval=$wxUSE_ALL_FEATURES
5467 if test -z "$defaultval"; then
5468 if test x"$enablestring" = xdisable; then
5469 defaultval=yes
5470 else
5471 defaultval=no
5472 fi
5473 fi
5474
5475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5476 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5477 # Check whether --enable-config was given.
5478 if test "${enable_config+set}" = set; then
5479 enableval=$enable_config;
5480 if test "$enableval" = yes; then
5481 wx_cv_use_config='wxUSE_CONFIG=yes'
5482 else
5483 wx_cv_use_config='wxUSE_CONFIG=no'
5484 fi
5485
5486 else
5487
5488 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5489
5490 fi
5491
5492
5493 eval "$wx_cv_use_config"
5494
5495 if test x"$enablestring" = xdisable; then
5496 if test $wxUSE_CONFIG = yes; then
5497 result=no
5498 else
5499 result=yes
5500 fi
5501 else
5502 result=$wxUSE_CONFIG
5503 fi
5504
5505 { echo "$as_me:$LINENO: result: $result" >&5
5506 echo "${ECHO_T}$result" >&6; }
5507
5508
5509
5510 enablestring=
5511 defaultval=$wxUSE_ALL_FEATURES
5512 if test -z "$defaultval"; then
5513 if test x"$enablestring" = xdisable; then
5514 defaultval=yes
5515 else
5516 defaultval=no
5517 fi
5518 fi
5519
5520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5522 # Check whether --enable-protocols was given.
5523 if test "${enable_protocols+set}" = set; then
5524 enableval=$enable_protocols;
5525 if test "$enableval" = yes; then
5526 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5527 else
5528 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5529 fi
5530
5531 else
5532
5533 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5534
5535 fi
5536
5537
5538 eval "$wx_cv_use_protocols"
5539
5540 if test x"$enablestring" = xdisable; then
5541 if test $wxUSE_PROTOCOL = yes; then
5542 result=no
5543 else
5544 result=yes
5545 fi
5546 else
5547 result=$wxUSE_PROTOCOL
5548 fi
5549
5550 { echo "$as_me:$LINENO: result: $result" >&5
5551 echo "${ECHO_T}$result" >&6; }
5552
5553
5554 enablestring=
5555 defaultval=$wxUSE_ALL_FEATURES
5556 if test -z "$defaultval"; then
5557 if test x"$enablestring" = xdisable; then
5558 defaultval=yes
5559 else
5560 defaultval=no
5561 fi
5562 fi
5563
5564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5566 # Check whether --enable-ftp was given.
5567 if test "${enable_ftp+set}" = set; then
5568 enableval=$enable_ftp;
5569 if test "$enableval" = yes; then
5570 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5571 else
5572 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5573 fi
5574
5575 else
5576
5577 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5578
5579 fi
5580
5581
5582 eval "$wx_cv_use_ftp"
5583
5584 if test x"$enablestring" = xdisable; then
5585 if test $wxUSE_PROTOCOL_FTP = yes; then
5586 result=no
5587 else
5588 result=yes
5589 fi
5590 else
5591 result=$wxUSE_PROTOCOL_FTP
5592 fi
5593
5594 { echo "$as_me:$LINENO: result: $result" >&5
5595 echo "${ECHO_T}$result" >&6; }
5596
5597
5598 enablestring=
5599 defaultval=$wxUSE_ALL_FEATURES
5600 if test -z "$defaultval"; then
5601 if test x"$enablestring" = xdisable; then
5602 defaultval=yes
5603 else
5604 defaultval=no
5605 fi
5606 fi
5607
5608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5609 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5610 # Check whether --enable-http was given.
5611 if test "${enable_http+set}" = set; then
5612 enableval=$enable_http;
5613 if test "$enableval" = yes; then
5614 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5615 else
5616 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5617 fi
5618
5619 else
5620
5621 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5622
5623 fi
5624
5625
5626 eval "$wx_cv_use_http"
5627
5628 if test x"$enablestring" = xdisable; then
5629 if test $wxUSE_PROTOCOL_HTTP = yes; then
5630 result=no
5631 else
5632 result=yes
5633 fi
5634 else
5635 result=$wxUSE_PROTOCOL_HTTP
5636 fi
5637
5638 { echo "$as_me:$LINENO: result: $result" >&5
5639 echo "${ECHO_T}$result" >&6; }
5640
5641
5642 enablestring=
5643 defaultval=$wxUSE_ALL_FEATURES
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5646 defaultval=yes
5647 else
5648 defaultval=no
5649 fi
5650 fi
5651
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5654 # Check whether --enable-fileproto was given.
5655 if test "${enable_fileproto+set}" = set; then
5656 enableval=$enable_fileproto;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5659 else
5660 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5661 fi
5662
5663 else
5664
5665 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_fileproto"
5671
5672 if test x"$enablestring" = xdisable; then
5673 if test $wxUSE_PROTOCOL_FILE = yes; then
5674 result=no
5675 else
5676 result=yes
5677 fi
5678 else
5679 result=$wxUSE_PROTOCOL_FILE
5680 fi
5681
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5684
5685
5686 enablestring=
5687 defaultval=$wxUSE_ALL_FEATURES
5688 if test -z "$defaultval"; then
5689 if test x"$enablestring" = xdisable; then
5690 defaultval=yes
5691 else
5692 defaultval=no
5693 fi
5694 fi
5695
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5698 # Check whether --enable-sockets was given.
5699 if test "${enable_sockets+set}" = set; then
5700 enableval=$enable_sockets;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5703 else
5704 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5705 fi
5706
5707 else
5708
5709 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5710
5711 fi
5712
5713
5714 eval "$wx_cv_use_sockets"
5715
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_SOCKETS = yes; then
5718 result=no
5719 else
5720 result=yes
5721 fi
5722 else
5723 result=$wxUSE_SOCKETS
5724 fi
5725
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5728
5729
5730 enablestring=
5731 defaultval=$wxUSE_ALL_FEATURES
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5734 defaultval=yes
5735 else
5736 defaultval=no
5737 fi
5738 fi
5739
5740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5741 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5742 # Check whether --enable-ipv6 was given.
5743 if test "${enable_ipv6+set}" = set; then
5744 enableval=$enable_ipv6;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5747 else
5748 wx_cv_use_ipv6='wxUSE_IPV6=no'
5749 fi
5750
5751 else
5752
5753 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5754
5755 fi
5756
5757
5758 eval "$wx_cv_use_ipv6"
5759
5760 if test x"$enablestring" = xdisable; then
5761 if test $wxUSE_IPV6 = yes; then
5762 result=no
5763 else
5764 result=yes
5765 fi
5766 else
5767 result=$wxUSE_IPV6
5768 fi
5769
5770 { echo "$as_me:$LINENO: result: $result" >&5
5771 echo "${ECHO_T}$result" >&6; }
5772
5773
5774 enablestring=
5775 defaultval=$wxUSE_ALL_FEATURES
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5778 defaultval=yes
5779 else
5780 defaultval=no
5781 fi
5782 fi
5783
5784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5785 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5786 # Check whether --enable-ole was given.
5787 if test "${enable_ole+set}" = set; then
5788 enableval=$enable_ole;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_ole='wxUSE_OLE=yes'
5791 else
5792 wx_cv_use_ole='wxUSE_OLE=no'
5793 fi
5794
5795 else
5796
5797 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5798
5799 fi
5800
5801
5802 eval "$wx_cv_use_ole"
5803
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_OLE = yes; then
5806 result=no
5807 else
5808 result=yes
5809 fi
5810 else
5811 result=$wxUSE_OLE
5812 fi
5813
5814 { echo "$as_me:$LINENO: result: $result" >&5
5815 echo "${ECHO_T}$result" >&6; }
5816
5817
5818 enablestring=
5819 defaultval=$wxUSE_ALL_FEATURES
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5822 defaultval=yes
5823 else
5824 defaultval=no
5825 fi
5826 fi
5827
5828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5829 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5830 # Check whether --enable-dataobj was given.
5831 if test "${enable_dataobj+set}" = set; then
5832 enableval=$enable_dataobj;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5835 else
5836 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5837 fi
5838
5839 else
5840
5841 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5842
5843 fi
5844
5845
5846 eval "$wx_cv_use_dataobj"
5847
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_DATAOBJ = yes; then
5850 result=no
5851 else
5852 result=yes
5853 fi
5854 else
5855 result=$wxUSE_DATAOBJ
5856 fi
5857
5858 { echo "$as_me:$LINENO: result: $result" >&5
5859 echo "${ECHO_T}$result" >&6; }
5860
5861
5862
5863 enablestring=
5864 defaultval=$wxUSE_ALL_FEATURES
5865 if test -z "$defaultval"; then
5866 if test x"$enablestring" = xdisable; then
5867 defaultval=yes
5868 else
5869 defaultval=no
5870 fi
5871 fi
5872
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5875 # Check whether --enable-ipc was given.
5876 if test "${enable_ipc+set}" = set; then
5877 enableval=$enable_ipc;
5878 if test "$enableval" = yes; then
5879 wx_cv_use_ipc='wxUSE_IPC=yes'
5880 else
5881 wx_cv_use_ipc='wxUSE_IPC=no'
5882 fi
5883
5884 else
5885
5886 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5887
5888 fi
5889
5890
5891 eval "$wx_cv_use_ipc"
5892
5893 if test x"$enablestring" = xdisable; then
5894 if test $wxUSE_IPC = yes; then
5895 result=no
5896 else
5897 result=yes
5898 fi
5899 else
5900 result=$wxUSE_IPC
5901 fi
5902
5903 { echo "$as_me:$LINENO: result: $result" >&5
5904 echo "${ECHO_T}$result" >&6; }
5905
5906
5907
5908 enablestring=
5909 defaultval=$wxUSE_ALL_FEATURES
5910 if test -z "$defaultval"; then
5911 if test x"$enablestring" = xdisable; then
5912 defaultval=yes
5913 else
5914 defaultval=no
5915 fi
5916 fi
5917
5918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
5920 # Check whether --enable-baseevtloop was given.
5921 if test "${enable_baseevtloop+set}" = set; then
5922 enableval=$enable_baseevtloop;
5923 if test "$enableval" = yes; then
5924 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
5925 else
5926 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
5927 fi
5928
5929 else
5930
5931 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
5932
5933 fi
5934
5935
5936 eval "$wx_cv_use_baseevtloop"
5937
5938 if test x"$enablestring" = xdisable; then
5939 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
5940 result=no
5941 else
5942 result=yes
5943 fi
5944 else
5945 result=$wxUSE_CONSOLE_EVENTLOOP
5946 fi
5947
5948 { echo "$as_me:$LINENO: result: $result" >&5
5949 echo "${ECHO_T}$result" >&6; }
5950
5951
5952 enablestring=
5953 defaultval=$wxUSE_ALL_FEATURES
5954 if test -z "$defaultval"; then
5955 if test x"$enablestring" = xdisable; then
5956 defaultval=yes
5957 else
5958 defaultval=no
5959 fi
5960 fi
5961
5962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
5963 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
5964 # Check whether --enable-epollloop was given.
5965 if test "${enable_epollloop+set}" = set; then
5966 enableval=$enable_epollloop;
5967 if test "$enableval" = yes; then
5968 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
5969 else
5970 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
5971 fi
5972
5973 else
5974
5975 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
5976
5977 fi
5978
5979
5980 eval "$wx_cv_use_epollloop"
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_EPOLL_DISPATCHER = yes; then
5984 result=no
5985 else
5986 result=yes
5987 fi
5988 else
5989 result=$wxUSE_EPOLL_DISPATCHER
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996 enablestring=
5997 defaultval=$wxUSE_ALL_FEATURES
5998 if test -z "$defaultval"; then
5999 if test x"$enablestring" = xdisable; then
6000 defaultval=yes
6001 else
6002 defaultval=no
6003 fi
6004 fi
6005
6006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6007 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6008 # Check whether --enable-selectloop was given.
6009 if test "${enable_selectloop+set}" = set; then
6010 enableval=$enable_selectloop;
6011 if test "$enableval" = yes; then
6012 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6013 else
6014 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6015 fi
6016
6017 else
6018
6019 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6020
6021 fi
6022
6023
6024 eval "$wx_cv_use_selectloop"
6025
6026 if test x"$enablestring" = xdisable; then
6027 if test $wxUSE_SELECT_DISPATCHER = yes; then
6028 result=no
6029 else
6030 result=yes
6031 fi
6032 else
6033 result=$wxUSE_SELECT_DISPATCHER
6034 fi
6035
6036 { echo "$as_me:$LINENO: result: $result" >&5
6037 echo "${ECHO_T}$result" >&6; }
6038
6039
6040
6041 enablestring=
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6045 defaultval=yes
6046 else
6047 defaultval=no
6048 fi
6049 fi
6050
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6053 # Check whether --enable-apple_ieee was given.
6054 if test "${enable_apple_ieee+set}" = set; then
6055 enableval=$enable_apple_ieee;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6058 else
6059 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6060 fi
6061
6062 else
6063
6064 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6065
6066 fi
6067
6068
6069 eval "$wx_cv_use_apple_ieee"
6070
6071 if test x"$enablestring" = xdisable; then
6072 if test $wxUSE_APPLE_IEEE = yes; then
6073 result=no
6074 else
6075 result=yes
6076 fi
6077 else
6078 result=$wxUSE_APPLE_IEEE
6079 fi
6080
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6083
6084
6085 enablestring=
6086 defaultval=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x"$enablestring" = xdisable; then
6089 defaultval=yes
6090 else
6091 defaultval=no
6092 fi
6093 fi
6094
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6097 # Check whether --enable-arcstream was given.
6098 if test "${enable_arcstream+set}" = set; then
6099 enableval=$enable_arcstream;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6102 else
6103 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6104 fi
6105
6106 else
6107
6108 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6109
6110 fi
6111
6112
6113 eval "$wx_cv_use_arcstream"
6114
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6117 result=no
6118 else
6119 result=yes
6120 fi
6121 else
6122 result=$wxUSE_ARCHIVE_STREAMS
6123 fi
6124
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6127
6128
6129 enablestring=
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6133 defaultval=yes
6134 else
6135 defaultval=no
6136 fi
6137 fi
6138
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6141 # Check whether --enable-base64 was given.
6142 if test "${enable_base64+set}" = set; then
6143 enableval=$enable_base64;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_base64='wxUSE_BASE64=yes'
6146 else
6147 wx_cv_use_base64='wxUSE_BASE64=no'
6148 fi
6149
6150 else
6151
6152 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6153
6154 fi
6155
6156
6157 eval "$wx_cv_use_base64"
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_BASE64 = yes; then
6161 result=no
6162 else
6163 result=yes
6164 fi
6165 else
6166 result=$wxUSE_BASE64
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173 enablestring=
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6177 defaultval=yes
6178 else
6179 defaultval=no
6180 fi
6181 fi
6182
6183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6185 # Check whether --enable-backtrace was given.
6186 if test "${enable_backtrace+set}" = set; then
6187 enableval=$enable_backtrace;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6190 else
6191 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6192 fi
6193
6194 else
6195
6196 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6197
6198 fi
6199
6200
6201 eval "$wx_cv_use_backtrace"
6202
6203 if test x"$enablestring" = xdisable; then
6204 if test $wxUSE_STACKWALKER = yes; then
6205 result=no
6206 else
6207 result=yes
6208 fi
6209 else
6210 result=$wxUSE_STACKWALKER
6211 fi
6212
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6215
6216
6217 enablestring=
6218 defaultval=$wxUSE_ALL_FEATURES
6219 if test -z "$defaultval"; then
6220 if test x"$enablestring" = xdisable; then
6221 defaultval=yes
6222 else
6223 defaultval=no
6224 fi
6225 fi
6226
6227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6228 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6229 # Check whether --enable-catch_segvs was given.
6230 if test "${enable_catch_segvs+set}" = set; then
6231 enableval=$enable_catch_segvs;
6232 if test "$enableval" = yes; then
6233 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6234 else
6235 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6236 fi
6237
6238 else
6239
6240 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6241
6242 fi
6243
6244
6245 eval "$wx_cv_use_catch_segvs"
6246
6247 if test x"$enablestring" = xdisable; then
6248 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6249 result=no
6250 else
6251 result=yes
6252 fi
6253 else
6254 result=$wxUSE_ON_FATAL_EXCEPTION
6255 fi
6256
6257 { echo "$as_me:$LINENO: result: $result" >&5
6258 echo "${ECHO_T}$result" >&6; }
6259
6260
6261 enablestring=
6262 defaultval=$wxUSE_ALL_FEATURES
6263 if test -z "$defaultval"; then
6264 if test x"$enablestring" = xdisable; then
6265 defaultval=yes
6266 else
6267 defaultval=no
6268 fi
6269 fi
6270
6271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6272 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6273 # Check whether --enable-cmdline was given.
6274 if test "${enable_cmdline+set}" = set; then
6275 enableval=$enable_cmdline;
6276 if test "$enableval" = yes; then
6277 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6278 else
6279 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6280 fi
6281
6282 else
6283
6284 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6285
6286 fi
6287
6288
6289 eval "$wx_cv_use_cmdline"
6290
6291 if test x"$enablestring" = xdisable; then
6292 if test $wxUSE_CMDLINE_PARSER = yes; then
6293 result=no
6294 else
6295 result=yes
6296 fi
6297 else
6298 result=$wxUSE_CMDLINE_PARSER
6299 fi
6300
6301 { echo "$as_me:$LINENO: result: $result" >&5
6302 echo "${ECHO_T}$result" >&6; }
6303
6304
6305 enablestring=
6306 defaultval=$wxUSE_ALL_FEATURES
6307 if test -z "$defaultval"; then
6308 if test x"$enablestring" = xdisable; then
6309 defaultval=yes
6310 else
6311 defaultval=no
6312 fi
6313 fi
6314
6315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6317 # Check whether --enable-datetime was given.
6318 if test "${enable_datetime+set}" = set; then
6319 enableval=$enable_datetime;
6320 if test "$enableval" = yes; then
6321 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6322 else
6323 wx_cv_use_datetime='wxUSE_DATETIME=no'
6324 fi
6325
6326 else
6327
6328 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6329
6330 fi
6331
6332
6333 eval "$wx_cv_use_datetime"
6334
6335 if test x"$enablestring" = xdisable; then
6336 if test $wxUSE_DATETIME = yes; then
6337 result=no
6338 else
6339 result=yes
6340 fi
6341 else
6342 result=$wxUSE_DATETIME
6343 fi
6344
6345 { echo "$as_me:$LINENO: result: $result" >&5
6346 echo "${ECHO_T}$result" >&6; }
6347
6348
6349 enablestring=
6350 defaultval=$wxUSE_ALL_FEATURES
6351 if test -z "$defaultval"; then
6352 if test x"$enablestring" = xdisable; then
6353 defaultval=yes
6354 else
6355 defaultval=no
6356 fi
6357 fi
6358
6359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6361 # Check whether --enable-debugreport was given.
6362 if test "${enable_debugreport+set}" = set; then
6363 enableval=$enable_debugreport;
6364 if test "$enableval" = yes; then
6365 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6366 else
6367 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6368 fi
6369
6370 else
6371
6372 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6373
6374 fi
6375
6376
6377 eval "$wx_cv_use_debugreport"
6378
6379 if test x"$enablestring" = xdisable; then
6380 if test $wxUSE_DEBUGREPORT = yes; then
6381 result=no
6382 else
6383 result=yes
6384 fi
6385 else
6386 result=$wxUSE_DEBUGREPORT
6387 fi
6388
6389 { echo "$as_me:$LINENO: result: $result" >&5
6390 echo "${ECHO_T}$result" >&6; }
6391
6392
6393 enablestring=
6394 defaultval=$wxUSE_ALL_FEATURES
6395 if test -z "$defaultval"; then
6396 if test x"$enablestring" = xdisable; then
6397 defaultval=yes
6398 else
6399 defaultval=no
6400 fi
6401 fi
6402
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6405 # Check whether --enable-dialupman was given.
6406 if test "${enable_dialupman+set}" = set; then
6407 enableval=$enable_dialupman;
6408 if test "$enableval" = yes; then
6409 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6410 else
6411 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6412 fi
6413
6414 else
6415
6416 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6417
6418 fi
6419
6420
6421 eval "$wx_cv_use_dialupman"
6422
6423 if test x"$enablestring" = xdisable; then
6424 if test $wxUSE_DIALUP_MANAGER = yes; then
6425 result=no
6426 else
6427 result=yes
6428 fi
6429 else
6430 result=$wxUSE_DIALUP_MANAGER
6431 fi
6432
6433 { echo "$as_me:$LINENO: result: $result" >&5
6434 echo "${ECHO_T}$result" >&6; }
6435
6436
6437 enablestring=
6438 defaultval=$wxUSE_ALL_FEATURES
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6441 defaultval=yes
6442 else
6443 defaultval=no
6444 fi
6445 fi
6446
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6449 # Check whether --enable-dynlib was given.
6450 if test "${enable_dynlib+set}" = set; then
6451 enableval=$enable_dynlib;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6454 else
6455 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6456 fi
6457
6458 else
6459
6460 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6461
6462 fi
6463
6464
6465 eval "$wx_cv_use_dynlib"
6466
6467 if test x"$enablestring" = xdisable; then
6468 if test $wxUSE_DYNLIB_CLASS = yes; then
6469 result=no
6470 else
6471 result=yes
6472 fi
6473 else
6474 result=$wxUSE_DYNLIB_CLASS
6475 fi
6476
6477 { echo "$as_me:$LINENO: result: $result" >&5
6478 echo "${ECHO_T}$result" >&6; }
6479
6480
6481 enablestring=
6482 defaultval=$wxUSE_ALL_FEATURES
6483 if test -z "$defaultval"; then
6484 if test x"$enablestring" = xdisable; then
6485 defaultval=yes
6486 else
6487 defaultval=no
6488 fi
6489 fi
6490
6491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6493 # Check whether --enable-dynamicloader was given.
6494 if test "${enable_dynamicloader+set}" = set; then
6495 enableval=$enable_dynamicloader;
6496 if test "$enableval" = yes; then
6497 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6498 else
6499 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6500 fi
6501
6502 else
6503
6504 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6505
6506 fi
6507
6508
6509 eval "$wx_cv_use_dynamicloader"
6510
6511 if test x"$enablestring" = xdisable; then
6512 if test $wxUSE_DYNAMIC_LOADER = yes; then
6513 result=no
6514 else
6515 result=yes
6516 fi
6517 else
6518 result=$wxUSE_DYNAMIC_LOADER
6519 fi
6520
6521 { echo "$as_me:$LINENO: result: $result" >&5
6522 echo "${ECHO_T}$result" >&6; }
6523
6524
6525 enablestring=
6526 defaultval=$wxUSE_ALL_FEATURES
6527 if test -z "$defaultval"; then
6528 if test x"$enablestring" = xdisable; then
6529 defaultval=yes
6530 else
6531 defaultval=no
6532 fi
6533 fi
6534
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6537 # Check whether --enable-exceptions was given.
6538 if test "${enable_exceptions+set}" = set; then
6539 enableval=$enable_exceptions;
6540 if test "$enableval" = yes; then
6541 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6542 else
6543 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6544 fi
6545
6546 else
6547
6548 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6549
6550 fi
6551
6552
6553 eval "$wx_cv_use_exceptions"
6554
6555 if test x"$enablestring" = xdisable; then
6556 if test $wxUSE_EXCEPTIONS = yes; then
6557 result=no
6558 else
6559 result=yes
6560 fi
6561 else
6562 result=$wxUSE_EXCEPTIONS
6563 fi
6564
6565 { echo "$as_me:$LINENO: result: $result" >&5
6566 echo "${ECHO_T}$result" >&6; }
6567
6568
6569 enablestring=
6570 defaultval=$wxUSE_ALL_FEATURES
6571 if test -z "$defaultval"; then
6572 if test x"$enablestring" = xdisable; then
6573 defaultval=yes
6574 else
6575 defaultval=no
6576 fi
6577 fi
6578
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6581 # Check whether --enable-ffile was given.
6582 if test "${enable_ffile+set}" = set; then
6583 enableval=$enable_ffile;
6584 if test "$enableval" = yes; then
6585 wx_cv_use_ffile='wxUSE_FFILE=yes'
6586 else
6587 wx_cv_use_ffile='wxUSE_FFILE=no'
6588 fi
6589
6590 else
6591
6592 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6593
6594 fi
6595
6596
6597 eval "$wx_cv_use_ffile"
6598
6599 if test x"$enablestring" = xdisable; then
6600 if test $wxUSE_FFILE = yes; then
6601 result=no
6602 else
6603 result=yes
6604 fi
6605 else
6606 result=$wxUSE_FFILE
6607 fi
6608
6609 { echo "$as_me:$LINENO: result: $result" >&5
6610 echo "${ECHO_T}$result" >&6; }
6611
6612
6613 enablestring=
6614 defaultval=$wxUSE_ALL_FEATURES
6615 if test -z "$defaultval"; then
6616 if test x"$enablestring" = xdisable; then
6617 defaultval=yes
6618 else
6619 defaultval=no
6620 fi
6621 fi
6622
6623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6624 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6625 # Check whether --enable-file was given.
6626 if test "${enable_file+set}" = set; then
6627 enableval=$enable_file;
6628 if test "$enableval" = yes; then
6629 wx_cv_use_file='wxUSE_FILE=yes'
6630 else
6631 wx_cv_use_file='wxUSE_FILE=no'
6632 fi
6633
6634 else
6635
6636 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6637
6638 fi
6639
6640
6641 eval "$wx_cv_use_file"
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_FILE = yes; then
6645 result=no
6646 else
6647 result=yes
6648 fi
6649 else
6650 result=$wxUSE_FILE
6651 fi
6652
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6669 # Check whether --enable-filesystem was given.
6670 if test "${enable_filesystem+set}" = set; then
6671 enableval=$enable_filesystem;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6674 else
6675 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6676 fi
6677
6678 else
6679
6680 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6681
6682 fi
6683
6684
6685 eval "$wx_cv_use_filesystem"
6686
6687 if test x"$enablestring" = xdisable; then
6688 if test $wxUSE_FILESYSTEM = yes; then
6689 result=no
6690 else
6691 result=yes
6692 fi
6693 else
6694 result=$wxUSE_FILESYSTEM
6695 fi
6696
6697 { echo "$as_me:$LINENO: result: $result" >&5
6698 echo "${ECHO_T}$result" >&6; }
6699
6700
6701 enablestring=
6702 defaultval=$wxUSE_ALL_FEATURES
6703 if test -z "$defaultval"; then
6704 if test x"$enablestring" = xdisable; then
6705 defaultval=yes
6706 else
6707 defaultval=no
6708 fi
6709 fi
6710
6711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6712 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6713 # Check whether --enable-fontenum was given.
6714 if test "${enable_fontenum+set}" = set; then
6715 enableval=$enable_fontenum;
6716 if test "$enableval" = yes; then
6717 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6718 else
6719 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6720 fi
6721
6722 else
6723
6724 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6725
6726 fi
6727
6728
6729 eval "$wx_cv_use_fontenum"
6730
6731 if test x"$enablestring" = xdisable; then
6732 if test $wxUSE_FONTENUM = yes; then
6733 result=no
6734 else
6735 result=yes
6736 fi
6737 else
6738 result=$wxUSE_FONTENUM
6739 fi
6740
6741 { echo "$as_me:$LINENO: result: $result" >&5
6742 echo "${ECHO_T}$result" >&6; }
6743
6744
6745 enablestring=
6746 defaultval=$wxUSE_ALL_FEATURES
6747 if test -z "$defaultval"; then
6748 if test x"$enablestring" = xdisable; then
6749 defaultval=yes
6750 else
6751 defaultval=no
6752 fi
6753 fi
6754
6755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6757 # Check whether --enable-fontmap was given.
6758 if test "${enable_fontmap+set}" = set; then
6759 enableval=$enable_fontmap;
6760 if test "$enableval" = yes; then
6761 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6762 else
6763 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6764 fi
6765
6766 else
6767
6768 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6769
6770 fi
6771
6772
6773 eval "$wx_cv_use_fontmap"
6774
6775 if test x"$enablestring" = xdisable; then
6776 if test $wxUSE_FONTMAP = yes; then
6777 result=no
6778 else
6779 result=yes
6780 fi
6781 else
6782 result=$wxUSE_FONTMAP
6783 fi
6784
6785 { echo "$as_me:$LINENO: result: $result" >&5
6786 echo "${ECHO_T}$result" >&6; }
6787
6788
6789 enablestring=
6790 defaultval=$wxUSE_ALL_FEATURES
6791 if test -z "$defaultval"; then
6792 if test x"$enablestring" = xdisable; then
6793 defaultval=yes
6794 else
6795 defaultval=no
6796 fi
6797 fi
6798
6799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6800 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6801 # Check whether --enable-fs_archive was given.
6802 if test "${enable_fs_archive+set}" = set; then
6803 enableval=$enable_fs_archive;
6804 if test "$enableval" = yes; then
6805 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6806 else
6807 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6808 fi
6809
6810 else
6811
6812 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6813
6814 fi
6815
6816
6817 eval "$wx_cv_use_fs_archive"
6818
6819 if test x"$enablestring" = xdisable; then
6820 if test $wxUSE_FS_ARCHIVE = yes; then
6821 result=no
6822 else
6823 result=yes
6824 fi
6825 else
6826 result=$wxUSE_FS_ARCHIVE
6827 fi
6828
6829 { echo "$as_me:$LINENO: result: $result" >&5
6830 echo "${ECHO_T}$result" >&6; }
6831
6832
6833 enablestring=
6834 defaultval=$wxUSE_ALL_FEATURES
6835 if test -z "$defaultval"; then
6836 if test x"$enablestring" = xdisable; then
6837 defaultval=yes
6838 else
6839 defaultval=no
6840 fi
6841 fi
6842
6843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6845 # Check whether --enable-fs_inet was given.
6846 if test "${enable_fs_inet+set}" = set; then
6847 enableval=$enable_fs_inet;
6848 if test "$enableval" = yes; then
6849 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6850 else
6851 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6852 fi
6853
6854 else
6855
6856 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6857
6858 fi
6859
6860
6861 eval "$wx_cv_use_fs_inet"
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $wxUSE_FS_INET = yes; then
6865 result=no
6866 else
6867 result=yes
6868 fi
6869 else
6870 result=$wxUSE_FS_INET
6871 fi
6872
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6875
6876
6877 enablestring=
6878 defaultval=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6881 defaultval=yes
6882 else
6883 defaultval=no
6884 fi
6885 fi
6886
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6889 # Check whether --enable-fs_zip was given.
6890 if test "${enable_fs_zip+set}" = set; then
6891 enableval=$enable_fs_zip;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6894 else
6895 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6896 fi
6897
6898 else
6899
6900 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6901
6902 fi
6903
6904
6905 eval "$wx_cv_use_fs_zip"
6906
6907 if test x"$enablestring" = xdisable; then
6908 if test $wxUSE_FS_ZIP = yes; then
6909 result=no
6910 else
6911 result=yes
6912 fi
6913 else
6914 result=$wxUSE_FS_ZIP
6915 fi
6916
6917 { echo "$as_me:$LINENO: result: $result" >&5
6918 echo "${ECHO_T}$result" >&6; }
6919
6920
6921 enablestring=
6922 defaultval=$wxUSE_ALL_FEATURES
6923 if test -z "$defaultval"; then
6924 if test x"$enablestring" = xdisable; then
6925 defaultval=yes
6926 else
6927 defaultval=no
6928 fi
6929 fi
6930
6931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6932 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6933 # Check whether --enable-geometry was given.
6934 if test "${enable_geometry+set}" = set; then
6935 enableval=$enable_geometry;
6936 if test "$enableval" = yes; then
6937 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
6938 else
6939 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
6940 fi
6941
6942 else
6943
6944 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6945
6946 fi
6947
6948
6949 eval "$wx_cv_use_geometry"
6950
6951 if test x"$enablestring" = xdisable; then
6952 if test $wxUSE_GEOMETRY = yes; then
6953 result=no
6954 else
6955 result=yes
6956 fi
6957 else
6958 result=$wxUSE_GEOMETRY
6959 fi
6960
6961 { echo "$as_me:$LINENO: result: $result" >&5
6962 echo "${ECHO_T}$result" >&6; }
6963
6964
6965 enablestring=
6966 defaultval=$wxUSE_ALL_FEATURES
6967 if test -z "$defaultval"; then
6968 if test x"$enablestring" = xdisable; then
6969 defaultval=yes
6970 else
6971 defaultval=no
6972 fi
6973 fi
6974
6975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6976 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6977 # Check whether --enable-log was given.
6978 if test "${enable_log+set}" = set; then
6979 enableval=$enable_log;
6980 if test "$enableval" = yes; then
6981 wx_cv_use_log='wxUSE_LOG=yes'
6982 else
6983 wx_cv_use_log='wxUSE_LOG=no'
6984 fi
6985
6986 else
6987
6988 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6989
6990 fi
6991
6992
6993 eval "$wx_cv_use_log"
6994
6995 if test x"$enablestring" = xdisable; then
6996 if test $wxUSE_LOG = yes; then
6997 result=no
6998 else
6999 result=yes
7000 fi
7001 else
7002 result=$wxUSE_LOG
7003 fi
7004
7005 { echo "$as_me:$LINENO: result: $result" >&5
7006 echo "${ECHO_T}$result" >&6; }
7007
7008
7009 enablestring=
7010 defaultval=$wxUSE_ALL_FEATURES
7011 if test -z "$defaultval"; then
7012 if test x"$enablestring" = xdisable; then
7013 defaultval=yes
7014 else
7015 defaultval=no
7016 fi
7017 fi
7018
7019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7020 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7021 # Check whether --enable-longlong was given.
7022 if test "${enable_longlong+set}" = set; then
7023 enableval=$enable_longlong;
7024 if test "$enableval" = yes; then
7025 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7026 else
7027 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7028 fi
7029
7030 else
7031
7032 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7033
7034 fi
7035
7036
7037 eval "$wx_cv_use_longlong"
7038
7039 if test x"$enablestring" = xdisable; then
7040 if test $wxUSE_LONGLONG = yes; then
7041 result=no
7042 else
7043 result=yes
7044 fi
7045 else
7046 result=$wxUSE_LONGLONG
7047 fi
7048
7049 { echo "$as_me:$LINENO: result: $result" >&5
7050 echo "${ECHO_T}$result" >&6; }
7051
7052
7053 enablestring=
7054 defaultval=$wxUSE_ALL_FEATURES
7055 if test -z "$defaultval"; then
7056 if test x"$enablestring" = xdisable; then
7057 defaultval=yes
7058 else
7059 defaultval=no
7060 fi
7061 fi
7062
7063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7064 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7065 # Check whether --enable-mimetype was given.
7066 if test "${enable_mimetype+set}" = set; then
7067 enableval=$enable_mimetype;
7068 if test "$enableval" = yes; then
7069 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7070 else
7071 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7072 fi
7073
7074 else
7075
7076 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7077
7078 fi
7079
7080
7081 eval "$wx_cv_use_mimetype"
7082
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_MIMETYPE = yes; then
7085 result=no
7086 else
7087 result=yes
7088 fi
7089 else
7090 result=$wxUSE_MIMETYPE
7091 fi
7092
7093 { echo "$as_me:$LINENO: result: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7095
7096
7097 enablestring=
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7101 defaultval=yes
7102 else
7103 defaultval=no
7104 fi
7105 fi
7106
7107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7108 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7109 # Check whether --enable-snglinst was given.
7110 if test "${enable_snglinst+set}" = set; then
7111 enableval=$enable_snglinst;
7112 if test "$enableval" = yes; then
7113 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7114 else
7115 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7116 fi
7117
7118 else
7119
7120 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7121
7122 fi
7123
7124
7125 eval "$wx_cv_use_snglinst"
7126
7127 if test x"$enablestring" = xdisable; then
7128 if test $wxUSE_SNGLINST_CHECKER = yes; then
7129 result=no
7130 else
7131 result=yes
7132 fi
7133 else
7134 result=$wxUSE_SNGLINST_CHECKER
7135 fi
7136
7137 { echo "$as_me:$LINENO: result: $result" >&5
7138 echo "${ECHO_T}$result" >&6; }
7139
7140
7141 enablestring=
7142 defaultval=$wxUSE_ALL_FEATURES
7143 if test -z "$defaultval"; then
7144 if test x"$enablestring" = xdisable; then
7145 defaultval=yes
7146 else
7147 defaultval=no
7148 fi
7149 fi
7150
7151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7152 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7153 # Check whether --enable-stdpaths was given.
7154 if test "${enable_stdpaths+set}" = set; then
7155 enableval=$enable_stdpaths;
7156 if test "$enableval" = yes; then
7157 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7158 else
7159 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7160 fi
7161
7162 else
7163
7164 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7165
7166 fi
7167
7168
7169 eval "$wx_cv_use_stdpaths"
7170
7171 if test x"$enablestring" = xdisable; then
7172 if test $wxUSE_STDPATHS = yes; then
7173 result=no
7174 else
7175 result=yes
7176 fi
7177 else
7178 result=$wxUSE_STDPATHS
7179 fi
7180
7181 { echo "$as_me:$LINENO: result: $result" >&5
7182 echo "${ECHO_T}$result" >&6; }
7183
7184
7185 enablestring=
7186 defaultval=$wxUSE_ALL_FEATURES
7187 if test -z "$defaultval"; then
7188 if test x"$enablestring" = xdisable; then
7189 defaultval=yes
7190 else
7191 defaultval=no
7192 fi
7193 fi
7194
7195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7196 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7197 # Check whether --enable-stopwatch was given.
7198 if test "${enable_stopwatch+set}" = set; then
7199 enableval=$enable_stopwatch;
7200 if test "$enableval" = yes; then
7201 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7202 else
7203 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7204 fi
7205
7206 else
7207
7208 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7209
7210 fi
7211
7212
7213 eval "$wx_cv_use_stopwatch"
7214
7215 if test x"$enablestring" = xdisable; then
7216 if test $wxUSE_STOPWATCH = yes; then
7217 result=no
7218 else
7219 result=yes
7220 fi
7221 else
7222 result=$wxUSE_STOPWATCH
7223 fi
7224
7225 { echo "$as_me:$LINENO: result: $result" >&5
7226 echo "${ECHO_T}$result" >&6; }
7227
7228
7229 enablestring=
7230 defaultval=$wxUSE_ALL_FEATURES
7231 if test -z "$defaultval"; then
7232 if test x"$enablestring" = xdisable; then
7233 defaultval=yes
7234 else
7235 defaultval=no
7236 fi
7237 fi
7238
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7241 # Check whether --enable-streams was given.
7242 if test "${enable_streams+set}" = set; then
7243 enableval=$enable_streams;
7244 if test "$enableval" = yes; then
7245 wx_cv_use_streams='wxUSE_STREAMS=yes'
7246 else
7247 wx_cv_use_streams='wxUSE_STREAMS=no'
7248 fi
7249
7250 else
7251
7252 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7253
7254 fi
7255
7256
7257 eval "$wx_cv_use_streams"
7258
7259 if test x"$enablestring" = xdisable; then
7260 if test $wxUSE_STREAMS = yes; then
7261 result=no
7262 else
7263 result=yes
7264 fi
7265 else
7266 result=$wxUSE_STREAMS
7267 fi
7268
7269 { echo "$as_me:$LINENO: result: $result" >&5
7270 echo "${ECHO_T}$result" >&6; }
7271
7272
7273 enablestring=
7274 defaultval=$wxUSE_ALL_FEATURES
7275 if test -z "$defaultval"; then
7276 if test x"$enablestring" = xdisable; then
7277 defaultval=yes
7278 else
7279 defaultval=no
7280 fi
7281 fi
7282
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7285 # Check whether --enable-system_options was given.
7286 if test "${enable_system_options+set}" = set; then
7287 enableval=$enable_system_options;
7288 if test "$enableval" = yes; then
7289 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7290 else
7291 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7292 fi
7293
7294 else
7295
7296 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7297
7298 fi
7299
7300
7301 eval "$wx_cv_use_system_options"
7302
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7305 result=no
7306 else
7307 result=yes
7308 fi
7309 else
7310 result=$wxUSE_SYSTEM_OPTIONS
7311 fi
7312
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7315
7316
7317 enablestring=
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7321 defaultval=yes
7322 else
7323 defaultval=no
7324 fi
7325 fi
7326
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7329 # Check whether --enable-tarstream was given.
7330 if test "${enable_tarstream+set}" = set; then
7331 enableval=$enable_tarstream;
7332 if test "$enableval" = yes; then
7333 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7334 else
7335 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7336 fi
7337
7338 else
7339
7340 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7341
7342 fi
7343
7344
7345 eval "$wx_cv_use_tarstream"
7346
7347 if test x"$enablestring" = xdisable; then
7348 if test $wxUSE_TARSTREAM = yes; then
7349 result=no
7350 else
7351 result=yes
7352 fi
7353 else
7354 result=$wxUSE_TARSTREAM
7355 fi
7356
7357 { echo "$as_me:$LINENO: result: $result" >&5
7358 echo "${ECHO_T}$result" >&6; }
7359
7360
7361 enablestring=
7362 defaultval=$wxUSE_ALL_FEATURES
7363 if test -z "$defaultval"; then
7364 if test x"$enablestring" = xdisable; then
7365 defaultval=yes
7366 else
7367 defaultval=no
7368 fi
7369 fi
7370
7371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7373 # Check whether --enable-textbuf was given.
7374 if test "${enable_textbuf+set}" = set; then
7375 enableval=$enable_textbuf;
7376 if test "$enableval" = yes; then
7377 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7378 else
7379 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7380 fi
7381
7382 else
7383
7384 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7385
7386 fi
7387
7388
7389 eval "$wx_cv_use_textbuf"
7390
7391 if test x"$enablestring" = xdisable; then
7392 if test $wxUSE_TEXTBUFFER = yes; then
7393 result=no
7394 else
7395 result=yes
7396 fi
7397 else
7398 result=$wxUSE_TEXTBUFFER
7399 fi
7400
7401 { echo "$as_me:$LINENO: result: $result" >&5
7402 echo "${ECHO_T}$result" >&6; }
7403
7404
7405 enablestring=
7406 defaultval=$wxUSE_ALL_FEATURES
7407 if test -z "$defaultval"; then
7408 if test x"$enablestring" = xdisable; then
7409 defaultval=yes
7410 else
7411 defaultval=no
7412 fi
7413 fi
7414
7415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7416 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7417 # Check whether --enable-textfile was given.
7418 if test "${enable_textfile+set}" = set; then
7419 enableval=$enable_textfile;
7420 if test "$enableval" = yes; then
7421 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7422 else
7423 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7424 fi
7425
7426 else
7427
7428 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7429
7430 fi
7431
7432
7433 eval "$wx_cv_use_textfile"
7434
7435 if test x"$enablestring" = xdisable; then
7436 if test $wxUSE_TEXTFILE = yes; then
7437 result=no
7438 else
7439 result=yes
7440 fi
7441 else
7442 result=$wxUSE_TEXTFILE
7443 fi
7444
7445 { echo "$as_me:$LINENO: result: $result" >&5
7446 echo "${ECHO_T}$result" >&6; }
7447
7448
7449 enablestring=
7450 defaultval=$wxUSE_ALL_FEATURES
7451 if test -z "$defaultval"; then
7452 if test x"$enablestring" = xdisable; then
7453 defaultval=yes
7454 else
7455 defaultval=no
7456 fi
7457 fi
7458
7459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7461 # Check whether --enable-timer was given.
7462 if test "${enable_timer+set}" = set; then
7463 enableval=$enable_timer;
7464 if test "$enableval" = yes; then
7465 wx_cv_use_timer='wxUSE_TIMER=yes'
7466 else
7467 wx_cv_use_timer='wxUSE_TIMER=no'
7468 fi
7469
7470 else
7471
7472 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7473
7474 fi
7475
7476
7477 eval "$wx_cv_use_timer"
7478
7479 if test x"$enablestring" = xdisable; then
7480 if test $wxUSE_TIMER = yes; then
7481 result=no
7482 else
7483 result=yes
7484 fi
7485 else
7486 result=$wxUSE_TIMER
7487 fi
7488
7489 { echo "$as_me:$LINENO: result: $result" >&5
7490 echo "${ECHO_T}$result" >&6; }
7491
7492
7493 enablestring=
7494 defaultval=$wxUSE_ALL_FEATURES
7495 if test -z "$defaultval"; then
7496 if test x"$enablestring" = xdisable; then
7497 defaultval=yes
7498 else
7499 defaultval=no
7500 fi
7501 fi
7502
7503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7505 # Check whether --enable-sound was given.
7506 if test "${enable_sound+set}" = set; then
7507 enableval=$enable_sound;
7508 if test "$enableval" = yes; then
7509 wx_cv_use_sound='wxUSE_SOUND=yes'
7510 else
7511 wx_cv_use_sound='wxUSE_SOUND=no'
7512 fi
7513
7514 else
7515
7516 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7517
7518 fi
7519
7520
7521 eval "$wx_cv_use_sound"
7522
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_SOUND = yes; then
7525 result=no
7526 else
7527 result=yes
7528 fi
7529 else
7530 result=$wxUSE_SOUND
7531 fi
7532
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7535
7536
7537 enablestring=
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7541 defaultval=yes
7542 else
7543 defaultval=no
7544 fi
7545 fi
7546
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7549 # Check whether --enable-mediactrl was given.
7550 if test "${enable_mediactrl+set}" = set; then
7551 enableval=$enable_mediactrl;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7554 else
7555 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7556 fi
7557
7558 else
7559
7560 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7561
7562 fi
7563
7564
7565 eval "$wx_cv_use_mediactrl"
7566
7567 if test x"$enablestring" = xdisable; then
7568 if test $wxUSE_MEDIACTRL = yes; then
7569 result=no
7570 else
7571 result=yes
7572 fi
7573 else
7574 result=$wxUSE_MEDIACTRL
7575 fi
7576
7577 { echo "$as_me:$LINENO: result: $result" >&5
7578 echo "${ECHO_T}$result" >&6; }
7579
7580
7581 enablestring=
7582 defaultval=$wxUSE_ALL_FEATURES
7583 if test -z "$defaultval"; then
7584 if test x"$enablestring" = xdisable; then
7585 defaultval=yes
7586 else
7587 defaultval=no
7588 fi
7589 fi
7590
7591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7593 # Check whether --enable-gstreamer8 was given.
7594 if test "${enable_gstreamer8+set}" = set; then
7595 enableval=$enable_gstreamer8;
7596 if test "$enableval" = yes; then
7597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7598 else
7599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7600 fi
7601
7602 else
7603
7604 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7605
7606 fi
7607
7608
7609 eval "$wx_cv_use_gstreamer8"
7610
7611 if test x"$enablestring" = xdisable; then
7612 if test $wxUSE_GSTREAMER8 = yes; then
7613 result=no
7614 else
7615 result=yes
7616 fi
7617 else
7618 result=$wxUSE_GSTREAMER8
7619 fi
7620
7621 { echo "$as_me:$LINENO: result: $result" >&5
7622 echo "${ECHO_T}$result" >&6; }
7623
7624
7625 enablestring=
7626 defaultval=$wxUSE_ALL_FEATURES
7627 if test -z "$defaultval"; then
7628 if test x"$enablestring" = xdisable; then
7629 defaultval=yes
7630 else
7631 defaultval=no
7632 fi
7633 fi
7634
7635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7637 # Check whether --enable-printfposparam was given.
7638 if test "${enable_printfposparam+set}" = set; then
7639 enableval=$enable_printfposparam;
7640 if test "$enableval" = yes; then
7641 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7642 else
7643 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7644 fi
7645
7646 else
7647
7648 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7649
7650 fi
7651
7652
7653 eval "$wx_cv_use_printfposparam"
7654
7655 if test x"$enablestring" = xdisable; then
7656 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7657 result=no
7658 else
7659 result=yes
7660 fi
7661 else
7662 result=$wxUSE_PRINTF_POS_PARAMS
7663 fi
7664
7665 { echo "$as_me:$LINENO: result: $result" >&5
7666 echo "${ECHO_T}$result" >&6; }
7667
7668
7669 enablestring=
7670 defaultval=$wxUSE_ALL_FEATURES
7671 if test -z "$defaultval"; then
7672 if test x"$enablestring" = xdisable; then
7673 defaultval=yes
7674 else
7675 defaultval=no
7676 fi
7677 fi
7678
7679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7681 # Check whether --enable-zipstream was given.
7682 if test "${enable_zipstream+set}" = set; then
7683 enableval=$enable_zipstream;
7684 if test "$enableval" = yes; then
7685 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7686 else
7687 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7688 fi
7689
7690 else
7691
7692 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7693
7694 fi
7695
7696
7697 eval "$wx_cv_use_zipstream"
7698
7699 if test x"$enablestring" = xdisable; then
7700 if test $wxUSE_ZIPSTREAM = yes; then
7701 result=no
7702 else
7703 result=yes
7704 fi
7705 else
7706 result=$wxUSE_ZIPSTREAM
7707 fi
7708
7709 { echo "$as_me:$LINENO: result: $result" >&5
7710 echo "${ECHO_T}$result" >&6; }
7711
7712
7713
7714 enablestring=
7715 defaultval=$wxUSE_ALL_FEATURES
7716 if test -z "$defaultval"; then
7717 if test x"$enablestring" = xdisable; then
7718 defaultval=yes
7719 else
7720 defaultval=no
7721 fi
7722 fi
7723
7724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7725 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7726 # Check whether --enable-url was given.
7727 if test "${enable_url+set}" = set; then
7728 enableval=$enable_url;
7729 if test "$enableval" = yes; then
7730 wx_cv_use_url='wxUSE_URL=yes'
7731 else
7732 wx_cv_use_url='wxUSE_URL=no'
7733 fi
7734
7735 else
7736
7737 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7738
7739 fi
7740
7741
7742 eval "$wx_cv_use_url"
7743
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_URL = yes; then
7746 result=no
7747 else
7748 result=yes
7749 fi
7750 else
7751 result=$wxUSE_URL
7752 fi
7753
7754 { echo "$as_me:$LINENO: result: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7756
7757
7758 enablestring=
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7762 defaultval=yes
7763 else
7764 defaultval=no
7765 fi
7766 fi
7767
7768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7770 # Check whether --enable-variant was given.
7771 if test "${enable_variant+set}" = set; then
7772 enableval=$enable_variant;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_variant='wxUSE_VARIANT=yes'
7775 else
7776 wx_cv_use_variant='wxUSE_VARIANT=no'
7777 fi
7778
7779 else
7780
7781 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7782
7783 fi
7784
7785
7786 eval "$wx_cv_use_variant"
7787
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_VARIANT = yes; then
7790 result=no
7791 else
7792 result=yes
7793 fi
7794 else
7795 result=$wxUSE_VARIANT
7796 fi
7797
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7800
7801
7802 enablestring=
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7806 defaultval=yes
7807 else
7808 defaultval=no
7809 fi
7810 fi
7811
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7814 # Check whether --enable-protocol was given.
7815 if test "${enable_protocol+set}" = set; then
7816 enableval=$enable_protocol;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7819 else
7820 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7821 fi
7822
7823 else
7824
7825 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7826
7827 fi
7828
7829
7830 eval "$wx_cv_use_protocol"
7831
7832 if test x"$enablestring" = xdisable; then
7833 if test $wxUSE_PROTOCOL = yes; then
7834 result=no
7835 else
7836 result=yes
7837 fi
7838 else
7839 result=$wxUSE_PROTOCOL
7840 fi
7841
7842 { echo "$as_me:$LINENO: result: $result" >&5
7843 echo "${ECHO_T}$result" >&6; }
7844
7845
7846 enablestring=
7847 defaultval=$wxUSE_ALL_FEATURES
7848 if test -z "$defaultval"; then
7849 if test x"$enablestring" = xdisable; then
7850 defaultval=yes
7851 else
7852 defaultval=no
7853 fi
7854 fi
7855
7856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7857 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7858 # Check whether --enable-protocol_http was given.
7859 if test "${enable_protocol_http+set}" = set; then
7860 enableval=$enable_protocol_http;
7861 if test "$enableval" = yes; then
7862 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7863 else
7864 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7865 fi
7866
7867 else
7868
7869 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7870
7871 fi
7872
7873
7874 eval "$wx_cv_use_protocol_http"
7875
7876 if test x"$enablestring" = xdisable; then
7877 if test $wxUSE_PROTOCOL_HTTP = yes; then
7878 result=no
7879 else
7880 result=yes
7881 fi
7882 else
7883 result=$wxUSE_PROTOCOL_HTTP
7884 fi
7885
7886 { echo "$as_me:$LINENO: result: $result" >&5
7887 echo "${ECHO_T}$result" >&6; }
7888
7889
7890 enablestring=
7891 defaultval=$wxUSE_ALL_FEATURES
7892 if test -z "$defaultval"; then
7893 if test x"$enablestring" = xdisable; then
7894 defaultval=yes
7895 else
7896 defaultval=no
7897 fi
7898 fi
7899
7900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7901 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7902 # Check whether --enable-protocol_ftp was given.
7903 if test "${enable_protocol_ftp+set}" = set; then
7904 enableval=$enable_protocol_ftp;
7905 if test "$enableval" = yes; then
7906 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7907 else
7908 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7909 fi
7910
7911 else
7912
7913 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7914
7915 fi
7916
7917
7918 eval "$wx_cv_use_protocol_ftp"
7919
7920 if test x"$enablestring" = xdisable; then
7921 if test $wxUSE_PROTOCOL_FTP = yes; then
7922 result=no
7923 else
7924 result=yes
7925 fi
7926 else
7927 result=$wxUSE_PROTOCOL_FTP
7928 fi
7929
7930 { echo "$as_me:$LINENO: result: $result" >&5
7931 echo "${ECHO_T}$result" >&6; }
7932
7933
7934 enablestring=
7935 defaultval=$wxUSE_ALL_FEATURES
7936 if test -z "$defaultval"; then
7937 if test x"$enablestring" = xdisable; then
7938 defaultval=yes
7939 else
7940 defaultval=no
7941 fi
7942 fi
7943
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7946 # Check whether --enable-protocol_file was given.
7947 if test "${enable_protocol_file+set}" = set; then
7948 enableval=$enable_protocol_file;
7949 if test "$enableval" = yes; then
7950 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7951 else
7952 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7953 fi
7954
7955 else
7956
7957 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7958
7959 fi
7960
7961
7962 eval "$wx_cv_use_protocol_file"
7963
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_PROTOCOL_FILE = yes; then
7966 result=no
7967 else
7968 result=yes
7969 fi
7970 else
7971 result=$wxUSE_PROTOCOL_FILE
7972 fi
7973
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7976
7977
7978
7979 enablestring=
7980 defaultval=$wxUSE_ALL_FEATURES
7981 if test -z "$defaultval"; then
7982 if test x"$enablestring" = xdisable; then
7983 defaultval=yes
7984 else
7985 defaultval=no
7986 fi
7987 fi
7988
7989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7990 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7991 # Check whether --enable-threads was given.
7992 if test "${enable_threads+set}" = set; then
7993 enableval=$enable_threads;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_threads='wxUSE_THREADS=yes'
7996 else
7997 wx_cv_use_threads='wxUSE_THREADS=no'
7998 fi
7999
8000 else
8001
8002 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8003
8004 fi
8005
8006
8007 eval "$wx_cv_use_threads"
8008
8009 if test x"$enablestring" = xdisable; then
8010 if test $wxUSE_THREADS = yes; then
8011 result=no
8012 else
8013 result=yes
8014 fi
8015 else
8016 result=$wxUSE_THREADS
8017 fi
8018
8019 { echo "$as_me:$LINENO: result: $result" >&5
8020 echo "${ECHO_T}$result" >&6; }
8021
8022
8023
8024 enablestring=
8025 defaultval=
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8028 defaultval=yes
8029 else
8030 defaultval=no
8031 fi
8032 fi
8033
8034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8036 # Check whether --enable-iniconf was given.
8037 if test "${enable_iniconf+set}" = set; then
8038 enableval=$enable_iniconf;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8041 else
8042 wx_cv_use_iniconf='wxUSE_INICONF=no'
8043 fi
8044
8045 else
8046
8047 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8048
8049 fi
8050
8051
8052 eval "$wx_cv_use_iniconf"
8053
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_INICONF = yes; then
8056 result=no
8057 else
8058 result=yes
8059 fi
8060 else
8061 result=$wxUSE_INICONF
8062 fi
8063
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8066
8067
8068 enablestring=
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8072 defaultval=yes
8073 else
8074 defaultval=no
8075 fi
8076 fi
8077
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8080 # Check whether --enable-regkey was given.
8081 if test "${enable_regkey+set}" = set; then
8082 enableval=$enable_regkey;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8085 else
8086 wx_cv_use_regkey='wxUSE_REGKEY=no'
8087 fi
8088
8089 else
8090
8091 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8092
8093 fi
8094
8095
8096 eval "$wx_cv_use_regkey"
8097
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_REGKEY = yes; then
8100 result=no
8101 else
8102 result=yes
8103 fi
8104 else
8105 result=$wxUSE_REGKEY
8106 fi
8107
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8110
8111
8112 if test "$wxUSE_GUI" = "yes"; then
8113
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8128 # Check whether --enable-docview was given.
8129 if test "${enable_docview+set}" = set; then
8130 enableval=$enable_docview;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8133 else
8134 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_docview"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8148 result=no
8149 else
8150 result=yes
8151 fi
8152 else
8153 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8172 # Check whether --enable-help was given.
8173 if test "${enable_help+set}" = set; then
8174 enableval=$enable_help;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_help='wxUSE_HELP=yes'
8177 else
8178 wx_cv_use_help='wxUSE_HELP=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_help"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_HELP = yes; then
8192 result=no
8193 else
8194 result=yes
8195 fi
8196 else
8197 result=$wxUSE_HELP
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8216 # Check whether --enable-mshtmlhelp was given.
8217 if test "${enable_mshtmlhelp+set}" = set; then
8218 enableval=$enable_mshtmlhelp;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8221 else
8222 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_mshtmlhelp"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_MS_HTML_HELP = yes; then
8236 result=no
8237 else
8238 result=yes
8239 fi
8240 else
8241 result=$wxUSE_MS_HTML_HELP
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248 enablestring=
8249 defaultval=$wxUSE_ALL_FEATURES
8250 if test -z "$defaultval"; then
8251 if test x"$enablestring" = xdisable; then
8252 defaultval=yes
8253 else
8254 defaultval=no
8255 fi
8256 fi
8257
8258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8259 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8260 # Check whether --enable-html was given.
8261 if test "${enable_html+set}" = set; then
8262 enableval=$enable_html;
8263 if test "$enableval" = yes; then
8264 wx_cv_use_html='wxUSE_HTML=yes'
8265 else
8266 wx_cv_use_html='wxUSE_HTML=no'
8267 fi
8268
8269 else
8270
8271 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8272
8273 fi
8274
8275
8276 eval "$wx_cv_use_html"
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_HTML = yes; then
8280 result=no
8281 else
8282 result=yes
8283 fi
8284 else
8285 result=$wxUSE_HTML
8286 fi
8287
8288 { echo "$as_me:$LINENO: result: $result" >&5
8289 echo "${ECHO_T}$result" >&6; }
8290
8291
8292 enablestring=
8293 defaultval=$wxUSE_ALL_FEATURES
8294 if test -z "$defaultval"; then
8295 if test x"$enablestring" = xdisable; then
8296 defaultval=yes
8297 else
8298 defaultval=no
8299 fi
8300 fi
8301
8302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8304 # Check whether --enable-htmlhelp was given.
8305 if test "${enable_htmlhelp+set}" = set; then
8306 enableval=$enable_htmlhelp;
8307 if test "$enableval" = yes; then
8308 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8309 else
8310 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8311 fi
8312
8313 else
8314
8315 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8316
8317 fi
8318
8319
8320 eval "$wx_cv_use_htmlhelp"
8321
8322 if test x"$enablestring" = xdisable; then
8323 if test $wxUSE_WXHTML_HELP = yes; then
8324 result=no
8325 else
8326 result=yes
8327 fi
8328 else
8329 result=$wxUSE_WXHTML_HELP
8330 fi
8331
8332 { echo "$as_me:$LINENO: result: $result" >&5
8333 echo "${ECHO_T}$result" >&6; }
8334
8335
8336 enablestring=
8337 defaultval=$wxUSE_ALL_FEATURES
8338 if test -z "$defaultval"; then
8339 if test x"$enablestring" = xdisable; then
8340 defaultval=yes
8341 else
8342 defaultval=no
8343 fi
8344 fi
8345
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8348 # Check whether --enable-xrc was given.
8349 if test "${enable_xrc+set}" = set; then
8350 enableval=$enable_xrc;
8351 if test "$enableval" = yes; then
8352 wx_cv_use_xrc='wxUSE_XRC=yes'
8353 else
8354 wx_cv_use_xrc='wxUSE_XRC=no'
8355 fi
8356
8357 else
8358
8359 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8360
8361 fi
8362
8363
8364 eval "$wx_cv_use_xrc"
8365
8366 if test x"$enablestring" = xdisable; then
8367 if test $wxUSE_XRC = yes; then
8368 result=no
8369 else
8370 result=yes
8371 fi
8372 else
8373 result=$wxUSE_XRC
8374 fi
8375
8376 { echo "$as_me:$LINENO: result: $result" >&5
8377 echo "${ECHO_T}$result" >&6; }
8378
8379
8380 enablestring=
8381 defaultval=$wxUSE_ALL_FEATURES
8382 if test -z "$defaultval"; then
8383 if test x"$enablestring" = xdisable; then
8384 defaultval=yes
8385 else
8386 defaultval=no
8387 fi
8388 fi
8389
8390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8391 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8392 # Check whether --enable-aui was given.
8393 if test "${enable_aui+set}" = set; then
8394 enableval=$enable_aui;
8395 if test "$enableval" = yes; then
8396 wx_cv_use_aui='wxUSE_AUI=yes'
8397 else
8398 wx_cv_use_aui='wxUSE_AUI=no'
8399 fi
8400
8401 else
8402
8403 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8404
8405 fi
8406
8407
8408 eval "$wx_cv_use_aui"
8409
8410 if test x"$enablestring" = xdisable; then
8411 if test $wxUSE_AUI = yes; then
8412 result=no
8413 else
8414 result=yes
8415 fi
8416 else
8417 result=$wxUSE_AUI
8418 fi
8419
8420 { echo "$as_me:$LINENO: result: $result" >&5
8421 echo "${ECHO_T}$result" >&6; }
8422
8423
8424 enablestring=
8425 defaultval=$wxUSE_ALL_FEATURES
8426 if test -z "$defaultval"; then
8427 if test x"$enablestring" = xdisable; then
8428 defaultval=yes
8429 else
8430 defaultval=no
8431 fi
8432 fi
8433
8434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8435 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8436 # Check whether --enable-stc was given.
8437 if test "${enable_stc+set}" = set; then
8438 enableval=$enable_stc;
8439 if test "$enableval" = yes; then
8440 wx_cv_use_stc='wxUSE_STC=yes'
8441 else
8442 wx_cv_use_stc='wxUSE_STC=no'
8443 fi
8444
8445 else
8446
8447 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8448
8449 fi
8450
8451
8452 eval "$wx_cv_use_stc"
8453
8454 if test x"$enablestring" = xdisable; then
8455 if test $wxUSE_STC = yes; then
8456 result=no
8457 else
8458 result=yes
8459 fi
8460 else
8461 result=$wxUSE_STC
8462 fi
8463
8464 { echo "$as_me:$LINENO: result: $result" >&5
8465 echo "${ECHO_T}$result" >&6; }
8466
8467
8468 enablestring=
8469 defaultval=$wxUSE_ALL_FEATURES
8470 if test -z "$defaultval"; then
8471 if test x"$enablestring" = xdisable; then
8472 defaultval=yes
8473 else
8474 defaultval=no
8475 fi
8476 fi
8477
8478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8479 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8480 # Check whether --enable-constraints was given.
8481 if test "${enable_constraints+set}" = set; then
8482 enableval=$enable_constraints;
8483 if test "$enableval" = yes; then
8484 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8485 else
8486 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8487 fi
8488
8489 else
8490
8491 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8492
8493 fi
8494
8495
8496 eval "$wx_cv_use_constraints"
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_CONSTRAINTS = yes; then
8500 result=no
8501 else
8502 result=yes
8503 fi
8504 else
8505 result=$wxUSE_CONSTRAINTS
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512 enablestring=
8513 defaultval=$wxUSE_ALL_FEATURES
8514 if test -z "$defaultval"; then
8515 if test x"$enablestring" = xdisable; then
8516 defaultval=yes
8517 else
8518 defaultval=no
8519 fi
8520 fi
8521
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8524 # Check whether --enable-printarch was given.
8525 if test "${enable_printarch+set}" = set; then
8526 enableval=$enable_printarch;
8527 if test "$enableval" = yes; then
8528 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8529 else
8530 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8531 fi
8532
8533 else
8534
8535 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8536
8537 fi
8538
8539
8540 eval "$wx_cv_use_printarch"
8541
8542 if test x"$enablestring" = xdisable; then
8543 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8544 result=no
8545 else
8546 result=yes
8547 fi
8548 else
8549 result=$wxUSE_PRINTING_ARCHITECTURE
8550 fi
8551
8552 { echo "$as_me:$LINENO: result: $result" >&5
8553 echo "${ECHO_T}$result" >&6; }
8554
8555
8556 enablestring=
8557 defaultval=$wxUSE_ALL_FEATURES
8558 if test -z "$defaultval"; then
8559 if test x"$enablestring" = xdisable; then
8560 defaultval=yes
8561 else
8562 defaultval=no
8563 fi
8564 fi
8565
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8568 # Check whether --enable-mdi was given.
8569 if test "${enable_mdi+set}" = set; then
8570 enableval=$enable_mdi;
8571 if test "$enableval" = yes; then
8572 wx_cv_use_mdi='wxUSE_MDI=yes'
8573 else
8574 wx_cv_use_mdi='wxUSE_MDI=no'
8575 fi
8576
8577 else
8578
8579 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8580
8581 fi
8582
8583
8584 eval "$wx_cv_use_mdi"
8585
8586 if test x"$enablestring" = xdisable; then
8587 if test $wxUSE_MDI = yes; then
8588 result=no
8589 else
8590 result=yes
8591 fi
8592 else
8593 result=$wxUSE_MDI
8594 fi
8595
8596 { echo "$as_me:$LINENO: result: $result" >&5
8597 echo "${ECHO_T}$result" >&6; }
8598
8599
8600 enablestring=
8601 defaultval=$wxUSE_ALL_FEATURES
8602 if test -z "$defaultval"; then
8603 if test x"$enablestring" = xdisable; then
8604 defaultval=yes
8605 else
8606 defaultval=no
8607 fi
8608 fi
8609
8610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8611 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8612 # Check whether --enable-mdidoc was given.
8613 if test "${enable_mdidoc+set}" = set; then
8614 enableval=$enable_mdidoc;
8615 if test "$enableval" = yes; then
8616 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8617 else
8618 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8619 fi
8620
8621 else
8622
8623 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8624
8625 fi
8626
8627
8628 eval "$wx_cv_use_mdidoc"
8629
8630 if test x"$enablestring" = xdisable; then
8631 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8632 result=no
8633 else
8634 result=yes
8635 fi
8636 else
8637 result=$wxUSE_MDI_ARCHITECTURE
8638 fi
8639
8640 { echo "$as_me:$LINENO: result: $result" >&5
8641 echo "${ECHO_T}$result" >&6; }
8642
8643
8644 enablestring=
8645 defaultval=$wxUSE_ALL_FEATURES
8646 if test -z "$defaultval"; then
8647 if test x"$enablestring" = xdisable; then
8648 defaultval=yes
8649 else
8650 defaultval=no
8651 fi
8652 fi
8653
8654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8656 # Check whether --enable-loggui was given.
8657 if test "${enable_loggui+set}" = set; then
8658 enableval=$enable_loggui;
8659 if test "$enableval" = yes; then
8660 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8661 else
8662 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8663 fi
8664
8665 else
8666
8667 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8668
8669 fi
8670
8671
8672 eval "$wx_cv_use_loggui"
8673
8674 if test x"$enablestring" = xdisable; then
8675 if test $wxUSE_LOGGUI = yes; then
8676 result=no
8677 else
8678 result=yes
8679 fi
8680 else
8681 result=$wxUSE_LOGGUI
8682 fi
8683
8684 { echo "$as_me:$LINENO: result: $result" >&5
8685 echo "${ECHO_T}$result" >&6; }
8686
8687
8688 enablestring=
8689 defaultval=$wxUSE_ALL_FEATURES
8690 if test -z "$defaultval"; then
8691 if test x"$enablestring" = xdisable; then
8692 defaultval=yes
8693 else
8694 defaultval=no
8695 fi
8696 fi
8697
8698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8700 # Check whether --enable-logwin was given.
8701 if test "${enable_logwin+set}" = set; then
8702 enableval=$enable_logwin;
8703 if test "$enableval" = yes; then
8704 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8705 else
8706 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8707 fi
8708
8709 else
8710
8711 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8712
8713 fi
8714
8715
8716 eval "$wx_cv_use_logwin"
8717
8718 if test x"$enablestring" = xdisable; then
8719 if test $wxUSE_LOGWINDOW = yes; then
8720 result=no
8721 else
8722 result=yes
8723 fi
8724 else
8725 result=$wxUSE_LOGWINDOW
8726 fi
8727
8728 { echo "$as_me:$LINENO: result: $result" >&5
8729 echo "${ECHO_T}$result" >&6; }
8730
8731
8732 enablestring=
8733 defaultval=$wxUSE_ALL_FEATURES
8734 if test -z "$defaultval"; then
8735 if test x"$enablestring" = xdisable; then
8736 defaultval=yes
8737 else
8738 defaultval=no
8739 fi
8740 fi
8741
8742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8744 # Check whether --enable-logdialog was given.
8745 if test "${enable_logdialog+set}" = set; then
8746 enableval=$enable_logdialog;
8747 if test "$enableval" = yes; then
8748 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8749 else
8750 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8751 fi
8752
8753 else
8754
8755 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8756
8757 fi
8758
8759
8760 eval "$wx_cv_use_logdialog"
8761
8762 if test x"$enablestring" = xdisable; then
8763 if test $wxUSE_LOGDIALOG = yes; then
8764 result=no
8765 else
8766 result=yes
8767 fi
8768 else
8769 result=$wxUSE_LOGDIALOG
8770 fi
8771
8772 { echo "$as_me:$LINENO: result: $result" >&5
8773 echo "${ECHO_T}$result" >&6; }
8774
8775
8776 enablestring=
8777 defaultval=$wxUSE_ALL_FEATURES
8778 if test -z "$defaultval"; then
8779 if test x"$enablestring" = xdisable; then
8780 defaultval=yes
8781 else
8782 defaultval=no
8783 fi
8784 fi
8785
8786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8787 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8788 # Check whether --enable-webkit was given.
8789 if test "${enable_webkit+set}" = set; then
8790 enableval=$enable_webkit;
8791 if test "$enableval" = yes; then
8792 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8793 else
8794 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8795 fi
8796
8797 else
8798
8799 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8800
8801 fi
8802
8803
8804 eval "$wx_cv_use_webkit"
8805
8806 if test x"$enablestring" = xdisable; then
8807 if test $wxUSE_WEBKIT = yes; then
8808 result=no
8809 else
8810 result=yes
8811 fi
8812 else
8813 result=$wxUSE_WEBKIT
8814 fi
8815
8816 { echo "$as_me:$LINENO: result: $result" >&5
8817 echo "${ECHO_T}$result" >&6; }
8818
8819
8820 enablestring=
8821 defaultval=$wxUSE_ALL_FEATURES
8822 if test -z "$defaultval"; then
8823 if test x"$enablestring" = xdisable; then
8824 defaultval=yes
8825 else
8826 defaultval=no
8827 fi
8828 fi
8829
8830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8831 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8832 # Check whether --enable-richtext was given.
8833 if test "${enable_richtext+set}" = set; then
8834 enableval=$enable_richtext;
8835 if test "$enableval" = yes; then
8836 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8837 else
8838 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8839 fi
8840
8841 else
8842
8843 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8844
8845 fi
8846
8847
8848 eval "$wx_cv_use_richtext"
8849
8850 if test x"$enablestring" = xdisable; then
8851 if test $wxUSE_RICHTEXT = yes; then
8852 result=no
8853 else
8854 result=yes
8855 fi
8856 else
8857 result=$wxUSE_RICHTEXT
8858 fi
8859
8860 { echo "$as_me:$LINENO: result: $result" >&5
8861 echo "${ECHO_T}$result" >&6; }
8862
8863
8864 enablestring=
8865 defaultval=$wxUSE_ALL_FEATURES
8866 if test -z "$defaultval"; then
8867 if test x"$enablestring" = xdisable; then
8868 defaultval=yes
8869 else
8870 defaultval=no
8871 fi
8872 fi
8873
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8876 # Check whether --enable-graphics_ctx was given.
8877 if test "${enable_graphics_ctx+set}" = set; then
8878 enableval=$enable_graphics_ctx;
8879 if test "$enableval" = yes; then
8880 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8881 else
8882 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8883 fi
8884
8885 else
8886
8887 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8888
8889 fi
8890
8891
8892 eval "$wx_cv_use_graphics_ctx"
8893
8894 if test x"$enablestring" = xdisable; then
8895 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8896 result=no
8897 else
8898 result=yes
8899 fi
8900 else
8901 result=$wxUSE_GRAPHICS_CONTEXT
8902 fi
8903
8904 { echo "$as_me:$LINENO: result: $result" >&5
8905 echo "${ECHO_T}$result" >&6; }
8906
8907
8908 enablestring=
8909 defaultval=$wxUSE_ALL_FEATURES
8910 if test -z "$defaultval"; then
8911 if test x"$enablestring" = xdisable; then
8912 defaultval=yes
8913 else
8914 defaultval=no
8915 fi
8916 fi
8917
8918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8919 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8920 # Check whether --enable-postscript was given.
8921 if test "${enable_postscript+set}" = set; then
8922 enableval=$enable_postscript;
8923 if test "$enableval" = yes; then
8924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8925 else
8926 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8927 fi
8928
8929 else
8930
8931 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
8932
8933 fi
8934
8935
8936 eval "$wx_cv_use_postscript"
8937
8938 if test x"$enablestring" = xdisable; then
8939 if test $wxUSE_POSTSCRIPT = yes; then
8940 result=no
8941 else
8942 result=yes
8943 fi
8944 else
8945 result=$wxUSE_POSTSCRIPT
8946 fi
8947
8948 { echo "$as_me:$LINENO: result: $result" >&5
8949 echo "${ECHO_T}$result" >&6; }
8950
8951
8952 enablestring=
8953 defaultval=$wxUSE_ALL_FEATURES
8954 if test -z "$defaultval"; then
8955 if test x"$enablestring" = xdisable; then
8956 defaultval=yes
8957 else
8958 defaultval=no
8959 fi
8960 fi
8961
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
8964 # Check whether --enable-svg was given.
8965 if test "${enable_svg+set}" = set; then
8966 enableval=$enable_svg;
8967 if test "$enableval" = yes; then
8968 wx_cv_use_svg='wxUSE_SVG=yes'
8969 else
8970 wx_cv_use_svg='wxUSE_SVG=no'
8971 fi
8972
8973 else
8974
8975 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
8976
8977 fi
8978
8979
8980 eval "$wx_cv_use_svg"
8981
8982 if test x"$enablestring" = xdisable; then
8983 if test $wxUSE_SVG = yes; then
8984 result=no
8985 else
8986 result=yes
8987 fi
8988 else
8989 result=$wxUSE_SVG
8990 fi
8991
8992 { echo "$as_me:$LINENO: result: $result" >&5
8993 echo "${ECHO_T}$result" >&6; }
8994
8995
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9010 # Check whether --enable-clipboard was given.
9011 if test "${enable_clipboard+set}" = set; then
9012 enableval=$enable_clipboard;
9013 if test "$enableval" = yes; then
9014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9015 else
9016 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9017 fi
9018
9019 else
9020
9021 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9022
9023 fi
9024
9025
9026 eval "$wx_cv_use_clipboard"
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_CLIPBOARD = yes; then
9030 result=no
9031 else
9032 result=yes
9033 fi
9034 else
9035 result=$wxUSE_CLIPBOARD
9036 fi
9037
9038 { echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6; }
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z "$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9054 # Check whether --enable-dnd was given.
9055 if test "${enable_dnd+set}" = set; then
9056 enableval=$enable_dnd;
9057 if test "$enableval" = yes; then
9058 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9059 else
9060 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9061 fi
9062
9063 else
9064
9065 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9066
9067 fi
9068
9069
9070 eval "$wx_cv_use_dnd"
9071
9072 if test x"$enablestring" = xdisable; then
9073 if test $wxUSE_DRAG_AND_DROP = yes; then
9074 result=no
9075 else
9076 result=yes
9077 fi
9078 else
9079 result=$wxUSE_DRAG_AND_DROP
9080 fi
9081
9082 { echo "$as_me:$LINENO: result: $result" >&5
9083 echo "${ECHO_T}$result" >&6; }
9084
9085
9086 enablestring=
9087 defaultval=$wxUSE_ALL_FEATURES
9088 if test -z "$defaultval"; then
9089 if test x"$enablestring" = xdisable; then
9090 defaultval=yes
9091 else
9092 defaultval=no
9093 fi
9094 fi
9095
9096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9098 # Check whether --enable-metafile was given.
9099 if test "${enable_metafile+set}" = set; then
9100 enableval=$enable_metafile;
9101 if test "$enableval" = yes; then
9102 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9103 else
9104 wx_cv_use_metafile='wxUSE_METAFILE=no'
9105 fi
9106
9107 else
9108
9109 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_metafile"
9115
9116 if test x"$enablestring" = xdisable; then
9117 if test $wxUSE_METAFILE = yes; then
9118 result=no
9119 else
9120 result=yes
9121 fi
9122 else
9123 result=$wxUSE_METAFILE
9124 fi
9125
9126 { echo "$as_me:$LINENO: result: $result" >&5
9127 echo "${ECHO_T}$result" >&6; }
9128
9129
9130
9131 DEFAULT_wxUSE_CONTROLS=none
9132
9133 enablestring=disable
9134 defaultval=
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9137 defaultval=yes
9138 else
9139 defaultval=no
9140 fi
9141 fi
9142
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9145 # Check whether --enable-controls was given.
9146 if test "${enable_controls+set}" = set; then
9147 enableval=$enable_controls;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9150 else
9151 wx_cv_use_controls='wxUSE_CONTROLS=no'
9152 fi
9153
9154 else
9155
9156 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9157
9158 fi
9159
9160
9161 eval "$wx_cv_use_controls"
9162
9163 if test x"$enablestring" = xdisable; then
9164 if test $wxUSE_CONTROLS = yes; then
9165 result=no
9166 else
9167 result=yes
9168 fi
9169 else
9170 result=$wxUSE_CONTROLS
9171 fi
9172
9173 { echo "$as_me:$LINENO: result: $result" >&5
9174 echo "${ECHO_T}$result" >&6; }
9175
9176
9177 if test "$wxUSE_CONTROLS" = "yes"; then
9178 DEFAULT_wxUSE_ACCEL=yes
9179 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9180 DEFAULT_wxUSE_BMPBUTTON=yes
9181 DEFAULT_wxUSE_BUTTON=yes
9182 DEFAULT_wxUSE_CALCTRL=yes
9183 DEFAULT_wxUSE_CARET=yes
9184 DEFAULT_wxUSE_COMBOBOX=yes
9185 DEFAULT_wxUSE_CHECKBOX=yes
9186 DEFAULT_wxUSE_CHECKLISTBOX=yes
9187 DEFAULT_wxUSE_CHOICE=yes
9188 DEFAULT_wxUSE_CHOICEBOOK=yes
9189 DEFAULT_wxUSE_COLLPANE=yes
9190 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9191 DEFAULT_wxUSE_COMBOBOX=yes
9192 DEFAULT_wxUSE_DATEPICKCTRL=yes
9193 DEFAULT_wxUSE_DISPLAY=yes
9194 DEFAULT_wxUSE_DETECT_SM=yes
9195 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9196 DEFAULT_wxUSE_FILECTRL=yes
9197 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9198 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9199 DEFAULT_wxUSE_GAUGE=yes
9200 DEFAULT_wxUSE_GRID=yes
9201 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9202 DEFAULT_wxUSE_DATAVIEWCTRL=no
9203 DEFAULT_wxUSE_IMAGLIST=yes
9204 DEFAULT_wxUSE_LISTBOOK=yes
9205 DEFAULT_wxUSE_LISTBOX=yes
9206 DEFAULT_wxUSE_LISTCTRL=yes
9207 DEFAULT_wxUSE_NOTEBOOK=yes
9208 DEFAULT_wxUSE_RADIOBOX=yes
9209 DEFAULT_wxUSE_RADIOBTN=yes
9210 DEFAULT_wxUSE_SASH=yes
9211 DEFAULT_wxUSE_SCROLLBAR=yes
9212 DEFAULT_wxUSE_SEARCHCTRL=yes
9213 DEFAULT_wxUSE_SLIDER=yes
9214 DEFAULT_wxUSE_SPINBTN=yes
9215 DEFAULT_wxUSE_SPINCTRL=yes
9216 DEFAULT_wxUSE_SPLITTER=yes
9217 DEFAULT_wxUSE_STATBMP=yes
9218 DEFAULT_wxUSE_STATBOX=yes
9219 DEFAULT_wxUSE_STATLINE=yes
9220 DEFAULT_wxUSE_STATUSBAR=yes
9221 DEFAULT_wxUSE_TAB_DIALOG=yes
9222 DEFAULT_wxUSE_TOGGLEBTN=yes
9223 DEFAULT_wxUSE_TOOLBAR=yes
9224 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9225 DEFAULT_wxUSE_TOOLTIPS=yes
9226 DEFAULT_wxUSE_TREEBOOK=yes
9227 DEFAULT_wxUSE_TOOLBOOK=yes
9228 DEFAULT_wxUSE_TREECTRL=yes
9229 DEFAULT_wxUSE_POPUPWIN=yes
9230 DEFAULT_wxUSE_TIPWINDOW=yes
9231 elif test "$wxUSE_CONTROLS" = "no"; then
9232 DEFAULT_wxUSE_ACCEL=no
9233 DEFAULT_wxUSE_ANIMATIONCTRL=no
9234 DEFAULT_wxUSE_BMPBUTTON=no
9235 DEFAULT_wxUSE_BUTTON=no
9236 DEFAULT_wxUSE_CALCTRL=no
9237 DEFAULT_wxUSE_CARET=no
9238 DEFAULT_wxUSE_COLLPANE=no
9239 DEFAULT_wxUSE_COMBOBOX=no
9240 DEFAULT_wxUSE_CHECKBOX=no
9241 DEFAULT_wxUSE_CHECKLISTBOX=no
9242 DEFAULT_wxUSE_CHOICE=no
9243 DEFAULT_wxUSE_CHOICEBOOK=no
9244 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9245 DEFAULT_wxUSE_COMBOBOX=no
9246 DEFAULT_wxUSE_DATEPICKCTRL=no
9247 DEFAULT_wxUSE_DISPLAY=no
9248 DEFAULT_wxUSE_DETECT_SM=no
9249 DEFAULT_wxUSE_DIRPICKERCTRL=no
9250 DEFAULT_wxUSE_FILECTRL=no
9251 DEFAULT_wxUSE_FILEPICKERCTRL=no
9252 DEFAULT_wxUSE_FONTPICKERCTRL=no
9253 DEFAULT_wxUSE_GAUGE=no
9254 DEFAULT_wxUSE_GRID=no
9255 DEFAULT_wxUSE_HYPERLINKCTRL=no
9256 DEFAULT_wxUSE_DATAVIEWCTRL=no
9257 DEFAULT_wxUSE_IMAGLIST=no
9258 DEFAULT_wxUSE_LISTBOOK=no
9259 DEFAULT_wxUSE_LISTBOX=no
9260 DEFAULT_wxUSE_LISTCTRL=no
9261 DEFAULT_wxUSE_NOTEBOOK=no
9262 DEFAULT_wxUSE_RADIOBOX=no
9263 DEFAULT_wxUSE_RADIOBTN=no
9264 DEFAULT_wxUSE_SASH=no
9265 DEFAULT_wxUSE_SCROLLBAR=no
9266 DEFAULT_wxUSE_SEARCHCTRL=no
9267 DEFAULT_wxUSE_SLIDER=no
9268 DEFAULT_wxUSE_SPINBTN=no
9269 DEFAULT_wxUSE_SPINCTRL=no
9270 DEFAULT_wxUSE_SPLITTER=no
9271 DEFAULT_wxUSE_STATBMP=no
9272 DEFAULT_wxUSE_STATBOX=no
9273 DEFAULT_wxUSE_STATLINE=no
9274 DEFAULT_wxUSE_STATUSBAR=no
9275 DEFAULT_wxUSE_TAB_DIALOG=no
9276 DEFAULT_wxUSE_TOGGLEBTN=no
9277 DEFAULT_wxUSE_TOOLBAR=no
9278 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9279 DEFAULT_wxUSE_TOOLTIPS=no
9280 DEFAULT_wxUSE_TREEBOOK=no
9281 DEFAULT_wxUSE_TOOLBOOK=no
9282 DEFAULT_wxUSE_TREECTRL=no
9283 DEFAULT_wxUSE_POPUPWIN=no
9284 DEFAULT_wxUSE_TIPWINDOW=no
9285 fi
9286
9287
9288 enablestring=
9289 defaultval=$wxUSE_ALL_FEATURES
9290 if test -z "$defaultval"; then
9291 if test x"$enablestring" = xdisable; then
9292 defaultval=yes
9293 else
9294 defaultval=no
9295 fi
9296 fi
9297
9298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9300 # Check whether --enable-accel was given.
9301 if test "${enable_accel+set}" = set; then
9302 enableval=$enable_accel;
9303 if test "$enableval" = yes; then
9304 wx_cv_use_accel='wxUSE_ACCEL=yes'
9305 else
9306 wx_cv_use_accel='wxUSE_ACCEL=no'
9307 fi
9308
9309 else
9310
9311 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9312
9313 fi
9314
9315
9316 eval "$wx_cv_use_accel"
9317
9318 if test x"$enablestring" = xdisable; then
9319 if test $wxUSE_ACCEL = yes; then
9320 result=no
9321 else
9322 result=yes
9323 fi
9324 else
9325 result=$wxUSE_ACCEL
9326 fi
9327
9328 { echo "$as_me:$LINENO: result: $result" >&5
9329 echo "${ECHO_T}$result" >&6; }
9330
9331
9332 enablestring=
9333 defaultval=$wxUSE_ALL_FEATURES
9334 if test -z "$defaultval"; then
9335 if test x"$enablestring" = xdisable; then
9336 defaultval=yes
9337 else
9338 defaultval=no
9339 fi
9340 fi
9341
9342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9344 # Check whether --enable-animatectrl was given.
9345 if test "${enable_animatectrl+set}" = set; then
9346 enableval=$enable_animatectrl;
9347 if test "$enableval" = yes; then
9348 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9349 else
9350 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9351 fi
9352
9353 else
9354
9355 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9356
9357 fi
9358
9359
9360 eval "$wx_cv_use_animatectrl"
9361
9362 if test x"$enablestring" = xdisable; then
9363 if test $wxUSE_ANIMATIONCTRL = yes; then
9364 result=no
9365 else
9366 result=yes
9367 fi
9368 else
9369 result=$wxUSE_ANIMATIONCTRL
9370 fi
9371
9372 { echo "$as_me:$LINENO: result: $result" >&5
9373 echo "${ECHO_T}$result" >&6; }
9374
9375
9376 enablestring=
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z "$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9380 defaultval=yes
9381 else
9382 defaultval=no
9383 fi
9384 fi
9385
9386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9388 # Check whether --enable-button was given.
9389 if test "${enable_button+set}" = set; then
9390 enableval=$enable_button;
9391 if test "$enableval" = yes; then
9392 wx_cv_use_button='wxUSE_BUTTON=yes'
9393 else
9394 wx_cv_use_button='wxUSE_BUTTON=no'
9395 fi
9396
9397 else
9398
9399 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9400
9401 fi
9402
9403
9404 eval "$wx_cv_use_button"
9405
9406 if test x"$enablestring" = xdisable; then
9407 if test $wxUSE_BUTTON = yes; then
9408 result=no
9409 else
9410 result=yes
9411 fi
9412 else
9413 result=$wxUSE_BUTTON
9414 fi
9415
9416 { echo "$as_me:$LINENO: result: $result" >&5
9417 echo "${ECHO_T}$result" >&6; }
9418
9419
9420 enablestring=
9421 defaultval=$wxUSE_ALL_FEATURES
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9432 # Check whether --enable-bmpbutton was given.
9433 if test "${enable_bmpbutton+set}" = set; then
9434 enableval=$enable_bmpbutton;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9437 else
9438 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9439 fi
9440
9441 else
9442
9443 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_bmpbutton"
9449
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_BMPBUTTON = yes; then
9452 result=no
9453 else
9454 result=yes
9455 fi
9456 else
9457 result=$wxUSE_BMPBUTTON
9458 fi
9459
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9462
9463
9464 enablestring=
9465 defaultval=$wxUSE_ALL_FEATURES
9466 if test -z "$defaultval"; then
9467 if test x"$enablestring" = xdisable; then
9468 defaultval=yes
9469 else
9470 defaultval=no
9471 fi
9472 fi
9473
9474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9476 # Check whether --enable-bmpcombobox was given.
9477 if test "${enable_bmpcombobox+set}" = set; then
9478 enableval=$enable_bmpcombobox;
9479 if test "$enableval" = yes; then
9480 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9481 else
9482 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9483 fi
9484
9485 else
9486
9487 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9488
9489 fi
9490
9491
9492 eval "$wx_cv_use_bmpcombobox"
9493
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9496 result=no
9497 else
9498 result=yes
9499 fi
9500 else
9501 result=$wxUSE_BITMAPCOMBOBOX
9502 fi
9503
9504 { echo "$as_me:$LINENO: result: $result" >&5
9505 echo "${ECHO_T}$result" >&6; }
9506
9507
9508 enablestring=
9509 defaultval=$wxUSE_ALL_FEATURES
9510 if test -z "$defaultval"; then
9511 if test x"$enablestring" = xdisable; then
9512 defaultval=yes
9513 else
9514 defaultval=no
9515 fi
9516 fi
9517
9518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9520 # Check whether --enable-calendar was given.
9521 if test "${enable_calendar+set}" = set; then
9522 enableval=$enable_calendar;
9523 if test "$enableval" = yes; then
9524 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9525 else
9526 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9527 fi
9528
9529 else
9530
9531 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9532
9533 fi
9534
9535
9536 eval "$wx_cv_use_calendar"
9537
9538 if test x"$enablestring" = xdisable; then
9539 if test $wxUSE_CALCTRL = yes; then
9540 result=no
9541 else
9542 result=yes
9543 fi
9544 else
9545 result=$wxUSE_CALCTRL
9546 fi
9547
9548 { echo "$as_me:$LINENO: result: $result" >&5
9549 echo "${ECHO_T}$result" >&6; }
9550
9551
9552 enablestring=
9553 defaultval=$wxUSE_ALL_FEATURES
9554 if test -z "$defaultval"; then
9555 if test x"$enablestring" = xdisable; then
9556 defaultval=yes
9557 else
9558 defaultval=no
9559 fi
9560 fi
9561
9562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9563 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9564 # Check whether --enable-caret was given.
9565 if test "${enable_caret+set}" = set; then
9566 enableval=$enable_caret;
9567 if test "$enableval" = yes; then
9568 wx_cv_use_caret='wxUSE_CARET=yes'
9569 else
9570 wx_cv_use_caret='wxUSE_CARET=no'
9571 fi
9572
9573 else
9574
9575 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9576
9577 fi
9578
9579
9580 eval "$wx_cv_use_caret"
9581
9582 if test x"$enablestring" = xdisable; then
9583 if test $wxUSE_CARET = yes; then
9584 result=no
9585 else
9586 result=yes
9587 fi
9588 else
9589 result=$wxUSE_CARET
9590 fi
9591
9592 { echo "$as_me:$LINENO: result: $result" >&5
9593 echo "${ECHO_T}$result" >&6; }
9594
9595
9596 enablestring=
9597 defaultval=$wxUSE_ALL_FEATURES
9598 if test -z "$defaultval"; then
9599 if test x"$enablestring" = xdisable; then
9600 defaultval=yes
9601 else
9602 defaultval=no
9603 fi
9604 fi
9605
9606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9607 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9608 # Check whether --enable-checkbox was given.
9609 if test "${enable_checkbox+set}" = set; then
9610 enableval=$enable_checkbox;
9611 if test "$enableval" = yes; then
9612 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9613 else
9614 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9615 fi
9616
9617 else
9618
9619 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9620
9621 fi
9622
9623
9624 eval "$wx_cv_use_checkbox"
9625
9626 if test x"$enablestring" = xdisable; then
9627 if test $wxUSE_CHECKBOX = yes; then
9628 result=no
9629 else
9630 result=yes
9631 fi
9632 else
9633 result=$wxUSE_CHECKBOX
9634 fi
9635
9636 { echo "$as_me:$LINENO: result: $result" >&5
9637 echo "${ECHO_T}$result" >&6; }
9638
9639
9640 enablestring=
9641 defaultval=$wxUSE_ALL_FEATURES
9642 if test -z "$defaultval"; then
9643 if test x"$enablestring" = xdisable; then
9644 defaultval=yes
9645 else
9646 defaultval=no
9647 fi
9648 fi
9649
9650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9651 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9652 # Check whether --enable-checklst was given.
9653 if test "${enable_checklst+set}" = set; then
9654 enableval=$enable_checklst;
9655 if test "$enableval" = yes; then
9656 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9657 else
9658 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9659 fi
9660
9661 else
9662
9663 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9664
9665 fi
9666
9667
9668 eval "$wx_cv_use_checklst"
9669
9670 if test x"$enablestring" = xdisable; then
9671 if test $wxUSE_CHECKLST = yes; then
9672 result=no
9673 else
9674 result=yes
9675 fi
9676 else
9677 result=$wxUSE_CHECKLST
9678 fi
9679
9680 { echo "$as_me:$LINENO: result: $result" >&5
9681 echo "${ECHO_T}$result" >&6; }
9682
9683
9684 enablestring=
9685 defaultval=$wxUSE_ALL_FEATURES
9686 if test -z "$defaultval"; then
9687 if test x"$enablestring" = xdisable; then
9688 defaultval=yes
9689 else
9690 defaultval=no
9691 fi
9692 fi
9693
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9696 # Check whether --enable-choice was given.
9697 if test "${enable_choice+set}" = set; then
9698 enableval=$enable_choice;
9699 if test "$enableval" = yes; then
9700 wx_cv_use_choice='wxUSE_CHOICE=yes'
9701 else
9702 wx_cv_use_choice='wxUSE_CHOICE=no'
9703 fi
9704
9705 else
9706
9707 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9708
9709 fi
9710
9711
9712 eval "$wx_cv_use_choice"
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_CHOICE = yes; then
9716 result=no
9717 else
9718 result=yes
9719 fi
9720 else
9721 result=$wxUSE_CHOICE
9722 fi
9723
9724 { echo "$as_me:$LINENO: result: $result" >&5
9725 echo "${ECHO_T}$result" >&6; }
9726
9727
9728 enablestring=
9729 defaultval=$wxUSE_ALL_FEATURES
9730 if test -z "$defaultval"; then
9731 if test x"$enablestring" = xdisable; then
9732 defaultval=yes
9733 else
9734 defaultval=no
9735 fi
9736 fi
9737
9738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9740 # Check whether --enable-choicebook was given.
9741 if test "${enable_choicebook+set}" = set; then
9742 enableval=$enable_choicebook;
9743 if test "$enableval" = yes; then
9744 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9745 else
9746 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9747 fi
9748
9749 else
9750
9751 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9752
9753 fi
9754
9755
9756 eval "$wx_cv_use_choicebook"
9757
9758 if test x"$enablestring" = xdisable; then
9759 if test $wxUSE_CHOICEBOOK = yes; then
9760 result=no
9761 else
9762 result=yes
9763 fi
9764 else
9765 result=$wxUSE_CHOICEBOOK
9766 fi
9767
9768 { echo "$as_me:$LINENO: result: $result" >&5
9769 echo "${ECHO_T}$result" >&6; }
9770
9771
9772 enablestring=
9773 defaultval=$wxUSE_ALL_FEATURES
9774 if test -z "$defaultval"; then
9775 if test x"$enablestring" = xdisable; then
9776 defaultval=yes
9777 else
9778 defaultval=no
9779 fi
9780 fi
9781
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9784 # Check whether --enable-collpane was given.
9785 if test "${enable_collpane+set}" = set; then
9786 enableval=$enable_collpane;
9787 if test "$enableval" = yes; then
9788 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9789 else
9790 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9791 fi
9792
9793 else
9794
9795 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9796
9797 fi
9798
9799
9800 eval "$wx_cv_use_collpane"
9801
9802 if test x"$enablestring" = xdisable; then
9803 if test $wxUSE_COLLPANE = yes; then
9804 result=no
9805 else
9806 result=yes
9807 fi
9808 else
9809 result=$wxUSE_COLLPANE
9810 fi
9811
9812 { echo "$as_me:$LINENO: result: $result" >&5
9813 echo "${ECHO_T}$result" >&6; }
9814
9815
9816 enablestring=
9817 defaultval=$wxUSE_ALL_FEATURES
9818 if test -z "$defaultval"; then
9819 if test x"$enablestring" = xdisable; then
9820 defaultval=yes
9821 else
9822 defaultval=no
9823 fi
9824 fi
9825
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9828 # Check whether --enable-colourpicker was given.
9829 if test "${enable_colourpicker+set}" = set; then
9830 enableval=$enable_colourpicker;
9831 if test "$enableval" = yes; then
9832 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9833 else
9834 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9835 fi
9836
9837 else
9838
9839 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9840
9841 fi
9842
9843
9844 eval "$wx_cv_use_colourpicker"
9845
9846 if test x"$enablestring" = xdisable; then
9847 if test $wxUSE_COLOURPICKERCTRL = yes; then
9848 result=no
9849 else
9850 result=yes
9851 fi
9852 else
9853 result=$wxUSE_COLOURPICKERCTRL
9854 fi
9855
9856 { echo "$as_me:$LINENO: result: $result" >&5
9857 echo "${ECHO_T}$result" >&6; }
9858
9859
9860 enablestring=
9861 defaultval=$wxUSE_ALL_FEATURES
9862 if test -z "$defaultval"; then
9863 if test x"$enablestring" = xdisable; then
9864 defaultval=yes
9865 else
9866 defaultval=no
9867 fi
9868 fi
9869
9870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9871 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9872 # Check whether --enable-combobox was given.
9873 if test "${enable_combobox+set}" = set; then
9874 enableval=$enable_combobox;
9875 if test "$enableval" = yes; then
9876 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9877 else
9878 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9879 fi
9880
9881 else
9882
9883 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9884
9885 fi
9886
9887
9888 eval "$wx_cv_use_combobox"
9889
9890 if test x"$enablestring" = xdisable; then
9891 if test $wxUSE_COMBOBOX = yes; then
9892 result=no
9893 else
9894 result=yes
9895 fi
9896 else
9897 result=$wxUSE_COMBOBOX
9898 fi
9899
9900 { echo "$as_me:$LINENO: result: $result" >&5
9901 echo "${ECHO_T}$result" >&6; }
9902
9903
9904 enablestring=
9905 defaultval=$wxUSE_ALL_FEATURES
9906 if test -z "$defaultval"; then
9907 if test x"$enablestring" = xdisable; then
9908 defaultval=yes
9909 else
9910 defaultval=no
9911 fi
9912 fi
9913
9914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9915 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9916 # Check whether --enable-comboctrl was given.
9917 if test "${enable_comboctrl+set}" = set; then
9918 enableval=$enable_comboctrl;
9919 if test "$enableval" = yes; then
9920 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9921 else
9922 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9923 fi
9924
9925 else
9926
9927 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
9928
9929 fi
9930
9931
9932 eval "$wx_cv_use_comboctrl"
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_COMBOCTRL = yes; then
9936 result=no
9937 else
9938 result=yes
9939 fi
9940 else
9941 result=$wxUSE_COMBOCTRL
9942 fi
9943
9944 { echo "$as_me:$LINENO: result: $result" >&5
9945 echo "${ECHO_T}$result" >&6; }
9946
9947
9948 enablestring=
9949 defaultval=$wxUSE_ALL_FEATURES
9950 if test -z "$defaultval"; then
9951 if test x"$enablestring" = xdisable; then
9952 defaultval=yes
9953 else
9954 defaultval=no
9955 fi
9956 fi
9957
9958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9960 # Check whether --enable-datepick was given.
9961 if test "${enable_datepick+set}" = set; then
9962 enableval=$enable_datepick;
9963 if test "$enableval" = yes; then
9964 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9965 else
9966 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9967 fi
9968
9969 else
9970
9971 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
9972
9973 fi
9974
9975
9976 eval "$wx_cv_use_datepick"
9977
9978 if test x"$enablestring" = xdisable; then
9979 if test $wxUSE_DATEPICKCTRL = yes; then
9980 result=no
9981 else
9982 result=yes
9983 fi
9984 else
9985 result=$wxUSE_DATEPICKCTRL
9986 fi
9987
9988 { echo "$as_me:$LINENO: result: $result" >&5
9989 echo "${ECHO_T}$result" >&6; }
9990
9991
9992 enablestring=
9993 defaultval=$wxUSE_ALL_FEATURES
9994 if test -z "$defaultval"; then
9995 if test x"$enablestring" = xdisable; then
9996 defaultval=yes
9997 else
9998 defaultval=no
9999 fi
10000 fi
10001
10002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10003 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10004 # Check whether --enable-dirpicker was given.
10005 if test "${enable_dirpicker+set}" = set; then
10006 enableval=$enable_dirpicker;
10007 if test "$enableval" = yes; then
10008 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10009 else
10010 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10011 fi
10012
10013 else
10014
10015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10016
10017 fi
10018
10019
10020 eval "$wx_cv_use_dirpicker"
10021
10022 if test x"$enablestring" = xdisable; then
10023 if test $wxUSE_DIRPICKERCTRL = yes; then
10024 result=no
10025 else
10026 result=yes
10027 fi
10028 else
10029 result=$wxUSE_DIRPICKERCTRL
10030 fi
10031
10032 { echo "$as_me:$LINENO: result: $result" >&5
10033 echo "${ECHO_T}$result" >&6; }
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10048 # Check whether --enable-display was given.
10049 if test "${enable_display+set}" = set; then
10050 enableval=$enable_display;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_display='wxUSE_DISPLAY=yes'
10053 else
10054 wx_cv_use_display='wxUSE_DISPLAY=no'
10055 fi
10056
10057 else
10058
10059 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10060
10061 fi
10062
10063
10064 eval "$wx_cv_use_display"
10065
10066 if test x"$enablestring" = xdisable; then
10067 if test $wxUSE_DISPLAY = yes; then
10068 result=no
10069 else
10070 result=yes
10071 fi
10072 else
10073 result=$wxUSE_DISPLAY
10074 fi
10075
10076 { echo "$as_me:$LINENO: result: $result" >&5
10077 echo "${ECHO_T}$result" >&6; }
10078
10079
10080 enablestring=
10081 defaultval=$wxUSE_ALL_FEATURES
10082 if test -z "$defaultval"; then
10083 if test x"$enablestring" = xdisable; then
10084 defaultval=yes
10085 else
10086 defaultval=no
10087 fi
10088 fi
10089
10090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10092 # Check whether --enable-detect_sm was given.
10093 if test "${enable_detect_sm+set}" = set; then
10094 enableval=$enable_detect_sm;
10095 if test "$enableval" = yes; then
10096 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10097 else
10098 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10099 fi
10100
10101 else
10102
10103 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10104
10105 fi
10106
10107
10108 eval "$wx_cv_use_detect_sm"
10109
10110 if test x"$enablestring" = xdisable; then
10111 if test $wxUSE_DETECT_SM = yes; then
10112 result=no
10113 else
10114 result=yes
10115 fi
10116 else
10117 result=$wxUSE_DETECT_SM
10118 fi
10119
10120 { echo "$as_me:$LINENO: result: $result" >&5
10121 echo "${ECHO_T}$result" >&6; }
10122
10123
10124 enablestring=
10125 defaultval=$wxUSE_ALL_FEATURES
10126 if test -z "$defaultval"; then
10127 if test x"$enablestring" = xdisable; then
10128 defaultval=yes
10129 else
10130 defaultval=no
10131 fi
10132 fi
10133
10134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10136 # Check whether --enable-editablebox was given.
10137 if test "${enable_editablebox+set}" = set; then
10138 enableval=$enable_editablebox;
10139 if test "$enableval" = yes; then
10140 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10141 else
10142 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10143 fi
10144
10145 else
10146
10147 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10148
10149 fi
10150
10151
10152 eval "$wx_cv_use_editablebox"
10153
10154 if test x"$enablestring" = xdisable; then
10155 if test $wxUSE_EDITABLELISTBOX = yes; then
10156 result=no
10157 else
10158 result=yes
10159 fi
10160 else
10161 result=$wxUSE_EDITABLELISTBOX
10162 fi
10163
10164 { echo "$as_me:$LINENO: result: $result" >&5
10165 echo "${ECHO_T}$result" >&6; }
10166
10167
10168 enablestring=
10169 defaultval=$wxUSE_ALL_FEATURES
10170 if test -z "$defaultval"; then
10171 if test x"$enablestring" = xdisable; then
10172 defaultval=yes
10173 else
10174 defaultval=no
10175 fi
10176 fi
10177
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10180 # Check whether --enable-filepicker was given.
10181 if test "${enable_filepicker+set}" = set; then
10182 enableval=$enable_filepicker;
10183 if test "$enableval" = yes; then
10184 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10185 else
10186 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10187 fi
10188
10189 else
10190
10191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10192
10193 fi
10194
10195
10196 eval "$wx_cv_use_filepicker"
10197
10198 if test x"$enablestring" = xdisable; then
10199 if test $wxUSE_FILEPICKERCTRL = yes; then
10200 result=no
10201 else
10202 result=yes
10203 fi
10204 else
10205 result=$wxUSE_FILEPICKERCTRL
10206 fi
10207
10208 { echo "$as_me:$LINENO: result: $result" >&5
10209 echo "${ECHO_T}$result" >&6; }
10210
10211
10212 enablestring=
10213 defaultval=$wxUSE_ALL_FEATURES
10214 if test -z "$defaultval"; then
10215 if test x"$enablestring" = xdisable; then
10216 defaultval=yes
10217 else
10218 defaultval=no
10219 fi
10220 fi
10221
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10224 # Check whether --enable-filectrl was given.
10225 if test "${enable_filectrl+set}" = set; then
10226 enableval=$enable_filectrl;
10227 if test "$enableval" = yes; then
10228 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10229 else
10230 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10231 fi
10232
10233 else
10234
10235 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10236
10237 fi
10238
10239
10240 eval "$wx_cv_use_filectrl"
10241
10242 if test x"$enablestring" = xdisable; then
10243 if test $wxUSE_FILECTRL = yes; then
10244 result=no
10245 else
10246 result=yes
10247 fi
10248 else
10249 result=$wxUSE_FILECTRL
10250 fi
10251
10252 { echo "$as_me:$LINENO: result: $result" >&5
10253 echo "${ECHO_T}$result" >&6; }
10254
10255
10256 enablestring=
10257 defaultval=$wxUSE_ALL_FEATURES
10258 if test -z "$defaultval"; then
10259 if test x"$enablestring" = xdisable; then
10260 defaultval=yes
10261 else
10262 defaultval=no
10263 fi
10264 fi
10265
10266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10267 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10268 # Check whether --enable-fontpicker was given.
10269 if test "${enable_fontpicker+set}" = set; then
10270 enableval=$enable_fontpicker;
10271 if test "$enableval" = yes; then
10272 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10273 else
10274 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10275 fi
10276
10277 else
10278
10279 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10280
10281 fi
10282
10283
10284 eval "$wx_cv_use_fontpicker"
10285
10286 if test x"$enablestring" = xdisable; then
10287 if test $wxUSE_FONTPICKERCTRL = yes; then
10288 result=no
10289 else
10290 result=yes
10291 fi
10292 else
10293 result=$wxUSE_FONTPICKERCTRL
10294 fi
10295
10296 { echo "$as_me:$LINENO: result: $result" >&5
10297 echo "${ECHO_T}$result" >&6; }
10298
10299
10300 enablestring=
10301 defaultval=$wxUSE_ALL_FEATURES
10302 if test -z "$defaultval"; then
10303 if test x"$enablestring" = xdisable; then
10304 defaultval=yes
10305 else
10306 defaultval=no
10307 fi
10308 fi
10309
10310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10311 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10312 # Check whether --enable-gauge was given.
10313 if test "${enable_gauge+set}" = set; then
10314 enableval=$enable_gauge;
10315 if test "$enableval" = yes; then
10316 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10317 else
10318 wx_cv_use_gauge='wxUSE_GAUGE=no'
10319 fi
10320
10321 else
10322
10323 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10324
10325 fi
10326
10327
10328 eval "$wx_cv_use_gauge"
10329
10330 if test x"$enablestring" = xdisable; then
10331 if test $wxUSE_GAUGE = yes; then
10332 result=no
10333 else
10334 result=yes
10335 fi
10336 else
10337 result=$wxUSE_GAUGE
10338 fi
10339
10340 { echo "$as_me:$LINENO: result: $result" >&5
10341 echo "${ECHO_T}$result" >&6; }
10342
10343
10344 enablestring=
10345 defaultval=$wxUSE_ALL_FEATURES
10346 if test -z "$defaultval"; then
10347 if test x"$enablestring" = xdisable; then
10348 defaultval=yes
10349 else
10350 defaultval=no
10351 fi
10352 fi
10353
10354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10355 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10356 # Check whether --enable-grid was given.
10357 if test "${enable_grid+set}" = set; then
10358 enableval=$enable_grid;
10359 if test "$enableval" = yes; then
10360 wx_cv_use_grid='wxUSE_GRID=yes'
10361 else
10362 wx_cv_use_grid='wxUSE_GRID=no'
10363 fi
10364
10365 else
10366
10367 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10368
10369 fi
10370
10371
10372 eval "$wx_cv_use_grid"
10373
10374 if test x"$enablestring" = xdisable; then
10375 if test $wxUSE_GRID = yes; then
10376 result=no
10377 else
10378 result=yes
10379 fi
10380 else
10381 result=$wxUSE_GRID
10382 fi
10383
10384 { echo "$as_me:$LINENO: result: $result" >&5
10385 echo "${ECHO_T}$result" >&6; }
10386
10387
10388 enablestring=
10389 defaultval=$wxUSE_ALL_FEATURES
10390 if test -z "$defaultval"; then
10391 if test x"$enablestring" = xdisable; then
10392 defaultval=yes
10393 else
10394 defaultval=no
10395 fi
10396 fi
10397
10398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10399 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10400 # Check whether --enable-dataviewctrl was given.
10401 if test "${enable_dataviewctrl+set}" = set; then
10402 enableval=$enable_dataviewctrl;
10403 if test "$enableval" = yes; then
10404 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10405 else
10406 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10407 fi
10408
10409 else
10410
10411 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10412
10413 fi
10414
10415
10416 eval "$wx_cv_use_dataviewctrl"
10417
10418 if test x"$enablestring" = xdisable; then
10419 if test $wxUSE_DATAVIEWCTRL = yes; then
10420 result=no
10421 else
10422 result=yes
10423 fi
10424 else
10425 result=$wxUSE_DATAVIEWCTRL
10426 fi
10427
10428 { echo "$as_me:$LINENO: result: $result" >&5
10429 echo "${ECHO_T}$result" >&6; }
10430
10431
10432 enablestring=
10433 defaultval=$wxUSE_ALL_FEATURES
10434 if test -z "$defaultval"; then
10435 if test x"$enablestring" = xdisable; then
10436 defaultval=yes
10437 else
10438 defaultval=no
10439 fi
10440 fi
10441
10442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10443 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10444 # Check whether --enable-hyperlink was given.
10445 if test "${enable_hyperlink+set}" = set; then
10446 enableval=$enable_hyperlink;
10447 if test "$enableval" = yes; then
10448 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10449 else
10450 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10451 fi
10452
10453 else
10454
10455 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10456
10457 fi
10458
10459
10460 eval "$wx_cv_use_hyperlink"
10461
10462 if test x"$enablestring" = xdisable; then
10463 if test $wxUSE_HYPERLINKCTRL = yes; then
10464 result=no
10465 else
10466 result=yes
10467 fi
10468 else
10469 result=$wxUSE_HYPERLINKCTRL
10470 fi
10471
10472 { echo "$as_me:$LINENO: result: $result" >&5
10473 echo "${ECHO_T}$result" >&6; }
10474
10475
10476 enablestring=
10477 defaultval=$wxUSE_ALL_FEATURES
10478 if test -z "$defaultval"; then
10479 if test x"$enablestring" = xdisable; then
10480 defaultval=yes
10481 else
10482 defaultval=no
10483 fi
10484 fi
10485
10486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10487 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10488 # Check whether --enable-imaglist was given.
10489 if test "${enable_imaglist+set}" = set; then
10490 enableval=$enable_imaglist;
10491 if test "$enableval" = yes; then
10492 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10493 else
10494 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10495 fi
10496
10497 else
10498
10499 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10500
10501 fi
10502
10503
10504 eval "$wx_cv_use_imaglist"
10505
10506 if test x"$enablestring" = xdisable; then
10507 if test $wxUSE_IMAGLIST = yes; then
10508 result=no
10509 else
10510 result=yes
10511 fi
10512 else
10513 result=$wxUSE_IMAGLIST
10514 fi
10515
10516 { echo "$as_me:$LINENO: result: $result" >&5
10517 echo "${ECHO_T}$result" >&6; }
10518
10519
10520 enablestring=
10521 defaultval=$wxUSE_ALL_FEATURES
10522 if test -z "$defaultval"; then
10523 if test x"$enablestring" = xdisable; then
10524 defaultval=yes
10525 else
10526 defaultval=no
10527 fi
10528 fi
10529
10530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10531 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10532 # Check whether --enable-listbook was given.
10533 if test "${enable_listbook+set}" = set; then
10534 enableval=$enable_listbook;
10535 if test "$enableval" = yes; then
10536 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10537 else
10538 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10539 fi
10540
10541 else
10542
10543 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10544
10545 fi
10546
10547
10548 eval "$wx_cv_use_listbook"
10549
10550 if test x"$enablestring" = xdisable; then
10551 if test $wxUSE_LISTBOOK = yes; then
10552 result=no
10553 else
10554 result=yes
10555 fi
10556 else
10557 result=$wxUSE_LISTBOOK
10558 fi
10559
10560 { echo "$as_me:$LINENO: result: $result" >&5
10561 echo "${ECHO_T}$result" >&6; }
10562
10563
10564 enablestring=
10565 defaultval=$wxUSE_ALL_FEATURES
10566 if test -z "$defaultval"; then
10567 if test x"$enablestring" = xdisable; then
10568 defaultval=yes
10569 else
10570 defaultval=no
10571 fi
10572 fi
10573
10574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10576 # Check whether --enable-listbox was given.
10577 if test "${enable_listbox+set}" = set; then
10578 enableval=$enable_listbox;
10579 if test "$enableval" = yes; then
10580 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10581 else
10582 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10583 fi
10584
10585 else
10586
10587 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10588
10589 fi
10590
10591
10592 eval "$wx_cv_use_listbox"
10593
10594 if test x"$enablestring" = xdisable; then
10595 if test $wxUSE_LISTBOX = yes; then
10596 result=no
10597 else
10598 result=yes
10599 fi
10600 else
10601 result=$wxUSE_LISTBOX
10602 fi
10603
10604 { echo "$as_me:$LINENO: result: $result" >&5
10605 echo "${ECHO_T}$result" >&6; }
10606
10607
10608 enablestring=
10609 defaultval=$wxUSE_ALL_FEATURES
10610 if test -z "$defaultval"; then
10611 if test x"$enablestring" = xdisable; then
10612 defaultval=yes
10613 else
10614 defaultval=no
10615 fi
10616 fi
10617
10618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10620 # Check whether --enable-listctrl was given.
10621 if test "${enable_listctrl+set}" = set; then
10622 enableval=$enable_listctrl;
10623 if test "$enableval" = yes; then
10624 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10625 else
10626 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10627 fi
10628
10629 else
10630
10631 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10632
10633 fi
10634
10635
10636 eval "$wx_cv_use_listctrl"
10637
10638 if test x"$enablestring" = xdisable; then
10639 if test $wxUSE_LISTCTRL = yes; then
10640 result=no
10641 else
10642 result=yes
10643 fi
10644 else
10645 result=$wxUSE_LISTCTRL
10646 fi
10647
10648 { echo "$as_me:$LINENO: result: $result" >&5
10649 echo "${ECHO_T}$result" >&6; }
10650
10651
10652 enablestring=
10653 defaultval=$wxUSE_ALL_FEATURES
10654 if test -z "$defaultval"; then
10655 if test x"$enablestring" = xdisable; then
10656 defaultval=yes
10657 else
10658 defaultval=no
10659 fi
10660 fi
10661
10662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10663 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10664 # Check whether --enable-notebook was given.
10665 if test "${enable_notebook+set}" = set; then
10666 enableval=$enable_notebook;
10667 if test "$enableval" = yes; then
10668 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10669 else
10670 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10671 fi
10672
10673 else
10674
10675 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10676
10677 fi
10678
10679
10680 eval "$wx_cv_use_notebook"
10681
10682 if test x"$enablestring" = xdisable; then
10683 if test $wxUSE_NOTEBOOK = yes; then
10684 result=no
10685 else
10686 result=yes
10687 fi
10688 else
10689 result=$wxUSE_NOTEBOOK
10690 fi
10691
10692 { echo "$as_me:$LINENO: result: $result" >&5
10693 echo "${ECHO_T}$result" >&6; }
10694
10695
10696 enablestring=
10697 defaultval=$wxUSE_ALL_FEATURES
10698 if test -z "$defaultval"; then
10699 if test x"$enablestring" = xdisable; then
10700 defaultval=yes
10701 else
10702 defaultval=no
10703 fi
10704 fi
10705
10706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10708 # Check whether --enable-notifmsg was given.
10709 if test "${enable_notifmsg+set}" = set; then
10710 enableval=$enable_notifmsg;
10711 if test "$enableval" = yes; then
10712 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10713 else
10714 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10715 fi
10716
10717 else
10718
10719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10720
10721 fi
10722
10723
10724 eval "$wx_cv_use_notifmsg"
10725
10726 if test x"$enablestring" = xdisable; then
10727 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10728 result=no
10729 else
10730 result=yes
10731 fi
10732 else
10733 result=$wxUSE_NOTIFICATION_MESSAGE
10734 fi
10735
10736 { echo "$as_me:$LINENO: result: $result" >&5
10737 echo "${ECHO_T}$result" >&6; }
10738
10739
10740 enablestring=
10741 defaultval=$wxUSE_ALL_FEATURES
10742 if test -z "$defaultval"; then
10743 if test x"$enablestring" = xdisable; then
10744 defaultval=yes
10745 else
10746 defaultval=no
10747 fi
10748 fi
10749
10750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10752 # Check whether --enable-odcombobox was given.
10753 if test "${enable_odcombobox+set}" = set; then
10754 enableval=$enable_odcombobox;
10755 if test "$enableval" = yes; then
10756 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10757 else
10758 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10759 fi
10760
10761 else
10762
10763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10764
10765 fi
10766
10767
10768 eval "$wx_cv_use_odcombobox"
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_ODCOMBOBOX = yes; then
10772 result=no
10773 else
10774 result=yes
10775 fi
10776 else
10777 result=$wxUSE_ODCOMBOBOX
10778 fi
10779
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10796 # Check whether --enable-radiobox was given.
10797 if test "${enable_radiobox+set}" = set; then
10798 enableval=$enable_radiobox;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10801 else
10802 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10803 fi
10804
10805 else
10806
10807 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10808
10809 fi
10810
10811
10812 eval "$wx_cv_use_radiobox"
10813
10814 if test x"$enablestring" = xdisable; then
10815 if test $wxUSE_RADIOBOX = yes; then
10816 result=no
10817 else
10818 result=yes
10819 fi
10820 else
10821 result=$wxUSE_RADIOBOX
10822 fi
10823
10824 { echo "$as_me:$LINENO: result: $result" >&5
10825 echo "${ECHO_T}$result" >&6; }
10826
10827
10828 enablestring=
10829 defaultval=$wxUSE_ALL_FEATURES
10830 if test -z "$defaultval"; then
10831 if test x"$enablestring" = xdisable; then
10832 defaultval=yes
10833 else
10834 defaultval=no
10835 fi
10836 fi
10837
10838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10839 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10840 # Check whether --enable-radiobtn was given.
10841 if test "${enable_radiobtn+set}" = set; then
10842 enableval=$enable_radiobtn;
10843 if test "$enableval" = yes; then
10844 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10845 else
10846 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10847 fi
10848
10849 else
10850
10851 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10852
10853 fi
10854
10855
10856 eval "$wx_cv_use_radiobtn"
10857
10858 if test x"$enablestring" = xdisable; then
10859 if test $wxUSE_RADIOBTN = yes; then
10860 result=no
10861 else
10862 result=yes
10863 fi
10864 else
10865 result=$wxUSE_RADIOBTN
10866 fi
10867
10868 { echo "$as_me:$LINENO: result: $result" >&5
10869 echo "${ECHO_T}$result" >&6; }
10870
10871
10872 enablestring=
10873 defaultval=$wxUSE_ALL_FEATURES
10874 if test -z "$defaultval"; then
10875 if test x"$enablestring" = xdisable; then
10876 defaultval=yes
10877 else
10878 defaultval=no
10879 fi
10880 fi
10881
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10884 # Check whether --enable-sash was given.
10885 if test "${enable_sash+set}" = set; then
10886 enableval=$enable_sash;
10887 if test "$enableval" = yes; then
10888 wx_cv_use_sash='wxUSE_SASH=yes'
10889 else
10890 wx_cv_use_sash='wxUSE_SASH=no'
10891 fi
10892
10893 else
10894
10895 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10896
10897 fi
10898
10899
10900 eval "$wx_cv_use_sash"
10901
10902 if test x"$enablestring" = xdisable; then
10903 if test $wxUSE_SASH = yes; then
10904 result=no
10905 else
10906 result=yes
10907 fi
10908 else
10909 result=$wxUSE_SASH
10910 fi
10911
10912 { echo "$as_me:$LINENO: result: $result" >&5
10913 echo "${ECHO_T}$result" >&6; }
10914
10915
10916 enablestring=
10917 defaultval=$wxUSE_ALL_FEATURES
10918 if test -z "$defaultval"; then
10919 if test x"$enablestring" = xdisable; then
10920 defaultval=yes
10921 else
10922 defaultval=no
10923 fi
10924 fi
10925
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10928 # Check whether --enable-scrollbar was given.
10929 if test "${enable_scrollbar+set}" = set; then
10930 enableval=$enable_scrollbar;
10931 if test "$enableval" = yes; then
10932 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10933 else
10934 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10935 fi
10936
10937 else
10938
10939 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
10940
10941 fi
10942
10943
10944 eval "$wx_cv_use_scrollbar"
10945
10946 if test x"$enablestring" = xdisable; then
10947 if test $wxUSE_SCROLLBAR = yes; then
10948 result=no
10949 else
10950 result=yes
10951 fi
10952 else
10953 result=$wxUSE_SCROLLBAR
10954 fi
10955
10956 { echo "$as_me:$LINENO: result: $result" >&5
10957 echo "${ECHO_T}$result" >&6; }
10958
10959
10960 enablestring=
10961 defaultval=$wxUSE_ALL_FEATURES
10962 if test -z "$defaultval"; then
10963 if test x"$enablestring" = xdisable; then
10964 defaultval=yes
10965 else
10966 defaultval=no
10967 fi
10968 fi
10969
10970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10971 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10972 # Check whether --enable-searchctrl was given.
10973 if test "${enable_searchctrl+set}" = set; then
10974 enableval=$enable_searchctrl;
10975 if test "$enableval" = yes; then
10976 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10977 else
10978 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10979 fi
10980
10981 else
10982
10983 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
10984
10985 fi
10986
10987
10988 eval "$wx_cv_use_searchctrl"
10989
10990 if test x"$enablestring" = xdisable; then
10991 if test $wxUSE_SEARCHCTRL = yes; then
10992 result=no
10993 else
10994 result=yes
10995 fi
10996 else
10997 result=$wxUSE_SEARCHCTRL
10998 fi
10999
11000 { echo "$as_me:$LINENO: result: $result" >&5
11001 echo "${ECHO_T}$result" >&6; }
11002
11003
11004 enablestring=
11005 defaultval=$wxUSE_ALL_FEATURES
11006 if test -z "$defaultval"; then
11007 if test x"$enablestring" = xdisable; then
11008 defaultval=yes
11009 else
11010 defaultval=no
11011 fi
11012 fi
11013
11014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11016 # Check whether --enable-slider was given.
11017 if test "${enable_slider+set}" = set; then
11018 enableval=$enable_slider;
11019 if test "$enableval" = yes; then
11020 wx_cv_use_slider='wxUSE_SLIDER=yes'
11021 else
11022 wx_cv_use_slider='wxUSE_SLIDER=no'
11023 fi
11024
11025 else
11026
11027 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11028
11029 fi
11030
11031
11032 eval "$wx_cv_use_slider"
11033
11034 if test x"$enablestring" = xdisable; then
11035 if test $wxUSE_SLIDER = yes; then
11036 result=no
11037 else
11038 result=yes
11039 fi
11040 else
11041 result=$wxUSE_SLIDER
11042 fi
11043
11044 { echo "$as_me:$LINENO: result: $result" >&5
11045 echo "${ECHO_T}$result" >&6; }
11046
11047
11048 enablestring=
11049 defaultval=$wxUSE_ALL_FEATURES
11050 if test -z "$defaultval"; then
11051 if test x"$enablestring" = xdisable; then
11052 defaultval=yes
11053 else
11054 defaultval=no
11055 fi
11056 fi
11057
11058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11060 # Check whether --enable-spinbtn was given.
11061 if test "${enable_spinbtn+set}" = set; then
11062 enableval=$enable_spinbtn;
11063 if test "$enableval" = yes; then
11064 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11065 else
11066 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11067 fi
11068
11069 else
11070
11071 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11072
11073 fi
11074
11075
11076 eval "$wx_cv_use_spinbtn"
11077
11078 if test x"$enablestring" = xdisable; then
11079 if test $wxUSE_SPINBTN = yes; then
11080 result=no
11081 else
11082 result=yes
11083 fi
11084 else
11085 result=$wxUSE_SPINBTN
11086 fi
11087
11088 { echo "$as_me:$LINENO: result: $result" >&5
11089 echo "${ECHO_T}$result" >&6; }
11090
11091
11092 enablestring=
11093 defaultval=$wxUSE_ALL_FEATURES
11094 if test -z "$defaultval"; then
11095 if test x"$enablestring" = xdisable; then
11096 defaultval=yes
11097 else
11098 defaultval=no
11099 fi
11100 fi
11101
11102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11104 # Check whether --enable-spinctrl was given.
11105 if test "${enable_spinctrl+set}" = set; then
11106 enableval=$enable_spinctrl;
11107 if test "$enableval" = yes; then
11108 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11109 else
11110 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11111 fi
11112
11113 else
11114
11115 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11116
11117 fi
11118
11119
11120 eval "$wx_cv_use_spinctrl"
11121
11122 if test x"$enablestring" = xdisable; then
11123 if test $wxUSE_SPINCTRL = yes; then
11124 result=no
11125 else
11126 result=yes
11127 fi
11128 else
11129 result=$wxUSE_SPINCTRL
11130 fi
11131
11132 { echo "$as_me:$LINENO: result: $result" >&5
11133 echo "${ECHO_T}$result" >&6; }
11134
11135
11136 enablestring=
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11140 defaultval=yes
11141 else
11142 defaultval=no
11143 fi
11144 fi
11145
11146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11147 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11148 # Check whether --enable-splitter was given.
11149 if test "${enable_splitter+set}" = set; then
11150 enableval=$enable_splitter;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11153 else
11154 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11155 fi
11156
11157 else
11158
11159 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11160
11161 fi
11162
11163
11164 eval "$wx_cv_use_splitter"
11165
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_SPLITTER = yes; then
11168 result=no
11169 else
11170 result=yes
11171 fi
11172 else
11173 result=$wxUSE_SPLITTER
11174 fi
11175
11176 { echo "$as_me:$LINENO: result: $result" >&5
11177 echo "${ECHO_T}$result" >&6; }
11178
11179
11180 enablestring=
11181 defaultval=$wxUSE_ALL_FEATURES
11182 if test -z "$defaultval"; then
11183 if test x"$enablestring" = xdisable; then
11184 defaultval=yes
11185 else
11186 defaultval=no
11187 fi
11188 fi
11189
11190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11191 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11192 # Check whether --enable-statbmp was given.
11193 if test "${enable_statbmp+set}" = set; then
11194 enableval=$enable_statbmp;
11195 if test "$enableval" = yes; then
11196 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11197 else
11198 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11199 fi
11200
11201 else
11202
11203 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11204
11205 fi
11206
11207
11208 eval "$wx_cv_use_statbmp"
11209
11210 if test x"$enablestring" = xdisable; then
11211 if test $wxUSE_STATBMP = yes; then
11212 result=no
11213 else
11214 result=yes
11215 fi
11216 else
11217 result=$wxUSE_STATBMP
11218 fi
11219
11220 { echo "$as_me:$LINENO: result: $result" >&5
11221 echo "${ECHO_T}$result" >&6; }
11222
11223
11224 enablestring=
11225 defaultval=$wxUSE_ALL_FEATURES
11226 if test -z "$defaultval"; then
11227 if test x"$enablestring" = xdisable; then
11228 defaultval=yes
11229 else
11230 defaultval=no
11231 fi
11232 fi
11233
11234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11235 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11236 # Check whether --enable-statbox was given.
11237 if test "${enable_statbox+set}" = set; then
11238 enableval=$enable_statbox;
11239 if test "$enableval" = yes; then
11240 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11241 else
11242 wx_cv_use_statbox='wxUSE_STATBOX=no'
11243 fi
11244
11245 else
11246
11247 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11248
11249 fi
11250
11251
11252 eval "$wx_cv_use_statbox"
11253
11254 if test x"$enablestring" = xdisable; then
11255 if test $wxUSE_STATBOX = yes; then
11256 result=no
11257 else
11258 result=yes
11259 fi
11260 else
11261 result=$wxUSE_STATBOX
11262 fi
11263
11264 { echo "$as_me:$LINENO: result: $result" >&5
11265 echo "${ECHO_T}$result" >&6; }
11266
11267
11268 enablestring=
11269 defaultval=$wxUSE_ALL_FEATURES
11270 if test -z "$defaultval"; then
11271 if test x"$enablestring" = xdisable; then
11272 defaultval=yes
11273 else
11274 defaultval=no
11275 fi
11276 fi
11277
11278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11279 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11280 # Check whether --enable-statline was given.
11281 if test "${enable_statline+set}" = set; then
11282 enableval=$enable_statline;
11283 if test "$enableval" = yes; then
11284 wx_cv_use_statline='wxUSE_STATLINE=yes'
11285 else
11286 wx_cv_use_statline='wxUSE_STATLINE=no'
11287 fi
11288
11289 else
11290
11291 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11292
11293 fi
11294
11295
11296 eval "$wx_cv_use_statline"
11297
11298 if test x"$enablestring" = xdisable; then
11299 if test $wxUSE_STATLINE = yes; then
11300 result=no
11301 else
11302 result=yes
11303 fi
11304 else
11305 result=$wxUSE_STATLINE
11306 fi
11307
11308 { echo "$as_me:$LINENO: result: $result" >&5
11309 echo "${ECHO_T}$result" >&6; }
11310
11311
11312 enablestring=
11313 defaultval=$wxUSE_ALL_FEATURES
11314 if test -z "$defaultval"; then
11315 if test x"$enablestring" = xdisable; then
11316 defaultval=yes
11317 else
11318 defaultval=no
11319 fi
11320 fi
11321
11322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11324 # Check whether --enable-stattext was given.
11325 if test "${enable_stattext+set}" = set; then
11326 enableval=$enable_stattext;
11327 if test "$enableval" = yes; then
11328 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11329 else
11330 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11331 fi
11332
11333 else
11334
11335 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11336
11337 fi
11338
11339
11340 eval "$wx_cv_use_stattext"
11341
11342 if test x"$enablestring" = xdisable; then
11343 if test $wxUSE_STATTEXT = yes; then
11344 result=no
11345 else
11346 result=yes
11347 fi
11348 else
11349 result=$wxUSE_STATTEXT
11350 fi
11351
11352 { echo "$as_me:$LINENO: result: $result" >&5
11353 echo "${ECHO_T}$result" >&6; }
11354
11355
11356 enablestring=
11357 defaultval=$wxUSE_ALL_FEATURES
11358 if test -z "$defaultval"; then
11359 if test x"$enablestring" = xdisable; then
11360 defaultval=yes
11361 else
11362 defaultval=no
11363 fi
11364 fi
11365
11366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11367 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11368 # Check whether --enable-statusbar was given.
11369 if test "${enable_statusbar+set}" = set; then
11370 enableval=$enable_statusbar;
11371 if test "$enableval" = yes; then
11372 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11373 else
11374 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11375 fi
11376
11377 else
11378
11379 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11380
11381 fi
11382
11383
11384 eval "$wx_cv_use_statusbar"
11385
11386 if test x"$enablestring" = xdisable; then
11387 if test $wxUSE_STATUSBAR = yes; then
11388 result=no
11389 else
11390 result=yes
11391 fi
11392 else
11393 result=$wxUSE_STATUSBAR
11394 fi
11395
11396 { echo "$as_me:$LINENO: result: $result" >&5
11397 echo "${ECHO_T}$result" >&6; }
11398
11399
11400 enablestring=
11401 defaultval=$wxUSE_ALL_FEATURES
11402 if test -z "$defaultval"; then
11403 if test x"$enablestring" = xdisable; then
11404 defaultval=yes
11405 else
11406 defaultval=no
11407 fi
11408 fi
11409
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11412 # Check whether --enable-tabdialog was given.
11413 if test "${enable_tabdialog+set}" = set; then
11414 enableval=$enable_tabdialog;
11415 if test "$enableval" = yes; then
11416 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11417 else
11418 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11419 fi
11420
11421 else
11422
11423 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11424
11425 fi
11426
11427
11428 eval "$wx_cv_use_tabdialog"
11429
11430 if test x"$enablestring" = xdisable; then
11431 if test $wxUSE_TAB_DIALOG = yes; then
11432 result=no
11433 else
11434 result=yes
11435 fi
11436 else
11437 result=$wxUSE_TAB_DIALOG
11438 fi
11439
11440 { echo "$as_me:$LINENO: result: $result" >&5
11441 echo "${ECHO_T}$result" >&6; }
11442
11443
11444 enablestring=
11445 defaultval=$wxUSE_ALL_FEATURES
11446 if test -z "$defaultval"; then
11447 if test x"$enablestring" = xdisable; then
11448 defaultval=yes
11449 else
11450 defaultval=no
11451 fi
11452 fi
11453
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11456 # Check whether --enable-taskbaricon was given.
11457 if test "${enable_taskbaricon+set}" = set; then
11458 enableval=$enable_taskbaricon;
11459 if test "$enableval" = yes; then
11460 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11461 else
11462 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11463 fi
11464
11465 else
11466
11467 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11468
11469 fi
11470
11471
11472 eval "$wx_cv_use_taskbaricon"
11473
11474 if test x"$enablestring" = xdisable; then
11475 if test $wxUSE_TASKBARICON = yes; then
11476 result=no
11477 else
11478 result=yes
11479 fi
11480 else
11481 result=$wxUSE_TASKBARICON
11482 fi
11483
11484 { echo "$as_me:$LINENO: result: $result" >&5
11485 echo "${ECHO_T}$result" >&6; }
11486
11487
11488 enablestring=
11489 defaultval=$wxUSE_ALL_FEATURES
11490 if test -z "$defaultval"; then
11491 if test x"$enablestring" = xdisable; then
11492 defaultval=yes
11493 else
11494 defaultval=no
11495 fi
11496 fi
11497
11498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11499 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11500 # Check whether --enable-textctrl was given.
11501 if test "${enable_textctrl+set}" = set; then
11502 enableval=$enable_textctrl;
11503 if test "$enableval" = yes; then
11504 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11505 else
11506 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11507 fi
11508
11509 else
11510
11511 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11512
11513 fi
11514
11515
11516 eval "$wx_cv_use_textctrl"
11517
11518 if test x"$enablestring" = xdisable; then
11519 if test $wxUSE_TEXTCTRL = yes; then
11520 result=no
11521 else
11522 result=yes
11523 fi
11524 else
11525 result=$wxUSE_TEXTCTRL
11526 fi
11527
11528 { echo "$as_me:$LINENO: result: $result" >&5
11529 echo "${ECHO_T}$result" >&6; }
11530
11531
11532 enablestring=
11533 defaultval=$wxUSE_ALL_FEATURES
11534 if test -z "$defaultval"; then
11535 if test x"$enablestring" = xdisable; then
11536 defaultval=yes
11537 else
11538 defaultval=no
11539 fi
11540 fi
11541
11542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11543 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11544 # Check whether --enable-togglebtn was given.
11545 if test "${enable_togglebtn+set}" = set; then
11546 enableval=$enable_togglebtn;
11547 if test "$enableval" = yes; then
11548 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11549 else
11550 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11551 fi
11552
11553 else
11554
11555 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_togglebtn"
11561
11562 if test x"$enablestring" = xdisable; then
11563 if test $wxUSE_TOGGLEBTN = yes; then
11564 result=no
11565 else
11566 result=yes
11567 fi
11568 else
11569 result=$wxUSE_TOGGLEBTN
11570 fi
11571
11572 { echo "$as_me:$LINENO: result: $result" >&5
11573 echo "${ECHO_T}$result" >&6; }
11574
11575
11576 enablestring=
11577 defaultval=$wxUSE_ALL_FEATURES
11578 if test -z "$defaultval"; then
11579 if test x"$enablestring" = xdisable; then
11580 defaultval=yes
11581 else
11582 defaultval=no
11583 fi
11584 fi
11585
11586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11587 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11588 # Check whether --enable-toolbar was given.
11589 if test "${enable_toolbar+set}" = set; then
11590 enableval=$enable_toolbar;
11591 if test "$enableval" = yes; then
11592 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11593 else
11594 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11595 fi
11596
11597 else
11598
11599 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11600
11601 fi
11602
11603
11604 eval "$wx_cv_use_toolbar"
11605
11606 if test x"$enablestring" = xdisable; then
11607 if test $wxUSE_TOOLBAR = yes; then
11608 result=no
11609 else
11610 result=yes
11611 fi
11612 else
11613 result=$wxUSE_TOOLBAR
11614 fi
11615
11616 { echo "$as_me:$LINENO: result: $result" >&5
11617 echo "${ECHO_T}$result" >&6; }
11618
11619
11620 enablestring=
11621 defaultval=$wxUSE_ALL_FEATURES
11622 if test -z "$defaultval"; then
11623 if test x"$enablestring" = xdisable; then
11624 defaultval=yes
11625 else
11626 defaultval=no
11627 fi
11628 fi
11629
11630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11631 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11632 # Check whether --enable-tbarnative was given.
11633 if test "${enable_tbarnative+set}" = set; then
11634 enableval=$enable_tbarnative;
11635 if test "$enableval" = yes; then
11636 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11637 else
11638 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11639 fi
11640
11641 else
11642
11643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11644
11645 fi
11646
11647
11648 eval "$wx_cv_use_tbarnative"
11649
11650 if test x"$enablestring" = xdisable; then
11651 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11652 result=no
11653 else
11654 result=yes
11655 fi
11656 else
11657 result=$wxUSE_TOOLBAR_NATIVE
11658 fi
11659
11660 { echo "$as_me:$LINENO: result: $result" >&5
11661 echo "${ECHO_T}$result" >&6; }
11662
11663
11664 enablestring=
11665 defaultval=$wxUSE_ALL_FEATURES
11666 if test -z "$defaultval"; then
11667 if test x"$enablestring" = xdisable; then
11668 defaultval=yes
11669 else
11670 defaultval=no
11671 fi
11672 fi
11673
11674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11675 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11676 # Check whether --enable-treebook was given.
11677 if test "${enable_treebook+set}" = set; then
11678 enableval=$enable_treebook;
11679 if test "$enableval" = yes; then
11680 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11681 else
11682 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11683 fi
11684
11685 else
11686
11687 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11688
11689 fi
11690
11691
11692 eval "$wx_cv_use_treebook"
11693
11694 if test x"$enablestring" = xdisable; then
11695 if test $wxUSE_TREEBOOK = yes; then
11696 result=no
11697 else
11698 result=yes
11699 fi
11700 else
11701 result=$wxUSE_TREEBOOK
11702 fi
11703
11704 { echo "$as_me:$LINENO: result: $result" >&5
11705 echo "${ECHO_T}$result" >&6; }
11706
11707
11708 enablestring=
11709 defaultval=$wxUSE_ALL_FEATURES
11710 if test -z "$defaultval"; then
11711 if test x"$enablestring" = xdisable; then
11712 defaultval=yes
11713 else
11714 defaultval=no
11715 fi
11716 fi
11717
11718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11720 # Check whether --enable-toolbook was given.
11721 if test "${enable_toolbook+set}" = set; then
11722 enableval=$enable_toolbook;
11723 if test "$enableval" = yes; then
11724 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11725 else
11726 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11727 fi
11728
11729 else
11730
11731 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11732
11733 fi
11734
11735
11736 eval "$wx_cv_use_toolbook"
11737
11738 if test x"$enablestring" = xdisable; then
11739 if test $wxUSE_TOOLBOOK = yes; then
11740 result=no
11741 else
11742 result=yes
11743 fi
11744 else
11745 result=$wxUSE_TOOLBOOK
11746 fi
11747
11748 { echo "$as_me:$LINENO: result: $result" >&5
11749 echo "${ECHO_T}$result" >&6; }
11750
11751
11752 enablestring=
11753 defaultval=$wxUSE_ALL_FEATURES
11754 if test -z "$defaultval"; then
11755 if test x"$enablestring" = xdisable; then
11756 defaultval=yes
11757 else
11758 defaultval=no
11759 fi
11760 fi
11761
11762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11763 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11764 # Check whether --enable-treectrl was given.
11765 if test "${enable_treectrl+set}" = set; then
11766 enableval=$enable_treectrl;
11767 if test "$enableval" = yes; then
11768 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11769 else
11770 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11771 fi
11772
11773 else
11774
11775 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11776
11777 fi
11778
11779
11780 eval "$wx_cv_use_treectrl"
11781
11782 if test x"$enablestring" = xdisable; then
11783 if test $wxUSE_TREECTRL = yes; then
11784 result=no
11785 else
11786 result=yes
11787 fi
11788 else
11789 result=$wxUSE_TREECTRL
11790 fi
11791
11792 { echo "$as_me:$LINENO: result: $result" >&5
11793 echo "${ECHO_T}$result" >&6; }
11794
11795
11796 enablestring=
11797 defaultval=$wxUSE_ALL_FEATURES
11798 if test -z "$defaultval"; then
11799 if test x"$enablestring" = xdisable; then
11800 defaultval=yes
11801 else
11802 defaultval=no
11803 fi
11804 fi
11805
11806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11807 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11808 # Check whether --enable-tipwindow was given.
11809 if test "${enable_tipwindow+set}" = set; then
11810 enableval=$enable_tipwindow;
11811 if test "$enableval" = yes; then
11812 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11813 else
11814 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11815 fi
11816
11817 else
11818
11819 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11820
11821 fi
11822
11823
11824 eval "$wx_cv_use_tipwindow"
11825
11826 if test x"$enablestring" = xdisable; then
11827 if test $wxUSE_TIPWINDOW = yes; then
11828 result=no
11829 else
11830 result=yes
11831 fi
11832 else
11833 result=$wxUSE_TIPWINDOW
11834 fi
11835
11836 { echo "$as_me:$LINENO: result: $result" >&5
11837 echo "${ECHO_T}$result" >&6; }
11838
11839
11840 enablestring=
11841 defaultval=$wxUSE_ALL_FEATURES
11842 if test -z "$defaultval"; then
11843 if test x"$enablestring" = xdisable; then
11844 defaultval=yes
11845 else
11846 defaultval=no
11847 fi
11848 fi
11849
11850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11851 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11852 # Check whether --enable-popupwin was given.
11853 if test "${enable_popupwin+set}" = set; then
11854 enableval=$enable_popupwin;
11855 if test "$enableval" = yes; then
11856 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11857 else
11858 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11859 fi
11860
11861 else
11862
11863 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11864
11865 fi
11866
11867
11868 eval "$wx_cv_use_popupwin"
11869
11870 if test x"$enablestring" = xdisable; then
11871 if test $wxUSE_POPUPWIN = yes; then
11872 result=no
11873 else
11874 result=yes
11875 fi
11876 else
11877 result=$wxUSE_POPUPWIN
11878 fi
11879
11880 { echo "$as_me:$LINENO: result: $result" >&5
11881 echo "${ECHO_T}$result" >&6; }
11882
11883
11884
11885
11886 enablestring=
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11890 defaultval=yes
11891 else
11892 defaultval=no
11893 fi
11894 fi
11895
11896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11898 # Check whether --enable-commondlg was given.
11899 if test "${enable_commondlg+set}" = set; then
11900 enableval=$enable_commondlg;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11903 else
11904 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11905 fi
11906
11907 else
11908
11909 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
11910
11911 fi
11912
11913
11914 eval "$wx_cv_use_commondlg"
11915
11916 if test x"$enablestring" = xdisable; then
11917 if test $wxUSE_COMMONDLGS = yes; then
11918 result=no
11919 else
11920 result=yes
11921 fi
11922 else
11923 result=$wxUSE_COMMONDLGS
11924 fi
11925
11926 { echo "$as_me:$LINENO: result: $result" >&5
11927 echo "${ECHO_T}$result" >&6; }
11928
11929
11930 enablestring=
11931 defaultval=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x"$enablestring" = xdisable; then
11934 defaultval=yes
11935 else
11936 defaultval=no
11937 fi
11938 fi
11939
11940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11941 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11942 # Check whether --enable-aboutdlg was given.
11943 if test "${enable_aboutdlg+set}" = set; then
11944 enableval=$enable_aboutdlg;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11947 else
11948 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11949 fi
11950
11951 else
11952
11953 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
11954
11955 fi
11956
11957
11958 eval "$wx_cv_use_aboutdlg"
11959
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_ABOUTDLG = yes; then
11962 result=no
11963 else
11964 result=yes
11965 fi
11966 else
11967 result=$wxUSE_ABOUTDLG
11968 fi
11969
11970 { echo "$as_me:$LINENO: result: $result" >&5
11971 echo "${ECHO_T}$result" >&6; }
11972
11973
11974 enablestring=
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11978 defaultval=yes
11979 else
11980 defaultval=no
11981 fi
11982 fi
11983
11984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11986 # Check whether --enable-choicedlg was given.
11987 if test "${enable_choicedlg+set}" = set; then
11988 enableval=$enable_choicedlg;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11991 else
11992 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11993 fi
11994
11995 else
11996
11997 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
11998
11999 fi
12000
12001
12002 eval "$wx_cv_use_choicedlg"
12003
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_CHOICEDLG = yes; then
12006 result=no
12007 else
12008 result=yes
12009 fi
12010 else
12011 result=$wxUSE_CHOICEDLG
12012 fi
12013
12014 { echo "$as_me:$LINENO: result: $result" >&5
12015 echo "${ECHO_T}$result" >&6; }
12016
12017
12018 enablestring=
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12022 defaultval=yes
12023 else
12024 defaultval=no
12025 fi
12026 fi
12027
12028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12029 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12030 # Check whether --enable-coldlg was given.
12031 if test "${enable_coldlg+set}" = set; then
12032 enableval=$enable_coldlg;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12035 else
12036 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12037 fi
12038
12039 else
12040
12041 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12042
12043 fi
12044
12045
12046 eval "$wx_cv_use_coldlg"
12047
12048 if test x"$enablestring" = xdisable; then
12049 if test $wxUSE_COLOURDLG = yes; then
12050 result=no
12051 else
12052 result=yes
12053 fi
12054 else
12055 result=$wxUSE_COLOURDLG
12056 fi
12057
12058 { echo "$as_me:$LINENO: result: $result" >&5
12059 echo "${ECHO_T}$result" >&6; }
12060
12061
12062 enablestring=
12063 defaultval=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x"$enablestring" = xdisable; then
12066 defaultval=yes
12067 else
12068 defaultval=no
12069 fi
12070 fi
12071
12072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12073 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12074 # Check whether --enable-filedlg was given.
12075 if test "${enable_filedlg+set}" = set; then
12076 enableval=$enable_filedlg;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12079 else
12080 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12081 fi
12082
12083 else
12084
12085 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12086
12087 fi
12088
12089
12090 eval "$wx_cv_use_filedlg"
12091
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_FILEDLG = yes; then
12094 result=no
12095 else
12096 result=yes
12097 fi
12098 else
12099 result=$wxUSE_FILEDLG
12100 fi
12101
12102 { echo "$as_me:$LINENO: result: $result" >&5
12103 echo "${ECHO_T}$result" >&6; }
12104
12105
12106 enablestring=
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12110 defaultval=yes
12111 else
12112 defaultval=no
12113 fi
12114 fi
12115
12116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12117 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12118 # Check whether --enable-finddlg was given.
12119 if test "${enable_finddlg+set}" = set; then
12120 enableval=$enable_finddlg;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12123 else
12124 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12125 fi
12126
12127 else
12128
12129 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12130
12131 fi
12132
12133
12134 eval "$wx_cv_use_finddlg"
12135
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_FINDREPLDLG = yes; then
12138 result=no
12139 else
12140 result=yes
12141 fi
12142 else
12143 result=$wxUSE_FINDREPLDLG
12144 fi
12145
12146 { echo "$as_me:$LINENO: result: $result" >&5
12147 echo "${ECHO_T}$result" >&6; }
12148
12149
12150 enablestring=
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12154 defaultval=yes
12155 else
12156 defaultval=no
12157 fi
12158 fi
12159
12160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12161 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12162 # Check whether --enable-fontdlg was given.
12163 if test "${enable_fontdlg+set}" = set; then
12164 enableval=$enable_fontdlg;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12167 else
12168 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12169 fi
12170
12171 else
12172
12173 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12174
12175 fi
12176
12177
12178 eval "$wx_cv_use_fontdlg"
12179
12180 if test x"$enablestring" = xdisable; then
12181 if test $wxUSE_FONTDLG = yes; then
12182 result=no
12183 else
12184 result=yes
12185 fi
12186 else
12187 result=$wxUSE_FONTDLG
12188 fi
12189
12190 { echo "$as_me:$LINENO: result: $result" >&5
12191 echo "${ECHO_T}$result" >&6; }
12192
12193
12194 enablestring=
12195 defaultval=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x"$enablestring" = xdisable; then
12198 defaultval=yes
12199 else
12200 defaultval=no
12201 fi
12202 fi
12203
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12206 # Check whether --enable-dirdlg was given.
12207 if test "${enable_dirdlg+set}" = set; then
12208 enableval=$enable_dirdlg;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12211 else
12212 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12213 fi
12214
12215 else
12216
12217 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12218
12219 fi
12220
12221
12222 eval "$wx_cv_use_dirdlg"
12223
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_DIRDLG = yes; then
12226 result=no
12227 else
12228 result=yes
12229 fi
12230 else
12231 result=$wxUSE_DIRDLG
12232 fi
12233
12234 { echo "$as_me:$LINENO: result: $result" >&5
12235 echo "${ECHO_T}$result" >&6; }
12236
12237
12238 enablestring=
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12242 defaultval=yes
12243 else
12244 defaultval=no
12245 fi
12246 fi
12247
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12250 # Check whether --enable-msgdlg was given.
12251 if test "${enable_msgdlg+set}" = set; then
12252 enableval=$enable_msgdlg;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12255 else
12256 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12257 fi
12258
12259 else
12260
12261 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12262
12263 fi
12264
12265
12266 eval "$wx_cv_use_msgdlg"
12267
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_MSGDLG = yes; then
12270 result=no
12271 else
12272 result=yes
12273 fi
12274 else
12275 result=$wxUSE_MSGDLG
12276 fi
12277
12278 { echo "$as_me:$LINENO: result: $result" >&5
12279 echo "${ECHO_T}$result" >&6; }
12280
12281
12282 enablestring=
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12286 defaultval=yes
12287 else
12288 defaultval=no
12289 fi
12290 fi
12291
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12294 # Check whether --enable-numberdlg was given.
12295 if test "${enable_numberdlg+set}" = set; then
12296 enableval=$enable_numberdlg;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12299 else
12300 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12301 fi
12302
12303 else
12304
12305 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12306
12307 fi
12308
12309
12310 eval "$wx_cv_use_numberdlg"
12311
12312 if test x"$enablestring" = xdisable; then
12313 if test $wxUSE_NUMBERDLG = yes; then
12314 result=no
12315 else
12316 result=yes
12317 fi
12318 else
12319 result=$wxUSE_NUMBERDLG
12320 fi
12321
12322 { echo "$as_me:$LINENO: result: $result" >&5
12323 echo "${ECHO_T}$result" >&6; }
12324
12325
12326 enablestring=
12327 defaultval=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x"$enablestring" = xdisable; then
12330 defaultval=yes
12331 else
12332 defaultval=no
12333 fi
12334 fi
12335
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12338 # Check whether --enable-splash was given.
12339 if test "${enable_splash+set}" = set; then
12340 enableval=$enable_splash;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_splash='wxUSE_SPLASH=yes'
12343 else
12344 wx_cv_use_splash='wxUSE_SPLASH=no'
12345 fi
12346
12347 else
12348
12349 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12350
12351 fi
12352
12353
12354 eval "$wx_cv_use_splash"
12355
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_SPLASH = yes; then
12358 result=no
12359 else
12360 result=yes
12361 fi
12362 else
12363 result=$wxUSE_SPLASH
12364 fi
12365
12366 { echo "$as_me:$LINENO: result: $result" >&5
12367 echo "${ECHO_T}$result" >&6; }
12368
12369
12370 enablestring=
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12374 defaultval=yes
12375 else
12376 defaultval=no
12377 fi
12378 fi
12379
12380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12381 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12382 # Check whether --enable-textdlg was given.
12383 if test "${enable_textdlg+set}" = set; then
12384 enableval=$enable_textdlg;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12387 else
12388 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12389 fi
12390
12391 else
12392
12393 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12394
12395 fi
12396
12397
12398 eval "$wx_cv_use_textdlg"
12399
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TEXTDLG = yes; then
12402 result=no
12403 else
12404 result=yes
12405 fi
12406 else
12407 result=$wxUSE_TEXTDLG
12408 fi
12409
12410 { echo "$as_me:$LINENO: result: $result" >&5
12411 echo "${ECHO_T}$result" >&6; }
12412
12413
12414 enablestring=
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12418 defaultval=yes
12419 else
12420 defaultval=no
12421 fi
12422 fi
12423
12424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12425 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12426 # Check whether --enable-tipdlg was given.
12427 if test "${enable_tipdlg+set}" = set; then
12428 enableval=$enable_tipdlg;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12431 else
12432 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12433 fi
12434
12435 else
12436
12437 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12438
12439 fi
12440
12441
12442 eval "$wx_cv_use_tipdlg"
12443
12444 if test x"$enablestring" = xdisable; then
12445 if test $wxUSE_STARTUP_TIPS = yes; then
12446 result=no
12447 else
12448 result=yes
12449 fi
12450 else
12451 result=$wxUSE_STARTUP_TIPS
12452 fi
12453
12454 { echo "$as_me:$LINENO: result: $result" >&5
12455 echo "${ECHO_T}$result" >&6; }
12456
12457
12458 enablestring=
12459 defaultval=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x"$enablestring" = xdisable; then
12462 defaultval=yes
12463 else
12464 defaultval=no
12465 fi
12466 fi
12467
12468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12469 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12470 # Check whether --enable-progressdlg was given.
12471 if test "${enable_progressdlg+set}" = set; then
12472 enableval=$enable_progressdlg;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12475 else
12476 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12477 fi
12478
12479 else
12480
12481 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12482
12483 fi
12484
12485
12486 eval "$wx_cv_use_progressdlg"
12487
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_PROGRESSDLG = yes; then
12490 result=no
12491 else
12492 result=yes
12493 fi
12494 else
12495 result=$wxUSE_PROGRESSDLG
12496 fi
12497
12498 { echo "$as_me:$LINENO: result: $result" >&5
12499 echo "${ECHO_T}$result" >&6; }
12500
12501
12502 enablestring=
12503 defaultval=$wxUSE_ALL_FEATURES
12504 if test -z "$defaultval"; then
12505 if test x"$enablestring" = xdisable; then
12506 defaultval=yes
12507 else
12508 defaultval=no
12509 fi
12510 fi
12511
12512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12513 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12514 # Check whether --enable-wizarddlg was given.
12515 if test "${enable_wizarddlg+set}" = set; then
12516 enableval=$enable_wizarddlg;
12517 if test "$enableval" = yes; then
12518 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12519 else
12520 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12521 fi
12522
12523 else
12524
12525 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12526
12527 fi
12528
12529
12530 eval "$wx_cv_use_wizarddlg"
12531
12532 if test x"$enablestring" = xdisable; then
12533 if test $wxUSE_WIZARDDLG = yes; then
12534 result=no
12535 else
12536 result=yes
12537 fi
12538 else
12539 result=$wxUSE_WIZARDDLG
12540 fi
12541
12542 { echo "$as_me:$LINENO: result: $result" >&5
12543 echo "${ECHO_T}$result" >&6; }
12544
12545
12546
12547
12548 enablestring=
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12552 defaultval=yes
12553 else
12554 defaultval=no
12555 fi
12556 fi
12557
12558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12559 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12560 # Check whether --enable-menus was given.
12561 if test "${enable_menus+set}" = set; then
12562 enableval=$enable_menus;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_menus='wxUSE_MENUS=yes'
12565 else
12566 wx_cv_use_menus='wxUSE_MENUS=no'
12567 fi
12568
12569 else
12570
12571 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12572
12573 fi
12574
12575
12576 eval "$wx_cv_use_menus"
12577
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_MENUS = yes; then
12580 result=no
12581 else
12582 result=yes
12583 fi
12584 else
12585 result=$wxUSE_MENUS
12586 fi
12587
12588 { echo "$as_me:$LINENO: result: $result" >&5
12589 echo "${ECHO_T}$result" >&6; }
12590
12591
12592 enablestring=
12593 defaultval=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x"$enablestring" = xdisable; then
12596 defaultval=yes
12597 else
12598 defaultval=no
12599 fi
12600 fi
12601
12602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12604 # Check whether --enable-miniframe was given.
12605 if test "${enable_miniframe+set}" = set; then
12606 enableval=$enable_miniframe;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12609 else
12610 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12611 fi
12612
12613 else
12614
12615 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12616
12617 fi
12618
12619
12620 eval "$wx_cv_use_miniframe"
12621
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_MINIFRAME = yes; then
12624 result=no
12625 else
12626 result=yes
12627 fi
12628 else
12629 result=$wxUSE_MINIFRAME
12630 fi
12631
12632 { echo "$as_me:$LINENO: result: $result" >&5
12633 echo "${ECHO_T}$result" >&6; }
12634
12635
12636 enablestring=
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12640 defaultval=yes
12641 else
12642 defaultval=no
12643 fi
12644 fi
12645
12646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12647 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12648 # Check whether --enable-tooltips was given.
12649 if test "${enable_tooltips+set}" = set; then
12650 enableval=$enable_tooltips;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12653 else
12654 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12655 fi
12656
12657 else
12658
12659 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12660
12661 fi
12662
12663
12664 eval "$wx_cv_use_tooltips"
12665
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_TOOLTIPS = yes; then
12668 result=no
12669 else
12670 result=yes
12671 fi
12672 else
12673 result=$wxUSE_TOOLTIPS
12674 fi
12675
12676 { echo "$as_me:$LINENO: result: $result" >&5
12677 echo "${ECHO_T}$result" >&6; }
12678
12679
12680 enablestring=
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12684 defaultval=yes
12685 else
12686 defaultval=no
12687 fi
12688 fi
12689
12690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12691 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12692 # Check whether --enable-splines was given.
12693 if test "${enable_splines+set}" = set; then
12694 enableval=$enable_splines;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_splines='wxUSE_SPLINES=yes'
12697 else
12698 wx_cv_use_splines='wxUSE_SPLINES=no'
12699 fi
12700
12701 else
12702
12703 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12704
12705 fi
12706
12707
12708 eval "$wx_cv_use_splines"
12709
12710 if test x"$enablestring" = xdisable; then
12711 if test $wxUSE_SPLINES = yes; then
12712 result=no
12713 else
12714 result=yes
12715 fi
12716 else
12717 result=$wxUSE_SPLINES
12718 fi
12719
12720 { echo "$as_me:$LINENO: result: $result" >&5
12721 echo "${ECHO_T}$result" >&6; }
12722
12723
12724 enablestring=
12725 defaultval=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x"$enablestring" = xdisable; then
12728 defaultval=yes
12729 else
12730 defaultval=no
12731 fi
12732 fi
12733
12734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12735 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12736 # Check whether --enable-mousewheel was given.
12737 if test "${enable_mousewheel+set}" = set; then
12738 enableval=$enable_mousewheel;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12741 else
12742 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12743 fi
12744
12745 else
12746
12747 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12748
12749 fi
12750
12751
12752 eval "$wx_cv_use_mousewheel"
12753
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_MOUSEWHEEL = yes; then
12756 result=no
12757 else
12758 result=yes
12759 fi
12760 else
12761 result=$wxUSE_MOUSEWHEEL
12762 fi
12763
12764 { echo "$as_me:$LINENO: result: $result" >&5
12765 echo "${ECHO_T}$result" >&6; }
12766
12767
12768 enablestring=
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12772 defaultval=yes
12773 else
12774 defaultval=no
12775 fi
12776 fi
12777
12778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12779 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12780 # Check whether --enable-validators was given.
12781 if test "${enable_validators+set}" = set; then
12782 enableval=$enable_validators;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12785 else
12786 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12787 fi
12788
12789 else
12790
12791 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12792
12793 fi
12794
12795
12796 eval "$wx_cv_use_validators"
12797
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_VALIDATORS = yes; then
12800 result=no
12801 else
12802 result=yes
12803 fi
12804 else
12805 result=$wxUSE_VALIDATORS
12806 fi
12807
12808 { echo "$as_me:$LINENO: result: $result" >&5
12809 echo "${ECHO_T}$result" >&6; }
12810
12811
12812 enablestring=
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12816 defaultval=yes
12817 else
12818 defaultval=no
12819 fi
12820 fi
12821
12822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12824 # Check whether --enable-busyinfo was given.
12825 if test "${enable_busyinfo+set}" = set; then
12826 enableval=$enable_busyinfo;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12829 else
12830 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12831 fi
12832
12833 else
12834
12835 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12836
12837 fi
12838
12839
12840 eval "$wx_cv_use_busyinfo"
12841
12842 if test x"$enablestring" = xdisable; then
12843 if test $wxUSE_BUSYINFO = yes; then
12844 result=no
12845 else
12846 result=yes
12847 fi
12848 else
12849 result=$wxUSE_BUSYINFO
12850 fi
12851
12852 { echo "$as_me:$LINENO: result: $result" >&5
12853 echo "${ECHO_T}$result" >&6; }
12854
12855
12856 enablestring=
12857 defaultval=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x"$enablestring" = xdisable; then
12860 defaultval=yes
12861 else
12862 defaultval=no
12863 fi
12864 fi
12865
12866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12867 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12868 # Check whether --enable-joystick was given.
12869 if test "${enable_joystick+set}" = set; then
12870 enableval=$enable_joystick;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12873 else
12874 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12875 fi
12876
12877 else
12878
12879 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12880
12881 fi
12882
12883
12884 eval "$wx_cv_use_joystick"
12885
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_JOYSTICK = yes; then
12888 result=no
12889 else
12890 result=yes
12891 fi
12892 else
12893 result=$wxUSE_JOYSTICK
12894 fi
12895
12896 { echo "$as_me:$LINENO: result: $result" >&5
12897 echo "${ECHO_T}$result" >&6; }
12898
12899
12900 enablestring=
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12904 defaultval=yes
12905 else
12906 defaultval=no
12907 fi
12908 fi
12909
12910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12912 # Check whether --enable-metafile was given.
12913 if test "${enable_metafile+set}" = set; then
12914 enableval=$enable_metafile;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_metafile='wxUSE_METAFILE=yes'
12917 else
12918 wx_cv_use_metafile='wxUSE_METAFILE=no'
12919 fi
12920
12921 else
12922
12923 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
12924
12925 fi
12926
12927
12928 eval "$wx_cv_use_metafile"
12929
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_METAFILE = yes; then
12932 result=no
12933 else
12934 result=yes
12935 fi
12936 else
12937 result=$wxUSE_METAFILE
12938 fi
12939
12940 { echo "$as_me:$LINENO: result: $result" >&5
12941 echo "${ECHO_T}$result" >&6; }
12942
12943
12944 enablestring=
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12948 defaultval=yes
12949 else
12950 defaultval=no
12951 fi
12952 fi
12953
12954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12956 # Check whether --enable-dragimage was given.
12957 if test "${enable_dragimage+set}" = set; then
12958 enableval=$enable_dragimage;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12961 else
12962 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12963 fi
12964
12965 else
12966
12967 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
12968
12969 fi
12970
12971
12972 eval "$wx_cv_use_dragimage"
12973
12974 if test x"$enablestring" = xdisable; then
12975 if test $wxUSE_DRAGIMAGE = yes; then
12976 result=no
12977 else
12978 result=yes
12979 fi
12980 else
12981 result=$wxUSE_DRAGIMAGE
12982 fi
12983
12984 { echo "$as_me:$LINENO: result: $result" >&5
12985 echo "${ECHO_T}$result" >&6; }
12986
12987
12988 enablestring=
12989 defaultval=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x"$enablestring" = xdisable; then
12992 defaultval=yes
12993 else
12994 defaultval=no
12995 fi
12996 fi
12997
12998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12999 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13000 # Check whether --enable-accessibility was given.
13001 if test "${enable_accessibility+set}" = set; then
13002 enableval=$enable_accessibility;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13005 else
13006 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13007 fi
13008
13009 else
13010
13011 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13012
13013 fi
13014
13015
13016 eval "$wx_cv_use_accessibility"
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_ACCESSIBILITY = yes; then
13020 result=no
13021 else
13022 result=yes
13023 fi
13024 else
13025 result=$wxUSE_ACCESSIBILITY
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032
13033
13034 enablestring=
13035 defaultval=$wxUSE_ALL_FEATURES
13036 if test -z "$defaultval"; then
13037 if test x"$enablestring" = xdisable; then
13038 defaultval=yes
13039 else
13040 defaultval=no
13041 fi
13042 fi
13043
13044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13045 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13046 # Check whether --enable-palette was given.
13047 if test "${enable_palette+set}" = set; then
13048 enableval=$enable_palette;
13049 if test "$enableval" = yes; then
13050 wx_cv_use_palette='wxUSE_PALETTE=yes'
13051 else
13052 wx_cv_use_palette='wxUSE_PALETTE=no'
13053 fi
13054
13055 else
13056
13057 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13058
13059 fi
13060
13061
13062 eval "$wx_cv_use_palette"
13063
13064 if test x"$enablestring" = xdisable; then
13065 if test $wxUSE_PALETTE = yes; then
13066 result=no
13067 else
13068 result=yes
13069 fi
13070 else
13071 result=$wxUSE_PALETTE
13072 fi
13073
13074 { echo "$as_me:$LINENO: result: $result" >&5
13075 echo "${ECHO_T}$result" >&6; }
13076
13077
13078 enablestring=
13079 defaultval=$wxUSE_ALL_FEATURES
13080 if test -z "$defaultval"; then
13081 if test x"$enablestring" = xdisable; then
13082 defaultval=yes
13083 else
13084 defaultval=no
13085 fi
13086 fi
13087
13088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13089 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13090 # Check whether --enable-image was given.
13091 if test "${enable_image+set}" = set; then
13092 enableval=$enable_image;
13093 if test "$enableval" = yes; then
13094 wx_cv_use_image='wxUSE_IMAGE=yes'
13095 else
13096 wx_cv_use_image='wxUSE_IMAGE=no'
13097 fi
13098
13099 else
13100
13101 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13102
13103 fi
13104
13105
13106 eval "$wx_cv_use_image"
13107
13108 if test x"$enablestring" = xdisable; then
13109 if test $wxUSE_IMAGE = yes; then
13110 result=no
13111 else
13112 result=yes
13113 fi
13114 else
13115 result=$wxUSE_IMAGE
13116 fi
13117
13118 { echo "$as_me:$LINENO: result: $result" >&5
13119 echo "${ECHO_T}$result" >&6; }
13120
13121
13122 enablestring=
13123 defaultval=$wxUSE_ALL_FEATURES
13124 if test -z "$defaultval"; then
13125 if test x"$enablestring" = xdisable; then
13126 defaultval=yes
13127 else
13128 defaultval=no
13129 fi
13130 fi
13131
13132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13133 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13134 # Check whether --enable-gif was given.
13135 if test "${enable_gif+set}" = set; then
13136 enableval=$enable_gif;
13137 if test "$enableval" = yes; then
13138 wx_cv_use_gif='wxUSE_GIF=yes'
13139 else
13140 wx_cv_use_gif='wxUSE_GIF=no'
13141 fi
13142
13143 else
13144
13145 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13146
13147 fi
13148
13149
13150 eval "$wx_cv_use_gif"
13151
13152 if test x"$enablestring" = xdisable; then
13153 if test $wxUSE_GIF = yes; then
13154 result=no
13155 else
13156 result=yes
13157 fi
13158 else
13159 result=$wxUSE_GIF
13160 fi
13161
13162 { echo "$as_me:$LINENO: result: $result" >&5
13163 echo "${ECHO_T}$result" >&6; }
13164
13165
13166 enablestring=
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13170 defaultval=yes
13171 else
13172 defaultval=no
13173 fi
13174 fi
13175
13176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13177 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13178 # Check whether --enable-pcx was given.
13179 if test "${enable_pcx+set}" = set; then
13180 enableval=$enable_pcx;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_pcx='wxUSE_PCX=yes'
13183 else
13184 wx_cv_use_pcx='wxUSE_PCX=no'
13185 fi
13186
13187 else
13188
13189 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13190
13191 fi
13192
13193
13194 eval "$wx_cv_use_pcx"
13195
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_PCX = yes; then
13198 result=no
13199 else
13200 result=yes
13201 fi
13202 else
13203 result=$wxUSE_PCX
13204 fi
13205
13206 { echo "$as_me:$LINENO: result: $result" >&5
13207 echo "${ECHO_T}$result" >&6; }
13208
13209
13210 enablestring=
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13214 defaultval=yes
13215 else
13216 defaultval=no
13217 fi
13218 fi
13219
13220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13221 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13222 # Check whether --enable-tga was given.
13223 if test "${enable_tga+set}" = set; then
13224 enableval=$enable_tga;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_tga='wxUSE_TGA=yes'
13227 else
13228 wx_cv_use_tga='wxUSE_TGA=no'
13229 fi
13230
13231 else
13232
13233 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13234
13235 fi
13236
13237
13238 eval "$wx_cv_use_tga"
13239
13240 if test x"$enablestring" = xdisable; then
13241 if test $wxUSE_TGA = yes; then
13242 result=no
13243 else
13244 result=yes
13245 fi
13246 else
13247 result=$wxUSE_TGA
13248 fi
13249
13250 { echo "$as_me:$LINENO: result: $result" >&5
13251 echo "${ECHO_T}$result" >&6; }
13252
13253
13254 enablestring=
13255 defaultval=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x"$enablestring" = xdisable; then
13258 defaultval=yes
13259 else
13260 defaultval=no
13261 fi
13262 fi
13263
13264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13265 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13266 # Check whether --enable-iff was given.
13267 if test "${enable_iff+set}" = set; then
13268 enableval=$enable_iff;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_iff='wxUSE_IFF=yes'
13271 else
13272 wx_cv_use_iff='wxUSE_IFF=no'
13273 fi
13274
13275 else
13276
13277 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13278
13279 fi
13280
13281
13282 eval "$wx_cv_use_iff"
13283
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_IFF = yes; then
13286 result=no
13287 else
13288 result=yes
13289 fi
13290 else
13291 result=$wxUSE_IFF
13292 fi
13293
13294 { echo "$as_me:$LINENO: result: $result" >&5
13295 echo "${ECHO_T}$result" >&6; }
13296
13297
13298 enablestring=
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13302 defaultval=yes
13303 else
13304 defaultval=no
13305 fi
13306 fi
13307
13308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13309 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13310 # Check whether --enable-pnm was given.
13311 if test "${enable_pnm+set}" = set; then
13312 enableval=$enable_pnm;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_pnm='wxUSE_PNM=yes'
13315 else
13316 wx_cv_use_pnm='wxUSE_PNM=no'
13317 fi
13318
13319 else
13320
13321 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13322
13323 fi
13324
13325
13326 eval "$wx_cv_use_pnm"
13327
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_PNM = yes; then
13330 result=no
13331 else
13332 result=yes
13333 fi
13334 else
13335 result=$wxUSE_PNM
13336 fi
13337
13338 { echo "$as_me:$LINENO: result: $result" >&5
13339 echo "${ECHO_T}$result" >&6; }
13340
13341
13342 enablestring=
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13346 defaultval=yes
13347 else
13348 defaultval=no
13349 fi
13350 fi
13351
13352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13353 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13354 # Check whether --enable-xpm was given.
13355 if test "${enable_xpm+set}" = set; then
13356 enableval=$enable_xpm;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_xpm='wxUSE_XPM=yes'
13359 else
13360 wx_cv_use_xpm='wxUSE_XPM=no'
13361 fi
13362
13363 else
13364
13365 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13366
13367 fi
13368
13369
13370 eval "$wx_cv_use_xpm"
13371
13372 if test x"$enablestring" = xdisable; then
13373 if test $wxUSE_XPM = yes; then
13374 result=no
13375 else
13376 result=yes
13377 fi
13378 else
13379 result=$wxUSE_XPM
13380 fi
13381
13382 { echo "$as_me:$LINENO: result: $result" >&5
13383 echo "${ECHO_T}$result" >&6; }
13384
13385
13386 enablestring=
13387 defaultval=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x"$enablestring" = xdisable; then
13390 defaultval=yes
13391 else
13392 defaultval=no
13393 fi
13394 fi
13395
13396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13397 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13398 # Check whether --enable-ico_cur was given.
13399 if test "${enable_ico_cur+set}" = set; then
13400 enableval=$enable_ico_cur;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13403 else
13404 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13405 fi
13406
13407 else
13408
13409 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_ico_cur"
13415
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_ICO_CUR = yes; then
13418 result=no
13419 else
13420 result=yes
13421 fi
13422 else
13423 result=$wxUSE_ICO_CUR
13424 fi
13425
13426 { echo "$as_me:$LINENO: result: $result" >&5
13427 echo "${ECHO_T}$result" >&6; }
13428
13429
13430
13431
13432 enablestring=
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13436 defaultval=yes
13437 else
13438 defaultval=no
13439 fi
13440 fi
13441
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13444 # Check whether --enable-dccache was given.
13445 if test "${enable_dccache+set}" = set; then
13446 enableval=$enable_dccache;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13449 else
13450 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13451 fi
13452
13453 else
13454
13455 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13456
13457 fi
13458
13459
13460 eval "$wx_cv_use_dccache"
13461
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_DC_CACHEING = yes; then
13464 result=no
13465 else
13466 result=yes
13467 fi
13468 else
13469 result=$wxUSE_DC_CACHEING
13470 fi
13471
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13474
13475
13476 enablestring=
13477 defaultval=$wxUSE_ALL_FEATURES
13478 if test -z "$defaultval"; then
13479 if test x"$enablestring" = xdisable; then
13480 defaultval=yes
13481 else
13482 defaultval=no
13483 fi
13484 fi
13485
13486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13487 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13488 # Check whether --enable-ps-in-msw was given.
13489 if test "${enable_ps_in_msw+set}" = set; then
13490 enableval=$enable_ps_in_msw;
13491 if test "$enableval" = yes; then
13492 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13493 else
13494 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13495 fi
13496
13497 else
13498
13499 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13500
13501 fi
13502
13503
13504 eval "$wx_cv_use_ps_in_msw"
13505
13506 if test x"$enablestring" = xdisable; then
13507 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13508 result=no
13509 else
13510 result=yes
13511 fi
13512 else
13513 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13514 fi
13515
13516 { echo "$as_me:$LINENO: result: $result" >&5
13517 echo "${ECHO_T}$result" >&6; }
13518
13519
13520 enablestring=
13521 defaultval=$wxUSE_ALL_FEATURES
13522 if test -z "$defaultval"; then
13523 if test x"$enablestring" = xdisable; then
13524 defaultval=yes
13525 else
13526 defaultval=no
13527 fi
13528 fi
13529
13530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13531 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13532 # Check whether --enable-ownerdrawn was given.
13533 if test "${enable_ownerdrawn+set}" = set; then
13534 enableval=$enable_ownerdrawn;
13535 if test "$enableval" = yes; then
13536 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13537 else
13538 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13539 fi
13540
13541 else
13542
13543 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13544
13545 fi
13546
13547
13548 eval "$wx_cv_use_ownerdrawn"
13549
13550 if test x"$enablestring" = xdisable; then
13551 if test $wxUSE_OWNER_DRAWN = yes; then
13552 result=no
13553 else
13554 result=yes
13555 fi
13556 else
13557 result=$wxUSE_OWNER_DRAWN
13558 fi
13559
13560 { echo "$as_me:$LINENO: result: $result" >&5
13561 echo "${ECHO_T}$result" >&6; }
13562
13563
13564 enablestring=
13565 defaultval=$wxUSE_ALL_FEATURES
13566 if test -z "$defaultval"; then
13567 if test x"$enablestring" = xdisable; then
13568 defaultval=yes
13569 else
13570 defaultval=no
13571 fi
13572 fi
13573
13574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13575 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13576 # Check whether --enable-uxtheme was given.
13577 if test "${enable_uxtheme+set}" = set; then
13578 enableval=$enable_uxtheme;
13579 if test "$enableval" = yes; then
13580 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13581 else
13582 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13583 fi
13584
13585 else
13586
13587 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13588
13589 fi
13590
13591
13592 eval "$wx_cv_use_uxtheme"
13593
13594 if test x"$enablestring" = xdisable; then
13595 if test $wxUSE_UXTHEME = yes; then
13596 result=no
13597 else
13598 result=yes
13599 fi
13600 else
13601 result=$wxUSE_UXTHEME
13602 fi
13603
13604 { echo "$as_me:$LINENO: result: $result" >&5
13605 echo "${ECHO_T}$result" >&6; }
13606
13607
13608 enablestring=
13609 defaultval=$wxUSE_ALL_FEATURES
13610 if test -z "$defaultval"; then
13611 if test x"$enablestring" = xdisable; then
13612 defaultval=yes
13613 else
13614 defaultval=no
13615 fi
13616 fi
13617
13618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13619 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13620 # Check whether --enable-wxdib was given.
13621 if test "${enable_wxdib+set}" = set; then
13622 enableval=$enable_wxdib;
13623 if test "$enableval" = yes; then
13624 wx_cv_use_wxdib='wxUSE_DIB=yes'
13625 else
13626 wx_cv_use_wxdib='wxUSE_DIB=no'
13627 fi
13628
13629 else
13630
13631 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13632
13633 fi
13634
13635
13636 eval "$wx_cv_use_wxdib"
13637
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_DIB = yes; then
13640 result=no
13641 else
13642 result=yes
13643 fi
13644 else
13645 result=$wxUSE_DIB
13646 fi
13647
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13650
13651
13652 fi
13653
13654
13655 { echo "$as_me:$LINENO: checking for toolkit" >&5
13656 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
13657
13658 # In Wine, we need to default to MSW, not GTK or MOTIF
13659 if test "$wxUSE_WINE" = "yes"; then
13660 DEFAULT_DEFAULT_wxUSE_GTK=0
13661 DEFAULT_DEFAULT_wxUSE_MOTIF=0
13662 DEFAULT_DEFAULT_wxUSE_MSW=1
13663 wxUSE_SHARED=no
13664 CC=${CC:-winegcc}
13665 CXX=${CXX:-wineg++}
13666 fi
13667
13668
13669 if test "$wxUSE_GUI" = "yes"; then
13670
13671 if test "$USE_BEOS" = 1; then
13672 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
13673 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
13674 { (exit 1); exit 1; }; }
13675 fi
13676
13677 if test "$TOOLKIT_GIVEN" = 1; then
13678 for toolkit in $ALL_TOOLKITS; do
13679 var=wxUSE_$toolkit
13680 eval "value=\$${var}"
13681 if test "x$value" = "xno"; then
13682 eval "$var=0"
13683 elif test "x$value" != "x"; then
13684 eval "$var=1"
13685 fi
13686
13687 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
13688 eval "wx${toolkit}_VERSION=$value"
13689 fi
13690 done
13691 else
13692 for toolkit in $ALL_TOOLKITS; do
13693 var=DEFAULT_DEFAULT_wxUSE_$toolkit
13694 eval "wxUSE_$toolkit=\$${var}"
13695 done
13696 fi
13697
13698 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
13699 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
13700 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
13701
13702 case "${host}" in
13703 *-pc-os2_emx | *-pc-os2-emx )
13704 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
13705 esac
13706
13707 case "$NUM_TOOLKITS" in
13708 1)
13709 ;;
13710 0)
13711 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
13712 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
13713 { (exit 1); exit 1; }; }
13714 ;;
13715 *)
13716 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
13717 echo "$as_me: error: Please specify at most one toolkit" >&2;}
13718 { (exit 1); exit 1; }; }
13719 esac
13720
13721 # to be removed when --disable-gtk2 isn't needed
13722 if test "x$wxUSE_GTK2" = "xyes"; then
13723 wxGTK_VERSION=2
13724 elif test "x$wxUSE_GTK2" = "xno"; then
13725 wxGTK_VERSION=1
13726 fi
13727
13728 for toolkit in $ALL_TOOLKITS; do
13729 var=wxUSE_$toolkit
13730 eval "value=\$${var}"
13731 if test "$value" = 1; then
13732 toolkit_echo=`echo $toolkit | tr A-Z a-z`
13733 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
13734 echo "${ECHO_T}$toolkit_echo" >&6; }
13735 fi
13736 done
13737 else
13738 if test "x$host_alias" != "x"; then
13739 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
13740 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
13741 else
13742 { echo "$as_me:$LINENO: result: base only" >&5
13743 echo "${ECHO_T}base only" >&6; }
13744 fi
13745 fi
13746
13747
13748 cat >confcache <<\_ACEOF
13749 # This file is a shell script that caches the results of configure
13750 # tests run on this system so they can be shared between configure
13751 # scripts and configure runs, see configure's option --config-cache.
13752 # It is not useful on other systems. If it contains results you don't
13753 # want to keep, you may remove or edit it.
13754 #
13755 # config.status only pays attention to the cache file if you give it
13756 # the --recheck option to rerun configure.
13757 #
13758 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13759 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13760 # following values.
13761
13762 _ACEOF
13763
13764 # The following way of writing the cache mishandles newlines in values,
13765 # but we know of no workaround that is simple, portable, and efficient.
13766 # So, we kill variables containing newlines.
13767 # Ultrix sh set writes to stderr and can't be redirected directly,
13768 # and sets the high bit in the cache file unless we assign to the vars.
13769 (
13770 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13771 eval ac_val=\$$ac_var
13772 case $ac_val in #(
13773 *${as_nl}*)
13774 case $ac_var in #(
13775 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13776 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13777 esac
13778 case $ac_var in #(
13779 _ | IFS | as_nl) ;; #(
13780 *) $as_unset $ac_var ;;
13781 esac ;;
13782 esac
13783 done
13784
13785 (set) 2>&1 |
13786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13787 *${as_nl}ac_space=\ *)
13788 # `set' does not quote correctly, so add quotes (double-quote
13789 # substitution turns \\\\ into \\, and sed turns \\ into \).
13790 sed -n \
13791 "s/'/'\\\\''/g;
13792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13793 ;; #(
13794 *)
13795 # `set' quotes correctly as required by POSIX, so do not add quotes.
13796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13797 ;;
13798 esac |
13799 sort
13800 ) |
13801 sed '
13802 /^ac_cv_env_/b end
13803 t clear
13804 :clear
13805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13806 t end
13807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13808 :end' >>confcache
13809 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13810 if test -w "$cache_file"; then
13811 test "x$cache_file" != "x/dev/null" &&
13812 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13813 echo "$as_me: updating cache $cache_file" >&6;}
13814 cat confcache >$cache_file
13815 else
13816 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13817 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13818 fi
13819 fi
13820 rm -f confcache
13821
13822 CFLAGS=${CFLAGS:=}
13823
13824
13825
13826 ac_ext=c
13827 ac_cpp='$CPP $CPPFLAGS'
13828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13831 if test -n "$ac_tool_prefix"; then
13832 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13833 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13836 if test "${ac_cv_prog_CC+set}" = set; then
13837 echo $ECHO_N "(cached) $ECHO_C" >&6
13838 else
13839 if test -n "$CC"; then
13840 ac_cv_prog_CC="$CC" # Let the user override the test.
13841 else
13842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843 for as_dir in $PATH
13844 do
13845 IFS=$as_save_IFS
13846 test -z "$as_dir" && as_dir=.
13847 for ac_exec_ext in '' $ac_executable_extensions; do
13848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13849 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13851 break 2
13852 fi
13853 done
13854 done
13855 IFS=$as_save_IFS
13856
13857 fi
13858 fi
13859 CC=$ac_cv_prog_CC
13860 if test -n "$CC"; then
13861 { echo "$as_me:$LINENO: result: $CC" >&5
13862 echo "${ECHO_T}$CC" >&6; }
13863 else
13864 { echo "$as_me:$LINENO: result: no" >&5
13865 echo "${ECHO_T}no" >&6; }
13866 fi
13867
13868
13869 fi
13870 if test -z "$ac_cv_prog_CC"; then
13871 ac_ct_CC=$CC
13872 # Extract the first word of "gcc", so it can be a program name with args.
13873 set dummy gcc; ac_word=$2
13874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13878 else
13879 if test -n "$ac_ct_CC"; then
13880 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13881 else
13882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13883 for as_dir in $PATH
13884 do
13885 IFS=$as_save_IFS
13886 test -z "$as_dir" && as_dir=.
13887 for ac_exec_ext in '' $ac_executable_extensions; do
13888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13889 ac_cv_prog_ac_ct_CC="gcc"
13890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13891 break 2
13892 fi
13893 done
13894 done
13895 IFS=$as_save_IFS
13896
13897 fi
13898 fi
13899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13900 if test -n "$ac_ct_CC"; then
13901 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13902 echo "${ECHO_T}$ac_ct_CC" >&6; }
13903 else
13904 { echo "$as_me:$LINENO: result: no" >&5
13905 echo "${ECHO_T}no" >&6; }
13906 fi
13907
13908 if test "x$ac_ct_CC" = x; then
13909 CC=""
13910 else
13911 case $cross_compiling:$ac_tool_warned in
13912 yes:)
13913 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13914 whose name does not start with the host triplet. If you think this
13915 configuration is useful to you, please write to autoconf@gnu.org." >&5
13916 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13917 whose name does not start with the host triplet. If you think this
13918 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13919 ac_tool_warned=yes ;;
13920 esac
13921 CC=$ac_ct_CC
13922 fi
13923 else
13924 CC="$ac_cv_prog_CC"
13925 fi
13926
13927 if test -z "$CC"; then
13928 if test -n "$ac_tool_prefix"; then
13929 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13930 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 if test -n "$CC"; then
13937 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
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 CC=$ac_cv_prog_CC
13957 if test -n "$CC"; then
13958 { echo "$as_me:$LINENO: result: $CC" >&5
13959 echo "${ECHO_T}$CC" >&6; }
13960 else
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13963 fi
13964
13965
13966 fi
13967 fi
13968 if test -z "$CC"; then
13969 # Extract the first word of "cc", so it can be a program name with args.
13970 set dummy cc; ac_word=$2
13971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13973 if test "${ac_cv_prog_CC+set}" = set; then
13974 echo $ECHO_N "(cached) $ECHO_C" >&6
13975 else
13976 if test -n "$CC"; then
13977 ac_cv_prog_CC="$CC" # Let the user override the test.
13978 else
13979 ac_prog_rejected=no
13980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13981 for as_dir in $PATH
13982 do
13983 IFS=$as_save_IFS
13984 test -z "$as_dir" && as_dir=.
13985 for ac_exec_ext in '' $ac_executable_extensions; do
13986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13987 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13988 ac_prog_rejected=yes
13989 continue
13990 fi
13991 ac_cv_prog_CC="cc"
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13993 break 2
13994 fi
13995 done
13996 done
13997 IFS=$as_save_IFS
13998
13999 if test $ac_prog_rejected = yes; then
14000 # We found a bogon in the path, so make sure we never use it.
14001 set dummy $ac_cv_prog_CC
14002 shift
14003 if test $# != 0; then
14004 # We chose a different compiler from the bogus one.
14005 # However, it has the same basename, so the bogon will be chosen
14006 # first if we set CC to just the basename; use the full file name.
14007 shift
14008 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14009 fi
14010 fi
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 if test -z "$CC"; then
14025 if test -n "$ac_tool_prefix"; then
14026 for ac_prog in cl.exe
14027 do
14028 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14029 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 if test -n "$CC"; then
14036 ac_cv_prog_CC="$CC" # Let the user override the test.
14037 else
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041 IFS=$as_save_IFS
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047 break 2
14048 fi
14049 done
14050 done
14051 IFS=$as_save_IFS
14052
14053 fi
14054 fi
14055 CC=$ac_cv_prog_CC
14056 if test -n "$CC"; then
14057 { echo "$as_me:$LINENO: result: $CC" >&5
14058 echo "${ECHO_T}$CC" >&6; }
14059 else
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14062 fi
14063
14064
14065 test -n "$CC" && break
14066 done
14067 fi
14068 if test -z "$CC"; then
14069 ac_ct_CC=$CC
14070 for ac_prog in cl.exe
14071 do
14072 # Extract the first word of "$ac_prog", so it can be a program name with args.
14073 set dummy $ac_prog; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 if test -n "$ac_ct_CC"; then
14080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14081 else
14082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083 for as_dir in $PATH
14084 do
14085 IFS=$as_save_IFS
14086 test -z "$as_dir" && as_dir=.
14087 for ac_exec_ext in '' $ac_executable_extensions; do
14088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14089 ac_cv_prog_ac_ct_CC="$ac_prog"
14090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14091 break 2
14092 fi
14093 done
14094 done
14095 IFS=$as_save_IFS
14096
14097 fi
14098 fi
14099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14100 if test -n "$ac_ct_CC"; then
14101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14102 echo "${ECHO_T}$ac_ct_CC" >&6; }
14103 else
14104 { echo "$as_me:$LINENO: result: no" >&5
14105 echo "${ECHO_T}no" >&6; }
14106 fi
14107
14108
14109 test -n "$ac_ct_CC" && break
14110 done
14111
14112 if test "x$ac_ct_CC" = x; then
14113 CC=""
14114 else
14115 case $cross_compiling:$ac_tool_warned in
14116 yes:)
14117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14118 whose name does not start with the host triplet. If you think this
14119 configuration is useful to you, please write to autoconf@gnu.org." >&5
14120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14121 whose name does not start with the host triplet. If you think this
14122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14123 ac_tool_warned=yes ;;
14124 esac
14125 CC=$ac_ct_CC
14126 fi
14127 fi
14128
14129 fi
14130
14131
14132 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14133 See \`config.log' for more details." >&5
14134 echo "$as_me: error: no acceptable C compiler found in \$PATH
14135 See \`config.log' for more details." >&2;}
14136 { (exit 1); exit 1; }; }
14137
14138 # Provide some information about the compiler.
14139 echo "$as_me:$LINENO: checking for C compiler version" >&5
14140 ac_compiler=`set X $ac_compile; echo $2`
14141 { (ac_try="$ac_compiler --version >&5"
14142 case "(($ac_try" in
14143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14144 *) ac_try_echo=$ac_try;;
14145 esac
14146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14147 (eval "$ac_compiler --version >&5") 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); }
14151 { (ac_try="$ac_compiler -v >&5"
14152 case "(($ac_try" in
14153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14154 *) ac_try_echo=$ac_try;;
14155 esac
14156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14157 (eval "$ac_compiler -v >&5") 2>&5
14158 ac_status=$?
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); }
14161 { (ac_try="$ac_compiler -V >&5"
14162 case "(($ac_try" in
14163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 *) ac_try_echo=$ac_try;;
14165 esac
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_compiler -V >&5") 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }
14171
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 ac_clean_files_save=$ac_clean_files
14188 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14189 # Try to create an executable without -o first, disregard a.out.
14190 # It will help us diagnose broken compilers, and finding out an intuition
14191 # of exeext.
14192 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14193 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14194 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14195 #
14196 # List of possible output files, starting from the most likely.
14197 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14198 # only as a last resort. b.out is created by i960 compilers.
14199 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14200 #
14201 # The IRIX 6 linker writes into existing files which may not be
14202 # executable, retaining their permissions. Remove them first so a
14203 # subsequent execution test works.
14204 ac_rmfiles=
14205 for ac_file in $ac_files
14206 do
14207 case $ac_file in
14208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14209 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14210 esac
14211 done
14212 rm -f $ac_rmfiles
14213
14214 if { (ac_try="$ac_link_default"
14215 case "(($ac_try" in
14216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14217 *) ac_try_echo=$ac_try;;
14218 esac
14219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14220 (eval "$ac_link_default") 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; then
14224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14227 # so that the user can short-circuit this test for compilers unknown to
14228 # Autoconf.
14229 for ac_file in $ac_files ''
14230 do
14231 test -f "$ac_file" || continue
14232 case $ac_file in
14233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14234 ;;
14235 [ab].out )
14236 # We found the default executable, but exeext='' is most
14237 # certainly right.
14238 break;;
14239 *.* )
14240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14241 then :; else
14242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14243 fi
14244 # We set ac_cv_exeext here because the later test for it is not
14245 # safe: cross compilers may not add the suffix if given an `-o'
14246 # argument, so we may need to know it at that point already.
14247 # Even if this section looks crufty: it has the advantage of
14248 # actually working.
14249 break;;
14250 * )
14251 break;;
14252 esac
14253 done
14254 test "$ac_cv_exeext" = no && ac_cv_exeext=
14255
14256 else
14257 ac_file=''
14258 fi
14259
14260 { echo "$as_me:$LINENO: result: $ac_file" >&5
14261 echo "${ECHO_T}$ac_file" >&6; }
14262 if test -z "$ac_file"; then
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14265
14266 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14267 See \`config.log' for more details." >&5
14268 echo "$as_me: error: C compiler cannot create executables
14269 See \`config.log' for more details." >&2;}
14270 { (exit 77); exit 77; }; }
14271 fi
14272
14273 ac_exeext=$ac_cv_exeext
14274
14275 # Check that the compiler produces executables we can run. If not, either
14276 # the compiler is broken, or we cross compile.
14277 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14278 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14279 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14280 # If not cross compiling, check that we can run a simple program.
14281 if test "$cross_compiling" != yes; then
14282 if { ac_try='./$ac_file'
14283 { (case "(($ac_try" in
14284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14285 *) ac_try_echo=$ac_try;;
14286 esac
14287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14288 (eval "$ac_try") 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 cross_compiling=no
14293 else
14294 if test "$cross_compiling" = maybe; then
14295 cross_compiling=yes
14296 else
14297 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14298 If you meant to cross compile, use \`--host'.
14299 See \`config.log' for more details." >&5
14300 echo "$as_me: error: cannot run C compiled programs.
14301 If you meant to cross compile, use \`--host'.
14302 See \`config.log' for more details." >&2;}
14303 { (exit 1); exit 1; }; }
14304 fi
14305 fi
14306 fi
14307 { echo "$as_me:$LINENO: result: yes" >&5
14308 echo "${ECHO_T}yes" >&6; }
14309
14310 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14311 ac_clean_files=$ac_clean_files_save
14312 # Check that the compiler produces executables we can run. If not, either
14313 # the compiler is broken, or we cross compile.
14314 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14315 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14316 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14317 echo "${ECHO_T}$cross_compiling" >&6; }
14318
14319 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14320 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14325 esac
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>&5
14328 ac_status=$?
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; then
14331 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14332 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14333 # work properly (i.e., refer to `conftest.exe'), while it won't with
14334 # `rm'.
14335 for ac_file in conftest.exe conftest conftest.*; do
14336 test -f "$ac_file" || continue
14337 case $ac_file in
14338 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14339 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14340 break;;
14341 * ) break;;
14342 esac
14343 done
14344 else
14345 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14346 See \`config.log' for more details." >&5
14347 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14348 See \`config.log' for more details." >&2;}
14349 { (exit 1); exit 1; }; }
14350 fi
14351
14352 rm -f conftest$ac_cv_exeext
14353 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14354 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14355
14356 rm -f conftest.$ac_ext
14357 EXEEXT=$ac_cv_exeext
14358 ac_exeext=$EXEEXT
14359 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14360 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14361 if test "${ac_cv_objext+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 cat >conftest.$ac_ext <<_ACEOF
14365 /* confdefs.h. */
14366 _ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370
14371 int
14372 main ()
14373 {
14374
14375 ;
14376 return 0;
14377 }
14378 _ACEOF
14379 rm -f conftest.o conftest.obj
14380 if { (ac_try="$ac_compile"
14381 case "(($ac_try" in
14382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14383 *) ac_try_echo=$ac_try;;
14384 esac
14385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14386 (eval "$ac_compile") 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; then
14390 for ac_file in conftest.o conftest.obj conftest.*; do
14391 test -f "$ac_file" || continue;
14392 case $ac_file in
14393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14395 break;;
14396 esac
14397 done
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408
14409 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14410 fi
14411 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14412 echo "${ECHO_T}$ac_cv_objext" >&6; }
14413 OBJEXT=$ac_cv_objext
14414 ac_objext=$OBJEXT
14415 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14416 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426
14427 int
14428 main ()
14429 {
14430 #ifndef __GNUC__
14431 choke me
14432 #endif
14433
14434 ;
14435 return 0;
14436 }
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (ac_try="$ac_compile"
14440 case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14443 esac
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_compile") 2>conftest.er1
14446 ac_status=$?
14447 grep -v '^ *+' conftest.er1 >conftest.err
14448 rm -f conftest.er1
14449 cat conftest.err >&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } && {
14452 test -z "$ac_c_werror_flag" ||
14453 test ! -s conftest.err
14454 } && test -s conftest.$ac_objext; then
14455 ac_compiler_gnu=yes
14456 else
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 ac_compiler_gnu=no
14461 fi
14462
14463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14464 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14465
14466 fi
14467 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14468 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14469 GCC=`test $ac_compiler_gnu = yes && echo yes`
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14473 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14474 if test "${ac_cv_prog_cc_g+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 ac_save_c_werror_flag=$ac_c_werror_flag
14478 ac_c_werror_flag=yes
14479 ac_cv_prog_cc_g=no
14480 CFLAGS="-g"
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487
14488 int
14489 main ()
14490 {
14491
14492 ;
14493 return 0;
14494 }
14495 _ACEOF
14496 rm -f conftest.$ac_objext
14497 if { (ac_try="$ac_compile"
14498 case "(($ac_try" in
14499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 *) ac_try_echo=$ac_try;;
14501 esac
14502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 (eval "$ac_compile") 2>conftest.er1
14504 ac_status=$?
14505 grep -v '^ *+' conftest.er1 >conftest.err
14506 rm -f conftest.er1
14507 cat conftest.err >&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } && {
14510 test -z "$ac_c_werror_flag" ||
14511 test ! -s conftest.err
14512 } && test -s conftest.$ac_objext; then
14513 ac_cv_prog_cc_g=yes
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 CFLAGS=""
14519 cat >conftest.$ac_ext <<_ACEOF
14520 /* confdefs.h. */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525
14526 int
14527 main ()
14528 {
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14538 *) ac_try_echo=$ac_try;;
14539 esac
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14542 ac_status=$?
14543 grep -v '^ *+' conftest.er1 >conftest.err
14544 rm -f conftest.er1
14545 cat conftest.err >&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } && {
14548 test -z "$ac_c_werror_flag" ||
14549 test ! -s conftest.err
14550 } && test -s conftest.$ac_objext; then
14551 :
14552 else
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 ac_c_werror_flag=$ac_save_c_werror_flag
14557 CFLAGS="-g"
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564
14565 int
14566 main ()
14567 {
14568
14569 ;
14570 return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.$ac_objext
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } && {
14587 test -z "$ac_c_werror_flag" ||
14588 test ! -s conftest.err
14589 } && test -s conftest.$ac_objext; then
14590 ac_cv_prog_cc_g=yes
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595
14596 fi
14597
14598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 fi
14600
14601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14602 fi
14603
14604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14605 ac_c_werror_flag=$ac_save_c_werror_flag
14606 fi
14607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14609 if test "$ac_test_CFLAGS" = set; then
14610 CFLAGS=$ac_save_CFLAGS
14611 elif test $ac_cv_prog_cc_g = yes; then
14612 if test "$GCC" = yes; then
14613 CFLAGS="-g -O2"
14614 else
14615 CFLAGS="-g"
14616 fi
14617 else
14618 if test "$GCC" = yes; then
14619 CFLAGS="-O2"
14620 else
14621 CFLAGS=
14622 fi
14623 fi
14624 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14625 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14626 if test "${ac_cv_prog_cc_c89+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14628 else
14629 ac_cv_prog_cc_c89=no
14630 ac_save_CC=$CC
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637 #include <stdarg.h>
14638 #include <stdio.h>
14639 #include <sys/types.h>
14640 #include <sys/stat.h>
14641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14642 struct buf { int x; };
14643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14644 static char *e (p, i)
14645 char **p;
14646 int i;
14647 {
14648 return p[i];
14649 }
14650 static char *f (char * (*g) (char **, int), char **p, ...)
14651 {
14652 char *s;
14653 va_list v;
14654 va_start (v,p);
14655 s = g (p, va_arg (v,int));
14656 va_end (v);
14657 return s;
14658 }
14659
14660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14661 function prototypes and stuff, but not '\xHH' hex character constants.
14662 These don't provoke an error unfortunately, instead are silently treated
14663 as 'x'. The following induces an error, until -std is added to get
14664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14665 array size at least. It's necessary to write '\x00'==0 to get something
14666 that's true only with -std. */
14667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14668
14669 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14670 inside strings and character constants. */
14671 #define FOO(x) 'x'
14672 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14673
14674 int test (int i, double x);
14675 struct s1 {int (*f) (int a);};
14676 struct s2 {int (*f) (double a);};
14677 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14678 int argc;
14679 char **argv;
14680 int
14681 main ()
14682 {
14683 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14684 ;
14685 return 0;
14686 }
14687 _ACEOF
14688 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14689 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14690 do
14691 CC="$ac_save_CC $ac_arg"
14692 rm -f conftest.$ac_objext
14693 if { (ac_try="$ac_compile"
14694 case "(($ac_try" in
14695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14696 *) ac_try_echo=$ac_try;;
14697 esac
14698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14699 (eval "$ac_compile") 2>conftest.er1
14700 ac_status=$?
14701 grep -v '^ *+' conftest.er1 >conftest.err
14702 rm -f conftest.er1
14703 cat conftest.err >&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && {
14706 test -z "$ac_c_werror_flag" ||
14707 test ! -s conftest.err
14708 } && test -s conftest.$ac_objext; then
14709 ac_cv_prog_cc_c89=$ac_arg
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714
14715 fi
14716
14717 rm -f core conftest.err conftest.$ac_objext
14718 test "x$ac_cv_prog_cc_c89" != "xno" && break
14719 done
14720 rm -f conftest.$ac_ext
14721 CC=$ac_save_CC
14722
14723 fi
14724 # AC_CACHE_VAL
14725 case "x$ac_cv_prog_cc_c89" in
14726 x)
14727 { echo "$as_me:$LINENO: result: none needed" >&5
14728 echo "${ECHO_T}none needed" >&6; } ;;
14729 xno)
14730 { echo "$as_me:$LINENO: result: unsupported" >&5
14731 echo "${ECHO_T}unsupported" >&6; } ;;
14732 *)
14733 CC="$CC $ac_cv_prog_cc_c89"
14734 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14735 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14736 esac
14737
14738
14739 ac_ext=c
14740 ac_cpp='$CPP $CPPFLAGS'
14741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14744
14745
14746
14747
14748 ac_ext=c
14749 ac_cpp='$CPP $CPPFLAGS'
14750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14753
14754 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14755 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14756 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14765
14766 int
14767 main ()
14768 {
14769
14770 #ifndef __INTEL_COMPILER
14771 choke me
14772 #endif
14773
14774 ;
14775 return 0;
14776 }
14777 _ACEOF
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14783 esac
14784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14786 ac_status=$?
14787 grep -v '^ *+' conftest.er1 >conftest.err
14788 rm -f conftest.er1
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14795 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14799
14800 bakefile_cv_c_compiler___INTEL_COMPILER=no
14801
14802 fi
14803
14804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14805
14806
14807 fi
14808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14809 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14810 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14811 :; INTELCC=yes
14812 else
14813 :;
14814 fi
14815 ac_ext=c
14816 ac_cpp='$CPP $CPPFLAGS'
14817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820
14821
14822
14823
14824 if test "x$GCC" != "xyes"; then
14825 if test "xCC" = "xC"; then
14826 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14827 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14828 if test "${bakefile_cv_c_exto+set}" = set; then
14829 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 else
14831 cat >conftest.$ac_ext <<_ACEOF
14832 /* confdefs.h. */
14833 _ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14837
14838 int
14839 main ()
14840 {
14841
14842 ;
14843 return 0;
14844 }
14845 _ACEOF
14846 rm -f conftest.$ac_objext conftest.$ac_ext.o
14847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14848 (eval $ac_compile) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; then
14852 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14853 case $ac_file in
14854 conftest.$ac_ext.o)
14855 bakefile_cv_c_exto="-ext o"
14856 ;;
14857 *)
14858 ;;
14859 esac
14860 done
14861 else
14862 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14863 See \`config.log' for more details." >&5
14864 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14865 See \`config.log' for more details." >&2;}
14866 { (exit 1); exit 1; }; }
14867
14868 fi
14869
14870 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14871
14872 fi
14873 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14874 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14875 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14876 if test "c" = "c"; then
14877 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14878 fi
14879 if test "c" = "cxx"; then
14880 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14881 fi
14882 fi
14883
14884 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14885 unset ac_cv_prog_cc_g
14886 ac_test_CFLAGS=${CFLAGS+set}
14887 ac_save_CFLAGS=$CFLAGS
14888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14890 if test "${ac_cv_prog_cc_g+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 ac_save_c_werror_flag=$ac_c_werror_flag
14894 ac_c_werror_flag=yes
14895 ac_cv_prog_cc_g=no
14896 CFLAGS="-g"
14897 cat >conftest.$ac_ext <<_ACEOF
14898 /* confdefs.h. */
14899 _ACEOF
14900 cat confdefs.h >>conftest.$ac_ext
14901 cat >>conftest.$ac_ext <<_ACEOF
14902 /* end confdefs.h. */
14903
14904 int
14905 main ()
14906 {
14907
14908 ;
14909 return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (ac_try="$ac_compile"
14914 case "(($ac_try" in
14915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14916 *) ac_try_echo=$ac_try;;
14917 esac
14918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14919 (eval "$ac_compile") 2>conftest.er1
14920 ac_status=$?
14921 grep -v '^ *+' conftest.er1 >conftest.err
14922 rm -f conftest.er1
14923 cat conftest.err >&5
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } && {
14926 test -z "$ac_c_werror_flag" ||
14927 test ! -s conftest.err
14928 } && test -s conftest.$ac_objext; then
14929 ac_cv_prog_cc_g=yes
14930 else
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.$ac_ext >&5
14933
14934 CFLAGS=""
14935 cat >conftest.$ac_ext <<_ACEOF
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941
14942 int
14943 main ()
14944 {
14945
14946 ;
14947 return 0;
14948 }
14949 _ACEOF
14950 rm -f conftest.$ac_objext
14951 if { (ac_try="$ac_compile"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_compile") 2>conftest.er1
14958 ac_status=$?
14959 grep -v '^ *+' conftest.er1 >conftest.err
14960 rm -f conftest.er1
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest.$ac_objext; then
14967 :
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_c_werror_flag=$ac_save_c_werror_flag
14973 CFLAGS="-g"
14974 cat >conftest.$ac_ext <<_ACEOF
14975 /* confdefs.h. */
14976 _ACEOF
14977 cat confdefs.h >>conftest.$ac_ext
14978 cat >>conftest.$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980
14981 int
14982 main ()
14983 {
14984
14985 ;
14986 return 0;
14987 }
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (ac_try="$ac_compile"
14991 case "(($ac_try" in
14992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14993 *) ac_try_echo=$ac_try;;
14994 esac
14995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14996 (eval "$ac_compile") 2>conftest.er1
14997 ac_status=$?
14998 grep -v '^ *+' conftest.er1 >conftest.err
14999 rm -f conftest.er1
15000 cat conftest.err >&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } && {
15003 test -z "$ac_c_werror_flag" ||
15004 test ! -s conftest.err
15005 } && test -s conftest.$ac_objext; then
15006 ac_cv_prog_cc_g=yes
15007 else
15008 echo "$as_me: failed program was:" >&5
15009 sed 's/^/| /' conftest.$ac_ext >&5
15010
15011
15012 fi
15013
15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15015 fi
15016
15017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018 fi
15019
15020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 ac_c_werror_flag=$ac_save_c_werror_flag
15022 fi
15023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15025 if test "$ac_test_CFLAGS" = set; then
15026 CFLAGS=$ac_save_CFLAGS
15027 elif test $ac_cv_prog_cc_g = yes; then
15028 if test "$GCC" = yes; then
15029 CFLAGS="-g -O2"
15030 else
15031 CFLAGS="-g"
15032 fi
15033 else
15034 if test "$GCC" = yes; then
15035 CFLAGS="-O2"
15036 else
15037 CFLAGS=
15038 fi
15039 fi
15040 fi
15041 fi
15042
15043 case `uname -s` in
15044 AIX*)
15045
15046
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15054 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15055 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15056 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 else
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064
15065 int
15066 main ()
15067 {
15068
15069 #ifndef __xlC__
15070 choke me
15071 #endif
15072
15073 ;
15074 return 0;
15075 }
15076 _ACEOF
15077 rm -f conftest.$ac_objext
15078 if { (ac_try="$ac_compile"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compile") 2>conftest.er1
15085 ac_status=$?
15086 grep -v '^ *+' conftest.er1 >conftest.err
15087 rm -f conftest.er1
15088 cat conftest.err >&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } && {
15091 test -z "$ac_c_werror_flag" ||
15092 test ! -s conftest.err
15093 } && test -s conftest.$ac_objext; then
15094 bakefile_cv_c_compiler___xlC__=yes
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15098
15099 bakefile_cv_c_compiler___xlC__=no
15100
15101 fi
15102
15103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15104
15105
15106 fi
15107 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15108 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15109 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15110 :; XLCC=yes
15111 else
15112 :;
15113 fi
15114 ac_ext=c
15115 ac_cpp='$CPP $CPPFLAGS'
15116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15119
15120
15121
15122 ;;
15123
15124 Darwin)
15125
15126
15127 ac_ext=c
15128 ac_cpp='$CPP $CPPFLAGS'
15129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15132
15133 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15134 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15135 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148
15149 #ifndef __MWERKS__
15150 choke me
15151 #endif
15152
15153 ;
15154 return 0;
15155 }
15156 _ACEOF
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15162 esac
15163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15165 ac_status=$?
15166 grep -v '^ *+' conftest.er1 >conftest.err
15167 rm -f conftest.er1
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 bakefile_cv_c_compiler___MWERKS__=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15178
15179 bakefile_cv_c_compiler___MWERKS__=no
15180
15181 fi
15182
15183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15184
15185
15186 fi
15187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15188 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15189 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15190 :; MWCC=yes
15191 else
15192 :;
15193 fi
15194 ac_ext=c
15195 ac_cpp='$CPP $CPPFLAGS'
15196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15199
15200
15201
15202
15203
15204 ac_ext=c
15205 ac_cpp='$CPP $CPPFLAGS'
15206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15209
15210 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15211 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15212 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 int
15223 main ()
15224 {
15225
15226 #ifndef __xlC__
15227 choke me
15228 #endif
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 rm -f conftest.$ac_objext
15235 if { (ac_try="$ac_compile"
15236 case "(($ac_try" in
15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15239 esac
15240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15241 (eval "$ac_compile") 2>conftest.er1
15242 ac_status=$?
15243 grep -v '^ *+' conftest.er1 >conftest.err
15244 rm -f conftest.er1
15245 cat conftest.err >&5
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); } && {
15248 test -z "$ac_c_werror_flag" ||
15249 test ! -s conftest.err
15250 } && test -s conftest.$ac_objext; then
15251 bakefile_cv_c_compiler___xlC__=yes
15252 else
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15255
15256 bakefile_cv_c_compiler___xlC__=no
15257
15258 fi
15259
15260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15261
15262
15263 fi
15264 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15265 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15266 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15267 :; XLCC=yes
15268 else
15269 :;
15270 fi
15271 ac_ext=c
15272 ac_cpp='$CPP $CPPFLAGS'
15273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15276
15277
15278
15279 ;;
15280
15281 IRIX*)
15282
15283
15284 ac_ext=c
15285 ac_cpp='$CPP $CPPFLAGS'
15286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289
15290 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15291 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15292 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 else
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 #ifndef _SGI_COMPILER_VERSION
15307 choke me
15308 #endif
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (ac_try="$ac_compile"
15316 case "(($ac_try" in
15317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15318 *) ac_try_echo=$ac_try;;
15319 esac
15320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15321 (eval "$ac_compile") 2>conftest.er1
15322 ac_status=$?
15323 grep -v '^ *+' conftest.er1 >conftest.err
15324 rm -f conftest.er1
15325 cat conftest.err >&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } && {
15328 test -z "$ac_c_werror_flag" ||
15329 test ! -s conftest.err
15330 } && test -s conftest.$ac_objext; then
15331 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15332 else
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15337
15338 fi
15339
15340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15341
15342
15343 fi
15344 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15345 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15346 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15347 :; SGICC=yes
15348 else
15349 :;
15350 fi
15351 ac_ext=c
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15356
15357
15358
15359 ;;
15360
15361 Linux*)
15362
15363
15364 ac_ext=c
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15369
15370 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15371 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15372 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 else
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h. */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381
15382 int
15383 main ()
15384 {
15385
15386 #ifndef __SUNPRO_C
15387 choke me
15388 #endif
15389
15390 ;
15391 return 0;
15392 }
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15399 esac
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 bakefile_cv_c_compiler___SUNPRO_C=yes
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15415
15416 bakefile_cv_c_compiler___SUNPRO_C=no
15417
15418 fi
15419
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421
15422
15423 fi
15424 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15425 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15426 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15427 :; SUNCC=yes
15428 else
15429 :;
15430 fi
15431 ac_ext=c
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15436
15437
15438
15439 ;;
15440
15441 HP-UX*)
15442
15443
15444 ac_ext=c
15445 ac_cpp='$CPP $CPPFLAGS'
15446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15449
15450 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15451 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15452 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461
15462 int
15463 main ()
15464 {
15465
15466 #ifndef __HP_cc
15467 choke me
15468 #endif
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (ac_try="$ac_compile"
15476 case "(($ac_try" in
15477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15478 *) ac_try_echo=$ac_try;;
15479 esac
15480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15481 (eval "$ac_compile") 2>conftest.er1
15482 ac_status=$?
15483 grep -v '^ *+' conftest.er1 >conftest.err
15484 rm -f conftest.er1
15485 cat conftest.err >&5
15486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15487 (exit $ac_status); } && {
15488 test -z "$ac_c_werror_flag" ||
15489 test ! -s conftest.err
15490 } && test -s conftest.$ac_objext; then
15491 bakefile_cv_c_compiler___HP_cc=yes
15492 else
15493 echo "$as_me: failed program was:" >&5
15494 sed 's/^/| /' conftest.$ac_ext >&5
15495
15496 bakefile_cv_c_compiler___HP_cc=no
15497
15498 fi
15499
15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15501
15502
15503 fi
15504 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15505 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15506 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15507 :; HPCC=yes
15508 else
15509 :;
15510 fi
15511 ac_ext=c
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15516
15517
15518
15519 ;;
15520
15521 OSF1)
15522
15523
15524 ac_ext=c
15525 ac_cpp='$CPP $CPPFLAGS'
15526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15529
15530 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15531 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15532 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15533 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535 cat >conftest.$ac_ext <<_ACEOF
15536 /* confdefs.h. */
15537 _ACEOF
15538 cat confdefs.h >>conftest.$ac_ext
15539 cat >>conftest.$ac_ext <<_ACEOF
15540 /* end confdefs.h. */
15541
15542 int
15543 main ()
15544 {
15545
15546 #ifndef __DECC
15547 choke me
15548 #endif
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 bakefile_cv_c_compiler___DECC=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 bakefile_cv_c_compiler___DECC=no
15577
15578 fi
15579
15580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15581
15582
15583 fi
15584 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15585 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15586 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15587 :; COMPAQCC=yes
15588 else
15589 :;
15590 fi
15591 ac_ext=c
15592 ac_cpp='$CPP $CPPFLAGS'
15593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15596
15597
15598
15599 ;;
15600
15601 SunOS)
15602
15603
15604 ac_ext=c
15605 ac_cpp='$CPP $CPPFLAGS'
15606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609
15610 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15611 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15612 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 else
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621
15622 int
15623 main ()
15624 {
15625
15626 #ifndef __SUNPRO_C
15627 choke me
15628 #endif
15629
15630 ;
15631 return 0;
15632 }
15633 _ACEOF
15634 rm -f conftest.$ac_objext
15635 if { (ac_try="$ac_compile"
15636 case "(($ac_try" in
15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15638 *) ac_try_echo=$ac_try;;
15639 esac
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15641 (eval "$ac_compile") 2>conftest.er1
15642 ac_status=$?
15643 grep -v '^ *+' conftest.er1 >conftest.err
15644 rm -f conftest.er1
15645 cat conftest.err >&5
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); } && {
15648 test -z "$ac_c_werror_flag" ||
15649 test ! -s conftest.err
15650 } && test -s conftest.$ac_objext; then
15651 bakefile_cv_c_compiler___SUNPRO_C=yes
15652 else
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15655
15656 bakefile_cv_c_compiler___SUNPRO_C=no
15657
15658 fi
15659
15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15661
15662
15663 fi
15664 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15665 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15666 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15667 :; SUNCC=yes
15668 else
15669 :;
15670 fi
15671 ac_ext=c
15672 ac_cpp='$CPP $CPPFLAGS'
15673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15676
15677
15678
15679 ;;
15680 esac
15681 fi
15682
15683
15684
15685 ac_ext=c
15686 ac_cpp='$CPP $CPPFLAGS'
15687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15691 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15692 # On Suns, sometimes $CPP names a directory.
15693 if test -n "$CPP" && test -d "$CPP"; then
15694 CPP=
15695 fi
15696 if test -z "$CPP"; then
15697 if test "${ac_cv_prog_CPP+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700 # Double quotes because CPP needs to be expanded
15701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15702 do
15703 ac_preproc_ok=false
15704 for ac_c_preproc_warn_flag in '' yes
15705 do
15706 # Use a header file that comes with gcc, so configuring glibc
15707 # with a fresh cross-compiler works.
15708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15709 # <limits.h> exists even on freestanding compilers.
15710 # On the NeXT, cc -E runs the code through the compiler's parser,
15711 # not just through cpp. "Syntax error" is here to catch this case.
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 #ifdef __STDC__
15719 # include <limits.h>
15720 #else
15721 # include <assert.h>
15722 #endif
15723 Syntax error
15724 _ACEOF
15725 if { (ac_try="$ac_cpp conftest.$ac_ext"
15726 case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15729 esac
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15732 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } >/dev/null && {
15738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15740 }; then
15741 :
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15745
15746 # Broken: fails on valid input.
15747 continue
15748 fi
15749
15750 rm -f conftest.err conftest.$ac_ext
15751
15752 # OK, works on sane cases. Now check whether nonexistent headers
15753 # can be detected and how.
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <ac_nonexistent.h>
15761 _ACEOF
15762 if { (ac_try="$ac_cpp conftest.$ac_ext"
15763 case "(($ac_try" in
15764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15765 *) ac_try_echo=$ac_try;;
15766 esac
15767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15769 ac_status=$?
15770 grep -v '^ *+' conftest.er1 >conftest.err
15771 rm -f conftest.er1
15772 cat conftest.err >&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); } >/dev/null && {
15775 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15776 test ! -s conftest.err
15777 }; then
15778 # Broken: success on invalid input.
15779 continue
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784 # Passes both tests.
15785 ac_preproc_ok=:
15786 break
15787 fi
15788
15789 rm -f conftest.err conftest.$ac_ext
15790
15791 done
15792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15793 rm -f conftest.err conftest.$ac_ext
15794 if $ac_preproc_ok; then
15795 break
15796 fi
15797
15798 done
15799 ac_cv_prog_CPP=$CPP
15800
15801 fi
15802 CPP=$ac_cv_prog_CPP
15803 else
15804 ac_cv_prog_CPP=$CPP
15805 fi
15806 { echo "$as_me:$LINENO: result: $CPP" >&5
15807 echo "${ECHO_T}$CPP" >&6; }
15808 ac_preproc_ok=false
15809 for ac_c_preproc_warn_flag in '' yes
15810 do
15811 # Use a header file that comes with gcc, so configuring glibc
15812 # with a fresh cross-compiler works.
15813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15814 # <limits.h> exists even on freestanding compilers.
15815 # On the NeXT, cc -E runs the code through the compiler's parser,
15816 # not just through cpp. "Syntax error" is here to catch this case.
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 #ifdef __STDC__
15824 # include <limits.h>
15825 #else
15826 # include <assert.h>
15827 #endif
15828 Syntax error
15829 _ACEOF
15830 if { (ac_try="$ac_cpp conftest.$ac_ext"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15834 esac
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } >/dev/null && {
15843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15845 }; then
15846 :
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 # Broken: fails on valid input.
15852 continue
15853 fi
15854
15855 rm -f conftest.err conftest.$ac_ext
15856
15857 # OK, works on sane cases. Now check whether nonexistent headers
15858 # can be detected and how.
15859 cat >conftest.$ac_ext <<_ACEOF
15860 /* confdefs.h. */
15861 _ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865 #include <ac_nonexistent.h>
15866 _ACEOF
15867 if { (ac_try="$ac_cpp conftest.$ac_ext"
15868 case "(($ac_try" in
15869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15870 *) ac_try_echo=$ac_try;;
15871 esac
15872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15874 ac_status=$?
15875 grep -v '^ *+' conftest.er1 >conftest.err
15876 rm -f conftest.er1
15877 cat conftest.err >&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); } >/dev/null && {
15880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15881 test ! -s conftest.err
15882 }; then
15883 # Broken: success on invalid input.
15884 continue
15885 else
15886 echo "$as_me: failed program was:" >&5
15887 sed 's/^/| /' conftest.$ac_ext >&5
15888
15889 # Passes both tests.
15890 ac_preproc_ok=:
15891 break
15892 fi
15893
15894 rm -f conftest.err conftest.$ac_ext
15895
15896 done
15897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15898 rm -f conftest.err conftest.$ac_ext
15899 if $ac_preproc_ok; then
15900 :
15901 else
15902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15903 See \`config.log' for more details." >&5
15904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15905 See \`config.log' for more details." >&2;}
15906 { (exit 1); exit 1; }; }
15907 fi
15908
15909 ac_ext=c
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15914
15915
15916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15918 if test "${ac_cv_path_GREP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 # Extract the first word of "grep ggrep" to use in msg output
15922 if test -z "$GREP"; then
15923 set dummy grep ggrep; ac_prog_name=$2
15924 if test "${ac_cv_path_GREP+set}" = set; then
15925 echo $ECHO_N "(cached) $ECHO_C" >&6
15926 else
15927 ac_path_GREP_found=false
15928 # Loop through the user's path and test for each of PROGNAME-LIST
15929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15931 do
15932 IFS=$as_save_IFS
15933 test -z "$as_dir" && as_dir=.
15934 for ac_prog in grep ggrep; do
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15938 # Check for GNU ac_path_GREP and select it if it is found.
15939 # Check for GNU $ac_path_GREP
15940 case `"$ac_path_GREP" --version 2>&1` in
15941 *GNU*)
15942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
15943 *)
15944 ac_count=0
15945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15946 while :
15947 do
15948 cat "conftest.in" "conftest.in" >"conftest.tmp"
15949 mv "conftest.tmp" "conftest.in"
15950 cp "conftest.in" "conftest.nl"
15951 echo 'GREP' >> "conftest.nl"
15952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15954 ac_count=`expr $ac_count + 1`
15955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
15956 # Best one so far, save it but keep looking for a better one
15957 ac_cv_path_GREP="$ac_path_GREP"
15958 ac_path_GREP_max=$ac_count
15959 fi
15960 # 10*(2^10) chars as input seems more than enough
15961 test $ac_count -gt 10 && break
15962 done
15963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15964 esac
15965
15966
15967 $ac_path_GREP_found && break 3
15968 done
15969 done
15970
15971 done
15972 IFS=$as_save_IFS
15973
15974
15975 fi
15976
15977 GREP="$ac_cv_path_GREP"
15978 if test -z "$GREP"; then
15979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15981 { (exit 1); exit 1; }; }
15982 fi
15983
15984 else
15985 ac_cv_path_GREP=$GREP
15986 fi
15987
15988
15989 fi
15990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
15991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
15992 GREP="$ac_cv_path_GREP"
15993
15994
15995 { echo "$as_me:$LINENO: checking for egrep" >&5
15996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
15997 if test "${ac_cv_path_EGREP+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 else
16000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16001 then ac_cv_path_EGREP="$GREP -E"
16002 else
16003 # Extract the first word of "egrep" to use in msg output
16004 if test -z "$EGREP"; then
16005 set dummy egrep; ac_prog_name=$2
16006 if test "${ac_cv_path_EGREP+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 ac_path_EGREP_found=false
16010 # Loop through the user's path and test for each of PROGNAME-LIST
16011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16013 do
16014 IFS=$as_save_IFS
16015 test -z "$as_dir" && as_dir=.
16016 for ac_prog in egrep; do
16017 for ac_exec_ext in '' $ac_executable_extensions; do
16018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16020 # Check for GNU ac_path_EGREP and select it if it is found.
16021 # Check for GNU $ac_path_EGREP
16022 case `"$ac_path_EGREP" --version 2>&1` in
16023 *GNU*)
16024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16025 *)
16026 ac_count=0
16027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16028 while :
16029 do
16030 cat "conftest.in" "conftest.in" >"conftest.tmp"
16031 mv "conftest.tmp" "conftest.in"
16032 cp "conftest.in" "conftest.nl"
16033 echo 'EGREP' >> "conftest.nl"
16034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16036 ac_count=`expr $ac_count + 1`
16037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16038 # Best one so far, save it but keep looking for a better one
16039 ac_cv_path_EGREP="$ac_path_EGREP"
16040 ac_path_EGREP_max=$ac_count
16041 fi
16042 # 10*(2^10) chars as input seems more than enough
16043 test $ac_count -gt 10 && break
16044 done
16045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16046 esac
16047
16048
16049 $ac_path_EGREP_found && break 3
16050 done
16051 done
16052
16053 done
16054 IFS=$as_save_IFS
16055
16056
16057 fi
16058
16059 EGREP="$ac_cv_path_EGREP"
16060 if test -z "$EGREP"; then
16061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16063 { (exit 1); exit 1; }; }
16064 fi
16065
16066 else
16067 ac_cv_path_EGREP=$EGREP
16068 fi
16069
16070
16071 fi
16072 fi
16073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16075 EGREP="$ac_cv_path_EGREP"
16076
16077
16078 if test $ac_cv_c_compiler_gnu = yes; then
16079 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16080 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16081 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16082 echo $ECHO_N "(cached) $ECHO_C" >&6
16083 else
16084 ac_pattern="Autoconf.*'x'"
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #include <sgtty.h>
16092 Autoconf TIOCGETP
16093 _ACEOF
16094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16095 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16096 ac_cv_prog_gcc_traditional=yes
16097 else
16098 ac_cv_prog_gcc_traditional=no
16099 fi
16100 rm -f conftest*
16101
16102
16103 if test $ac_cv_prog_gcc_traditional = no; then
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <termio.h>
16111 Autoconf TCGETA
16112 _ACEOF
16113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16114 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16115 ac_cv_prog_gcc_traditional=yes
16116 fi
16117 rm -f conftest*
16118
16119 fi
16120 fi
16121 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16122 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16123 if test $ac_cv_prog_gcc_traditional = yes; then
16124 CC="$CC -traditional"
16125 fi
16126 fi
16127
16128
16129 CXXFLAGS=${CXXFLAGS:=}
16130
16131
16132
16133 ac_ext=cpp
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16138 if test -z "$CXX"; then
16139 if test -n "$CCC"; then
16140 CXX=$CCC
16141 else
16142 if test -n "$ac_tool_prefix"; then
16143 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16144 do
16145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16149 if test "${ac_cv_prog_CXX+set}" = set; then
16150 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 else
16152 if test -n "$CXX"; then
16153 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16154 else
16155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156 for as_dir in $PATH
16157 do
16158 IFS=$as_save_IFS
16159 test -z "$as_dir" && as_dir=.
16160 for ac_exec_ext in '' $ac_executable_extensions; do
16161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16162 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16164 break 2
16165 fi
16166 done
16167 done
16168 IFS=$as_save_IFS
16169
16170 fi
16171 fi
16172 CXX=$ac_cv_prog_CXX
16173 if test -n "$CXX"; then
16174 { echo "$as_me:$LINENO: result: $CXX" >&5
16175 echo "${ECHO_T}$CXX" >&6; }
16176 else
16177 { echo "$as_me:$LINENO: result: no" >&5
16178 echo "${ECHO_T}no" >&6; }
16179 fi
16180
16181
16182 test -n "$CXX" && break
16183 done
16184 fi
16185 if test -z "$CXX"; then
16186 ac_ct_CXX=$CXX
16187 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16188 do
16189 # Extract the first word of "$ac_prog", so it can be a program name with args.
16190 set dummy $ac_prog; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 if test -n "$ac_ct_CXX"; then
16197 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16198 else
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16201 do
16202 IFS=$as_save_IFS
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_CXX="$ac_prog"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 break 2
16209 fi
16210 done
16211 done
16212 IFS=$as_save_IFS
16213
16214 fi
16215 fi
16216 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16217 if test -n "$ac_ct_CXX"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16219 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16220 else
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16223 fi
16224
16225
16226 test -n "$ac_ct_CXX" && break
16227 done
16228
16229 if test "x$ac_ct_CXX" = x; then
16230 CXX="g++"
16231 else
16232 case $cross_compiling:$ac_tool_warned in
16233 yes:)
16234 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16235 whose name does not start with the host triplet. If you think this
16236 configuration is useful to you, please write to autoconf@gnu.org." >&5
16237 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16238 whose name does not start with the host triplet. If you think this
16239 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16240 ac_tool_warned=yes ;;
16241 esac
16242 CXX=$ac_ct_CXX
16243 fi
16244 fi
16245
16246 fi
16247 fi
16248 # Provide some information about the compiler.
16249 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16250 ac_compiler=`set X $ac_compile; echo $2`
16251 { (ac_try="$ac_compiler --version >&5"
16252 case "(($ac_try" in
16253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16255 esac
16256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16257 (eval "$ac_compiler --version >&5") 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }
16261 { (ac_try="$ac_compiler -v >&5"
16262 case "(($ac_try" in
16263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16264 *) ac_try_echo=$ac_try;;
16265 esac
16266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16267 (eval "$ac_compiler -v >&5") 2>&5
16268 ac_status=$?
16269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270 (exit $ac_status); }
16271 { (ac_try="$ac_compiler -V >&5"
16272 case "(($ac_try" in
16273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16275 esac
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_compiler -V >&5") 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }
16281
16282 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16283 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16284 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16285 echo $ECHO_N "(cached) $ECHO_C" >&6
16286 else
16287 cat >conftest.$ac_ext <<_ACEOF
16288 /* confdefs.h. */
16289 _ACEOF
16290 cat confdefs.h >>conftest.$ac_ext
16291 cat >>conftest.$ac_ext <<_ACEOF
16292 /* end confdefs.h. */
16293
16294 int
16295 main ()
16296 {
16297 #ifndef __GNUC__
16298 choke me
16299 #endif
16300
16301 ;
16302 return 0;
16303 }
16304 _ACEOF
16305 rm -f conftest.$ac_objext
16306 if { (ac_try="$ac_compile"
16307 case "(($ac_try" in
16308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16310 esac
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_compile") 2>conftest.er1
16313 ac_status=$?
16314 grep -v '^ *+' conftest.er1 >conftest.err
16315 rm -f conftest.er1
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } && {
16319 test -z "$ac_cxx_werror_flag" ||
16320 test ! -s conftest.err
16321 } && test -s conftest.$ac_objext; then
16322 ac_compiler_gnu=yes
16323 else
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 ac_compiler_gnu=no
16328 fi
16329
16330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16331 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16332
16333 fi
16334 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16335 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16336 GXX=`test $ac_compiler_gnu = yes && echo yes`
16337 ac_test_CXXFLAGS=${CXXFLAGS+set}
16338 ac_save_CXXFLAGS=$CXXFLAGS
16339 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16340 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16341 if test "${ac_cv_prog_cxx_g+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16345 ac_cxx_werror_flag=yes
16346 ac_cv_prog_cxx_g=no
16347 CXXFLAGS="-g"
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 int
16356 main ()
16357 {
16358
16359 ;
16360 return 0;
16361 }
16362 _ACEOF
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_cxx_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 ac_cv_prog_cxx_g=yes
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16384
16385 CXXFLAGS=""
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16392
16393 int
16394 main ()
16395 {
16396
16397 ;
16398 return 0;
16399 }
16400 _ACEOF
16401 rm -f conftest.$ac_objext
16402 if { (ac_try="$ac_compile"
16403 case "(($ac_try" in
16404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16405 *) ac_try_echo=$ac_try;;
16406 esac
16407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16408 (eval "$ac_compile") 2>conftest.er1
16409 ac_status=$?
16410 grep -v '^ *+' conftest.er1 >conftest.err
16411 rm -f conftest.er1
16412 cat conftest.err >&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } && {
16415 test -z "$ac_cxx_werror_flag" ||
16416 test ! -s conftest.err
16417 } && test -s conftest.$ac_objext; then
16418 :
16419 else
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16424 CXXFLAGS="-g"
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431
16432 int
16433 main ()
16434 {
16435
16436 ;
16437 return 0;
16438 }
16439 _ACEOF
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_cxx_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16457 ac_cv_prog_cxx_g=yes
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462
16463 fi
16464
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16466 fi
16467
16468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16469 fi
16470
16471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16473 fi
16474 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16475 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16476 if test "$ac_test_CXXFLAGS" = set; then
16477 CXXFLAGS=$ac_save_CXXFLAGS
16478 elif test $ac_cv_prog_cxx_g = yes; then
16479 if test "$GXX" = yes; then
16480 CXXFLAGS="-g -O2"
16481 else
16482 CXXFLAGS="-g"
16483 fi
16484 else
16485 if test "$GXX" = yes; then
16486 CXXFLAGS="-O2"
16487 else
16488 CXXFLAGS=
16489 fi
16490 fi
16491 ac_ext=c
16492 ac_cpp='$CPP $CPPFLAGS'
16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16496
16497
16498
16499
16500 ac_ext=cpp
16501 ac_cpp='$CXXCPP $CPPFLAGS'
16502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16505
16506 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16507 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16508 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16509 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 else
16511 cat >conftest.$ac_ext <<_ACEOF
16512 /* confdefs.h. */
16513 _ACEOF
16514 cat confdefs.h >>conftest.$ac_ext
16515 cat >>conftest.$ac_ext <<_ACEOF
16516 /* end confdefs.h. */
16517
16518 int
16519 main ()
16520 {
16521
16522 #ifndef __INTEL_COMPILER
16523 choke me
16524 #endif
16525
16526 ;
16527 return 0;
16528 }
16529 _ACEOF
16530 rm -f conftest.$ac_objext
16531 if { (ac_try="$ac_compile"
16532 case "(($ac_try" in
16533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16534 *) ac_try_echo=$ac_try;;
16535 esac
16536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16537 (eval "$ac_compile") 2>conftest.er1
16538 ac_status=$?
16539 grep -v '^ *+' conftest.er1 >conftest.err
16540 rm -f conftest.er1
16541 cat conftest.err >&5
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); } && {
16544 test -z "$ac_cxx_werror_flag" ||
16545 test ! -s conftest.err
16546 } && test -s conftest.$ac_objext; then
16547 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16548 else
16549 echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16551
16552 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16553
16554 fi
16555
16556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16557
16558
16559 fi
16560 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16561 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16562 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16563 :; INTELCXX=yes
16564 else
16565 :;
16566 fi
16567 ac_ext=c
16568 ac_cpp='$CPP $CPPFLAGS'
16569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16572
16573
16574
16575
16576 if test "x$GCXX" != "xyes"; then
16577 if test "xCXX" = "xC"; then
16578 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16579 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16580 if test "${bakefile_cv_c_exto+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589
16590 int
16591 main ()
16592 {
16593
16594 ;
16595 return 0;
16596 }
16597 _ACEOF
16598 rm -f conftest.$ac_objext conftest.$ac_ext.o
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); }; then
16604 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16605 case $ac_file in
16606 conftest.$ac_ext.o)
16607 bakefile_cv_c_exto="-ext o"
16608 ;;
16609 *)
16610 ;;
16611 esac
16612 done
16613 else
16614 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16615 See \`config.log' for more details." >&5
16616 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16617 See \`config.log' for more details." >&2;}
16618 { (exit 1); exit 1; }; }
16619
16620 fi
16621
16622 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16623
16624 fi
16625 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16626 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16627 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16628 if test "c" = "c"; then
16629 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16630 fi
16631 if test "c" = "cxx"; then
16632 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16633 fi
16634 fi
16635
16636 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16637 unset ac_cv_prog_cc_g
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16642 if test "${ac_cv_prog_cc_g+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 ac_save_c_werror_flag=$ac_c_werror_flag
16646 ac_c_werror_flag=yes
16647 ac_cv_prog_cc_g=no
16648 CFLAGS="-g"
16649 cat >conftest.$ac_ext <<_ACEOF
16650 /* confdefs.h. */
16651 _ACEOF
16652 cat confdefs.h >>conftest.$ac_ext
16653 cat >>conftest.$ac_ext <<_ACEOF
16654 /* end confdefs.h. */
16655
16656 int
16657 main ()
16658 {
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (ac_try="$ac_compile"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compile") 2>conftest.er1
16672 ac_status=$?
16673 grep -v '^ *+' conftest.er1 >conftest.err
16674 rm -f conftest.er1
16675 cat conftest.err >&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } && {
16678 test -z "$ac_c_werror_flag" ||
16679 test ! -s conftest.err
16680 } && test -s conftest.$ac_objext; then
16681 ac_cv_prog_cc_g=yes
16682 else
16683 echo "$as_me: failed program was:" >&5
16684 sed 's/^/| /' conftest.$ac_ext >&5
16685
16686 CFLAGS=""
16687 cat >conftest.$ac_ext <<_ACEOF
16688 /* confdefs.h. */
16689 _ACEOF
16690 cat confdefs.h >>conftest.$ac_ext
16691 cat >>conftest.$ac_ext <<_ACEOF
16692 /* end confdefs.h. */
16693
16694 int
16695 main ()
16696 {
16697
16698 ;
16699 return 0;
16700 }
16701 _ACEOF
16702 rm -f conftest.$ac_objext
16703 if { (ac_try="$ac_compile"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compile") 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest.$ac_objext; then
16719 :
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 ac_c_werror_flag=$ac_save_c_werror_flag
16725 CFLAGS="-g"
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732
16733 int
16734 main ()
16735 {
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16759 else
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16762
16763
16764 fi
16765
16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 fi
16768
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 fi
16771
16772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16773 ac_c_werror_flag=$ac_save_c_werror_flag
16774 fi
16775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16777 if test "$ac_test_CFLAGS" = set; then
16778 CFLAGS=$ac_save_CFLAGS
16779 elif test $ac_cv_prog_cc_g = yes; then
16780 if test "$GCC" = yes; then
16781 CFLAGS="-g -O2"
16782 else
16783 CFLAGS="-g"
16784 fi
16785 else
16786 if test "$GCC" = yes; then
16787 CFLAGS="-O2"
16788 else
16789 CFLAGS=
16790 fi
16791 fi
16792 fi
16793 fi
16794
16795 case `uname -s` in
16796 AIX*)
16797
16798
16799 ac_ext=cpp
16800 ac_cpp='$CXXCPP $CPPFLAGS'
16801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16804
16805 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16806 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16807 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816
16817 int
16818 main ()
16819 {
16820
16821 #ifndef __xlC__
16822 choke me
16823 #endif
16824
16825 ;
16826 return 0;
16827 }
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16834 esac
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_cxx_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.$ac_objext; then
16846 bakefile_cv_cxx_compiler___xlC__=yes
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 bakefile_cv_cxx_compiler___xlC__=no
16852
16853 fi
16854
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856
16857
16858 fi
16859 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16860 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16861 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16862 :; XLCXX=yes
16863 else
16864 :;
16865 fi
16866 ac_ext=c
16867 ac_cpp='$CPP $CPPFLAGS'
16868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16871
16872
16873
16874 ;;
16875
16876 Darwin)
16877
16878
16879 ac_ext=cpp
16880 ac_cpp='$CXXCPP $CPPFLAGS'
16881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16884
16885 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16886 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16887 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896
16897 int
16898 main ()
16899 {
16900
16901 #ifndef __MWERKS__
16902 choke me
16903 #endif
16904
16905 ;
16906 return 0;
16907 }
16908 _ACEOF
16909 rm -f conftest.$ac_objext
16910 if { (ac_try="$ac_compile"
16911 case "(($ac_try" in
16912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16913 *) ac_try_echo=$ac_try;;
16914 esac
16915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16916 (eval "$ac_compile") 2>conftest.er1
16917 ac_status=$?
16918 grep -v '^ *+' conftest.er1 >conftest.err
16919 rm -f conftest.er1
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } && {
16923 test -z "$ac_cxx_werror_flag" ||
16924 test ! -s conftest.err
16925 } && test -s conftest.$ac_objext; then
16926 bakefile_cv_cxx_compiler___MWERKS__=yes
16927 else
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16930
16931 bakefile_cv_cxx_compiler___MWERKS__=no
16932
16933 fi
16934
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936
16937
16938 fi
16939 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16940 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16941 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16942 :; MWCXX=yes
16943 else
16944 :;
16945 fi
16946 ac_ext=c
16947 ac_cpp='$CPP $CPPFLAGS'
16948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951
16952
16953
16954
16955
16956 ac_ext=cpp
16957 ac_cpp='$CXXCPP $CPPFLAGS'
16958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16961
16962 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16963 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 #ifndef __xlC__
16979 choke me
16980 #endif
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16994 ac_status=$?
16995 grep -v '^ *+' conftest.er1 >conftest.err
16996 rm -f conftest.er1
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_cxx_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_cxx_compiler___xlC__=yes
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17007
17008 bakefile_cv_cxx_compiler___xlC__=no
17009
17010 fi
17011
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013
17014
17015 fi
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17017 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17018 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17019 :; XLCXX=yes
17020 else
17021 :;
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031 ;;
17032
17033 IRIX*)
17034
17035
17036 ac_ext=cpp
17037 ac_cpp='$CXXCPP $CPPFLAGS'
17038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17041
17042 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17043 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17044 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053
17054 int
17055 main ()
17056 {
17057
17058 #ifndef _SGI_COMPILER_VERSION
17059 choke me
17060 #endif
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_cxx_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17087
17088 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17089
17090 fi
17091
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094
17095 fi
17096 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17097 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17098 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17099 :; SGICXX=yes
17100 else
17101 :;
17102 fi
17103 ac_ext=c
17104 ac_cpp='$CPP $CPPFLAGS'
17105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17108
17109
17110
17111 ;;
17112
17113 Linux*)
17114
17115
17116 ac_ext=cpp
17117 ac_cpp='$CXXCPP $CPPFLAGS'
17118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17121
17122 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17123 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17124 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133
17134 int
17135 main ()
17136 {
17137
17138 #ifndef __SUNPRO_CC
17139 choke me
17140 #endif
17141
17142 ;
17143 return 0;
17144 }
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17151 esac
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_cxx_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.$ac_objext; then
17163 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17169
17170 fi
17171
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173
17174
17175 fi
17176 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17177 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17178 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17179 :; SUNCXX=yes
17180 else
17181 :;
17182 fi
17183 ac_ext=c
17184 ac_cpp='$CPP $CPPFLAGS'
17185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17188
17189
17190
17191 ;;
17192
17193 HP-UX*)
17194
17195
17196 ac_ext=cpp
17197 ac_cpp='$CXXCPP $CPPFLAGS'
17198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17201
17202 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17203 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17204 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17213
17214 int
17215 main ()
17216 {
17217
17218 #ifndef __HP_aCC
17219 choke me
17220 #endif
17221
17222 ;
17223 return 0;
17224 }
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (ac_try="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17231 esac
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_cxx_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 bakefile_cv_cxx_compiler___HP_aCC=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17247
17248 bakefile_cv_cxx_compiler___HP_aCC=no
17249
17250 fi
17251
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253
17254
17255 fi
17256 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17257 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17258 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17259 :; HPCXX=yes
17260 else
17261 :;
17262 fi
17263 ac_ext=c
17264 ac_cpp='$CPP $CPPFLAGS'
17265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17268
17269
17270
17271 ;;
17272
17273 OSF1)
17274
17275
17276 ac_ext=cpp
17277 ac_cpp='$CXXCPP $CPPFLAGS'
17278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281
17282 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17283 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17284 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293
17294 int
17295 main ()
17296 {
17297
17298 #ifndef __DECCXX
17299 choke me
17300 #endif
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_cxx_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 bakefile_cv_cxx_compiler___DECCXX=yes
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17327
17328 bakefile_cv_cxx_compiler___DECCXX=no
17329
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333
17334
17335 fi
17336 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17337 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17338 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17339 :; COMPAQCXX=yes
17340 else
17341 :;
17342 fi
17343 ac_ext=c
17344 ac_cpp='$CPP $CPPFLAGS'
17345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17348
17349
17350
17351 ;;
17352
17353 SunOS)
17354
17355
17356 ac_ext=cpp
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17361
17362 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17363 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17364 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17365 echo $ECHO_N "(cached) $ECHO_C" >&6
17366 else
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373
17374 int
17375 main ()
17376 {
17377
17378 #ifndef __SUNPRO_CC
17379 choke me
17380 #endif
17381
17382 ;
17383 return 0;
17384 }
17385 _ACEOF
17386 rm -f conftest.$ac_objext
17387 if { (ac_try="$ac_compile"
17388 case "(($ac_try" in
17389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17390 *) ac_try_echo=$ac_try;;
17391 esac
17392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17393 (eval "$ac_compile") 2>conftest.er1
17394 ac_status=$?
17395 grep -v '^ *+' conftest.er1 >conftest.err
17396 rm -f conftest.er1
17397 cat conftest.err >&5
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); } && {
17400 test -z "$ac_cxx_werror_flag" ||
17401 test ! -s conftest.err
17402 } && test -s conftest.$ac_objext; then
17403 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17409
17410 fi
17411
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413
17414
17415 fi
17416 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17417 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17418 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17419 :; SUNCXX=yes
17420 else
17421 :;
17422 fi
17423 ac_ext=c
17424 ac_cpp='$CPP $CPPFLAGS'
17425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17428
17429
17430
17431 ;;
17432 esac
17433 fi
17434
17435
17436
17437 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17438 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17439 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17440 { (exit 1); exit 1; }; }
17441 fi
17442
17443 if test "x$SUNCXX" != xyes; then
17444 if test -n "$ac_tool_prefix"; then
17445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17446 set dummy ${ac_tool_prefix}ar; ac_word=$2
17447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17449 if test "${ac_cv_prog_AR+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 if test -n "$AR"; then
17453 ac_cv_prog_AR="$AR" # Let the user override the test.
17454 else
17455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17456 for as_dir in $PATH
17457 do
17458 IFS=$as_save_IFS
17459 test -z "$as_dir" && as_dir=.
17460 for ac_exec_ext in '' $ac_executable_extensions; do
17461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17462 ac_cv_prog_AR="${ac_tool_prefix}ar"
17463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17464 break 2
17465 fi
17466 done
17467 done
17468 IFS=$as_save_IFS
17469
17470 fi
17471 fi
17472 AR=$ac_cv_prog_AR
17473 if test -n "$AR"; then
17474 { echo "$as_me:$LINENO: result: $AR" >&5
17475 echo "${ECHO_T}$AR" >&6; }
17476 else
17477 { echo "$as_me:$LINENO: result: no" >&5
17478 echo "${ECHO_T}no" >&6; }
17479 fi
17480
17481
17482 fi
17483 if test -z "$ac_cv_prog_AR"; then
17484 ac_ct_AR=$AR
17485 # Extract the first word of "ar", so it can be a program name with args.
17486 set dummy ar; ac_word=$2
17487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 else
17492 if test -n "$ac_ct_AR"; then
17493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17494 else
17495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17496 for as_dir in $PATH
17497 do
17498 IFS=$as_save_IFS
17499 test -z "$as_dir" && as_dir=.
17500 for ac_exec_ext in '' $ac_executable_extensions; do
17501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17502 ac_cv_prog_ac_ct_AR="ar"
17503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17504 break 2
17505 fi
17506 done
17507 done
17508 IFS=$as_save_IFS
17509
17510 fi
17511 fi
17512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17513 if test -n "$ac_ct_AR"; then
17514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17515 echo "${ECHO_T}$ac_ct_AR" >&6; }
17516 else
17517 { echo "$as_me:$LINENO: result: no" >&5
17518 echo "${ECHO_T}no" >&6; }
17519 fi
17520
17521 if test "x$ac_ct_AR" = x; then
17522 AR=""
17523 else
17524 case $cross_compiling:$ac_tool_warned in
17525 yes:)
17526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17527 whose name does not start with the host triplet. If you think this
17528 configuration is useful to you, please write to autoconf@gnu.org." >&5
17529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17530 whose name does not start with the host triplet. If you think this
17531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17532 ac_tool_warned=yes ;;
17533 esac
17534 AR=$ac_ct_AR
17535 fi
17536 else
17537 AR="$ac_cv_prog_AR"
17538 fi
17539
17540 if test "x$AR" = "x" ; then
17541 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17542 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17544 fi
17545 fi
17546
17547 retest_macosx_linking=no
17548
17549 #if test "$wxUSE_MAC" = 1; then
17550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17552 # Implicitly turn on the new --with-macosx-sdk using the default
17553 # SDK which provides the behavior this option has always had.
17554 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17555 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17556 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17557 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17558 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17559 wxUSE_MACOSX_SDK=yes
17560 fi
17561 else
17562 # Complain to user if he specified an argument to --enable-universal_binary
17563 # and also 1) specified --with-macosx-sdk using the default (yes) or
17564 # 2) specified --with-macosx-sdk using a path or 3) specified
17565 # --without-macosx-sdk (no).
17566 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17567 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17568 See \`config.log' for more details." >&5
17569 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17570 See \`config.log' for more details." >&2;}
17571 { (exit 1); exit 1; }; }
17572 else
17573 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17574 # special-case the empty string because the below test simply
17575 # converts "no" to the empty string anyway.
17576 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17577 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17578 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17579 fi
17580 fi
17581 OSX_UNIV_OPTS="-arch ppc -arch i386"
17582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17585 retest_macosx_linking=yes
17586
17587 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17588 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17589 bk_use_pch=no
17590 fi
17591 #fi
17592
17593 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17594 wxUSE_MACOSX_SDK=
17595 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17596 # TODO: Search for most recent SDK and use it.
17597 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17598 fi
17599
17600
17601 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17602 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17603 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17604 if ! test -d "$wxUSE_MACOSX_SDK"; then
17605 { { echo "$as_me:$LINENO: error: not found
17606 See \`config.log' for more details." >&5
17607 echo "$as_me: error: not found
17608 See \`config.log' for more details." >&2;}
17609 { (exit 1); exit 1; }; }
17610 else
17611 { echo "$as_me:$LINENO: result: exists" >&5
17612 echo "${ECHO_T}exists" >&6; }
17613 fi
17614 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17615 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17616 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17617 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17618 retest_macosx_linking=yes
17619 fi
17620
17621 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17622 wxUSE_MACOSX_VERSION_MIN=
17623 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17624 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17625 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17626 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17627
17628 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/'`
17629
17630 # If that failed, try again with the new key
17631 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17632
17633 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/'`
17634
17635 fi
17636
17637 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17638 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17639 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17640 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17641 else
17642 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17643 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17644 wxUSE_MACOSX_VERSION_MIN=
17645 fi
17646 else
17647 wxUSE_MACOSX_VERSION_MIN=
17648 fi
17649 fi
17650
17651 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17652 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17653 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17654 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17655 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17656 retest_macosx_linking=yes
17657 fi
17658
17659 if test "x$retest_macosx_linking" = "xyes"; then
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17667 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674
17675 int
17676 main ()
17677 {
17678
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17691 ac_status=$?
17692 grep -v '^ *+' conftest.er1 >conftest.err
17693 rm -f conftest.er1
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 { echo "$as_me:$LINENO: result: yes" >&5
17702 echo "${ECHO_T}yes" >&6; }
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17706
17707 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17708 See \`config.log' for more details." >&5
17709 echo "$as_me: error: no. Try a different SDK
17710 See \`config.log' for more details." >&2;}
17711 { (exit 1); exit 1; }; }; exit 1
17712 fi
17713
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17716 ac_ext=c
17717 ac_cpp='$CPP $CPPFLAGS'
17718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17721
17722
17723 ac_ext=cpp
17724 ac_cpp='$CXXCPP $CPPFLAGS'
17725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728
17729 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17730 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737
17738 int
17739 main ()
17740 {
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext conftest$ac_exeext
17747 if { (ac_try="$ac_link"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_link") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest$ac_exeext &&
17763 $as_test_x conftest$ac_exeext; then
17764 { echo "$as_me:$LINENO: result: yes" >&5
17765 echo "${ECHO_T}yes" >&6; }
17766 else
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17769
17770 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17771 See \`config.log' for more details." >&5
17772 echo "$as_me: error: no. Try a different SDK
17773 See \`config.log' for more details." >&2;}
17774 { (exit 1); exit 1; }; }; exit 1
17775 fi
17776
17777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17778 conftest$ac_exeext conftest.$ac_ext
17779 ac_ext=c
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784
17785 fi
17786
17787
17788 case "${host}" in
17789
17790 *-*-darwin* )
17791 INSTALL_PROGRAM="cp -fp"
17792 INSTALL_DATA="cp -fp"
17793 ;;
17794 *)
17795 ;;
17796 esac
17797
17798
17799 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17800 CXXFLAGS="-qunique $CXXFLAGS"
17801 fi
17802
17803 case "${host}" in
17804 powerpc-*-darwin* )
17805 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17806 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h. */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h. */
17813
17814 int
17815 main ()
17816 {
17817 #ifndef __POWERPC__
17818 choke me for lack of PowerPC
17819 #endif
17820
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17829 *) ac_try_echo=$ac_try;;
17830 esac
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_c_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.$ac_objext; then
17842 { echo "$as_me:$LINENO: result: yes" >&5
17843 echo "${ECHO_T}yes" >&6; }
17844 else
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.$ac_ext >&5
17847
17848 { echo "$as_me:$LINENO: result: no" >&5
17849 echo "${ECHO_T}no" >&6; }
17850 cat >>confdefs.h <<\_ACEOF
17851 #define __POWERPC__ 1
17852 _ACEOF
17853
17854
17855 fi
17856
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 ;;
17859 esac
17860
17861 case "${host}" in
17862 *-*-darwin* )
17863 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17864 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17865 cat >conftest.$ac_ext <<_ACEOF
17866 /* confdefs.h. */
17867 _ACEOF
17868 cat confdefs.h >>conftest.$ac_ext
17869 cat >>conftest.$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17871 #include <CoreFoundation/CFBase.h>
17872
17873 int
17874 main ()
17875 {
17876
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 { echo "$as_me:$LINENO: result: yes" >&5
17899 echo "${ECHO_T}yes" >&6; }
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17903
17904 { echo "$as_me:$LINENO: result: no" >&5
17905 echo "${ECHO_T}no" >&6; }
17906 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17907 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #define __CF_USE_FRAMEWORK_INCLUDES__
17915 #include <CoreFoundation/CFBase.h>
17916
17917 int
17918 main ()
17919 {
17920
17921 ;
17922 return 0;
17923 }
17924 _ACEOF
17925 rm -f conftest.$ac_objext
17926 if { (ac_try="$ac_compile"
17927 case "(($ac_try" in
17928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17929 *) ac_try_echo=$ac_try;;
17930 esac
17931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17932 (eval "$ac_compile") 2>conftest.er1
17933 ac_status=$?
17934 grep -v '^ *+' conftest.er1 >conftest.err
17935 rm -f conftest.er1
17936 cat conftest.err >&5
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } && {
17939 test -z "$ac_c_werror_flag" ||
17940 test ! -s conftest.err
17941 } && test -s conftest.$ac_objext; then
17942 { echo "$as_me:$LINENO: result: yes" >&5
17943 echo "${ECHO_T}yes" >&6; }
17944 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17948
17949 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17950 See \`config.log' for more details." >&5
17951 echo "$as_me: error: no. CoreFoundation not available.
17952 See \`config.log' for more details." >&2;}
17953 { (exit 1); exit 1; }; }
17954
17955 fi
17956
17957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958
17959
17960 fi
17961
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 ;;
17964 esac
17965
17966 wants_win32=0
17967 doesnt_want_win32=0
17968 case "${host}" in
17969 *-*-cygwin*)
17970 if test "$wxUSE_MSW" = 1 ; then
17971 wants_win32=1
17972 else
17973 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17974 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17975 if test "${wx_cv_nocygwin+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 #ifdef __MINGW32__
17991 choke me
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (ac_try="$ac_compile"
18000 case "(($ac_try" in
18001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18002 *) ac_try_echo=$ac_try;;
18003 esac
18004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18005 (eval "$ac_compile") 2>conftest.er1
18006 ac_status=$?
18007 grep -v '^ *+' conftest.er1 >conftest.err
18008 rm -f conftest.er1
18009 cat conftest.err >&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } && {
18012 test -z "$ac_c_werror_flag" ||
18013 test ! -s conftest.err
18014 } && test -s conftest.$ac_objext; then
18015 wx_cv_nocygwin=no
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 wx_cv_nocygwin=yes
18021
18022 fi
18023
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025
18026
18027 fi
18028 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18029 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18030
18031 if test "$wx_cv_nocygwin" = "yes"; then
18032 wants_win32=1
18033 else
18034 doesnt_want_win32=1
18035 fi
18036 fi
18037 if test "$wants_win32" = 1 ; then
18038 BAKEFILE_FORCE_PLATFORM=win32
18039 fi
18040 ;;
18041 *-*-mingw*)
18042 wants_win32=1
18043 ;;
18044 esac
18045
18046 if test "$wxUSE_WINE" = "yes"; then
18047 wants_win32=1
18048 LDFLAGS_GUI="-mwindows"
18049 fi
18050
18051 if test "$wants_win32" = 1 ; then
18052 USE_UNIX=0
18053 USE_WIN32=1
18054 cat >>confdefs.h <<\_ACEOF
18055 #define __WIN32__ 1
18056 _ACEOF
18057
18058 cat >>confdefs.h <<\_ACEOF
18059 #define __WIN95__ 1
18060 _ACEOF
18061
18062 cat >>confdefs.h <<\_ACEOF
18063 #define __WINDOWS__ 1
18064 _ACEOF
18065
18066 cat >>confdefs.h <<\_ACEOF
18067 #define __GNUWIN32__ 1
18068 _ACEOF
18069
18070 cat >>confdefs.h <<\_ACEOF
18071 #define STRICT 1
18072 _ACEOF
18073
18074 fi
18075 if test "$doesnt_want_win32" = 1 ; then
18076 USE_UNIX=1
18077 USE_WIN32=0
18078 fi
18079
18080 if test "$USE_UNIX" = 1 ; then
18081 wxUSE_UNIX=yes
18082 cat >>confdefs.h <<\_ACEOF
18083 #define __UNIX__ 1
18084 _ACEOF
18085
18086 fi
18087
18088 case "${host}" in
18089 *-pc-os2_emx | *-pc-os2-emx )
18090 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18091 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18092 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18093 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 ac_check_lib_save_LIBS=$LIBS
18097 LIBS="-lcExt $LIBS"
18098 cat >conftest.$ac_ext <<_ACEOF
18099 /* confdefs.h. */
18100 _ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104
18105 /* Override any GCC internal prototype to avoid an error.
18106 Use char because int might match the return type of a GCC
18107 builtin and then its argument prototype would still apply. */
18108 #ifdef __cplusplus
18109 extern "C"
18110 #endif
18111 char drand48 ();
18112 int
18113 main ()
18114 {
18115 return drand48 ();
18116 ;
18117 return 0;
18118 }
18119 _ACEOF
18120 rm -f conftest.$ac_objext conftest$ac_exeext
18121 if { (ac_try="$ac_link"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18125 esac
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_link") 2>conftest.er1
18128 ac_status=$?
18129 grep -v '^ *+' conftest.er1 >conftest.err
18130 rm -f conftest.er1
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest$ac_exeext &&
18137 $as_test_x conftest$ac_exeext; then
18138 ac_cv_lib_cExt_drand48=yes
18139 else
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 ac_cv_lib_cExt_drand48=no
18144 fi
18145
18146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18149 fi
18150 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18151 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18152 if test $ac_cv_lib_cExt_drand48 = yes; then
18153 LIBS="$LIBS -lcExt"
18154 fi
18155
18156 else
18157 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18158 fi
18159 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18160 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18161 if test "${wx_cv_gccversion+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18163 else
18164
18165 if test "$cross_compiling" = yes; then
18166 wx_cv_gccversion="EMX2"
18167
18168 else
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175
18176 #include <stdio.h>
18177
18178 int main()
18179 {
18180 FILE *f=fopen("conftestval", "w");
18181 if (!f) exit(1);
18182 fprintf(f,
18183 #if (__GNUC__ < 3)
18184 "EMX2"
18185 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18186 "EMX3"
18187 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18188 "Innotek5"
18189 #else
18190 "Innotek6"
18191 #endif
18192 );
18193 exit(0);
18194 }
18195
18196 _ACEOF
18197 rm -f conftest$ac_exeext
18198 if { (ac_try="$ac_link"
18199 case "(($ac_try" in
18200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18201 *) ac_try_echo=$ac_try;;
18202 esac
18203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18204 (eval "$ac_link") 2>&5
18205 ac_status=$?
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18208 { (case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_try") 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 wx_cv_gccversion=`cat conftestval`
18218 else
18219 echo "$as_me: program exited with status $ac_status" >&5
18220 echo "$as_me: failed program was:" >&5
18221 sed 's/^/| /' conftest.$ac_ext >&5
18222
18223 ( exit $ac_status )
18224 wx_cv_gccversion="EMX2"
18225 fi
18226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18227 fi
18228
18229
18230
18231 fi
18232 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18233 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18234 if test "$wx_cv_gccversion" = "EMX2"; then
18235 LIBS="$LIBS -lstdcpp"
18236 LDFLAGS="$LDFLAGS -Zsysv-signals"
18237 else
18238 if test "$wx_cv_gccversion" = "EMX3"; then
18239 LIBS="$LIBS -lstdcxx -lgcc"
18240 LDFLAGS="$LDFLAGS -Zsysv-signals"
18241 else
18242 LIBS="$LIBS -lstdc++"
18243 fi
18244 fi
18245 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18246 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18247 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18248 wxUSE_OMF=yes
18249 enable_omf=yes
18250 fi
18251 ;;
18252 *)
18253
18254 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18255 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18256 if test "${ac_cv_string_strcasecmp+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259
18260 cat >conftest.$ac_ext <<_ACEOF
18261 /* confdefs.h. */
18262 _ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266
18267 #include <string.h>
18268
18269 int
18270 main ()
18271 {
18272
18273 strcasecmp("foo", "bar");
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext conftest$ac_exeext
18280 if { (ac_try="$ac_link"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18284 esac
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_link") 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest$ac_exeext &&
18296 $as_test_x conftest$ac_exeext; then
18297 ac_cv_string_strcasecmp=yes
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18301
18302 ac_cv_string_strcasecmp=no
18303
18304 fi
18305
18306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18307 conftest$ac_exeext conftest.$ac_ext
18308
18309 fi
18310 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18311 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18312
18313 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18314 cat >>confdefs.h <<\_ACEOF
18315 #define HAVE_STRCASECMP_IN_STRING_H 1
18316 _ACEOF
18317
18318 else
18319 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18320 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18321 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18322 echo $ECHO_N "(cached) $ECHO_C" >&6
18323 else
18324
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331
18332 #include <strings.h>
18333
18334 int
18335 main ()
18336 {
18337
18338 strcasecmp("foo", "bar");
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext conftest$ac_exeext
18345 if { (ac_try="$ac_link"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_link") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest$ac_exeext &&
18361 $as_test_x conftest$ac_exeext; then
18362 ac_cv_strings_strcasecmp=yes
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18366
18367 ac_cv_strings_strcasecmp=no
18368
18369 fi
18370
18371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18372 conftest$ac_exeext conftest.$ac_ext
18373
18374 fi
18375 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18376 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18377
18378 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18381 _ACEOF
18382
18383 else
18384 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18385 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18386 { (exit 1); exit 1; }; }
18387 fi
18388 fi
18389
18390 ;;
18391 esac
18392
18393
18394 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18395 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18396 if test "${ac_cv_header_stdc+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <stdlib.h>
18406 #include <stdarg.h>
18407 #include <string.h>
18408 #include <float.h>
18409
18410 int
18411 main ()
18412 {
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_header_stdc=yes
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18439
18440 ac_cv_header_stdc=no
18441 fi
18442
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445 if test $ac_cv_header_stdc = yes; then
18446 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <string.h>
18454
18455 _ACEOF
18456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18457 $EGREP "memchr" >/dev/null 2>&1; then
18458 :
18459 else
18460 ac_cv_header_stdc=no
18461 fi
18462 rm -f conftest*
18463
18464 fi
18465
18466 if test $ac_cv_header_stdc = yes; then
18467 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #include <stdlib.h>
18475
18476 _ACEOF
18477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18478 $EGREP "free" >/dev/null 2>&1; then
18479 :
18480 else
18481 ac_cv_header_stdc=no
18482 fi
18483 rm -f conftest*
18484
18485 fi
18486
18487 if test $ac_cv_header_stdc = yes; then
18488 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18489 if test "$cross_compiling" = yes; then
18490 :
18491 else
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 #include <ctype.h>
18499 #include <stdlib.h>
18500 #if ((' ' & 0x0FF) == 0x020)
18501 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18502 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18503 #else
18504 # define ISLOWER(c) \
18505 (('a' <= (c) && (c) <= 'i') \
18506 || ('j' <= (c) && (c) <= 'r') \
18507 || ('s' <= (c) && (c) <= 'z'))
18508 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18509 #endif
18510
18511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18512 int
18513 main ()
18514 {
18515 int i;
18516 for (i = 0; i < 256; i++)
18517 if (XOR (islower (i), ISLOWER (i))
18518 || toupper (i) != TOUPPER (i))
18519 return 2;
18520 return 0;
18521 }
18522 _ACEOF
18523 rm -f conftest$ac_exeext
18524 if { (ac_try="$ac_link"
18525 case "(($ac_try" in
18526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18527 *) ac_try_echo=$ac_try;;
18528 esac
18529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18530 (eval "$ac_link") 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18534 { (case "(($ac_try" in
18535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18536 *) ac_try_echo=$ac_try;;
18537 esac
18538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18539 (eval "$ac_try") 2>&5
18540 ac_status=$?
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); }; }; then
18543 :
18544 else
18545 echo "$as_me: program exited with status $ac_status" >&5
18546 echo "$as_me: failed program was:" >&5
18547 sed 's/^/| /' conftest.$ac_ext >&5
18548
18549 ( exit $ac_status )
18550 ac_cv_header_stdc=no
18551 fi
18552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18553 fi
18554
18555
18556 fi
18557 fi
18558 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18559 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18560 if test $ac_cv_header_stdc = yes; then
18561
18562 cat >>confdefs.h <<\_ACEOF
18563 #define STDC_HEADERS 1
18564 _ACEOF
18565
18566 fi
18567
18568 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18579 inttypes.h stdint.h unistd.h
18580 do
18581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18582 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594
18595 #include <$ac_header>
18596 _ACEOF
18597 rm -f conftest.$ac_objext
18598 if { (ac_try="$ac_compile"
18599 case "(($ac_try" in
18600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18601 *) ac_try_echo=$ac_try;;
18602 esac
18603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18604 (eval "$ac_compile") 2>conftest.er1
18605 ac_status=$?
18606 grep -v '^ *+' conftest.er1 >conftest.err
18607 rm -f conftest.er1
18608 cat conftest.err >&5
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); } && {
18611 test -z "$ac_c_werror_flag" ||
18612 test ! -s conftest.err
18613 } && test -s conftest.$ac_objext; then
18614 eval "$as_ac_Header=yes"
18615 else
18616 echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18618
18619 eval "$as_ac_Header=no"
18620 fi
18621
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623 fi
18624 ac_res=`eval echo '${'$as_ac_Header'}'`
18625 { echo "$as_me:$LINENO: result: $ac_res" >&5
18626 echo "${ECHO_T}$ac_res" >&6; }
18627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18628 cat >>confdefs.h <<_ACEOF
18629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18630 _ACEOF
18631
18632 fi
18633
18634 done
18635
18636
18637
18638
18639 for ac_header in langinfo.h wchar.h
18640 do
18641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18642 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 $ac_includes_default
18654
18655 #include <$ac_header>
18656 _ACEOF
18657 rm -f conftest.$ac_objext
18658 if { (ac_try="$ac_compile"
18659 case "(($ac_try" in
18660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18661 *) ac_try_echo=$ac_try;;
18662 esac
18663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18664 (eval "$ac_compile") 2>conftest.er1
18665 ac_status=$?
18666 grep -v '^ *+' conftest.er1 >conftest.err
18667 rm -f conftest.er1
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } && {
18671 test -z "$ac_c_werror_flag" ||
18672 test ! -s conftest.err
18673 } && test -s conftest.$ac_objext; then
18674 eval "$as_ac_Header=yes"
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 eval "$as_ac_Header=no"
18680 fi
18681
18682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 fi
18684 ac_res=`eval echo '${'$as_ac_Header'}'`
18685 { echo "$as_me:$LINENO: result: $ac_res" >&5
18686 echo "${ECHO_T}$ac_res" >&6; }
18687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18688 cat >>confdefs.h <<_ACEOF
18689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18690 _ACEOF
18691
18692 fi
18693
18694 done
18695
18696
18697 if test "$ac_cv_header_wchar_h" != "yes"; then
18698
18699 for ac_header in wcstr.h
18700 do
18701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18702 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18704 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18706 else
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714
18715 #include <$ac_header>
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (ac_try="$ac_compile"
18719 case "(($ac_try" in
18720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18721 *) ac_try_echo=$ac_try;;
18722 esac
18723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18724 (eval "$ac_compile") 2>conftest.er1
18725 ac_status=$?
18726 grep -v '^ *+' conftest.er1 >conftest.err
18727 rm -f conftest.er1
18728 cat conftest.err >&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && {
18731 test -z "$ac_c_werror_flag" ||
18732 test ! -s conftest.err
18733 } && test -s conftest.$ac_objext; then
18734 eval "$as_ac_Header=yes"
18735 else
18736 echo "$as_me: failed program was:" >&5
18737 sed 's/^/| /' conftest.$ac_ext >&5
18738
18739 eval "$as_ac_Header=no"
18740 fi
18741
18742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18743 fi
18744 ac_res=`eval echo '${'$as_ac_Header'}'`
18745 { echo "$as_me:$LINENO: result: $ac_res" >&5
18746 echo "${ECHO_T}$ac_res" >&6; }
18747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18748 cat >>confdefs.h <<_ACEOF
18749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18750 _ACEOF
18751
18752 fi
18753
18754 done
18755
18756 fi
18757
18758 case "${host}" in
18759 *-pc-os2_emx | *-pc-os2-emx )
18760 if test $ac_cv_header_langinfo_h = "yes" \
18761 -a \( "$wx_cv_gccversion" = "EMX2" \
18762 -o "$wx_cv_gccversion" = "EMX3" \
18763 -o "$wx_cv_gccversion" = "Innotek5" \); then
18764 LIBS="$LIBS -lintl"
18765 fi
18766 ;;
18767 esac
18768
18769 if test "$USE_UNIX" = 1 ; then
18770
18771 for ac_header in sys/select.h
18772 do
18773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786
18787 #include <$ac_header>
18788 _ACEOF
18789 rm -f conftest.$ac_objext
18790 if { (ac_try="$ac_compile"
18791 case "(($ac_try" in
18792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18793 *) ac_try_echo=$ac_try;;
18794 esac
18795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18796 (eval "$ac_compile") 2>conftest.er1
18797 ac_status=$?
18798 grep -v '^ *+' conftest.er1 >conftest.err
18799 rm -f conftest.er1
18800 cat conftest.err >&5
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); } && {
18803 test -z "$ac_c_werror_flag" ||
18804 test ! -s conftest.err
18805 } && test -s conftest.$ac_objext; then
18806 eval "$as_ac_Header=yes"
18807 else
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18810
18811 eval "$as_ac_Header=no"
18812 fi
18813
18814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815 fi
18816 ac_res=`eval echo '${'$as_ac_Header'}'`
18817 { echo "$as_me:$LINENO: result: $ac_res" >&5
18818 echo "${ECHO_T}$ac_res" >&6; }
18819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18820 cat >>confdefs.h <<_ACEOF
18821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18822 _ACEOF
18823
18824 fi
18825
18826 done
18827
18828 fi
18829
18830
18831 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18832 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18833 if test "${ac_cv_c_const+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
18843 int
18844 main ()
18845 {
18846 /* FIXME: Include the comments suggested by Paul. */
18847 #ifndef __cplusplus
18848 /* Ultrix mips cc rejects this. */
18849 typedef int charset[2];
18850 const charset cs;
18851 /* SunOS 4.1.1 cc rejects this. */
18852 char const *const *pcpcc;
18853 char **ppc;
18854 /* NEC SVR4.0.2 mips cc rejects this. */
18855 struct point {int x, y;};
18856 static struct point const zero = {0,0};
18857 /* AIX XL C 1.02.0.0 rejects this.
18858 It does not let you subtract one const X* pointer from another in
18859 an arm of an if-expression whose if-part is not a constant
18860 expression */
18861 const char *g = "string";
18862 pcpcc = &g + (g ? g-g : 0);
18863 /* HPUX 7.0 cc rejects these. */
18864 ++pcpcc;
18865 ppc = (char**) pcpcc;
18866 pcpcc = (char const *const *) ppc;
18867 { /* SCO 3.2v4 cc rejects this. */
18868 char *t;
18869 char const *s = 0 ? (char *) 0 : (char const *) 0;
18870
18871 *t++ = 0;
18872 if (s) return 0;
18873 }
18874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18875 int x[] = {25, 17};
18876 const int *foo = &x[0];
18877 ++foo;
18878 }
18879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18880 typedef const int *iptr;
18881 iptr p = 0;
18882 ++p;
18883 }
18884 { /* AIX XL C 1.02.0.0 rejects this saying
18885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18886 struct s { int j; const int *ap[3]; };
18887 struct s *b; b->j = 5;
18888 }
18889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18890 const int foo = 10;
18891 if (!foo) return 0;
18892 }
18893 return !cs[0] && !zero.x;
18894 #endif
18895
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18917 ac_cv_c_const=yes
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 ac_cv_c_const=no
18923 fi
18924
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 fi
18927 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18928 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18929 if test $ac_cv_c_const = no; then
18930
18931 cat >>confdefs.h <<\_ACEOF
18932 #define const
18933 _ACEOF
18934
18935 fi
18936
18937 { echo "$as_me:$LINENO: checking for inline" >&5
18938 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18939 if test "${ac_cv_c_inline+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 else
18942 ac_cv_c_inline=no
18943 for ac_kw in inline __inline__ __inline; do
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifndef __cplusplus
18951 typedef int foo_t;
18952 static $ac_kw foo_t static_foo () {return 0; }
18953 $ac_kw foo_t foo () {return 0; }
18954 #endif
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_inline=$ac_kw
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979
18980 fi
18981
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983 test "$ac_cv_c_inline" != no && break
18984 done
18985
18986 fi
18987 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18988 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18989
18990
18991 case $ac_cv_c_inline in
18992 inline | yes) ;;
18993 *)
18994 case $ac_cv_c_inline in
18995 no) ac_val=;;
18996 *) ac_val=$ac_cv_c_inline;;
18997 esac
18998 cat >>confdefs.h <<_ACEOF
18999 #ifndef __cplusplus
19000 #define inline $ac_val
19001 #endif
19002 _ACEOF
19003 ;;
19004 esac
19005
19006
19007 { echo "$as_me:$LINENO: checking for short" >&5
19008 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19009 if test "${ac_cv_type_short+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef short ac__type_new_;
19020 int
19021 main ()
19022 {
19023 if ((ac__type_new_ *) 0)
19024 return 0;
19025 if (sizeof (ac__type_new_))
19026 return 0;
19027 ;
19028 return 0;
19029 }
19030 _ACEOF
19031 rm -f conftest.$ac_objext
19032 if { (ac_try="$ac_compile"
19033 case "(($ac_try" in
19034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19035 *) ac_try_echo=$ac_try;;
19036 esac
19037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19038 (eval "$ac_compile") 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } && {
19045 test -z "$ac_c_werror_flag" ||
19046 test ! -s conftest.err
19047 } && test -s conftest.$ac_objext; then
19048 ac_cv_type_short=yes
19049 else
19050 echo "$as_me: failed program was:" >&5
19051 sed 's/^/| /' conftest.$ac_ext >&5
19052
19053 ac_cv_type_short=no
19054 fi
19055
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057 fi
19058 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19059 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19060
19061 # The cast to long int works around a bug in the HP C Compiler
19062 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19063 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19064 # This bug is HP SR number 8606223364.
19065 { echo "$as_me:$LINENO: checking size of short" >&5
19066 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19067 if test "${ac_cv_sizeof_short+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test "$cross_compiling" = yes; then
19071 # Depending upon the size, compute the lo and hi bounds.
19072 cat >conftest.$ac_ext <<_ACEOF
19073 /* confdefs.h. */
19074 _ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 typedef short ac__type_sizeof_;
19080 int
19081 main ()
19082 {
19083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19084 test_array [0] = 0
19085
19086 ;
19087 return 0;
19088 }
19089 _ACEOF
19090 rm -f conftest.$ac_objext
19091 if { (ac_try="$ac_compile"
19092 case "(($ac_try" in
19093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19094 *) ac_try_echo=$ac_try;;
19095 esac
19096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19097 (eval "$ac_compile") 2>conftest.er1
19098 ac_status=$?
19099 grep -v '^ *+' conftest.er1 >conftest.err
19100 rm -f conftest.er1
19101 cat conftest.err >&5
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && {
19104 test -z "$ac_c_werror_flag" ||
19105 test ! -s conftest.err
19106 } && test -s conftest.$ac_objext; then
19107 ac_lo=0 ac_mid=0
19108 while :; do
19109 cat >conftest.$ac_ext <<_ACEOF
19110 /* confdefs.h. */
19111 _ACEOF
19112 cat confdefs.h >>conftest.$ac_ext
19113 cat >>conftest.$ac_ext <<_ACEOF
19114 /* end confdefs.h. */
19115 $ac_includes_default
19116 typedef short ac__type_sizeof_;
19117 int
19118 main ()
19119 {
19120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19121 test_array [0] = 0
19122
19123 ;
19124 return 0;
19125 }
19126 _ACEOF
19127 rm -f conftest.$ac_objext
19128 if { (ac_try="$ac_compile"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19132 esac
19133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_compile") 2>conftest.er1
19135 ac_status=$?
19136 grep -v '^ *+' conftest.er1 >conftest.err
19137 rm -f conftest.er1
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest.$ac_objext; then
19144 ac_hi=$ac_mid; break
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 ac_lo=`expr $ac_mid + 1`
19150 if test $ac_lo -le $ac_mid; then
19151 ac_lo= ac_hi=
19152 break
19153 fi
19154 ac_mid=`expr 2 '*' $ac_mid + 1`
19155 fi
19156
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19158 done
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 cat >conftest.$ac_ext <<_ACEOF
19164 /* confdefs.h. */
19165 _ACEOF
19166 cat confdefs.h >>conftest.$ac_ext
19167 cat >>conftest.$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 $ac_includes_default
19170 typedef short ac__type_sizeof_;
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (ac_try="$ac_compile"
19183 case "(($ac_try" in
19184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19185 *) ac_try_echo=$ac_try;;
19186 esac
19187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19188 (eval "$ac_compile") 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } && {
19195 test -z "$ac_c_werror_flag" ||
19196 test ! -s conftest.err
19197 } && test -s conftest.$ac_objext; then
19198 ac_hi=-1 ac_mid=-1
19199 while :; do
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 $ac_includes_default
19207 typedef short ac__type_sizeof_;
19208 int
19209 main ()
19210 {
19211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19212 test_array [0] = 0
19213
19214 ;
19215 return 0;
19216 }
19217 _ACEOF
19218 rm -f conftest.$ac_objext
19219 if { (ac_try="$ac_compile"
19220 case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_compile") 2>conftest.er1
19226 ac_status=$?
19227 grep -v '^ *+' conftest.er1 >conftest.err
19228 rm -f conftest.er1
19229 cat conftest.err >&5
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); } && {
19232 test -z "$ac_c_werror_flag" ||
19233 test ! -s conftest.err
19234 } && test -s conftest.$ac_objext; then
19235 ac_lo=$ac_mid; break
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 ac_hi=`expr '(' $ac_mid ')' - 1`
19241 if test $ac_mid -le $ac_hi; then
19242 ac_lo= ac_hi=
19243 break
19244 fi
19245 ac_mid=`expr 2 '*' $ac_mid`
19246 fi
19247
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19249 done
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_lo= ac_hi=
19255 fi
19256
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 fi
19259
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 # Binary search between lo and hi bounds.
19262 while test "x$ac_lo" != "x$ac_hi"; do
19263 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19264 cat >conftest.$ac_ext <<_ACEOF
19265 /* confdefs.h. */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 $ac_includes_default
19271 typedef short ac__type_sizeof_;
19272 int
19273 main ()
19274 {
19275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19276 test_array [0] = 0
19277
19278 ;
19279 return 0;
19280 }
19281 _ACEOF
19282 rm -f conftest.$ac_objext
19283 if { (ac_try="$ac_compile"
19284 case "(($ac_try" in
19285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19286 *) ac_try_echo=$ac_try;;
19287 esac
19288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19289 (eval "$ac_compile") 2>conftest.er1
19290 ac_status=$?
19291 grep -v '^ *+' conftest.er1 >conftest.err
19292 rm -f conftest.er1
19293 cat conftest.err >&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } && {
19296 test -z "$ac_c_werror_flag" ||
19297 test ! -s conftest.err
19298 } && test -s conftest.$ac_objext; then
19299 ac_hi=$ac_mid
19300 else
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19303
19304 ac_lo=`expr '(' $ac_mid ')' + 1`
19305 fi
19306
19307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19308 done
19309 case $ac_lo in
19310 ?*) ac_cv_sizeof_short=$ac_lo;;
19311 '') if test "$ac_cv_type_short" = yes; then
19312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19313 See \`config.log' for more details." >&5
19314 echo "$as_me: error: cannot compute sizeof (short)
19315 See \`config.log' for more details." >&2;}
19316 { (exit 77); exit 77; }; }
19317 else
19318 ac_cv_sizeof_short=0
19319 fi ;;
19320 esac
19321 else
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 typedef short ac__type_sizeof_;
19330 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19331 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19332 #include <stdio.h>
19333 #include <stdlib.h>
19334 int
19335 main ()
19336 {
19337
19338 FILE *f = fopen ("conftest.val", "w");
19339 if (! f)
19340 return 1;
19341 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19342 {
19343 long int i = longval ();
19344 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19345 return 1;
19346 fprintf (f, "%ld\n", i);
19347 }
19348 else
19349 {
19350 unsigned long int i = ulongval ();
19351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19352 return 1;
19353 fprintf (f, "%lu\n", i);
19354 }
19355 return ferror (f) || fclose (f) != 0;
19356
19357 ;
19358 return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest$ac_exeext
19362 if { (ac_try="$ac_link"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19366 esac
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_link") 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19372 { (case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_try") 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_cv_sizeof_short=`cat conftest.val`
19382 else
19383 echo "$as_me: program exited with status $ac_status" >&5
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ( exit $ac_status )
19388 if test "$ac_cv_type_short" = yes; then
19389 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19390 See \`config.log' for more details." >&5
19391 echo "$as_me: error: cannot compute sizeof (short)
19392 See \`config.log' for more details." >&2;}
19393 { (exit 77); exit 77; }; }
19394 else
19395 ac_cv_sizeof_short=0
19396 fi
19397 fi
19398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19399 fi
19400 rm -f conftest.val
19401 fi
19402 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19403 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19404
19405
19406
19407 cat >>confdefs.h <<_ACEOF
19408 #define SIZEOF_SHORT $ac_cv_sizeof_short
19409 _ACEOF
19410
19411
19412 { echo "$as_me:$LINENO: checking for void *" >&5
19413 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19414 if test "${ac_cv_type_void_p+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef void * ac__type_new_;
19425 int
19426 main ()
19427 {
19428 if ((ac__type_new_ *) 0)
19429 return 0;
19430 if (sizeof (ac__type_new_))
19431 return 0;
19432 ;
19433 return 0;
19434 }
19435 _ACEOF
19436 rm -f conftest.$ac_objext
19437 if { (ac_try="$ac_compile"
19438 case "(($ac_try" in
19439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19440 *) ac_try_echo=$ac_try;;
19441 esac
19442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19443 (eval "$ac_compile") 2>conftest.er1
19444 ac_status=$?
19445 grep -v '^ *+' conftest.er1 >conftest.err
19446 rm -f conftest.er1
19447 cat conftest.err >&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); } && {
19450 test -z "$ac_c_werror_flag" ||
19451 test ! -s conftest.err
19452 } && test -s conftest.$ac_objext; then
19453 ac_cv_type_void_p=yes
19454 else
19455 echo "$as_me: failed program was:" >&5
19456 sed 's/^/| /' conftest.$ac_ext >&5
19457
19458 ac_cv_type_void_p=no
19459 fi
19460
19461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19462 fi
19463 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19464 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19465
19466 # The cast to long int works around a bug in the HP C Compiler
19467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19469 # This bug is HP SR number 8606223364.
19470 { echo "$as_me:$LINENO: checking size of void *" >&5
19471 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19472 if test "${ac_cv_sizeof_void_p+set}" = set; then
19473 echo $ECHO_N "(cached) $ECHO_C" >&6
19474 else
19475 if test "$cross_compiling" = yes; then
19476 # Depending upon the size, compute the lo and hi bounds.
19477 cat >conftest.$ac_ext <<_ACEOF
19478 /* confdefs.h. */
19479 _ACEOF
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 $ac_includes_default
19484 typedef void * ac__type_sizeof_;
19485 int
19486 main ()
19487 {
19488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19489 test_array [0] = 0
19490
19491 ;
19492 return 0;
19493 }
19494 _ACEOF
19495 rm -f conftest.$ac_objext
19496 if { (ac_try="$ac_compile"
19497 case "(($ac_try" in
19498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19499 *) ac_try_echo=$ac_try;;
19500 esac
19501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19502 (eval "$ac_compile") 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } && {
19509 test -z "$ac_c_werror_flag" ||
19510 test ! -s conftest.err
19511 } && test -s conftest.$ac_objext; then
19512 ac_lo=0 ac_mid=0
19513 while :; do
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 typedef void * ac__type_sizeof_;
19522 int
19523 main ()
19524 {
19525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19526 test_array [0] = 0
19527
19528 ;
19529 return 0;
19530 }
19531 _ACEOF
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19537 esac
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_hi=$ac_mid; break
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 ac_lo=`expr $ac_mid + 1`
19555 if test $ac_lo -le $ac_mid; then
19556 ac_lo= ac_hi=
19557 break
19558 fi
19559 ac_mid=`expr 2 '*' $ac_mid + 1`
19560 fi
19561
19562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 done
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19567
19568 cat >conftest.$ac_ext <<_ACEOF
19569 /* confdefs.h. */
19570 _ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19575 typedef void * ac__type_sizeof_;
19576 int
19577 main ()
19578 {
19579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19580 test_array [0] = 0
19581
19582 ;
19583 return 0;
19584 }
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_hi=-1 ac_mid=-1
19604 while :; do
19605 cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h. */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19611 $ac_includes_default
19612 typedef void * ac__type_sizeof_;
19613 int
19614 main ()
19615 {
19616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19617 test_array [0] = 0
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_lo=$ac_mid; break
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ac_hi=`expr '(' $ac_mid ')' - 1`
19646 if test $ac_mid -le $ac_hi; then
19647 ac_lo= ac_hi=
19648 break
19649 fi
19650 ac_mid=`expr 2 '*' $ac_mid`
19651 fi
19652
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 done
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_lo= ac_hi=
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 fi
19664
19665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 # Binary search between lo and hi bounds.
19667 while test "x$ac_lo" != "x$ac_hi"; do
19668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 typedef void * ac__type_sizeof_;
19677 int
19678 main ()
19679 {
19680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19681 test_array [0] = 0
19682
19683 ;
19684 return 0;
19685 }
19686 _ACEOF
19687 rm -f conftest.$ac_objext
19688 if { (ac_try="$ac_compile"
19689 case "(($ac_try" in
19690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19691 *) ac_try_echo=$ac_try;;
19692 esac
19693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19694 (eval "$ac_compile") 2>conftest.er1
19695 ac_status=$?
19696 grep -v '^ *+' conftest.er1 >conftest.err
19697 rm -f conftest.er1
19698 cat conftest.err >&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); } && {
19701 test -z "$ac_c_werror_flag" ||
19702 test ! -s conftest.err
19703 } && test -s conftest.$ac_objext; then
19704 ac_hi=$ac_mid
19705 else
19706 echo "$as_me: failed program was:" >&5
19707 sed 's/^/| /' conftest.$ac_ext >&5
19708
19709 ac_lo=`expr '(' $ac_mid ')' + 1`
19710 fi
19711
19712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 done
19714 case $ac_lo in
19715 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19716 '') if test "$ac_cv_type_void_p" = yes; then
19717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19718 See \`config.log' for more details." >&5
19719 echo "$as_me: error: cannot compute sizeof (void *)
19720 See \`config.log' for more details." >&2;}
19721 { (exit 77); exit 77; }; }
19722 else
19723 ac_cv_sizeof_void_p=0
19724 fi ;;
19725 esac
19726 else
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 $ac_includes_default
19734 typedef void * ac__type_sizeof_;
19735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19737 #include <stdio.h>
19738 #include <stdlib.h>
19739 int
19740 main ()
19741 {
19742
19743 FILE *f = fopen ("conftest.val", "w");
19744 if (! f)
19745 return 1;
19746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19747 {
19748 long int i = longval ();
19749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19750 return 1;
19751 fprintf (f, "%ld\n", i);
19752 }
19753 else
19754 {
19755 unsigned long int i = ulongval ();
19756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19757 return 1;
19758 fprintf (f, "%lu\n", i);
19759 }
19760 return ferror (f) || fclose (f) != 0;
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest$ac_exeext
19767 if { (ac_try="$ac_link"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_link") 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19777 { (case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_try") 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_cv_sizeof_void_p=`cat conftest.val`
19787 else
19788 echo "$as_me: program exited with status $ac_status" >&5
19789 echo "$as_me: failed program was:" >&5
19790 sed 's/^/| /' conftest.$ac_ext >&5
19791
19792 ( exit $ac_status )
19793 if test "$ac_cv_type_void_p" = yes; then
19794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19795 See \`config.log' for more details." >&5
19796 echo "$as_me: error: cannot compute sizeof (void *)
19797 See \`config.log' for more details." >&2;}
19798 { (exit 77); exit 77; }; }
19799 else
19800 ac_cv_sizeof_void_p=0
19801 fi
19802 fi
19803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19804 fi
19805 rm -f conftest.val
19806 fi
19807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19808 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19809
19810
19811
19812 cat >>confdefs.h <<_ACEOF
19813 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19814 _ACEOF
19815
19816
19817 { echo "$as_me:$LINENO: checking for int" >&5
19818 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19819 if test "${ac_cv_type_int+set}" = set; then
19820 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 else
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef int ac__type_new_;
19830 int
19831 main ()
19832 {
19833 if ((ac__type_new_ *) 0)
19834 return 0;
19835 if (sizeof (ac__type_new_))
19836 return 0;
19837 ;
19838 return 0;
19839 }
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19858 ac_cv_type_int=yes
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19862
19863 ac_cv_type_int=no
19864 fi
19865
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 fi
19868 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19869 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19870
19871 # The cast to long int works around a bug in the HP C Compiler
19872 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19873 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19874 # This bug is HP SR number 8606223364.
19875 { echo "$as_me:$LINENO: checking size of int" >&5
19876 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19877 if test "${ac_cv_sizeof_int+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 else
19880 if test "$cross_compiling" = yes; then
19881 # Depending upon the size, compute the lo and hi bounds.
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 $ac_includes_default
19889 typedef int ac__type_sizeof_;
19890 int
19891 main ()
19892 {
19893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19894 test_array [0] = 0
19895
19896 ;
19897 return 0;
19898 }
19899 _ACEOF
19900 rm -f conftest.$ac_objext
19901 if { (ac_try="$ac_compile"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19904 *) ac_try_echo=$ac_try;;
19905 esac
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_compile") 2>conftest.er1
19908 ac_status=$?
19909 grep -v '^ *+' conftest.er1 >conftest.err
19910 rm -f conftest.er1
19911 cat conftest.err >&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest.$ac_objext; then
19917 ac_lo=0 ac_mid=0
19918 while :; do
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 typedef int ac__type_sizeof_;
19927 int
19928 main ()
19929 {
19930 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19931 test_array [0] = 0
19932
19933 ;
19934 return 0;
19935 }
19936 _ACEOF
19937 rm -f conftest.$ac_objext
19938 if { (ac_try="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19942 esac
19943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19944 (eval "$ac_compile") 2>conftest.er1
19945 ac_status=$?
19946 grep -v '^ *+' conftest.er1 >conftest.err
19947 rm -f conftest.er1
19948 cat conftest.err >&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && {
19951 test -z "$ac_c_werror_flag" ||
19952 test ! -s conftest.err
19953 } && test -s conftest.$ac_objext; then
19954 ac_hi=$ac_mid; break
19955 else
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19958
19959 ac_lo=`expr $ac_mid + 1`
19960 if test $ac_lo -le $ac_mid; then
19961 ac_lo= ac_hi=
19962 break
19963 fi
19964 ac_mid=`expr 2 '*' $ac_mid + 1`
19965 fi
19966
19967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19968 done
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 cat >conftest.$ac_ext <<_ACEOF
19974 /* confdefs.h. */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979 $ac_includes_default
19980 typedef int ac__type_sizeof_;
19981 int
19982 main ()
19983 {
19984 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19985 test_array [0] = 0
19986
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest.$ac_objext
19992 if { (ac_try="$ac_compile"
19993 case "(($ac_try" in
19994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19995 *) ac_try_echo=$ac_try;;
19996 esac
19997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19998 (eval "$ac_compile") 2>conftest.er1
19999 ac_status=$?
20000 grep -v '^ *+' conftest.er1 >conftest.err
20001 rm -f conftest.er1
20002 cat conftest.err >&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } && {
20005 test -z "$ac_c_werror_flag" ||
20006 test ! -s conftest.err
20007 } && test -s conftest.$ac_objext; then
20008 ac_hi=-1 ac_mid=-1
20009 while :; do
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017 typedef int ac__type_sizeof_;
20018 int
20019 main ()
20020 {
20021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20022 test_array [0] = 0
20023
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_lo=$ac_mid; break
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_hi=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20052 ac_lo= ac_hi=
20053 break
20054 fi
20055 ac_mid=`expr 2 '*' $ac_mid`
20056 fi
20057
20058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 done
20060 else
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20063
20064 ac_lo= ac_hi=
20065 fi
20066
20067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20068 fi
20069
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 # Binary search between lo and hi bounds.
20072 while test "x$ac_lo" != "x$ac_hi"; do
20073 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20074 cat >conftest.$ac_ext <<_ACEOF
20075 /* confdefs.h. */
20076 _ACEOF
20077 cat confdefs.h >>conftest.$ac_ext
20078 cat >>conftest.$ac_ext <<_ACEOF
20079 /* end confdefs.h. */
20080 $ac_includes_default
20081 typedef int ac__type_sizeof_;
20082 int
20083 main ()
20084 {
20085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20086 test_array [0] = 0
20087
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_compile") 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && {
20106 test -z "$ac_c_werror_flag" ||
20107 test ! -s conftest.err
20108 } && test -s conftest.$ac_objext; then
20109 ac_hi=$ac_mid
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20115 fi
20116
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 done
20119 case $ac_lo in
20120 ?*) ac_cv_sizeof_int=$ac_lo;;
20121 '') if test "$ac_cv_type_int" = yes; then
20122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20123 See \`config.log' for more details." >&5
20124 echo "$as_me: error: cannot compute sizeof (int)
20125 See \`config.log' for more details." >&2;}
20126 { (exit 77); exit 77; }; }
20127 else
20128 ac_cv_sizeof_int=0
20129 fi ;;
20130 esac
20131 else
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 typedef int ac__type_sizeof_;
20140 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20141 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20142 #include <stdio.h>
20143 #include <stdlib.h>
20144 int
20145 main ()
20146 {
20147
20148 FILE *f = fopen ("conftest.val", "w");
20149 if (! f)
20150 return 1;
20151 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20152 {
20153 long int i = longval ();
20154 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20155 return 1;
20156 fprintf (f, "%ld\n", i);
20157 }
20158 else
20159 {
20160 unsigned long int i = ulongval ();
20161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20162 return 1;
20163 fprintf (f, "%lu\n", i);
20164 }
20165 return ferror (f) || fclose (f) != 0;
20166
20167 ;
20168 return 0;
20169 }
20170 _ACEOF
20171 rm -f conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20176 esac
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20182 { (case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_try") 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_cv_sizeof_int=`cat conftest.val`
20192 else
20193 echo "$as_me: program exited with status $ac_status" >&5
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20196
20197 ( exit $ac_status )
20198 if test "$ac_cv_type_int" = yes; then
20199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20200 See \`config.log' for more details." >&5
20201 echo "$as_me: error: cannot compute sizeof (int)
20202 See \`config.log' for more details." >&2;}
20203 { (exit 77); exit 77; }; }
20204 else
20205 ac_cv_sizeof_int=0
20206 fi
20207 fi
20208 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20209 fi
20210 rm -f conftest.val
20211 fi
20212 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20213 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20214
20215
20216
20217 cat >>confdefs.h <<_ACEOF
20218 #define SIZEOF_INT $ac_cv_sizeof_int
20219 _ACEOF
20220
20221
20222 { echo "$as_me:$LINENO: checking for long" >&5
20223 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20224 if test "${ac_cv_type_long+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef long ac__type_new_;
20235 int
20236 main ()
20237 {
20238 if ((ac__type_new_ *) 0)
20239 return 0;
20240 if (sizeof (ac__type_new_))
20241 return 0;
20242 ;
20243 return 0;
20244 }
20245 _ACEOF
20246 rm -f conftest.$ac_objext
20247 if { (ac_try="$ac_compile"
20248 case "(($ac_try" in
20249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20250 *) ac_try_echo=$ac_try;;
20251 esac
20252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20253 (eval "$ac_compile") 2>conftest.er1
20254 ac_status=$?
20255 grep -v '^ *+' conftest.er1 >conftest.err
20256 rm -f conftest.er1
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } && {
20260 test -z "$ac_c_werror_flag" ||
20261 test ! -s conftest.err
20262 } && test -s conftest.$ac_objext; then
20263 ac_cv_type_long=yes
20264 else
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20267
20268 ac_cv_type_long=no
20269 fi
20270
20271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20272 fi
20273 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20274 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20275
20276 # The cast to long int works around a bug in the HP C Compiler
20277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20279 # This bug is HP SR number 8606223364.
20280 { echo "$as_me:$LINENO: checking size of long" >&5
20281 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20282 if test "${ac_cv_sizeof_long+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20284 else
20285 if test "$cross_compiling" = yes; then
20286 # Depending upon the size, compute the lo and hi bounds.
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 typedef long ac__type_sizeof_;
20295 int
20296 main ()
20297 {
20298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20299 test_array [0] = 0
20300
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 ac_lo=0 ac_mid=0
20323 while :; do
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 $ac_includes_default
20331 typedef long ac__type_sizeof_;
20332 int
20333 main ()
20334 {
20335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20336 test_array [0] = 0
20337
20338 ;
20339 return 0;
20340 }
20341 _ACEOF
20342 rm -f conftest.$ac_objext
20343 if { (ac_try="$ac_compile"
20344 case "(($ac_try" in
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20346 *) ac_try_echo=$ac_try;;
20347 esac
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20349 (eval "$ac_compile") 2>conftest.er1
20350 ac_status=$?
20351 grep -v '^ *+' conftest.er1 >conftest.err
20352 rm -f conftest.er1
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && {
20356 test -z "$ac_c_werror_flag" ||
20357 test ! -s conftest.err
20358 } && test -s conftest.$ac_objext; then
20359 ac_hi=$ac_mid; break
20360 else
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ac_lo=`expr $ac_mid + 1`
20365 if test $ac_lo -le $ac_mid; then
20366 ac_lo= ac_hi=
20367 break
20368 fi
20369 ac_mid=`expr 2 '*' $ac_mid + 1`
20370 fi
20371
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20373 done
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385 typedef long ac__type_sizeof_;
20386 int
20387 main ()
20388 {
20389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20390 test_array [0] = 0
20391
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext
20397 if { (ac_try="$ac_compile"
20398 case "(($ac_try" in
20399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20400 *) ac_try_echo=$ac_try;;
20401 esac
20402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20403 (eval "$ac_compile") 2>conftest.er1
20404 ac_status=$?
20405 grep -v '^ *+' conftest.er1 >conftest.err
20406 rm -f conftest.er1
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } && {
20410 test -z "$ac_c_werror_flag" ||
20411 test ! -s conftest.err
20412 } && test -s conftest.$ac_objext; then
20413 ac_hi=-1 ac_mid=-1
20414 while :; do
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 typedef long ac__type_sizeof_;
20423 int
20424 main ()
20425 {
20426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20427 test_array [0] = 0
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (ac_try="$ac_compile"
20435 case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_compile") 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } && {
20447 test -z "$ac_c_werror_flag" ||
20448 test ! -s conftest.err
20449 } && test -s conftest.$ac_objext; then
20450 ac_lo=$ac_mid; break
20451 else
20452 echo "$as_me: failed program was:" >&5
20453 sed 's/^/| /' conftest.$ac_ext >&5
20454
20455 ac_hi=`expr '(' $ac_mid ')' - 1`
20456 if test $ac_mid -le $ac_hi; then
20457 ac_lo= ac_hi=
20458 break
20459 fi
20460 ac_mid=`expr 2 '*' $ac_mid`
20461 fi
20462
20463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 done
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo= ac_hi=
20470 fi
20471
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 fi
20474
20475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.$ac_ext <<_ACEOF
20480 /* confdefs.h. */
20481 _ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 typedef long ac__type_sizeof_;
20487 int
20488 main ()
20489 {
20490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20491 test_array [0] = 0
20492
20493 ;
20494 return 0;
20495 }
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 ac_hi=$ac_mid
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 ac_lo=`expr '(' $ac_mid ')' + 1`
20520 fi
20521
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20523 done
20524 case $ac_lo in
20525 ?*) ac_cv_sizeof_long=$ac_lo;;
20526 '') if test "$ac_cv_type_long" = yes; then
20527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20528 See \`config.log' for more details." >&5
20529 echo "$as_me: error: cannot compute sizeof (long)
20530 See \`config.log' for more details." >&2;}
20531 { (exit 77); exit 77; }; }
20532 else
20533 ac_cv_sizeof_long=0
20534 fi ;;
20535 esac
20536 else
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 typedef long ac__type_sizeof_;
20545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20547 #include <stdio.h>
20548 #include <stdlib.h>
20549 int
20550 main ()
20551 {
20552
20553 FILE *f = fopen ("conftest.val", "w");
20554 if (! f)
20555 return 1;
20556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20557 {
20558 long int i = longval ();
20559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20560 return 1;
20561 fprintf (f, "%ld\n", i);
20562 }
20563 else
20564 {
20565 unsigned long int i = ulongval ();
20566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20567 return 1;
20568 fprintf (f, "%lu\n", i);
20569 }
20570 return ferror (f) || fclose (f) != 0;
20571
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest$ac_exeext
20577 if { (ac_try="$ac_link"
20578 case "(($ac_try" in
20579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20580 *) ac_try_echo=$ac_try;;
20581 esac
20582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20583 (eval "$ac_link") 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20587 { (case "(($ac_try" in
20588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20589 *) ac_try_echo=$ac_try;;
20590 esac
20591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20592 (eval "$ac_try") 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; }; then
20596 ac_cv_sizeof_long=`cat conftest.val`
20597 else
20598 echo "$as_me: program exited with status $ac_status" >&5
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 ( exit $ac_status )
20603 if test "$ac_cv_type_long" = yes; then
20604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20605 See \`config.log' for more details." >&5
20606 echo "$as_me: error: cannot compute sizeof (long)
20607 See \`config.log' for more details." >&2;}
20608 { (exit 77); exit 77; }; }
20609 else
20610 ac_cv_sizeof_long=0
20611 fi
20612 fi
20613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20614 fi
20615 rm -f conftest.val
20616 fi
20617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20618 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20619
20620
20621
20622 cat >>confdefs.h <<_ACEOF
20623 #define SIZEOF_LONG $ac_cv_sizeof_long
20624 _ACEOF
20625
20626
20627 { echo "$as_me:$LINENO: checking for size_t" >&5
20628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20629 if test "${ac_cv_type_size_t+set}" = set; then
20630 echo $ECHO_N "(cached) $ECHO_C" >&6
20631 else
20632 cat >conftest.$ac_ext <<_ACEOF
20633 /* confdefs.h. */
20634 _ACEOF
20635 cat confdefs.h >>conftest.$ac_ext
20636 cat >>conftest.$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef size_t ac__type_new_;
20640 int
20641 main ()
20642 {
20643 if ((ac__type_new_ *) 0)
20644 return 0;
20645 if (sizeof (ac__type_new_))
20646 return 0;
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20656 esac
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_cv_type_size_t=yes
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 ac_cv_type_size_t=no
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 fi
20678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20680
20681 # The cast to long int works around a bug in the HP C Compiler
20682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20684 # This bug is HP SR number 8606223364.
20685 { echo "$as_me:$LINENO: checking size of size_t" >&5
20686 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20687 if test "${ac_cv_sizeof_size_t+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20689 else
20690 if test "$cross_compiling" = yes; then
20691 # Depending upon the size, compute the lo and hi bounds.
20692 cat >conftest.$ac_ext <<_ACEOF
20693 /* confdefs.h. */
20694 _ACEOF
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 $ac_includes_default
20699 typedef size_t ac__type_sizeof_;
20700 int
20701 main ()
20702 {
20703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20704 test_array [0] = 0
20705
20706 ;
20707 return 0;
20708 }
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (ac_try="$ac_compile"
20712 case "(($ac_try" in
20713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20714 *) ac_try_echo=$ac_try;;
20715 esac
20716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20717 (eval "$ac_compile") 2>conftest.er1
20718 ac_status=$?
20719 grep -v '^ *+' conftest.er1 >conftest.err
20720 rm -f conftest.er1
20721 cat conftest.err >&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); } && {
20724 test -z "$ac_c_werror_flag" ||
20725 test ! -s conftest.err
20726 } && test -s conftest.$ac_objext; then
20727 ac_lo=0 ac_mid=0
20728 while :; do
20729 cat >conftest.$ac_ext <<_ACEOF
20730 /* confdefs.h. */
20731 _ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20735 $ac_includes_default
20736 typedef size_t ac__type_sizeof_;
20737 int
20738 main ()
20739 {
20740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20741 test_array [0] = 0
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_hi=$ac_mid; break
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 ac_lo=`expr $ac_mid + 1`
20770 if test $ac_lo -le $ac_mid; then
20771 ac_lo= ac_hi=
20772 break
20773 fi
20774 ac_mid=`expr 2 '*' $ac_mid + 1`
20775 fi
20776
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20778 done
20779 else
20780 echo "$as_me: failed program was:" >&5
20781 sed 's/^/| /' conftest.$ac_ext >&5
20782
20783 cat >conftest.$ac_ext <<_ACEOF
20784 /* confdefs.h. */
20785 _ACEOF
20786 cat confdefs.h >>conftest.$ac_ext
20787 cat >>conftest.$ac_ext <<_ACEOF
20788 /* end confdefs.h. */
20789 $ac_includes_default
20790 typedef size_t ac__type_sizeof_;
20791 int
20792 main ()
20793 {
20794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20795 test_array [0] = 0
20796
20797 ;
20798 return 0;
20799 }
20800 _ACEOF
20801 rm -f conftest.$ac_objext
20802 if { (ac_try="$ac_compile"
20803 case "(($ac_try" in
20804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20806 esac
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_compile") 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest.$ac_objext; then
20818 ac_hi=-1 ac_mid=-1
20819 while :; do
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef size_t ac__type_sizeof_;
20828 int
20829 main ()
20830 {
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20832 test_array [0] = 0
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_lo=$ac_mid; break
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_hi=`expr '(' $ac_mid ')' - 1`
20861 if test $ac_mid -le $ac_hi; then
20862 ac_lo= ac_hi=
20863 break
20864 fi
20865 ac_mid=`expr 2 '*' $ac_mid`
20866 fi
20867
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 done
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_lo= ac_hi=
20875 fi
20876
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 fi
20879
20880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20881 # Binary search between lo and hi bounds.
20882 while test "x$ac_lo" != "x$ac_hi"; do
20883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 $ac_includes_default
20891 typedef size_t ac__type_sizeof_;
20892 int
20893 main ()
20894 {
20895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20896 test_array [0] = 0
20897
20898 ;
20899 return 0;
20900 }
20901 _ACEOF
20902 rm -f conftest.$ac_objext
20903 if { (ac_try="$ac_compile"
20904 case "(($ac_try" in
20905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20906 *) ac_try_echo=$ac_try;;
20907 esac
20908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20909 (eval "$ac_compile") 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } && {
20916 test -z "$ac_c_werror_flag" ||
20917 test ! -s conftest.err
20918 } && test -s conftest.$ac_objext; then
20919 ac_hi=$ac_mid
20920 else
20921 echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20923
20924 ac_lo=`expr '(' $ac_mid ')' + 1`
20925 fi
20926
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20928 done
20929 case $ac_lo in
20930 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20931 '') if test "$ac_cv_type_size_t" = yes; then
20932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20933 See \`config.log' for more details." >&5
20934 echo "$as_me: error: cannot compute sizeof (size_t)
20935 See \`config.log' for more details." >&2;}
20936 { (exit 77); exit 77; }; }
20937 else
20938 ac_cv_sizeof_size_t=0
20939 fi ;;
20940 esac
20941 else
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef size_t ac__type_sizeof_;
20950 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20951 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20952 #include <stdio.h>
20953 #include <stdlib.h>
20954 int
20955 main ()
20956 {
20957
20958 FILE *f = fopen ("conftest.val", "w");
20959 if (! f)
20960 return 1;
20961 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20962 {
20963 long int i = longval ();
20964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20965 return 1;
20966 fprintf (f, "%ld\n", i);
20967 }
20968 else
20969 {
20970 unsigned long int i = ulongval ();
20971 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20972 return 1;
20973 fprintf (f, "%lu\n", i);
20974 }
20975 return ferror (f) || fclose (f) != 0;
20976
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 rm -f conftest$ac_exeext
20982 if { (ac_try="$ac_link"
20983 case "(($ac_try" in
20984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20985 *) ac_try_echo=$ac_try;;
20986 esac
20987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20988 (eval "$ac_link") 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20992 { (case "(($ac_try" in
20993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20994 *) ac_try_echo=$ac_try;;
20995 esac
20996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20997 (eval "$ac_try") 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; }; then
21001 ac_cv_sizeof_size_t=`cat conftest.val`
21002 else
21003 echo "$as_me: program exited with status $ac_status" >&5
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21006
21007 ( exit $ac_status )
21008 if test "$ac_cv_type_size_t" = yes; then
21009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (size_t)
21012 See \`config.log' for more details." >&2;}
21013 { (exit 77); exit 77; }; }
21014 else
21015 ac_cv_sizeof_size_t=0
21016 fi
21017 fi
21018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21019 fi
21020 rm -f conftest.val
21021 fi
21022 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21023 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21024
21025
21026
21027 cat >>confdefs.h <<_ACEOF
21028 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21029 _ACEOF
21030
21031
21032
21033 case "${host}" in
21034 arm-*-linux* )
21035 { echo "$as_me:$LINENO: checking for long long" >&5
21036 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21037 if test "${ac_cv_type_long_long+set}" = set; then
21038 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 else
21040 cat >conftest.$ac_ext <<_ACEOF
21041 /* confdefs.h. */
21042 _ACEOF
21043 cat confdefs.h >>conftest.$ac_ext
21044 cat >>conftest.$ac_ext <<_ACEOF
21045 /* end confdefs.h. */
21046 $ac_includes_default
21047 typedef long long ac__type_new_;
21048 int
21049 main ()
21050 {
21051 if ((ac__type_new_ *) 0)
21052 return 0;
21053 if (sizeof (ac__type_new_))
21054 return 0;
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_cv_type_long_long=yes
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 ac_cv_type_long_long=no
21082 fi
21083
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 fi
21086 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21087 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21088
21089 # The cast to long int works around a bug in the HP C Compiler
21090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21092 # This bug is HP SR number 8606223364.
21093 { echo "$as_me:$LINENO: checking size of long long" >&5
21094 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21095 if test "${ac_cv_sizeof_long_long+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21098 if test "$cross_compiling" = yes; then
21099 # Depending upon the size, compute the lo and hi bounds.
21100 cat >conftest.$ac_ext <<_ACEOF
21101 /* confdefs.h. */
21102 _ACEOF
21103 cat confdefs.h >>conftest.$ac_ext
21104 cat >>conftest.$ac_ext <<_ACEOF
21105 /* end confdefs.h. */
21106 $ac_includes_default
21107 typedef long long ac__type_sizeof_;
21108 int
21109 main ()
21110 {
21111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21112 test_array [0] = 0
21113
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (ac_try="$ac_compile"
21120 case "(($ac_try" in
21121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21122 *) ac_try_echo=$ac_try;;
21123 esac
21124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21125 (eval "$ac_compile") 2>conftest.er1
21126 ac_status=$?
21127 grep -v '^ *+' conftest.er1 >conftest.err
21128 rm -f conftest.er1
21129 cat conftest.err >&5
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); } && {
21132 test -z "$ac_c_werror_flag" ||
21133 test ! -s conftest.err
21134 } && test -s conftest.$ac_objext; then
21135 ac_lo=0 ac_mid=0
21136 while :; do
21137 cat >conftest.$ac_ext <<_ACEOF
21138 /* confdefs.h. */
21139 _ACEOF
21140 cat confdefs.h >>conftest.$ac_ext
21141 cat >>conftest.$ac_ext <<_ACEOF
21142 /* end confdefs.h. */
21143 $ac_includes_default
21144 typedef long long ac__type_sizeof_;
21145 int
21146 main ()
21147 {
21148 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21149 test_array [0] = 0
21150
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 rm -f conftest.$ac_objext
21156 if { (ac_try="$ac_compile"
21157 case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21160 esac
21161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_compile") 2>conftest.er1
21163 ac_status=$?
21164 grep -v '^ *+' conftest.er1 >conftest.err
21165 rm -f conftest.er1
21166 cat conftest.err >&5
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); } && {
21169 test -z "$ac_c_werror_flag" ||
21170 test ! -s conftest.err
21171 } && test -s conftest.$ac_objext; then
21172 ac_hi=$ac_mid; break
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 ac_lo=`expr $ac_mid + 1`
21178 if test $ac_lo -le $ac_mid; then
21179 ac_lo= ac_hi=
21180 break
21181 fi
21182 ac_mid=`expr 2 '*' $ac_mid + 1`
21183 fi
21184
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 done
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef long long ac__type_sizeof_;
21199 int
21200 main ()
21201 {
21202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21203 test_array [0] = 0
21204
21205 ;
21206 return 0;
21207 }
21208 _ACEOF
21209 rm -f conftest.$ac_objext
21210 if { (ac_try="$ac_compile"
21211 case "(($ac_try" in
21212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21213 *) ac_try_echo=$ac_try;;
21214 esac
21215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21216 (eval "$ac_compile") 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } && {
21223 test -z "$ac_c_werror_flag" ||
21224 test ! -s conftest.err
21225 } && test -s conftest.$ac_objext; then
21226 ac_hi=-1 ac_mid=-1
21227 while :; do
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 typedef long long ac__type_sizeof_;
21236 int
21237 main ()
21238 {
21239 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21240 test_array [0] = 0
21241
21242 ;
21243 return 0;
21244 }
21245 _ACEOF
21246 rm -f conftest.$ac_objext
21247 if { (ac_try="$ac_compile"
21248 case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_compile") 2>conftest.er1
21254 ac_status=$?
21255 grep -v '^ *+' conftest.er1 >conftest.err
21256 rm -f conftest.er1
21257 cat conftest.err >&5
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); } && {
21260 test -z "$ac_c_werror_flag" ||
21261 test ! -s conftest.err
21262 } && test -s conftest.$ac_objext; then
21263 ac_lo=$ac_mid; break
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 ac_hi=`expr '(' $ac_mid ')' - 1`
21269 if test $ac_mid -le $ac_hi; then
21270 ac_lo= ac_hi=
21271 break
21272 fi
21273 ac_mid=`expr 2 '*' $ac_mid`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 else
21279 echo "$as_me: failed program was:" >&5
21280 sed 's/^/| /' conftest.$ac_ext >&5
21281
21282 ac_lo= ac_hi=
21283 fi
21284
21285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21286 fi
21287
21288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21289 # Binary search between lo and hi bounds.
21290 while test "x$ac_lo" != "x$ac_hi"; do
21291 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21292 cat >conftest.$ac_ext <<_ACEOF
21293 /* confdefs.h. */
21294 _ACEOF
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 $ac_includes_default
21299 typedef long long ac__type_sizeof_;
21300 int
21301 main ()
21302 {
21303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21304 test_array [0] = 0
21305
21306 ;
21307 return 0;
21308 }
21309 _ACEOF
21310 rm -f conftest.$ac_objext
21311 if { (ac_try="$ac_compile"
21312 case "(($ac_try" in
21313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21314 *) ac_try_echo=$ac_try;;
21315 esac
21316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21317 (eval "$ac_compile") 2>conftest.er1
21318 ac_status=$?
21319 grep -v '^ *+' conftest.er1 >conftest.err
21320 rm -f conftest.er1
21321 cat conftest.err >&5
21322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323 (exit $ac_status); } && {
21324 test -z "$ac_c_werror_flag" ||
21325 test ! -s conftest.err
21326 } && test -s conftest.$ac_objext; then
21327 ac_hi=$ac_mid
21328 else
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.$ac_ext >&5
21331
21332 ac_lo=`expr '(' $ac_mid ')' + 1`
21333 fi
21334
21335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21336 done
21337 case $ac_lo in
21338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21339 '') if test "$ac_cv_type_long_long" = yes; then
21340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21341 See \`config.log' for more details." >&5
21342 echo "$as_me: error: cannot compute sizeof (long long)
21343 See \`config.log' for more details." >&2;}
21344 { (exit 77); exit 77; }; }
21345 else
21346 ac_cv_sizeof_long_long=0
21347 fi ;;
21348 esac
21349 else
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356 $ac_includes_default
21357 typedef long long ac__type_sizeof_;
21358 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21359 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21360 #include <stdio.h>
21361 #include <stdlib.h>
21362 int
21363 main ()
21364 {
21365
21366 FILE *f = fopen ("conftest.val", "w");
21367 if (! f)
21368 return 1;
21369 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21370 {
21371 long int i = longval ();
21372 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21373 return 1;
21374 fprintf (f, "%ld\n", i);
21375 }
21376 else
21377 {
21378 unsigned long int i = ulongval ();
21379 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21380 return 1;
21381 fprintf (f, "%lu\n", i);
21382 }
21383 return ferror (f) || fclose (f) != 0;
21384
21385 ;
21386 return 0;
21387 }
21388 _ACEOF
21389 rm -f conftest$ac_exeext
21390 if { (ac_try="$ac_link"
21391 case "(($ac_try" in
21392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21393 *) ac_try_echo=$ac_try;;
21394 esac
21395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21396 (eval "$ac_link") 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21400 { (case "(($ac_try" in
21401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21402 *) ac_try_echo=$ac_try;;
21403 esac
21404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21405 (eval "$ac_try") 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_sizeof_long_long=`cat conftest.val`
21410 else
21411 echo "$as_me: program exited with status $ac_status" >&5
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 ( exit $ac_status )
21416 if test "$ac_cv_type_long_long" = yes; then
21417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21418 See \`config.log' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (long long)
21420 See \`config.log' for more details." >&2;}
21421 { (exit 77); exit 77; }; }
21422 else
21423 ac_cv_sizeof_long_long=0
21424 fi
21425 fi
21426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21427 fi
21428 rm -f conftest.val
21429 fi
21430 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21432
21433
21434
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21437 _ACEOF
21438
21439
21440 ;;
21441 *-hp-hpux* )
21442 { echo "$as_me:$LINENO: checking for long long" >&5
21443 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21444 if test "${ac_cv_type_long_long+set}" = set; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 else
21447 cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h. */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 $ac_includes_default
21454 typedef long long ac__type_new_;
21455 int
21456 main ()
21457 {
21458 if ((ac__type_new_ *) 0)
21459 return 0;
21460 if (sizeof (ac__type_new_))
21461 return 0;
21462 ;
21463 return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (ac_try="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21471 esac
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21474 ac_status=$?
21475 grep -v '^ *+' conftest.er1 >conftest.err
21476 rm -f conftest.er1
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21483 ac_cv_type_long_long=yes
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 ac_cv_type_long_long=no
21489 fi
21490
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21492 fi
21493 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21494 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21495
21496 # The cast to long int works around a bug in the HP C Compiler
21497 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21498 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21499 # This bug is HP SR number 8606223364.
21500 { echo "$as_me:$LINENO: checking size of long long" >&5
21501 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21502 if test "${ac_cv_sizeof_long_long+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 if test "$cross_compiling" = yes; then
21506 # Depending upon the size, compute the lo and hi bounds.
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef long long ac__type_sizeof_;
21515 int
21516 main ()
21517 {
21518 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21519 test_array [0] = 0
21520
21521 ;
21522 return 0;
21523 }
21524 _ACEOF
21525 rm -f conftest.$ac_objext
21526 if { (ac_try="$ac_compile"
21527 case "(($ac_try" in
21528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21529 *) ac_try_echo=$ac_try;;
21530 esac
21531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21532 (eval "$ac_compile") 2>conftest.er1
21533 ac_status=$?
21534 grep -v '^ *+' conftest.er1 >conftest.err
21535 rm -f conftest.er1
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } && {
21539 test -z "$ac_c_werror_flag" ||
21540 test ! -s conftest.err
21541 } && test -s conftest.$ac_objext; then
21542 ac_lo=0 ac_mid=0
21543 while :; do
21544 cat >conftest.$ac_ext <<_ACEOF
21545 /* confdefs.h. */
21546 _ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21550 $ac_includes_default
21551 typedef long long ac__type_sizeof_;
21552 int
21553 main ()
21554 {
21555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21556 test_array [0] = 0
21557
21558 ;
21559 return 0;
21560 }
21561 _ACEOF
21562 rm -f conftest.$ac_objext
21563 if { (ac_try="$ac_compile"
21564 case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21567 esac
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_compile") 2>conftest.er1
21570 ac_status=$?
21571 grep -v '^ *+' conftest.er1 >conftest.err
21572 rm -f conftest.er1
21573 cat conftest.err >&5
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); } && {
21576 test -z "$ac_c_werror_flag" ||
21577 test ! -s conftest.err
21578 } && test -s conftest.$ac_objext; then
21579 ac_hi=$ac_mid; break
21580 else
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21583
21584 ac_lo=`expr $ac_mid + 1`
21585 if test $ac_lo -le $ac_mid; then
21586 ac_lo= ac_hi=
21587 break
21588 fi
21589 ac_mid=`expr 2 '*' $ac_mid + 1`
21590 fi
21591
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 done
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 cat >conftest.$ac_ext <<_ACEOF
21599 /* confdefs.h. */
21600 _ACEOF
21601 cat confdefs.h >>conftest.$ac_ext
21602 cat >>conftest.$ac_ext <<_ACEOF
21603 /* end confdefs.h. */
21604 $ac_includes_default
21605 typedef long long ac__type_sizeof_;
21606 int
21607 main ()
21608 {
21609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21610 test_array [0] = 0
21611
21612 ;
21613 return 0;
21614 }
21615 _ACEOF
21616 rm -f conftest.$ac_objext
21617 if { (ac_try="$ac_compile"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21621 esac
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_compile") 2>conftest.er1
21624 ac_status=$?
21625 grep -v '^ *+' conftest.er1 >conftest.err
21626 rm -f conftest.er1
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest.$ac_objext; then
21633 ac_hi=-1 ac_mid=-1
21634 while :; do
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef long long ac__type_sizeof_;
21643 int
21644 main ()
21645 {
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21647 test_array [0] = 0
21648
21649 ;
21650 return 0;
21651 }
21652 _ACEOF
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_lo=$ac_mid; break
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_hi=`expr '(' $ac_mid ')' - 1`
21676 if test $ac_mid -le $ac_hi; then
21677 ac_lo= ac_hi=
21678 break
21679 fi
21680 ac_mid=`expr 2 '*' $ac_mid`
21681 fi
21682
21683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21684 done
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_lo= ac_hi=
21690 fi
21691
21692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21693 fi
21694
21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21696 # Binary search between lo and hi bounds.
21697 while test "x$ac_lo" != "x$ac_hi"; do
21698 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21699 cat >conftest.$ac_ext <<_ACEOF
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef long long ac__type_sizeof_;
21707 int
21708 main ()
21709 {
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21711 test_array [0] = 0
21712
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21721 *) ac_try_echo=$ac_try;;
21722 esac
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21725 ac_status=$?
21726 grep -v '^ *+' conftest.er1 >conftest.err
21727 rm -f conftest.er1
21728 cat conftest.err >&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.$ac_objext; then
21734 ac_hi=$ac_mid
21735 else
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.$ac_ext >&5
21738
21739 ac_lo=`expr '(' $ac_mid ')' + 1`
21740 fi
21741
21742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21743 done
21744 case $ac_lo in
21745 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21746 '') if test "$ac_cv_type_long_long" = yes; then
21747 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21748 See \`config.log' for more details." >&5
21749 echo "$as_me: error: cannot compute sizeof (long long)
21750 See \`config.log' for more details." >&2;}
21751 { (exit 77); exit 77; }; }
21752 else
21753 ac_cv_sizeof_long_long=0
21754 fi ;;
21755 esac
21756 else
21757 cat >conftest.$ac_ext <<_ACEOF
21758 /* confdefs.h. */
21759 _ACEOF
21760 cat confdefs.h >>conftest.$ac_ext
21761 cat >>conftest.$ac_ext <<_ACEOF
21762 /* end confdefs.h. */
21763 $ac_includes_default
21764 typedef long long ac__type_sizeof_;
21765 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21766 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21767 #include <stdio.h>
21768 #include <stdlib.h>
21769 int
21770 main ()
21771 {
21772
21773 FILE *f = fopen ("conftest.val", "w");
21774 if (! f)
21775 return 1;
21776 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21777 {
21778 long int i = longval ();
21779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21780 return 1;
21781 fprintf (f, "%ld\n", i);
21782 }
21783 else
21784 {
21785 unsigned long int i = ulongval ();
21786 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21787 return 1;
21788 fprintf (f, "%lu\n", i);
21789 }
21790 return ferror (f) || fclose (f) != 0;
21791
21792 ;
21793 return 0;
21794 }
21795 _ACEOF
21796 rm -f conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21801 esac
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_link") 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (case "(($ac_try" in
21808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21809 *) ac_try_echo=$ac_try;;
21810 esac
21811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21812 (eval "$ac_try") 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; }; then
21816 ac_cv_sizeof_long_long=`cat conftest.val`
21817 else
21818 echo "$as_me: program exited with status $ac_status" >&5
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ( exit $ac_status )
21823 if test "$ac_cv_type_long_long" = yes; then
21824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21825 See \`config.log' for more details." >&5
21826 echo "$as_me: error: cannot compute sizeof (long long)
21827 See \`config.log' for more details." >&2;}
21828 { (exit 77); exit 77; }; }
21829 else
21830 ac_cv_sizeof_long_long=0
21831 fi
21832 fi
21833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21834 fi
21835 rm -f conftest.val
21836 fi
21837 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21838 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21839
21840
21841
21842 cat >>confdefs.h <<_ACEOF
21843 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21844 _ACEOF
21845
21846
21847 if test "$ac_cv_sizeof_long_long" != 0; then
21848 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21849 fi
21850 ;;
21851 * )
21852 { echo "$as_me:$LINENO: checking for long long" >&5
21853 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21854 if test "${ac_cv_type_long_long+set}" = set; then
21855 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 else
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863 $ac_includes_default
21864 typedef long long ac__type_new_;
21865 int
21866 main ()
21867 {
21868 if ((ac__type_new_ *) 0)
21869 return 0;
21870 if (sizeof (ac__type_new_))
21871 return 0;
21872 ;
21873 return 0;
21874 }
21875 _ACEOF
21876 rm -f conftest.$ac_objext
21877 if { (ac_try="$ac_compile"
21878 case "(($ac_try" in
21879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880 *) ac_try_echo=$ac_try;;
21881 esac
21882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883 (eval "$ac_compile") 2>conftest.er1
21884 ac_status=$?
21885 grep -v '^ *+' conftest.er1 >conftest.err
21886 rm -f conftest.er1
21887 cat conftest.err >&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); } && {
21890 test -z "$ac_c_werror_flag" ||
21891 test ! -s conftest.err
21892 } && test -s conftest.$ac_objext; then
21893 ac_cv_type_long_long=yes
21894 else
21895 echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.$ac_ext >&5
21897
21898 ac_cv_type_long_long=no
21899 fi
21900
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 fi
21903 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21904 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21905
21906 # The cast to long int works around a bug in the HP C Compiler
21907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21909 # This bug is HP SR number 8606223364.
21910 { echo "$as_me:$LINENO: checking size of long long" >&5
21911 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21912 if test "${ac_cv_sizeof_long_long+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 else
21915 if test "$cross_compiling" = yes; then
21916 # Depending upon the size, compute the lo and hi bounds.
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923 $ac_includes_default
21924 typedef long long ac__type_sizeof_;
21925 int
21926 main ()
21927 {
21928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21929 test_array [0] = 0
21930
21931 ;
21932 return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (ac_try="$ac_compile"
21937 case "(($ac_try" in
21938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21939 *) ac_try_echo=$ac_try;;
21940 esac
21941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21942 (eval "$ac_compile") 2>conftest.er1
21943 ac_status=$?
21944 grep -v '^ *+' conftest.er1 >conftest.err
21945 rm -f conftest.er1
21946 cat conftest.err >&5
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); } && {
21949 test -z "$ac_c_werror_flag" ||
21950 test ! -s conftest.err
21951 } && test -s conftest.$ac_objext; then
21952 ac_lo=0 ac_mid=0
21953 while :; do
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21962 int
21963 main ()
21964 {
21965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21966 test_array [0] = 0
21967
21968 ;
21969 return 0;
21970 }
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (ac_try="$ac_compile"
21974 case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21977 esac
21978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_compile") 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } && {
21986 test -z "$ac_c_werror_flag" ||
21987 test ! -s conftest.err
21988 } && test -s conftest.$ac_objext; then
21989 ac_hi=$ac_mid; break
21990 else
21991 echo "$as_me: failed program was:" >&5
21992 sed 's/^/| /' conftest.$ac_ext >&5
21993
21994 ac_lo=`expr $ac_mid + 1`
21995 if test $ac_lo -le $ac_mid; then
21996 ac_lo= ac_hi=
21997 break
21998 fi
21999 ac_mid=`expr 2 '*' $ac_mid + 1`
22000 fi
22001
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003 done
22004 else
22005 echo "$as_me: failed program was:" >&5
22006 sed 's/^/| /' conftest.$ac_ext >&5
22007
22008 cat >conftest.$ac_ext <<_ACEOF
22009 /* confdefs.h. */
22010 _ACEOF
22011 cat confdefs.h >>conftest.$ac_ext
22012 cat >>conftest.$ac_ext <<_ACEOF
22013 /* end confdefs.h. */
22014 $ac_includes_default
22015 typedef long long ac__type_sizeof_;
22016 int
22017 main ()
22018 {
22019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22020 test_array [0] = 0
22021
22022 ;
22023 return 0;
22024 }
22025 _ACEOF
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22031 esac
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22034 ac_status=$?
22035 grep -v '^ *+' conftest.er1 >conftest.err
22036 rm -f conftest.er1
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_hi=-1 ac_mid=-1
22044 while :; do
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051 $ac_includes_default
22052 typedef long long ac__type_sizeof_;
22053 int
22054 main ()
22055 {
22056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22057 test_array [0] = 0
22058
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext
22064 if { (ac_try="$ac_compile"
22065 case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_compile") 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && {
22077 test -z "$ac_c_werror_flag" ||
22078 test ! -s conftest.err
22079 } && test -s conftest.$ac_objext; then
22080 ac_lo=$ac_mid; break
22081 else
22082 echo "$as_me: failed program was:" >&5
22083 sed 's/^/| /' conftest.$ac_ext >&5
22084
22085 ac_hi=`expr '(' $ac_mid ')' - 1`
22086 if test $ac_mid -le $ac_hi; then
22087 ac_lo= ac_hi=
22088 break
22089 fi
22090 ac_mid=`expr 2 '*' $ac_mid`
22091 fi
22092
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22094 done
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_lo= ac_hi=
22100 fi
22101
22102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22103 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 # Binary search between lo and hi bounds.
22107 while test "x$ac_lo" != "x$ac_hi"; do
22108 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22109 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */
22111 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef long long ac__type_sizeof_;
22117 int
22118 main ()
22119 {
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22121 test_array [0] = 0
22122
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132 esac
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22144 ac_hi=$ac_mid
22145 else
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22148
22149 ac_lo=`expr '(' $ac_mid ')' + 1`
22150 fi
22151
22152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22153 done
22154 case $ac_lo in
22155 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22156 '') if test "$ac_cv_type_long_long" = yes; then
22157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22158 See \`config.log' for more details." >&5
22159 echo "$as_me: error: cannot compute sizeof (long long)
22160 See \`config.log' for more details." >&2;}
22161 { (exit 77); exit 77; }; }
22162 else
22163 ac_cv_sizeof_long_long=0
22164 fi ;;
22165 esac
22166 else
22167 cat >conftest.$ac_ext <<_ACEOF
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long long ac__type_sizeof_;
22175 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22176 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22177 #include <stdio.h>
22178 #include <stdlib.h>
22179 int
22180 main ()
22181 {
22182
22183 FILE *f = fopen ("conftest.val", "w");
22184 if (! f)
22185 return 1;
22186 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22187 {
22188 long int i = longval ();
22189 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22190 return 1;
22191 fprintf (f, "%ld\n", i);
22192 }
22193 else
22194 {
22195 unsigned long int i = ulongval ();
22196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22197 return 1;
22198 fprintf (f, "%lu\n", i);
22199 }
22200 return ferror (f) || fclose (f) != 0;
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest$ac_exeext
22207 if { (ac_try="$ac_link"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_link") 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (case "(($ac_try" in
22218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22219 *) ac_try_echo=$ac_try;;
22220 esac
22221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22222 (eval "$ac_try") 2>&5
22223 ac_status=$?
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); }; }; then
22226 ac_cv_sizeof_long_long=`cat conftest.val`
22227 else
22228 echo "$as_me: program exited with status $ac_status" >&5
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ( exit $ac_status )
22233 if test "$ac_cv_type_long_long" = yes; then
22234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22235 See \`config.log' for more details." >&5
22236 echo "$as_me: error: cannot compute sizeof (long long)
22237 See \`config.log' for more details." >&2;}
22238 { (exit 77); exit 77; }; }
22239 else
22240 ac_cv_sizeof_long_long=0
22241 fi
22242 fi
22243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22244 fi
22245 rm -f conftest.val
22246 fi
22247 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22248 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22249
22250
22251
22252 cat >>confdefs.h <<_ACEOF
22253 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22254 _ACEOF
22255
22256
22257 esac
22258
22259 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22260 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22261 if test "${ac_cv_type_wchar_t+set}" = set; then
22262 echo $ECHO_N "(cached) $ECHO_C" >&6
22263 else
22264 cat >conftest.$ac_ext <<_ACEOF
22265 /* confdefs.h. */
22266 _ACEOF
22267 cat confdefs.h >>conftest.$ac_ext
22268 cat >>conftest.$ac_ext <<_ACEOF
22269 /* end confdefs.h. */
22270
22271 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22273 # error "fake wchar_t"
22274 #endif
22275 #ifdef HAVE_WCHAR_H
22276 # ifdef __CYGWIN__
22277 # include <stddef.h>
22278 # endif
22279 # include <wchar.h>
22280 #endif
22281 #ifdef HAVE_STDLIB_H
22282 # include <stdlib.h>
22283 #endif
22284 #include <stdio.h>
22285
22286
22287
22288 typedef wchar_t ac__type_new_;
22289 int
22290 main ()
22291 {
22292 if ((ac__type_new_ *) 0)
22293 return 0;
22294 if (sizeof (ac__type_new_))
22295 return 0;
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 rm -f conftest.$ac_objext
22301 if { (ac_try="$ac_compile"
22302 case "(($ac_try" in
22303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22304 *) ac_try_echo=$ac_try;;
22305 esac
22306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22307 (eval "$ac_compile") 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } && {
22314 test -z "$ac_c_werror_flag" ||
22315 test ! -s conftest.err
22316 } && test -s conftest.$ac_objext; then
22317 ac_cv_type_wchar_t=yes
22318 else
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ac_cv_type_wchar_t=no
22323 fi
22324
22325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22326 fi
22327 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22328 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22329
22330 # The cast to long int works around a bug in the HP C Compiler
22331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22333 # This bug is HP SR number 8606223364.
22334 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22335 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22336 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339 if test "$cross_compiling" = yes; then
22340 # Depending upon the size, compute the lo and hi bounds.
22341 cat >conftest.$ac_ext <<_ACEOF
22342 /* confdefs.h. */
22343 _ACEOF
22344 cat confdefs.h >>conftest.$ac_ext
22345 cat >>conftest.$ac_ext <<_ACEOF
22346 /* end confdefs.h. */
22347
22348 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22349 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22350 # error "fake wchar_t"
22351 #endif
22352 #ifdef HAVE_WCHAR_H
22353 # ifdef __CYGWIN__
22354 # include <stddef.h>
22355 # endif
22356 # include <wchar.h>
22357 #endif
22358 #ifdef HAVE_STDLIB_H
22359 # include <stdlib.h>
22360 #endif
22361 #include <stdio.h>
22362
22363
22364
22365 typedef wchar_t ac__type_sizeof_;
22366 int
22367 main ()
22368 {
22369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22370 test_array [0] = 0
22371
22372 ;
22373 return 0;
22374 }
22375 _ACEOF
22376 rm -f conftest.$ac_objext
22377 if { (ac_try="$ac_compile"
22378 case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_compile") 2>conftest.er1
22384 ac_status=$?
22385 grep -v '^ *+' conftest.er1 >conftest.err
22386 rm -f conftest.er1
22387 cat conftest.err >&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && {
22390 test -z "$ac_c_werror_flag" ||
22391 test ! -s conftest.err
22392 } && test -s conftest.$ac_objext; then
22393 ac_lo=0 ac_mid=0
22394 while :; do
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401
22402 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22403 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22404 # error "fake wchar_t"
22405 #endif
22406 #ifdef HAVE_WCHAR_H
22407 # ifdef __CYGWIN__
22408 # include <stddef.h>
22409 # endif
22410 # include <wchar.h>
22411 #endif
22412 #ifdef HAVE_STDLIB_H
22413 # include <stdlib.h>
22414 #endif
22415 #include <stdio.h>
22416
22417
22418
22419 typedef wchar_t ac__type_sizeof_;
22420 int
22421 main ()
22422 {
22423 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22424 test_array [0] = 0
22425
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22438 ac_status=$?
22439 grep -v '^ *+' conftest.er1 >conftest.err
22440 rm -f conftest.er1
22441 cat conftest.err >&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.$ac_objext; then
22447 ac_hi=$ac_mid; break
22448 else
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22451
22452 ac_lo=`expr $ac_mid + 1`
22453 if test $ac_lo -le $ac_mid; then
22454 ac_lo= ac_hi=
22455 break
22456 fi
22457 ac_mid=`expr 2 '*' $ac_mid + 1`
22458 fi
22459
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22461 done
22462 else
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 cat >conftest.$ac_ext <<_ACEOF
22467 /* confdefs.h. */
22468 _ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472
22473 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22474 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22475 # error "fake wchar_t"
22476 #endif
22477 #ifdef HAVE_WCHAR_H
22478 # ifdef __CYGWIN__
22479 # include <stddef.h>
22480 # endif
22481 # include <wchar.h>
22482 #endif
22483 #ifdef HAVE_STDLIB_H
22484 # include <stdlib.h>
22485 #endif
22486 #include <stdio.h>
22487
22488
22489
22490 typedef wchar_t ac__type_sizeof_;
22491 int
22492 main ()
22493 {
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22495 test_array [0] = 0
22496
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_hi=-1 ac_mid=-1
22519 while :; do
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526
22527 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22528 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22529 # error "fake wchar_t"
22530 #endif
22531 #ifdef HAVE_WCHAR_H
22532 # ifdef __CYGWIN__
22533 # include <stddef.h>
22534 # endif
22535 # include <wchar.h>
22536 #endif
22537 #ifdef HAVE_STDLIB_H
22538 # include <stdlib.h>
22539 #endif
22540 #include <stdio.h>
22541
22542
22543
22544 typedef wchar_t ac__type_sizeof_;
22545 int
22546 main ()
22547 {
22548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22549 test_array [0] = 0
22550
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_lo=$ac_mid; break
22573 else
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577 ac_hi=`expr '(' $ac_mid ')' - 1`
22578 if test $ac_mid -le $ac_hi; then
22579 ac_lo= ac_hi=
22580 break
22581 fi
22582 ac_mid=`expr 2 '*' $ac_mid`
22583 fi
22584
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 done
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ac_lo= ac_hi=
22592 fi
22593
22594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22595 fi
22596
22597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22598 # Binary search between lo and hi bounds.
22599 while test "x$ac_lo" != "x$ac_hi"; do
22600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22601 cat >conftest.$ac_ext <<_ACEOF
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607
22608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22610 # error "fake wchar_t"
22611 #endif
22612 #ifdef HAVE_WCHAR_H
22613 # ifdef __CYGWIN__
22614 # include <stddef.h>
22615 # endif
22616 # include <wchar.h>
22617 #endif
22618 #ifdef HAVE_STDLIB_H
22619 # include <stdlib.h>
22620 #endif
22621 #include <stdio.h>
22622
22623
22624
22625 typedef wchar_t ac__type_sizeof_;
22626 int
22627 main ()
22628 {
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22630 test_array [0] = 0
22631
22632 ;
22633 return 0;
22634 }
22635 _ACEOF
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22641 esac
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22644 ac_status=$?
22645 grep -v '^ *+' conftest.er1 >conftest.err
22646 rm -f conftest.er1
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22653 ac_hi=$ac_mid
22654 else
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_lo=`expr '(' $ac_mid ')' + 1`
22659 fi
22660
22661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22662 done
22663 case $ac_lo in
22664 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22665 '') if test "$ac_cv_type_wchar_t" = yes; then
22666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22667 See \`config.log' for more details." >&5
22668 echo "$as_me: error: cannot compute sizeof (wchar_t)
22669 See \`config.log' for more details." >&2;}
22670 { (exit 77); exit 77; }; }
22671 else
22672 ac_cv_sizeof_wchar_t=0
22673 fi ;;
22674 esac
22675 else
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682
22683 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22684 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22685 # error "fake wchar_t"
22686 #endif
22687 #ifdef HAVE_WCHAR_H
22688 # ifdef __CYGWIN__
22689 # include <stddef.h>
22690 # endif
22691 # include <wchar.h>
22692 #endif
22693 #ifdef HAVE_STDLIB_H
22694 # include <stdlib.h>
22695 #endif
22696 #include <stdio.h>
22697
22698
22699
22700 typedef wchar_t ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22703 #include <stdio.h>
22704 #include <stdlib.h>
22705 int
22706 main ()
22707 {
22708
22709 FILE *f = fopen ("conftest.val", "w");
22710 if (! f)
22711 return 1;
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22713 {
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22716 return 1;
22717 fprintf (f, "%ld\n", i);
22718 }
22719 else
22720 {
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22723 return 1;
22724 fprintf (f, "%lu\n", i);
22725 }
22726 return ferror (f) || fclose (f) != 0;
22727
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22737 esac
22738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22746 esac
22747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22749 ac_status=$?
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_wchar_t=`cat conftest.val`
22753 else
22754 echo "$as_me: program exited with status $ac_status" >&5
22755 echo "$as_me: failed program was:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22757
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_wchar_t" = yes; then
22760 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22761 See \`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (wchar_t)
22763 See \`config.log' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22765 else
22766 ac_cv_sizeof_wchar_t=0
22767 fi
22768 fi
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22770 fi
22771 rm -f conftest.val
22772 fi
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22775
22776
22777
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22780 _ACEOF
22781
22782
22783 if test "$ac_cv_sizeof_wchar_t" != 0; then
22784 wxUSE_WCHAR_T=yes
22785 else
22786 wxUSE_WCHAR_T=no
22787 fi
22788
22789 { echo "$as_me:$LINENO: checking for va_copy" >&5
22790 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22791 if test "${wx_cv_func_va_copy+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 else
22794
22795 ac_ext=cpp
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22800
22801 cat >conftest.$ac_ext <<_ACEOF
22802
22803 #include <stdarg.h>
22804 void foo(char *f, ...)
22805 {
22806 va_list ap1, ap2;
22807 va_start(ap1, f);
22808 va_copy(ap2, ap1);
22809 va_end(ap2);
22810 va_end(ap1);
22811 }
22812 int main()
22813 {
22814 foo("hi", 17);
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext conftest$ac_exeext
22819 if { (ac_try="$ac_link"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_link") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_cxx_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest$ac_exeext &&
22835 $as_test_x conftest$ac_exeext; then
22836 wx_cv_func_va_copy=yes
22837 else
22838 echo "$as_me: failed program was:" >&5
22839 sed 's/^/| /' conftest.$ac_ext >&5
22840
22841 wx_cv_func_va_copy=no
22842
22843 fi
22844
22845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22846 conftest$ac_exeext conftest.$ac_ext
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22852
22853
22854
22855 fi
22856 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22857 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22858
22859 if test $wx_cv_func_va_copy = "yes"; then
22860 cat >>confdefs.h <<\_ACEOF
22861 #define HAVE_VA_COPY 1
22862 _ACEOF
22863
22864 else
22865 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22866 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22867 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22868 echo $ECHO_N "(cached) $ECHO_C" >&6
22869 else
22870
22871 if test "$cross_compiling" = yes; then
22872 wx_cv_type_va_list_lvalue=yes
22873
22874 else
22875 cat >conftest.$ac_ext <<_ACEOF
22876
22877 #include <stdarg.h>
22878 int foo(char *f, ...)
22879 {
22880 va_list ap1, ap2;
22881 va_start(ap1, f);
22882 ap2 = ap1;
22883 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22884 return 1;
22885 va_end(ap2);
22886 va_end(ap1);
22887 return 0;
22888 }
22889 int main()
22890 {
22891 return foo("hi", 17);
22892 }
22893 _ACEOF
22894 rm -f conftest$ac_exeext
22895 if { (ac_try="$ac_link"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_link") 2>&5
22902 ac_status=$?
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22905 { (case "(($ac_try" in
22906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22907 *) ac_try_echo=$ac_try;;
22908 esac
22909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22910 (eval "$ac_try") 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 wx_cv_type_va_list_lvalue=yes
22915 else
22916 echo "$as_me: program exited with status $ac_status" >&5
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22919
22920 ( exit $ac_status )
22921 wx_cv_type_va_list_lvalue=no
22922 fi
22923 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22924 fi
22925
22926
22927
22928
22929 fi
22930 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22931 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22932
22933 if test $wx_cv_type_va_list_lvalue != "yes"; then
22934 cat >>confdefs.h <<\_ACEOF
22935 #define VA_LIST_IS_ARRAY 1
22936 _ACEOF
22937
22938 fi
22939 fi
22940
22941 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22942
22943 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22944 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22945 if test "${wx_cv_have_variadic_macros+set}" = set; then
22946 echo $ECHO_N "(cached) $ECHO_C" >&6
22947 else
22948
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22954
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961
22962 #include <stdio.h>
22963 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22964
22965 int
22966 main ()
22967 {
22968
22969 test("%s %d %p", "test", 1, 0);
22970
22971
22972 ;
22973 return 0;
22974 }
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (ac_try="$ac_compile"
22978 case "(($ac_try" in
22979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22980 *) ac_try_echo=$ac_try;;
22981 esac
22982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22983 (eval "$ac_compile") 2>conftest.er1
22984 ac_status=$?
22985 grep -v '^ *+' conftest.er1 >conftest.err
22986 rm -f conftest.er1
22987 cat conftest.err >&5
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); } && {
22990 test -z "$ac_cxx_werror_flag" ||
22991 test ! -s conftest.err
22992 } && test -s conftest.$ac_objext; then
22993 wx_cv_have_variadic_macros=yes
22994 else
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 wx_cv_have_variadic_macros=no
22999
23000 fi
23001
23002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003 ac_ext=c
23004 ac_cpp='$CPP $CPPFLAGS'
23005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23008
23009
23010
23011 fi
23012 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23013 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23014
23015 if test $wx_cv_have_variadic_macros = "yes"; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_VARIADIC_MACROS 1
23018 _ACEOF
23019
23020 fi
23021
23022 fi
23023 # Check whether --enable-largefile was given.
23024 if test "${enable_largefile+set}" = set; then
23025 enableval=$enable_largefile;
23026 fi
23027
23028 if test "$enable_largefile" != no; then
23029 wx_largefile=no
23030
23031 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23032 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23033 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 else
23036
23037 cat >conftest.$ac_ext <<_ACEOF
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 #define _FILE_OFFSET_BITS 64
23044 #include <sys/types.h>
23045 int
23046 main ()
23047 {
23048 typedef struct {
23049 unsigned int field: sizeof(off_t) == 8;
23050 } wxlf;
23051
23052 ;
23053 return 0;
23054 }
23055 _ACEOF
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_c_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_sys_file_offset_bits=64
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_cv_sys_file_offset_bits=no
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082
23083
23084 fi
23085 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23086 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23087
23088 if test "$ac_cv_sys_file_offset_bits" != no; then
23089 wx_largefile=yes
23090 cat >>confdefs.h <<_ACEOF
23091 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23092 _ACEOF
23093
23094 fi
23095
23096 if test "x$wx_largefile" != "xyes"; then
23097
23098 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23099 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23100 if test "${ac_cv_sys_large_files+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #define _LARGE_FILES 1
23111 #include <sys/types.h>
23112 int
23113 main ()
23114 {
23115 typedef struct {
23116 unsigned int field: sizeof(off_t) == 8;
23117 } wxlf;
23118
23119 ;
23120 return 0;
23121 }
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23128 esac
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_c_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_sys_large_files=1
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_cv_sys_large_files=no
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149
23150
23151 fi
23152 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23153 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23154
23155 if test "$ac_cv_sys_large_files" != no; then
23156 wx_largefile=yes
23157 cat >>confdefs.h <<_ACEOF
23158 #define _LARGE_FILES $ac_cv_sys_large_files
23159 _ACEOF
23160
23161 fi
23162
23163 fi
23164
23165 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23166 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23167 if test "x$wx_largefile" = "xyes"; then
23168 cat >>confdefs.h <<\_ACEOF
23169 #define HAVE_LARGEFILE_SUPPORT 1
23170 _ACEOF
23171
23172 fi
23173 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23174 echo "${ECHO_T}$wx_largefile" >&6; }
23175 fi
23176
23177
23178 if test "x$wx_largefile" = "xyes"; then
23179 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23180 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23181
23182 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23183 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23184 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23185 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23186 echo $ECHO_N "(cached) $ECHO_C" >&6
23187 else
23188
23189 ac_ext=cpp
23190 ac_cpp='$CXXCPP $CPPFLAGS'
23191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23194
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201
23202 int
23203 main ()
23204 {
23205
23206 #ifndef __STDC_EXT__
23207 choke me
23208 #endif
23209
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23219 esac
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_cxx_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 wx_cv_STDC_EXT_required=no
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 wx_cv_STDC_EXT_required=yes
23237
23238 fi
23239
23240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23241 ac_ext=c
23242 ac_cpp='$CPP $CPPFLAGS'
23243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23246
23247
23248
23249 fi
23250 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23251 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23252 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23254 fi
23255 fi
23256 else
23257 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23258 fi
23259 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23260 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23261 if test "${ac_cv_sys_largefile_source+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264 while :; do
23265 cat >conftest.$ac_ext <<_ACEOF
23266 /* confdefs.h. */
23267 _ACEOF
23268 cat confdefs.h >>conftest.$ac_ext
23269 cat >>conftest.$ac_ext <<_ACEOF
23270 /* end confdefs.h. */
23271 #include <sys/types.h> /* for off_t */
23272 #include <stdio.h>
23273 int
23274 main ()
23275 {
23276 int (*fp) (FILE *, off_t, int) = fseeko;
23277 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23287 esac
23288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23290 ac_status=$?
23291 grep -v '^ *+' conftest.er1 >conftest.err
23292 rm -f conftest.er1
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_sys_largefile_source=no; break
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305
23306 fi
23307
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 #define _LARGEFILE_SOURCE 1
23317 #include <sys/types.h> /* for off_t */
23318 #include <stdio.h>
23319 int
23320 main ()
23321 {
23322 int (*fp) (FILE *, off_t, int) = fseeko;
23323 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest$ac_exeext &&
23345 $as_test_x conftest$ac_exeext; then
23346 ac_cv_sys_largefile_source=1; break
23347 else
23348 echo "$as_me: failed program was:" >&5
23349 sed 's/^/| /' conftest.$ac_ext >&5
23350
23351
23352 fi
23353
23354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23355 conftest$ac_exeext conftest.$ac_ext
23356 ac_cv_sys_largefile_source=unknown
23357 break
23358 done
23359 fi
23360 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23361 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23362 case $ac_cv_sys_largefile_source in #(
23363 no | unknown) ;;
23364 *)
23365 cat >>confdefs.h <<_ACEOF
23366 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23367 _ACEOF
23368 ;;
23369 esac
23370 rm -f conftest*
23371
23372 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23373 # in glibc 2.1.3, but that breaks too many other things.
23374 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23375 if test $ac_cv_sys_largefile_source != unknown; then
23376
23377 cat >>confdefs.h <<\_ACEOF
23378 #define HAVE_FSEEKO 1
23379 _ACEOF
23380
23381 fi
23382
23383 if test "$ac_cv_sys_largefile_source" != no; then
23384 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23385 fi
23386 fi
23387
23388 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23390 if test "${ac_cv_c_bigendian+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393 ac_cv_c_bigendian=unknown
23394 # See if sys/param.h defines the BYTE_ORDER macro.
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <sys/types.h>
23402 #include <sys/param.h>
23403 int
23404 main ()
23405 {
23406
23407 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23408 bogus endian macros
23409 #endif
23410 ;
23411 return 0;
23412 }
23413 _ACEOF
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23419 esac
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23422 ac_status=$?
23423 grep -v '^ *+' conftest.er1 >conftest.err
23424 rm -f conftest.er1
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23431 # It does; now see whether it defined to BIG_ENDIAN or not.
23432 cat >conftest.$ac_ext <<_ACEOF
23433 /* confdefs.h. */
23434 _ACEOF
23435 cat confdefs.h >>conftest.$ac_ext
23436 cat >>conftest.$ac_ext <<_ACEOF
23437 /* end confdefs.h. */
23438 #include <sys/types.h>
23439 #include <sys/param.h>
23440 int
23441 main ()
23442 {
23443
23444 #if BYTE_ORDER != BIG_ENDIAN
23445 not big endian
23446 #endif
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456 esac
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_cv_c_bigendian=yes
23469 else
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23472
23473 ac_cv_c_bigendian=no
23474 fi
23475
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481
23482 fi
23483
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 if test $ac_cv_c_bigendian = unknown; then
23486 if test "$cross_compiling" = yes; then
23487 ac_cv_c_bigendian=unknown
23488 else
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 main () {
23496 /* Are we little or big endian? From Harbison&Steele. */
23497 union
23498 {
23499 long l;
23500 char c[sizeof (long)];
23501 } u;
23502 u.l = 1;
23503 exit (u.c[sizeof (long) - 1] == 1);
23504 }
23505 _ACEOF
23506 rm -f conftest$ac_exeext
23507 if { (ac_try="$ac_link"
23508 case "(($ac_try" in
23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23511 esac
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_link") 2>&5
23514 ac_status=$?
23515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23516 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23517 { (case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_try") 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_c_bigendian=no
23527 else
23528 echo "$as_me: program exited with status $ac_status" >&5
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 ( exit $ac_status )
23533 ac_cv_c_bigendian=yes
23534 fi
23535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23536 fi
23537
23538
23539 fi
23540 fi
23541 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23542 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23543 if test $ac_cv_c_bigendian = unknown; then
23544 { 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
23545 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;}
23546 fi
23547 if test $ac_cv_c_bigendian = yes; then
23548 cat >>confdefs.h <<\_ACEOF
23549 #define WORDS_BIGENDIAN 1
23550 _ACEOF
23551
23552 fi
23553
23554
23555
23556
23557 ac_ext=cpp
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23562
23563
23564
23565 for ac_header in iostream
23566 do
23567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23571 echo $ECHO_N "(cached) $ECHO_C" >&6
23572 else
23573 cat >conftest.$ac_ext <<_ACEOF
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579
23580
23581 #include <$ac_header>
23582 _ACEOF
23583 rm -f conftest.$ac_objext
23584 if { (ac_try="$ac_compile"
23585 case "(($ac_try" in
23586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23587 *) ac_try_echo=$ac_try;;
23588 esac
23589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23590 (eval "$ac_compile") 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } && {
23597 test -z "$ac_cxx_werror_flag" ||
23598 test ! -s conftest.err
23599 } && test -s conftest.$ac_objext; then
23600 eval "$as_ac_Header=yes"
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 eval "$as_ac_Header=no"
23606 fi
23607
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 fi
23610 ac_res=`eval echo '${'$as_ac_Header'}'`
23611 { echo "$as_me:$LINENO: result: $ac_res" >&5
23612 echo "${ECHO_T}$ac_res" >&6; }
23613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23614 cat >>confdefs.h <<_ACEOF
23615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23616 _ACEOF
23617
23618 fi
23619
23620 done
23621
23622
23623 if test "$ac_cv_header_iostream" = "yes" ; then
23624 :
23625 else
23626 cat >>confdefs.h <<\_ACEOF
23627 #define wxUSE_IOSTREAMH 1
23628 _ACEOF
23629
23630 fi
23631
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637
23638
23639
23640
23641 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23642 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23643 if test "${wx_cv_cpp_bool+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646
23647
23648 ac_ext=cpp
23649 ac_cpp='$CXXCPP $CPPFLAGS'
23650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653
23654
23655 cat >conftest.$ac_ext <<_ACEOF
23656 /* confdefs.h. */
23657 _ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661
23662
23663 int
23664 main ()
23665 {
23666
23667 bool b = true;
23668
23669 return 0;
23670
23671 ;
23672 return 0;
23673 }
23674 _ACEOF
23675 rm -f conftest.$ac_objext
23676 if { (ac_try="$ac_compile"
23677 case "(($ac_try" in
23678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23679 *) ac_try_echo=$ac_try;;
23680 esac
23681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23682 (eval "$ac_compile") 2>conftest.er1
23683 ac_status=$?
23684 grep -v '^ *+' conftest.er1 >conftest.err
23685 rm -f conftest.er1
23686 cat conftest.err >&5
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); } && {
23689 test -z "$ac_cxx_werror_flag" ||
23690 test ! -s conftest.err
23691 } && test -s conftest.$ac_objext; then
23692
23693 wx_cv_cpp_bool=yes
23694
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23698
23699
23700 wx_cv_cpp_bool=no
23701
23702
23703 fi
23704
23705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23706
23707 ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
23713
23714 fi
23715 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23716 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23717
23718 if test "$wx_cv_cpp_bool" = "yes"; then
23719 cat >>confdefs.h <<\_ACEOF
23720 #define HAVE_BOOL 1
23721 _ACEOF
23722
23723 fi
23724
23725
23726
23727 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23728 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23729 if test "${wx_cv_explicit+set}" = set; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732
23733
23734 ac_ext=cpp
23735 ac_cpp='$CXXCPP $CPPFLAGS'
23736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23739
23740
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747
23748 class Foo { public: explicit Foo(int) {} };
23749
23750 int
23751 main ()
23752 {
23753
23754 return 0;
23755
23756 ;
23757 return 0;
23758 }
23759 _ACEOF
23760 rm -f conftest.$ac_objext
23761 if { (ac_try="$ac_compile"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23765 esac
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_compile") 2>conftest.er1
23768 ac_status=$?
23769 grep -v '^ *+' conftest.er1 >conftest.err
23770 rm -f conftest.er1
23771 cat conftest.err >&5
23772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23773 (exit $ac_status); } && {
23774 test -z "$ac_cxx_werror_flag" ||
23775 test ! -s conftest.err
23776 } && test -s conftest.$ac_objext; then
23777
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 class Foo { public: explicit Foo(int) {} };
23786 static void TakeFoo(const Foo& foo) { }
23787
23788 int
23789 main ()
23790 {
23791
23792 TakeFoo(17);
23793 return 0;
23794
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23807 ac_status=$?
23808 grep -v '^ *+' conftest.er1 >conftest.err
23809 rm -f conftest.er1
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_cxx_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 wx_cv_explicit=no
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 wx_cv_explicit=yes
23822
23823 fi
23824
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 wx_cv_explicit=no
23832
23833 fi
23834
23835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23836
23837 ac_ext=c
23838 ac_cpp='$CPP $CPPFLAGS'
23839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842
23843
23844 fi
23845 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23846 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23847
23848 if test "$wx_cv_explicit" = "yes"; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_EXPLICIT 1
23851 _ACEOF
23852
23853 fi
23854
23855
23856 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23857 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23858 if test "${ac_cv_cxx_const_cast+set}" = set; then
23859 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 else
23861
23862 ac_ext=cpp
23863 ac_cpp='$CXXCPP $CPPFLAGS'
23864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23867
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874
23875 int
23876 main ()
23877 {
23878 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23879 ;
23880 return 0;
23881 }
23882 _ACEOF
23883 rm -f conftest.$ac_objext
23884 if { (ac_try="$ac_compile"
23885 case "(($ac_try" in
23886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23887 *) ac_try_echo=$ac_try;;
23888 esac
23889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23890 (eval "$ac_compile") 2>conftest.er1
23891 ac_status=$?
23892 grep -v '^ *+' conftest.er1 >conftest.err
23893 rm -f conftest.er1
23894 cat conftest.err >&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } && {
23897 test -z "$ac_cxx_werror_flag" ||
23898 test ! -s conftest.err
23899 } && test -s conftest.$ac_objext; then
23900 ac_cv_cxx_const_cast=yes
23901 else
23902 echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23904
23905 ac_cv_cxx_const_cast=no
23906 fi
23907
23908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23909 ac_ext=c
23910 ac_cpp='$CPP $CPPFLAGS'
23911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23914
23915
23916 fi
23917 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23918 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23919 if test "$ac_cv_cxx_const_cast" = yes; then
23920
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_CONST_CAST
23923 _ACEOF
23924
23925 fi
23926
23927 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23928 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23929 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23930 echo $ECHO_N "(cached) $ECHO_C" >&6
23931 else
23932
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23938
23939 cat >conftest.$ac_ext <<_ACEOF
23940 /* confdefs.h. */
23941 _ACEOF
23942 cat confdefs.h >>conftest.$ac_ext
23943 cat >>conftest.$ac_ext <<_ACEOF
23944 /* end confdefs.h. */
23945 #include <typeinfo>
23946 class Base { public : Base () {} virtual void f () = 0;};
23947 class Derived : public Base { public : Derived () {} virtual void f () {} };
23948 class Unrelated { public : Unrelated () {} };
23949 int g (Unrelated&) { return 0; }
23950 int
23951 main ()
23952 {
23953
23954 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23964 esac
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23967 ac_status=$?
23968 grep -v '^ *+' conftest.er1 >conftest.err
23969 rm -f conftest.er1
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_cxx_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 ac_cv_cxx_reinterpret_cast=yes
23977 else
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23980
23981 ac_cv_cxx_reinterpret_cast=no
23982 fi
23983
23984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23985 ac_ext=c
23986 ac_cpp='$CPP $CPPFLAGS'
23987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990
23991
23992 fi
23993 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23994 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23995 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23996
23997 cat >>confdefs.h <<\_ACEOF
23998 #define HAVE_REINTERPRET_CAST
23999 _ACEOF
24000
24001 fi
24002
24003 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24004 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24005 if test "${ac_cv_cxx_static_cast+set}" = set; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24007 else
24008
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <typeinfo>
24022 class Base { public : Base () {} virtual void f () = 0; };
24023 class Derived : public Base { public : Derived () {} virtual void f () {} };
24024 int g (Derived&) { return 0; }
24025 int
24026 main ()
24027 {
24028
24029 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24030 ;
24031 return 0;
24032 }
24033 _ACEOF
24034 rm -f conftest.$ac_objext
24035 if { (ac_try="$ac_compile"
24036 case "(($ac_try" in
24037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24038 *) ac_try_echo=$ac_try;;
24039 esac
24040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24041 (eval "$ac_compile") 2>conftest.er1
24042 ac_status=$?
24043 grep -v '^ *+' conftest.er1 >conftest.err
24044 rm -f conftest.er1
24045 cat conftest.err >&5
24046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24047 (exit $ac_status); } && {
24048 test -z "$ac_cxx_werror_flag" ||
24049 test ! -s conftest.err
24050 } && test -s conftest.$ac_objext; then
24051 ac_cv_cxx_static_cast=yes
24052 else
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24055
24056 ac_cv_cxx_static_cast=no
24057 fi
24058
24059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24060 ac_ext=c
24061 ac_cpp='$CPP $CPPFLAGS'
24062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24065
24066
24067 fi
24068 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24069 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24070 if test "$ac_cv_cxx_static_cast" = yes; then
24071
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE_STATIC_CAST
24074 _ACEOF
24075
24076 fi
24077
24078
24079 if test "x$SUNCXX" = xyes; then
24080 CXXFLAGS="-features=tmplife $CXXFLAGS"
24081 fi
24082
24083 if test "x$SUNCC" = xyes; then
24084 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24085 fi
24086
24087 if test "x$SGICC" = "xyes"; then
24088 CFLAGS="-woff 3970 $CFLAGS"
24089 fi
24090 if test "x$SGICXX" = "xyes"; then
24091 CXXFLAGS="-woff 3970 $CXXFLAGS"
24092 fi
24093
24094 if test "x$HPCC" = "xyes"; then
24095 CFLAGS="+W 2011,2450 $CFLAGS"
24096 fi
24097 if test "x$HPCXX" = "xyes"; then
24098 CXXFLAGS="+W 2340 $CXXFLAGS"
24099 fi
24100
24101 if test "x$COMPAQCXX" = "xyes"; then
24102 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24103 fi
24104
24105 ac_ext=cpp
24106 ac_cpp='$CXXCPP $CPPFLAGS'
24107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110
24111
24112 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24113 if test "$wxUSE_UNICODE" = "yes"; then
24114 std_string="std::wstring"
24115 char_type="wchar_t"
24116 else
24117 std_string="std::string"
24118 char_type="char"
24119 fi
24120
24121 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24122 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdstring+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133 #include <string>
24134 int
24135 main ()
24136 {
24137 $std_string foo;
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24147 esac
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24150 ac_status=$?
24151 grep -v '^ *+' conftest.er1 >conftest.err
24152 rm -f conftest.er1
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 wx_cv_class_stdstring=yes
24160 else
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24163
24164 wx_cv_class_stdstring=no
24165
24166 fi
24167
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169
24170
24171 fi
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24174
24175 if test "$wx_cv_class_stdstring" = yes; then
24176 if test "$wxUSE_UNICODE" = "yes"; then
24177 cat >>confdefs.h <<\_ACEOF
24178 #define HAVE_STD_WSTRING 1
24179 _ACEOF
24180
24181 fi
24182 else
24183 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24184 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188
24189 cat >conftest.$ac_ext <<_ACEOF
24190 /* confdefs.h. */
24191 _ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195
24196 #ifdef HAVE_WCHAR_H
24197 # ifdef __CYGWIN__
24198 # include <stddef.h>
24199 # endif
24200 # include <wchar.h>
24201 #endif
24202 #ifdef HAVE_STDLIB_H
24203 # include <stdlib.h>
24204 #endif
24205 #include <stdio.h>
24206 #include <string>
24207
24208 int
24209 main ()
24210 {
24211 std::basic_string<$char_type> foo;
24212 const $char_type* dummy = foo.c_str();
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext
24218 if { (ac_try="$ac_compile"
24219 case "(($ac_try" in
24220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24221 *) ac_try_echo=$ac_try;;
24222 esac
24223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24224 (eval "$ac_compile") 2>conftest.er1
24225 ac_status=$?
24226 grep -v '^ *+' conftest.er1 >conftest.err
24227 rm -f conftest.er1
24228 cat conftest.err >&5
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); } && {
24231 test -z "$ac_cxx_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 wx_cv_class_stdbasicstring=yes
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 wx_cv_class_stdbasicstring=no
24240
24241 fi
24242
24243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24244
24245
24246 fi
24247 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24248 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24249
24250 if test "$wx_cv_class_stdbasicstring" != yes; then
24251 if test "$wxUSE_STL" = "yes"; then
24252 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24253 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24254 { (exit 1); exit 1; }; }
24255 elif test "$wxUSE_STD_STRING" = "yes"; then
24256 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24257 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24258 { (exit 1); exit 1; }; }
24259 else
24260 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24261 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24262 wxUSE_STD_STRING=no
24263 fi
24264 fi
24265 fi
24266 fi
24267
24268 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24269 { echo "$as_me:$LINENO: checking for std::istream" >&5
24270 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24271 if test "${ac_cv_type_std__istream+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24273 else
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <iostream>
24281
24282 typedef std::istream ac__type_new_;
24283 int
24284 main ()
24285 {
24286 if ((ac__type_new_ *) 0)
24287 return 0;
24288 if (sizeof (ac__type_new_))
24289 return 0;
24290 ;
24291 return 0;
24292 }
24293 _ACEOF
24294 rm -f conftest.$ac_objext
24295 if { (ac_try="$ac_compile"
24296 case "(($ac_try" in
24297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24298 *) ac_try_echo=$ac_try;;
24299 esac
24300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24301 (eval "$ac_compile") 2>conftest.er1
24302 ac_status=$?
24303 grep -v '^ *+' conftest.er1 >conftest.err
24304 rm -f conftest.er1
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } && {
24308 test -z "$ac_cxx_werror_flag" ||
24309 test ! -s conftest.err
24310 } && test -s conftest.$ac_objext; then
24311 ac_cv_type_std__istream=yes
24312 else
24313 echo "$as_me: failed program was:" >&5
24314 sed 's/^/| /' conftest.$ac_ext >&5
24315
24316 ac_cv_type_std__istream=no
24317 fi
24318
24319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24320 fi
24321 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24322 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24323 if test $ac_cv_type_std__istream = yes; then
24324
24325 cat >>confdefs.h <<_ACEOF
24326 #define HAVE_STD__ISTREAM 1
24327 _ACEOF
24328
24329
24330 else
24331 wxUSE_STD_IOSTREAM=no
24332 fi
24333 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24334 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24335 if test "${ac_cv_type_std__ostream+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338 cat >conftest.$ac_ext <<_ACEOF
24339 /* confdefs.h. */
24340 _ACEOF
24341 cat confdefs.h >>conftest.$ac_ext
24342 cat >>conftest.$ac_ext <<_ACEOF
24343 /* end confdefs.h. */
24344 #include <iostream>
24345
24346 typedef std::ostream ac__type_new_;
24347 int
24348 main ()
24349 {
24350 if ((ac__type_new_ *) 0)
24351 return 0;
24352 if (sizeof (ac__type_new_))
24353 return 0;
24354 ;
24355 return 0;
24356 }
24357 _ACEOF
24358 rm -f conftest.$ac_objext
24359 if { (ac_try="$ac_compile"
24360 case "(($ac_try" in
24361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24362 *) ac_try_echo=$ac_try;;
24363 esac
24364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24365 (eval "$ac_compile") 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } && {
24372 test -z "$ac_cxx_werror_flag" ||
24373 test ! -s conftest.err
24374 } && test -s conftest.$ac_objext; then
24375 ac_cv_type_std__ostream=yes
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24379
24380 ac_cv_type_std__ostream=no
24381 fi
24382
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24384 fi
24385 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24386 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24387 if test $ac_cv_type_std__ostream = yes; then
24388
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_STD__OSTREAM 1
24391 _ACEOF
24392
24393
24394 else
24395 wxUSE_STD_IOSTREAM=no
24396 fi
24397
24398
24399 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24400 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24401 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24402 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24403 { (exit 1); exit 1; }; }
24404 else
24405 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24406 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24407 fi
24408 fi
24409 fi
24410
24411 if test "$wxUSE_STL" = "yes"; then
24412 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24413 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24414 if test "${wx_cv_lib_stl+set}" = set; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24416 else
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 #include <string>
24424 #include <functional>
24425 #include <algorithm>
24426 #include <vector>
24427 #include <list>
24428 int
24429 main ()
24430 {
24431 std::vector<int> moo;
24432 std::list<int> foo;
24433 std::vector<int>::iterator it =
24434 std::find_if(moo.begin(), moo.end(),
24435 std::bind2nd(std::less<int>(), 3));
24436 ;
24437 return 0;
24438 }
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (ac_try="$ac_compile"
24442 case "(($ac_try" in
24443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24444 *) ac_try_echo=$ac_try;;
24445 esac
24446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24447 (eval "$ac_compile") 2>conftest.er1
24448 ac_status=$?
24449 grep -v '^ *+' conftest.er1 >conftest.err
24450 rm -f conftest.er1
24451 cat conftest.err >&5
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); } && {
24454 test -z "$ac_cxx_werror_flag" ||
24455 test ! -s conftest.err
24456 } && test -s conftest.$ac_objext; then
24457 wx_cv_lib_stl=yes
24458 else
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.$ac_ext >&5
24461
24462 wx_cv_lib_stl=no
24463
24464 fi
24465
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467
24468 fi
24469 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24470 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24471
24472 if test "$wx_cv_lib_stl" != yes; then
24473 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24474 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24475 { (exit 1); exit 1; }; }
24476 fi
24477
24478 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24479 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24480 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6
24482 else
24483 cat >conftest.$ac_ext <<_ACEOF
24484 /* confdefs.h. */
24485 _ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24489 #include <string>
24490 int
24491 main ()
24492 {
24493 std::string foo, bar;
24494 foo.compare(bar);
24495 foo.compare(1, 1, bar);
24496 foo.compare(1, 1, bar, 1, 1);
24497 foo.compare("");
24498 foo.compare(1, 1, "");
24499 foo.compare(1, 1, "", 2);
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_func_stdstring_compare=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 wx_cv_func_stdstring_compare=no
24527
24528 fi
24529
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531
24532 fi
24533 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24534 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24535
24536 if test "$wx_cv_func_stdstring_compare" = yes; then
24537 cat >>confdefs.h <<\_ACEOF
24538 #define HAVE_STD_STRING_COMPARE 1
24539 _ACEOF
24540
24541 fi
24542
24543 { echo "$as_me:$LINENO: checking for hash_map" >&5
24544 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24545 if test "${ac_cv_header_hash_map+set}" = set; then
24546 echo $ECHO_N "(cached) $ECHO_C" >&6
24547 else
24548 cat >conftest.$ac_ext <<_ACEOF
24549 /* confdefs.h. */
24550 _ACEOF
24551 cat confdefs.h >>conftest.$ac_ext
24552 cat >>conftest.$ac_ext <<_ACEOF
24553 /* end confdefs.h. */
24554
24555
24556
24557 #include <hash_map>
24558 _ACEOF
24559 rm -f conftest.$ac_objext
24560 if { (ac_try="$ac_compile"
24561 case "(($ac_try" in
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24563 *) ac_try_echo=$ac_try;;
24564 esac
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24566 (eval "$ac_compile") 2>conftest.er1
24567 ac_status=$?
24568 grep -v '^ *+' conftest.er1 >conftest.err
24569 rm -f conftest.er1
24570 cat conftest.err >&5
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); } && {
24573 test -z "$ac_cxx_werror_flag" ||
24574 test ! -s conftest.err
24575 } && test -s conftest.$ac_objext; then
24576 ac_cv_header_hash_map=yes
24577 else
24578 echo "$as_me: failed program was:" >&5
24579 sed 's/^/| /' conftest.$ac_ext >&5
24580
24581 ac_cv_header_hash_map=no
24582 fi
24583
24584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24585 fi
24586 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24587 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24588 if test $ac_cv_header_hash_map = yes; then
24589 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24590 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24591 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 #include <hash_map>
24601 #include <hash_set>
24602 int
24603 main ()
24604 {
24605 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24606 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 rm -f conftest.$ac_objext
24612 if { (ac_try="$ac_compile"
24613 case "(($ac_try" in
24614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24615 *) ac_try_echo=$ac_try;;
24616 esac
24617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24618 (eval "$ac_compile") 2>conftest.er1
24619 ac_status=$?
24620 grep -v '^ *+' conftest.er1 >conftest.err
24621 rm -f conftest.er1
24622 cat conftest.err >&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } && {
24625 test -z "$ac_cxx_werror_flag" ||
24626 test ! -s conftest.err
24627 } && test -s conftest.$ac_objext; then
24628 wx_cv_class_stdhashmapset=yes
24629 else
24630 echo "$as_me: failed program was:" >&5
24631 sed 's/^/| /' conftest.$ac_ext >&5
24632
24633 wx_cv_class_stdhashmapset=no
24634 fi
24635
24636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24637
24638
24639 fi
24640 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24641 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24642 fi
24643
24644
24645
24646 if test "$wx_cv_class_stdhashmapset" = yes; then
24647 cat >>confdefs.h <<\_ACEOF
24648 #define HAVE_HASH_MAP 1
24649 _ACEOF
24650
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_STD_HASH_MAP 1
24653 _ACEOF
24654
24655 fi
24656
24657 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24658 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24659 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662 cat >conftest.$ac_ext <<_ACEOF
24663 /* confdefs.h. */
24664 _ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668
24669
24670
24671 #include <ext/hash_map>
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 ac_cv_header_ext_hash_map=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 ac_cv_header_ext_hash_map=no
24696 fi
24697
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 fi
24700 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24701 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24702 if test $ac_cv_header_ext_hash_map = yes; then
24703 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24704 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24705 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708 cat >conftest.$ac_ext <<_ACEOF
24709 /* confdefs.h. */
24710 _ACEOF
24711 cat confdefs.h >>conftest.$ac_ext
24712 cat >>conftest.$ac_ext <<_ACEOF
24713 /* end confdefs.h. */
24714 #include <ext/hash_map>
24715 #include <ext/hash_set>
24716 int
24717 main ()
24718 {
24719 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24720 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24721 ;
24722 return 0;
24723 }
24724 _ACEOF
24725 rm -f conftest.$ac_objext
24726 if { (ac_try="$ac_compile"
24727 case "(($ac_try" in
24728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24729 *) ac_try_echo=$ac_try;;
24730 esac
24731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24732 (eval "$ac_compile") 2>conftest.er1
24733 ac_status=$?
24734 grep -v '^ *+' conftest.er1 >conftest.err
24735 rm -f conftest.er1
24736 cat conftest.err >&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); } && {
24739 test -z "$ac_cxx_werror_flag" ||
24740 test ! -s conftest.err
24741 } && test -s conftest.$ac_objext; then
24742 wx_cv_class_gnuhashmapset=yes
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 wx_cv_class_gnuhashmapset=no
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24751
24752
24753 fi
24754 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24755 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24756 fi
24757
24758
24759
24760 if test "$wx_cv_class_gnuhashmapset" = yes; then
24761 cat >>confdefs.h <<\_ACEOF
24762 #define HAVE_EXT_HASH_MAP 1
24763 _ACEOF
24764
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_GNU_CXX_HASH_MAP 1
24767 _ACEOF
24768
24769 fi
24770 fi
24771
24772
24773
24774 if test -n "$GCC"; then
24775 { echo "$as_me:$LINENO: checking for __sync_fetch_* builtins" >&5
24776 echo $ECHO_N "checking for __sync_fetch_* builtins... $ECHO_C" >&6; }
24777 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 else
24780
24781 cat >conftest.$ac_ext <<_ACEOF
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787
24788 int
24789 main ()
24790 {
24791
24792 int value=0;
24793 __sync_fetch_and_add(&value, 1);
24794 __sync_sub_and_fetch(&value, 1);
24795
24796 ;
24797 return 0;
24798 }
24799 _ACEOF
24800 rm -f conftest.$ac_objext
24801 if { (ac_try="$ac_compile"
24802 case "(($ac_try" in
24803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24804 *) ac_try_echo=$ac_try;;
24805 esac
24806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24807 (eval "$ac_compile") 2>conftest.er1
24808 ac_status=$?
24809 grep -v '^ *+' conftest.er1 >conftest.err
24810 rm -f conftest.er1
24811 cat conftest.err >&5
24812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24813 (exit $ac_status); } && {
24814 test -z "$ac_cxx_werror_flag" ||
24815 test ! -s conftest.err
24816 } && test -s conftest.$ac_objext; then
24817 wx_cv_cc_gcc_atomic_builtins=yes
24818 else
24819 echo "$as_me: failed program was:" >&5
24820 sed 's/^/| /' conftest.$ac_ext >&5
24821
24822 wx_cv_cc_gcc_atomic_builtins=no
24823 fi
24824
24825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24826
24827 fi
24828
24829 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24830 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24831 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GCC_ATOMIC_BUILTINS 1
24834 _ACEOF
24835
24836 fi
24837 fi
24838
24839
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845
24846
24847
24848 SEARCH_INCLUDE="\
24849 /usr/local/include \
24850 \
24851 /usr/Motif-2.1/include \
24852 /usr/Motif-1.2/include \
24853 /usr/include/Motif1.2 \
24854 \
24855 /usr/dt/include \
24856 /usr/openwin/include \
24857 \
24858 /usr/include/Xm \
24859 \
24860 /usr/X11R6/include \
24861 /usr/X11R6.4/include \
24862 /usr/X11R5/include \
24863 /usr/X11R4/include \
24864 \
24865 /usr/include/X11R6 \
24866 /usr/include/X11R5 \
24867 /usr/include/X11R4 \
24868 \
24869 /usr/local/X11R6/include \
24870 /usr/local/X11R5/include \
24871 /usr/local/X11R4/include \
24872 \
24873 /usr/local/include/X11R6 \
24874 /usr/local/include/X11R5 \
24875 /usr/local/include/X11R4 \
24876 \
24877 /usr/X11/include \
24878 /usr/include/X11 \
24879 /usr/local/X11/include \
24880 /usr/local/include/X11 \
24881 \
24882 /usr/XFree86/include/X11 \
24883 /usr/pkg/include \
24884 \
24885 /usr/openwin/share/include"
24886
24887 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24888 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24889
24890 case "${host}" in
24891 *-*-irix6* )
24892 if test "${wx_cv_std_libpath+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24894 else
24895
24896 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24897 for e in a so sl dylib dll.a; do
24898 libc="$d/libc.$e"
24899 if test -f $libc; then
24900 save_LIBS="$LIBS"
24901 LIBS="$libc"
24902 cat >conftest.$ac_ext <<_ACEOF
24903 int main() { return 0; }
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933 LIBS="$save_LIBS"
24934 if test "x$wx_cv_std_libpath" != "x"; then
24935 break 2
24936 fi
24937 fi
24938 done
24939 done
24940 if test "x$wx_cv_std_libpath" = "x"; then
24941 wx_cv_std_libpath="lib"
24942 fi
24943
24944
24945 fi
24946
24947 ;;
24948
24949 *-*-solaris2* )
24950 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24951 wx_cv_std_libpath="lib/64"
24952 else
24953 wx_cv_std_libpath="lib"
24954 fi
24955 ;;
24956
24957 *-*-linux* )
24958 if test "$ac_cv_sizeof_void_p" = 8 -a \
24959 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24960 wx_cv_std_libpath="lib64"
24961 else
24962 wx_cv_std_libpath="lib"
24963 fi
24964 ;;
24965
24966 *)
24967 wx_cv_std_libpath="lib";
24968 ;;
24969 esac
24970
24971 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24972 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24973
24974 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24975
24976 if test "$build" != "$host" -a "$GCC" = yes; then
24977 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24978 cross_root=`dirname $cross_root`
24979 cross_root=`dirname $cross_root`
24980
24981 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24982 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24983 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24984
24985 if test -z "$PKG_CONFIG_PATH"; then
24986 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24987 export PKG_CONFIG_PATH
24988 fi
24989
24990 if test -z "$x_includes" -o "$x_includes" = NONE; then
24991
24992 ac_find_includes=
24993 for ac_dir in $SEARCH_INCLUDE /usr/include;
24994 do
24995 if test -f "$ac_dir/X11/Intrinsic.h"; then
24996 ac_find_includes=$ac_dir
24997 break
24998 fi
24999 done
25000
25001 x_includes=$ac_find_includes
25002 fi
25003 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25004
25005 ac_find_libraries=
25006 for ac_dir in $SEARCH_LIB;
25007 do
25008 for ac_extension in a so sl dylib dll.a; do
25009 if test -f "$ac_dir/libXt.$ac_extension"; then
25010 ac_find_libraries=$ac_dir
25011 break 2
25012 fi
25013 done
25014 done
25015
25016 x_libraries=$ac_find_libraries
25017 fi
25018 fi
25019 fi
25020
25021
25022 cat >confcache <<\_ACEOF
25023 # This file is a shell script that caches the results of configure
25024 # tests run on this system so they can be shared between configure
25025 # scripts and configure runs, see configure's option --config-cache.
25026 # It is not useful on other systems. If it contains results you don't
25027 # want to keep, you may remove or edit it.
25028 #
25029 # config.status only pays attention to the cache file if you give it
25030 # the --recheck option to rerun configure.
25031 #
25032 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25033 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25034 # following values.
25035
25036 _ACEOF
25037
25038 # The following way of writing the cache mishandles newlines in values,
25039 # but we know of no workaround that is simple, portable, and efficient.
25040 # So, we kill variables containing newlines.
25041 # Ultrix sh set writes to stderr and can't be redirected directly,
25042 # and sets the high bit in the cache file unless we assign to the vars.
25043 (
25044 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25045 eval ac_val=\$$ac_var
25046 case $ac_val in #(
25047 *${as_nl}*)
25048 case $ac_var in #(
25049 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25050 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25051 esac
25052 case $ac_var in #(
25053 _ | IFS | as_nl) ;; #(
25054 *) $as_unset $ac_var ;;
25055 esac ;;
25056 esac
25057 done
25058
25059 (set) 2>&1 |
25060 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25061 *${as_nl}ac_space=\ *)
25062 # `set' does not quote correctly, so add quotes (double-quote
25063 # substitution turns \\\\ into \\, and sed turns \\ into \).
25064 sed -n \
25065 "s/'/'\\\\''/g;
25066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25067 ;; #(
25068 *)
25069 # `set' quotes correctly as required by POSIX, so do not add quotes.
25070 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25071 ;;
25072 esac |
25073 sort
25074 ) |
25075 sed '
25076 /^ac_cv_env_/b end
25077 t clear
25078 :clear
25079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25080 t end
25081 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25082 :end' >>confcache
25083 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25084 if test -w "$cache_file"; then
25085 test "x$cache_file" != "x/dev/null" &&
25086 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25087 echo "$as_me: updating cache $cache_file" >&6;}
25088 cat confcache >$cache_file
25089 else
25090 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25091 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25092 fi
25093 fi
25094 rm -f confcache
25095
25096 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25097 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25098 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25099 if test "${wx_cv_lib_glibc21+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102
25103 cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 #include <features.h>
25110 int
25111 main ()
25112 {
25113
25114 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25115 not glibc 2.1
25116 #endif
25117
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 rm -f conftest.$ac_objext
25123 if { (ac_try="$ac_compile"
25124 case "(($ac_try" in
25125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25127 esac
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_compile") 2>conftest.er1
25130 ac_status=$?
25131 grep -v '^ *+' conftest.er1 >conftest.err
25132 rm -f conftest.er1
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_c_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest.$ac_objext; then
25139
25140 wx_cv_lib_glibc21=yes
25141
25142 else
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25145
25146
25147 wx_cv_lib_glibc21=no
25148
25149
25150 fi
25151
25152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25153
25154 fi
25155 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25156 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25157 if test "$wx_cv_lib_glibc21" = "yes"; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define wxHAVE_GLIBC2 1
25160 _ACEOF
25161
25162 fi
25163 fi
25164
25165 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25166 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define _GNU_SOURCE 1
25169 _ACEOF
25170
25171 fi
25172 fi
25173
25174 have_cos=0
25175 have_floor=0
25176
25177 for ac_func in cos
25178 do
25179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185 cat >conftest.$ac_ext <<_ACEOF
25186 /* confdefs.h. */
25187 _ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25193 #define $ac_func innocuous_$ac_func
25194
25195 /* System header to define __stub macros and hopefully few prototypes,
25196 which can conflict with char $ac_func (); below.
25197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25198 <limits.h> exists even on freestanding compilers. */
25199
25200 #ifdef __STDC__
25201 # include <limits.h>
25202 #else
25203 # include <assert.h>
25204 #endif
25205
25206 #undef $ac_func
25207
25208 /* Override any GCC internal prototype to avoid an error.
25209 Use char because int might match the return type of a GCC
25210 builtin and then its argument prototype would still apply. */
25211 #ifdef __cplusplus
25212 extern "C"
25213 #endif
25214 char $ac_func ();
25215 /* The GNU C library defines this for functions which it implements
25216 to always fail with ENOSYS. Some functions are actually named
25217 something starting with __ and the normal name is an alias. */
25218 #if defined __stub_$ac_func || defined __stub___$ac_func
25219 choke me
25220 #endif
25221
25222 int
25223 main ()
25224 {
25225 return $ac_func ();
25226 ;
25227 return 0;
25228 }
25229 _ACEOF
25230 rm -f conftest.$ac_objext conftest$ac_exeext
25231 if { (ac_try="$ac_link"
25232 case "(($ac_try" in
25233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25234 *) ac_try_echo=$ac_try;;
25235 esac
25236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25237 (eval "$ac_link") 2>conftest.er1
25238 ac_status=$?
25239 grep -v '^ *+' conftest.er1 >conftest.err
25240 rm -f conftest.er1
25241 cat conftest.err >&5
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } && {
25244 test -z "$ac_c_werror_flag" ||
25245 test ! -s conftest.err
25246 } && test -s conftest$ac_exeext &&
25247 $as_test_x conftest$ac_exeext; then
25248 eval "$as_ac_var=yes"
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25252
25253 eval "$as_ac_var=no"
25254 fi
25255
25256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25257 conftest$ac_exeext conftest.$ac_ext
25258 fi
25259 ac_res=`eval echo '${'$as_ac_var'}'`
25260 { echo "$as_me:$LINENO: result: $ac_res" >&5
25261 echo "${ECHO_T}$ac_res" >&6; }
25262 if test `eval echo '${'$as_ac_var'}'` = yes; then
25263 cat >>confdefs.h <<_ACEOF
25264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25265 _ACEOF
25266 have_cos=1
25267 fi
25268 done
25269
25270
25271 for ac_func in floor
25272 do
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25276 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 cat >conftest.$ac_ext <<_ACEOF
25280 /* confdefs.h. */
25281 _ACEOF
25282 cat confdefs.h >>conftest.$ac_ext
25283 cat >>conftest.$ac_ext <<_ACEOF
25284 /* end confdefs.h. */
25285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25287 #define $ac_func innocuous_$ac_func
25288
25289 /* System header to define __stub macros and hopefully few prototypes,
25290 which can conflict with char $ac_func (); below.
25291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25292 <limits.h> exists even on freestanding compilers. */
25293
25294 #ifdef __STDC__
25295 # include <limits.h>
25296 #else
25297 # include <assert.h>
25298 #endif
25299
25300 #undef $ac_func
25301
25302 /* Override any GCC internal prototype to avoid an error.
25303 Use char because int might match the return type of a GCC
25304 builtin and then its argument prototype would still apply. */
25305 #ifdef __cplusplus
25306 extern "C"
25307 #endif
25308 char $ac_func ();
25309 /* The GNU C library defines this for functions which it implements
25310 to always fail with ENOSYS. Some functions are actually named
25311 something starting with __ and the normal name is an alias. */
25312 #if defined __stub_$ac_func || defined __stub___$ac_func
25313 choke me
25314 #endif
25315
25316 int
25317 main ()
25318 {
25319 return $ac_func ();
25320 ;
25321 return 0;
25322 }
25323 _ACEOF
25324 rm -f conftest.$ac_objext conftest$ac_exeext
25325 if { (ac_try="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25329 esac
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>conftest.er1
25332 ac_status=$?
25333 grep -v '^ *+' conftest.er1 >conftest.err
25334 rm -f conftest.er1
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } && {
25338 test -z "$ac_c_werror_flag" ||
25339 test ! -s conftest.err
25340 } && test -s conftest$ac_exeext &&
25341 $as_test_x conftest$ac_exeext; then
25342 eval "$as_ac_var=yes"
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347 eval "$as_ac_var=no"
25348 fi
25349
25350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25351 conftest$ac_exeext conftest.$ac_ext
25352 fi
25353 ac_res=`eval echo '${'$as_ac_var'}'`
25354 { echo "$as_me:$LINENO: result: $ac_res" >&5
25355 echo "${ECHO_T}$ac_res" >&6; }
25356 if test `eval echo '${'$as_ac_var'}'` = yes; then
25357 cat >>confdefs.h <<_ACEOF
25358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25359 _ACEOF
25360 have_floor=1
25361 fi
25362 done
25363
25364 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25365 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25366 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25367 { echo "$as_me:$LINENO: result: yes" >&5
25368 echo "${ECHO_T}yes" >&6; }
25369 else
25370 { echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6; }
25372 LIBS="$LIBS -lm"
25373 # use different functions to avoid configure caching
25374 have_sin=0
25375 have_ceil=0
25376
25377 for ac_func in sin
25378 do
25379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h. */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25393 #define $ac_func innocuous_$ac_func
25394
25395 /* System header to define __stub macros and hopefully few prototypes,
25396 which can conflict with char $ac_func (); below.
25397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25398 <limits.h> exists even on freestanding compilers. */
25399
25400 #ifdef __STDC__
25401 # include <limits.h>
25402 #else
25403 # include <assert.h>
25404 #endif
25405
25406 #undef $ac_func
25407
25408 /* Override any GCC internal prototype to avoid an error.
25409 Use char because int might match the return type of a GCC
25410 builtin and then its argument prototype would still apply. */
25411 #ifdef __cplusplus
25412 extern "C"
25413 #endif
25414 char $ac_func ();
25415 /* The GNU C library defines this for functions which it implements
25416 to always fail with ENOSYS. Some functions are actually named
25417 something starting with __ and the normal name is an alias. */
25418 #if defined __stub_$ac_func || defined __stub___$ac_func
25419 choke me
25420 #endif
25421
25422 int
25423 main ()
25424 {
25425 return $ac_func ();
25426 ;
25427 return 0;
25428 }
25429 _ACEOF
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25435 esac
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25438 ac_status=$?
25439 grep -v '^ *+' conftest.er1 >conftest.err
25440 rm -f conftest.er1
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 eval "$as_ac_var=yes"
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 eval "$as_ac_var=no"
25454 fi
25455
25456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25457 conftest$ac_exeext conftest.$ac_ext
25458 fi
25459 ac_res=`eval echo '${'$as_ac_var'}'`
25460 { echo "$as_me:$LINENO: result: $ac_res" >&5
25461 echo "${ECHO_T}$ac_res" >&6; }
25462 if test `eval echo '${'$as_ac_var'}'` = yes; then
25463 cat >>confdefs.h <<_ACEOF
25464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25465 _ACEOF
25466 have_sin=1
25467 fi
25468 done
25469
25470
25471 for ac_func in ceil
25472 do
25473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 else
25479 cat >conftest.$ac_ext <<_ACEOF
25480 /* confdefs.h. */
25481 _ACEOF
25482 cat confdefs.h >>conftest.$ac_ext
25483 cat >>conftest.$ac_ext <<_ACEOF
25484 /* end confdefs.h. */
25485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25487 #define $ac_func innocuous_$ac_func
25488
25489 /* System header to define __stub macros and hopefully few prototypes,
25490 which can conflict with char $ac_func (); below.
25491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25492 <limits.h> exists even on freestanding compilers. */
25493
25494 #ifdef __STDC__
25495 # include <limits.h>
25496 #else
25497 # include <assert.h>
25498 #endif
25499
25500 #undef $ac_func
25501
25502 /* Override any GCC internal prototype to avoid an error.
25503 Use char because int might match the return type of a GCC
25504 builtin and then its argument prototype would still apply. */
25505 #ifdef __cplusplus
25506 extern "C"
25507 #endif
25508 char $ac_func ();
25509 /* The GNU C library defines this for functions which it implements
25510 to always fail with ENOSYS. Some functions are actually named
25511 something starting with __ and the normal name is an alias. */
25512 #if defined __stub_$ac_func || defined __stub___$ac_func
25513 choke me
25514 #endif
25515
25516 int
25517 main ()
25518 {
25519 return $ac_func ();
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 rm -f conftest.$ac_objext conftest$ac_exeext
25525 if { (ac_try="$ac_link"
25526 case "(($ac_try" in
25527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25528 *) ac_try_echo=$ac_try;;
25529 esac
25530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25531 (eval "$ac_link") 2>conftest.er1
25532 ac_status=$?
25533 grep -v '^ *+' conftest.er1 >conftest.err
25534 rm -f conftest.er1
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } && {
25538 test -z "$ac_c_werror_flag" ||
25539 test ! -s conftest.err
25540 } && test -s conftest$ac_exeext &&
25541 $as_test_x conftest$ac_exeext; then
25542 eval "$as_ac_var=yes"
25543 else
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25546
25547 eval "$as_ac_var=no"
25548 fi
25549
25550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25551 conftest$ac_exeext conftest.$ac_ext
25552 fi
25553 ac_res=`eval echo '${'$as_ac_var'}'`
25554 { echo "$as_me:$LINENO: result: $ac_res" >&5
25555 echo "${ECHO_T}$ac_res" >&6; }
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h <<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25559 _ACEOF
25560 have_ceil=1
25561 fi
25562 done
25563
25564 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25565 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25566 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25567 { echo "$as_me:$LINENO: result: yes" >&5
25568 echo "${ECHO_T}yes" >&6; }
25569 else
25570 { echo "$as_me:$LINENO: result: no" >&5
25571 echo "${ECHO_T}no" >&6; }
25572 # not sure we should warn the user, crash, etc.
25573 fi
25574 fi
25575
25576 ac_ext=cpp
25577 ac_cpp='$CXXCPP $CPPFLAGS'
25578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25581
25582 if test "wxUSE_UNICODE" = "yes"; then
25583
25584 for wx_func in wcstoull
25585 do
25586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591
25592 cat >conftest.$ac_ext <<_ACEOF
25593
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599
25600
25601 $ac_includes_default
25602
25603 int
25604 main ()
25605 {
25606
25607 #ifndef $wx_func
25608 &$wx_func;
25609 #endif
25610
25611
25612 ;
25613 return 0;
25614 }
25615
25616 _ACEOF
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (ac_try="$ac_link"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_link") 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest$ac_exeext &&
25634 $as_test_x conftest$ac_exeext; then
25635 eval wx_cv_func_$wx_func=yes
25636 else
25637 echo "$as_me: failed program was:" >&5
25638 sed 's/^/| /' conftest.$ac_ext >&5
25639
25640 eval wx_cv_func_$wx_func=no
25641 fi
25642
25643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25644 conftest$ac_exeext conftest.$ac_ext
25645
25646 fi
25647 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25648 { echo "$as_me:$LINENO: result: $ac_res" >&5
25649 echo "${ECHO_T}$ac_res" >&6; }
25650
25651 if eval test \$wx_cv_func_$wx_func = yes
25652 then
25653 cat >>confdefs.h <<_ACEOF
25654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25655 _ACEOF
25656
25657
25658 else
25659 :
25660
25661 fi
25662 done
25663
25664 else
25665
25666 for wx_func in strtoull
25667 do
25668 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25670 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673
25674 cat >conftest.$ac_ext <<_ACEOF
25675
25676 /* confdefs.h. */
25677 _ACEOF
25678 cat confdefs.h >>conftest.$ac_ext
25679 cat >>conftest.$ac_ext <<_ACEOF
25680 /* end confdefs.h. */
25681
25682
25683 $ac_includes_default
25684
25685 int
25686 main ()
25687 {
25688
25689 #ifndef $wx_func
25690 &$wx_func;
25691 #endif
25692
25693
25694 ;
25695 return 0;
25696 }
25697
25698 _ACEOF
25699 rm -f conftest.$ac_objext conftest$ac_exeext
25700 if { (ac_try="$ac_link"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_link") 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest$ac_exeext &&
25716 $as_test_x conftest$ac_exeext; then
25717 eval wx_cv_func_$wx_func=yes
25718 else
25719 echo "$as_me: failed program was:" >&5
25720 sed 's/^/| /' conftest.$ac_ext >&5
25721
25722 eval wx_cv_func_$wx_func=no
25723 fi
25724
25725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25726 conftest$ac_exeext conftest.$ac_ext
25727
25728 fi
25729 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25732
25733 if eval test \$wx_cv_func_$wx_func = yes
25734 then
25735 cat >>confdefs.h <<_ACEOF
25736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25737 _ACEOF
25738
25739
25740 else
25741 :
25742
25743 fi
25744 done
25745
25746 fi
25747 ac_ext=c
25748 ac_cpp='$CPP $CPPFLAGS'
25749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25752
25753
25754
25755
25756 if test "$wxUSE_REGEX" != "no"; then
25757 cat >>confdefs.h <<\_ACEOF
25758 #define wxUSE_REGEX 1
25759 _ACEOF
25760
25761
25762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25763 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25764 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25765 wxUSE_REGEX=builtin
25766 fi
25767
25768 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25769 { echo "$as_me:$LINENO: checking for regex.h" >&5
25770 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_regex_h+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774 cat >conftest.$ac_ext <<_ACEOF
25775 /* confdefs.h. */
25776 _ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780
25781
25782 #include <regex.h>
25783 _ACEOF
25784 rm -f conftest.$ac_objext
25785 if { (ac_try="$ac_compile"
25786 case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25788 *) ac_try_echo=$ac_try;;
25789 esac
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_compile") 2>conftest.er1
25792 ac_status=$?
25793 grep -v '^ *+' conftest.er1 >conftest.err
25794 rm -f conftest.er1
25795 cat conftest.err >&5
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); } && {
25798 test -z "$ac_c_werror_flag" ||
25799 test ! -s conftest.err
25800 } && test -s conftest.$ac_objext; then
25801 ac_cv_header_regex_h=yes
25802 else
25803 echo "$as_me: failed program was:" >&5
25804 sed 's/^/| /' conftest.$ac_ext >&5
25805
25806 ac_cv_header_regex_h=no
25807 fi
25808
25809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25810 fi
25811 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25812 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25813 if test $ac_cv_header_regex_h = yes; then
25814
25815
25816 for ac_func in regcomp re_search
25817 do
25818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25819 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25821 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h. */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25833
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25838
25839 #ifdef __STDC__
25840 # include <limits.h>
25841 #else
25842 # include <assert.h>
25843 #endif
25844
25845 #undef $ac_func
25846
25847 /* Override any GCC internal prototype to avoid an error.
25848 Use char because int might match the return type of a GCC
25849 builtin and then its argument prototype would still apply. */
25850 #ifdef __cplusplus
25851 extern "C"
25852 #endif
25853 char $ac_func ();
25854 /* The GNU C library defines this for functions which it implements
25855 to always fail with ENOSYS. Some functions are actually named
25856 something starting with __ and the normal name is an alias. */
25857 #if defined __stub_$ac_func || defined __stub___$ac_func
25858 choke me
25859 #endif
25860
25861 int
25862 main ()
25863 {
25864 return $ac_func ();
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 rm -f conftest.$ac_objext conftest$ac_exeext
25870 if { (ac_try="$ac_link"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25874 esac
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_link") 2>conftest.er1
25877 ac_status=$?
25878 grep -v '^ *+' conftest.er1 >conftest.err
25879 rm -f conftest.er1
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_c_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest$ac_exeext &&
25886 $as_test_x conftest$ac_exeext; then
25887 eval "$as_ac_var=yes"
25888 else
25889 echo "$as_me: failed program was:" >&5
25890 sed 's/^/| /' conftest.$ac_ext >&5
25891
25892 eval "$as_ac_var=no"
25893 fi
25894
25895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25896 conftest$ac_exeext conftest.$ac_ext
25897 fi
25898 ac_res=`eval echo '${'$as_ac_var'}'`
25899 { echo "$as_me:$LINENO: result: $ac_res" >&5
25900 echo "${ECHO_T}$ac_res" >&6; }
25901 if test `eval echo '${'$as_ac_var'}'` = yes; then
25902 cat >>confdefs.h <<_ACEOF
25903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25904 _ACEOF
25905
25906 fi
25907 done
25908
25909 fi
25910
25911
25912
25913 if test "x$ac_cv_func_regcomp" != "xyes"; then
25914 if test "$wxUSE_REGEX" = "sys" ; then
25915 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25916 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25917 { (exit 1); exit 1; }; }
25918 else
25919 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25920 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25921 wxUSE_REGEX=builtin
25922 fi
25923 else
25924 wxUSE_REGEX=sys
25925 cat >>confdefs.h <<\_ACEOF
25926 #define WX_NO_REGEX_ADVANCED 1
25927 _ACEOF
25928
25929 fi
25930 fi
25931 fi
25932
25933
25934 ZLIB_LINK=
25935 if test "$wxUSE_ZLIB" != "no" ; then
25936 cat >>confdefs.h <<\_ACEOF
25937 #define wxUSE_ZLIB 1
25938 _ACEOF
25939
25940
25941 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25942 if test "$USE_DARWIN" = 1; then
25943 system_zlib_h_ok="yes"
25944 else
25945 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25946 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25947 if test "${ac_cv_header_zlib_h+set}" = set; then
25948 echo $ECHO_N "(cached) $ECHO_C" >&6
25949 else
25950 if test "$cross_compiling" = yes; then
25951 unset ac_cv_header_zlib_h
25952
25953 else
25954 cat >conftest.$ac_ext <<_ACEOF
25955 /* confdefs.h. */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960
25961 #include <zlib.h>
25962 #include <stdio.h>
25963
25964 int main()
25965 {
25966 FILE *f=fopen("conftestval", "w");
25967 if (!f) exit(1);
25968 fprintf(f, "%s",
25969 ZLIB_VERSION[0] == '1' &&
25970 (ZLIB_VERSION[2] > '1' ||
25971 (ZLIB_VERSION[2] == '1' &&
25972 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25973 exit(0);
25974 }
25975
25976 _ACEOF
25977 rm -f conftest$ac_exeext
25978 if { (ac_try="$ac_link"
25979 case "(($ac_try" in
25980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25981 *) ac_try_echo=$ac_try;;
25982 esac
25983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25984 (eval "$ac_link") 2>&5
25985 ac_status=$?
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25988 { (case "(($ac_try" in
25989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25991 esac
25992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25993 (eval "$ac_try") 2>&5
25994 ac_status=$?
25995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25996 (exit $ac_status); }; }; then
25997 ac_cv_header_zlib_h=`cat conftestval`
25998 else
25999 echo "$as_me: program exited with status $ac_status" >&5
26000 echo "$as_me: failed program was:" >&5
26001 sed 's/^/| /' conftest.$ac_ext >&5
26002
26003 ( exit $ac_status )
26004 ac_cv_header_zlib_h=no
26005 fi
26006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26007 fi
26008
26009
26010
26011 fi
26012 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26013 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26014 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26015 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26016 if test "${ac_cv_header_zlib_h+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26018 else
26019 cat >conftest.$ac_ext <<_ACEOF
26020 /* confdefs.h. */
26021 _ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025
26026
26027 #include <zlib.h>
26028 _ACEOF
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046 ac_cv_header_zlib_h=yes
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 ac_cv_header_zlib_h=no
26052 fi
26053
26054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26055 fi
26056 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26057 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26058
26059
26060
26061 system_zlib_h_ok=$ac_cv_header_zlib_h
26062 fi
26063
26064 if test "$system_zlib_h_ok" = "yes"; then
26065 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26066 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26067 if test "${ac_cv_lib_z_deflate+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26070 ac_check_lib_save_LIBS=$LIBS
26071 LIBS="-lz $LIBS"
26072 cat >conftest.$ac_ext <<_ACEOF
26073 /* confdefs.h. */
26074 _ACEOF
26075 cat confdefs.h >>conftest.$ac_ext
26076 cat >>conftest.$ac_ext <<_ACEOF
26077 /* end confdefs.h. */
26078
26079 /* Override any GCC internal prototype to avoid an error.
26080 Use char because int might match the return type of a GCC
26081 builtin and then its argument prototype would still apply. */
26082 #ifdef __cplusplus
26083 extern "C"
26084 #endif
26085 char deflate ();
26086 int
26087 main ()
26088 {
26089 return deflate ();
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext conftest$ac_exeext
26095 if { (ac_try="$ac_link"
26096 case "(($ac_try" in
26097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26098 *) ac_try_echo=$ac_try;;
26099 esac
26100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26101 (eval "$ac_link") 2>conftest.er1
26102 ac_status=$?
26103 grep -v '^ *+' conftest.er1 >conftest.err
26104 rm -f conftest.er1
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } && {
26108 test -z "$ac_c_werror_flag" ||
26109 test ! -s conftest.err
26110 } && test -s conftest$ac_exeext &&
26111 $as_test_x conftest$ac_exeext; then
26112 ac_cv_lib_z_deflate=yes
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 ac_cv_lib_z_deflate=no
26118 fi
26119
26120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26121 conftest$ac_exeext conftest.$ac_ext
26122 LIBS=$ac_check_lib_save_LIBS
26123 fi
26124 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26125 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26126 if test $ac_cv_lib_z_deflate = yes; then
26127 ZLIB_LINK=" -lz"
26128 fi
26129
26130 fi
26131
26132 if test "x$ZLIB_LINK" = "x" ; then
26133 if test "$wxUSE_ZLIB" = "sys" ; then
26134 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26135 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26136 { (exit 1); exit 1; }; }
26137 else
26138 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26139 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26140 wxUSE_ZLIB=builtin
26141 fi
26142 else
26143 wxUSE_ZLIB=sys
26144 fi
26145 fi
26146 fi
26147
26148
26149 PNG_LINK=
26150 if test "$wxUSE_LIBPNG" != "no" ; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define wxUSE_LIBPNG 1
26153 _ACEOF
26154
26155
26156 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26157 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26158 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26159 wxUSE_LIBPNG=sys
26160 fi
26161
26162 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26163 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26164 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26165 wxUSE_LIBPNG=builtin
26166 fi
26167
26168 if test "$wxUSE_MGL" != 1 ; then
26169 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26170 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26171 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26172 if test "${ac_cv_header_png_h+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26174 else
26175 if test "$cross_compiling" = yes; then
26176 unset ac_cv_header_png_h
26177
26178 else
26179 cat >conftest.$ac_ext <<_ACEOF
26180 /* confdefs.h. */
26181 _ACEOF
26182 cat confdefs.h >>conftest.$ac_ext
26183 cat >>conftest.$ac_ext <<_ACEOF
26184 /* end confdefs.h. */
26185
26186 #include <png.h>
26187 #include <stdio.h>
26188
26189 int main()
26190 {
26191 FILE *f=fopen("conftestval", "w");
26192 if (!f) exit(1);
26193 fprintf(f, "%s",
26194 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26195 exit(0);
26196 }
26197
26198 _ACEOF
26199 rm -f conftest$ac_exeext
26200 if { (ac_try="$ac_link"
26201 case "(($ac_try" in
26202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26203 *) ac_try_echo=$ac_try;;
26204 esac
26205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26206 (eval "$ac_link") 2>&5
26207 ac_status=$?
26208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26210 { (case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26213 esac
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_try") 2>&5
26216 ac_status=$?
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_header_png_h=`cat conftestval`
26220 else
26221 echo "$as_me: program exited with status $ac_status" >&5
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26224
26225 ( exit $ac_status )
26226 ac_cv_header_png_h=no
26227 fi
26228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26229 fi
26230
26231
26232
26233 fi
26234 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26235 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26236 { echo "$as_me:$LINENO: checking for png.h" >&5
26237 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26238 if test "${ac_cv_header_png_h+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
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
26249 #include <png.h>
26250 _ACEOF
26251 rm -f conftest.$ac_objext
26252 if { (ac_try="$ac_compile"
26253 case "(($ac_try" in
26254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26255 *) ac_try_echo=$ac_try;;
26256 esac
26257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26258 (eval "$ac_compile") 2>conftest.er1
26259 ac_status=$?
26260 grep -v '^ *+' conftest.er1 >conftest.err
26261 rm -f conftest.er1
26262 cat conftest.err >&5
26263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26264 (exit $ac_status); } && {
26265 test -z "$ac_c_werror_flag" ||
26266 test ! -s conftest.err
26267 } && test -s conftest.$ac_objext; then
26268 ac_cv_header_png_h=yes
26269 else
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.$ac_ext >&5
26272
26273 ac_cv_header_png_h=no
26274 fi
26275
26276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26277 fi
26278 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26280
26281
26282
26283 if test "$ac_cv_header_png_h" = "yes"; then
26284 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26285 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26286 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26289 ac_check_lib_save_LIBS=$LIBS
26290 LIBS="-lpng -lz -lm $LIBS"
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298 /* Override any GCC internal prototype to avoid an error.
26299 Use char because int might match the return type of a GCC
26300 builtin and then its argument prototype would still apply. */
26301 #ifdef __cplusplus
26302 extern "C"
26303 #endif
26304 char png_check_sig ();
26305 int
26306 main ()
26307 {
26308 return png_check_sig ();
26309 ;
26310 return 0;
26311 }
26312 _ACEOF
26313 rm -f conftest.$ac_objext conftest$ac_exeext
26314 if { (ac_try="$ac_link"
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_link") 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_exeext &&
26330 $as_test_x conftest$ac_exeext; then
26331 ac_cv_lib_png_png_check_sig=yes
26332 else
26333 echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26335
26336 ac_cv_lib_png_png_check_sig=no
26337 fi
26338
26339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26340 conftest$ac_exeext conftest.$ac_ext
26341 LIBS=$ac_check_lib_save_LIBS
26342 fi
26343 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26344 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26345 if test $ac_cv_lib_png_png_check_sig = yes; then
26346 PNG_LINK=" -lpng -lz"
26347 fi
26348
26349 fi
26350
26351 if test "x$PNG_LINK" = "x" ; then
26352 if test "$wxUSE_LIBPNG" = "sys" ; then
26353 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26354 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26355 { (exit 1); exit 1; }; }
26356 else
26357 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26358 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26359 wxUSE_LIBPNG=builtin
26360 fi
26361 else
26362 wxUSE_LIBPNG=sys
26363 fi
26364 fi
26365 fi
26366 fi
26367
26368
26369 JPEG_LINK=
26370 if test "$wxUSE_LIBJPEG" != "no" ; then
26371 cat >>confdefs.h <<\_ACEOF
26372 #define wxUSE_LIBJPEG 1
26373 _ACEOF
26374
26375
26376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26378 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26379 wxUSE_LIBJPEG=sys
26380 fi
26381
26382 if test "$wxUSE_MGL" != 1 ; then
26383 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26384 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26385 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26386 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26387 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 else
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395
26396 #undef HAVE_STDLIB_H
26397 #include <stdio.h>
26398 #include <jpeglib.h>
26399
26400 int
26401 main ()
26402 {
26403
26404
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_c_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 ac_cv_header_jpeglib_h=yes
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 ac_cv_header_jpeglib_h=no
26432
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436
26437 fi
26438
26439 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26441
26442 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26443 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26444 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26445 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 else
26448 ac_check_lib_save_LIBS=$LIBS
26449 LIBS="-ljpeg $LIBS"
26450 cat >conftest.$ac_ext <<_ACEOF
26451 /* confdefs.h. */
26452 _ACEOF
26453 cat confdefs.h >>conftest.$ac_ext
26454 cat >>conftest.$ac_ext <<_ACEOF
26455 /* end confdefs.h. */
26456
26457 /* Override any GCC internal prototype to avoid an error.
26458 Use char because int might match the return type of a GCC
26459 builtin and then its argument prototype would still apply. */
26460 #ifdef __cplusplus
26461 extern "C"
26462 #endif
26463 char jpeg_read_header ();
26464 int
26465 main ()
26466 {
26467 return jpeg_read_header ();
26468 ;
26469 return 0;
26470 }
26471 _ACEOF
26472 rm -f conftest.$ac_objext conftest$ac_exeext
26473 if { (ac_try="$ac_link"
26474 case "(($ac_try" in
26475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26476 *) ac_try_echo=$ac_try;;
26477 esac
26478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26479 (eval "$ac_link") 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } && {
26486 test -z "$ac_c_werror_flag" ||
26487 test ! -s conftest.err
26488 } && test -s conftest$ac_exeext &&
26489 $as_test_x conftest$ac_exeext; then
26490 ac_cv_lib_jpeg_jpeg_read_header=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_cv_lib_jpeg_jpeg_read_header=no
26496 fi
26497
26498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26499 conftest$ac_exeext conftest.$ac_ext
26500 LIBS=$ac_check_lib_save_LIBS
26501 fi
26502 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26503 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26504 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26505 JPEG_LINK=" -ljpeg"
26506 fi
26507
26508 fi
26509
26510 if test "x$JPEG_LINK" = "x" ; then
26511 if test "$wxUSE_LIBJPEG" = "sys" ; then
26512 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26513 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26514 { (exit 1); exit 1; }; }
26515 else
26516 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26517 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26518 wxUSE_LIBJPEG=builtin
26519 fi
26520 else
26521 wxUSE_LIBJPEG=sys
26522
26523 if test "$wxUSE_MSW" = 1; then
26524 { echo "$as_me:$LINENO: checking for boolean" >&5
26525 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26526 if test "${ac_cv_type_boolean+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 else
26529 cat >conftest.$ac_ext <<_ACEOF
26530 /* confdefs.h. */
26531 _ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26535 #include <windows.h>
26536
26537 typedef boolean ac__type_new_;
26538 int
26539 main ()
26540 {
26541 if ((ac__type_new_ *) 0)
26542 return 0;
26543 if (sizeof (ac__type_new_))
26544 return 0;
26545 ;
26546 return 0;
26547 }
26548 _ACEOF
26549 rm -f conftest.$ac_objext
26550 if { (ac_try="$ac_compile"
26551 case "(($ac_try" in
26552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26553 *) ac_try_echo=$ac_try;;
26554 esac
26555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26556 (eval "$ac_compile") 2>conftest.er1
26557 ac_status=$?
26558 grep -v '^ *+' conftest.er1 >conftest.err
26559 rm -f conftest.er1
26560 cat conftest.err >&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest.$ac_objext; then
26566 ac_cv_type_boolean=yes
26567 else
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26570
26571 ac_cv_type_boolean=no
26572 fi
26573
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 fi
26576 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26577 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26578 if test $ac_cv_type_boolean = yes; then
26579
26580 cat >>confdefs.h <<_ACEOF
26581 #define HAVE_BOOLEAN 1
26582 _ACEOF
26583
26584
26585 { echo "$as_me:$LINENO: checking for boolean" >&5
26586 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26587 if test "${ac_cv_type_boolean+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26589 else
26590 cat >conftest.$ac_ext <<_ACEOF
26591 /* confdefs.h. */
26592 _ACEOF
26593 cat confdefs.h >>conftest.$ac_ext
26594 cat >>conftest.$ac_ext <<_ACEOF
26595 /* end confdefs.h. */
26596
26597 #undef HAVE_BOOLEAN
26598 #include <stdio.h>
26599 #include <jpeglib.h>
26600
26601
26602 typedef boolean ac__type_new_;
26603 int
26604 main ()
26605 {
26606 if ((ac__type_new_ *) 0)
26607 return 0;
26608 if (sizeof (ac__type_new_))
26609 return 0;
26610 ;
26611 return 0;
26612 }
26613 _ACEOF
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26619 esac
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_type_boolean=yes
26632 else
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26635
26636 ac_cv_type_boolean=no
26637 fi
26638
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 fi
26641 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26642 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26643
26644 # The cast to long int works around a bug in the HP C Compiler
26645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26647 # This bug is HP SR number 8606223364.
26648 { echo "$as_me:$LINENO: checking size of boolean" >&5
26649 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26650 if test "${ac_cv_sizeof_boolean+set}" = set; then
26651 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 else
26653 if test "$cross_compiling" = yes; then
26654 # Depending upon the size, compute the lo and hi bounds.
26655 cat >conftest.$ac_ext <<_ACEOF
26656 /* confdefs.h. */
26657 _ACEOF
26658 cat confdefs.h >>conftest.$ac_ext
26659 cat >>conftest.$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26661
26662 #undef HAVE_BOOLEAN
26663 #include <stdio.h>
26664 #include <jpeglib.h>
26665
26666
26667 typedef boolean ac__type_sizeof_;
26668 int
26669 main ()
26670 {
26671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26672 test_array [0] = 0
26673
26674 ;
26675 return 0;
26676 }
26677 _ACEOF
26678 rm -f conftest.$ac_objext
26679 if { (ac_try="$ac_compile"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26683 esac
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_compile") 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_c_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest.$ac_objext; then
26695 ac_lo=0 ac_mid=0
26696 while :; do
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703
26704 #undef HAVE_BOOLEAN
26705 #include <stdio.h>
26706 #include <jpeglib.h>
26707
26708
26709 typedef boolean ac__type_sizeof_;
26710 int
26711 main ()
26712 {
26713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26714 test_array [0] = 0
26715
26716 ;
26717 return 0;
26718 }
26719 _ACEOF
26720 rm -f conftest.$ac_objext
26721 if { (ac_try="$ac_compile"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26725 esac
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_compile") 2>conftest.er1
26728 ac_status=$?
26729 grep -v '^ *+' conftest.er1 >conftest.err
26730 rm -f conftest.er1
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && {
26734 test -z "$ac_c_werror_flag" ||
26735 test ! -s conftest.err
26736 } && test -s conftest.$ac_objext; then
26737 ac_hi=$ac_mid; break
26738 else
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26741
26742 ac_lo=`expr $ac_mid + 1`
26743 if test $ac_lo -le $ac_mid; then
26744 ac_lo= ac_hi=
26745 break
26746 fi
26747 ac_mid=`expr 2 '*' $ac_mid + 1`
26748 fi
26749
26750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26751 done
26752 else
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26755
26756 cat >conftest.$ac_ext <<_ACEOF
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762
26763 #undef HAVE_BOOLEAN
26764 #include <stdio.h>
26765 #include <jpeglib.h>
26766
26767
26768 typedef boolean ac__type_sizeof_;
26769 int
26770 main ()
26771 {
26772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26773 test_array [0] = 0
26774
26775 ;
26776 return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext
26780 if { (ac_try="$ac_compile"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26784 esac
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_compile") 2>conftest.er1
26787 ac_status=$?
26788 grep -v '^ *+' conftest.er1 >conftest.err
26789 rm -f conftest.er1
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest.$ac_objext; then
26796 ac_hi=-1 ac_mid=-1
26797 while :; do
26798 cat >conftest.$ac_ext <<_ACEOF
26799 /* confdefs.h. */
26800 _ACEOF
26801 cat confdefs.h >>conftest.$ac_ext
26802 cat >>conftest.$ac_ext <<_ACEOF
26803 /* end confdefs.h. */
26804
26805 #undef HAVE_BOOLEAN
26806 #include <stdio.h>
26807 #include <jpeglib.h>
26808
26809
26810 typedef boolean ac__type_sizeof_;
26811 int
26812 main ()
26813 {
26814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26815 test_array [0] = 0
26816
26817 ;
26818 return 0;
26819 }
26820 _ACEOF
26821 rm -f conftest.$ac_objext
26822 if { (ac_try="$ac_compile"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26825 *) ac_try_echo=$ac_try;;
26826 esac
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_compile") 2>conftest.er1
26829 ac_status=$?
26830 grep -v '^ *+' conftest.er1 >conftest.err
26831 rm -f conftest.er1
26832 cat conftest.err >&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } && {
26835 test -z "$ac_c_werror_flag" ||
26836 test ! -s conftest.err
26837 } && test -s conftest.$ac_objext; then
26838 ac_lo=$ac_mid; break
26839 else
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.$ac_ext >&5
26842
26843 ac_hi=`expr '(' $ac_mid ')' - 1`
26844 if test $ac_mid -le $ac_hi; then
26845 ac_lo= ac_hi=
26846 break
26847 fi
26848 ac_mid=`expr 2 '*' $ac_mid`
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 done
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 ac_lo= ac_hi=
26858 fi
26859
26860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 # Binary search between lo and hi bounds.
26865 while test "x$ac_lo" != "x$ac_hi"; do
26866 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26867 cat >conftest.$ac_ext <<_ACEOF
26868 /* confdefs.h. */
26869 _ACEOF
26870 cat confdefs.h >>conftest.$ac_ext
26871 cat >>conftest.$ac_ext <<_ACEOF
26872 /* end confdefs.h. */
26873
26874 #undef HAVE_BOOLEAN
26875 #include <stdio.h>
26876 #include <jpeglib.h>
26877
26878
26879 typedef boolean ac__type_sizeof_;
26880 int
26881 main ()
26882 {
26883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26884 test_array [0] = 0
26885
26886 ;
26887 return 0;
26888 }
26889 _ACEOF
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26895 esac
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } && {
26904 test -z "$ac_c_werror_flag" ||
26905 test ! -s conftest.err
26906 } && test -s conftest.$ac_objext; then
26907 ac_hi=$ac_mid
26908 else
26909 echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 ac_lo=`expr '(' $ac_mid ')' + 1`
26913 fi
26914
26915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26916 done
26917 case $ac_lo in
26918 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26919 '') if test "$ac_cv_type_boolean" = yes; then
26920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26921 See \`config.log' for more details." >&5
26922 echo "$as_me: error: cannot compute sizeof (boolean)
26923 See \`config.log' for more details." >&2;}
26924 { (exit 77); exit 77; }; }
26925 else
26926 ac_cv_sizeof_boolean=0
26927 fi ;;
26928 esac
26929 else
26930 cat >conftest.$ac_ext <<_ACEOF
26931 /* confdefs.h. */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936
26937 #undef HAVE_BOOLEAN
26938 #include <stdio.h>
26939 #include <jpeglib.h>
26940
26941
26942 typedef boolean ac__type_sizeof_;
26943 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26944 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26945 #include <stdio.h>
26946 #include <stdlib.h>
26947 int
26948 main ()
26949 {
26950
26951 FILE *f = fopen ("conftest.val", "w");
26952 if (! f)
26953 return 1;
26954 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26955 {
26956 long int i = longval ();
26957 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26958 return 1;
26959 fprintf (f, "%ld\n", i);
26960 }
26961 else
26962 {
26963 unsigned long int i = ulongval ();
26964 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26965 return 1;
26966 fprintf (f, "%lu\n", i);
26967 }
26968 return ferror (f) || fclose (f) != 0;
26969
26970 ;
26971 return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest$ac_exeext
26975 if { (ac_try="$ac_link"
26976 case "(($ac_try" in
26977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26978 *) ac_try_echo=$ac_try;;
26979 esac
26980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26981 (eval "$ac_link") 2>&5
26982 ac_status=$?
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26985 { (case "(($ac_try" in
26986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26987 *) ac_try_echo=$ac_try;;
26988 esac
26989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26990 (eval "$ac_try") 2>&5
26991 ac_status=$?
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 ac_cv_sizeof_boolean=`cat conftest.val`
26995 else
26996 echo "$as_me: program exited with status $ac_status" >&5
26997 echo "$as_me: failed program was:" >&5
26998 sed 's/^/| /' conftest.$ac_ext >&5
26999
27000 ( exit $ac_status )
27001 if test "$ac_cv_type_boolean" = yes; then
27002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27003 See \`config.log' for more details." >&5
27004 echo "$as_me: error: cannot compute sizeof (boolean)
27005 See \`config.log' for more details." >&2;}
27006 { (exit 77); exit 77; }; }
27007 else
27008 ac_cv_sizeof_boolean=0
27009 fi
27010 fi
27011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27012 fi
27013 rm -f conftest.val
27014 fi
27015 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27016 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27017
27018
27019
27020 cat >>confdefs.h <<_ACEOF
27021 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27022 _ACEOF
27023
27024
27025 cat >>confdefs.h <<_ACEOF
27026 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27027 _ACEOF
27028
27029
27030 fi
27031
27032 fi
27033 fi
27034 fi
27035 fi
27036 fi
27037
27038
27039 TIFF_LINK=
27040 TIFF_PREREQ_LINKS=-lm
27041 if test "$wxUSE_LIBTIFF" != "no" ; then
27042 cat >>confdefs.h <<\_ACEOF
27043 #define wxUSE_LIBTIFF 1
27044 _ACEOF
27045
27046
27047 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27048 if test "$wxUSE_LIBJPEG" = "sys"; then
27049 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27050 fi
27051 if test "$wxUSE_ZLIB" = "sys"; then
27052 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27053 fi
27054 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27055 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27056 if test "${ac_cv_header_tiffio_h+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065
27066
27067
27068 #include <tiffio.h>
27069 _ACEOF
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27074 *) ac_try_echo=$ac_try;;
27075 esac
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27078 ac_status=$?
27079 grep -v '^ *+' conftest.er1 >conftest.err
27080 rm -f conftest.er1
27081 cat conftest.err >&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.$ac_objext; then
27087 ac_cv_header_tiffio_h=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 ac_cv_header_tiffio_h=no
27093 fi
27094
27095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27096 fi
27097 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27099 if test $ac_cv_header_tiffio_h = yes; then
27100
27101 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27102 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27103 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27104 echo $ECHO_N "(cached) $ECHO_C" >&6
27105 else
27106 ac_check_lib_save_LIBS=$LIBS
27107 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27108 cat >conftest.$ac_ext <<_ACEOF
27109 /* confdefs.h. */
27110 _ACEOF
27111 cat confdefs.h >>conftest.$ac_ext
27112 cat >>conftest.$ac_ext <<_ACEOF
27113 /* end confdefs.h. */
27114
27115 /* Override any GCC internal prototype to avoid an error.
27116 Use char because int might match the return type of a GCC
27117 builtin and then its argument prototype would still apply. */
27118 #ifdef __cplusplus
27119 extern "C"
27120 #endif
27121 char TIFFError ();
27122 int
27123 main ()
27124 {
27125 return TIFFError ();
27126 ;
27127 return 0;
27128 }
27129 _ACEOF
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (ac_try="$ac_link"
27132 case "(($ac_try" in
27133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27134 *) ac_try_echo=$ac_try;;
27135 esac
27136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27137 (eval "$ac_link") 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } && {
27144 test -z "$ac_c_werror_flag" ||
27145 test ! -s conftest.err
27146 } && test -s conftest$ac_exeext &&
27147 $as_test_x conftest$ac_exeext; then
27148 ac_cv_lib_tiff_TIFFError=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 ac_cv_lib_tiff_TIFFError=no
27154 fi
27155
27156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27157 conftest$ac_exeext conftest.$ac_ext
27158 LIBS=$ac_check_lib_save_LIBS
27159 fi
27160 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27162 if test $ac_cv_lib_tiff_TIFFError = yes; then
27163 TIFF_LINK=" -ltiff"
27164 fi
27165
27166
27167 fi
27168
27169
27170
27171 if test "x$TIFF_LINK" = "x" ; then
27172 if test "$wxUSE_LIBTIFF" = "sys" ; then
27173 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27174 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27175 { (exit 1); exit 1; }; }
27176 else
27177 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27178 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27179 wxUSE_LIBTIFF=builtin
27180 fi
27181 else
27182 wxUSE_LIBTIFF=sys
27183 fi
27184 fi
27185 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27186 if test "$wxUSE_LIBJPEG" = "no"; then
27187 ac_configure_args="$ac_configure_args --disable-jpeg"
27188 fi
27189 subdirs="$subdirs src/tiff"
27190
27191 fi
27192 fi
27193
27194
27195 if test "$wxUSE_WCHAR_T" != "yes"; then
27196 if test "$wxUSE_EXPAT" != "no"; then
27197 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27198 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27199 wxUSE_EXPAT=no
27200 fi
27201 if test "$wxUSE_XML" != "no"; then
27202 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27203 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27204 wxUSE_XML=no
27205 fi
27206 fi
27207
27208 if test "$wxUSE_EXPAT" != "no"; then
27209 wxUSE_XML=yes
27210 cat >>confdefs.h <<\_ACEOF
27211 #define wxUSE_EXPAT 1
27212 _ACEOF
27213
27214 cat >>confdefs.h <<\_ACEOF
27215 #define wxUSE_XML 1
27216 _ACEOF
27217
27218
27219 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27220 { echo "$as_me:$LINENO: checking for expat.h" >&5
27221 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27222 if test "${ac_cv_header_expat_h+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 else
27225 cat >conftest.$ac_ext <<_ACEOF
27226 /* confdefs.h. */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231
27232
27233 #include <expat.h>
27234 _ACEOF
27235 rm -f conftest.$ac_objext
27236 if { (ac_try="$ac_compile"
27237 case "(($ac_try" in
27238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27239 *) ac_try_echo=$ac_try;;
27240 esac
27241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27242 (eval "$ac_compile") 2>conftest.er1
27243 ac_status=$?
27244 grep -v '^ *+' conftest.er1 >conftest.err
27245 rm -f conftest.er1
27246 cat conftest.err >&5
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); } && {
27249 test -z "$ac_c_werror_flag" ||
27250 test ! -s conftest.err
27251 } && test -s conftest.$ac_objext; then
27252 ac_cv_header_expat_h=yes
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_cv_header_expat_h=no
27258 fi
27259
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 fi
27262 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27263 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27264 if test $ac_cv_header_expat_h = yes; then
27265 found_expat_h=1
27266 fi
27267
27268
27269 if test "x$found_expat_h" = "x1"; then
27270 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27271 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27272 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27273 echo $ECHO_N "(cached) $ECHO_C" >&6
27274 else
27275
27276 ac_ext=cpp
27277 ac_cpp='$CXXCPP $CPPFLAGS'
27278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27281
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288 #include <expat.h>
27289 int
27290 main ()
27291 {
27292
27293 ;
27294 return 0;
27295 }
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_cxx_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest.$ac_objext; then
27314 wx_cv_expat_is_not_broken=yes
27315 else
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27318
27319 wx_cv_expat_is_not_broken=no
27320
27321 fi
27322
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27329
27330
27331
27332 fi
27333 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27334 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27335 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27336 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27337 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27338 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27339 echo $ECHO_N "(cached) $ECHO_C" >&6
27340 else
27341 ac_check_lib_save_LIBS=$LIBS
27342 LIBS="-lexpat $LIBS"
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349
27350 /* Override any GCC internal prototype to avoid an error.
27351 Use char because int might match the return type of a GCC
27352 builtin and then its argument prototype would still apply. */
27353 #ifdef __cplusplus
27354 extern "C"
27355 #endif
27356 char XML_ParserCreate ();
27357 int
27358 main ()
27359 {
27360 return XML_ParserCreate ();
27361 ;
27362 return 0;
27363 }
27364 _ACEOF
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 if { (ac_try="$ac_link"
27367 case "(($ac_try" in
27368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27369 *) ac_try_echo=$ac_try;;
27370 esac
27371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27372 (eval "$ac_link") 2>conftest.er1
27373 ac_status=$?
27374 grep -v '^ *+' conftest.er1 >conftest.err
27375 rm -f conftest.er1
27376 cat conftest.err >&5
27377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27378 (exit $ac_status); } && {
27379 test -z "$ac_c_werror_flag" ||
27380 test ! -s conftest.err
27381 } && test -s conftest$ac_exeext &&
27382 $as_test_x conftest$ac_exeext; then
27383 ac_cv_lib_expat_XML_ParserCreate=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 ac_cv_lib_expat_XML_ParserCreate=no
27389 fi
27390
27391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27392 conftest$ac_exeext conftest.$ac_ext
27393 LIBS=$ac_check_lib_save_LIBS
27394 fi
27395 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27396 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27397 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27398 EXPAT_LINK=" -lexpat"
27399 fi
27400
27401 fi
27402 fi
27403 if test "x$EXPAT_LINK" = "x" ; then
27404 if test "$wxUSE_EXPAT" = "sys" ; then
27405 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27406 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27407 { (exit 1); exit 1; }; }
27408 else
27409 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27410 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27411 wxUSE_EXPAT=builtin
27412 fi
27413 else
27414 wxUSE_EXPAT=sys
27415 fi
27416 fi
27417 if test "$wxUSE_EXPAT" = "builtin" ; then
27418 subdirs="$subdirs src/expat"
27419
27420 fi
27421 fi
27422
27423
27424
27425 if test "$wxUSE_LIBMSPACK" != "no"; then
27426 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27427 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27428 if test "${ac_cv_header_mspack_h+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 else
27431 cat >conftest.$ac_ext <<_ACEOF
27432 /* confdefs.h. */
27433 _ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27437
27438
27439 #include <mspack.h>
27440 _ACEOF
27441 rm -f conftest.$ac_objext
27442 if { (ac_try="$ac_compile"
27443 case "(($ac_try" in
27444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27445 *) ac_try_echo=$ac_try;;
27446 esac
27447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27448 (eval "$ac_compile") 2>conftest.er1
27449 ac_status=$?
27450 grep -v '^ *+' conftest.er1 >conftest.err
27451 rm -f conftest.er1
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && {
27455 test -z "$ac_c_werror_flag" ||
27456 test ! -s conftest.err
27457 } && test -s conftest.$ac_objext; then
27458 ac_cv_header_mspack_h=yes
27459 else
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27462
27463 ac_cv_header_mspack_h=no
27464 fi
27465
27466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27467 fi
27468 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27469 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27470 if test $ac_cv_header_mspack_h = yes; then
27471 found_mspack_h=1
27472 fi
27473
27474
27475 if test "x$found_mspack_h" = "x1"; then
27476 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27477 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27478 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481 ac_check_lib_save_LIBS=$LIBS
27482 LIBS="-lmspack $LIBS"
27483 cat >conftest.$ac_ext <<_ACEOF
27484 /* confdefs.h. */
27485 _ACEOF
27486 cat confdefs.h >>conftest.$ac_ext
27487 cat >>conftest.$ac_ext <<_ACEOF
27488 /* end confdefs.h. */
27489
27490 /* Override any GCC internal prototype to avoid an error.
27491 Use char because int might match the return type of a GCC
27492 builtin and then its argument prototype would still apply. */
27493 #ifdef __cplusplus
27494 extern "C"
27495 #endif
27496 char mspack_create_chm_decompressor ();
27497 int
27498 main ()
27499 {
27500 return mspack_create_chm_decompressor ();
27501 ;
27502 return 0;
27503 }
27504 _ACEOF
27505 rm -f conftest.$ac_objext conftest$ac_exeext
27506 if { (ac_try="$ac_link"
27507 case "(($ac_try" in
27508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27509 *) ac_try_echo=$ac_try;;
27510 esac
27511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27512 (eval "$ac_link") 2>conftest.er1
27513 ac_status=$?
27514 grep -v '^ *+' conftest.er1 >conftest.err
27515 rm -f conftest.er1
27516 cat conftest.err >&5
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } && {
27519 test -z "$ac_c_werror_flag" ||
27520 test ! -s conftest.err
27521 } && test -s conftest$ac_exeext &&
27522 $as_test_x conftest$ac_exeext; then
27523 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27524 else
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.$ac_ext >&5
27527
27528 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27529 fi
27530
27531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27534 fi
27535 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27536 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27537 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27538 MSPACK_LINK=" -lmspack"
27539 fi
27540
27541 fi
27542 if test "x$MSPACK_LINK" = "x" ; then
27543 wxUSE_LIBMSPACK=no
27544 fi
27545 fi
27546
27547 if test "$wxUSE_LIBMSPACK" != "no"; then
27548 cat >>confdefs.h <<\_ACEOF
27549 #define wxUSE_LIBMSPACK 1
27550 _ACEOF
27551
27552 fi
27553
27554
27555
27556 AFMINSTALL=
27557 WIN32INSTALL=
27558
27559 TOOLKIT=
27560 TOOLKIT_INCLUDE=
27561 WIDGET_SET=
27562
27563 if test "$USE_WIN32" = 1 ; then
27564
27565 for ac_header in w32api.h
27566 do
27567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27571 echo $ECHO_N "(cached) $ECHO_C" >&6
27572 else
27573 cat >conftest.$ac_ext <<_ACEOF
27574 /* confdefs.h. */
27575 _ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579
27580
27581 #include <$ac_header>
27582 _ACEOF
27583 rm -f conftest.$ac_objext
27584 if { (ac_try="$ac_compile"
27585 case "(($ac_try" in
27586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27587 *) ac_try_echo=$ac_try;;
27588 esac
27589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27591 ac_status=$?
27592 grep -v '^ *+' conftest.er1 >conftest.err
27593 rm -f conftest.er1
27594 cat conftest.err >&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.$ac_objext; then
27600 eval "$as_ac_Header=yes"
27601 else
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27604
27605 eval "$as_ac_Header=no"
27606 fi
27607
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27609 fi
27610 ac_res=`eval echo '${'$as_ac_Header'}'`
27611 { echo "$as_me:$LINENO: result: $ac_res" >&5
27612 echo "${ECHO_T}$ac_res" >&6; }
27613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27614 cat >>confdefs.h <<_ACEOF
27615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27616 _ACEOF
27617
27618 fi
27619
27620 done
27621
27622 { echo "$as_me:$LINENO: checking for windows.h" >&5
27623 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27624 if test "${ac_cv_header_windows_h+set}" = set; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h. */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27633
27634
27635 #include <windows.h>
27636 _ACEOF
27637 rm -f conftest.$ac_objext
27638 if { (ac_try="$ac_compile"
27639 case "(($ac_try" in
27640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27641 *) ac_try_echo=$ac_try;;
27642 esac
27643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27644 (eval "$ac_compile") 2>conftest.er1
27645 ac_status=$?
27646 grep -v '^ *+' conftest.er1 >conftest.err
27647 rm -f conftest.er1
27648 cat conftest.err >&5
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); } && {
27651 test -z "$ac_c_werror_flag" ||
27652 test ! -s conftest.err
27653 } && test -s conftest.$ac_objext; then
27654 ac_cv_header_windows_h=yes
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_cv_header_windows_h=no
27660 fi
27661
27662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27663 fi
27664 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27665 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27666 if test $ac_cv_header_windows_h = yes; then
27667 :
27668 else
27669
27670 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27671 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27672 { (exit 1); exit 1; }; }
27673
27674 fi
27675
27676
27677
27678 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27679
27680 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27681 LIBS="$LIBS -loleacc"
27682 fi
27683
27684 case "${host}" in
27685 *-*-cygwin* )
27686 LIBS="$LIBS -lkernel32 -luser32"
27687 esac
27688
27689 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27690 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27691
27692 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27693
27694 WIN32INSTALL=win32install
27695
27696 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27697 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27698 if test "${ac_cv_header_pbt_h+set}" = set; then
27699 echo $ECHO_N "(cached) $ECHO_C" >&6
27700 else
27701 cat >conftest.$ac_ext <<_ACEOF
27702 /* confdefs.h. */
27703 _ACEOF
27704 cat confdefs.h >>conftest.$ac_ext
27705 cat >>conftest.$ac_ext <<_ACEOF
27706 /* end confdefs.h. */
27707
27708
27709 #include <pbt.h>
27710 _ACEOF
27711 rm -f conftest.$ac_objext
27712 if { (ac_try="$ac_compile"
27713 case "(($ac_try" in
27714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27715 *) ac_try_echo=$ac_try;;
27716 esac
27717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27718 (eval "$ac_compile") 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } && {
27725 test -z "$ac_c_werror_flag" ||
27726 test ! -s conftest.err
27727 } && test -s conftest.$ac_objext; then
27728 ac_cv_header_pbt_h=yes
27729 else
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27732
27733 ac_cv_header_pbt_h=no
27734 fi
27735
27736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27737 fi
27738 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27739 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27740 if test $ac_cv_header_pbt_h = yes; then
27741 :
27742 else
27743 cat >>confdefs.h <<\_ACEOF
27744 #define NEED_PBT_H 1
27745 _ACEOF
27746
27747 fi
27748
27749
27750 fi
27751
27752 if test "$wxUSE_GUI" = "yes"; then
27753 USE_GUI=1
27754
27755 GUI_TK_LIBRARY=
27756
27757 WXGTK12=
27758 WXGTK127=
27759 WXGTK2=
27760 WXGPE=
27761
27762 if test "$wxUSE_COCOA" = 1 ; then
27763 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27764 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27765 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27766 wxUSE_PRINTING_ARCHITECTURE=no
27767 fi
27768 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27769 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27770 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27771 wxUSE_DRAG_AND_DROP=no
27772 fi
27773 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27774 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27775 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27776 wxUSE_DRAGIMAGE=no
27777 fi
27778 fi
27779
27780 if test "$wxUSE_MSW" = 1 ; then
27781 TOOLKIT=MSW
27782 GUIDIST=MSW_DIST
27783
27784 case "${host}" in
27785 *-*-mingw32* )
27786 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27787 esac
27788 fi
27789
27790 if test "$wxUSE_GTK" = 1; then
27791 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27792 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27793
27794 gtk_version_cached=1
27795 if test "${wx_cv_lib_gtk+set}" = set; then
27796 echo $ECHO_N "(cached) $ECHO_C" >&6
27797 else
27798
27799 gtk_version_cached=0
27800 { echo "$as_me:$LINENO: result: " >&5
27801 echo "${ECHO_T}" >&6; }
27802
27803 GTK_MODULES=
27804 if test "$wxUSE_THREADS" = "yes"; then
27805 GTK_MODULES=gthread
27806 fi
27807
27808 wx_cv_lib_gtk=
27809 if test "x$wxGTK_VERSION" != "x1"
27810 then
27811 case "${host}" in
27812 *-*-solaris2* )
27813 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27814 enable_gtktest=no
27815 fi
27816 esac
27817
27818 # Check whether --enable-gtktest was given.
27819 if test "${enable_gtktest+set}" = set; then
27820 enableval=$enable_gtktest;
27821 else
27822 enable_gtktest=yes
27823 fi
27824
27825
27826 pkg_config_args=gtk+-2.0
27827 for module in . $GTK_MODULES
27828 do
27829 case "$module" in
27830 gthread)
27831 pkg_config_args="$pkg_config_args gthread-2.0"
27832 ;;
27833 esac
27834 done
27835
27836 no_gtk=""
27837
27838 # Extract the first word of "pkg-config", so it can be a program name with args.
27839 set dummy pkg-config; ac_word=$2
27840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27842 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27843 echo $ECHO_N "(cached) $ECHO_C" >&6
27844 else
27845 case $PKG_CONFIG in
27846 [\\/]* | ?:[\\/]*)
27847 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27848 ;;
27849 *)
27850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27851 for as_dir in $PATH
27852 do
27853 IFS=$as_save_IFS
27854 test -z "$as_dir" && as_dir=.
27855 for ac_exec_ext in '' $ac_executable_extensions; do
27856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27857 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27859 break 2
27860 fi
27861 done
27862 done
27863 IFS=$as_save_IFS
27864
27865 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27866 ;;
27867 esac
27868 fi
27869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27870 if test -n "$PKG_CONFIG"; then
27871 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27873 else
27874 { echo "$as_me:$LINENO: result: no" >&5
27875 echo "${ECHO_T}no" >&6; }
27876 fi
27877
27878
27879
27880 if test x$PKG_CONFIG != xno ; then
27881 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27882 :
27883 else
27884 echo "*** pkg-config too old; version 0.7 or better required."
27885 no_gtk=yes
27886 PKG_CONFIG=no
27887 fi
27888 else
27889 no_gtk=yes
27890 fi
27891
27892 min_gtk_version=2.4.0
27893 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27894 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27895
27896 if test x$PKG_CONFIG != xno ; then
27897 ## don't try to run the test against uninstalled libtool libs
27898 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27899 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27900 enable_gtktest=no
27901 fi
27902
27903 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27904 :
27905 else
27906 no_gtk=yes
27907 fi
27908 fi
27909
27910 if test x"$no_gtk" = x ; then
27911 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27912 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27913 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27915 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27917 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27919 if test "x$enable_gtktest" = "xyes" ; then
27920 ac_save_CFLAGS="$CFLAGS"
27921 ac_save_LIBS="$LIBS"
27922 CFLAGS="$CFLAGS $GTK_CFLAGS"
27923 LIBS="$GTK_LIBS $LIBS"
27924 rm -f conf.gtktest
27925 if test "$cross_compiling" = yes; then
27926 echo $ac_n "cross compiling; assumed OK... $ac_c"
27927 else
27928 cat >conftest.$ac_ext <<_ACEOF
27929 /* confdefs.h. */
27930 _ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27934
27935 #include <gtk/gtk.h>
27936 #include <stdio.h>
27937 #include <stdlib.h>
27938
27939 int
27940 main ()
27941 {
27942 int major, minor, micro;
27943 char *tmp_version;
27944
27945 system ("touch conf.gtktest");
27946
27947 /* HP/UX 9 (%@#!) writes to sscanf strings */
27948 tmp_version = g_strdup("$min_gtk_version");
27949 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27950 printf("%s, bad version string\n", "$min_gtk_version");
27951 exit(1);
27952 }
27953
27954 if ((gtk_major_version != $gtk_config_major_version) ||
27955 (gtk_minor_version != $gtk_config_minor_version) ||
27956 (gtk_micro_version != $gtk_config_micro_version))
27957 {
27958 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27959 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27960 gtk_major_version, gtk_minor_version, gtk_micro_version);
27961 printf ("*** was found! If pkg-config was correct, then it is best\n");
27962 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27963 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27964 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27965 printf("*** required on your system.\n");
27966 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27967 printf("*** to point to the correct configuration files\n");
27968 }
27969 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27970 (gtk_minor_version != GTK_MINOR_VERSION) ||
27971 (gtk_micro_version != GTK_MICRO_VERSION))
27972 {
27973 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27974 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27975 printf("*** library (version %d.%d.%d)\n",
27976 gtk_major_version, gtk_minor_version, gtk_micro_version);
27977 }
27978 else
27979 {
27980 if ((gtk_major_version > major) ||
27981 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27982 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27983 {
27984 return 0;
27985 }
27986 else
27987 {
27988 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27989 gtk_major_version, gtk_minor_version, gtk_micro_version);
27990 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27991 major, minor, micro);
27992 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27993 printf("***\n");
27994 printf("*** If you have already installed a sufficiently new version, this error\n");
27995 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27996 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27997 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27998 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27999 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28000 printf("*** so that the correct libraries are found at run-time))\n");
28001 }
28002 }
28003 return 1;
28004 }
28005
28006 _ACEOF
28007 rm -f conftest$ac_exeext
28008 if { (ac_try="$ac_link"
28009 case "(($ac_try" in
28010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28011 *) ac_try_echo=$ac_try;;
28012 esac
28013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28014 (eval "$ac_link") 2>&5
28015 ac_status=$?
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28018 { (case "(($ac_try" in
28019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28020 *) ac_try_echo=$ac_try;;
28021 esac
28022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28023 (eval "$ac_try") 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; }; then
28027 :
28028 else
28029 echo "$as_me: program exited with status $ac_status" >&5
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28032
28033 ( exit $ac_status )
28034 no_gtk=yes
28035 fi
28036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28037 fi
28038
28039
28040 CFLAGS="$ac_save_CFLAGS"
28041 LIBS="$ac_save_LIBS"
28042 fi
28043 fi
28044 if test "x$no_gtk" = x ; then
28045 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28046 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28047 wx_cv_lib_gtk=2.0
28048 else
28049 { echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6; }
28051 if test "$PKG_CONFIG" = "no" ; then
28052 echo "*** A new enough version of pkg-config was not found."
28053 echo "*** See http://pkgconfig.sourceforge.net"
28054 else
28055 if test -f conf.gtktest ; then
28056 :
28057 else
28058 echo "*** Could not run GTK+ test program, checking why..."
28059 ac_save_CFLAGS="$CFLAGS"
28060 ac_save_LIBS="$LIBS"
28061 CFLAGS="$CFLAGS $GTK_CFLAGS"
28062 LIBS="$LIBS $GTK_LIBS"
28063 cat >conftest.$ac_ext <<_ACEOF
28064 /* confdefs.h. */
28065 _ACEOF
28066 cat confdefs.h >>conftest.$ac_ext
28067 cat >>conftest.$ac_ext <<_ACEOF
28068 /* end confdefs.h. */
28069
28070 #include <gtk/gtk.h>
28071 #include <stdio.h>
28072
28073 int
28074 main ()
28075 {
28076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28077 ;
28078 return 0;
28079 }
28080 _ACEOF
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (ac_try="$ac_link"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28086 esac
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_link") 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest$ac_exeext &&
28098 $as_test_x conftest$ac_exeext; then
28099 echo "*** The test program compiled, but did not run. This usually means"
28100 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28101 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28104 echo "*** is required on your system"
28105 echo "***"
28106 echo "*** If you have an old version installed, it is best to remove it, although"
28107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28108 else
28109 echo "$as_me: failed program was:" >&5
28110 sed 's/^/| /' conftest.$ac_ext >&5
28111
28112 echo "*** The test program failed to compile or link. See the file config.log for the"
28113 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28114 fi
28115
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 CFLAGS="$ac_save_CFLAGS"
28119 LIBS="$ac_save_LIBS"
28120 fi
28121 fi
28122 GTK_CFLAGS=""
28123 GTK_LIBS=""
28124 :
28125 fi
28126
28127
28128 rm -f conf.gtktest
28129
28130
28131 case "${host}" in
28132 *-*-solaris2* )
28133 if test "$wxUSE_SHARED" != "yes"; then
28134 GTK_LIBS="$GTK_LIBS -lX11"
28135 fi
28136 esac
28137 fi
28138
28139 if test -z "$wx_cv_lib_gtk"; then
28140 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28141
28142 # Check whether --with-gtk-prefix was given.
28143 if test "${with_gtk_prefix+set}" = set; then
28144 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28145 else
28146 gtk_config_prefix=""
28147 fi
28148
28149
28150 # Check whether --with-gtk-exec-prefix was given.
28151 if test "${with_gtk_exec_prefix+set}" = set; then
28152 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28153 else
28154 gtk_config_exec_prefix=""
28155 fi
28156
28157 # Check whether --enable-gtktest was given.
28158 if test "${enable_gtktest+set}" = set; then
28159 enableval=$enable_gtktest;
28160 else
28161 enable_gtktest=yes
28162 fi
28163
28164
28165 for module in . $GTK_MODULES
28166 do
28167 case "$module" in
28168 gthread)
28169 gtk_config_args="$gtk_config_args gthread"
28170 ;;
28171 esac
28172 done
28173
28174 if test x$gtk_config_exec_prefix != x ; then
28175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28176 if test x${GTK_CONFIG+set} != xset ; then
28177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28178 fi
28179 fi
28180 if test x$gtk_config_prefix != x ; then
28181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28182 if test x${GTK_CONFIG+set} != xset ; then
28183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28184 fi
28185 fi
28186
28187 # Extract the first word of "gtk-config", so it can be a program name with args.
28188 set dummy gtk-config; ac_word=$2
28189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28192 echo $ECHO_N "(cached) $ECHO_C" >&6
28193 else
28194 case $GTK_CONFIG in
28195 [\\/]* | ?:[\\/]*)
28196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28197 ;;
28198 *)
28199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28200 for as_dir in $PATH
28201 do
28202 IFS=$as_save_IFS
28203 test -z "$as_dir" && as_dir=.
28204 for ac_exec_ext in '' $ac_executable_extensions; do
28205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28208 break 2
28209 fi
28210 done
28211 done
28212 IFS=$as_save_IFS
28213
28214 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28215 ;;
28216 esac
28217 fi
28218 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28219 if test -n "$GTK_CONFIG"; then
28220 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28221 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28222 else
28223 { echo "$as_me:$LINENO: result: no" >&5
28224 echo "${ECHO_T}no" >&6; }
28225 fi
28226
28227
28228 min_gtk_version=1.2.7
28229 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28230 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28231 no_gtk=""
28232 if test "$GTK_CONFIG" = "no" ; then
28233 no_gtk=yes
28234 else
28235 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28236 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28237 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28239 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28241 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28243 if test "x$enable_gtktest" = "xyes" ; then
28244 ac_save_CFLAGS="$CFLAGS"
28245 ac_save_LIBS="$LIBS"
28246 CFLAGS="$CFLAGS $GTK_CFLAGS"
28247 LIBS="$GTK_LIBS $LIBS"
28248 rm -f conf.gtktest
28249 if test "$cross_compiling" = yes; then
28250 echo $ac_n "cross compiling; assumed OK... $ac_c"
28251 else
28252 cat >conftest.$ac_ext <<_ACEOF
28253 /* confdefs.h. */
28254 _ACEOF
28255 cat confdefs.h >>conftest.$ac_ext
28256 cat >>conftest.$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28258
28259 #include <gtk/gtk.h>
28260 #include <stdio.h>
28261 #include <stdlib.h>
28262
28263 int
28264 main ()
28265 {
28266 int major, minor, micro;
28267 char *tmp_version;
28268
28269 system ("touch conf.gtktest");
28270
28271 /* HP/UX 9 (%@#!) writes to sscanf strings */
28272 tmp_version = g_strdup("$min_gtk_version");
28273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28274 printf("%s, bad version string\n", "$min_gtk_version");
28275 exit(1);
28276 }
28277
28278 if ((gtk_major_version != $gtk_config_major_version) ||
28279 (gtk_minor_version != $gtk_config_minor_version) ||
28280 (gtk_micro_version != $gtk_config_micro_version))
28281 {
28282 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf ("*** was found! If gtk-config was correct, then it is best\n");
28286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28289 printf("*** required on your system.\n");
28290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28292 printf("*** before re-running configure\n");
28293 }
28294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28296 (gtk_minor_version != GTK_MINOR_VERSION) ||
28297 (gtk_micro_version != GTK_MICRO_VERSION))
28298 {
28299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28301 printf("*** library (version %d.%d.%d)\n",
28302 gtk_major_version, gtk_minor_version, gtk_micro_version);
28303 }
28304 #endif /* defined (GTK_MAJOR_VERSION) ... */
28305 else
28306 {
28307 if ((gtk_major_version > major) ||
28308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28310 {
28311 return 0;
28312 }
28313 else
28314 {
28315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28316 gtk_major_version, gtk_minor_version, gtk_micro_version);
28317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28318 major, minor, micro);
28319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28320 printf("***\n");
28321 printf("*** If you have already installed a sufficiently new version, this error\n");
28322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28327 printf("*** so that the correct libraries are found at run-time))\n");
28328 }
28329 }
28330 return 1;
28331 }
28332
28333 _ACEOF
28334 rm -f conftest$ac_exeext
28335 if { (ac_try="$ac_link"
28336 case "(($ac_try" in
28337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28338 *) ac_try_echo=$ac_try;;
28339 esac
28340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28341 (eval "$ac_link") 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28345 { (case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28348 esac
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_try") 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 :
28355 else
28356 echo "$as_me: program exited with status $ac_status" >&5
28357 echo "$as_me: failed program was:" >&5
28358 sed 's/^/| /' conftest.$ac_ext >&5
28359
28360 ( exit $ac_status )
28361 no_gtk=yes
28362 fi
28363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28364 fi
28365
28366
28367 CFLAGS="$ac_save_CFLAGS"
28368 LIBS="$ac_save_LIBS"
28369 fi
28370 fi
28371 if test "x$no_gtk" = x ; then
28372 { echo "$as_me:$LINENO: result: yes" >&5
28373 echo "${ECHO_T}yes" >&6; }
28374 wx_cv_lib_gtk=1.2.7
28375 else
28376 { echo "$as_me:$LINENO: result: no" >&5
28377 echo "${ECHO_T}no" >&6; }
28378 if test "$GTK_CONFIG" = "no" ; then
28379 echo "*** The gtk-config script installed by GTK could not be found"
28380 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28381 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28382 echo "*** full path to gtk-config."
28383 else
28384 if test -f conf.gtktest ; then
28385 :
28386 else
28387 echo "*** Could not run GTK test program, checking why..."
28388 CFLAGS="$CFLAGS $GTK_CFLAGS"
28389 LIBS="$LIBS $GTK_LIBS"
28390 cat >conftest.$ac_ext <<_ACEOF
28391 /* confdefs.h. */
28392 _ACEOF
28393 cat confdefs.h >>conftest.$ac_ext
28394 cat >>conftest.$ac_ext <<_ACEOF
28395 /* end confdefs.h. */
28396
28397 #include <gtk/gtk.h>
28398 #include <stdio.h>
28399
28400 int
28401 main ()
28402 {
28403 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28404 ;
28405 return 0;
28406 }
28407 _ACEOF
28408 rm -f conftest.$ac_objext conftest$ac_exeext
28409 if { (ac_try="$ac_link"
28410 case "(($ac_try" in
28411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28412 *) ac_try_echo=$ac_try;;
28413 esac
28414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28415 (eval "$ac_link") 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } && {
28422 test -z "$ac_c_werror_flag" ||
28423 test ! -s conftest.err
28424 } && test -s conftest$ac_exeext &&
28425 $as_test_x conftest$ac_exeext; then
28426 echo "*** The test program compiled, but did not run. This usually means"
28427 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28428 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28431 echo "*** is required on your system"
28432 echo "***"
28433 echo "*** If you have an old version installed, it is best to remove it, although"
28434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28435 echo "***"
28436 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28437 echo "*** came with the system with the command"
28438 echo "***"
28439 echo "*** rpm --erase --nodeps gtk gtk-devel"
28440 else
28441 echo "$as_me: failed program was:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28443
28444 echo "*** The test program failed to compile or link. See the file config.log for the"
28445 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28446 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28447 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28448 fi
28449
28450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28451 conftest$ac_exeext conftest.$ac_ext
28452 CFLAGS="$ac_save_CFLAGS"
28453 LIBS="$ac_save_LIBS"
28454 fi
28455 fi
28456 GTK_CFLAGS=""
28457 GTK_LIBS=""
28458 :
28459 fi
28460
28461
28462 rm -f conf.gtktest
28463
28464
28465 if test -z "$wx_cv_lib_gtk"; then
28466
28467 # Check whether --with-gtk-prefix was given.
28468 if test "${with_gtk_prefix+set}" = set; then
28469 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28470 else
28471 gtk_config_prefix=""
28472 fi
28473
28474
28475 # Check whether --with-gtk-exec-prefix was given.
28476 if test "${with_gtk_exec_prefix+set}" = set; then
28477 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28478 else
28479 gtk_config_exec_prefix=""
28480 fi
28481
28482 # Check whether --enable-gtktest was given.
28483 if test "${enable_gtktest+set}" = set; then
28484 enableval=$enable_gtktest;
28485 else
28486 enable_gtktest=yes
28487 fi
28488
28489
28490 for module in . $GTK_MODULES
28491 do
28492 case "$module" in
28493 gthread)
28494 gtk_config_args="$gtk_config_args gthread"
28495 ;;
28496 esac
28497 done
28498
28499 if test x$gtk_config_exec_prefix != x ; then
28500 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28501 if test x${GTK_CONFIG+set} != xset ; then
28502 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28503 fi
28504 fi
28505 if test x$gtk_config_prefix != x ; then
28506 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28507 if test x${GTK_CONFIG+set} != xset ; then
28508 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28509 fi
28510 fi
28511
28512 # Extract the first word of "gtk-config", so it can be a program name with args.
28513 set dummy gtk-config; ac_word=$2
28514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28516 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28517 echo $ECHO_N "(cached) $ECHO_C" >&6
28518 else
28519 case $GTK_CONFIG in
28520 [\\/]* | ?:[\\/]*)
28521 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28522 ;;
28523 *)
28524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28525 for as_dir in $PATH
28526 do
28527 IFS=$as_save_IFS
28528 test -z "$as_dir" && as_dir=.
28529 for ac_exec_ext in '' $ac_executable_extensions; do
28530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28531 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28533 break 2
28534 fi
28535 done
28536 done
28537 IFS=$as_save_IFS
28538
28539 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28540 ;;
28541 esac
28542 fi
28543 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28544 if test -n "$GTK_CONFIG"; then
28545 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28546 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28547 else
28548 { echo "$as_me:$LINENO: result: no" >&5
28549 echo "${ECHO_T}no" >&6; }
28550 fi
28551
28552
28553 min_gtk_version=1.2.3
28554 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28555 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28556 no_gtk=""
28557 if test "$GTK_CONFIG" = "no" ; then
28558 no_gtk=yes
28559 else
28560 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28561 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28562 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28564 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28566 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28568 if test "x$enable_gtktest" = "xyes" ; then
28569 ac_save_CFLAGS="$CFLAGS"
28570 ac_save_LIBS="$LIBS"
28571 CFLAGS="$CFLAGS $GTK_CFLAGS"
28572 LIBS="$GTK_LIBS $LIBS"
28573 rm -f conf.gtktest
28574 if test "$cross_compiling" = yes; then
28575 echo $ac_n "cross compiling; assumed OK... $ac_c"
28576 else
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583
28584 #include <gtk/gtk.h>
28585 #include <stdio.h>
28586 #include <stdlib.h>
28587
28588 int
28589 main ()
28590 {
28591 int major, minor, micro;
28592 char *tmp_version;
28593
28594 system ("touch conf.gtktest");
28595
28596 /* HP/UX 9 (%@#!) writes to sscanf strings */
28597 tmp_version = g_strdup("$min_gtk_version");
28598 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28599 printf("%s, bad version string\n", "$min_gtk_version");
28600 exit(1);
28601 }
28602
28603 if ((gtk_major_version != $gtk_config_major_version) ||
28604 (gtk_minor_version != $gtk_config_minor_version) ||
28605 (gtk_micro_version != $gtk_config_micro_version))
28606 {
28607 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28608 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28609 gtk_major_version, gtk_minor_version, gtk_micro_version);
28610 printf ("*** was found! If gtk-config was correct, then it is best\n");
28611 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28612 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28613 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28614 printf("*** required on your system.\n");
28615 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28616 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28617 printf("*** before re-running configure\n");
28618 }
28619 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28620 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28621 (gtk_minor_version != GTK_MINOR_VERSION) ||
28622 (gtk_micro_version != GTK_MICRO_VERSION))
28623 {
28624 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28625 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28626 printf("*** library (version %d.%d.%d)\n",
28627 gtk_major_version, gtk_minor_version, gtk_micro_version);
28628 }
28629 #endif /* defined (GTK_MAJOR_VERSION) ... */
28630 else
28631 {
28632 if ((gtk_major_version > major) ||
28633 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28634 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28635 {
28636 return 0;
28637 }
28638 else
28639 {
28640 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28641 gtk_major_version, gtk_minor_version, gtk_micro_version);
28642 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28643 major, minor, micro);
28644 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28645 printf("***\n");
28646 printf("*** If you have already installed a sufficiently new version, this error\n");
28647 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28648 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28649 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28650 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28651 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28652 printf("*** so that the correct libraries are found at run-time))\n");
28653 }
28654 }
28655 return 1;
28656 }
28657
28658 _ACEOF
28659 rm -f conftest$ac_exeext
28660 if { (ac_try="$ac_link"
28661 case "(($ac_try" in
28662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28663 *) ac_try_echo=$ac_try;;
28664 esac
28665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28666 (eval "$ac_link") 2>&5
28667 ac_status=$?
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28670 { (case "(($ac_try" in
28671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28672 *) ac_try_echo=$ac_try;;
28673 esac
28674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28675 (eval "$ac_try") 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; }; then
28679 :
28680 else
28681 echo "$as_me: program exited with status $ac_status" >&5
28682 echo "$as_me: failed program was:" >&5
28683 sed 's/^/| /' conftest.$ac_ext >&5
28684
28685 ( exit $ac_status )
28686 no_gtk=yes
28687 fi
28688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28689 fi
28690
28691
28692 CFLAGS="$ac_save_CFLAGS"
28693 LIBS="$ac_save_LIBS"
28694 fi
28695 fi
28696 if test "x$no_gtk" = x ; then
28697 { echo "$as_me:$LINENO: result: yes" >&5
28698 echo "${ECHO_T}yes" >&6; }
28699 wx_cv_lib_gtk=1.2.3
28700 else
28701 { echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6; }
28703 if test "$GTK_CONFIG" = "no" ; then
28704 echo "*** The gtk-config script installed by GTK could not be found"
28705 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28706 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28707 echo "*** full path to gtk-config."
28708 else
28709 if test -f conf.gtktest ; then
28710 :
28711 else
28712 echo "*** Could not run GTK test program, checking why..."
28713 CFLAGS="$CFLAGS $GTK_CFLAGS"
28714 LIBS="$LIBS $GTK_LIBS"
28715 cat >conftest.$ac_ext <<_ACEOF
28716 /* confdefs.h. */
28717 _ACEOF
28718 cat confdefs.h >>conftest.$ac_ext
28719 cat >>conftest.$ac_ext <<_ACEOF
28720 /* end confdefs.h. */
28721
28722 #include <gtk/gtk.h>
28723 #include <stdio.h>
28724
28725 int
28726 main ()
28727 {
28728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28729 ;
28730 return 0;
28731 }
28732 _ACEOF
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (ac_try="$ac_link"
28735 case "(($ac_try" in
28736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28737 *) ac_try_echo=$ac_try;;
28738 esac
28739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28740 (eval "$ac_link") 2>conftest.er1
28741 ac_status=$?
28742 grep -v '^ *+' conftest.er1 >conftest.err
28743 rm -f conftest.er1
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } && {
28747 test -z "$ac_c_werror_flag" ||
28748 test ! -s conftest.err
28749 } && test -s conftest$ac_exeext &&
28750 $as_test_x conftest$ac_exeext; then
28751 echo "*** The test program compiled, but did not run. This usually means"
28752 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28753 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28754 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28755 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28756 echo "*** is required on your system"
28757 echo "***"
28758 echo "*** If you have an old version installed, it is best to remove it, although"
28759 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28760 echo "***"
28761 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28762 echo "*** came with the system with the command"
28763 echo "***"
28764 echo "*** rpm --erase --nodeps gtk gtk-devel"
28765 else
28766 echo "$as_me: failed program was:" >&5
28767 sed 's/^/| /' conftest.$ac_ext >&5
28768
28769 echo "*** The test program failed to compile or link. See the file config.log for the"
28770 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28771 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28772 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28773 fi
28774
28775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28776 conftest$ac_exeext conftest.$ac_ext
28777 CFLAGS="$ac_save_CFLAGS"
28778 LIBS="$ac_save_LIBS"
28779 fi
28780 fi
28781 GTK_CFLAGS=""
28782 GTK_LIBS=""
28783 :
28784 fi
28785
28786
28787 rm -f conf.gtktest
28788
28789 fi
28790 fi
28791 fi
28792
28793 if test -z "$wx_cv_lib_gtk"; then
28794 wx_cv_lib_gtk=none
28795 else
28796 wx_cv_cflags_gtk=$GTK_CFLAGS
28797 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28798 fi
28799
28800
28801 fi
28802
28803
28804 if test "$gtk_version_cached" = 1; then
28805 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28806 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28807 fi
28808
28809 case "$wx_cv_lib_gtk" in
28810 2.0) WXGTK2=1
28811 TOOLKIT_VERSION=2
28812 ;;
28813 1.2.7) WXGTK127=1
28814 WXGTK12=1
28815 ;;
28816 1.2.3) WXGTK12=1
28817 ;;
28818 *) { { echo "$as_me:$LINENO: error:
28819 The development files for GTK+ were not found. For GTK+ 2, please
28820 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28821 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28822 and that the version is 1.2.3 or above. Also check that the
28823 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28824 --libs' are in the LD_LIBRARY_PATH or equivalent.
28825 " >&5
28826 echo "$as_me: error:
28827 The development files for GTK+ were not found. For GTK+ 2, please
28828 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28829 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28830 and that the version is 1.2.3 or above. Also check that the
28831 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28832 --libs' are in the LD_LIBRARY_PATH or equivalent.
28833 " >&2;}
28834 { (exit 1); exit 1; }; }
28835 ;;
28836 esac
28837
28838 if test "$WXGTK2" = 1; then
28839 save_CFLAGS="$CFLAGS"
28840 save_LIBS="$LIBS"
28841 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28842 LIBS="$LIBS $wx_cv_libs_gtk"
28843
28844 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28845 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28846 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28847 echo $ECHO_N "(cached) $ECHO_C" >&6
28848 else
28849 cat >conftest.$ac_ext <<_ACEOF
28850 /* confdefs.h. */
28851 _ACEOF
28852 cat confdefs.h >>conftest.$ac_ext
28853 cat >>conftest.$ac_ext <<_ACEOF
28854 /* end confdefs.h. */
28855 #include <gtk/gtk.h>
28856
28857 int
28858 main ()
28859 {
28860 #ifndef gtk_icon_size_lookup
28861 (void) gtk_icon_size_lookup;
28862 #endif
28863
28864 ;
28865 return 0;
28866 }
28867 _ACEOF
28868 rm -f conftest.$ac_objext
28869 if { (ac_try="$ac_compile"
28870 case "(($ac_try" in
28871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28872 *) ac_try_echo=$ac_try;;
28873 esac
28874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28875 (eval "$ac_compile") 2>conftest.er1
28876 ac_status=$?
28877 grep -v '^ *+' conftest.er1 >conftest.err
28878 rm -f conftest.er1
28879 cat conftest.err >&5
28880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28881 (exit $ac_status); } && {
28882 test -z "$ac_c_werror_flag" ||
28883 test ! -s conftest.err
28884 } && test -s conftest.$ac_objext; then
28885 ac_cv_have_decl_gtk_icon_size_lookup=yes
28886 else
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.$ac_ext >&5
28889
28890 ac_cv_have_decl_gtk_icon_size_lookup=no
28891 fi
28892
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28894 fi
28895 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28896 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28897 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28898
28899 cat >>confdefs.h <<_ACEOF
28900 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28901 _ACEOF
28902
28903
28904 else
28905 cat >>confdefs.h <<_ACEOF
28906 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28907 _ACEOF
28908
28909 cat >>confdefs.h <<\_ACEOF
28910 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28911 _ACEOF
28912
28913 fi
28914
28915
28916
28917
28918 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28919 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28920 cat >conftest.$ac_ext <<_ACEOF
28921 /* confdefs.h. */
28922 _ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28926
28927 #include <gtk/gtk.h>
28928
28929 int
28930 main ()
28931 {
28932
28933 #if !GTK_CHECK_VERSION(2,10,0)
28934 Not GTK+ 2.10
28935 #endif
28936
28937 ;
28938 return 0;
28939 }
28940 _ACEOF
28941 rm -f conftest.$ac_objext
28942 if { (ac_try="$ac_compile"
28943 case "(($ac_try" in
28944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28945 *) ac_try_echo=$ac_try;;
28946 esac
28947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948 (eval "$ac_compile") 2>conftest.er1
28949 ac_status=$?
28950 grep -v '^ *+' conftest.er1 >conftest.err
28951 rm -f conftest.er1
28952 cat conftest.err >&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); } && {
28955 test -z "$ac_c_werror_flag" ||
28956 test ! -s conftest.err
28957 } && test -s conftest.$ac_objext; then
28958
28959 cat >>confdefs.h <<\_ACEOF
28960 #define __WXGTK210__ 1
28961 _ACEOF
28962
28963 cat >>confdefs.h <<\_ACEOF
28964 #define __WXGTK26__ 1
28965 _ACEOF
28966
28967 { echo "$as_me:$LINENO: result: yes" >&5
28968 echo "${ECHO_T}yes" >&6; }
28969 ac_wxgtk210=1
28970
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975
28976 { echo "$as_me:$LINENO: result: no" >&5
28977 echo "${ECHO_T}no" >&6; }
28978 ac_wxgtk210=0
28979
28980 fi
28981
28982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983
28984 if test "$ac_wxgtk210" = 0; then
28985 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28986 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28987 cat >conftest.$ac_ext <<_ACEOF
28988 /* confdefs.h. */
28989 _ACEOF
28990 cat confdefs.h >>conftest.$ac_ext
28991 cat >>conftest.$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28993
28994 #include <gtk/gtk.h>
28995
28996 int
28997 main ()
28998 {
28999
29000 #if !GTK_CHECK_VERSION(2,6,0)
29001 Not GTK+ 2.6
29002 #endif
29003
29004 ;
29005 return 0;
29006 }
29007 _ACEOF
29008 rm -f conftest.$ac_objext
29009 if { (ac_try="$ac_compile"
29010 case "(($ac_try" in
29011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29012 *) ac_try_echo=$ac_try;;
29013 esac
29014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29015 (eval "$ac_compile") 2>conftest.er1
29016 ac_status=$?
29017 grep -v '^ *+' conftest.er1 >conftest.err
29018 rm -f conftest.er1
29019 cat conftest.err >&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } && {
29022 test -z "$ac_c_werror_flag" ||
29023 test ! -s conftest.err
29024 } && test -s conftest.$ac_objext; then
29025
29026 cat >>confdefs.h <<\_ACEOF
29027 #define __WXGTK26__ 1
29028 _ACEOF
29029
29030 { echo "$as_me:$LINENO: result: yes" >&5
29031 echo "${ECHO_T}yes" >&6; }
29032 ac_wxgtk26=1
29033
29034 else
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.$ac_ext >&5
29037
29038
29039 { echo "$as_me:$LINENO: result: no" >&5
29040 echo "${ECHO_T}no" >&6; }
29041 ac_wxgtk26=0
29042
29043 fi
29044
29045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29046 fi
29047
29048 CFLAGS="$save_CFLAGS"
29049 LIBS="$save_LIBS"
29050 else
29051 if test "$wxUSE_UNICODE" = "yes"; then
29052 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29053 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29054 wxUSE_UNICODE=no
29055 fi
29056
29057 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29058 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29059 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29060 echo $ECHO_N "(cached) $ECHO_C" >&6
29061 else
29062 ac_check_lib_save_LIBS=$LIBS
29063 LIBS="-lgdk $LIBS"
29064 cat >conftest.$ac_ext <<_ACEOF
29065 /* confdefs.h. */
29066 _ACEOF
29067 cat confdefs.h >>conftest.$ac_ext
29068 cat >>conftest.$ac_ext <<_ACEOF
29069 /* end confdefs.h. */
29070
29071 /* Override any GCC internal prototype to avoid an error.
29072 Use char because int might match the return type of a GCC
29073 builtin and then its argument prototype would still apply. */
29074 #ifdef __cplusplus
29075 extern "C"
29076 #endif
29077 char gdk_im_open ();
29078 int
29079 main ()
29080 {
29081 return gdk_im_open ();
29082 ;
29083 return 0;
29084 }
29085 _ACEOF
29086 rm -f conftest.$ac_objext conftest$ac_exeext
29087 if { (ac_try="$ac_link"
29088 case "(($ac_try" in
29089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29090 *) ac_try_echo=$ac_try;;
29091 esac
29092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29093 (eval "$ac_link") 2>conftest.er1
29094 ac_status=$?
29095 grep -v '^ *+' conftest.er1 >conftest.err
29096 rm -f conftest.er1
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } && {
29100 test -z "$ac_c_werror_flag" ||
29101 test ! -s conftest.err
29102 } && test -s conftest$ac_exeext &&
29103 $as_test_x conftest$ac_exeext; then
29104 ac_cv_lib_gdk_gdk_im_open=yes
29105 else
29106 echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.$ac_ext >&5
29108
29109 ac_cv_lib_gdk_gdk_im_open=no
29110 fi
29111
29112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29113 conftest$ac_exeext conftest.$ac_ext
29114 LIBS=$ac_check_lib_save_LIBS
29115 fi
29116 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29117 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29118 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29119 cat >>confdefs.h <<\_ACEOF
29120 #define HAVE_XIM 1
29121 _ACEOF
29122
29123 fi
29124
29125
29126 if test "$USE_DARWIN" != 1; then
29127
29128 for ac_func in poll
29129 do
29130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29131 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29133 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29136 cat >conftest.$ac_ext <<_ACEOF
29137 /* confdefs.h. */
29138 _ACEOF
29139 cat confdefs.h >>conftest.$ac_ext
29140 cat >>conftest.$ac_ext <<_ACEOF
29141 /* end confdefs.h. */
29142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29144 #define $ac_func innocuous_$ac_func
29145
29146 /* System header to define __stub macros and hopefully few prototypes,
29147 which can conflict with char $ac_func (); below.
29148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29149 <limits.h> exists even on freestanding compilers. */
29150
29151 #ifdef __STDC__
29152 # include <limits.h>
29153 #else
29154 # include <assert.h>
29155 #endif
29156
29157 #undef $ac_func
29158
29159 /* Override any GCC internal prototype to avoid an error.
29160 Use char because int might match the return type of a GCC
29161 builtin and then its argument prototype would still apply. */
29162 #ifdef __cplusplus
29163 extern "C"
29164 #endif
29165 char $ac_func ();
29166 /* The GNU C library defines this for functions which it implements
29167 to always fail with ENOSYS. Some functions are actually named
29168 something starting with __ and the normal name is an alias. */
29169 #if defined __stub_$ac_func || defined __stub___$ac_func
29170 choke me
29171 #endif
29172
29173 int
29174 main ()
29175 {
29176 return $ac_func ();
29177 ;
29178 return 0;
29179 }
29180 _ACEOF
29181 rm -f conftest.$ac_objext conftest$ac_exeext
29182 if { (ac_try="$ac_link"
29183 case "(($ac_try" in
29184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29185 *) ac_try_echo=$ac_try;;
29186 esac
29187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29188 (eval "$ac_link") 2>conftest.er1
29189 ac_status=$?
29190 grep -v '^ *+' conftest.er1 >conftest.err
29191 rm -f conftest.er1
29192 cat conftest.err >&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); } && {
29195 test -z "$ac_c_werror_flag" ||
29196 test ! -s conftest.err
29197 } && test -s conftest$ac_exeext &&
29198 $as_test_x conftest$ac_exeext; then
29199 eval "$as_ac_var=yes"
29200 else
29201 echo "$as_me: failed program was:" >&5
29202 sed 's/^/| /' conftest.$ac_ext >&5
29203
29204 eval "$as_ac_var=no"
29205 fi
29206
29207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29208 conftest$ac_exeext conftest.$ac_ext
29209 fi
29210 ac_res=`eval echo '${'$as_ac_var'}'`
29211 { echo "$as_me:$LINENO: result: $ac_res" >&5
29212 echo "${ECHO_T}$ac_res" >&6; }
29213 if test `eval echo '${'$as_ac_var'}'` = yes; then
29214 cat >>confdefs.h <<_ACEOF
29215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29216 _ACEOF
29217
29218 fi
29219 done
29220
29221 fi
29222 fi
29223
29224 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29225 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29226
29227 AFMINSTALL=afminstall
29228 TOOLKIT=GTK
29229 GUIDIST=GTK_DIST
29230
29231 if test "$wxUSE_GPE" = "yes"; then
29232 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29233 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29234
29235 ac_find_libraries=
29236 for ac_dir in $SEARCH_LIB;
29237 do
29238 for ac_extension in a so sl dylib dll.a; do
29239 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29240 ac_find_libraries=$ac_dir
29241 break 2
29242 fi
29243 done
29244 done
29245
29246 if test "$ac_find_libraries" != "" ; then
29247
29248 if test "$ac_find_libraries" = "default location"; then
29249 ac_path_to_link=""
29250 else
29251 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29252 result=$?
29253 if test $result = 0; then
29254 ac_path_to_link=""
29255 else
29256 ac_path_to_link=" -L$ac_find_libraries"
29257 fi
29258 fi
29259
29260 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29261 WXGPE=1
29262 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29263 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29264 else
29265 { echo "$as_me:$LINENO: result: not found" >&5
29266 echo "${ECHO_T}not found" >&6; }
29267 fi
29268
29269 fi
29270 fi
29271
29272 if test "$wxUSE_MGL" = 1; then
29273 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29274 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29275 if test "x$MGL_ROOT" = x ; then
29276 { echo "$as_me:$LINENO: result: not found" >&5
29277 echo "${ECHO_T}not found" >&6; }
29278 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29279 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29280 { (exit 1); exit 1; }; }
29281 else
29282 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29283 echo "${ECHO_T}$MGL_ROOT" >&6; }
29284 fi
29285
29286 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29287 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29288 case "${host}" in
29289 *-*-linux* )
29290 if test "x$wxUSE_SHARED" = xyes ; then
29291 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29292 else
29293 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29294 fi
29295 ;;
29296 *-pc-msdosdjgpp )
29297 mgl_os_candidates="dos32/dj2"
29298 ;;
29299 *)
29300 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29301 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29302 { (exit 1); exit 1; }; }
29303 esac
29304
29305 mgl_lib_type=""
29306 mgl_os=""
29307
29308 for mgl_os_i in $mgl_os_candidates ; do
29309 if test "x$mgl_os" = x ; then
29310 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29311 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29312 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29313 mgl_lib_type=debug
29314 mgl_os=$mgl_os_i
29315 fi
29316 fi
29317 if test "x$mgl_lib_type" = x ; then
29318 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29319 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29320 mgl_lib_type=release
29321 mgl_os=$mgl_os_i
29322 fi
29323 fi
29324 fi
29325 done
29326
29327 if test "x$mgl_os" = x ; then
29328 { echo "$as_me:$LINENO: result: not found" >&5
29329 echo "${ECHO_T}not found" >&6; }
29330 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29331 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29332 { (exit 1); exit 1; }; }
29333 fi
29334 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29335 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29336
29337 wxUSE_UNIVERSAL="yes"
29338
29339 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29340 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29341
29342 AFMINSTALL=afminstall
29343 TOOLKIT=MGL
29344 GUIDIST=MGL_DIST
29345 fi
29346
29347 if test "$wxUSE_DFB" = 1; then
29348
29349
29350 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29351 if test -n "$ac_tool_prefix"; then
29352 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29357 echo $ECHO_N "(cached) $ECHO_C" >&6
29358 else
29359 case $PKG_CONFIG in
29360 [\\/]* | ?:[\\/]*)
29361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29362 ;;
29363 *)
29364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29365 for as_dir in $PATH
29366 do
29367 IFS=$as_save_IFS
29368 test -z "$as_dir" && as_dir=.
29369 for ac_exec_ext in '' $ac_executable_extensions; do
29370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29373 break 2
29374 fi
29375 done
29376 done
29377 IFS=$as_save_IFS
29378
29379 ;;
29380 esac
29381 fi
29382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29383 if test -n "$PKG_CONFIG"; then
29384 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29385 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29386 else
29387 { echo "$as_me:$LINENO: result: no" >&5
29388 echo "${ECHO_T}no" >&6; }
29389 fi
29390
29391
29392 fi
29393 if test -z "$ac_cv_path_PKG_CONFIG"; then
29394 ac_pt_PKG_CONFIG=$PKG_CONFIG
29395 # Extract the first word of "pkg-config", so it can be a program name with args.
29396 set dummy pkg-config; ac_word=$2
29397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29399 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 else
29402 case $ac_pt_PKG_CONFIG in
29403 [\\/]* | ?:[\\/]*)
29404 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29405 ;;
29406 *)
29407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29408 for as_dir in $PATH
29409 do
29410 IFS=$as_save_IFS
29411 test -z "$as_dir" && as_dir=.
29412 for ac_exec_ext in '' $ac_executable_extensions; do
29413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29414 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29416 break 2
29417 fi
29418 done
29419 done
29420 IFS=$as_save_IFS
29421
29422 ;;
29423 esac
29424 fi
29425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29426 if test -n "$ac_pt_PKG_CONFIG"; then
29427 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29428 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29429 else
29430 { echo "$as_me:$LINENO: result: no" >&5
29431 echo "${ECHO_T}no" >&6; }
29432 fi
29433
29434 if test "x$ac_pt_PKG_CONFIG" = x; then
29435 PKG_CONFIG=""
29436 else
29437 case $cross_compiling:$ac_tool_warned in
29438 yes:)
29439 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29440 whose name does not start with the host triplet. If you think this
29441 configuration is useful to you, please write to autoconf@gnu.org." >&5
29442 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29443 whose name does not start with the host triplet. If you think this
29444 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29445 ac_tool_warned=yes ;;
29446 esac
29447 PKG_CONFIG=$ac_pt_PKG_CONFIG
29448 fi
29449 else
29450 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29451 fi
29452
29453 fi
29454 if test -n "$PKG_CONFIG"; then
29455 _pkg_min_version=0.9.0
29456 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29457 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29458 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29459 { echo "$as_me:$LINENO: result: yes" >&5
29460 echo "${ECHO_T}yes" >&6; }
29461 else
29462 { echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6; }
29464 PKG_CONFIG=""
29465 fi
29466
29467 fi
29468
29469
29470 pkg_failed=no
29471 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29472 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29473
29474 if test -n "$PKG_CONFIG"; then
29475 if test -n "$DIRECTFB_CFLAGS"; then
29476 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29477 else
29478 if test -n "$PKG_CONFIG" && \
29479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29480 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29481 ac_status=$?
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; then
29484 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29485 else
29486 pkg_failed=yes
29487 fi
29488 fi
29489 else
29490 pkg_failed=untried
29491 fi
29492 if test -n "$PKG_CONFIG"; then
29493 if test -n "$DIRECTFB_LIBS"; then
29494 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29495 else
29496 if test -n "$PKG_CONFIG" && \
29497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29498 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29499 ac_status=$?
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; then
29502 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29503 else
29504 pkg_failed=yes
29505 fi
29506 fi
29507 else
29508 pkg_failed=untried
29509 fi
29510
29511
29512
29513 if test $pkg_failed = yes; then
29514
29515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29516 _pkg_short_errors_supported=yes
29517 else
29518 _pkg_short_errors_supported=no
29519 fi
29520 if test $_pkg_short_errors_supported = yes; then
29521 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29522 else
29523 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29524 fi
29525 # Put the nasty error message in config.log where it belongs
29526 echo "$DIRECTFB_PKG_ERRORS" >&5
29527
29528
29529 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29530 echo "$as_me: error: DirectFB not found." >&2;}
29531 { (exit 1); exit 1; }; }
29532
29533
29534 elif test $pkg_failed = untried; then
29535
29536 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29537 echo "$as_me: error: DirectFB not found." >&2;}
29538 { (exit 1); exit 1; }; }
29539
29540
29541 else
29542 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29543 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29544 { echo "$as_me:$LINENO: result: yes" >&5
29545 echo "${ECHO_T}yes" >&6; }
29546
29547 wxUSE_UNIVERSAL="yes"
29548 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29549 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29550 TOOLKIT=DFB
29551 GUIDIST=DFB_DIST
29552
29553 fi
29554 fi
29555
29556 if test "$wxUSE_MICROWIN" = 1; then
29557 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29558 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29559 if test "x$MICROWINDOWS" = x ; then
29560 { echo "$as_me:$LINENO: result: not found" >&5
29561 echo "${ECHO_T}not found" >&6; }
29562 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29563 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29564 { (exit 1); exit 1; }; }
29565 else
29566 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29567 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29568 fi
29569
29570 if test -f $MICROWINDOWS/lib/libmwin.a; then
29571 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29572 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29573 else
29574 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29575 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29576 { (exit 1); exit 1; }; }
29577 fi
29578
29579 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29580 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29581
29582 wxUSE_UNIVERSAL="yes"
29583
29584 AFMINSTALL=afminstall
29585 TOOLKIT=MICROWIN
29586 GUIDIST=MICROWIN_DIST
29587
29588 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29589 fi
29590
29591 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29592 { echo "$as_me:$LINENO: checking for X" >&5
29593 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29594
29595
29596 # Check whether --with-x was given.
29597 if test "${with_x+set}" = set; then
29598 withval=$with_x;
29599 fi
29600
29601 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29602 if test "x$with_x" = xno; then
29603 # The user explicitly disabled X.
29604 have_x=disabled
29605 else
29606 case $x_includes,$x_libraries in #(
29607 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29608 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29609 { (exit 1); exit 1; }; };; #(
29610 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29611 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 else
29613 # One or both of the vars are not set, and there is no cached value.
29614 ac_x_includes=no ac_x_libraries=no
29615 rm -f -r conftest.dir
29616 if mkdir conftest.dir; then
29617 cd conftest.dir
29618 cat >Imakefile <<'_ACEOF'
29619 incroot:
29620 @echo incroot='${INCROOT}'
29621 usrlibdir:
29622 @echo usrlibdir='${USRLIBDIR}'
29623 libdir:
29624 @echo libdir='${LIBDIR}'
29625 _ACEOF
29626 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29627 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29628 for ac_var in incroot usrlibdir libdir; do
29629 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29630 done
29631 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29632 for ac_extension in a so sl; do
29633 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29634 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29635 ac_im_usrlibdir=$ac_im_libdir; break
29636 fi
29637 done
29638 # Screen out bogus values from the imake configuration. They are
29639 # bogus both because they are the default anyway, and because
29640 # using them would break gcc on systems where it needs fixed includes.
29641 case $ac_im_incroot in
29642 /usr/include) ac_x_includes= ;;
29643 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29644 esac
29645 case $ac_im_usrlibdir in
29646 /usr/lib | /lib) ;;
29647 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29648 esac
29649 fi
29650 cd ..
29651 rm -f -r conftest.dir
29652 fi
29653
29654 # Standard set of common directories for X headers.
29655 # Check X11 before X11Rn because it is often a symlink to the current release.
29656 ac_x_header_dirs='
29657 /usr/X11/include
29658 /usr/X11R6/include
29659 /usr/X11R5/include
29660 /usr/X11R4/include
29661
29662 /usr/include/X11
29663 /usr/include/X11R6
29664 /usr/include/X11R5
29665 /usr/include/X11R4
29666
29667 /usr/local/X11/include
29668 /usr/local/X11R6/include
29669 /usr/local/X11R5/include
29670 /usr/local/X11R4/include
29671
29672 /usr/local/include/X11
29673 /usr/local/include/X11R6
29674 /usr/local/include/X11R5
29675 /usr/local/include/X11R4
29676
29677 /usr/X386/include
29678 /usr/x386/include
29679 /usr/XFree86/include/X11
29680
29681 /usr/include
29682 /usr/local/include
29683 /usr/unsupported/include
29684 /usr/athena/include
29685 /usr/local/x11r5/include
29686 /usr/lpp/Xamples/include
29687
29688 /usr/openwin/include
29689 /usr/openwin/share/include'
29690
29691 if test "$ac_x_includes" = no; then
29692 # Guess where to find include files, by looking for Xlib.h.
29693 # First, try using that file with no special directory specified.
29694 cat >conftest.$ac_ext <<_ACEOF
29695 /* confdefs.h. */
29696 _ACEOF
29697 cat confdefs.h >>conftest.$ac_ext
29698 cat >>conftest.$ac_ext <<_ACEOF
29699 /* end confdefs.h. */
29700 #include <X11/Xlib.h>
29701 _ACEOF
29702 if { (ac_try="$ac_cpp conftest.$ac_ext"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29706 esac
29707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29709 ac_status=$?
29710 grep -v '^ *+' conftest.er1 >conftest.err
29711 rm -f conftest.er1
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } >/dev/null && {
29715 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29717 }; then
29718 # We can compile using X headers with no special include directory.
29719 ac_x_includes=
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29723
29724 for ac_dir in $ac_x_header_dirs; do
29725 if test -r "$ac_dir/X11/Xlib.h"; then
29726 ac_x_includes=$ac_dir
29727 break
29728 fi
29729 done
29730 fi
29731
29732 rm -f conftest.err conftest.$ac_ext
29733 fi # $ac_x_includes = no
29734
29735 if test "$ac_x_libraries" = no; then
29736 # Check for the libraries.
29737 # See if we find them without any special options.
29738 # Don't add to $LIBS permanently.
29739 ac_save_LIBS=$LIBS
29740 LIBS="-lX11 $LIBS"
29741 cat >conftest.$ac_ext <<_ACEOF
29742 /* confdefs.h. */
29743 _ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29747 #include <X11/Xlib.h>
29748 int
29749 main ()
29750 {
29751 XrmInitialize ()
29752 ;
29753 return 0;
29754 }
29755 _ACEOF
29756 rm -f conftest.$ac_objext conftest$ac_exeext
29757 if { (ac_try="$ac_link"
29758 case "(($ac_try" in
29759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29760 *) ac_try_echo=$ac_try;;
29761 esac
29762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29763 (eval "$ac_link") 2>conftest.er1
29764 ac_status=$?
29765 grep -v '^ *+' conftest.er1 >conftest.err
29766 rm -f conftest.er1
29767 cat conftest.err >&5
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); } && {
29770 test -z "$ac_c_werror_flag" ||
29771 test ! -s conftest.err
29772 } && test -s conftest$ac_exeext &&
29773 $as_test_x conftest$ac_exeext; then
29774 LIBS=$ac_save_LIBS
29775 # We can link X programs with no special library path.
29776 ac_x_libraries=
29777 else
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.$ac_ext >&5
29780
29781 LIBS=$ac_save_LIBS
29782 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29783 do
29784 # Don't even attempt the hair of trying to link an X program!
29785 for ac_extension in a so sl; do
29786 if test -r "$ac_dir/libX11.$ac_extension"; then
29787 ac_x_libraries=$ac_dir
29788 break 2
29789 fi
29790 done
29791 done
29792 fi
29793
29794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29795 conftest$ac_exeext conftest.$ac_ext
29796 fi # $ac_x_libraries = no
29797
29798 case $ac_x_includes,$ac_x_libraries in #(
29799 no,* | *,no | *\'*)
29800 # Didn't find X, or a directory has "'" in its name.
29801 ac_cv_have_x="have_x=no";; #(
29802 *)
29803 # Record where we found X for the cache.
29804 ac_cv_have_x="have_x=yes\
29805 ac_x_includes='$ac_x_includes'\
29806 ac_x_libraries='$ac_x_libraries'"
29807 esac
29808 fi
29809 ;; #(
29810 *) have_x=yes;;
29811 esac
29812 eval "$ac_cv_have_x"
29813 fi # $with_x != no
29814
29815 if test "$have_x" != yes; then
29816 { echo "$as_me:$LINENO: result: $have_x" >&5
29817 echo "${ECHO_T}$have_x" >&6; }
29818 no_x=yes
29819 else
29820 # If each of the values was on the command line, it overrides each guess.
29821 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29822 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29823 # Update the cache value to reflect the command line values.
29824 ac_cv_have_x="have_x=yes\
29825 ac_x_includes='$x_includes'\
29826 ac_x_libraries='$x_libraries'"
29827 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29828 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29829 fi
29830
29831 if test "$no_x" = yes; then
29832 # Not all programs may use this symbol, but it does not hurt to define it.
29833
29834 cat >>confdefs.h <<\_ACEOF
29835 #define X_DISPLAY_MISSING 1
29836 _ACEOF
29837
29838 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29839 else
29840 if test -n "$x_includes"; then
29841 X_CFLAGS="$X_CFLAGS -I$x_includes"
29842 fi
29843
29844 # It would also be nice to do this for all -L options, not just this one.
29845 if test -n "$x_libraries"; then
29846 X_LIBS="$X_LIBS -L$x_libraries"
29847 # For Solaris; some versions of Sun CC require a space after -R and
29848 # others require no space. Words are not sufficient . . . .
29849 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29850 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29851 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29852 ac_xsave_c_werror_flag=$ac_c_werror_flag
29853 ac_c_werror_flag=yes
29854 cat >conftest.$ac_ext <<_ACEOF
29855 /* confdefs.h. */
29856 _ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860
29861 int
29862 main ()
29863 {
29864
29865 ;
29866 return 0;
29867 }
29868 _ACEOF
29869 rm -f conftest.$ac_objext conftest$ac_exeext
29870 if { (ac_try="$ac_link"
29871 case "(($ac_try" in
29872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29873 *) ac_try_echo=$ac_try;;
29874 esac
29875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29876 (eval "$ac_link") 2>conftest.er1
29877 ac_status=$?
29878 grep -v '^ *+' conftest.er1 >conftest.err
29879 rm -f conftest.er1
29880 cat conftest.err >&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } && {
29883 test -z "$ac_c_werror_flag" ||
29884 test ! -s conftest.err
29885 } && test -s conftest$ac_exeext &&
29886 $as_test_x conftest$ac_exeext; then
29887 { echo "$as_me:$LINENO: result: no" >&5
29888 echo "${ECHO_T}no" >&6; }
29889 X_LIBS="$X_LIBS -R$x_libraries"
29890 else
29891 echo "$as_me: failed program was:" >&5
29892 sed 's/^/| /' conftest.$ac_ext >&5
29893
29894 LIBS="$ac_xsave_LIBS -R $x_libraries"
29895 cat >conftest.$ac_ext <<_ACEOF
29896 /* confdefs.h. */
29897 _ACEOF
29898 cat confdefs.h >>conftest.$ac_ext
29899 cat >>conftest.$ac_ext <<_ACEOF
29900 /* end confdefs.h. */
29901
29902 int
29903 main ()
29904 {
29905
29906 ;
29907 return 0;
29908 }
29909 _ACEOF
29910 rm -f conftest.$ac_objext conftest$ac_exeext
29911 if { (ac_try="$ac_link"
29912 case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29915 esac
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_link") 2>conftest.er1
29918 ac_status=$?
29919 grep -v '^ *+' conftest.er1 >conftest.err
29920 rm -f conftest.er1
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest$ac_exeext &&
29927 $as_test_x conftest$ac_exeext; then
29928 { echo "$as_me:$LINENO: result: yes" >&5
29929 echo "${ECHO_T}yes" >&6; }
29930 X_LIBS="$X_LIBS -R $x_libraries"
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29934
29935 { echo "$as_me:$LINENO: result: neither works" >&5
29936 echo "${ECHO_T}neither works" >&6; }
29937 fi
29938
29939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29940 conftest$ac_exeext conftest.$ac_ext
29941 fi
29942
29943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29944 conftest$ac_exeext conftest.$ac_ext
29945 ac_c_werror_flag=$ac_xsave_c_werror_flag
29946 LIBS=$ac_xsave_LIBS
29947 fi
29948
29949 # Check for system-dependent libraries X programs must link with.
29950 # Do this before checking for the system-independent R6 libraries
29951 # (-lICE), since we may need -lsocket or whatever for X linking.
29952
29953 if test "$ISC" = yes; then
29954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29955 else
29956 # Martyn Johnson says this is needed for Ultrix, if the X
29957 # libraries were built with DECnet support. And Karl Berry says
29958 # the Alpha needs dnet_stub (dnet does not exist).
29959 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29960 cat >conftest.$ac_ext <<_ACEOF
29961 /* confdefs.h. */
29962 _ACEOF
29963 cat confdefs.h >>conftest.$ac_ext
29964 cat >>conftest.$ac_ext <<_ACEOF
29965 /* end confdefs.h. */
29966
29967 /* Override any GCC internal prototype to avoid an error.
29968 Use char because int might match the return type of a GCC
29969 builtin and then its argument prototype would still apply. */
29970 #ifdef __cplusplus
29971 extern "C"
29972 #endif
29973 char XOpenDisplay ();
29974 int
29975 main ()
29976 {
29977 return XOpenDisplay ();
29978 ;
29979 return 0;
29980 }
29981 _ACEOF
29982 rm -f conftest.$ac_objext conftest$ac_exeext
29983 if { (ac_try="$ac_link"
29984 case "(($ac_try" in
29985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29986 *) ac_try_echo=$ac_try;;
29987 esac
29988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29989 (eval "$ac_link") 2>conftest.er1
29990 ac_status=$?
29991 grep -v '^ *+' conftest.er1 >conftest.err
29992 rm -f conftest.er1
29993 cat conftest.err >&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); } && {
29996 test -z "$ac_c_werror_flag" ||
29997 test ! -s conftest.err
29998 } && test -s conftest$ac_exeext &&
29999 $as_test_x conftest$ac_exeext; then
30000 :
30001 else
30002 echo "$as_me: failed program was:" >&5
30003 sed 's/^/| /' conftest.$ac_ext >&5
30004
30005 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30006 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30007 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 else
30010 ac_check_lib_save_LIBS=$LIBS
30011 LIBS="-ldnet $LIBS"
30012 cat >conftest.$ac_ext <<_ACEOF
30013 /* confdefs.h. */
30014 _ACEOF
30015 cat confdefs.h >>conftest.$ac_ext
30016 cat >>conftest.$ac_ext <<_ACEOF
30017 /* end confdefs.h. */
30018
30019 /* Override any GCC internal prototype to avoid an error.
30020 Use char because int might match the return type of a GCC
30021 builtin and then its argument prototype would still apply. */
30022 #ifdef __cplusplus
30023 extern "C"
30024 #endif
30025 char dnet_ntoa ();
30026 int
30027 main ()
30028 {
30029 return dnet_ntoa ();
30030 ;
30031 return 0;
30032 }
30033 _ACEOF
30034 rm -f conftest.$ac_objext conftest$ac_exeext
30035 if { (ac_try="$ac_link"
30036 case "(($ac_try" in
30037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30038 *) ac_try_echo=$ac_try;;
30039 esac
30040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30041 (eval "$ac_link") 2>conftest.er1
30042 ac_status=$?
30043 grep -v '^ *+' conftest.er1 >conftest.err
30044 rm -f conftest.er1
30045 cat conftest.err >&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); } && {
30048 test -z "$ac_c_werror_flag" ||
30049 test ! -s conftest.err
30050 } && test -s conftest$ac_exeext &&
30051 $as_test_x conftest$ac_exeext; then
30052 ac_cv_lib_dnet_dnet_ntoa=yes
30053 else
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30056
30057 ac_cv_lib_dnet_dnet_ntoa=no
30058 fi
30059
30060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30061 conftest$ac_exeext conftest.$ac_ext
30062 LIBS=$ac_check_lib_save_LIBS
30063 fi
30064 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30065 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30066 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30067 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30068 fi
30069
30070 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30071 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30072 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30073 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30074 echo $ECHO_N "(cached) $ECHO_C" >&6
30075 else
30076 ac_check_lib_save_LIBS=$LIBS
30077 LIBS="-ldnet_stub $LIBS"
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084
30085 /* Override any GCC internal prototype to avoid an error.
30086 Use char because int might match the return type of a GCC
30087 builtin and then its argument prototype would still apply. */
30088 #ifdef __cplusplus
30089 extern "C"
30090 #endif
30091 char dnet_ntoa ();
30092 int
30093 main ()
30094 {
30095 return dnet_ntoa ();
30096 ;
30097 return 0;
30098 }
30099 _ACEOF
30100 rm -f conftest.$ac_objext conftest$ac_exeext
30101 if { (ac_try="$ac_link"
30102 case "(($ac_try" in
30103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30104 *) ac_try_echo=$ac_try;;
30105 esac
30106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30107 (eval "$ac_link") 2>conftest.er1
30108 ac_status=$?
30109 grep -v '^ *+' conftest.er1 >conftest.err
30110 rm -f conftest.er1
30111 cat conftest.err >&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } && {
30114 test -z "$ac_c_werror_flag" ||
30115 test ! -s conftest.err
30116 } && test -s conftest$ac_exeext &&
30117 $as_test_x conftest$ac_exeext; then
30118 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30119 else
30120 echo "$as_me: failed program was:" >&5
30121 sed 's/^/| /' conftest.$ac_ext >&5
30122
30123 ac_cv_lib_dnet_stub_dnet_ntoa=no
30124 fi
30125
30126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30127 conftest$ac_exeext conftest.$ac_ext
30128 LIBS=$ac_check_lib_save_LIBS
30129 fi
30130 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30131 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30132 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30133 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30134 fi
30135
30136 fi
30137 fi
30138
30139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30140 conftest$ac_exeext conftest.$ac_ext
30141 LIBS="$ac_xsave_LIBS"
30142
30143 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30144 # to get the SysV transport functions.
30145 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30146 # needs -lnsl.
30147 # The nsl library prevents programs from opening the X display
30148 # on Irix 5.2, according to T.E. Dickey.
30149 # The functions gethostbyname, getservbyname, and inet_addr are
30150 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30151 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30152 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30153 if test "${ac_cv_func_gethostbyname+set}" = set; then
30154 echo $ECHO_N "(cached) $ECHO_C" >&6
30155 else
30156 cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h. */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30164 #define gethostbyname innocuous_gethostbyname
30165
30166 /* System header to define __stub macros and hopefully few prototypes,
30167 which can conflict with char gethostbyname (); below.
30168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30169 <limits.h> exists even on freestanding compilers. */
30170
30171 #ifdef __STDC__
30172 # include <limits.h>
30173 #else
30174 # include <assert.h>
30175 #endif
30176
30177 #undef gethostbyname
30178
30179 /* Override any GCC internal prototype to avoid an error.
30180 Use char because int might match the return type of a GCC
30181 builtin and then its argument prototype would still apply. */
30182 #ifdef __cplusplus
30183 extern "C"
30184 #endif
30185 char gethostbyname ();
30186 /* The GNU C library defines this for functions which it implements
30187 to always fail with ENOSYS. Some functions are actually named
30188 something starting with __ and the normal name is an alias. */
30189 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30190 choke me
30191 #endif
30192
30193 int
30194 main ()
30195 {
30196 return gethostbyname ();
30197 ;
30198 return 0;
30199 }
30200 _ACEOF
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (ac_try="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30205 *) ac_try_echo=$ac_try;;
30206 esac
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30209 ac_status=$?
30210 grep -v '^ *+' conftest.er1 >conftest.err
30211 rm -f conftest.er1
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest$ac_exeext &&
30218 $as_test_x conftest$ac_exeext; then
30219 ac_cv_func_gethostbyname=yes
30220 else
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30223
30224 ac_cv_func_gethostbyname=no
30225 fi
30226
30227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30228 conftest$ac_exeext conftest.$ac_ext
30229 fi
30230 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30231 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30232
30233 if test $ac_cv_func_gethostbyname = no; then
30234 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30235 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30236 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30237 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 else
30239 ac_check_lib_save_LIBS=$LIBS
30240 LIBS="-lnsl $LIBS"
30241 cat >conftest.$ac_ext <<_ACEOF
30242 /* confdefs.h. */
30243 _ACEOF
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30247
30248 /* Override any GCC internal prototype to avoid an error.
30249 Use char because int might match the return type of a GCC
30250 builtin and then its argument prototype would still apply. */
30251 #ifdef __cplusplus
30252 extern "C"
30253 #endif
30254 char gethostbyname ();
30255 int
30256 main ()
30257 {
30258 return gethostbyname ();
30259 ;
30260 return 0;
30261 }
30262 _ACEOF
30263 rm -f conftest.$ac_objext conftest$ac_exeext
30264 if { (ac_try="$ac_link"
30265 case "(($ac_try" in
30266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30267 *) ac_try_echo=$ac_try;;
30268 esac
30269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30270 (eval "$ac_link") 2>conftest.er1
30271 ac_status=$?
30272 grep -v '^ *+' conftest.er1 >conftest.err
30273 rm -f conftest.er1
30274 cat conftest.err >&5
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); } && {
30277 test -z "$ac_c_werror_flag" ||
30278 test ! -s conftest.err
30279 } && test -s conftest$ac_exeext &&
30280 $as_test_x conftest$ac_exeext; then
30281 ac_cv_lib_nsl_gethostbyname=yes
30282 else
30283 echo "$as_me: failed program was:" >&5
30284 sed 's/^/| /' conftest.$ac_ext >&5
30285
30286 ac_cv_lib_nsl_gethostbyname=no
30287 fi
30288
30289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30290 conftest$ac_exeext conftest.$ac_ext
30291 LIBS=$ac_check_lib_save_LIBS
30292 fi
30293 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30294 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30295 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30296 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30297 fi
30298
30299 if test $ac_cv_lib_nsl_gethostbyname = no; then
30300 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30301 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30302 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305 ac_check_lib_save_LIBS=$LIBS
30306 LIBS="-lbsd $LIBS"
30307 cat >conftest.$ac_ext <<_ACEOF
30308 /* confdefs.h. */
30309 _ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30313
30314 /* Override any GCC internal prototype to avoid an error.
30315 Use char because int might match the return type of a GCC
30316 builtin and then its argument prototype would still apply. */
30317 #ifdef __cplusplus
30318 extern "C"
30319 #endif
30320 char gethostbyname ();
30321 int
30322 main ()
30323 {
30324 return gethostbyname ();
30325 ;
30326 return 0;
30327 }
30328 _ACEOF
30329 rm -f conftest.$ac_objext conftest$ac_exeext
30330 if { (ac_try="$ac_link"
30331 case "(($ac_try" in
30332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30333 *) ac_try_echo=$ac_try;;
30334 esac
30335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30336 (eval "$ac_link") 2>conftest.er1
30337 ac_status=$?
30338 grep -v '^ *+' conftest.er1 >conftest.err
30339 rm -f conftest.er1
30340 cat conftest.err >&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); } && {
30343 test -z "$ac_c_werror_flag" ||
30344 test ! -s conftest.err
30345 } && test -s conftest$ac_exeext &&
30346 $as_test_x conftest$ac_exeext; then
30347 ac_cv_lib_bsd_gethostbyname=yes
30348 else
30349 echo "$as_me: failed program was:" >&5
30350 sed 's/^/| /' conftest.$ac_ext >&5
30351
30352 ac_cv_lib_bsd_gethostbyname=no
30353 fi
30354
30355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30356 conftest$ac_exeext conftest.$ac_ext
30357 LIBS=$ac_check_lib_save_LIBS
30358 fi
30359 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30360 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30361 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30362 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30363 fi
30364
30365 fi
30366 fi
30367
30368 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30369 # socket/setsockopt and other routines are undefined under SCO ODT
30370 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30371 # on later versions), says Simon Leinen: it contains gethostby*
30372 # variants that don't use the name server (or something). -lsocket
30373 # must be given before -lnsl if both are needed. We assume that
30374 # if connect needs -lnsl, so does gethostbyname.
30375 { echo "$as_me:$LINENO: checking for connect" >&5
30376 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30377 if test "${ac_cv_func_connect+set}" = set; then
30378 echo $ECHO_N "(cached) $ECHO_C" >&6
30379 else
30380 cat >conftest.$ac_ext <<_ACEOF
30381 /* confdefs.h. */
30382 _ACEOF
30383 cat confdefs.h >>conftest.$ac_ext
30384 cat >>conftest.$ac_ext <<_ACEOF
30385 /* end confdefs.h. */
30386 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30388 #define connect innocuous_connect
30389
30390 /* System header to define __stub macros and hopefully few prototypes,
30391 which can conflict with char connect (); below.
30392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30393 <limits.h> exists even on freestanding compilers. */
30394
30395 #ifdef __STDC__
30396 # include <limits.h>
30397 #else
30398 # include <assert.h>
30399 #endif
30400
30401 #undef connect
30402
30403 /* Override any GCC internal prototype to avoid an error.
30404 Use char because int might match the return type of a GCC
30405 builtin and then its argument prototype would still apply. */
30406 #ifdef __cplusplus
30407 extern "C"
30408 #endif
30409 char connect ();
30410 /* The GNU C library defines this for functions which it implements
30411 to always fail with ENOSYS. Some functions are actually named
30412 something starting with __ and the normal name is an alias. */
30413 #if defined __stub_connect || defined __stub___connect
30414 choke me
30415 #endif
30416
30417 int
30418 main ()
30419 {
30420 return connect ();
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (ac_try="$ac_link"
30427 case "(($ac_try" in
30428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30429 *) ac_try_echo=$ac_try;;
30430 esac
30431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30432 (eval "$ac_link") 2>conftest.er1
30433 ac_status=$?
30434 grep -v '^ *+' conftest.er1 >conftest.err
30435 rm -f conftest.er1
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } && {
30439 test -z "$ac_c_werror_flag" ||
30440 test ! -s conftest.err
30441 } && test -s conftest$ac_exeext &&
30442 $as_test_x conftest$ac_exeext; then
30443 ac_cv_func_connect=yes
30444 else
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30447
30448 ac_cv_func_connect=no
30449 fi
30450
30451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30452 conftest$ac_exeext conftest.$ac_ext
30453 fi
30454 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30455 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30456
30457 if test $ac_cv_func_connect = no; then
30458 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30459 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_socket_connect+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 ac_check_lib_save_LIBS=$LIBS
30464 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30465 cat >conftest.$ac_ext <<_ACEOF
30466 /* confdefs.h. */
30467 _ACEOF
30468 cat confdefs.h >>conftest.$ac_ext
30469 cat >>conftest.$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30471
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 char connect ();
30479 int
30480 main ()
30481 {
30482 return connect ();
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (ac_try="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30492 esac
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_socket_connect=yes
30506 else
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30509
30510 ac_cv_lib_socket_connect=no
30511 fi
30512
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30516 fi
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30518 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30519 if test $ac_cv_lib_socket_connect = yes; then
30520 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30521 fi
30522
30523 fi
30524
30525 # Guillermo Gomez says -lposix is necessary on A/UX.
30526 { echo "$as_me:$LINENO: checking for remove" >&5
30527 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30528 if test "${ac_cv_func_remove+set}" = set; then
30529 echo $ECHO_N "(cached) $ECHO_C" >&6
30530 else
30531 cat >conftest.$ac_ext <<_ACEOF
30532 /* confdefs.h. */
30533 _ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30539 #define remove innocuous_remove
30540
30541 /* System header to define __stub macros and hopefully few prototypes,
30542 which can conflict with char remove (); below.
30543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30544 <limits.h> exists even on freestanding compilers. */
30545
30546 #ifdef __STDC__
30547 # include <limits.h>
30548 #else
30549 # include <assert.h>
30550 #endif
30551
30552 #undef remove
30553
30554 /* Override any GCC internal prototype to avoid an error.
30555 Use char because int might match the return type of a GCC
30556 builtin and then its argument prototype would still apply. */
30557 #ifdef __cplusplus
30558 extern "C"
30559 #endif
30560 char remove ();
30561 /* The GNU C library defines this for functions which it implements
30562 to always fail with ENOSYS. Some functions are actually named
30563 something starting with __ and the normal name is an alias. */
30564 #if defined __stub_remove || defined __stub___remove
30565 choke me
30566 #endif
30567
30568 int
30569 main ()
30570 {
30571 return remove ();
30572 ;
30573 return 0;
30574 }
30575 _ACEOF
30576 rm -f conftest.$ac_objext conftest$ac_exeext
30577 if { (ac_try="$ac_link"
30578 case "(($ac_try" in
30579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30580 *) ac_try_echo=$ac_try;;
30581 esac
30582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30583 (eval "$ac_link") 2>conftest.er1
30584 ac_status=$?
30585 grep -v '^ *+' conftest.er1 >conftest.err
30586 rm -f conftest.er1
30587 cat conftest.err >&5
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); } && {
30590 test -z "$ac_c_werror_flag" ||
30591 test ! -s conftest.err
30592 } && test -s conftest$ac_exeext &&
30593 $as_test_x conftest$ac_exeext; then
30594 ac_cv_func_remove=yes
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30598
30599 ac_cv_func_remove=no
30600 fi
30601
30602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30603 conftest$ac_exeext conftest.$ac_ext
30604 fi
30605 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30606 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30607
30608 if test $ac_cv_func_remove = no; then
30609 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30610 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30611 if test "${ac_cv_lib_posix_remove+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614 ac_check_lib_save_LIBS=$LIBS
30615 LIBS="-lposix $LIBS"
30616 cat >conftest.$ac_ext <<_ACEOF
30617 /* confdefs.h. */
30618 _ACEOF
30619 cat confdefs.h >>conftest.$ac_ext
30620 cat >>conftest.$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30622
30623 /* Override any GCC internal prototype to avoid an error.
30624 Use char because int might match the return type of a GCC
30625 builtin and then its argument prototype would still apply. */
30626 #ifdef __cplusplus
30627 extern "C"
30628 #endif
30629 char remove ();
30630 int
30631 main ()
30632 {
30633 return remove ();
30634 ;
30635 return 0;
30636 }
30637 _ACEOF
30638 rm -f conftest.$ac_objext conftest$ac_exeext
30639 if { (ac_try="$ac_link"
30640 case "(($ac_try" in
30641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30642 *) ac_try_echo=$ac_try;;
30643 esac
30644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30645 (eval "$ac_link") 2>conftest.er1
30646 ac_status=$?
30647 grep -v '^ *+' conftest.er1 >conftest.err
30648 rm -f conftest.er1
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } && {
30652 test -z "$ac_c_werror_flag" ||
30653 test ! -s conftest.err
30654 } && test -s conftest$ac_exeext &&
30655 $as_test_x conftest$ac_exeext; then
30656 ac_cv_lib_posix_remove=yes
30657 else
30658 echo "$as_me: failed program was:" >&5
30659 sed 's/^/| /' conftest.$ac_ext >&5
30660
30661 ac_cv_lib_posix_remove=no
30662 fi
30663
30664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30665 conftest$ac_exeext conftest.$ac_ext
30666 LIBS=$ac_check_lib_save_LIBS
30667 fi
30668 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30669 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30670 if test $ac_cv_lib_posix_remove = yes; then
30671 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30672 fi
30673
30674 fi
30675
30676 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30677 { echo "$as_me:$LINENO: checking for shmat" >&5
30678 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30679 if test "${ac_cv_func_shmat+set}" = set; then
30680 echo $ECHO_N "(cached) $ECHO_C" >&6
30681 else
30682 cat >conftest.$ac_ext <<_ACEOF
30683 /* confdefs.h. */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30690 #define shmat innocuous_shmat
30691
30692 /* System header to define __stub macros and hopefully few prototypes,
30693 which can conflict with char shmat (); below.
30694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30695 <limits.h> exists even on freestanding compilers. */
30696
30697 #ifdef __STDC__
30698 # include <limits.h>
30699 #else
30700 # include <assert.h>
30701 #endif
30702
30703 #undef shmat
30704
30705 /* Override any GCC internal prototype to avoid an error.
30706 Use char because int might match the return type of a GCC
30707 builtin and then its argument prototype would still apply. */
30708 #ifdef __cplusplus
30709 extern "C"
30710 #endif
30711 char shmat ();
30712 /* The GNU C library defines this for functions which it implements
30713 to always fail with ENOSYS. Some functions are actually named
30714 something starting with __ and the normal name is an alias. */
30715 #if defined __stub_shmat || defined __stub___shmat
30716 choke me
30717 #endif
30718
30719 int
30720 main ()
30721 {
30722 return shmat ();
30723 ;
30724 return 0;
30725 }
30726 _ACEOF
30727 rm -f conftest.$ac_objext conftest$ac_exeext
30728 if { (ac_try="$ac_link"
30729 case "(($ac_try" in
30730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30732 esac
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_link") 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest$ac_exeext &&
30744 $as_test_x conftest$ac_exeext; then
30745 ac_cv_func_shmat=yes
30746 else
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30749
30750 ac_cv_func_shmat=no
30751 fi
30752
30753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30754 conftest$ac_exeext conftest.$ac_ext
30755 fi
30756 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30757 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30758
30759 if test $ac_cv_func_shmat = no; then
30760 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30761 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30762 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30763 echo $ECHO_N "(cached) $ECHO_C" >&6
30764 else
30765 ac_check_lib_save_LIBS=$LIBS
30766 LIBS="-lipc $LIBS"
30767 cat >conftest.$ac_ext <<_ACEOF
30768 /* confdefs.h. */
30769 _ACEOF
30770 cat confdefs.h >>conftest.$ac_ext
30771 cat >>conftest.$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773
30774 /* Override any GCC internal prototype to avoid an error.
30775 Use char because int might match the return type of a GCC
30776 builtin and then its argument prototype would still apply. */
30777 #ifdef __cplusplus
30778 extern "C"
30779 #endif
30780 char shmat ();
30781 int
30782 main ()
30783 {
30784 return shmat ();
30785 ;
30786 return 0;
30787 }
30788 _ACEOF
30789 rm -f conftest.$ac_objext conftest$ac_exeext
30790 if { (ac_try="$ac_link"
30791 case "(($ac_try" in
30792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30794 esac
30795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_link") 2>conftest.er1
30797 ac_status=$?
30798 grep -v '^ *+' conftest.er1 >conftest.err
30799 rm -f conftest.er1
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } && {
30803 test -z "$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30805 } && test -s conftest$ac_exeext &&
30806 $as_test_x conftest$ac_exeext; then
30807 ac_cv_lib_ipc_shmat=yes
30808 else
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 ac_cv_lib_ipc_shmat=no
30813 fi
30814
30815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30816 conftest$ac_exeext conftest.$ac_ext
30817 LIBS=$ac_check_lib_save_LIBS
30818 fi
30819 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30820 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30821 if test $ac_cv_lib_ipc_shmat = yes; then
30822 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30823 fi
30824
30825 fi
30826 fi
30827
30828 # Check for libraries that X11R6 Xt/Xaw programs need.
30829 ac_save_LDFLAGS=$LDFLAGS
30830 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30831 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30832 # check for ICE first), but we must link in the order -lSM -lICE or
30833 # we get undefined symbols. So assume we have SM if we have ICE.
30834 # These have to be linked with before -lX11, unlike the other
30835 # libraries we check for below, so use a different variable.
30836 # John Interrante, Karl Berry
30837 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30838 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30839 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30841 else
30842 ac_check_lib_save_LIBS=$LIBS
30843 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30844 cat >conftest.$ac_ext <<_ACEOF
30845 /* confdefs.h. */
30846 _ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30850
30851 /* Override any GCC internal prototype to avoid an error.
30852 Use char because int might match the return type of a GCC
30853 builtin and then its argument prototype would still apply. */
30854 #ifdef __cplusplus
30855 extern "C"
30856 #endif
30857 char IceConnectionNumber ();
30858 int
30859 main ()
30860 {
30861 return IceConnectionNumber ();
30862 ;
30863 return 0;
30864 }
30865 _ACEOF
30866 rm -f conftest.$ac_objext conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30871 esac
30872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>conftest.er1
30874 ac_status=$?
30875 grep -v '^ *+' conftest.er1 >conftest.err
30876 rm -f conftest.er1
30877 cat conftest.err >&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } && {
30880 test -z "$ac_c_werror_flag" ||
30881 test ! -s conftest.err
30882 } && test -s conftest$ac_exeext &&
30883 $as_test_x conftest$ac_exeext; then
30884 ac_cv_lib_ICE_IceConnectionNumber=yes
30885 else
30886 echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.$ac_ext >&5
30888
30889 ac_cv_lib_ICE_IceConnectionNumber=no
30890 fi
30891
30892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30893 conftest$ac_exeext conftest.$ac_ext
30894 LIBS=$ac_check_lib_save_LIBS
30895 fi
30896 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30897 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30898 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30899 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30900 fi
30901
30902 LDFLAGS=$ac_save_LDFLAGS
30903
30904 fi
30905
30906
30907 if test "$no_x" = "yes"; then
30908 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30909 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30910 { (exit 1); exit 1; }; }
30911 fi
30912
30913 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30914 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30915 AFMINSTALL=afminstall
30916 COMPILED_X_PROGRAM=0
30917
30918 fi
30919
30920 if test "$wxUSE_X11" = 1; then
30921 if test "$wxUSE_NANOX" = "yes"; then
30922 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30923 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30924 if test "x$MICROWIN" = x ; then
30925 { echo "$as_me:$LINENO: result: not found" >&5
30926 echo "${ECHO_T}not found" >&6; }
30927 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30928 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30929 { (exit 1); exit 1; }; }
30930 else
30931 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30932 echo "${ECHO_T}$MICROWIN" >&6; }
30933 cat >>confdefs.h <<\_ACEOF
30934 #define wxUSE_NANOX 1
30935 _ACEOF
30936
30937 fi
30938 fi
30939
30940 if test "$wxUSE_UNICODE" = "yes"; then
30941
30942
30943 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30944 if test -n "$ac_tool_prefix"; then
30945 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30946 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30949 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 else
30952 case $PKG_CONFIG in
30953 [\\/]* | ?:[\\/]*)
30954 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30955 ;;
30956 *)
30957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30958 for as_dir in $PATH
30959 do
30960 IFS=$as_save_IFS
30961 test -z "$as_dir" && as_dir=.
30962 for ac_exec_ext in '' $ac_executable_extensions; do
30963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30964 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30966 break 2
30967 fi
30968 done
30969 done
30970 IFS=$as_save_IFS
30971
30972 ;;
30973 esac
30974 fi
30975 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30976 if test -n "$PKG_CONFIG"; then
30977 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30978 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30979 else
30980 { echo "$as_me:$LINENO: result: no" >&5
30981 echo "${ECHO_T}no" >&6; }
30982 fi
30983
30984
30985 fi
30986 if test -z "$ac_cv_path_PKG_CONFIG"; then
30987 ac_pt_PKG_CONFIG=$PKG_CONFIG
30988 # Extract the first word of "pkg-config", so it can be a program name with args.
30989 set dummy pkg-config; ac_word=$2
30990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30992 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30993 echo $ECHO_N "(cached) $ECHO_C" >&6
30994 else
30995 case $ac_pt_PKG_CONFIG in
30996 [\\/]* | ?:[\\/]*)
30997 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30998 ;;
30999 *)
31000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31001 for as_dir in $PATH
31002 do
31003 IFS=$as_save_IFS
31004 test -z "$as_dir" && as_dir=.
31005 for ac_exec_ext in '' $ac_executable_extensions; do
31006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31007 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31009 break 2
31010 fi
31011 done
31012 done
31013 IFS=$as_save_IFS
31014
31015 ;;
31016 esac
31017 fi
31018 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31019 if test -n "$ac_pt_PKG_CONFIG"; then
31020 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31021 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31022 else
31023 { echo "$as_me:$LINENO: result: no" >&5
31024 echo "${ECHO_T}no" >&6; }
31025 fi
31026
31027 if test "x$ac_pt_PKG_CONFIG" = x; then
31028 PKG_CONFIG=""
31029 else
31030 case $cross_compiling:$ac_tool_warned in
31031 yes:)
31032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31033 whose name does not start with the host triplet. If you think this
31034 configuration is useful to you, please write to autoconf@gnu.org." >&5
31035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31036 whose name does not start with the host triplet. If you think this
31037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31038 ac_tool_warned=yes ;;
31039 esac
31040 PKG_CONFIG=$ac_pt_PKG_CONFIG
31041 fi
31042 else
31043 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31044 fi
31045
31046 fi
31047 if test -n "$PKG_CONFIG"; then
31048 _pkg_min_version=0.9.0
31049 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31050 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31051 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31052 { echo "$as_me:$LINENO: result: yes" >&5
31053 echo "${ECHO_T}yes" >&6; }
31054 else
31055 { echo "$as_me:$LINENO: result: no" >&5
31056 echo "${ECHO_T}no" >&6; }
31057 PKG_CONFIG=""
31058 fi
31059
31060 fi
31061
31062
31063 pkg_failed=no
31064 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31065 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31066
31067 if test -n "$PKG_CONFIG"; then
31068 if test -n "$PANGOX_CFLAGS"; then
31069 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31070 else
31071 if test -n "$PKG_CONFIG" && \
31072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31073 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31074 ac_status=$?
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); }; then
31077 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31078 else
31079 pkg_failed=yes
31080 fi
31081 fi
31082 else
31083 pkg_failed=untried
31084 fi
31085 if test -n "$PKG_CONFIG"; then
31086 if test -n "$PANGOX_LIBS"; then
31087 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31088 else
31089 if test -n "$PKG_CONFIG" && \
31090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31091 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31092 ac_status=$?
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); }; then
31095 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31096 else
31097 pkg_failed=yes
31098 fi
31099 fi
31100 else
31101 pkg_failed=untried
31102 fi
31103
31104
31105
31106 if test $pkg_failed = yes; then
31107
31108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31109 _pkg_short_errors_supported=yes
31110 else
31111 _pkg_short_errors_supported=no
31112 fi
31113 if test $_pkg_short_errors_supported = yes; then
31114 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31115 else
31116 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31117 fi
31118 # Put the nasty error message in config.log where it belongs
31119 echo "$PANGOX_PKG_ERRORS" >&5
31120
31121
31122 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31123 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31124 { (exit 1); exit 1; }; }
31125
31126
31127 elif test $pkg_failed = untried; then
31128
31129 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31130 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31131 { (exit 1); exit 1; }; }
31132
31133
31134 else
31135 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31136 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31137 { echo "$as_me:$LINENO: result: yes" >&5
31138 echo "${ECHO_T}yes" >&6; }
31139
31140 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31141 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31142 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31143
31144 fi
31145
31146 pkg_failed=no
31147 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31148 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31149
31150 if test -n "$PKG_CONFIG"; then
31151 if test -n "$PANGOFT2_CFLAGS"; then
31152 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31153 else
31154 if test -n "$PKG_CONFIG" && \
31155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31156 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31157 ac_status=$?
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; then
31160 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31161 else
31162 pkg_failed=yes
31163 fi
31164 fi
31165 else
31166 pkg_failed=untried
31167 fi
31168 if test -n "$PKG_CONFIG"; then
31169 if test -n "$PANGOFT2_LIBS"; then
31170 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31171 else
31172 if test -n "$PKG_CONFIG" && \
31173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31174 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; then
31178 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31179 else
31180 pkg_failed=yes
31181 fi
31182 fi
31183 else
31184 pkg_failed=untried
31185 fi
31186
31187
31188
31189 if test $pkg_failed = yes; then
31190
31191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31192 _pkg_short_errors_supported=yes
31193 else
31194 _pkg_short_errors_supported=no
31195 fi
31196 if test $_pkg_short_errors_supported = yes; then
31197 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31198 else
31199 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31200 fi
31201 # Put the nasty error message in config.log where it belongs
31202 echo "$PANGOFT2_PKG_ERRORS" >&5
31203
31204
31205 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31206 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31207 wxUSE_PRINTING_ARCHITECTURE="no"
31208
31209
31210 elif test $pkg_failed = untried; then
31211
31212 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31213 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31214 wxUSE_PRINTING_ARCHITECTURE="no"
31215
31216
31217 else
31218 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31219 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31220 { echo "$as_me:$LINENO: result: yes" >&5
31221 echo "${ECHO_T}yes" >&6; }
31222
31223 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31224 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31225 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31226
31227 fi
31228
31229 pkg_failed=no
31230 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31231 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31232
31233 if test -n "$PKG_CONFIG"; then
31234 if test -n "$PANGOXFT_CFLAGS"; then
31235 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31236 else
31237 if test -n "$PKG_CONFIG" && \
31238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31239 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; then
31243 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31244 else
31245 pkg_failed=yes
31246 fi
31247 fi
31248 else
31249 pkg_failed=untried
31250 fi
31251 if test -n "$PKG_CONFIG"; then
31252 if test -n "$PANGOXFT_LIBS"; then
31253 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31254 else
31255 if test -n "$PKG_CONFIG" && \
31256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31257 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31258 ac_status=$?
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; then
31261 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31262 else
31263 pkg_failed=yes
31264 fi
31265 fi
31266 else
31267 pkg_failed=untried
31268 fi
31269
31270
31271
31272 if test $pkg_failed = yes; then
31273
31274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31275 _pkg_short_errors_supported=yes
31276 else
31277 _pkg_short_errors_supported=no
31278 fi
31279 if test $_pkg_short_errors_supported = yes; then
31280 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31281 else
31282 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31283 fi
31284 # Put the nasty error message in config.log where it belongs
31285 echo "$PANGOXFT_PKG_ERRORS" >&5
31286
31287
31288 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31289 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31290
31291
31292 elif test $pkg_failed = untried; then
31293
31294 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31295 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31296
31297
31298 else
31299 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31300 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31301 { echo "$as_me:$LINENO: result: yes" >&5
31302 echo "${ECHO_T}yes" >&6; }
31303
31304 cat >>confdefs.h <<\_ACEOF
31305 #define HAVE_PANGO_XFT 1
31306 _ACEOF
31307
31308 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31309 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31311
31312 fi
31313 save_LIBS="$LIBS"
31314 LIBS="$LIBS $PANGOX_LIBS"
31315
31316 for ac_func in pango_font_family_is_monospace
31317 do
31318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31322 echo $ECHO_N "(cached) $ECHO_C" >&6
31323 else
31324 cat >conftest.$ac_ext <<_ACEOF
31325 /* confdefs.h. */
31326 _ACEOF
31327 cat confdefs.h >>conftest.$ac_ext
31328 cat >>conftest.$ac_ext <<_ACEOF
31329 /* end confdefs.h. */
31330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31332 #define $ac_func innocuous_$ac_func
31333
31334 /* System header to define __stub macros and hopefully few prototypes,
31335 which can conflict with char $ac_func (); below.
31336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31337 <limits.h> exists even on freestanding compilers. */
31338
31339 #ifdef __STDC__
31340 # include <limits.h>
31341 #else
31342 # include <assert.h>
31343 #endif
31344
31345 #undef $ac_func
31346
31347 /* Override any GCC internal prototype to avoid an error.
31348 Use char because int might match the return type of a GCC
31349 builtin and then its argument prototype would still apply. */
31350 #ifdef __cplusplus
31351 extern "C"
31352 #endif
31353 char $ac_func ();
31354 /* The GNU C library defines this for functions which it implements
31355 to always fail with ENOSYS. Some functions are actually named
31356 something starting with __ and the normal name is an alias. */
31357 #if defined __stub_$ac_func || defined __stub___$ac_func
31358 choke me
31359 #endif
31360
31361 int
31362 main ()
31363 {
31364 return $ac_func ();
31365 ;
31366 return 0;
31367 }
31368 _ACEOF
31369 rm -f conftest.$ac_objext conftest$ac_exeext
31370 if { (ac_try="$ac_link"
31371 case "(($ac_try" in
31372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31373 *) ac_try_echo=$ac_try;;
31374 esac
31375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31376 (eval "$ac_link") 2>conftest.er1
31377 ac_status=$?
31378 grep -v '^ *+' conftest.er1 >conftest.err
31379 rm -f conftest.er1
31380 cat conftest.err >&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } && {
31383 test -z "$ac_c_werror_flag" ||
31384 test ! -s conftest.err
31385 } && test -s conftest$ac_exeext &&
31386 $as_test_x conftest$ac_exeext; then
31387 eval "$as_ac_var=yes"
31388 else
31389 echo "$as_me: failed program was:" >&5
31390 sed 's/^/| /' conftest.$ac_ext >&5
31391
31392 eval "$as_ac_var=no"
31393 fi
31394
31395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31396 conftest$ac_exeext conftest.$ac_ext
31397 fi
31398 ac_res=`eval echo '${'$as_ac_var'}'`
31399 { echo "$as_me:$LINENO: result: $ac_res" >&5
31400 echo "${ECHO_T}$ac_res" >&6; }
31401 if test `eval echo '${'$as_ac_var'}'` = yes; then
31402 cat >>confdefs.h <<_ACEOF
31403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31404 _ACEOF
31405
31406 fi
31407 done
31408
31409 LIBS="$save_LIBS"
31410 fi
31411
31412 wxUSE_UNIVERSAL="yes"
31413
31414 if test "$wxUSE_NANOX" = "yes"; then
31415 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31416 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"
31417 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31418 else
31419 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31420 fi
31421
31422 TOOLKIT=X11
31423 GUIDIST=X11_DIST
31424 fi
31425
31426 if test "$wxUSE_MOTIF" = 1; then
31427 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31428 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31429
31430 ac_find_includes=
31431 for ac_dir in $SEARCH_INCLUDE /usr/include;
31432 do
31433 if test -f "$ac_dir/Xm/Xm.h"; then
31434 ac_find_includes=$ac_dir
31435 break
31436 fi
31437 done
31438
31439 if test "$ac_find_includes" != "" ; then
31440 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31441 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31442
31443 if test "x$ac_find_includes" = "x/usr/include"; then
31444 ac_path_to_include=""
31445 else
31446 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31447 result=$?
31448 if test $result = 0; then
31449 ac_path_to_include=""
31450 else
31451 ac_path_to_include=" -I$ac_find_includes"
31452 fi
31453 fi
31454
31455 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31456 else
31457 save_CFLAGS=$CFLAGS
31458 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31459
31460 cat >conftest.$ac_ext <<_ACEOF
31461 /* confdefs.h. */
31462 _ACEOF
31463 cat confdefs.h >>conftest.$ac_ext
31464 cat >>conftest.$ac_ext <<_ACEOF
31465 /* end confdefs.h. */
31466
31467 #include <Xm/Xm.h>
31468
31469 int
31470 main ()
31471 {
31472
31473 int version;
31474 version = xmUseVersion;
31475
31476 ;
31477 return 0;
31478 }
31479 _ACEOF
31480 rm -f conftest.$ac_objext
31481 if { (ac_try="$ac_compile"
31482 case "(($ac_try" in
31483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31484 *) ac_try_echo=$ac_try;;
31485 esac
31486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31487 (eval "$ac_compile") 2>conftest.er1
31488 ac_status=$?
31489 grep -v '^ *+' conftest.er1 >conftest.err
31490 rm -f conftest.er1
31491 cat conftest.err >&5
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); } && {
31494 test -z "$ac_c_werror_flag" ||
31495 test ! -s conftest.err
31496 } && test -s conftest.$ac_objext; then
31497
31498 { echo "$as_me:$LINENO: result: found in default search path" >&5
31499 echo "${ECHO_T}found in default search path" >&6; }
31500 COMPILED_X_PROGRAM=1
31501
31502 else
31503 echo "$as_me: failed program was:" >&5
31504 sed 's/^/| /' conftest.$ac_ext >&5
31505
31506
31507 { echo "$as_me:$LINENO: result: no" >&5
31508 echo "${ECHO_T}no" >&6; }
31509 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31510 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31511 { (exit 1); exit 1; }; }
31512
31513
31514 fi
31515
31516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31517
31518 CFLAGS=$save_CFLAGS
31519 fi
31520
31521
31522 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31523 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31524
31525 ac_find_libraries=
31526 for ac_dir in $SEARCH_LIB;
31527 do
31528 for ac_extension in a so sl dylib dll.a; do
31529 if test -f "$ac_dir/libXm.$ac_extension"; then
31530 ac_find_libraries=$ac_dir
31531 break 2
31532 fi
31533 done
31534 done
31535
31536
31537 if test "x$ac_find_libraries" != "x" ; then
31538 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31539 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31540
31541
31542 if test "$ac_find_libraries" = "default location"; then
31543 ac_path_to_link=""
31544 else
31545 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31546 result=$?
31547 if test $result = 0; then
31548 ac_path_to_link=""
31549 else
31550 ac_path_to_link=" -L$ac_find_libraries"
31551 fi
31552 fi
31553
31554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31555 else
31556 save_CFLAGS=$CFLAGS
31557 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31558 save_LIBS="$LIBS"
31559 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31560
31561 cat >conftest.$ac_ext <<_ACEOF
31562 /* confdefs.h. */
31563 _ACEOF
31564 cat confdefs.h >>conftest.$ac_ext
31565 cat >>conftest.$ac_ext <<_ACEOF
31566 /* end confdefs.h. */
31567
31568 #include <Xm/Xm.h>
31569
31570 int
31571 main ()
31572 {
31573
31574 int version;
31575 version = xmUseVersion;
31576
31577 ;
31578 return 0;
31579 }
31580 _ACEOF
31581 rm -f conftest.$ac_objext conftest$ac_exeext
31582 if { (ac_try="$ac_link"
31583 case "(($ac_try" in
31584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31585 *) ac_try_echo=$ac_try;;
31586 esac
31587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31588 (eval "$ac_link") 2>conftest.er1
31589 ac_status=$?
31590 grep -v '^ *+' conftest.er1 >conftest.err
31591 rm -f conftest.er1
31592 cat conftest.err >&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } && {
31595 test -z "$ac_c_werror_flag" ||
31596 test ! -s conftest.err
31597 } && test -s conftest$ac_exeext &&
31598 $as_test_x conftest$ac_exeext; then
31599
31600 { echo "$as_me:$LINENO: result: found in default search path" >&5
31601 echo "${ECHO_T}found in default search path" >&6; }
31602 COMPILED_X_PROGRAM=1
31603
31604 else
31605 echo "$as_me: failed program was:" >&5
31606 sed 's/^/| /' conftest.$ac_ext >&5
31607
31608
31609 { echo "$as_me:$LINENO: result: no" >&5
31610 echo "${ECHO_T}no" >&6; }
31611 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31612 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31613 { (exit 1); exit 1; }; }
31614
31615
31616 fi
31617
31618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31619 conftest$ac_exeext conftest.$ac_ext
31620
31621 CFLAGS=$save_CFLAGS
31622 LIBS="$save_LIBS"
31623 fi
31624
31625 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31626 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31627 libp_link=""
31628 libsm_ice_link=""
31629 libs_found=0
31630 for libp in "" " -lXp"; do
31631 if test "$libs_found" = 0; then
31632 for libsm_ice in "" " -lSM -lICE"; do
31633 if test "$libs_found" = 0; then
31634 save_LIBS="$LIBS"
31635 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31636 save_CFLAGS=$CFLAGS
31637 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31638
31639 cat >conftest.$ac_ext <<_ACEOF
31640 /* confdefs.h. */
31641 _ACEOF
31642 cat confdefs.h >>conftest.$ac_ext
31643 cat >>conftest.$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31645
31646 #include <Xm/Xm.h>
31647 #include <Xm/List.h>
31648
31649 int
31650 main ()
31651 {
31652
31653 XmString string = NULL;
31654 Widget w = NULL;
31655 int position = 0;
31656 XmListAddItem(w, string, position);
31657
31658 ;
31659 return 0;
31660 }
31661 _ACEOF
31662 rm -f conftest.$ac_objext conftest$ac_exeext
31663 if { (ac_try="$ac_link"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31667 esac
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_link") 2>conftest.er1
31670 ac_status=$?
31671 grep -v '^ *+' conftest.er1 >conftest.err
31672 rm -f conftest.er1
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest$ac_exeext &&
31679 $as_test_x conftest$ac_exeext; then
31680
31681 libp_link="$libp"
31682 libsm_ice_link="$libsm_ice"
31683 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31684 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31685 libs_found=1
31686
31687 else
31688 echo "$as_me: failed program was:" >&5
31689 sed 's/^/| /' conftest.$ac_ext >&5
31690
31691
31692
31693 fi
31694
31695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31696 conftest$ac_exeext conftest.$ac_ext
31697
31698 LIBS="$save_LIBS"
31699 CFLAGS=$save_CFLAGS
31700 fi
31701 done
31702 fi
31703 done
31704
31705 if test "$libs_found" = 0; then
31706 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31707 echo "${ECHO_T}can't find the right libraries" >&6; }
31708 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31709 echo "$as_me: error: can't link a simple motif program" >&2;}
31710 { (exit 1); exit 1; }; }
31711 fi
31712
31713 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31714 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31715 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31716 echo $ECHO_N "(cached) $ECHO_C" >&6
31717 else
31718 ac_check_lib_save_LIBS=$LIBS
31719 LIBS="-lSgm $LIBS"
31720 cat >conftest.$ac_ext <<_ACEOF
31721 /* confdefs.h. */
31722 _ACEOF
31723 cat confdefs.h >>conftest.$ac_ext
31724 cat >>conftest.$ac_ext <<_ACEOF
31725 /* end confdefs.h. */
31726
31727 /* Override any GCC internal prototype to avoid an error.
31728 Use char because int might match the return type of a GCC
31729 builtin and then its argument prototype would still apply. */
31730 #ifdef __cplusplus
31731 extern "C"
31732 #endif
31733 char SgCreateList ();
31734 int
31735 main ()
31736 {
31737 return SgCreateList ();
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 rm -f conftest.$ac_objext conftest$ac_exeext
31743 if { (ac_try="$ac_link"
31744 case "(($ac_try" in
31745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31746 *) ac_try_echo=$ac_try;;
31747 esac
31748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31749 (eval "$ac_link") 2>conftest.er1
31750 ac_status=$?
31751 grep -v '^ *+' conftest.er1 >conftest.err
31752 rm -f conftest.er1
31753 cat conftest.err >&5
31754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31755 (exit $ac_status); } && {
31756 test -z "$ac_c_werror_flag" ||
31757 test ! -s conftest.err
31758 } && test -s conftest$ac_exeext &&
31759 $as_test_x conftest$ac_exeext; then
31760 ac_cv_lib_Sgm_SgCreateList=yes
31761 else
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31764
31765 ac_cv_lib_Sgm_SgCreateList=no
31766 fi
31767
31768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31769 conftest$ac_exeext conftest.$ac_ext
31770 LIBS=$ac_check_lib_save_LIBS
31771 fi
31772 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31773 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31774 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31775 libsgm_link=" -lSgm"
31776 fi
31777
31778
31779 save_CFLAGS=$CFLAGS
31780 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31781
31782 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31783 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31784 if test "${wx_cv_lib_motif2+set}" = set; then
31785 echo $ECHO_N "(cached) $ECHO_C" >&6
31786 else
31787 cat >conftest.$ac_ext <<_ACEOF
31788 /* confdefs.h. */
31789 _ACEOF
31790 cat confdefs.h >>conftest.$ac_ext
31791 cat >>conftest.$ac_ext <<_ACEOF
31792 /* end confdefs.h. */
31793
31794 #include <Xm/Xm.h>
31795
31796 int
31797 main ()
31798 {
31799
31800 #if XmVersion < 2000
31801 Not Motif 2
31802 #endif
31803
31804 ;
31805 return 0;
31806 }
31807 _ACEOF
31808 rm -f conftest.$ac_objext
31809 if { (ac_try="$ac_compile"
31810 case "(($ac_try" in
31811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31812 *) ac_try_echo=$ac_try;;
31813 esac
31814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31815 (eval "$ac_compile") 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } && {
31822 test -z "$ac_c_werror_flag" ||
31823 test ! -s conftest.err
31824 } && test -s conftest.$ac_objext; then
31825 wx_cv_lib_motif2="yes"
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 wx_cv_lib_motif2="no"
31831 fi
31832
31833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31834 fi
31835 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31836 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31837 if test "$wx_cv_lib_motif2" = "yes"; then
31838 cat >>confdefs.h <<\_ACEOF
31839 #define __WXMOTIF20__ 1
31840 _ACEOF
31841
31842 else
31843 cat >>confdefs.h <<\_ACEOF
31844 #define __WXMOTIF20__ 0
31845 _ACEOF
31846
31847 fi
31848
31849 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31850 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31851 if test "${wx_cv_lib_lesstif+set}" = set; then
31852 echo $ECHO_N "(cached) $ECHO_C" >&6
31853 else
31854 cat >conftest.$ac_ext <<_ACEOF
31855 /* confdefs.h. */
31856 _ACEOF
31857 cat confdefs.h >>conftest.$ac_ext
31858 cat >>conftest.$ac_ext <<_ACEOF
31859 /* end confdefs.h. */
31860
31861 #include <Xm/Xm.h>
31862
31863 int
31864 main ()
31865 {
31866
31867 #if !defined(LesstifVersion) || LesstifVersion <= 0
31868 Not Lesstif
31869 #endif
31870
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 rm -f conftest.$ac_objext
31876 if { (ac_try="$ac_compile"
31877 case "(($ac_try" in
31878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31880 esac
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_compile") 2>conftest.er1
31883 ac_status=$?
31884 grep -v '^ *+' conftest.er1 >conftest.err
31885 rm -f conftest.er1
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest.$ac_objext; then
31892 wx_cv_lib_lesstif="yes"
31893 else
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31896
31897 wx_cv_lib_lesstif="no"
31898 fi
31899
31900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31901
31902 fi
31903 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31904 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31905 if test "$wx_cv_lib_lesstif" = "yes"; then
31906 cat >>confdefs.h <<\_ACEOF
31907 #define __WXLESSTIF__ 1
31908 _ACEOF
31909
31910 else
31911 cat >>confdefs.h <<\_ACEOF
31912 #define __WXLESSTIF__ 0
31913 _ACEOF
31914
31915 fi
31916
31917 CFLAGS=$save_CFLAGS
31918
31919 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31920 TOOLKIT=MOTIF
31921 GUIDIST=MOTIF_DIST
31922 fi
31923
31924 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31925 if test "$wxUSE_LIBXPM" = "sys"; then
31926 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31927 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31928
31929 ac_find_libraries=
31930 for ac_dir in $SEARCH_LIB;
31931 do
31932 for ac_extension in a so sl dylib dll.a; do
31933 if test -f "$ac_dir/libXpm.$ac_extension"; then
31934 ac_find_libraries=$ac_dir
31935 break 2
31936 fi
31937 done
31938 done
31939
31940 if test "$ac_find_libraries" != "" ; then
31941
31942 if test "$ac_find_libraries" = "default location"; then
31943 ac_path_to_link=""
31944 else
31945 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31946 result=$?
31947 if test $result = 0; then
31948 ac_path_to_link=""
31949 else
31950 ac_path_to_link=" -L$ac_find_libraries"
31951 fi
31952 fi
31953
31954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31955 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31956 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31957
31958 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31959 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31960 if test "${wx_cv_x11_xpm_h+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31962 else
31963
31964 save_CFLAGS=$CFLAGS
31965 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31966
31967 cat >conftest.$ac_ext <<_ACEOF
31968 /* confdefs.h. */
31969 _ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973
31974 #include <X11/xpm.h>
31975
31976 int
31977 main ()
31978 {
31979
31980 int version;
31981 version = XpmLibraryVersion();
31982
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext
31988 if { (ac_try="$ac_compile"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31992 esac
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_compile") 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest.$ac_objext; then
32004 wx_cv_x11_xpm_h=yes
32005 else
32006 echo "$as_me: failed program was:" >&5
32007 sed 's/^/| /' conftest.$ac_ext >&5
32008
32009 wx_cv_x11_xpm_h=no
32010
32011 fi
32012
32013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32014
32015 CFLAGS=$save_CFLAGS
32016
32017
32018 fi
32019 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32020 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32021
32022 if test $wx_cv_x11_xpm_h = "yes"; then
32023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32024 cat >>confdefs.h <<\_ACEOF
32025 #define wxHAVE_LIB_XPM 1
32026 _ACEOF
32027
32028 else
32029 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32030 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32031 fi
32032 fi
32033
32034 fi
32035
32036 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32037 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32038 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 else
32041 ac_check_lib_save_LIBS=$LIBS
32042 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32043 cat >conftest.$ac_ext <<_ACEOF
32044 /* confdefs.h. */
32045 _ACEOF
32046 cat confdefs.h >>conftest.$ac_ext
32047 cat >>conftest.$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32049
32050 /* Override any GCC internal prototype to avoid an error.
32051 Use char because int might match the return type of a GCC
32052 builtin and then its argument prototype would still apply. */
32053 #ifdef __cplusplus
32054 extern "C"
32055 #endif
32056 char XShapeQueryExtension ();
32057 int
32058 main ()
32059 {
32060 return XShapeQueryExtension ();
32061 ;
32062 return 0;
32063 }
32064 _ACEOF
32065 rm -f conftest.$ac_objext conftest$ac_exeext
32066 if { (ac_try="$ac_link"
32067 case "(($ac_try" in
32068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32069 *) ac_try_echo=$ac_try;;
32070 esac
32071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 (eval "$ac_link") 2>conftest.er1
32073 ac_status=$?
32074 grep -v '^ *+' conftest.er1 >conftest.err
32075 rm -f conftest.er1
32076 cat conftest.err >&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); } && {
32079 test -z "$ac_c_werror_flag" ||
32080 test ! -s conftest.err
32081 } && test -s conftest$ac_exeext &&
32082 $as_test_x conftest$ac_exeext; then
32083 ac_cv_lib_Xext_XShapeQueryExtension=yes
32084 else
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32087
32088 ac_cv_lib_Xext_XShapeQueryExtension=no
32089 fi
32090
32091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32092 conftest$ac_exeext conftest.$ac_ext
32093 LIBS=$ac_check_lib_save_LIBS
32094 fi
32095 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32096 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32097 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32098
32099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32100 wxHAVE_XEXT_LIB=1
32101
32102 fi
32103
32104
32105 if test "$wxHAVE_XEXT_LIB" = 1; then
32106 save_CFLAGS="$CFLAGS"
32107 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32108
32109 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32110 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32111 cat >conftest.$ac_ext <<_ACEOF
32112 /* confdefs.h. */
32113 _ACEOF
32114 cat confdefs.h >>conftest.$ac_ext
32115 cat >>conftest.$ac_ext <<_ACEOF
32116 /* end confdefs.h. */
32117
32118 #include <X11/Xlib.h>
32119 #include <X11/extensions/shape.h>
32120
32121 int
32122 main ()
32123 {
32124
32125 int dummy1, dummy2;
32126 XShapeQueryExtension((Display*)NULL,
32127 (int*)NULL, (int*)NULL);
32128
32129 ;
32130 return 0;
32131 }
32132 _ACEOF
32133 rm -f conftest.$ac_objext
32134 if { (ac_try="$ac_compile"
32135 case "(($ac_try" in
32136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32137 *) ac_try_echo=$ac_try;;
32138 esac
32139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32140 (eval "$ac_compile") 2>conftest.er1
32141 ac_status=$?
32142 grep -v '^ *+' conftest.er1 >conftest.err
32143 rm -f conftest.er1
32144 cat conftest.err >&5
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); } && {
32147 test -z "$ac_c_werror_flag" ||
32148 test ! -s conftest.err
32149 } && test -s conftest.$ac_objext; then
32150
32151 cat >>confdefs.h <<\_ACEOF
32152 #define HAVE_XSHAPE 1
32153 _ACEOF
32154
32155 { echo "$as_me:$LINENO: result: found" >&5
32156 echo "${ECHO_T}found" >&6; }
32157
32158 else
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.$ac_ext >&5
32161
32162
32163 { echo "$as_me:$LINENO: result: not found" >&5
32164 echo "${ECHO_T}not found" >&6; }
32165
32166 fi
32167
32168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32169 CFLAGS="$save_CFLAGS"
32170
32171 fi
32172 fi
32173
32174 if test "$wxUSE_MAC" = 1; then
32175 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32176 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32177 if test "$GCC" = yes; then
32178 { echo "$as_me:$LINENO: result: gcc" >&5
32179 echo "${ECHO_T}gcc" >&6; }
32180 CPPFLAGS_PASCAL="-fpascal-strings"
32181 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32182 { echo "$as_me:$LINENO: result: xlc" >&5
32183 echo "${ECHO_T}xlc" >&6; }
32184 CPPFLAGS_PASCAL="-qmacpstr"
32185 else
32186 { echo "$as_me:$LINENO: result: none" >&5
32187 echo "${ECHO_T}none" >&6; }
32188 fi
32189
32190 if test "x$wxUSE_UNIX" = "xyes"; then
32191 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32192 else
32193 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32194 fi
32195
32196 TOOLKIT=MAC
32197 GUIDIST=MACX_DIST
32198 WXBASEPORT="_carbon"
32199 fi
32200
32201 if test "$wxUSE_COCOA" = 1; then
32202 TOOLKIT=COCOA
32203 GUIDIST=COCOA_DIST
32204 fi
32205
32206 if test "$wxUSE_PM" = 1; then
32207 TOOLKIT=PM
32208 GUIDIST=PM_DIST
32209 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32210 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32211 if test "${wx_cv_spbcdata+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 else
32214
32215 cat >conftest.$ac_ext <<_ACEOF
32216 /* confdefs.h. */
32217 _ACEOF
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32221
32222 #define INCL_PM
32223 #include <os2.h>
32224
32225 int
32226 main ()
32227 {
32228
32229 SPBCDATA test;
32230
32231 ;
32232 return 0;
32233 }
32234 _ACEOF
32235 rm -f conftest.$ac_objext
32236 if { (ac_try="$ac_compile"
32237 case "(($ac_try" in
32238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32239 *) ac_try_echo=$ac_try;;
32240 esac
32241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32242 (eval "$ac_compile") 2>conftest.er1
32243 ac_status=$?
32244 grep -v '^ *+' conftest.er1 >conftest.err
32245 rm -f conftest.er1
32246 cat conftest.err >&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } && {
32249 test -z "$ac_c_werror_flag" ||
32250 test ! -s conftest.err
32251 } && test -s conftest.$ac_objext; then
32252 wx_cv_spbcdata=yes
32253 else
32254 echo "$as_me: failed program was:" >&5
32255 sed 's/^/| /' conftest.$ac_ext >&5
32256
32257 wx_cv_spbcdata=no
32258
32259 fi
32260
32261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32262
32263
32264 fi
32265 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32266 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32267
32268 if test $wx_cv_spbcdata = "yes"; then
32269 cat >>confdefs.h <<\_ACEOF
32270 #define HAVE_SPBCDATA 1
32271 _ACEOF
32272
32273 fi
32274 fi
32275
32276 if test "$TOOLKIT" = "PM" ; then
32277 TOOLKIT_DIR="os2"
32278 else
32279 TOOLKIT_DIR=`echo ${TOOLKIT} | tr A-Z a-z`
32280 fi
32281
32282 if test "$wxUSE_UNIVERSAL" = "yes"; then
32283 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32284 WIDGET_SET=univ
32285 fi
32286
32287 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32288 DISTDIR="wx\$(TOOLKIT)"
32289 else
32290 USE_GUI=0
32291
32292 TOOLKIT_DIR="base"
32293
32294 if test "$USE_WIN32" = 1 ; then
32295 TOOLKIT="MSW"
32296 fi
32297
32298 GUIDIST="BASE_DIST"
32299 DISTDIR="wxBase"
32300 fi
32301
32302
32303
32304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32305 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32306 wxUSE_UNICODE_UTF8=yes
32307 elif test "$USE_OS2" = 1 ; then
32308 wxUSE_UNICODE_UTF8=yes
32309 else
32310 wxUSE_UNICODE_UTF8=no
32311 fi
32312 fi
32313
32314
32315 if test "$wxUSE_GUI" = "yes"; then
32316 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32317
32318 for ac_header in X11/Xlib.h
32319 do
32320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32325 else
32326 cat >conftest.$ac_ext <<_ACEOF
32327 /* confdefs.h. */
32328 _ACEOF
32329 cat confdefs.h >>conftest.$ac_ext
32330 cat >>conftest.$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32332
32333
32334 #include <$ac_header>
32335 _ACEOF
32336 rm -f conftest.$ac_objext
32337 if { (ac_try="$ac_compile"
32338 case "(($ac_try" in
32339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32340 *) ac_try_echo=$ac_try;;
32341 esac
32342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32343 (eval "$ac_compile") 2>conftest.er1
32344 ac_status=$?
32345 grep -v '^ *+' conftest.er1 >conftest.err
32346 rm -f conftest.er1
32347 cat conftest.err >&5
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); } && {
32350 test -z "$ac_c_werror_flag" ||
32351 test ! -s conftest.err
32352 } && test -s conftest.$ac_objext; then
32353 eval "$as_ac_Header=yes"
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 eval "$as_ac_Header=no"
32359 fi
32360
32361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32362 fi
32363 ac_res=`eval echo '${'$as_ac_Header'}'`
32364 { echo "$as_me:$LINENO: result: $ac_res" >&5
32365 echo "${ECHO_T}$ac_res" >&6; }
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367 cat >>confdefs.h <<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32369 _ACEOF
32370
32371 fi
32372
32373 done
32374
32375
32376 for ac_header in X11/XKBlib.h
32377 do
32378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32383 else
32384 cat >conftest.$ac_ext <<_ACEOF
32385 /* confdefs.h. */
32386 _ACEOF
32387 cat confdefs.h >>conftest.$ac_ext
32388 cat >>conftest.$ac_ext <<_ACEOF
32389 /* end confdefs.h. */
32390
32391 #if HAVE_X11_XLIB_H
32392 #include <X11/Xlib.h>
32393 #endif
32394
32395
32396 #include <$ac_header>
32397 _ACEOF
32398 rm -f conftest.$ac_objext
32399 if { (ac_try="$ac_compile"
32400 case "(($ac_try" in
32401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32402 *) ac_try_echo=$ac_try;;
32403 esac
32404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32405 (eval "$ac_compile") 2>conftest.er1
32406 ac_status=$?
32407 grep -v '^ *+' conftest.er1 >conftest.err
32408 rm -f conftest.er1
32409 cat conftest.err >&5
32410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411 (exit $ac_status); } && {
32412 test -z "$ac_c_werror_flag" ||
32413 test ! -s conftest.err
32414 } && test -s conftest.$ac_objext; then
32415 eval "$as_ac_Header=yes"
32416 else
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 eval "$as_ac_Header=no"
32421 fi
32422
32423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32424 fi
32425 ac_res=`eval echo '${'$as_ac_Header'}'`
32426 { echo "$as_me:$LINENO: result: $ac_res" >&5
32427 echo "${ECHO_T}$ac_res" >&6; }
32428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32429 cat >>confdefs.h <<_ACEOF
32430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32431 _ACEOF
32432
32433 fi
32434
32435 done
32436
32437 fi
32438 fi
32439
32440
32441
32442 if test "$wxUSE_DISPLAY" = "yes"; then
32443 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32444 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32445 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32446
32447 ac_find_libraries=
32448 for ac_dir in $SEARCH_LIB;
32449 do
32450 for ac_extension in a so sl dylib dll.a; do
32451 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32452 ac_find_libraries=$ac_dir
32453 break 2
32454 fi
32455 done
32456 done
32457
32458 if test "$ac_find_libraries" != "" ; then
32459
32460 if test "$ac_find_libraries" = "default location"; then
32461 ac_path_to_link=""
32462 else
32463 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32464 result=$?
32465 if test $result = 0; then
32466 ac_path_to_link=""
32467 else
32468 ac_path_to_link=" -L$ac_find_libraries"
32469 fi
32470 fi
32471
32472 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32473 LDFLAGS="$LDFLAGS $ac_path_to_link"
32474 fi
32475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32476 { echo "$as_me:$LINENO: result: yes" >&5
32477 echo "${ECHO_T}yes" >&6; }
32478
32479 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32480 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32481
32482 ac_find_libraries=
32483 for ac_dir in $SEARCH_LIB;
32484 do
32485 for ac_extension in a so sl dylib dll.a; do
32486 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32487 ac_find_libraries=$ac_dir
32488 break 2
32489 fi
32490 done
32491 done
32492
32493 if test "$ac_find_libraries" != "" ; then
32494 { echo "$as_me:$LINENO: result: yes" >&5
32495 echo "${ECHO_T}yes" >&6; }
32496
32497 for ac_header in X11/extensions/xf86vmode.h
32498 do
32499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32503 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 else
32505 cat >conftest.$ac_ext <<_ACEOF
32506 /* confdefs.h. */
32507 _ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511
32512 #if HAVE_X11_XLIB_H
32513 #include <X11/Xlib.h>
32514 #endif
32515
32516
32517 #include <$ac_header>
32518 _ACEOF
32519 rm -f conftest.$ac_objext
32520 if { (ac_try="$ac_compile"
32521 case "(($ac_try" in
32522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32523 *) ac_try_echo=$ac_try;;
32524 esac
32525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32526 (eval "$ac_compile") 2>conftest.er1
32527 ac_status=$?
32528 grep -v '^ *+' conftest.er1 >conftest.err
32529 rm -f conftest.er1
32530 cat conftest.err >&5
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } && {
32533 test -z "$ac_c_werror_flag" ||
32534 test ! -s conftest.err
32535 } && test -s conftest.$ac_objext; then
32536 eval "$as_ac_Header=yes"
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 eval "$as_ac_Header=no"
32542 fi
32543
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 fi
32546 ac_res=`eval echo '${'$as_ac_Header'}'`
32547 { echo "$as_me:$LINENO: result: $ac_res" >&5
32548 echo "${ECHO_T}$ac_res" >&6; }
32549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32550 cat >>confdefs.h <<_ACEOF
32551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32552 _ACEOF
32553
32554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32555
32556 fi
32557
32558 done
32559
32560 else
32561 { echo "$as_me:$LINENO: result: no" >&5
32562 echo "${ECHO_T}no" >&6; }
32563 fi
32564
32565 else
32566 { echo "$as_me:$LINENO: result: no" >&5
32567 echo "${ECHO_T}no" >&6; }
32568 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32569 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32570 wxUSE_DISPLAY="no"
32571 fi
32572 elif test "$wxUSE_MSW" = 1; then
32573 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32574 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32575 if test "${ac_cv_header_ddraw_h+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578 cat >conftest.$ac_ext <<_ACEOF
32579 /* confdefs.h. */
32580 _ACEOF
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32584 #include <windows.h>
32585
32586 #include <ddraw.h>
32587 _ACEOF
32588 rm -f conftest.$ac_objext
32589 if { (ac_try="$ac_compile"
32590 case "(($ac_try" in
32591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32592 *) ac_try_echo=$ac_try;;
32593 esac
32594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32595 (eval "$ac_compile") 2>conftest.er1
32596 ac_status=$?
32597 grep -v '^ *+' conftest.er1 >conftest.err
32598 rm -f conftest.er1
32599 cat conftest.err >&5
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); } && {
32602 test -z "$ac_c_werror_flag" ||
32603 test ! -s conftest.err
32604 } && test -s conftest.$ac_objext; then
32605 ac_cv_header_ddraw_h=yes
32606 else
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32609
32610 ac_cv_header_ddraw_h=no
32611 fi
32612
32613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32614 fi
32615 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32616 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32617
32618
32619 fi
32620 fi
32621
32622 if test "$wxUSE_DETECT_SM" = "yes"; then
32623 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32624 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32625 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32626
32627 ac_find_libraries=
32628 for ac_dir in $SEARCH_LIB;
32629 do
32630 for ac_extension in a so sl dylib dll.a; do
32631 if test -f "$ac_dir/libSM.$ac_extension"; then
32632 ac_find_libraries=$ac_dir
32633 break 2
32634 fi
32635 done
32636 done
32637
32638 if test "$ac_find_libraries" != "" ; then
32639
32640 if test "$ac_find_libraries" = "default location"; then
32641 ac_path_to_link=""
32642 else
32643 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32644 result=$?
32645 if test $result = 0; then
32646 ac_path_to_link=""
32647 else
32648 ac_path_to_link=" -L$ac_find_libraries"
32649 fi
32650 fi
32651
32652 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32653 LDFLAGS="$LDFLAGS $ac_path_to_link"
32654 fi
32655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32656 { echo "$as_me:$LINENO: result: yes" >&5
32657 echo "${ECHO_T}yes" >&6; }
32658 else
32659 { echo "$as_me:$LINENO: result: no" >&5
32660 echo "${ECHO_T}no" >&6; }
32661 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32662 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32663 wxUSE_DETECT_SM="no"
32664 fi
32665 else
32666 wxUSE_DETECT_SM="no"
32667 fi
32668 fi
32669
32670
32671
32672 USE_OPENGL=0
32673 if test "$wxUSE_OPENGL" = "yes"; then
32674 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32675 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32676 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32677 wxUSE_OPENGL="no"
32678 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32679 OPENGL_LIBS="-framework OpenGL -framework AGL"
32680 elif test "$wxUSE_MSW" = 1; then
32681 OPENGL_LIBS="-lopengl32 -lglu32"
32682 else
32683 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32684 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32685
32686 ac_find_includes=
32687 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32688 do
32689 if test -f "$ac_dir/GL/gl.h"; then
32690 ac_find_includes=$ac_dir
32691 break
32692 fi
32693 done
32694
32695 if test "$ac_find_includes" != "" ; then
32696 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32697 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32698
32699 if test "x$ac_find_includes" = "x/usr/include"; then
32700 ac_path_to_include=""
32701 else
32702 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32703 result=$?
32704 if test $result = 0; then
32705 ac_path_to_include=""
32706 else
32707 ac_path_to_include=" -I$ac_find_includes"
32708 fi
32709 fi
32710
32711 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32712 else
32713 { echo "$as_me:$LINENO: result: not found" >&5
32714 echo "${ECHO_T}not found" >&6; }
32715 fi
32716
32717 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32718 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32719 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32721 else
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728
32729
32730 #include <GL/gl.h>
32731 _ACEOF
32732 rm -f conftest.$ac_objext
32733 if { (ac_try="$ac_compile"
32734 case "(($ac_try" in
32735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32736 *) ac_try_echo=$ac_try;;
32737 esac
32738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32739 (eval "$ac_compile") 2>conftest.er1
32740 ac_status=$?
32741 grep -v '^ *+' conftest.er1 >conftest.err
32742 rm -f conftest.er1
32743 cat conftest.err >&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } && {
32746 test -z "$ac_c_werror_flag" ||
32747 test ! -s conftest.err
32748 } && test -s conftest.$ac_objext; then
32749 ac_cv_header_GL_gl_h=yes
32750 else
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 ac_cv_header_GL_gl_h=no
32755 fi
32756
32757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32758 fi
32759 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32760 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32761 if test $ac_cv_header_GL_gl_h = yes; then
32762
32763 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32764 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32765 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32766 echo $ECHO_N "(cached) $ECHO_C" >&6
32767 else
32768 cat >conftest.$ac_ext <<_ACEOF
32769 /* confdefs.h. */
32770 _ACEOF
32771 cat confdefs.h >>conftest.$ac_ext
32772 cat >>conftest.$ac_ext <<_ACEOF
32773 /* end confdefs.h. */
32774
32775
32776 #include <GL/glu.h>
32777 _ACEOF
32778 rm -f conftest.$ac_objext
32779 if { (ac_try="$ac_compile"
32780 case "(($ac_try" in
32781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32782 *) ac_try_echo=$ac_try;;
32783 esac
32784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32785 (eval "$ac_compile") 2>conftest.er1
32786 ac_status=$?
32787 grep -v '^ *+' conftest.er1 >conftest.err
32788 rm -f conftest.er1
32789 cat conftest.err >&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } && {
32792 test -z "$ac_c_werror_flag" ||
32793 test ! -s conftest.err
32794 } && test -s conftest.$ac_objext; then
32795 ac_cv_header_GL_glu_h=yes
32796 else
32797 echo "$as_me: failed program was:" >&5
32798 sed 's/^/| /' conftest.$ac_ext >&5
32799
32800 ac_cv_header_GL_glu_h=no
32801 fi
32802
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32804 fi
32805 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32806 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32807 if test $ac_cv_header_GL_glu_h = yes; then
32808
32809 found_gl=0
32810
32811 { echo "$as_me:$LINENO: checking for -lGL" >&5
32812 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32813
32814 ac_find_libraries=
32815 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32816 do
32817 for ac_extension in a so sl dylib dll.a; do
32818 if test -f "$ac_dir/libGL.$ac_extension"; then
32819 ac_find_libraries=$ac_dir
32820 break 2
32821 fi
32822 done
32823 done
32824
32825 if test "$ac_find_libraries" != "" ; then
32826 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32827 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32828
32829
32830 if test "$ac_find_libraries" = "default location"; then
32831 ac_path_to_link=""
32832 else
32833 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32834 result=$?
32835 if test $result = 0; then
32836 ac_path_to_link=""
32837 else
32838 ac_path_to_link=" -L$ac_find_libraries"
32839 fi
32840 fi
32841
32842 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32843 LDFLAGS_GL="$ac_path_to_link"
32844 fi
32845
32846 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32847 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32848
32849 ac_find_libraries=
32850 for ac_dir in $SEARCH_LIB;
32851 do
32852 for ac_extension in a so sl dylib dll.a; do
32853 if test -f "$ac_dir/libGLU.$ac_extension"; then
32854 ac_find_libraries=$ac_dir
32855 break 2
32856 fi
32857 done
32858 done
32859
32860 if test "$ac_find_libraries" != "" ; then
32861
32862 if test "$ac_find_libraries" = "default location"; then
32863 ac_path_to_link=""
32864 else
32865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32866 result=$?
32867 if test $result = 0; then
32868 ac_path_to_link=""
32869 else
32870 ac_path_to_link=" -L$ac_find_libraries"
32871 fi
32872 fi
32873
32874 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32875 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32876 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32877 fi
32878
32879 found_gl=1
32880 OPENGL_LIBS="-lGL -lGLU"
32881 { echo "$as_me:$LINENO: result: yes" >&5
32882 echo "${ECHO_T}yes" >&6; }
32883 else
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32886 fi
32887 else
32888 { echo "$as_me:$LINENO: result: no" >&5
32889 echo "${ECHO_T}no" >&6; }
32890 fi
32891
32892 if test "$found_gl" != 1; then
32893 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32894 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32895
32896 ac_find_libraries=
32897 for ac_dir in $SEARCH_LIB;
32898 do
32899 for ac_extension in a so sl dylib dll.a; do
32900 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32901 ac_find_libraries=$ac_dir
32902 break 2
32903 fi
32904 done
32905 done
32906
32907 if test "$ac_find_libraries" != "" ; then
32908
32909 if test "$ac_find_libraries" = "default location"; then
32910 ac_path_to_link=""
32911 else
32912 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32913 result=$?
32914 if test $result = 0; then
32915 ac_path_to_link=""
32916 else
32917 ac_path_to_link=" -L$ac_find_libraries"
32918 fi
32919 fi
32920
32921 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32922 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32923 { echo "$as_me:$LINENO: result: yes" >&5
32924 echo "${ECHO_T}yes" >&6; }
32925 else
32926 { echo "$as_me:$LINENO: result: no" >&5
32927 echo "${ECHO_T}no" >&6; }
32928 fi
32929 fi
32930
32931 fi
32932
32933
32934
32935 fi
32936
32937
32938
32939 if test "x$OPENGL_LIBS" = "x"; then
32940 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32941 echo "$as_me: error: OpenGL libraries not available" >&2;}
32942 { (exit 1); exit 1; }; }
32943 fi
32944 fi
32945
32946 if test "$wxUSE_OPENGL" = "yes"; then
32947 USE_OPENGL=1
32948 cat >>confdefs.h <<\_ACEOF
32949 #define wxUSE_OPENGL 1
32950 _ACEOF
32951
32952 cat >>confdefs.h <<\_ACEOF
32953 #define wxUSE_GLCANVAS 1
32954 _ACEOF
32955
32956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32957 fi
32958 fi
32959
32960
32961 if test -n "$TOOLKIT" ; then
32962 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32963 fi
32964
32965
32966
32967 if test "$wxUSE_SHARED" = "yes"; then
32968 case "${host}" in
32969 *-pc-msdosdjgpp )
32970 wxUSE_SHARED=no
32971 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32972 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32973 ;;
32974 esac
32975 fi
32976
32977 if test "$wxUSE_SHARED" = "yes"; then
32978
32979
32980 case "${host}" in
32981 *-*-cygwin* | *-*-mingw* )
32982 wx_cv_version_script=no
32983 ;;
32984
32985 *)
32986 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32987 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32988 if test "${wx_cv_version_script+set}" = set; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32990 else
32991
32992 echo "VER_1 { *; };" >conftest.sym
32993 echo "int main() { return 0; }" >conftest.cpp
32994
32995 if { ac_try='
32996 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32997 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33000 ac_status=$?
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; } ; then
33003 if test -s conftest.stderr ; then
33004 wx_cv_version_script=no
33005 else
33006 wx_cv_version_script=yes
33007 fi
33008 else
33009 wx_cv_version_script=no
33010 fi
33011
33012 if test $wx_cv_version_script = yes
33013 then
33014 echo "struct B { virtual ~B() { } }; \
33015 struct D : public B { }; \
33016 void F() { D d; }" > conftest.cpp
33017
33018 if { ac_try='
33019 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33020 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33022 (eval $ac_try) 2>&5
33023 ac_status=$?
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); }; } &&
33026 { ac_try='
33027 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33028 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33031 ac_status=$?
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; }
33034 then
33035 if { ac_try='
33036 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33037 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33040 ac_status=$?
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }
33043 then
33044 wx_cv_version_script=yes
33045 else
33046 wx_cv_version_script=no
33047 fi
33048 fi
33049 fi
33050
33051 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33052 rm -f conftest1.output conftest2.output conftest3.output
33053
33054 fi
33055 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33056 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33057
33058 if test $wx_cv_version_script = yes ; then
33059 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33060 fi
33061 ;;
33062 esac
33063
33064
33065 if test "$wxUSE_VISIBILITY" != "no"; then
33066
33067
33068 if test -n "$GCC"; then
33069 CFLAGS_VISIBILITY="-fvisibility=hidden"
33070 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33071 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33072 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33073 if test "${wx_cv_cc_visibility+set}" = set; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 else
33076
33077 wx_save_CXXFLAGS="$CXXFLAGS"
33078 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33079 ac_ext=cpp
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33084
33085 cat >conftest.$ac_ext <<_ACEOF
33086 /* confdefs.h. */
33087 _ACEOF
33088 cat confdefs.h >>conftest.$ac_ext
33089 cat >>conftest.$ac_ext <<_ACEOF
33090 /* end confdefs.h. */
33091
33092 /* we need gcc >= 4.0, older versions with visibility support
33093 didn't have class visibility: */
33094 #if defined(__GNUC__) && __GNUC__ < 4
33095 error this gcc is too old;
33096 #endif
33097
33098 /* visibility only makes sense for ELF shared libs: */
33099 #if !defined(__ELF__) && !defined(__APPLE__)
33100 error this platform has no visibility;
33101 #endif
33102
33103 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33104 extern __attribute__((__visibility__("default"))) int exportedvar;
33105 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33106 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33107 class __attribute__((__visibility__("default"))) Foo {
33108 Foo() {}
33109 };
33110
33111 int
33112 main ()
33113 {
33114
33115 ;
33116 return 0;
33117 }
33118 _ACEOF
33119 rm -f conftest.$ac_objext
33120 if { (ac_try="$ac_compile"
33121 case "(($ac_try" in
33122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33123 *) ac_try_echo=$ac_try;;
33124 esac
33125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33126 (eval "$ac_compile") 2>conftest.er1
33127 ac_status=$?
33128 grep -v '^ *+' conftest.er1 >conftest.err
33129 rm -f conftest.er1
33130 cat conftest.err >&5
33131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } && {
33133 test -z "$ac_cxx_werror_flag" ||
33134 test ! -s conftest.err
33135 } && test -s conftest.$ac_objext; then
33136 wx_cv_cc_visibility=yes
33137 else
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33140
33141 wx_cv_cc_visibility=no
33142 fi
33143
33144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33145 ac_ext=c
33146 ac_cpp='$CPP $CPPFLAGS'
33147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33150
33151 CXXFLAGS="$wx_save_CXXFLAGS"
33152 fi
33153
33154 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33155 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33156 if test $wx_cv_cc_visibility = yes; then
33157 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33158 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33159 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162
33163 wx_save_CXXFLAGS="$CXXFLAGS"
33164 wx_save_LDFLAGS="$LDFLAGS"
33165 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33166 LDFLAGS="$LDFLAGS -shared -fPIC"
33167 ac_ext=cpp
33168 ac_cpp='$CXXCPP $CPPFLAGS'
33169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33172
33173 cat >conftest.$ac_ext <<_ACEOF
33174 /* confdefs.h. */
33175 _ACEOF
33176 cat confdefs.h >>conftest.$ac_ext
33177 cat >>conftest.$ac_ext <<_ACEOF
33178 /* end confdefs.h. */
33179
33180 #include <string>
33181
33182 int
33183 main ()
33184 {
33185
33186 std::string s("hello");
33187 return s.length();
33188
33189 ;
33190 return 0;
33191 }
33192 _ACEOF
33193 rm -f conftest.$ac_objext conftest$ac_exeext
33194 if { (ac_try="$ac_link"
33195 case "(($ac_try" in
33196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33197 *) ac_try_echo=$ac_try;;
33198 esac
33199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33200 (eval "$ac_link") 2>conftest.er1
33201 ac_status=$?
33202 grep -v '^ *+' conftest.er1 >conftest.err
33203 rm -f conftest.er1
33204 cat conftest.err >&5
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); } && {
33207 test -z "$ac_cxx_werror_flag" ||
33208 test ! -s conftest.err
33209 } && test -s conftest$ac_exeext &&
33210 $as_test_x conftest$ac_exeext; then
33211 wx_cv_cc_broken_libstdcxx_visibility=no
33212 else
33213 echo "$as_me: failed program was:" >&5
33214 sed 's/^/| /' conftest.$ac_ext >&5
33215
33216 wx_cv_cc_broken_libstdcxx_visibility=yes
33217 fi
33218
33219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33220 conftest$ac_exeext conftest.$ac_ext
33221 ac_ext=c
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226
33227 CXXFLAGS="$wx_save_CXXFLAGS"
33228 LDFLAGS="$wx_save_LDFLAGS"
33229 fi
33230
33231 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33232 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33233
33234 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33235 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33236 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33237 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33238 echo $ECHO_N "(cached) $ECHO_C" >&6
33239 else
33240
33241 ac_ext=cpp
33242 ac_cpp='$CXXCPP $CPPFLAGS'
33243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33246
33247 cat >conftest.$ac_ext <<_ACEOF
33248 /* confdefs.h. */
33249 _ACEOF
33250 cat confdefs.h >>conftest.$ac_ext
33251 cat >>conftest.$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253
33254 #pragma GCC visibility push(default)
33255 #include <string>
33256 #pragma GCC visibility pop
33257
33258 int
33259 main ()
33260 {
33261
33262 std::string s("hello");
33263 return s.length();
33264
33265 ;
33266 return 0;
33267 }
33268 _ACEOF
33269 rm -f conftest.$ac_objext conftest$ac_exeext
33270 if { (ac_try="$ac_link"
33271 case "(($ac_try" in
33272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33273 *) ac_try_echo=$ac_try;;
33274 esac
33275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33276 (eval "$ac_link") 2>conftest.er1
33277 ac_status=$?
33278 grep -v '^ *+' conftest.er1 >conftest.err
33279 rm -f conftest.er1
33280 cat conftest.err >&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } && {
33283 test -z "$ac_cxx_werror_flag" ||
33284 test ! -s conftest.err
33285 } && test -s conftest$ac_exeext &&
33286 $as_test_x conftest$ac_exeext; then
33287 wx_cv_cc_visibility_workaround=no
33288 else
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.$ac_ext >&5
33291
33292 wx_cv_cc_visibility_workaround=yes
33293 fi
33294
33295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33296 conftest$ac_exeext conftest.$ac_ext
33297 ac_ext=c
33298 ac_cpp='$CPP $CPPFLAGS'
33299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33302
33303
33304 fi
33305
33306 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33307 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33308
33309 if test $wx_cv_cc_visibility_workaround = no; then
33310 wx_cv_cc_visibility=no
33311 fi
33312 fi
33313 fi
33314
33315 if test $wx_cv_cc_visibility = yes; then
33316 cat >>confdefs.h <<\_ACEOF
33317 #define HAVE_VISIBILITY 1
33318 _ACEOF
33319
33320 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33321 cat >>confdefs.h <<\_ACEOF
33322 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33323 _ACEOF
33324
33325 fi
33326 else
33327 CFLAGS_VISIBILITY=""
33328 CXXFLAGS_VISIBILITY=""
33329 fi
33330
33331
33332 fi
33333
33334 fi
33335
33336 if test "x$SUNCXX" = xyes; then
33337 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33338 WXCONFIG_RPATH="-R\$libdir"
33339 else
33340 case "${host}" in
33341 *-*-linux* | *-*-gnu* )
33342 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33343 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33344 ;;
33345
33346 *-*-solaris2* )
33347
33348 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33349
33350 saveLdflags="$LDFLAGS"
33351 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33352 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33353 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33354 cat >conftest.$ac_ext <<_ACEOF
33355 /* confdefs.h. */
33356 _ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360
33361 int
33362 main ()
33363 {
33364
33365 ;
33366 return 0;
33367 }
33368 _ACEOF
33369 rm -f conftest.$ac_objext conftest$ac_exeext
33370 if { (ac_try="$ac_link"
33371 case "(($ac_try" in
33372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33373 *) ac_try_echo=$ac_try;;
33374 esac
33375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33376 (eval "$ac_link") 2>conftest.er1
33377 ac_status=$?
33378 grep -v '^ *+' conftest.er1 >conftest.err
33379 rm -f conftest.er1
33380 cat conftest.err >&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); } && {
33383 test -z "$ac_c_werror_flag" ||
33384 test ! -s conftest.err
33385 } && test -s conftest$ac_exeext &&
33386 $as_test_x conftest$ac_exeext; then
33387
33388 { echo "$as_me:$LINENO: result: yes" >&5
33389 echo "${ECHO_T}yes" >&6; }
33390 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33391 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33392
33393 else
33394 echo "$as_me: failed program was:" >&5
33395 sed 's/^/| /' conftest.$ac_ext >&5
33396
33397
33398 { echo "$as_me:$LINENO: result: no" >&5
33399 echo "${ECHO_T}no" >&6; }
33400 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33401 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33402 LDFLAGS="$saveLdflags -Wl,-R,/"
33403 cat >conftest.$ac_ext <<_ACEOF
33404 /* confdefs.h. */
33405 _ACEOF
33406 cat confdefs.h >>conftest.$ac_ext
33407 cat >>conftest.$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33409
33410 int
33411 main ()
33412 {
33413
33414 ;
33415 return 0;
33416 }
33417 _ACEOF
33418 rm -f conftest.$ac_objext conftest$ac_exeext
33419 if { (ac_try="$ac_link"
33420 case "(($ac_try" in
33421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33422 *) ac_try_echo=$ac_try;;
33423 esac
33424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33425 (eval "$ac_link") 2>conftest.er1
33426 ac_status=$?
33427 grep -v '^ *+' conftest.er1 >conftest.err
33428 rm -f conftest.er1
33429 cat conftest.err >&5
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); } && {
33432 test -z "$ac_c_werror_flag" ||
33433 test ! -s conftest.err
33434 } && test -s conftest$ac_exeext &&
33435 $as_test_x conftest$ac_exeext; then
33436
33437 { echo "$as_me:$LINENO: result: yes" >&5
33438 echo "${ECHO_T}yes" >&6; }
33439 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33440 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33441
33442 else
33443 echo "$as_me: failed program was:" >&5
33444 sed 's/^/| /' conftest.$ac_ext >&5
33445
33446
33447 { echo "$as_me:$LINENO: result: no" >&5
33448 echo "${ECHO_T}no" >&6; }
33449
33450 fi
33451
33452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33453 conftest$ac_exeext conftest.$ac_ext
33454
33455 fi
33456
33457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33458 conftest$ac_exeext conftest.$ac_ext
33459 LDFLAGS="$saveLdflags"
33460 ;;
33461
33462 *-*-darwin* )
33463 install_name_tool=`which install_name_tool`
33464 if test "$install_name_tool" -a -x "$install_name_tool"; then
33465 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33466 cat <<EOF >change-install-names
33467 #!/bin/sh
33468 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33469 inst_cmd="install_name_tool "
33470 for i in \${libnames} ; do
33471 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33472 done
33473 \${inst_cmd} \${3}
33474 EOF
33475 chmod +x change-install-names
33476 fi
33477 ;;
33478
33479 *-*-cygwin* | *-*-mingw32* )
33480 ;;
33481
33482 *-*-hpux* )
33483 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33484 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33485 ;;
33486
33487 esac
33488 fi
33489
33490 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33491
33492 if test $wxUSE_RPATH = "no"; then
33493 SAMPLES_RPATH_FLAG=''
33494 SAMPLES_RPATH_POSTLINK=''
33495 WXCONFIG_RPATH=''
33496 fi
33497
33498 SHARED=1
33499
33500 else
33501
33502 config_linkage_component="-static"
33503 SHARED=0
33504
33505 fi
33506
33507
33508 UNICODE=0
33509 lib_unicode_suffix=
33510 WX_CHARTYPE="ansi"
33511 if test "$wxUSE_UNICODE" = "yes"; then
33512 lib_unicode_suffix=u
33513 WX_CHARTYPE="unicode"
33514 UNICODE=1
33515 fi
33516
33517 lib_debug_suffix=
33518 WX_DEBUGTYPE="release"
33519 DEBUG_FLAG=0
33520 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33521 lib_debug_suffix=d
33522 WX_DEBUGTYPE="debug"
33523 DEBUG_FLAG=1
33524 fi
33525
33526 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33527 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33528
33529 DEBUG_INFO=0
33530 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33531 DEBUG_INFO=1
33532 fi
33533
33534 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr a-z A-Z`
33535
33536 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33537
33538 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33539
33540 if test "$cross_compiling" = "yes"; then
33541 HOST_SUFFIX="-$host_alias"
33542 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33543 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33544 fi
33545
33546 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33547 if test "${TOOLKIT_DIR}" = "os2"; then
33548 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33549 else
33550 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33551 fi
33552
33553
33554
33555 if test "$wxUSE_COCOA" = 1; then
33556
33557 ac_ext=c
33558 ac_cpp='$CPP $CPPFLAGS'
33559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562
33563 ac_ext=m
33564
33565 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33566 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33567 cat >conftest.$ac_ext <<_ACEOF
33568 /* confdefs.h. */
33569 _ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 #include <AppKit/NSEvent.h>
33574 #include <CoreFoundation/CoreFoundation.h>
33575
33576 int
33577 main ()
33578 {
33579
33580 ;
33581 return 0;
33582 }
33583 _ACEOF
33584 rm -f conftest.$ac_objext
33585 if { (ac_try="$ac_compile"
33586 case "(($ac_try" in
33587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33588 *) ac_try_echo=$ac_try;;
33589 esac
33590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33591 (eval "$ac_compile") 2>conftest.er1
33592 ac_status=$?
33593 grep -v '^ *+' conftest.er1 >conftest.err
33594 rm -f conftest.er1
33595 cat conftest.err >&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } && {
33598 test -z "$ac_c_werror_flag" ||
33599 test ! -s conftest.err
33600 } && test -s conftest.$ac_objext; then
33601 { echo "$as_me:$LINENO: result: no" >&5
33602 echo "${ECHO_T}no" >&6; }
33603 else
33604 echo "$as_me: failed program was:" >&5
33605 sed 's/^/| /' conftest.$ac_ext >&5
33606
33607 { echo "$as_me:$LINENO: result: yes" >&5
33608 echo "${ECHO_T}yes" >&6; }
33609 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33610 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33611 cat >conftest.$ac_ext <<_ACEOF
33612 /* confdefs.h. */
33613 _ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33617 #define __Point__ 1
33618 #include <AppKit/NSEvent.h>
33619 #include <CoreFoundation/CoreFoundation.h>
33620
33621 int
33622 main ()
33623 {
33624
33625 ;
33626 return 0;
33627 }
33628 _ACEOF
33629 rm -f conftest.$ac_objext
33630 if { (ac_try="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33633 *) ac_try_echo=$ac_try;;
33634 esac
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33637 ac_status=$?
33638 grep -v '^ *+' conftest.er1 >conftest.err
33639 rm -f conftest.er1
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.$ac_objext; then
33646 { echo "$as_me:$LINENO: result: yes" >&5
33647 echo "${ECHO_T}yes" >&6; }
33648 cat >>confdefs.h <<\_ACEOF
33649 #define __Point__ 1
33650 _ACEOF
33651
33652
33653 else
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.$ac_ext >&5
33656
33657 { { echo "$as_me:$LINENO: error: no
33658 See \`config.log' for more details." >&5
33659 echo "$as_me: error: no
33660 See \`config.log' for more details." >&2;}
33661 { (exit 1); exit 1; }; }
33662
33663 fi
33664
33665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33666
33667 fi
33668
33669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33670 ac_ext=c
33671 ac_cpp='$CPP $CPPFLAGS'
33672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33675
33676 fi
33677
33678
33679 { echo "$as_me:$LINENO: checking for mode_t" >&5
33680 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33681 if test "${ac_cv_type_mode_t+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684 cat >conftest.$ac_ext <<_ACEOF
33685 /* confdefs.h. */
33686 _ACEOF
33687 cat confdefs.h >>conftest.$ac_ext
33688 cat >>conftest.$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 $ac_includes_default
33691 typedef mode_t ac__type_new_;
33692 int
33693 main ()
33694 {
33695 if ((ac__type_new_ *) 0)
33696 return 0;
33697 if (sizeof (ac__type_new_))
33698 return 0;
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33708 esac
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720 ac_cv_type_mode_t=yes
33721 else
33722 echo "$as_me: failed program was:" >&5
33723 sed 's/^/| /' conftest.$ac_ext >&5
33724
33725 ac_cv_type_mode_t=no
33726 fi
33727
33728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 fi
33730 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33731 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33732 if test $ac_cv_type_mode_t = yes; then
33733 :
33734 else
33735
33736 cat >>confdefs.h <<_ACEOF
33737 #define mode_t int
33738 _ACEOF
33739
33740 fi
33741
33742 { echo "$as_me:$LINENO: checking for off_t" >&5
33743 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33744 if test "${ac_cv_type_off_t+set}" = set; then
33745 echo $ECHO_N "(cached) $ECHO_C" >&6
33746 else
33747 cat >conftest.$ac_ext <<_ACEOF
33748 /* confdefs.h. */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753 $ac_includes_default
33754 typedef off_t ac__type_new_;
33755 int
33756 main ()
33757 {
33758 if ((ac__type_new_ *) 0)
33759 return 0;
33760 if (sizeof (ac__type_new_))
33761 return 0;
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 rm -f conftest.$ac_objext
33767 if { (ac_try="$ac_compile"
33768 case "(($ac_try" in
33769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33770 *) ac_try_echo=$ac_try;;
33771 esac
33772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33773 (eval "$ac_compile") 2>conftest.er1
33774 ac_status=$?
33775 grep -v '^ *+' conftest.er1 >conftest.err
33776 rm -f conftest.er1
33777 cat conftest.err >&5
33778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33779 (exit $ac_status); } && {
33780 test -z "$ac_c_werror_flag" ||
33781 test ! -s conftest.err
33782 } && test -s conftest.$ac_objext; then
33783 ac_cv_type_off_t=yes
33784 else
33785 echo "$as_me: failed program was:" >&5
33786 sed 's/^/| /' conftest.$ac_ext >&5
33787
33788 ac_cv_type_off_t=no
33789 fi
33790
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792 fi
33793 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33794 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33795 if test $ac_cv_type_off_t = yes; then
33796 :
33797 else
33798
33799 cat >>confdefs.h <<_ACEOF
33800 #define off_t long int
33801 _ACEOF
33802
33803 fi
33804
33805 { echo "$as_me:$LINENO: checking for pid_t" >&5
33806 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33807 if test "${ac_cv_type_pid_t+set}" = set; then
33808 echo $ECHO_N "(cached) $ECHO_C" >&6
33809 else
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816 $ac_includes_default
33817 typedef pid_t ac__type_new_;
33818 int
33819 main ()
33820 {
33821 if ((ac__type_new_ *) 0)
33822 return 0;
33823 if (sizeof (ac__type_new_))
33824 return 0;
33825 ;
33826 return 0;
33827 }
33828 _ACEOF
33829 rm -f conftest.$ac_objext
33830 if { (ac_try="$ac_compile"
33831 case "(($ac_try" in
33832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833 *) ac_try_echo=$ac_try;;
33834 esac
33835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33836 (eval "$ac_compile") 2>conftest.er1
33837 ac_status=$?
33838 grep -v '^ *+' conftest.er1 >conftest.err
33839 rm -f conftest.er1
33840 cat conftest.err >&5
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); } && {
33843 test -z "$ac_c_werror_flag" ||
33844 test ! -s conftest.err
33845 } && test -s conftest.$ac_objext; then
33846 ac_cv_type_pid_t=yes
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 ac_cv_type_pid_t=no
33852 fi
33853
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33855 fi
33856 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33858 if test $ac_cv_type_pid_t = yes; then
33859 :
33860 else
33861
33862 cat >>confdefs.h <<_ACEOF
33863 #define pid_t int
33864 _ACEOF
33865
33866 fi
33867
33868 { echo "$as_me:$LINENO: checking for size_t" >&5
33869 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33870 if test "${ac_cv_type_size_t+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
33873 cat >conftest.$ac_ext <<_ACEOF
33874 /* confdefs.h. */
33875 _ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879 $ac_includes_default
33880 typedef size_t ac__type_new_;
33881 int
33882 main ()
33883 {
33884 if ((ac__type_new_ *) 0)
33885 return 0;
33886 if (sizeof (ac__type_new_))
33887 return 0;
33888 ;
33889 return 0;
33890 }
33891 _ACEOF
33892 rm -f conftest.$ac_objext
33893 if { (ac_try="$ac_compile"
33894 case "(($ac_try" in
33895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33896 *) ac_try_echo=$ac_try;;
33897 esac
33898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33899 (eval "$ac_compile") 2>conftest.er1
33900 ac_status=$?
33901 grep -v '^ *+' conftest.er1 >conftest.err
33902 rm -f conftest.er1
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } && {
33906 test -z "$ac_c_werror_flag" ||
33907 test ! -s conftest.err
33908 } && test -s conftest.$ac_objext; then
33909 ac_cv_type_size_t=yes
33910 else
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.$ac_ext >&5
33913
33914 ac_cv_type_size_t=no
33915 fi
33916
33917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33918 fi
33919 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33920 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33921 if test $ac_cv_type_size_t = yes; then
33922 :
33923 else
33924
33925 cat >>confdefs.h <<_ACEOF
33926 #define size_t unsigned int
33927 _ACEOF
33928
33929 fi
33930
33931
33932 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33933 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33934 if test "${ac_cv_type_ssize_t+set}" = set; then
33935 echo $ECHO_N "(cached) $ECHO_C" >&6
33936 else
33937 cat >conftest.$ac_ext <<_ACEOF
33938 /* confdefs.h. */
33939 _ACEOF
33940 cat confdefs.h >>conftest.$ac_ext
33941 cat >>conftest.$ac_ext <<_ACEOF
33942 /* end confdefs.h. */
33943 $ac_includes_default
33944 typedef ssize_t ac__type_new_;
33945 int
33946 main ()
33947 {
33948 if ((ac__type_new_ *) 0)
33949 return 0;
33950 if (sizeof (ac__type_new_))
33951 return 0;
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 rm -f conftest.$ac_objext
33957 if { (ac_try="$ac_compile"
33958 case "(($ac_try" in
33959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33960 *) ac_try_echo=$ac_try;;
33961 esac
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_compile") 2>conftest.er1
33964 ac_status=$?
33965 grep -v '^ *+' conftest.er1 >conftest.err
33966 rm -f conftest.er1
33967 cat conftest.err >&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } && {
33970 test -z "$ac_c_werror_flag" ||
33971 test ! -s conftest.err
33972 } && test -s conftest.$ac_objext; then
33973 ac_cv_type_ssize_t=yes
33974 else
33975 echo "$as_me: failed program was:" >&5
33976 sed 's/^/| /' conftest.$ac_ext >&5
33977
33978 ac_cv_type_ssize_t=no
33979 fi
33980
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33982 fi
33983 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33984 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33985 if test $ac_cv_type_ssize_t = yes; then
33986
33987 cat >>confdefs.h <<_ACEOF
33988 #define HAVE_SSIZE_T 1
33989 _ACEOF
33990
33991
33992 fi
33993
33994
33995 ac_ext=cpp
33996 ac_cpp='$CXXCPP $CPPFLAGS'
33997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34001 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34002 if test "${wx_cv_size_t_is_uint+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005
34006 cat >conftest.$ac_ext <<_ACEOF
34007 /* confdefs.h. */
34008 _ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34012 #include <stddef.h>
34013 int
34014 main ()
34015 {
34016
34017 return 0; }
34018
34019 struct Foo { void foo(size_t); void foo(unsigned int); };
34020
34021 int bar() {
34022
34023 ;
34024 return 0;
34025 }
34026 _ACEOF
34027 rm -f conftest.$ac_objext
34028 if { (ac_try="$ac_compile"
34029 case "(($ac_try" in
34030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34031 *) ac_try_echo=$ac_try;;
34032 esac
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_compile") 2>conftest.er1
34035 ac_status=$?
34036 grep -v '^ *+' conftest.er1 >conftest.err
34037 rm -f conftest.er1
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_cxx_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest.$ac_objext; then
34044 wx_cv_size_t_is_uint=no
34045 else
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34048
34049 wx_cv_size_t_is_uint=yes
34050
34051 fi
34052
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34054
34055
34056 fi
34057 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34058 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34059
34060 if test "$wx_cv_size_t_is_uint" = "yes"; then
34061 cat >>confdefs.h <<\_ACEOF
34062 #define wxSIZE_T_IS_UINT 1
34063 _ACEOF
34064
34065 else
34066 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34067 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34068 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 else
34071 cat >conftest.$ac_ext <<_ACEOF
34072 /* confdefs.h. */
34073 _ACEOF
34074 cat confdefs.h >>conftest.$ac_ext
34075 cat >>conftest.$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077 #include <stddef.h>
34078 int
34079 main ()
34080 {
34081
34082 return 0; }
34083
34084 struct Foo { void foo(size_t); void foo(unsigned long); };
34085
34086 int bar() {
34087
34088 ;
34089 return 0;
34090 }
34091 _ACEOF
34092 rm -f conftest.$ac_objext
34093 if { (ac_try="$ac_compile"
34094 case "(($ac_try" in
34095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34096 *) ac_try_echo=$ac_try;;
34097 esac
34098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34099 (eval "$ac_compile") 2>conftest.er1
34100 ac_status=$?
34101 grep -v '^ *+' conftest.er1 >conftest.err
34102 rm -f conftest.er1
34103 cat conftest.err >&5
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); } && {
34106 test -z "$ac_cxx_werror_flag" ||
34107 test ! -s conftest.err
34108 } && test -s conftest.$ac_objext; then
34109 wx_cv_size_t_is_ulong=no
34110 else
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.$ac_ext >&5
34113
34114 wx_cv_size_t_is_ulong=yes
34115
34116 fi
34117
34118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34119
34120 fi
34121 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34122 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34123
34124 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34125 cat >>confdefs.h <<\_ACEOF
34126 #define wxSIZE_T_IS_ULONG 1
34127 _ACEOF
34128
34129 fi
34130 fi
34131
34132 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34133 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34134 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137 cat >conftest.$ac_ext <<_ACEOF
34138 /* confdefs.h. */
34139 _ACEOF
34140 cat confdefs.h >>conftest.$ac_ext
34141 cat >>conftest.$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34143 #include <wchar.h>
34144 int
34145 main ()
34146 {
34147
34148 return 0; }
34149
34150 struct Foo { void foo(wchar_t);
34151 void foo(unsigned short);
34152 void foo(unsigned int);
34153 void foo(unsigned long); };
34154
34155 int bar() {
34156
34157 ;
34158 return 0;
34159 }
34160 _ACEOF
34161 rm -f conftest.$ac_objext
34162 if { (ac_try="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34165 *) ac_try_echo=$ac_try;;
34166 esac
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34169 ac_status=$?
34170 grep -v '^ *+' conftest.er1 >conftest.err
34171 rm -f conftest.er1
34172 cat conftest.err >&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } && {
34175 test -z "$ac_cxx_werror_flag" ||
34176 test ! -s conftest.err
34177 } && test -s conftest.$ac_objext; then
34178 wx_cv_wchar_t_is_separate_type=yes
34179 else
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34182
34183 wx_cv_wchar_t_is_separate_type=no
34184
34185 fi
34186
34187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34188
34189 fi
34190 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34191 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34192
34193 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34194 cat >>confdefs.h <<\_ACEOF
34195 #define wxWCHAR_T_IS_REAL_TYPE 1
34196 _ACEOF
34197
34198 else
34199 cat >>confdefs.h <<\_ACEOF
34200 #define wxWCHAR_T_IS_REAL_TYPE 0
34201 _ACEOF
34202
34203 fi
34204
34205 ac_ext=c
34206 ac_cpp='$CPP $CPPFLAGS'
34207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34210
34211
34212 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34213 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34214 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34216 else
34217
34218 cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h. */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34224 #include <pwd.h>
34225 int
34226 main ()
34227 {
34228
34229 char *p;
34230 struct passwd *pw;
34231 p = pw->pw_gecos;
34232
34233 ;
34234 return 0;
34235 }
34236 _ACEOF
34237 rm -f conftest.$ac_objext
34238 if { (ac_try="$ac_compile"
34239 case "(($ac_try" in
34240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34241 *) ac_try_echo=$ac_try;;
34242 esac
34243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34244 (eval "$ac_compile") 2>conftest.er1
34245 ac_status=$?
34246 grep -v '^ *+' conftest.er1 >conftest.err
34247 rm -f conftest.er1
34248 cat conftest.err >&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } && {
34251 test -z "$ac_c_werror_flag" ||
34252 test ! -s conftest.err
34253 } && test -s conftest.$ac_objext; then
34254
34255 wx_cv_struct_pw_gecos=yes
34256
34257 else
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34260
34261
34262 wx_cv_struct_pw_gecos=no
34263
34264
34265 fi
34266
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268
34269
34270 fi
34271 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34272 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34273
34274 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34275 cat >>confdefs.h <<\_ACEOF
34276 #define HAVE_PW_GECOS 1
34277 _ACEOF
34278
34279 fi
34280
34281
34282 if test "$wxUSE_WCHAR_T" = "yes"; then
34283 cat >>confdefs.h <<\_ACEOF
34284 #define wxUSE_WCHAR_T 1
34285 _ACEOF
34286
34287
34288 WCSLEN_FOUND=0
34289 WCHAR_LINK=
34290
34291 for ac_func in wcslen
34292 do
34293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34296 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h. */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34307 #define $ac_func innocuous_$ac_func
34308
34309 /* System header to define __stub macros and hopefully few prototypes,
34310 which can conflict with char $ac_func (); below.
34311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34312 <limits.h> exists even on freestanding compilers. */
34313
34314 #ifdef __STDC__
34315 # include <limits.h>
34316 #else
34317 # include <assert.h>
34318 #endif
34319
34320 #undef $ac_func
34321
34322 /* Override any GCC internal prototype to avoid an error.
34323 Use char because int might match the return type of a GCC
34324 builtin and then its argument prototype would still apply. */
34325 #ifdef __cplusplus
34326 extern "C"
34327 #endif
34328 char $ac_func ();
34329 /* The GNU C library defines this for functions which it implements
34330 to always fail with ENOSYS. Some functions are actually named
34331 something starting with __ and the normal name is an alias. */
34332 #if defined __stub_$ac_func || defined __stub___$ac_func
34333 choke me
34334 #endif
34335
34336 int
34337 main ()
34338 {
34339 return $ac_func ();
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 rm -f conftest.$ac_objext conftest$ac_exeext
34345 if { (ac_try="$ac_link"
34346 case "(($ac_try" in
34347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34348 *) ac_try_echo=$ac_try;;
34349 esac
34350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34351 (eval "$ac_link") 2>conftest.er1
34352 ac_status=$?
34353 grep -v '^ *+' conftest.er1 >conftest.err
34354 rm -f conftest.er1
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } && {
34358 test -z "$ac_c_werror_flag" ||
34359 test ! -s conftest.err
34360 } && test -s conftest$ac_exeext &&
34361 $as_test_x conftest$ac_exeext; then
34362 eval "$as_ac_var=yes"
34363 else
34364 echo "$as_me: failed program was:" >&5
34365 sed 's/^/| /' conftest.$ac_ext >&5
34366
34367 eval "$as_ac_var=no"
34368 fi
34369
34370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34371 conftest$ac_exeext conftest.$ac_ext
34372 fi
34373 ac_res=`eval echo '${'$as_ac_var'}'`
34374 { echo "$as_me:$LINENO: result: $ac_res" >&5
34375 echo "${ECHO_T}$ac_res" >&6; }
34376 if test `eval echo '${'$as_ac_var'}'` = yes; then
34377 cat >>confdefs.h <<_ACEOF
34378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34379 _ACEOF
34380 WCSLEN_FOUND=1
34381 fi
34382 done
34383
34384
34385 if test "$WCSLEN_FOUND" = 0; then
34386 if test "$TOOLKIT" = "MSW"; then
34387 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34388 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34389 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34391 else
34392 ac_check_lib_save_LIBS=$LIBS
34393 LIBS="-lmsvcrt $LIBS"
34394 cat >conftest.$ac_ext <<_ACEOF
34395 /* confdefs.h. */
34396 _ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400
34401 /* Override any GCC internal prototype to avoid an error.
34402 Use char because int might match the return type of a GCC
34403 builtin and then its argument prototype would still apply. */
34404 #ifdef __cplusplus
34405 extern "C"
34406 #endif
34407 char wcslen ();
34408 int
34409 main ()
34410 {
34411 return wcslen ();
34412 ;
34413 return 0;
34414 }
34415 _ACEOF
34416 rm -f conftest.$ac_objext conftest$ac_exeext
34417 if { (ac_try="$ac_link"
34418 case "(($ac_try" in
34419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34420 *) ac_try_echo=$ac_try;;
34421 esac
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_link") 2>conftest.er1
34424 ac_status=$?
34425 grep -v '^ *+' conftest.er1 >conftest.err
34426 rm -f conftest.er1
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest$ac_exeext &&
34433 $as_test_x conftest$ac_exeext; then
34434 ac_cv_lib_msvcrt_wcslen=yes
34435 else
34436 echo "$as_me: failed program was:" >&5
34437 sed 's/^/| /' conftest.$ac_ext >&5
34438
34439 ac_cv_lib_msvcrt_wcslen=no
34440 fi
34441
34442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34443 conftest$ac_exeext conftest.$ac_ext
34444 LIBS=$ac_check_lib_save_LIBS
34445 fi
34446 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34447 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34448 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34449 WCHAR_OK=1
34450 fi
34451
34452 else
34453 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34454 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34455 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34456 echo $ECHO_N "(cached) $ECHO_C" >&6
34457 else
34458 ac_check_lib_save_LIBS=$LIBS
34459 LIBS="-lw $LIBS"
34460 cat >conftest.$ac_ext <<_ACEOF
34461 /* confdefs.h. */
34462 _ACEOF
34463 cat confdefs.h >>conftest.$ac_ext
34464 cat >>conftest.$ac_ext <<_ACEOF
34465 /* end confdefs.h. */
34466
34467 /* Override any GCC internal prototype to avoid an error.
34468 Use char because int might match the return type of a GCC
34469 builtin and then its argument prototype would still apply. */
34470 #ifdef __cplusplus
34471 extern "C"
34472 #endif
34473 char wcslen ();
34474 int
34475 main ()
34476 {
34477 return wcslen ();
34478 ;
34479 return 0;
34480 }
34481 _ACEOF
34482 rm -f conftest.$ac_objext conftest$ac_exeext
34483 if { (ac_try="$ac_link"
34484 case "(($ac_try" in
34485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34486 *) ac_try_echo=$ac_try;;
34487 esac
34488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34489 (eval "$ac_link") 2>conftest.er1
34490 ac_status=$?
34491 grep -v '^ *+' conftest.er1 >conftest.err
34492 rm -f conftest.er1
34493 cat conftest.err >&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } && {
34496 test -z "$ac_c_werror_flag" ||
34497 test ! -s conftest.err
34498 } && test -s conftest$ac_exeext &&
34499 $as_test_x conftest$ac_exeext; then
34500 ac_cv_lib_w_wcslen=yes
34501 else
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.$ac_ext >&5
34504
34505 ac_cv_lib_w_wcslen=no
34506 fi
34507
34508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34509 conftest$ac_exeext conftest.$ac_ext
34510 LIBS=$ac_check_lib_save_LIBS
34511 fi
34512 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34513 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34514 if test $ac_cv_lib_w_wcslen = yes; then
34515
34516 WCHAR_LINK=" -lw"
34517 WCSLEN_FOUND=1
34518
34519 fi
34520
34521 fi
34522 fi
34523
34524 if test "$WCSLEN_FOUND" = 1; then
34525 cat >>confdefs.h <<\_ACEOF
34526 #define HAVE_WCSLEN 1
34527 _ACEOF
34528
34529 fi
34530
34531
34532 for ac_func in wcsdup
34533 do
34534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 else
34540 cat >conftest.$ac_ext <<_ACEOF
34541 /* confdefs.h. */
34542 _ACEOF
34543 cat confdefs.h >>conftest.$ac_ext
34544 cat >>conftest.$ac_ext <<_ACEOF
34545 /* end confdefs.h. */
34546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34548 #define $ac_func innocuous_$ac_func
34549
34550 /* System header to define __stub macros and hopefully few prototypes,
34551 which can conflict with char $ac_func (); below.
34552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34553 <limits.h> exists even on freestanding compilers. */
34554
34555 #ifdef __STDC__
34556 # include <limits.h>
34557 #else
34558 # include <assert.h>
34559 #endif
34560
34561 #undef $ac_func
34562
34563 /* Override any GCC internal prototype to avoid an error.
34564 Use char because int might match the return type of a GCC
34565 builtin and then its argument prototype would still apply. */
34566 #ifdef __cplusplus
34567 extern "C"
34568 #endif
34569 char $ac_func ();
34570 /* The GNU C library defines this for functions which it implements
34571 to always fail with ENOSYS. Some functions are actually named
34572 something starting with __ and the normal name is an alias. */
34573 #if defined __stub_$ac_func || defined __stub___$ac_func
34574 choke me
34575 #endif
34576
34577 int
34578 main ()
34579 {
34580 return $ac_func ();
34581 ;
34582 return 0;
34583 }
34584 _ACEOF
34585 rm -f conftest.$ac_objext conftest$ac_exeext
34586 if { (ac_try="$ac_link"
34587 case "(($ac_try" in
34588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34589 *) ac_try_echo=$ac_try;;
34590 esac
34591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34592 (eval "$ac_link") 2>conftest.er1
34593 ac_status=$?
34594 grep -v '^ *+' conftest.er1 >conftest.err
34595 rm -f conftest.er1
34596 cat conftest.err >&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && {
34599 test -z "$ac_c_werror_flag" ||
34600 test ! -s conftest.err
34601 } && test -s conftest$ac_exeext &&
34602 $as_test_x conftest$ac_exeext; then
34603 eval "$as_ac_var=yes"
34604 else
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34607
34608 eval "$as_ac_var=no"
34609 fi
34610
34611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34612 conftest$ac_exeext conftest.$ac_ext
34613 fi
34614 ac_res=`eval echo '${'$as_ac_var'}'`
34615 { echo "$as_me:$LINENO: result: $ac_res" >&5
34616 echo "${ECHO_T}$ac_res" >&6; }
34617 if test `eval echo '${'$as_ac_var'}'` = yes; then
34618 cat >>confdefs.h <<_ACEOF
34619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34620 _ACEOF
34621
34622 fi
34623 done
34624
34625
34626 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34627 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34628 fi
34629
34630 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34631 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34632 if test "${ac_cv_type_mbstate_t+set}" = set; then
34633 echo $ECHO_N "(cached) $ECHO_C" >&6
34634 else
34635 cat >conftest.$ac_ext <<_ACEOF
34636 /* confdefs.h. */
34637 _ACEOF
34638 cat confdefs.h >>conftest.$ac_ext
34639 cat >>conftest.$ac_ext <<_ACEOF
34640 /* end confdefs.h. */
34641 #include <wchar.h>
34642
34643 typedef mbstate_t ac__type_new_;
34644 int
34645 main ()
34646 {
34647 if ((ac__type_new_ *) 0)
34648 return 0;
34649 if (sizeof (ac__type_new_))
34650 return 0;
34651 ;
34652 return 0;
34653 }
34654 _ACEOF
34655 rm -f conftest.$ac_objext
34656 if { (ac_try="$ac_compile"
34657 case "(($ac_try" in
34658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34659 *) ac_try_echo=$ac_try;;
34660 esac
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_compile") 2>conftest.er1
34663 ac_status=$?
34664 grep -v '^ *+' conftest.er1 >conftest.err
34665 rm -f conftest.er1
34666 cat conftest.err >&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } && {
34669 test -z "$ac_c_werror_flag" ||
34670 test ! -s conftest.err
34671 } && test -s conftest.$ac_objext; then
34672 ac_cv_type_mbstate_t=yes
34673 else
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.$ac_ext >&5
34676
34677 ac_cv_type_mbstate_t=no
34678 fi
34679
34680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34681 fi
34682 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34683 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34684 if test $ac_cv_type_mbstate_t = yes; then
34685
34686 cat >>confdefs.h <<_ACEOF
34687 #define HAVE_MBSTATE_T 1
34688 _ACEOF
34689
34690
34691 for ac_func in wcsrtombs
34692 do
34693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34697 echo $ECHO_N "(cached) $ECHO_C" >&6
34698 else
34699 cat >conftest.$ac_ext <<_ACEOF
34700 /* confdefs.h. */
34701 _ACEOF
34702 cat confdefs.h >>conftest.$ac_ext
34703 cat >>conftest.$ac_ext <<_ACEOF
34704 /* end confdefs.h. */
34705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34707 #define $ac_func innocuous_$ac_func
34708
34709 /* System header to define __stub macros and hopefully few prototypes,
34710 which can conflict with char $ac_func (); below.
34711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34712 <limits.h> exists even on freestanding compilers. */
34713
34714 #ifdef __STDC__
34715 # include <limits.h>
34716 #else
34717 # include <assert.h>
34718 #endif
34719
34720 #undef $ac_func
34721
34722 /* Override any GCC internal prototype to avoid an error.
34723 Use char because int might match the return type of a GCC
34724 builtin and then its argument prototype would still apply. */
34725 #ifdef __cplusplus
34726 extern "C"
34727 #endif
34728 char $ac_func ();
34729 /* The GNU C library defines this for functions which it implements
34730 to always fail with ENOSYS. Some functions are actually named
34731 something starting with __ and the normal name is an alias. */
34732 #if defined __stub_$ac_func || defined __stub___$ac_func
34733 choke me
34734 #endif
34735
34736 int
34737 main ()
34738 {
34739 return $ac_func ();
34740 ;
34741 return 0;
34742 }
34743 _ACEOF
34744 rm -f conftest.$ac_objext conftest$ac_exeext
34745 if { (ac_try="$ac_link"
34746 case "(($ac_try" in
34747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34748 *) ac_try_echo=$ac_try;;
34749 esac
34750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34751 (eval "$ac_link") 2>conftest.er1
34752 ac_status=$?
34753 grep -v '^ *+' conftest.er1 >conftest.err
34754 rm -f conftest.er1
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } && {
34758 test -z "$ac_c_werror_flag" ||
34759 test ! -s conftest.err
34760 } && test -s conftest$ac_exeext &&
34761 $as_test_x conftest$ac_exeext; then
34762 eval "$as_ac_var=yes"
34763 else
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34766
34767 eval "$as_ac_var=no"
34768 fi
34769
34770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34771 conftest$ac_exeext conftest.$ac_ext
34772 fi
34773 ac_res=`eval echo '${'$as_ac_var'}'`
34774 { echo "$as_me:$LINENO: result: $ac_res" >&5
34775 echo "${ECHO_T}$ac_res" >&6; }
34776 if test `eval echo '${'$as_ac_var'}'` = yes; then
34777 cat >>confdefs.h <<_ACEOF
34778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34779 _ACEOF
34780
34781 fi
34782 done
34783
34784 fi
34785
34786 else
34787 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34788 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34789 fi
34790
34791
34792
34793 for ac_func in snprintf vsnprintf
34794 do
34795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34799 echo $ECHO_N "(cached) $ECHO_C" >&6
34800 else
34801 cat >conftest.$ac_ext <<_ACEOF
34802 /* confdefs.h. */
34803 _ACEOF
34804 cat confdefs.h >>conftest.$ac_ext
34805 cat >>conftest.$ac_ext <<_ACEOF
34806 /* end confdefs.h. */
34807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34809 #define $ac_func innocuous_$ac_func
34810
34811 /* System header to define __stub macros and hopefully few prototypes,
34812 which can conflict with char $ac_func (); below.
34813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34814 <limits.h> exists even on freestanding compilers. */
34815
34816 #ifdef __STDC__
34817 # include <limits.h>
34818 #else
34819 # include <assert.h>
34820 #endif
34821
34822 #undef $ac_func
34823
34824 /* Override any GCC internal prototype to avoid an error.
34825 Use char because int might match the return type of a GCC
34826 builtin and then its argument prototype would still apply. */
34827 #ifdef __cplusplus
34828 extern "C"
34829 #endif
34830 char $ac_func ();
34831 /* The GNU C library defines this for functions which it implements
34832 to always fail with ENOSYS. Some functions are actually named
34833 something starting with __ and the normal name is an alias. */
34834 #if defined __stub_$ac_func || defined __stub___$ac_func
34835 choke me
34836 #endif
34837
34838 int
34839 main ()
34840 {
34841 return $ac_func ();
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 rm -f conftest.$ac_objext conftest$ac_exeext
34847 if { (ac_try="$ac_link"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34851 esac
34852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34853 (eval "$ac_link") 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } && {
34860 test -z "$ac_c_werror_flag" ||
34861 test ! -s conftest.err
34862 } && test -s conftest$ac_exeext &&
34863 $as_test_x conftest$ac_exeext; then
34864 eval "$as_ac_var=yes"
34865 else
34866 echo "$as_me: failed program was:" >&5
34867 sed 's/^/| /' conftest.$ac_ext >&5
34868
34869 eval "$as_ac_var=no"
34870 fi
34871
34872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34873 conftest$ac_exeext conftest.$ac_ext
34874 fi
34875 ac_res=`eval echo '${'$as_ac_var'}'`
34876 { echo "$as_me:$LINENO: result: $ac_res" >&5
34877 echo "${ECHO_T}$ac_res" >&6; }
34878 if test `eval echo '${'$as_ac_var'}'` = yes; then
34879 cat >>confdefs.h <<_ACEOF
34880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34881 _ACEOF
34882
34883 fi
34884 done
34885
34886
34887 if test "$ac_cv_func_vsnprintf" = "yes"; then
34888 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34889 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34890 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34891 echo $ECHO_N "(cached) $ECHO_C" >&6
34892 else
34893
34894 cat >conftest.$ac_ext <<_ACEOF
34895 /* confdefs.h. */
34896 _ACEOF
34897 cat confdefs.h >>conftest.$ac_ext
34898 cat >>conftest.$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34900
34901 #include <stdio.h>
34902 #include <stdarg.h>
34903 #ifdef __MSL__
34904 #if __MSL__ >= 0x6000
34905 namespace std {}
34906 using namespace std;
34907 #endif
34908 #endif
34909
34910 int
34911 main ()
34912 {
34913
34914 char *buf;
34915 va_list ap;
34916 vsnprintf(buf, 10u, "%s", ap);
34917
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 rm -f conftest.$ac_objext
34923 if { (ac_try="$ac_compile"
34924 case "(($ac_try" in
34925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34926 *) ac_try_echo=$ac_try;;
34927 esac
34928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34929 (eval "$ac_compile") 2>conftest.er1
34930 ac_status=$?
34931 grep -v '^ *+' conftest.er1 >conftest.err
34932 rm -f conftest.er1
34933 cat conftest.err >&5
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); } && {
34936 test -z "$ac_c_werror_flag" ||
34937 test ! -s conftest.err
34938 } && test -s conftest.$ac_objext; then
34939 wx_cv_func_vsnprintf_decl=yes
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34943
34944 wx_cv_func_vsnprintf_decl=no
34945
34946 fi
34947
34948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34949
34950
34951 fi
34952 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34953 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34954
34955 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34956 cat >>confdefs.h <<\_ACEOF
34957 #define HAVE_VSNPRINTF_DECL 1
34958 _ACEOF
34959
34960
34961 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34962 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34963 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 else
34966
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973
34974 #include <stdio.h>
34975 #include <stdarg.h>
34976 #ifdef __MSL__
34977 #if __MSL__ >= 0x6000
34978 namespace std {}
34979 using namespace std;
34980 #endif
34981 #endif
34982
34983 int
34984 main ()
34985 {
34986
34987 char *buf;
34988 va_list ap;
34989 const char *fmt = "%s";
34990 vsnprintf(buf, 10u, fmt, ap);
34991
34992 ;
34993 return 0;
34994 }
34995 _ACEOF
34996 rm -f conftest.$ac_objext
34997 if { (ac_try="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35000 *) ac_try_echo=$ac_try;;
35001 esac
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35004 ac_status=$?
35005 grep -v '^ *+' conftest.er1 >conftest.err
35006 rm -f conftest.er1
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.$ac_objext; then
35013 wx_cv_func_broken_vsnprintf_decl=no
35014 else
35015 echo "$as_me: failed program was:" >&5
35016 sed 's/^/| /' conftest.$ac_ext >&5
35017
35018 wx_cv_func_broken_vsnprintf_decl=yes
35019
35020 fi
35021
35022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35023
35024
35025 fi
35026 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35027 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35028
35029 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35030 cat >>confdefs.h <<\_ACEOF
35031 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35032 _ACEOF
35033
35034 fi
35035 fi
35036 fi
35037
35038 if test "$ac_cv_func_snprintf" = "yes"; then
35039 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35040 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35041 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35043 else
35044
35045 cat >conftest.$ac_ext <<_ACEOF
35046 /* confdefs.h. */
35047 _ACEOF
35048 cat confdefs.h >>conftest.$ac_ext
35049 cat >>conftest.$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35051
35052 #include <stdio.h>
35053 #include <stdarg.h>
35054 #ifdef __MSL__
35055 #if __MSL__ >= 0x6000
35056 namespace std {}
35057 using namespace std;
35058 #endif
35059 #endif
35060
35061 int
35062 main ()
35063 {
35064
35065 char *buf;
35066 snprintf(buf, 10u, "%s", "wx");
35067
35068 ;
35069 return 0;
35070 }
35071 _ACEOF
35072 rm -f conftest.$ac_objext
35073 if { (ac_try="$ac_compile"
35074 case "(($ac_try" in
35075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35076 *) ac_try_echo=$ac_try;;
35077 esac
35078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35079 (eval "$ac_compile") 2>conftest.er1
35080 ac_status=$?
35081 grep -v '^ *+' conftest.er1 >conftest.err
35082 rm -f conftest.er1
35083 cat conftest.err >&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } && {
35086 test -z "$ac_c_werror_flag" ||
35087 test ! -s conftest.err
35088 } && test -s conftest.$ac_objext; then
35089 wx_cv_func_snprintf_decl=yes
35090 else
35091 echo "$as_me: failed program was:" >&5
35092 sed 's/^/| /' conftest.$ac_ext >&5
35093
35094 wx_cv_func_snprintf_decl=no
35095
35096 fi
35097
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35099
35100
35101 fi
35102 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35103 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35104
35105 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35106 cat >>confdefs.h <<\_ACEOF
35107 #define HAVE_SNPRINTF_DECL 1
35108 _ACEOF
35109
35110 fi
35111
35112 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35113
35114 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35115 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35116 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35117 echo $ECHO_N "(cached) $ECHO_C" >&6
35118 else
35119
35120 if test "$cross_compiling" = yes; then
35121
35122 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35123 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35124 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35125 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35126 wx_cv_func_snprintf_pos_params=no
35127
35128
35129 else
35130 cat >conftest.$ac_ext <<_ACEOF
35131 /* confdefs.h. */
35132 _ACEOF
35133 cat confdefs.h >>conftest.$ac_ext
35134 cat >>conftest.$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35136
35137 #include <stdio.h>
35138
35139 int main (void)
35140 {
35141 char buffer[128];
35142 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35143 if (strcmp ("2 3 1", buffer) == 0)
35144 exit (0);
35145 exit (1);
35146 }
35147
35148 _ACEOF
35149 rm -f conftest$ac_exeext
35150 if { (ac_try="$ac_link"
35151 case "(($ac_try" in
35152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35153 *) ac_try_echo=$ac_try;;
35154 esac
35155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35156 (eval "$ac_link") 2>&5
35157 ac_status=$?
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35160 { (case "(($ac_try" in
35161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35162 *) ac_try_echo=$ac_try;;
35163 esac
35164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35165 (eval "$ac_try") 2>&5
35166 ac_status=$?
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); }; }; then
35169 wx_cv_func_snprintf_pos_params=no
35170 else
35171 echo "$as_me: program exited with status $ac_status" >&5
35172 echo "$as_me: failed program was:" >&5
35173 sed 's/^/| /' conftest.$ac_ext >&5
35174
35175 ( exit $ac_status )
35176 wx_cv_func_snprintf_pos_params=yes
35177 fi
35178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35179 fi
35180
35181
35182
35183
35184 fi
35185 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35186 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35187
35188 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35189 cat >>confdefs.h <<\_ACEOF
35190 #define HAVE_UNIX98_PRINTF 1
35191 _ACEOF
35192
35193 fi
35194 fi
35195 fi
35196
35197 if test "$wxUSE_UNICODE" = yes; then
35198
35199 wchar_headers="#include <stdio.h>
35200 #include <wchar.h>"
35201 case "${host}" in
35202 *-*-solaris2* )
35203
35204 for ac_header in widec.h
35205 do
35206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35207 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212 cat >conftest.$ac_ext <<_ACEOF
35213 /* confdefs.h. */
35214 _ACEOF
35215 cat confdefs.h >>conftest.$ac_ext
35216 cat >>conftest.$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 $ac_includes_default
35219
35220 #include <$ac_header>
35221 _ACEOF
35222 rm -f conftest.$ac_objext
35223 if { (ac_try="$ac_compile"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35226 *) ac_try_echo=$ac_try;;
35227 esac
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_compile") 2>conftest.er1
35230 ac_status=$?
35231 grep -v '^ *+' conftest.er1 >conftest.err
35232 rm -f conftest.er1
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest.$ac_objext; then
35239 eval "$as_ac_Header=yes"
35240 else
35241 echo "$as_me: failed program was:" >&5
35242 sed 's/^/| /' conftest.$ac_ext >&5
35243
35244 eval "$as_ac_Header=no"
35245 fi
35246
35247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35248 fi
35249 ac_res=`eval echo '${'$as_ac_Header'}'`
35250 { echo "$as_me:$LINENO: result: $ac_res" >&5
35251 echo "${ECHO_T}$ac_res" >&6; }
35252 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35253 cat >>confdefs.h <<_ACEOF
35254 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35255 _ACEOF
35256
35257 fi
35258
35259 done
35260
35261 if test "$ac_cv_header_widec_h" = "yes"; then
35262 wchar_headers="$wchar_headers
35263 #include <widec.h>"
35264 fi
35265 esac
35266
35267
35268 for wx_func in putws fputws wprintf vswprintf
35269 do
35270 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35271 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35272 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35273 echo $ECHO_N "(cached) $ECHO_C" >&6
35274 else
35275
35276 cat >conftest.$ac_ext <<_ACEOF
35277
35278 /* confdefs.h. */
35279 _ACEOF
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35283
35284 $wchar_headers
35285 $ac_includes_default
35286
35287 int
35288 main ()
35289 {
35290
35291 #ifndef $wx_func
35292 &$wx_func;
35293 #endif
35294
35295
35296 ;
35297 return 0;
35298 }
35299
35300 _ACEOF
35301 rm -f conftest.$ac_objext conftest$ac_exeext
35302 if { (ac_try="$ac_link"
35303 case "(($ac_try" in
35304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35305 *) ac_try_echo=$ac_try;;
35306 esac
35307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35308 (eval "$ac_link") 2>conftest.er1
35309 ac_status=$?
35310 grep -v '^ *+' conftest.er1 >conftest.err
35311 rm -f conftest.er1
35312 cat conftest.err >&5
35313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35314 (exit $ac_status); } && {
35315 test -z "$ac_c_werror_flag" ||
35316 test ! -s conftest.err
35317 } && test -s conftest$ac_exeext &&
35318 $as_test_x conftest$ac_exeext; then
35319 eval wx_cv_func_$wx_func=yes
35320 else
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.$ac_ext >&5
35323
35324 eval wx_cv_func_$wx_func=no
35325 fi
35326
35327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35328 conftest$ac_exeext conftest.$ac_ext
35329
35330 fi
35331 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35332 { echo "$as_me:$LINENO: result: $ac_res" >&5
35333 echo "${ECHO_T}$ac_res" >&6; }
35334
35335 if eval test \$wx_cv_func_$wx_func = yes
35336 then
35337 cat >>confdefs.h <<_ACEOF
35338 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35339 _ACEOF
35340
35341
35342 else
35343 :
35344
35345 fi
35346 done
35347
35348
35349 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35350 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35351 cat >conftest.$ac_ext <<_ACEOF
35352 /* confdefs.h. */
35353 _ACEOF
35354 cat confdefs.h >>conftest.$ac_ext
35355 cat >>conftest.$ac_ext <<_ACEOF
35356 /* end confdefs.h. */
35357 #include <wchar.h>
35358 int
35359 main ()
35360 {
35361 &_vsnwprintf;
35362 ;
35363 return 0;
35364 }
35365 _ACEOF
35366 rm -f conftest.$ac_objext
35367 if { (ac_try="$ac_compile"
35368 case "(($ac_try" in
35369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35370 *) ac_try_echo=$ac_try;;
35371 esac
35372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35373 (eval "$ac_compile") 2>conftest.er1
35374 ac_status=$?
35375 grep -v '^ *+' conftest.er1 >conftest.err
35376 rm -f conftest.er1
35377 cat conftest.err >&5
35378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 (exit $ac_status); } && {
35380 test -z "$ac_c_werror_flag" ||
35381 test ! -s conftest.err
35382 } && test -s conftest.$ac_objext; then
35383 { echo "$as_me:$LINENO: result: yes" >&5
35384 echo "${ECHO_T}yes" >&6; }
35385 cat >>confdefs.h <<\_ACEOF
35386 #define HAVE__VSNWPRINTF 1
35387 _ACEOF
35388
35389 else
35390 echo "$as_me: failed program was:" >&5
35391 sed 's/^/| /' conftest.$ac_ext >&5
35392
35393 { echo "$as_me:$LINENO: result: no" >&5
35394 echo "${ECHO_T}no" >&6; }
35395 fi
35396
35397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35398 fi
35399
35400 if test "$wxUSE_FILE" = "yes"; then
35401
35402 for wx_func in fsync
35403 do
35404 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35405 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35406 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35407 echo $ECHO_N "(cached) $ECHO_C" >&6
35408 else
35409
35410 cat >conftest.$ac_ext <<_ACEOF
35411
35412 /* confdefs.h. */
35413 _ACEOF
35414 cat confdefs.h >>conftest.$ac_ext
35415 cat >>conftest.$ac_ext <<_ACEOF
35416 /* end confdefs.h. */
35417
35418
35419 $ac_includes_default
35420
35421 int
35422 main ()
35423 {
35424
35425 #ifndef $wx_func
35426 &$wx_func;
35427 #endif
35428
35429
35430 ;
35431 return 0;
35432 }
35433
35434 _ACEOF
35435 rm -f conftest.$ac_objext conftest$ac_exeext
35436 if { (ac_try="$ac_link"
35437 case "(($ac_try" in
35438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35439 *) ac_try_echo=$ac_try;;
35440 esac
35441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35442 (eval "$ac_link") 2>conftest.er1
35443 ac_status=$?
35444 grep -v '^ *+' conftest.er1 >conftest.err
35445 rm -f conftest.er1
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } && {
35449 test -z "$ac_c_werror_flag" ||
35450 test ! -s conftest.err
35451 } && test -s conftest$ac_exeext &&
35452 $as_test_x conftest$ac_exeext; then
35453 eval wx_cv_func_$wx_func=yes
35454 else
35455 echo "$as_me: failed program was:" >&5
35456 sed 's/^/| /' conftest.$ac_ext >&5
35457
35458 eval wx_cv_func_$wx_func=no
35459 fi
35460
35461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35462 conftest$ac_exeext conftest.$ac_ext
35463
35464 fi
35465 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35466 { echo "$as_me:$LINENO: result: $ac_res" >&5
35467 echo "${ECHO_T}$ac_res" >&6; }
35468
35469 if eval test \$wx_cv_func_$wx_func = yes
35470 then
35471 cat >>confdefs.h <<_ACEOF
35472 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35473 _ACEOF
35474
35475
35476 else
35477 :
35478
35479 fi
35480 done
35481
35482 fi
35483
35484 ac_ext=cpp
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35489
35490
35491 for wx_func in round
35492 do
35493 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35494 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35495 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35496 echo $ECHO_N "(cached) $ECHO_C" >&6
35497 else
35498
35499 cat >conftest.$ac_ext <<_ACEOF
35500
35501 /* confdefs.h. */
35502 _ACEOF
35503 cat confdefs.h >>conftest.$ac_ext
35504 cat >>conftest.$ac_ext <<_ACEOF
35505 /* end confdefs.h. */
35506
35507 #include <math.h>
35508 $ac_includes_default
35509
35510 int
35511 main ()
35512 {
35513
35514 #ifndef $wx_func
35515 &$wx_func;
35516 #endif
35517
35518
35519 ;
35520 return 0;
35521 }
35522
35523 _ACEOF
35524 rm -f conftest.$ac_objext conftest$ac_exeext
35525 if { (ac_try="$ac_link"
35526 case "(($ac_try" in
35527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35528 *) ac_try_echo=$ac_try;;
35529 esac
35530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35531 (eval "$ac_link") 2>conftest.er1
35532 ac_status=$?
35533 grep -v '^ *+' conftest.er1 >conftest.err
35534 rm -f conftest.er1
35535 cat conftest.err >&5
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); } && {
35538 test -z "$ac_cxx_werror_flag" ||
35539 test ! -s conftest.err
35540 } && test -s conftest$ac_exeext &&
35541 $as_test_x conftest$ac_exeext; then
35542 eval wx_cv_func_$wx_func=yes
35543 else
35544 echo "$as_me: failed program was:" >&5
35545 sed 's/^/| /' conftest.$ac_ext >&5
35546
35547 eval wx_cv_func_$wx_func=no
35548 fi
35549
35550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35551 conftest$ac_exeext conftest.$ac_ext
35552
35553 fi
35554 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35555 { echo "$as_me:$LINENO: result: $ac_res" >&5
35556 echo "${ECHO_T}$ac_res" >&6; }
35557
35558 if eval test \$wx_cv_func_$wx_func = yes
35559 then
35560 cat >>confdefs.h <<_ACEOF
35561 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35562 _ACEOF
35563
35564
35565 else
35566 :
35567
35568 fi
35569 done
35570
35571 ac_ext=c
35572 ac_cpp='$CPP $CPPFLAGS'
35573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35576
35577
35578 if test "$TOOLKIT" != "MSW"; then
35579
35580
35581
35582
35583
35584 # Check whether --with-libiconv-prefix was given.
35585 if test "${with_libiconv_prefix+set}" = set; then
35586 withval=$with_libiconv_prefix;
35587 for dir in `echo "$withval" | tr : ' '`; do
35588 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35589 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35590 done
35591
35592 fi
35593
35594
35595 { echo "$as_me:$LINENO: checking for iconv" >&5
35596 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35597 if test "${am_cv_func_iconv+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 else
35600
35601 am_cv_func_iconv="no, consider installing GNU libiconv"
35602 am_cv_lib_iconv=no
35603 cat >conftest.$ac_ext <<_ACEOF
35604 /* confdefs.h. */
35605 _ACEOF
35606 cat confdefs.h >>conftest.$ac_ext
35607 cat >>conftest.$ac_ext <<_ACEOF
35608 /* end confdefs.h. */
35609 #include <stdlib.h>
35610 #include <iconv.h>
35611 int
35612 main ()
35613 {
35614 iconv_t cd = iconv_open("","");
35615 iconv(cd,NULL,NULL,NULL,NULL);
35616 iconv_close(cd);
35617 ;
35618 return 0;
35619 }
35620 _ACEOF
35621 rm -f conftest.$ac_objext conftest$ac_exeext
35622 if { (ac_try="$ac_link"
35623 case "(($ac_try" in
35624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35625 *) ac_try_echo=$ac_try;;
35626 esac
35627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35628 (eval "$ac_link") 2>conftest.er1
35629 ac_status=$?
35630 grep -v '^ *+' conftest.er1 >conftest.err
35631 rm -f conftest.er1
35632 cat conftest.err >&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } && {
35635 test -z "$ac_c_werror_flag" ||
35636 test ! -s conftest.err
35637 } && test -s conftest$ac_exeext &&
35638 $as_test_x conftest$ac_exeext; then
35639 am_cv_func_iconv=yes
35640 else
35641 echo "$as_me: failed program was:" >&5
35642 sed 's/^/| /' conftest.$ac_ext >&5
35643
35644
35645 fi
35646
35647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35648 conftest$ac_exeext conftest.$ac_ext
35649 if test "$am_cv_func_iconv" != yes; then
35650 am_save_LIBS="$LIBS"
35651 LIBS="$LIBS -liconv"
35652 cat >conftest.$ac_ext <<_ACEOF
35653 /* confdefs.h. */
35654 _ACEOF
35655 cat confdefs.h >>conftest.$ac_ext
35656 cat >>conftest.$ac_ext <<_ACEOF
35657 /* end confdefs.h. */
35658 #include <stdlib.h>
35659 #include <iconv.h>
35660 int
35661 main ()
35662 {
35663 iconv_t cd = iconv_open("","");
35664 iconv(cd,NULL,NULL,NULL,NULL);
35665 iconv_close(cd);
35666 ;
35667 return 0;
35668 }
35669 _ACEOF
35670 rm -f conftest.$ac_objext conftest$ac_exeext
35671 if { (ac_try="$ac_link"
35672 case "(($ac_try" in
35673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35674 *) ac_try_echo=$ac_try;;
35675 esac
35676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35677 (eval "$ac_link") 2>conftest.er1
35678 ac_status=$?
35679 grep -v '^ *+' conftest.er1 >conftest.err
35680 rm -f conftest.er1
35681 cat conftest.err >&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); } && {
35684 test -z "$ac_c_werror_flag" ||
35685 test ! -s conftest.err
35686 } && test -s conftest$ac_exeext &&
35687 $as_test_x conftest$ac_exeext; then
35688 am_cv_lib_iconv=yes
35689 am_cv_func_iconv=yes
35690 else
35691 echo "$as_me: failed program was:" >&5
35692 sed 's/^/| /' conftest.$ac_ext >&5
35693
35694
35695 fi
35696
35697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35698 conftest$ac_exeext conftest.$ac_ext
35699 LIBS="$am_save_LIBS"
35700 fi
35701
35702 fi
35703 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35704 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35705 if test "$am_cv_func_iconv" = yes; then
35706
35707 cat >>confdefs.h <<\_ACEOF
35708 #define HAVE_ICONV 1
35709 _ACEOF
35710
35711 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35712 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35713 if test "${wx_cv_func_iconv_const+set}" = set; then
35714 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 else
35716 cat >conftest.$ac_ext <<_ACEOF
35717 /* confdefs.h. */
35718 _ACEOF
35719 cat confdefs.h >>conftest.$ac_ext
35720 cat >>conftest.$ac_ext <<_ACEOF
35721 /* end confdefs.h. */
35722
35723 #include <stdlib.h>
35724 #include <iconv.h>
35725 extern
35726 #ifdef __cplusplus
35727 "C"
35728 #endif
35729 #if defined(__STDC__) || defined(__cplusplus)
35730 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35731 #else
35732 size_t iconv();
35733 #endif
35734
35735 int
35736 main ()
35737 {
35738
35739 ;
35740 return 0;
35741 }
35742 _ACEOF
35743 rm -f conftest.$ac_objext
35744 if { (ac_try="$ac_compile"
35745 case "(($ac_try" in
35746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35747 *) ac_try_echo=$ac_try;;
35748 esac
35749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35750 (eval "$ac_compile") 2>conftest.er1
35751 ac_status=$?
35752 grep -v '^ *+' conftest.er1 >conftest.err
35753 rm -f conftest.er1
35754 cat conftest.err >&5
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); } && {
35757 test -z "$ac_c_werror_flag" ||
35758 test ! -s conftest.err
35759 } && test -s conftest.$ac_objext; then
35760 wx_cv_func_iconv_const="no"
35761 else
35762 echo "$as_me: failed program was:" >&5
35763 sed 's/^/| /' conftest.$ac_ext >&5
35764
35765 wx_cv_func_iconv_const="yes"
35766
35767 fi
35768
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35770
35771 fi
35772 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35773 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35774
35775 iconv_const=
35776 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35777 iconv_const="const"
35778 fi
35779
35780
35781 cat >>confdefs.h <<_ACEOF
35782 #define ICONV_CONST $iconv_const
35783 _ACEOF
35784
35785 fi
35786 LIBICONV=
35787 if test "$am_cv_lib_iconv" = yes; then
35788 LIBICONV="-liconv"
35789 fi
35790
35791
35792 LIBS="$LIBICONV $LIBS"
35793
35794 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35795
35796 for ac_func in sigaction
35797 do
35798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35802 echo $ECHO_N "(cached) $ECHO_C" >&6
35803 else
35804 cat >conftest.$ac_ext <<_ACEOF
35805 /* confdefs.h. */
35806 _ACEOF
35807 cat confdefs.h >>conftest.$ac_ext
35808 cat >>conftest.$ac_ext <<_ACEOF
35809 /* end confdefs.h. */
35810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35812 #define $ac_func innocuous_$ac_func
35813
35814 /* System header to define __stub macros and hopefully few prototypes,
35815 which can conflict with char $ac_func (); below.
35816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35817 <limits.h> exists even on freestanding compilers. */
35818
35819 #ifdef __STDC__
35820 # include <limits.h>
35821 #else
35822 # include <assert.h>
35823 #endif
35824
35825 #undef $ac_func
35826
35827 /* Override any GCC internal prototype to avoid an error.
35828 Use char because int might match the return type of a GCC
35829 builtin and then its argument prototype would still apply. */
35830 #ifdef __cplusplus
35831 extern "C"
35832 #endif
35833 char $ac_func ();
35834 /* The GNU C library defines this for functions which it implements
35835 to always fail with ENOSYS. Some functions are actually named
35836 something starting with __ and the normal name is an alias. */
35837 #if defined __stub_$ac_func || defined __stub___$ac_func
35838 choke me
35839 #endif
35840
35841 int
35842 main ()
35843 {
35844 return $ac_func ();
35845 ;
35846 return 0;
35847 }
35848 _ACEOF
35849 rm -f conftest.$ac_objext conftest$ac_exeext
35850 if { (ac_try="$ac_link"
35851 case "(($ac_try" in
35852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35853 *) ac_try_echo=$ac_try;;
35854 esac
35855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35856 (eval "$ac_link") 2>conftest.er1
35857 ac_status=$?
35858 grep -v '^ *+' conftest.er1 >conftest.err
35859 rm -f conftest.er1
35860 cat conftest.err >&5
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); } && {
35863 test -z "$ac_c_werror_flag" ||
35864 test ! -s conftest.err
35865 } && test -s conftest$ac_exeext &&
35866 $as_test_x conftest$ac_exeext; then
35867 eval "$as_ac_var=yes"
35868 else
35869 echo "$as_me: failed program was:" >&5
35870 sed 's/^/| /' conftest.$ac_ext >&5
35871
35872 eval "$as_ac_var=no"
35873 fi
35874
35875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35876 conftest$ac_exeext conftest.$ac_ext
35877 fi
35878 ac_res=`eval echo '${'$as_ac_var'}'`
35879 { echo "$as_me:$LINENO: result: $ac_res" >&5
35880 echo "${ECHO_T}$ac_res" >&6; }
35881 if test `eval echo '${'$as_ac_var'}'` = yes; then
35882 cat >>confdefs.h <<_ACEOF
35883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35884 _ACEOF
35885
35886 fi
35887 done
35888
35889
35890 if test "$ac_cv_func_sigaction" = "no"; then
35891 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35892 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35893 wxUSE_ON_FATAL_EXCEPTION=no
35894 fi
35895
35896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35897 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35898 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35899 if test "${wx_cv_type_sa_handler+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 else
35902
35903 ac_ext=cpp
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35908
35909 cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h. */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 #include <signal.h>
35916 int
35917 main ()
35918 {
35919
35920 extern void testSigHandler(int);
35921
35922 struct sigaction sa;
35923 sa.sa_handler = testSigHandler;
35924
35925 ;
35926 return 0;
35927 }
35928 _ACEOF
35929 rm -f conftest.$ac_objext
35930 if { (ac_try="$ac_compile"
35931 case "(($ac_try" in
35932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35933 *) ac_try_echo=$ac_try;;
35934 esac
35935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35936 (eval "$ac_compile") 2>conftest.er1
35937 ac_status=$?
35938 grep -v '^ *+' conftest.er1 >conftest.err
35939 rm -f conftest.er1
35940 cat conftest.err >&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } && {
35943 test -z "$ac_cxx_werror_flag" ||
35944 test ! -s conftest.err
35945 } && test -s conftest.$ac_objext; then
35946
35947 wx_cv_type_sa_handler=int
35948
35949 else
35950 echo "$as_me: failed program was:" >&5
35951 sed 's/^/| /' conftest.$ac_ext >&5
35952
35953
35954 wx_cv_type_sa_handler=void
35955
35956 fi
35957
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35959 ac_ext=c
35960 ac_cpp='$CPP $CPPFLAGS'
35961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964
35965
35966 fi
35967 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35968 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35969
35970 cat >>confdefs.h <<_ACEOF
35971 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35972 _ACEOF
35973
35974 fi
35975 fi
35976
35977 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35978 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35979 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35980 if test "${wx_cv_func_backtrace+set}" = set; then
35981 echo $ECHO_N "(cached) $ECHO_C" >&6
35982 else
35983
35984 ac_ext=cpp
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35989
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 #include <execinfo.h>
35997 int
35998 main ()
35999 {
36000
36001 void *trace[1];
36002 char **messages;
36003
36004 backtrace(trace, 1);
36005 messages = backtrace_symbols(trace, 1);
36006
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 rm -f conftest.$ac_objext
36012 if { (ac_try="$ac_compile"
36013 case "(($ac_try" in
36014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36015 *) ac_try_echo=$ac_try;;
36016 esac
36017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36018 (eval "$ac_compile") 2>conftest.er1
36019 ac_status=$?
36020 grep -v '^ *+' conftest.er1 >conftest.err
36021 rm -f conftest.er1
36022 cat conftest.err >&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } && {
36025 test -z "$ac_cxx_werror_flag" ||
36026 test ! -s conftest.err
36027 } && test -s conftest.$ac_objext; then
36028 wx_cv_func_backtrace=yes
36029 else
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.$ac_ext >&5
36032
36033 wx_cv_func_backtrace=no
36034
36035 fi
36036
36037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36038 ac_ext=c
36039 ac_cpp='$CPP $CPPFLAGS'
36040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36043
36044
36045
36046 fi
36047 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36048 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36049
36050
36051 if test "$wx_cv_func_backtrace" = "no"; then
36052 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36053 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36054 wxUSE_STACKWALKER=no
36055 else
36056 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36057 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36058 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061
36062 ac_ext=cpp
36063 ac_cpp='$CXXCPP $CPPFLAGS'
36064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36067
36068 cat >conftest.$ac_ext <<_ACEOF
36069 /* confdefs.h. */
36070 _ACEOF
36071 cat confdefs.h >>conftest.$ac_ext
36072 cat >>conftest.$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36074 #include <cxxabi.h>
36075 int
36076 main ()
36077 {
36078
36079 int rc;
36080 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36081
36082 ;
36083 return 0;
36084 }
36085 _ACEOF
36086 rm -f conftest.$ac_objext conftest$ac_exeext
36087 if { (ac_try="$ac_link"
36088 case "(($ac_try" in
36089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36091 esac
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_link") 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_cxx_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest$ac_exeext &&
36103 $as_test_x conftest$ac_exeext; then
36104 wx_cv_func_cxa_demangle=yes
36105 else
36106 echo "$as_me: failed program was:" >&5
36107 sed 's/^/| /' conftest.$ac_ext >&5
36108
36109 wx_cv_func_cxa_demangle=no
36110
36111 fi
36112
36113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36114 conftest$ac_exeext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120
36121
36122
36123 fi
36124 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36125 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36126
36127 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_CXA_DEMANGLE 1
36130 _ACEOF
36131
36132 fi
36133 fi
36134 fi
36135
36136 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36137 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36138 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36139 wxUSE_STACKWALKER=no
36140 fi
36141
36142
36143
36144
36145 for ac_func in mkstemp mktemp
36146 do
36147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36151 echo $ECHO_N "(cached) $ECHO_C" >&6
36152 else
36153 cat >conftest.$ac_ext <<_ACEOF
36154 /* confdefs.h. */
36155 _ACEOF
36156 cat confdefs.h >>conftest.$ac_ext
36157 cat >>conftest.$ac_ext <<_ACEOF
36158 /* end confdefs.h. */
36159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36161 #define $ac_func innocuous_$ac_func
36162
36163 /* System header to define __stub macros and hopefully few prototypes,
36164 which can conflict with char $ac_func (); below.
36165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36166 <limits.h> exists even on freestanding compilers. */
36167
36168 #ifdef __STDC__
36169 # include <limits.h>
36170 #else
36171 # include <assert.h>
36172 #endif
36173
36174 #undef $ac_func
36175
36176 /* Override any GCC internal prototype to avoid an error.
36177 Use char because int might match the return type of a GCC
36178 builtin and then its argument prototype would still apply. */
36179 #ifdef __cplusplus
36180 extern "C"
36181 #endif
36182 char $ac_func ();
36183 /* The GNU C library defines this for functions which it implements
36184 to always fail with ENOSYS. Some functions are actually named
36185 something starting with __ and the normal name is an alias. */
36186 #if defined __stub_$ac_func || defined __stub___$ac_func
36187 choke me
36188 #endif
36189
36190 int
36191 main ()
36192 {
36193 return $ac_func ();
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 rm -f conftest.$ac_objext conftest$ac_exeext
36199 if { (ac_try="$ac_link"
36200 case "(($ac_try" in
36201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36202 *) ac_try_echo=$ac_try;;
36203 esac
36204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36205 (eval "$ac_link") 2>conftest.er1
36206 ac_status=$?
36207 grep -v '^ *+' conftest.er1 >conftest.err
36208 rm -f conftest.er1
36209 cat conftest.err >&5
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); } && {
36212 test -z "$ac_c_werror_flag" ||
36213 test ! -s conftest.err
36214 } && test -s conftest$ac_exeext &&
36215 $as_test_x conftest$ac_exeext; then
36216 eval "$as_ac_var=yes"
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36220
36221 eval "$as_ac_var=no"
36222 fi
36223
36224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36225 conftest$ac_exeext conftest.$ac_ext
36226 fi
36227 ac_res=`eval echo '${'$as_ac_var'}'`
36228 { echo "$as_me:$LINENO: result: $ac_res" >&5
36229 echo "${ECHO_T}$ac_res" >&6; }
36230 if test `eval echo '${'$as_ac_var'}'` = yes; then
36231 cat >>confdefs.h <<_ACEOF
36232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36233 _ACEOF
36234 break
36235 fi
36236 done
36237
36238
36239 { echo "$as_me:$LINENO: checking for statfs" >&5
36240 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36241 if test "${wx_cv_func_statfs+set}" = set; then
36242 echo $ECHO_N "(cached) $ECHO_C" >&6
36243 else
36244 cat >conftest.$ac_ext <<_ACEOF
36245 /* confdefs.h. */
36246 _ACEOF
36247 cat confdefs.h >>conftest.$ac_ext
36248 cat >>conftest.$ac_ext <<_ACEOF
36249 /* end confdefs.h. */
36250
36251 #if defined(__BSD__)
36252 #include <sys/param.h>
36253 #include <sys/mount.h>
36254 #else
36255 #include <sys/vfs.h>
36256 #endif
36257
36258 int
36259 main ()
36260 {
36261
36262 long l;
36263 struct statfs fs;
36264 statfs("/", &fs);
36265 l = fs.f_bsize;
36266 l += fs.f_blocks;
36267 l += fs.f_bavail;
36268
36269 ;
36270 return 0;
36271 }
36272 _ACEOF
36273 rm -f conftest.$ac_objext
36274 if { (ac_try="$ac_compile"
36275 case "(($ac_try" in
36276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36277 *) ac_try_echo=$ac_try;;
36278 esac
36279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36280 (eval "$ac_compile") 2>conftest.er1
36281 ac_status=$?
36282 grep -v '^ *+' conftest.er1 >conftest.err
36283 rm -f conftest.er1
36284 cat conftest.err >&5
36285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36286 (exit $ac_status); } && {
36287 test -z "$ac_c_werror_flag" ||
36288 test ! -s conftest.err
36289 } && test -s conftest.$ac_objext; then
36290 wx_cv_func_statfs=yes
36291 else
36292 echo "$as_me: failed program was:" >&5
36293 sed 's/^/| /' conftest.$ac_ext >&5
36294
36295 wx_cv_func_statfs=no
36296
36297 fi
36298
36299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36300
36301 fi
36302 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36303 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36304
36305 if test "$wx_cv_func_statfs" = "yes"; then
36306 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36307 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36308 if test "${wx_cv_func_statfs_decl+set}" = set; then
36309 echo $ECHO_N "(cached) $ECHO_C" >&6
36310 else
36311 ac_ext=cpp
36312 ac_cpp='$CXXCPP $CPPFLAGS'
36313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36316
36317 cat >conftest.$ac_ext <<_ACEOF
36318 /* confdefs.h. */
36319 _ACEOF
36320 cat confdefs.h >>conftest.$ac_ext
36321 cat >>conftest.$ac_ext <<_ACEOF
36322 /* end confdefs.h. */
36323
36324 #if defined(__BSD__)
36325 #include <sys/param.h>
36326 #include <sys/mount.h>
36327 #else
36328 #include <sys/vfs.h>
36329 #endif
36330
36331 int
36332 main ()
36333 {
36334
36335 struct statfs fs;
36336 statfs("", &fs);
36337
36338 ;
36339 return 0;
36340 }
36341 _ACEOF
36342 rm -f conftest.$ac_objext
36343 if { (ac_try="$ac_compile"
36344 case "(($ac_try" in
36345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36346 *) ac_try_echo=$ac_try;;
36347 esac
36348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36349 (eval "$ac_compile") 2>conftest.er1
36350 ac_status=$?
36351 grep -v '^ *+' conftest.er1 >conftest.err
36352 rm -f conftest.er1
36353 cat conftest.err >&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); } && {
36356 test -z "$ac_cxx_werror_flag" ||
36357 test ! -s conftest.err
36358 } && test -s conftest.$ac_objext; then
36359 wx_cv_func_statfs_decl=yes
36360 else
36361 echo "$as_me: failed program was:" >&5
36362 sed 's/^/| /' conftest.$ac_ext >&5
36363
36364 wx_cv_func_statfs_decl=no
36365
36366 fi
36367
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375
36376 fi
36377 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36378 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36379
36380 if test "$wx_cv_func_statfs_decl" = "yes"; then
36381 cat >>confdefs.h <<\_ACEOF
36382 #define HAVE_STATFS_DECL 1
36383 _ACEOF
36384
36385 fi
36386
36387 wx_cv_type_statvfs_t="struct statfs"
36388 cat >>confdefs.h <<\_ACEOF
36389 #define HAVE_STATFS 1
36390 _ACEOF
36391
36392 else
36393 { echo "$as_me:$LINENO: checking for statvfs" >&5
36394 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36395 if test "${wx_cv_func_statvfs+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404
36405 #include <stddef.h>
36406 #include <sys/statvfs.h>
36407
36408 int
36409 main ()
36410 {
36411
36412 statvfs("/", NULL);
36413
36414 ;
36415 return 0;
36416 }
36417 _ACEOF
36418 rm -f conftest.$ac_objext
36419 if { (ac_try="$ac_compile"
36420 case "(($ac_try" in
36421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36422 *) ac_try_echo=$ac_try;;
36423 esac
36424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36425 (eval "$ac_compile") 2>conftest.er1
36426 ac_status=$?
36427 grep -v '^ *+' conftest.er1 >conftest.err
36428 rm -f conftest.er1
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } && {
36432 test -z "$ac_c_werror_flag" ||
36433 test ! -s conftest.err
36434 } && test -s conftest.$ac_objext; then
36435 wx_cv_func_statvfs=yes
36436 else
36437 echo "$as_me: failed program was:" >&5
36438 sed 's/^/| /' conftest.$ac_ext >&5
36439
36440 wx_cv_func_statvfs=no
36441
36442 fi
36443
36444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36445
36446 fi
36447 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36448 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36449
36450 if test "$wx_cv_func_statvfs" = "yes"; then
36451 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36452 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36453 if test "${wx_cv_type_statvfs_t+set}" = set; then
36454 echo $ECHO_N "(cached) $ECHO_C" >&6
36455 else
36456 ac_ext=cpp
36457 ac_cpp='$CXXCPP $CPPFLAGS'
36458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36461
36462 cat >conftest.$ac_ext <<_ACEOF
36463 /* confdefs.h. */
36464 _ACEOF
36465 cat confdefs.h >>conftest.$ac_ext
36466 cat >>conftest.$ac_ext <<_ACEOF
36467 /* end confdefs.h. */
36468
36469 #include <sys/statvfs.h>
36470
36471 int
36472 main ()
36473 {
36474
36475 long l;
36476 statvfs_t fs;
36477 statvfs("/", &fs);
36478 l = fs.f_bsize;
36479 l += fs.f_blocks;
36480 l += fs.f_bavail;
36481
36482 ;
36483 return 0;
36484 }
36485 _ACEOF
36486 rm -f conftest.$ac_objext
36487 if { (ac_try="$ac_compile"
36488 case "(($ac_try" in
36489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36490 *) ac_try_echo=$ac_try;;
36491 esac
36492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36493 (eval "$ac_compile") 2>conftest.er1
36494 ac_status=$?
36495 grep -v '^ *+' conftest.er1 >conftest.err
36496 rm -f conftest.er1
36497 cat conftest.err >&5
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); } && {
36500 test -z "$ac_cxx_werror_flag" ||
36501 test ! -s conftest.err
36502 } && test -s conftest.$ac_objext; then
36503 wx_cv_type_statvfs_t=statvfs_t
36504 else
36505 echo "$as_me: failed program was:" >&5
36506 sed 's/^/| /' conftest.$ac_ext >&5
36507
36508
36509 cat >conftest.$ac_ext <<_ACEOF
36510 /* confdefs.h. */
36511 _ACEOF
36512 cat confdefs.h >>conftest.$ac_ext
36513 cat >>conftest.$ac_ext <<_ACEOF
36514 /* end confdefs.h. */
36515
36516 #include <sys/statvfs.h>
36517
36518 int
36519 main ()
36520 {
36521
36522 long l;
36523 struct statvfs fs;
36524 statvfs("/", &fs);
36525 l = fs.f_bsize;
36526 l += fs.f_blocks;
36527 l += fs.f_bavail;
36528
36529 ;
36530 return 0;
36531 }
36532 _ACEOF
36533 rm -f conftest.$ac_objext
36534 if { (ac_try="$ac_compile"
36535 case "(($ac_try" in
36536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36537 *) ac_try_echo=$ac_try;;
36538 esac
36539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_compile") 2>conftest.er1
36541 ac_status=$?
36542 grep -v '^ *+' conftest.er1 >conftest.err
36543 rm -f conftest.er1
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } && {
36547 test -z "$ac_cxx_werror_flag" ||
36548 test ! -s conftest.err
36549 } && test -s conftest.$ac_objext; then
36550 wx_cv_type_statvfs_t="struct statvfs"
36551 else
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36554
36555 wx_cv_type_statvfs_t="unknown"
36556
36557 fi
36558
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560
36561
36562 fi
36563
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36570
36571
36572 fi
36573 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36574 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36575
36576 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define HAVE_STATVFS 1
36579 _ACEOF
36580
36581 fi
36582 else
36583 wx_cv_type_statvfs_t="unknown"
36584 fi
36585 fi
36586
36587 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36588 cat >>confdefs.h <<_ACEOF
36589 #define WX_STATFS_T $wx_cv_type_statvfs_t
36590 _ACEOF
36591
36592 else
36593 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36594 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36595 fi
36596
36597 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36598
36599
36600 for ac_func in fcntl flock
36601 do
36602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36606 echo $ECHO_N "(cached) $ECHO_C" >&6
36607 else
36608 cat >conftest.$ac_ext <<_ACEOF
36609 /* confdefs.h. */
36610 _ACEOF
36611 cat confdefs.h >>conftest.$ac_ext
36612 cat >>conftest.$ac_ext <<_ACEOF
36613 /* end confdefs.h. */
36614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36616 #define $ac_func innocuous_$ac_func
36617
36618 /* System header to define __stub macros and hopefully few prototypes,
36619 which can conflict with char $ac_func (); below.
36620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36621 <limits.h> exists even on freestanding compilers. */
36622
36623 #ifdef __STDC__
36624 # include <limits.h>
36625 #else
36626 # include <assert.h>
36627 #endif
36628
36629 #undef $ac_func
36630
36631 /* Override any GCC internal prototype to avoid an error.
36632 Use char because int might match the return type of a GCC
36633 builtin and then its argument prototype would still apply. */
36634 #ifdef __cplusplus
36635 extern "C"
36636 #endif
36637 char $ac_func ();
36638 /* The GNU C library defines this for functions which it implements
36639 to always fail with ENOSYS. Some functions are actually named
36640 something starting with __ and the normal name is an alias. */
36641 #if defined __stub_$ac_func || defined __stub___$ac_func
36642 choke me
36643 #endif
36644
36645 int
36646 main ()
36647 {
36648 return $ac_func ();
36649 ;
36650 return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext conftest$ac_exeext
36654 if { (ac_try="$ac_link"
36655 case "(($ac_try" in
36656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36657 *) ac_try_echo=$ac_try;;
36658 esac
36659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36660 (eval "$ac_link") 2>conftest.er1
36661 ac_status=$?
36662 grep -v '^ *+' conftest.er1 >conftest.err
36663 rm -f conftest.er1
36664 cat conftest.err >&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); } && {
36667 test -z "$ac_c_werror_flag" ||
36668 test ! -s conftest.err
36669 } && test -s conftest$ac_exeext &&
36670 $as_test_x conftest$ac_exeext; then
36671 eval "$as_ac_var=yes"
36672 else
36673 echo "$as_me: failed program was:" >&5
36674 sed 's/^/| /' conftest.$ac_ext >&5
36675
36676 eval "$as_ac_var=no"
36677 fi
36678
36679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36680 conftest$ac_exeext conftest.$ac_ext
36681 fi
36682 ac_res=`eval echo '${'$as_ac_var'}'`
36683 { echo "$as_me:$LINENO: result: $ac_res" >&5
36684 echo "${ECHO_T}$ac_res" >&6; }
36685 if test `eval echo '${'$as_ac_var'}'` = yes; then
36686 cat >>confdefs.h <<_ACEOF
36687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36688 _ACEOF
36689 break
36690 fi
36691 done
36692
36693
36694 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36695 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36696 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36697 wxUSE_SNGLINST_CHECKER=no
36698 fi
36699 fi
36700
36701
36702
36703 for ac_func in setenv putenv
36704 do
36705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36709 echo $ECHO_N "(cached) $ECHO_C" >&6
36710 else
36711 cat >conftest.$ac_ext <<_ACEOF
36712 /* confdefs.h. */
36713 _ACEOF
36714 cat confdefs.h >>conftest.$ac_ext
36715 cat >>conftest.$ac_ext <<_ACEOF
36716 /* end confdefs.h. */
36717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36719 #define $ac_func innocuous_$ac_func
36720
36721 /* System header to define __stub macros and hopefully few prototypes,
36722 which can conflict with char $ac_func (); below.
36723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36724 <limits.h> exists even on freestanding compilers. */
36725
36726 #ifdef __STDC__
36727 # include <limits.h>
36728 #else
36729 # include <assert.h>
36730 #endif
36731
36732 #undef $ac_func
36733
36734 /* Override any GCC internal prototype to avoid an error.
36735 Use char because int might match the return type of a GCC
36736 builtin and then its argument prototype would still apply. */
36737 #ifdef __cplusplus
36738 extern "C"
36739 #endif
36740 char $ac_func ();
36741 /* The GNU C library defines this for functions which it implements
36742 to always fail with ENOSYS. Some functions are actually named
36743 something starting with __ and the normal name is an alias. */
36744 #if defined __stub_$ac_func || defined __stub___$ac_func
36745 choke me
36746 #endif
36747
36748 int
36749 main ()
36750 {
36751 return $ac_func ();
36752 ;
36753 return 0;
36754 }
36755 _ACEOF
36756 rm -f conftest.$ac_objext conftest$ac_exeext
36757 if { (ac_try="$ac_link"
36758 case "(($ac_try" in
36759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36760 *) ac_try_echo=$ac_try;;
36761 esac
36762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36763 (eval "$ac_link") 2>conftest.er1
36764 ac_status=$?
36765 grep -v '^ *+' conftest.er1 >conftest.err
36766 rm -f conftest.er1
36767 cat conftest.err >&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); } && {
36770 test -z "$ac_c_werror_flag" ||
36771 test ! -s conftest.err
36772 } && test -s conftest$ac_exeext &&
36773 $as_test_x conftest$ac_exeext; then
36774 eval "$as_ac_var=yes"
36775 else
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 eval "$as_ac_var=no"
36780 fi
36781
36782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36783 conftest$ac_exeext conftest.$ac_ext
36784 fi
36785 ac_res=`eval echo '${'$as_ac_var'}'`
36786 { echo "$as_me:$LINENO: result: $ac_res" >&5
36787 echo "${ECHO_T}$ac_res" >&6; }
36788 if test `eval echo '${'$as_ac_var'}'` = yes; then
36789 cat >>confdefs.h <<_ACEOF
36790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36791 _ACEOF
36792 break
36793 fi
36794 done
36795
36796 if test "$ac_cv_func_setenv" = "yes"; then
36797
36798 for ac_func in unsetenv
36799 do
36800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36801 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36803 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36804 echo $ECHO_N "(cached) $ECHO_C" >&6
36805 else
36806 cat >conftest.$ac_ext <<_ACEOF
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36814 #define $ac_func innocuous_$ac_func
36815
36816 /* System header to define __stub macros and hopefully few prototypes,
36817 which can conflict with char $ac_func (); below.
36818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36819 <limits.h> exists even on freestanding compilers. */
36820
36821 #ifdef __STDC__
36822 # include <limits.h>
36823 #else
36824 # include <assert.h>
36825 #endif
36826
36827 #undef $ac_func
36828
36829 /* Override any GCC internal prototype to avoid an error.
36830 Use char because int might match the return type of a GCC
36831 builtin and then its argument prototype would still apply. */
36832 #ifdef __cplusplus
36833 extern "C"
36834 #endif
36835 char $ac_func ();
36836 /* The GNU C library defines this for functions which it implements
36837 to always fail with ENOSYS. Some functions are actually named
36838 something starting with __ and the normal name is an alias. */
36839 #if defined __stub_$ac_func || defined __stub___$ac_func
36840 choke me
36841 #endif
36842
36843 int
36844 main ()
36845 {
36846 return $ac_func ();
36847 ;
36848 return 0;
36849 }
36850 _ACEOF
36851 rm -f conftest.$ac_objext conftest$ac_exeext
36852 if { (ac_try="$ac_link"
36853 case "(($ac_try" in
36854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36855 *) ac_try_echo=$ac_try;;
36856 esac
36857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36858 (eval "$ac_link") 2>conftest.er1
36859 ac_status=$?
36860 grep -v '^ *+' conftest.er1 >conftest.err
36861 rm -f conftest.er1
36862 cat conftest.err >&5
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); } && {
36865 test -z "$ac_c_werror_flag" ||
36866 test ! -s conftest.err
36867 } && test -s conftest$ac_exeext &&
36868 $as_test_x conftest$ac_exeext; then
36869 eval "$as_ac_var=yes"
36870 else
36871 echo "$as_me: failed program was:" >&5
36872 sed 's/^/| /' conftest.$ac_ext >&5
36873
36874 eval "$as_ac_var=no"
36875 fi
36876
36877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36878 conftest$ac_exeext conftest.$ac_ext
36879 fi
36880 ac_res=`eval echo '${'$as_ac_var'}'`
36881 { echo "$as_me:$LINENO: result: $ac_res" >&5
36882 echo "${ECHO_T}$ac_res" >&6; }
36883 if test `eval echo '${'$as_ac_var'}'` = yes; then
36884 cat >>confdefs.h <<_ACEOF
36885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36886 _ACEOF
36887
36888 fi
36889 done
36890
36891 fi
36892
36893 HAVE_SOME_SLEEP_FUNC=0
36894 if test "$USE_BEOS" = 1; then
36895 cat >>confdefs.h <<\_ACEOF
36896 #define HAVE_SLEEP 1
36897 _ACEOF
36898
36899 HAVE_SOME_SLEEP_FUNC=1
36900 fi
36901
36902 if test "$USE_DARWIN" = 1; then
36903 cat >>confdefs.h <<\_ACEOF
36904 #define HAVE_USLEEP 1
36905 _ACEOF
36906
36907 HAVE_SOME_SLEEP_FUNC=1
36908 fi
36909
36910 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36911 POSIX4_LINK=
36912
36913 for ac_func in nanosleep
36914 do
36915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36916 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36918 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 else
36921 cat >conftest.$ac_ext <<_ACEOF
36922 /* confdefs.h. */
36923 _ACEOF
36924 cat confdefs.h >>conftest.$ac_ext
36925 cat >>conftest.$ac_ext <<_ACEOF
36926 /* end confdefs.h. */
36927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36929 #define $ac_func innocuous_$ac_func
36930
36931 /* System header to define __stub macros and hopefully few prototypes,
36932 which can conflict with char $ac_func (); below.
36933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36934 <limits.h> exists even on freestanding compilers. */
36935
36936 #ifdef __STDC__
36937 # include <limits.h>
36938 #else
36939 # include <assert.h>
36940 #endif
36941
36942 #undef $ac_func
36943
36944 /* Override any GCC internal prototype to avoid an error.
36945 Use char because int might match the return type of a GCC
36946 builtin and then its argument prototype would still apply. */
36947 #ifdef __cplusplus
36948 extern "C"
36949 #endif
36950 char $ac_func ();
36951 /* The GNU C library defines this for functions which it implements
36952 to always fail with ENOSYS. Some functions are actually named
36953 something starting with __ and the normal name is an alias. */
36954 #if defined __stub_$ac_func || defined __stub___$ac_func
36955 choke me
36956 #endif
36957
36958 int
36959 main ()
36960 {
36961 return $ac_func ();
36962 ;
36963 return 0;
36964 }
36965 _ACEOF
36966 rm -f conftest.$ac_objext conftest$ac_exeext
36967 if { (ac_try="$ac_link"
36968 case "(($ac_try" in
36969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36971 esac
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_link") 2>conftest.er1
36974 ac_status=$?
36975 grep -v '^ *+' conftest.er1 >conftest.err
36976 rm -f conftest.er1
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_c_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest$ac_exeext &&
36983 $as_test_x conftest$ac_exeext; then
36984 eval "$as_ac_var=yes"
36985 else
36986 echo "$as_me: failed program was:" >&5
36987 sed 's/^/| /' conftest.$ac_ext >&5
36988
36989 eval "$as_ac_var=no"
36990 fi
36991
36992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36993 conftest$ac_exeext conftest.$ac_ext
36994 fi
36995 ac_res=`eval echo '${'$as_ac_var'}'`
36996 { echo "$as_me:$LINENO: result: $ac_res" >&5
36997 echo "${ECHO_T}$ac_res" >&6; }
36998 if test `eval echo '${'$as_ac_var'}'` = yes; then
36999 cat >>confdefs.h <<_ACEOF
37000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37001 _ACEOF
37002 cat >>confdefs.h <<\_ACEOF
37003 #define HAVE_NANOSLEEP 1
37004 _ACEOF
37005
37006 else
37007
37008 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37009 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37010 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013 ac_check_lib_save_LIBS=$LIBS
37014 LIBS="-lposix4 $LIBS"
37015 cat >conftest.$ac_ext <<_ACEOF
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021
37022 /* Override any GCC internal prototype to avoid an error.
37023 Use char because int might match the return type of a GCC
37024 builtin and then its argument prototype would still apply. */
37025 #ifdef __cplusplus
37026 extern "C"
37027 #endif
37028 char nanosleep ();
37029 int
37030 main ()
37031 {
37032 return nanosleep ();
37033 ;
37034 return 0;
37035 }
37036 _ACEOF
37037 rm -f conftest.$ac_objext conftest$ac_exeext
37038 if { (ac_try="$ac_link"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37041 *) ac_try_echo=$ac_try;;
37042 esac
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_link") 2>conftest.er1
37045 ac_status=$?
37046 grep -v '^ *+' conftest.er1 >conftest.err
37047 rm -f conftest.er1
37048 cat conftest.err >&5
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); } && {
37051 test -z "$ac_c_werror_flag" ||
37052 test ! -s conftest.err
37053 } && test -s conftest$ac_exeext &&
37054 $as_test_x conftest$ac_exeext; then
37055 ac_cv_lib_posix4_nanosleep=yes
37056 else
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.$ac_ext >&5
37059
37060 ac_cv_lib_posix4_nanosleep=no
37061 fi
37062
37063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37064 conftest$ac_exeext conftest.$ac_ext
37065 LIBS=$ac_check_lib_save_LIBS
37066 fi
37067 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37068 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37069 if test $ac_cv_lib_posix4_nanosleep = yes; then
37070
37071 cat >>confdefs.h <<\_ACEOF
37072 #define HAVE_NANOSLEEP 1
37073 _ACEOF
37074
37075 POSIX4_LINK=" -lposix4"
37076
37077 else
37078
37079
37080 for wx_func in usleep
37081 do
37082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37084 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37085 echo $ECHO_N "(cached) $ECHO_C" >&6
37086 else
37087
37088 cat >conftest.$ac_ext <<_ACEOF
37089
37090 /* confdefs.h. */
37091 _ACEOF
37092 cat confdefs.h >>conftest.$ac_ext
37093 cat >>conftest.$ac_ext <<_ACEOF
37094 /* end confdefs.h. */
37095
37096
37097 $ac_includes_default
37098
37099 int
37100 main ()
37101 {
37102
37103 #ifndef $wx_func
37104 &$wx_func;
37105 #endif
37106
37107
37108 ;
37109 return 0;
37110 }
37111
37112 _ACEOF
37113 rm -f conftest.$ac_objext conftest$ac_exeext
37114 if { (ac_try="$ac_link"
37115 case "(($ac_try" in
37116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37117 *) ac_try_echo=$ac_try;;
37118 esac
37119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37120 (eval "$ac_link") 2>conftest.er1
37121 ac_status=$?
37122 grep -v '^ *+' conftest.er1 >conftest.err
37123 rm -f conftest.er1
37124 cat conftest.err >&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); } && {
37127 test -z "$ac_c_werror_flag" ||
37128 test ! -s conftest.err
37129 } && test -s conftest$ac_exeext &&
37130 $as_test_x conftest$ac_exeext; then
37131 eval wx_cv_func_$wx_func=yes
37132 else
37133 echo "$as_me: failed program was:" >&5
37134 sed 's/^/| /' conftest.$ac_ext >&5
37135
37136 eval wx_cv_func_$wx_func=no
37137 fi
37138
37139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37140 conftest$ac_exeext conftest.$ac_ext
37141
37142 fi
37143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37144 { echo "$as_me:$LINENO: result: $ac_res" >&5
37145 echo "${ECHO_T}$ac_res" >&6; }
37146
37147 if eval test \$wx_cv_func_$wx_func = yes
37148 then
37149 cat >>confdefs.h <<_ACEOF
37150 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37151 _ACEOF
37152
37153
37154 else
37155 :
37156 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37157 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37158
37159 fi
37160 done
37161
37162
37163
37164 fi
37165
37166
37167
37168 fi
37169 done
37170
37171 fi
37172
37173
37174 for wx_func in uname
37175 do
37176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37179 echo $ECHO_N "(cached) $ECHO_C" >&6
37180 else
37181
37182 cat >conftest.$ac_ext <<_ACEOF
37183
37184 /* confdefs.h. */
37185 _ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h. */
37189
37190 #include <sys/utsname.h>
37191 $ac_includes_default
37192
37193 int
37194 main ()
37195 {
37196
37197 #ifndef $wx_func
37198 &$wx_func;
37199 #endif
37200
37201
37202 ;
37203 return 0;
37204 }
37205
37206 _ACEOF
37207 rm -f conftest.$ac_objext conftest$ac_exeext
37208 if { (ac_try="$ac_link"
37209 case "(($ac_try" in
37210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37211 *) ac_try_echo=$ac_try;;
37212 esac
37213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37214 (eval "$ac_link") 2>conftest.er1
37215 ac_status=$?
37216 grep -v '^ *+' conftest.er1 >conftest.err
37217 rm -f conftest.er1
37218 cat conftest.err >&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); } && {
37221 test -z "$ac_c_werror_flag" ||
37222 test ! -s conftest.err
37223 } && test -s conftest$ac_exeext &&
37224 $as_test_x conftest$ac_exeext; then
37225 eval wx_cv_func_$wx_func=yes
37226 else
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.$ac_ext >&5
37229
37230 eval wx_cv_func_$wx_func=no
37231 fi
37232
37233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37234 conftest$ac_exeext conftest.$ac_ext
37235
37236 fi
37237 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37238 { echo "$as_me:$LINENO: result: $ac_res" >&5
37239 echo "${ECHO_T}$ac_res" >&6; }
37240
37241 if eval test \$wx_cv_func_$wx_func = yes
37242 then
37243 cat >>confdefs.h <<_ACEOF
37244 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37245 _ACEOF
37246
37247
37248 else
37249 :
37250
37251 fi
37252 done
37253
37254 if test "$wx_cv_func_uname" != yes; then
37255
37256 for wx_func in gethostname
37257 do
37258 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37259 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37260 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37262 else
37263
37264 cat >conftest.$ac_ext <<_ACEOF
37265
37266 /* confdefs.h. */
37267 _ACEOF
37268 cat confdefs.h >>conftest.$ac_ext
37269 cat >>conftest.$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37271
37272
37273 $ac_includes_default
37274
37275 int
37276 main ()
37277 {
37278
37279 #ifndef $wx_func
37280 &$wx_func;
37281 #endif
37282
37283
37284 ;
37285 return 0;
37286 }
37287
37288 _ACEOF
37289 rm -f conftest.$ac_objext conftest$ac_exeext
37290 if { (ac_try="$ac_link"
37291 case "(($ac_try" in
37292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37293 *) ac_try_echo=$ac_try;;
37294 esac
37295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37296 (eval "$ac_link") 2>conftest.er1
37297 ac_status=$?
37298 grep -v '^ *+' conftest.er1 >conftest.err
37299 rm -f conftest.er1
37300 cat conftest.err >&5
37301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37302 (exit $ac_status); } && {
37303 test -z "$ac_c_werror_flag" ||
37304 test ! -s conftest.err
37305 } && test -s conftest$ac_exeext &&
37306 $as_test_x conftest$ac_exeext; then
37307 eval wx_cv_func_$wx_func=yes
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37311
37312 eval wx_cv_func_$wx_func=no
37313 fi
37314
37315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37316 conftest$ac_exeext conftest.$ac_ext
37317
37318 fi
37319 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37320 { echo "$as_me:$LINENO: result: $ac_res" >&5
37321 echo "${ECHO_T}$ac_res" >&6; }
37322
37323 if eval test \$wx_cv_func_$wx_func = yes
37324 then
37325 cat >>confdefs.h <<_ACEOF
37326 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37327 _ACEOF
37328
37329
37330 else
37331 :
37332
37333 fi
37334 done
37335
37336 fi
37337
37338
37339 for wx_func in strtok_r
37340 do
37341 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37343 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346
37347 cat >conftest.$ac_ext <<_ACEOF
37348
37349 /* confdefs.h. */
37350 _ACEOF
37351 cat confdefs.h >>conftest.$ac_ext
37352 cat >>conftest.$ac_ext <<_ACEOF
37353 /* end confdefs.h. */
37354
37355 #define _REENTRANT
37356 $ac_includes_default
37357
37358 int
37359 main ()
37360 {
37361
37362 #ifndef $wx_func
37363 &$wx_func;
37364 #endif
37365
37366
37367 ;
37368 return 0;
37369 }
37370
37371 _ACEOF
37372 rm -f conftest.$ac_objext conftest$ac_exeext
37373 if { (ac_try="$ac_link"
37374 case "(($ac_try" in
37375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37376 *) ac_try_echo=$ac_try;;
37377 esac
37378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37379 (eval "$ac_link") 2>conftest.er1
37380 ac_status=$?
37381 grep -v '^ *+' conftest.er1 >conftest.err
37382 rm -f conftest.er1
37383 cat conftest.err >&5
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); } && {
37386 test -z "$ac_c_werror_flag" ||
37387 test ! -s conftest.err
37388 } && test -s conftest$ac_exeext &&
37389 $as_test_x conftest$ac_exeext; then
37390 eval wx_cv_func_$wx_func=yes
37391 else
37392 echo "$as_me: failed program was:" >&5
37393 sed 's/^/| /' conftest.$ac_ext >&5
37394
37395 eval wx_cv_func_$wx_func=no
37396 fi
37397
37398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37399 conftest$ac_exeext conftest.$ac_ext
37400
37401 fi
37402 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37403 { echo "$as_me:$LINENO: result: $ac_res" >&5
37404 echo "${ECHO_T}$ac_res" >&6; }
37405
37406 if eval test \$wx_cv_func_$wx_func = yes
37407 then
37408 cat >>confdefs.h <<_ACEOF
37409 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37410 _ACEOF
37411
37412
37413 else
37414 :
37415
37416 fi
37417 done
37418
37419
37420 INET_LINK=
37421
37422 for ac_func in inet_addr
37423 do
37424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37427 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37429 else
37430 cat >conftest.$ac_ext <<_ACEOF
37431 /* confdefs.h. */
37432 _ACEOF
37433 cat confdefs.h >>conftest.$ac_ext
37434 cat >>conftest.$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37438 #define $ac_func innocuous_$ac_func
37439
37440 /* System header to define __stub macros and hopefully few prototypes,
37441 which can conflict with char $ac_func (); below.
37442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37443 <limits.h> exists even on freestanding compilers. */
37444
37445 #ifdef __STDC__
37446 # include <limits.h>
37447 #else
37448 # include <assert.h>
37449 #endif
37450
37451 #undef $ac_func
37452
37453 /* Override any GCC internal prototype to avoid an error.
37454 Use char because int might match the return type of a GCC
37455 builtin and then its argument prototype would still apply. */
37456 #ifdef __cplusplus
37457 extern "C"
37458 #endif
37459 char $ac_func ();
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined __stub_$ac_func || defined __stub___$ac_func
37464 choke me
37465 #endif
37466
37467 int
37468 main ()
37469 {
37470 return $ac_func ();
37471 ;
37472 return 0;
37473 }
37474 _ACEOF
37475 rm -f conftest.$ac_objext conftest$ac_exeext
37476 if { (ac_try="$ac_link"
37477 case "(($ac_try" in
37478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37479 *) ac_try_echo=$ac_try;;
37480 esac
37481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37482 (eval "$ac_link") 2>conftest.er1
37483 ac_status=$?
37484 grep -v '^ *+' conftest.er1 >conftest.err
37485 rm -f conftest.er1
37486 cat conftest.err >&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); } && {
37489 test -z "$ac_c_werror_flag" ||
37490 test ! -s conftest.err
37491 } && test -s conftest$ac_exeext &&
37492 $as_test_x conftest$ac_exeext; then
37493 eval "$as_ac_var=yes"
37494 else
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37497
37498 eval "$as_ac_var=no"
37499 fi
37500
37501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37502 conftest$ac_exeext conftest.$ac_ext
37503 fi
37504 ac_res=`eval echo '${'$as_ac_var'}'`
37505 { echo "$as_me:$LINENO: result: $ac_res" >&5
37506 echo "${ECHO_T}$ac_res" >&6; }
37507 if test `eval echo '${'$as_ac_var'}'` = yes; then
37508 cat >>confdefs.h <<_ACEOF
37509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37510 _ACEOF
37511 cat >>confdefs.h <<\_ACEOF
37512 #define HAVE_INET_ADDR 1
37513 _ACEOF
37514
37515 else
37516
37517 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37518 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37519 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37520 echo $ECHO_N "(cached) $ECHO_C" >&6
37521 else
37522 ac_check_lib_save_LIBS=$LIBS
37523 LIBS="-lnsl $LIBS"
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530
37531 /* Override any GCC internal prototype to avoid an error.
37532 Use char because int might match the return type of a GCC
37533 builtin and then its argument prototype would still apply. */
37534 #ifdef __cplusplus
37535 extern "C"
37536 #endif
37537 char inet_addr ();
37538 int
37539 main ()
37540 {
37541 return inet_addr ();
37542 ;
37543 return 0;
37544 }
37545 _ACEOF
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (ac_try="$ac_link"
37548 case "(($ac_try" in
37549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37550 *) ac_try_echo=$ac_try;;
37551 esac
37552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 (eval "$ac_link") 2>conftest.er1
37554 ac_status=$?
37555 grep -v '^ *+' conftest.er1 >conftest.err
37556 rm -f conftest.er1
37557 cat conftest.err >&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); } && {
37560 test -z "$ac_c_werror_flag" ||
37561 test ! -s conftest.err
37562 } && test -s conftest$ac_exeext &&
37563 $as_test_x conftest$ac_exeext; then
37564 ac_cv_lib_nsl_inet_addr=yes
37565 else
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.$ac_ext >&5
37568
37569 ac_cv_lib_nsl_inet_addr=no
37570 fi
37571
37572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37573 conftest$ac_exeext conftest.$ac_ext
37574 LIBS=$ac_check_lib_save_LIBS
37575 fi
37576 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37577 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37578 if test $ac_cv_lib_nsl_inet_addr = yes; then
37579 INET_LINK="nsl"
37580 else
37581
37582 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37583 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37584 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587 ac_check_lib_save_LIBS=$LIBS
37588 LIBS="-lresolv $LIBS"
37589 cat >conftest.$ac_ext <<_ACEOF
37590 /* confdefs.h. */
37591 _ACEOF
37592 cat confdefs.h >>conftest.$ac_ext
37593 cat >>conftest.$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37595
37596 /* Override any GCC internal prototype to avoid an error.
37597 Use char because int might match the return type of a GCC
37598 builtin and then its argument prototype would still apply. */
37599 #ifdef __cplusplus
37600 extern "C"
37601 #endif
37602 char inet_addr ();
37603 int
37604 main ()
37605 {
37606 return inet_addr ();
37607 ;
37608 return 0;
37609 }
37610 _ACEOF
37611 rm -f conftest.$ac_objext conftest$ac_exeext
37612 if { (ac_try="$ac_link"
37613 case "(($ac_try" in
37614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37615 *) ac_try_echo=$ac_try;;
37616 esac
37617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37618 (eval "$ac_link") 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } && {
37625 test -z "$ac_c_werror_flag" ||
37626 test ! -s conftest.err
37627 } && test -s conftest$ac_exeext &&
37628 $as_test_x conftest$ac_exeext; then
37629 ac_cv_lib_resolv_inet_addr=yes
37630 else
37631 echo "$as_me: failed program was:" >&5
37632 sed 's/^/| /' conftest.$ac_ext >&5
37633
37634 ac_cv_lib_resolv_inet_addr=no
37635 fi
37636
37637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37638 conftest$ac_exeext conftest.$ac_ext
37639 LIBS=$ac_check_lib_save_LIBS
37640 fi
37641 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37642 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37643 if test $ac_cv_lib_resolv_inet_addr = yes; then
37644 INET_LINK="resolv"
37645 else
37646
37647 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37648 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37649 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652 ac_check_lib_save_LIBS=$LIBS
37653 LIBS="-lsocket $LIBS"
37654 cat >conftest.$ac_ext <<_ACEOF
37655 /* confdefs.h. */
37656 _ACEOF
37657 cat confdefs.h >>conftest.$ac_ext
37658 cat >>conftest.$ac_ext <<_ACEOF
37659 /* end confdefs.h. */
37660
37661 /* Override any GCC internal prototype to avoid an error.
37662 Use char because int might match the return type of a GCC
37663 builtin and then its argument prototype would still apply. */
37664 #ifdef __cplusplus
37665 extern "C"
37666 #endif
37667 char inet_addr ();
37668 int
37669 main ()
37670 {
37671 return inet_addr ();
37672 ;
37673 return 0;
37674 }
37675 _ACEOF
37676 rm -f conftest.$ac_objext conftest$ac_exeext
37677 if { (ac_try="$ac_link"
37678 case "(($ac_try" in
37679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37680 *) ac_try_echo=$ac_try;;
37681 esac
37682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37683 (eval "$ac_link") 2>conftest.er1
37684 ac_status=$?
37685 grep -v '^ *+' conftest.er1 >conftest.err
37686 rm -f conftest.er1
37687 cat conftest.err >&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } && {
37690 test -z "$ac_c_werror_flag" ||
37691 test ! -s conftest.err
37692 } && test -s conftest$ac_exeext &&
37693 $as_test_x conftest$ac_exeext; then
37694 ac_cv_lib_socket_inet_addr=yes
37695 else
37696 echo "$as_me: failed program was:" >&5
37697 sed 's/^/| /' conftest.$ac_ext >&5
37698
37699 ac_cv_lib_socket_inet_addr=no
37700 fi
37701
37702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37703 conftest$ac_exeext conftest.$ac_ext
37704 LIBS=$ac_check_lib_save_LIBS
37705 fi
37706 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37707 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37708 if test $ac_cv_lib_socket_inet_addr = yes; then
37709 INET_LINK="socket"
37710
37711 fi
37712
37713
37714
37715 fi
37716
37717
37718
37719 fi
37720
37721
37722
37723 fi
37724 done
37725
37726
37727
37728 for ac_func in inet_aton
37729 do
37730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37735 else
37736 cat >conftest.$ac_ext <<_ACEOF
37737 /* confdefs.h. */
37738 _ACEOF
37739 cat confdefs.h >>conftest.$ac_ext
37740 cat >>conftest.$ac_ext <<_ACEOF
37741 /* end confdefs.h. */
37742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37744 #define $ac_func innocuous_$ac_func
37745
37746 /* System header to define __stub macros and hopefully few prototypes,
37747 which can conflict with char $ac_func (); below.
37748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37749 <limits.h> exists even on freestanding compilers. */
37750
37751 #ifdef __STDC__
37752 # include <limits.h>
37753 #else
37754 # include <assert.h>
37755 #endif
37756
37757 #undef $ac_func
37758
37759 /* Override any GCC internal prototype to avoid an error.
37760 Use char because int might match the return type of a GCC
37761 builtin and then its argument prototype would still apply. */
37762 #ifdef __cplusplus
37763 extern "C"
37764 #endif
37765 char $ac_func ();
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined __stub_$ac_func || defined __stub___$ac_func
37770 choke me
37771 #endif
37772
37773 int
37774 main ()
37775 {
37776 return $ac_func ();
37777 ;
37778 return 0;
37779 }
37780 _ACEOF
37781 rm -f conftest.$ac_objext conftest$ac_exeext
37782 if { (ac_try="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37786 esac
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37789 ac_status=$?
37790 grep -v '^ *+' conftest.er1 >conftest.err
37791 rm -f conftest.er1
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_var=yes"
37800 else
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37803
37804 eval "$as_ac_var=no"
37805 fi
37806
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37809 fi
37810 ac_res=`eval echo '${'$as_ac_var'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37813 if test `eval echo '${'$as_ac_var'}'` = yes; then
37814 cat >>confdefs.h <<_ACEOF
37815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37816 _ACEOF
37817 cat >>confdefs.h <<\_ACEOF
37818 #define HAVE_INET_ATON 1
37819 _ACEOF
37820
37821 else
37822
37823 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37824 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37825 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37826 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37827 echo $ECHO_N "(cached) $ECHO_C" >&6
37828 else
37829 ac_check_lib_save_LIBS=$LIBS
37830 LIBS="-l$INET_LINK $LIBS"
37831 cat >conftest.$ac_ext <<_ACEOF
37832 /* confdefs.h. */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837
37838 /* Override any GCC internal prototype to avoid an error.
37839 Use char because int might match the return type of a GCC
37840 builtin and then its argument prototype would still apply. */
37841 #ifdef __cplusplus
37842 extern "C"
37843 #endif
37844 char inet_aton ();
37845 int
37846 main ()
37847 {
37848 return inet_aton ();
37849 ;
37850 return 0;
37851 }
37852 _ACEOF
37853 rm -f conftest.$ac_objext conftest$ac_exeext
37854 if { (ac_try="$ac_link"
37855 case "(($ac_try" in
37856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37857 *) ac_try_echo=$ac_try;;
37858 esac
37859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37860 (eval "$ac_link") 2>conftest.er1
37861 ac_status=$?
37862 grep -v '^ *+' conftest.er1 >conftest.err
37863 rm -f conftest.er1
37864 cat conftest.err >&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } && {
37867 test -z "$ac_c_werror_flag" ||
37868 test ! -s conftest.err
37869 } && test -s conftest$ac_exeext &&
37870 $as_test_x conftest$ac_exeext; then
37871 eval "$as_ac_Lib=yes"
37872 else
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37875
37876 eval "$as_ac_Lib=no"
37877 fi
37878
37879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37880 conftest$ac_exeext conftest.$ac_ext
37881 LIBS=$ac_check_lib_save_LIBS
37882 fi
37883 ac_res=`eval echo '${'$as_ac_Lib'}'`
37884 { echo "$as_me:$LINENO: result: $ac_res" >&5
37885 echo "${ECHO_T}$ac_res" >&6; }
37886 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_INET_ATON 1
37889 _ACEOF
37890
37891 fi
37892
37893
37894 fi
37895 done
37896
37897
37898 if test "x$INET_LINK" != "x"; then
37899 cat >>confdefs.h <<\_ACEOF
37900 #define HAVE_INET_ADDR 1
37901 _ACEOF
37902
37903 INET_LINK=" -l$INET_LINK"
37904 fi
37905
37906
37907 for wx_func in fdopen
37908 do
37909 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37910 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37911 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37912 echo $ECHO_N "(cached) $ECHO_C" >&6
37913 else
37914
37915 cat >conftest.$ac_ext <<_ACEOF
37916
37917 /* confdefs.h. */
37918 _ACEOF
37919 cat confdefs.h >>conftest.$ac_ext
37920 cat >>conftest.$ac_ext <<_ACEOF
37921 /* end confdefs.h. */
37922
37923
37924 $ac_includes_default
37925
37926 int
37927 main ()
37928 {
37929
37930 #ifndef $wx_func
37931 &$wx_func;
37932 #endif
37933
37934
37935 ;
37936 return 0;
37937 }
37938
37939 _ACEOF
37940 rm -f conftest.$ac_objext conftest$ac_exeext
37941 if { (ac_try="$ac_link"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_link") 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest$ac_exeext &&
37957 $as_test_x conftest$ac_exeext; then
37958 eval wx_cv_func_$wx_func=yes
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 eval wx_cv_func_$wx_func=no
37964 fi
37965
37966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37967 conftest$ac_exeext conftest.$ac_ext
37968
37969 fi
37970 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37971 { echo "$as_me:$LINENO: result: $ac_res" >&5
37972 echo "${ECHO_T}$ac_res" >&6; }
37973
37974 if eval test \$wx_cv_func_$wx_func = yes
37975 then
37976 cat >>confdefs.h <<_ACEOF
37977 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37978 _ACEOF
37979
37980
37981 else
37982 :
37983
37984 fi
37985 done
37986
37987
37988 if test "$wxUSE_TARSTREAM" = "yes"; then
37989
37990 for wx_func in sysconf
37991 do
37992 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37993 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37994 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37995 echo $ECHO_N "(cached) $ECHO_C" >&6
37996 else
37997
37998 cat >conftest.$ac_ext <<_ACEOF
37999
38000 /* confdefs.h. */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005
38006
38007 $ac_includes_default
38008
38009 int
38010 main ()
38011 {
38012
38013 #ifndef $wx_func
38014 &$wx_func;
38015 #endif
38016
38017
38018 ;
38019 return 0;
38020 }
38021
38022 _ACEOF
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (ac_try="$ac_link"
38025 case "(($ac_try" in
38026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38027 *) ac_try_echo=$ac_try;;
38028 esac
38029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38030 (eval "$ac_link") 2>conftest.er1
38031 ac_status=$?
38032 grep -v '^ *+' conftest.er1 >conftest.err
38033 rm -f conftest.er1
38034 cat conftest.err >&5
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); } && {
38037 test -z "$ac_c_werror_flag" ||
38038 test ! -s conftest.err
38039 } && test -s conftest$ac_exeext &&
38040 $as_test_x conftest$ac_exeext; then
38041 eval wx_cv_func_$wx_func=yes
38042 else
38043 echo "$as_me: failed program was:" >&5
38044 sed 's/^/| /' conftest.$ac_ext >&5
38045
38046 eval wx_cv_func_$wx_func=no
38047 fi
38048
38049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38050 conftest$ac_exeext conftest.$ac_ext
38051
38052 fi
38053 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38054 { echo "$as_me:$LINENO: result: $ac_res" >&5
38055 echo "${ECHO_T}$ac_res" >&6; }
38056
38057 if eval test \$wx_cv_func_$wx_func = yes
38058 then
38059 cat >>confdefs.h <<_ACEOF
38060 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38061 _ACEOF
38062
38063
38064 else
38065 :
38066
38067 fi
38068 done
38069
38070
38071
38072 for wx_func in getpwuid_r
38073 do
38074 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38075 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38076 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38077 echo $ECHO_N "(cached) $ECHO_C" >&6
38078 else
38079
38080 cat >conftest.$ac_ext <<_ACEOF
38081
38082 /* confdefs.h. */
38083 _ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087
38088
38089 #define _REENTRANT
38090 #include <pwd.h>
38091
38092 $ac_includes_default
38093
38094 int
38095 main ()
38096 {
38097
38098 #ifndef $wx_func
38099 &$wx_func;
38100 #endif
38101
38102 struct passwd pw, *ppw;
38103 char buf[1024];
38104 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38105
38106
38107 ;
38108 return 0;
38109 }
38110
38111 _ACEOF
38112 rm -f conftest.$ac_objext conftest$ac_exeext
38113 if { (ac_try="$ac_link"
38114 case "(($ac_try" in
38115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38116 *) ac_try_echo=$ac_try;;
38117 esac
38118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38119 (eval "$ac_link") 2>conftest.er1
38120 ac_status=$?
38121 grep -v '^ *+' conftest.er1 >conftest.err
38122 rm -f conftest.er1
38123 cat conftest.err >&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } && {
38126 test -z "$ac_c_werror_flag" ||
38127 test ! -s conftest.err
38128 } && test -s conftest$ac_exeext &&
38129 $as_test_x conftest$ac_exeext; then
38130 eval wx_cv_func_$wx_func=yes
38131 else
38132 echo "$as_me: failed program was:" >&5
38133 sed 's/^/| /' conftest.$ac_ext >&5
38134
38135 eval wx_cv_func_$wx_func=no
38136 fi
38137
38138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38139 conftest$ac_exeext conftest.$ac_ext
38140
38141 fi
38142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38143 { echo "$as_me:$LINENO: result: $ac_res" >&5
38144 echo "${ECHO_T}$ac_res" >&6; }
38145
38146 if eval test \$wx_cv_func_$wx_func = yes
38147 then
38148 cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38150 _ACEOF
38151
38152
38153 else
38154 :
38155
38156 fi
38157 done
38158
38159
38160
38161 for wx_func in getgrgid_r
38162 do
38163 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38164 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38165 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38166 echo $ECHO_N "(cached) $ECHO_C" >&6
38167 else
38168
38169 cat >conftest.$ac_ext <<_ACEOF
38170
38171 /* confdefs.h. */
38172 _ACEOF
38173 cat confdefs.h >>conftest.$ac_ext
38174 cat >>conftest.$ac_ext <<_ACEOF
38175 /* end confdefs.h. */
38176
38177
38178 #define _REENTRANT
38179 #include <grp.h>
38180
38181 $ac_includes_default
38182
38183 int
38184 main ()
38185 {
38186
38187 #ifndef $wx_func
38188 &$wx_func;
38189 #endif
38190
38191 struct group grp, *pgrp;
38192 char buf[1024];
38193 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38194
38195
38196 ;
38197 return 0;
38198 }
38199
38200 _ACEOF
38201 rm -f conftest.$ac_objext conftest$ac_exeext
38202 if { (ac_try="$ac_link"
38203 case "(($ac_try" in
38204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38205 *) ac_try_echo=$ac_try;;
38206 esac
38207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38208 (eval "$ac_link") 2>conftest.er1
38209 ac_status=$?
38210 grep -v '^ *+' conftest.er1 >conftest.err
38211 rm -f conftest.er1
38212 cat conftest.err >&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } && {
38215 test -z "$ac_c_werror_flag" ||
38216 test ! -s conftest.err
38217 } && test -s conftest$ac_exeext &&
38218 $as_test_x conftest$ac_exeext; then
38219 eval wx_cv_func_$wx_func=yes
38220 else
38221 echo "$as_me: failed program was:" >&5
38222 sed 's/^/| /' conftest.$ac_ext >&5
38223
38224 eval wx_cv_func_$wx_func=no
38225 fi
38226
38227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38228 conftest$ac_exeext conftest.$ac_ext
38229
38230 fi
38231 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38232 { echo "$as_me:$LINENO: result: $ac_res" >&5
38233 echo "${ECHO_T}$ac_res" >&6; }
38234
38235 if eval test \$wx_cv_func_$wx_func = yes
38236 then
38237 cat >>confdefs.h <<_ACEOF
38238 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38239 _ACEOF
38240
38241
38242 else
38243 :
38244
38245 fi
38246 done
38247
38248 fi
38249
38250 fi
38251
38252
38253
38254 cat >confcache <<\_ACEOF
38255 # This file is a shell script that caches the results of configure
38256 # tests run on this system so they can be shared between configure
38257 # scripts and configure runs, see configure's option --config-cache.
38258 # It is not useful on other systems. If it contains results you don't
38259 # want to keep, you may remove or edit it.
38260 #
38261 # config.status only pays attention to the cache file if you give it
38262 # the --recheck option to rerun configure.
38263 #
38264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38266 # following values.
38267
38268 _ACEOF
38269
38270 # The following way of writing the cache mishandles newlines in values,
38271 # but we know of no workaround that is simple, portable, and efficient.
38272 # So, we kill variables containing newlines.
38273 # Ultrix sh set writes to stderr and can't be redirected directly,
38274 # and sets the high bit in the cache file unless we assign to the vars.
38275 (
38276 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38277 eval ac_val=\$$ac_var
38278 case $ac_val in #(
38279 *${as_nl}*)
38280 case $ac_var in #(
38281 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38282 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38283 esac
38284 case $ac_var in #(
38285 _ | IFS | as_nl) ;; #(
38286 *) $as_unset $ac_var ;;
38287 esac ;;
38288 esac
38289 done
38290
38291 (set) 2>&1 |
38292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38293 *${as_nl}ac_space=\ *)
38294 # `set' does not quote correctly, so add quotes (double-quote
38295 # substitution turns \\\\ into \\, and sed turns \\ into \).
38296 sed -n \
38297 "s/'/'\\\\''/g;
38298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38299 ;; #(
38300 *)
38301 # `set' quotes correctly as required by POSIX, so do not add quotes.
38302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38303 ;;
38304 esac |
38305 sort
38306 ) |
38307 sed '
38308 /^ac_cv_env_/b end
38309 t clear
38310 :clear
38311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38312 t end
38313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38314 :end' >>confcache
38315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38316 if test -w "$cache_file"; then
38317 test "x$cache_file" != "x/dev/null" &&
38318 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38319 echo "$as_me: updating cache $cache_file" >&6;}
38320 cat confcache >$cache_file
38321 else
38322 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38323 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38324 fi
38325 fi
38326 rm -f confcache
38327
38328
38329 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38330
38331
38332 THREADS_LINK=
38333 THREADS_CFLAGS=
38334
38335 if test "$wxUSE_THREADS" = "yes" ; then
38336 if test "$USE_BEOS" = 1; then
38337 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38338 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38339 wxUSE_THREADS="no"
38340 fi
38341 fi
38342
38343 if test "$wxUSE_THREADS" = "yes" ; then
38344
38345
38346 THREAD_OPTS="-pthread"
38347 if test "x$SUNCXX" = xyes; then
38348 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38349 fi
38350
38351 case "${host}" in
38352 *-*-solaris2* | *-*-sunos4* )
38353 if test "x$GCC" = "xyes"; then
38354 THREAD_OPTS="-pthreads $THREAD_OPTS"
38355 fi
38356 ;;
38357 *-*-freebsd*)
38358 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38359 ;;
38360 *-*-darwin* | *-*-cygwin* )
38361 THREAD_OPTS=""
38362 ;;
38363 *-*-aix*)
38364 THREAD_OPTS="pthreads"
38365 ;;
38366 *-hp-hpux* )
38367 if test "x$GCC" = "xyes"; then
38368 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38369 THREAD_OPTS=""
38370 else
38371 THREAD_OPTS="-mt"
38372 fi
38373 ;;
38374
38375 *-*-irix* )
38376 if test "x$GCC" = "xyes"; then
38377 THREAD_OPTS=""
38378 fi
38379 ;;
38380
38381 *-*-*UnixWare*)
38382 if test "x$GCC" != "xyes"; then
38383 THREAD_OPTS="-Ethread"
38384 fi
38385 ;;
38386 esac
38387
38388 THREAD_OPTS="$THREAD_OPTS pthread none"
38389
38390 THREADS_OK=no
38391 for flag in $THREAD_OPTS; do
38392 case $flag in
38393 none)
38394 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38395 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38396 ;;
38397
38398 -*)
38399 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38400 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38401 THREADS_CFLAGS="$flag"
38402 ;;
38403
38404 *)
38405 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38406 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38407 THREADS_LINK="-l$flag"
38408 ;;
38409 esac
38410
38411 save_LIBS="$LIBS"
38412 save_CFLAGS="$CFLAGS"
38413 LIBS="$THREADS_LINK $LIBS"
38414 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38415
38416 cat >conftest.$ac_ext <<_ACEOF
38417 /* confdefs.h. */
38418 _ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38422 #include <pthread.h>
38423 int
38424 main ()
38425 {
38426 pthread_create(0,0,0,0);
38427 ;
38428 return 0;
38429 }
38430 _ACEOF
38431 rm -f conftest.$ac_objext conftest$ac_exeext
38432 if { (ac_try="$ac_link"
38433 case "(($ac_try" in
38434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38435 *) ac_try_echo=$ac_try;;
38436 esac
38437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38438 (eval "$ac_link") 2>conftest.er1
38439 ac_status=$?
38440 grep -v '^ *+' conftest.er1 >conftest.err
38441 rm -f conftest.er1
38442 cat conftest.err >&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } && {
38445 test -z "$ac_c_werror_flag" ||
38446 test ! -s conftest.err
38447 } && test -s conftest$ac_exeext &&
38448 $as_test_x conftest$ac_exeext; then
38449 THREADS_OK=yes
38450 else
38451 echo "$as_me: failed program was:" >&5
38452 sed 's/^/| /' conftest.$ac_ext >&5
38453
38454
38455 fi
38456
38457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38458 conftest$ac_exeext conftest.$ac_ext
38459
38460 LIBS="$save_LIBS"
38461 CFLAGS="$save_CFLAGS"
38462
38463 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38464 echo "${ECHO_T}$THREADS_OK" >&6; }
38465 if test "x$THREADS_OK" = "xyes"; then
38466 break;
38467 fi
38468
38469 THREADS_LINK=""
38470 THREADS_CFLAGS=""
38471 done
38472
38473 if test "x$THREADS_OK" != "xyes"; then
38474 wxUSE_THREADS=no
38475 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38476 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38477 else
38478 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38479 LIBS="$THREADS_LINK $LIBS"
38480
38481 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38482 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38483 flag=no
38484 case "${host}" in
38485 *-aix*)
38486 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38487 flag="-D_THREAD_SAFE"
38488 ;;
38489 *-freebsd*)
38490 flag="-D_THREAD_SAFE"
38491 ;;
38492 *-hp-hpux* )
38493 flag="-D_REENTRANT"
38494 if test "x$GCC" != "xyes"; then
38495 flag="$flag -D_RWSTD_MULTI_THREAD"
38496 fi
38497 ;;
38498 *solaris* | alpha*-osf*)
38499 flag="-D_REENTRANT"
38500 ;;
38501 esac
38502 { echo "$as_me:$LINENO: result: ${flag}" >&5
38503 echo "${ECHO_T}${flag}" >&6; }
38504 if test "x$flag" != xno; then
38505 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38506 fi
38507
38508 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38509 fi
38510 fi
38511
38512 if test "$wxUSE_THREADS" = "yes" ; then
38513
38514 for ac_func in thr_setconcurrency
38515 do
38516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38517 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38519 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522 cat >conftest.$ac_ext <<_ACEOF
38523 /* confdefs.h. */
38524 _ACEOF
38525 cat confdefs.h >>conftest.$ac_ext
38526 cat >>conftest.$ac_ext <<_ACEOF
38527 /* end confdefs.h. */
38528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38530 #define $ac_func innocuous_$ac_func
38531
38532 /* System header to define __stub macros and hopefully few prototypes,
38533 which can conflict with char $ac_func (); below.
38534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38535 <limits.h> exists even on freestanding compilers. */
38536
38537 #ifdef __STDC__
38538 # include <limits.h>
38539 #else
38540 # include <assert.h>
38541 #endif
38542
38543 #undef $ac_func
38544
38545 /* Override any GCC internal prototype to avoid an error.
38546 Use char because int might match the return type of a GCC
38547 builtin and then its argument prototype would still apply. */
38548 #ifdef __cplusplus
38549 extern "C"
38550 #endif
38551 char $ac_func ();
38552 /* The GNU C library defines this for functions which it implements
38553 to always fail with ENOSYS. Some functions are actually named
38554 something starting with __ and the normal name is an alias. */
38555 #if defined __stub_$ac_func || defined __stub___$ac_func
38556 choke me
38557 #endif
38558
38559 int
38560 main ()
38561 {
38562 return $ac_func ();
38563 ;
38564 return 0;
38565 }
38566 _ACEOF
38567 rm -f conftest.$ac_objext conftest$ac_exeext
38568 if { (ac_try="$ac_link"
38569 case "(($ac_try" in
38570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38571 *) ac_try_echo=$ac_try;;
38572 esac
38573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38574 (eval "$ac_link") 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } && {
38581 test -z "$ac_c_werror_flag" ||
38582 test ! -s conftest.err
38583 } && test -s conftest$ac_exeext &&
38584 $as_test_x conftest$ac_exeext; then
38585 eval "$as_ac_var=yes"
38586 else
38587 echo "$as_me: failed program was:" >&5
38588 sed 's/^/| /' conftest.$ac_ext >&5
38589
38590 eval "$as_ac_var=no"
38591 fi
38592
38593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38594 conftest$ac_exeext conftest.$ac_ext
38595 fi
38596 ac_res=`eval echo '${'$as_ac_var'}'`
38597 { echo "$as_me:$LINENO: result: $ac_res" >&5
38598 echo "${ECHO_T}$ac_res" >&6; }
38599 if test `eval echo '${'$as_ac_var'}'` = yes; then
38600 cat >>confdefs.h <<_ACEOF
38601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38602 _ACEOF
38603
38604 fi
38605 done
38606
38607
38608 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38609 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38610 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38611 echo $ECHO_N "(cached) $ECHO_C" >&6
38612 else
38613
38614 ac_ext=cpp
38615 ac_cpp='$CXXCPP $CPPFLAGS'
38616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38619
38620 cat >conftest.$ac_ext <<_ACEOF
38621 /* confdefs.h. */
38622 _ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 #include <pthread.h>
38627 void ThreadCleanupFunc(void *p);
38628
38629 int
38630 main ()
38631 {
38632
38633 void *p;
38634 pthread_cleanup_push(ThreadCleanupFunc, p);
38635 pthread_cleanup_pop(0);
38636
38637 ;
38638 return 0;
38639 }
38640 _ACEOF
38641 rm -f conftest.$ac_objext
38642 if { (ac_try="$ac_compile"
38643 case "(($ac_try" in
38644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38645 *) ac_try_echo=$ac_try;;
38646 esac
38647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38648 (eval "$ac_compile") 2>conftest.er1
38649 ac_status=$?
38650 grep -v '^ *+' conftest.er1 >conftest.err
38651 rm -f conftest.er1
38652 cat conftest.err >&5
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); } && {
38655 test -z "$ac_cxx_werror_flag" ||
38656 test ! -s conftest.err
38657 } && test -s conftest.$ac_objext; then
38658
38659 wx_cv_func_pthread_cleanup=yes
38660
38661 else
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38664
38665
38666 wx_cv_func_pthread_cleanup=no
38667
38668
38669 fi
38670
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677
38678
38679 fi
38680 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38681 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38682 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38683 cat >>confdefs.h <<\_ACEOF
38684 #define wxHAVE_PTHREAD_CLEANUP 1
38685 _ACEOF
38686
38687 fi
38688
38689
38690 for ac_header in sched.h
38691 do
38692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38697 else
38698 cat >conftest.$ac_ext <<_ACEOF
38699 /* confdefs.h. */
38700 _ACEOF
38701 cat confdefs.h >>conftest.$ac_ext
38702 cat >>conftest.$ac_ext <<_ACEOF
38703 /* end confdefs.h. */
38704 $ac_includes_default
38705
38706 #include <$ac_header>
38707 _ACEOF
38708 rm -f conftest.$ac_objext
38709 if { (ac_try="$ac_compile"
38710 case "(($ac_try" in
38711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38712 *) ac_try_echo=$ac_try;;
38713 esac
38714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38715 (eval "$ac_compile") 2>conftest.er1
38716 ac_status=$?
38717 grep -v '^ *+' conftest.er1 >conftest.err
38718 rm -f conftest.er1
38719 cat conftest.err >&5
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); } && {
38722 test -z "$ac_c_werror_flag" ||
38723 test ! -s conftest.err
38724 } && test -s conftest.$ac_objext; then
38725 eval "$as_ac_Header=yes"
38726 else
38727 echo "$as_me: failed program was:" >&5
38728 sed 's/^/| /' conftest.$ac_ext >&5
38729
38730 eval "$as_ac_Header=no"
38731 fi
38732
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38734 fi
38735 ac_res=`eval echo '${'$as_ac_Header'}'`
38736 { echo "$as_me:$LINENO: result: $ac_res" >&5
38737 echo "${ECHO_T}$ac_res" >&6; }
38738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38739 cat >>confdefs.h <<_ACEOF
38740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38741 _ACEOF
38742
38743 fi
38744
38745 done
38746
38747 if test "$ac_cv_header_sched_h" = "yes"; then
38748 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38749 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38750 if test "${ac_cv_func_sched_yield+set}" = set; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38752 else
38753 cat >conftest.$ac_ext <<_ACEOF
38754 /* confdefs.h. */
38755 _ACEOF
38756 cat confdefs.h >>conftest.$ac_ext
38757 cat >>conftest.$ac_ext <<_ACEOF
38758 /* end confdefs.h. */
38759 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38761 #define sched_yield innocuous_sched_yield
38762
38763 /* System header to define __stub macros and hopefully few prototypes,
38764 which can conflict with char sched_yield (); below.
38765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38766 <limits.h> exists even on freestanding compilers. */
38767
38768 #ifdef __STDC__
38769 # include <limits.h>
38770 #else
38771 # include <assert.h>
38772 #endif
38773
38774 #undef sched_yield
38775
38776 /* Override any GCC internal prototype to avoid an error.
38777 Use char because int might match the return type of a GCC
38778 builtin and then its argument prototype would still apply. */
38779 #ifdef __cplusplus
38780 extern "C"
38781 #endif
38782 char sched_yield ();
38783 /* The GNU C library defines this for functions which it implements
38784 to always fail with ENOSYS. Some functions are actually named
38785 something starting with __ and the normal name is an alias. */
38786 #if defined __stub_sched_yield || defined __stub___sched_yield
38787 choke me
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 return sched_yield ();
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 rm -f conftest.$ac_objext conftest$ac_exeext
38799 if { (ac_try="$ac_link"
38800 case "(($ac_try" in
38801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38802 *) ac_try_echo=$ac_try;;
38803 esac
38804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38805 (eval "$ac_link") 2>conftest.er1
38806 ac_status=$?
38807 grep -v '^ *+' conftest.er1 >conftest.err
38808 rm -f conftest.er1
38809 cat conftest.err >&5
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); } && {
38812 test -z "$ac_c_werror_flag" ||
38813 test ! -s conftest.err
38814 } && test -s conftest$ac_exeext &&
38815 $as_test_x conftest$ac_exeext; then
38816 ac_cv_func_sched_yield=yes
38817 else
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38820
38821 ac_cv_func_sched_yield=no
38822 fi
38823
38824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38825 conftest$ac_exeext conftest.$ac_ext
38826 fi
38827 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38828 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38829 if test $ac_cv_func_sched_yield = yes; then
38830 cat >>confdefs.h <<\_ACEOF
38831 #define HAVE_SCHED_YIELD 1
38832 _ACEOF
38833
38834 else
38835
38836 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38837 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38838 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38839 echo $ECHO_N "(cached) $ECHO_C" >&6
38840 else
38841 ac_check_lib_save_LIBS=$LIBS
38842 LIBS="-lposix4 $LIBS"
38843 cat >conftest.$ac_ext <<_ACEOF
38844 /* confdefs.h. */
38845 _ACEOF
38846 cat confdefs.h >>conftest.$ac_ext
38847 cat >>conftest.$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38849
38850 /* Override any GCC internal prototype to avoid an error.
38851 Use char because int might match the return type of a GCC
38852 builtin and then its argument prototype would still apply. */
38853 #ifdef __cplusplus
38854 extern "C"
38855 #endif
38856 char sched_yield ();
38857 int
38858 main ()
38859 {
38860 return sched_yield ();
38861 ;
38862 return 0;
38863 }
38864 _ACEOF
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (ac_try="$ac_link"
38867 case "(($ac_try" in
38868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38869 *) ac_try_echo=$ac_try;;
38870 esac
38871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38872 (eval "$ac_link") 2>conftest.er1
38873 ac_status=$?
38874 grep -v '^ *+' conftest.er1 >conftest.err
38875 rm -f conftest.er1
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } && {
38879 test -z "$ac_c_werror_flag" ||
38880 test ! -s conftest.err
38881 } && test -s conftest$ac_exeext &&
38882 $as_test_x conftest$ac_exeext; then
38883 ac_cv_lib_posix4_sched_yield=yes
38884 else
38885 echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.$ac_ext >&5
38887
38888 ac_cv_lib_posix4_sched_yield=no
38889 fi
38890
38891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38892 conftest$ac_exeext conftest.$ac_ext
38893 LIBS=$ac_check_lib_save_LIBS
38894 fi
38895 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38896 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38897 if test $ac_cv_lib_posix4_sched_yield = yes; then
38898 cat >>confdefs.h <<\_ACEOF
38899 #define HAVE_SCHED_YIELD 1
38900 _ACEOF
38901 POSIX4_LINK=" -lposix4"
38902 else
38903 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38904 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38905
38906 fi
38907
38908
38909
38910 fi
38911
38912 fi
38913
38914 HAVE_PRIOR_FUNCS=0
38915 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38916 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38917 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38918 echo $ECHO_N "(cached) $ECHO_C" >&6
38919 else
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38928 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38929
38930 /* System header to define __stub macros and hopefully few prototypes,
38931 which can conflict with char pthread_attr_getschedpolicy (); below.
38932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38933 <limits.h> exists even on freestanding compilers. */
38934
38935 #ifdef __STDC__
38936 # include <limits.h>
38937 #else
38938 # include <assert.h>
38939 #endif
38940
38941 #undef pthread_attr_getschedpolicy
38942
38943 /* Override any GCC internal prototype to avoid an error.
38944 Use char because int might match the return type of a GCC
38945 builtin and then its argument prototype would still apply. */
38946 #ifdef __cplusplus
38947 extern "C"
38948 #endif
38949 char pthread_attr_getschedpolicy ();
38950 /* The GNU C library defines this for functions which it implements
38951 to always fail with ENOSYS. Some functions are actually named
38952 something starting with __ and the normal name is an alias. */
38953 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38954 choke me
38955 #endif
38956
38957 int
38958 main ()
38959 {
38960 return pthread_attr_getschedpolicy ();
38961 ;
38962 return 0;
38963 }
38964 _ACEOF
38965 rm -f conftest.$ac_objext conftest$ac_exeext
38966 if { (ac_try="$ac_link"
38967 case "(($ac_try" in
38968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38969 *) ac_try_echo=$ac_try;;
38970 esac
38971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38972 (eval "$ac_link") 2>conftest.er1
38973 ac_status=$?
38974 grep -v '^ *+' conftest.er1 >conftest.err
38975 rm -f conftest.er1
38976 cat conftest.err >&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); } && {
38979 test -z "$ac_c_werror_flag" ||
38980 test ! -s conftest.err
38981 } && test -s conftest$ac_exeext &&
38982 $as_test_x conftest$ac_exeext; then
38983 ac_cv_func_pthread_attr_getschedpolicy=yes
38984 else
38985 echo "$as_me: failed program was:" >&5
38986 sed 's/^/| /' conftest.$ac_ext >&5
38987
38988 ac_cv_func_pthread_attr_getschedpolicy=no
38989 fi
38990
38991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38992 conftest$ac_exeext conftest.$ac_ext
38993 fi
38994 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38995 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38996 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38997 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38998 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38999 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39000 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 else
39002 cat >conftest.$ac_ext <<_ACEOF
39003 /* confdefs.h. */
39004 _ACEOF
39005 cat confdefs.h >>conftest.$ac_ext
39006 cat >>conftest.$ac_ext <<_ACEOF
39007 /* end confdefs.h. */
39008 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39010 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39011
39012 /* System header to define __stub macros and hopefully few prototypes,
39013 which can conflict with char pthread_attr_setschedparam (); below.
39014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39015 <limits.h> exists even on freestanding compilers. */
39016
39017 #ifdef __STDC__
39018 # include <limits.h>
39019 #else
39020 # include <assert.h>
39021 #endif
39022
39023 #undef pthread_attr_setschedparam
39024
39025 /* Override any GCC internal prototype to avoid an error.
39026 Use char because int might match the return type of a GCC
39027 builtin and then its argument prototype would still apply. */
39028 #ifdef __cplusplus
39029 extern "C"
39030 #endif
39031 char pthread_attr_setschedparam ();
39032 /* The GNU C library defines this for functions which it implements
39033 to always fail with ENOSYS. Some functions are actually named
39034 something starting with __ and the normal name is an alias. */
39035 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39036 choke me
39037 #endif
39038
39039 int
39040 main ()
39041 {
39042 return pthread_attr_setschedparam ();
39043 ;
39044 return 0;
39045 }
39046 _ACEOF
39047 rm -f conftest.$ac_objext conftest$ac_exeext
39048 if { (ac_try="$ac_link"
39049 case "(($ac_try" in
39050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39051 *) ac_try_echo=$ac_try;;
39052 esac
39053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39054 (eval "$ac_link") 2>conftest.er1
39055 ac_status=$?
39056 grep -v '^ *+' conftest.er1 >conftest.err
39057 rm -f conftest.er1
39058 cat conftest.err >&5
39059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39060 (exit $ac_status); } && {
39061 test -z "$ac_c_werror_flag" ||
39062 test ! -s conftest.err
39063 } && test -s conftest$ac_exeext &&
39064 $as_test_x conftest$ac_exeext; then
39065 ac_cv_func_pthread_attr_setschedparam=yes
39066 else
39067 echo "$as_me: failed program was:" >&5
39068 sed 's/^/| /' conftest.$ac_ext >&5
39069
39070 ac_cv_func_pthread_attr_setschedparam=no
39071 fi
39072
39073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39074 conftest$ac_exeext conftest.$ac_ext
39075 fi
39076 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39077 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39078 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39079 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39080 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39081 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39082 echo $ECHO_N "(cached) $ECHO_C" >&6
39083 else
39084 cat >conftest.$ac_ext <<_ACEOF
39085 /* confdefs.h. */
39086 _ACEOF
39087 cat confdefs.h >>conftest.$ac_ext
39088 cat >>conftest.$ac_ext <<_ACEOF
39089 /* end confdefs.h. */
39090 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39092 #define sched_get_priority_max innocuous_sched_get_priority_max
39093
39094 /* System header to define __stub macros and hopefully few prototypes,
39095 which can conflict with char sched_get_priority_max (); below.
39096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39097 <limits.h> exists even on freestanding compilers. */
39098
39099 #ifdef __STDC__
39100 # include <limits.h>
39101 #else
39102 # include <assert.h>
39103 #endif
39104
39105 #undef sched_get_priority_max
39106
39107 /* Override any GCC internal prototype to avoid an error.
39108 Use char because int might match the return type of a GCC
39109 builtin and then its argument prototype would still apply. */
39110 #ifdef __cplusplus
39111 extern "C"
39112 #endif
39113 char sched_get_priority_max ();
39114 /* The GNU C library defines this for functions which it implements
39115 to always fail with ENOSYS. Some functions are actually named
39116 something starting with __ and the normal name is an alias. */
39117 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39118 choke me
39119 #endif
39120
39121 int
39122 main ()
39123 {
39124 return sched_get_priority_max ();
39125 ;
39126 return 0;
39127 }
39128 _ACEOF
39129 rm -f conftest.$ac_objext conftest$ac_exeext
39130 if { (ac_try="$ac_link"
39131 case "(($ac_try" in
39132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39133 *) ac_try_echo=$ac_try;;
39134 esac
39135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39136 (eval "$ac_link") 2>conftest.er1
39137 ac_status=$?
39138 grep -v '^ *+' conftest.er1 >conftest.err
39139 rm -f conftest.er1
39140 cat conftest.err >&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } && {
39143 test -z "$ac_c_werror_flag" ||
39144 test ! -s conftest.err
39145 } && test -s conftest$ac_exeext &&
39146 $as_test_x conftest$ac_exeext; then
39147 ac_cv_func_sched_get_priority_max=yes
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152 ac_cv_func_sched_get_priority_max=no
39153 fi
39154
39155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39156 conftest$ac_exeext conftest.$ac_ext
39157 fi
39158 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39159 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39160 if test $ac_cv_func_sched_get_priority_max = yes; then
39161 HAVE_PRIOR_FUNCS=1
39162 else
39163 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39164 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39165 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 ac_check_lib_save_LIBS=$LIBS
39169 LIBS="-lposix4 $LIBS"
39170 cat >conftest.$ac_ext <<_ACEOF
39171 /* confdefs.h. */
39172 _ACEOF
39173 cat confdefs.h >>conftest.$ac_ext
39174 cat >>conftest.$ac_ext <<_ACEOF
39175 /* end confdefs.h. */
39176
39177 /* Override any GCC internal prototype to avoid an error.
39178 Use char because int might match the return type of a GCC
39179 builtin and then its argument prototype would still apply. */
39180 #ifdef __cplusplus
39181 extern "C"
39182 #endif
39183 char sched_get_priority_max ();
39184 int
39185 main ()
39186 {
39187 return sched_get_priority_max ();
39188 ;
39189 return 0;
39190 }
39191 _ACEOF
39192 rm -f conftest.$ac_objext conftest$ac_exeext
39193 if { (ac_try="$ac_link"
39194 case "(($ac_try" in
39195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39196 *) ac_try_echo=$ac_try;;
39197 esac
39198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39199 (eval "$ac_link") 2>conftest.er1
39200 ac_status=$?
39201 grep -v '^ *+' conftest.er1 >conftest.err
39202 rm -f conftest.er1
39203 cat conftest.err >&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } && {
39206 test -z "$ac_c_werror_flag" ||
39207 test ! -s conftest.err
39208 } && test -s conftest$ac_exeext &&
39209 $as_test_x conftest$ac_exeext; then
39210 ac_cv_lib_posix4_sched_get_priority_max=yes
39211 else
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.$ac_ext >&5
39214
39215 ac_cv_lib_posix4_sched_get_priority_max=no
39216 fi
39217
39218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39219 conftest$ac_exeext conftest.$ac_ext
39220 LIBS=$ac_check_lib_save_LIBS
39221 fi
39222 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39223 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39224 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39225
39226 HAVE_PRIOR_FUNCS=1
39227 POSIX4_LINK=" -lposix4"
39228
39229 fi
39230
39231
39232 fi
39233
39234
39235 fi
39236
39237
39238 fi
39239
39240
39241 if test "$HAVE_PRIOR_FUNCS" = 1; then
39242 cat >>confdefs.h <<\_ACEOF
39243 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39244 _ACEOF
39245
39246 else
39247 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39248 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39249 fi
39250
39251 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39252 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39253 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39255 else
39256 cat >conftest.$ac_ext <<_ACEOF
39257 /* confdefs.h. */
39258 _ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39264 #define pthread_cancel innocuous_pthread_cancel
39265
39266 /* System header to define __stub macros and hopefully few prototypes,
39267 which can conflict with char pthread_cancel (); below.
39268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39269 <limits.h> exists even on freestanding compilers. */
39270
39271 #ifdef __STDC__
39272 # include <limits.h>
39273 #else
39274 # include <assert.h>
39275 #endif
39276
39277 #undef pthread_cancel
39278
39279 /* Override any GCC internal prototype to avoid an error.
39280 Use char because int might match the return type of a GCC
39281 builtin and then its argument prototype would still apply. */
39282 #ifdef __cplusplus
39283 extern "C"
39284 #endif
39285 char pthread_cancel ();
39286 /* The GNU C library defines this for functions which it implements
39287 to always fail with ENOSYS. Some functions are actually named
39288 something starting with __ and the normal name is an alias. */
39289 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39290 choke me
39291 #endif
39292
39293 int
39294 main ()
39295 {
39296 return pthread_cancel ();
39297 ;
39298 return 0;
39299 }
39300 _ACEOF
39301 rm -f conftest.$ac_objext conftest$ac_exeext
39302 if { (ac_try="$ac_link"
39303 case "(($ac_try" in
39304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39305 *) ac_try_echo=$ac_try;;
39306 esac
39307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39308 (eval "$ac_link") 2>conftest.er1
39309 ac_status=$?
39310 grep -v '^ *+' conftest.er1 >conftest.err
39311 rm -f conftest.er1
39312 cat conftest.err >&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } && {
39315 test -z "$ac_c_werror_flag" ||
39316 test ! -s conftest.err
39317 } && test -s conftest$ac_exeext &&
39318 $as_test_x conftest$ac_exeext; then
39319 ac_cv_func_pthread_cancel=yes
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39323
39324 ac_cv_func_pthread_cancel=no
39325 fi
39326
39327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39328 conftest$ac_exeext conftest.$ac_ext
39329 fi
39330 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39331 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39332 if test $ac_cv_func_pthread_cancel = yes; then
39333 cat >>confdefs.h <<\_ACEOF
39334 #define HAVE_PTHREAD_CANCEL 1
39335 _ACEOF
39336
39337 else
39338 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39339 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39340 fi
39341
39342
39343 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39344 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39345 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39346 echo $ECHO_N "(cached) $ECHO_C" >&6
39347 else
39348 cat >conftest.$ac_ext <<_ACEOF
39349 /* confdefs.h. */
39350 _ACEOF
39351 cat confdefs.h >>conftest.$ac_ext
39352 cat >>conftest.$ac_ext <<_ACEOF
39353 /* end confdefs.h. */
39354 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39356 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39357
39358 /* System header to define __stub macros and hopefully few prototypes,
39359 which can conflict with char pthread_mutex_timedlock (); below.
39360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39361 <limits.h> exists even on freestanding compilers. */
39362
39363 #ifdef __STDC__
39364 # include <limits.h>
39365 #else
39366 # include <assert.h>
39367 #endif
39368
39369 #undef pthread_mutex_timedlock
39370
39371 /* Override any GCC internal prototype to avoid an error.
39372 Use char because int might match the return type of a GCC
39373 builtin and then its argument prototype would still apply. */
39374 #ifdef __cplusplus
39375 extern "C"
39376 #endif
39377 char pthread_mutex_timedlock ();
39378 /* The GNU C library defines this for functions which it implements
39379 to always fail with ENOSYS. Some functions are actually named
39380 something starting with __ and the normal name is an alias. */
39381 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39382 choke me
39383 #endif
39384
39385 int
39386 main ()
39387 {
39388 return pthread_mutex_timedlock ();
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 rm -f conftest.$ac_objext conftest$ac_exeext
39394 if { (ac_try="$ac_link"
39395 case "(($ac_try" in
39396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39397 *) ac_try_echo=$ac_try;;
39398 esac
39399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39400 (eval "$ac_link") 2>conftest.er1
39401 ac_status=$?
39402 grep -v '^ *+' conftest.er1 >conftest.err
39403 rm -f conftest.er1
39404 cat conftest.err >&5
39405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39406 (exit $ac_status); } && {
39407 test -z "$ac_c_werror_flag" ||
39408 test ! -s conftest.err
39409 } && test -s conftest$ac_exeext &&
39410 $as_test_x conftest$ac_exeext; then
39411 ac_cv_func_pthread_mutex_timedlock=yes
39412 else
39413 echo "$as_me: failed program was:" >&5
39414 sed 's/^/| /' conftest.$ac_ext >&5
39415
39416 ac_cv_func_pthread_mutex_timedlock=no
39417 fi
39418
39419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39420 conftest$ac_exeext conftest.$ac_ext
39421 fi
39422 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39423 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39424 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39425 cat >>confdefs.h <<\_ACEOF
39426 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39427 _ACEOF
39428
39429 else
39430 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39431 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39432 fi
39433
39434
39435 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39436 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39437 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39438 echo $ECHO_N "(cached) $ECHO_C" >&6
39439 else
39440 cat >conftest.$ac_ext <<_ACEOF
39441 /* confdefs.h. */
39442 _ACEOF
39443 cat confdefs.h >>conftest.$ac_ext
39444 cat >>conftest.$ac_ext <<_ACEOF
39445 /* end confdefs.h. */
39446 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39448 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39449
39450 /* System header to define __stub macros and hopefully few prototypes,
39451 which can conflict with char pthread_attr_setstacksize (); below.
39452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39453 <limits.h> exists even on freestanding compilers. */
39454
39455 #ifdef __STDC__
39456 # include <limits.h>
39457 #else
39458 # include <assert.h>
39459 #endif
39460
39461 #undef pthread_attr_setstacksize
39462
39463 /* Override any GCC internal prototype to avoid an error.
39464 Use char because int might match the return type of a GCC
39465 builtin and then its argument prototype would still apply. */
39466 #ifdef __cplusplus
39467 extern "C"
39468 #endif
39469 char pthread_attr_setstacksize ();
39470 /* The GNU C library defines this for functions which it implements
39471 to always fail with ENOSYS. Some functions are actually named
39472 something starting with __ and the normal name is an alias. */
39473 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39474 choke me
39475 #endif
39476
39477 int
39478 main ()
39479 {
39480 return pthread_attr_setstacksize ();
39481 ;
39482 return 0;
39483 }
39484 _ACEOF
39485 rm -f conftest.$ac_objext conftest$ac_exeext
39486 if { (ac_try="$ac_link"
39487 case "(($ac_try" in
39488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39489 *) ac_try_echo=$ac_try;;
39490 esac
39491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39492 (eval "$ac_link") 2>conftest.er1
39493 ac_status=$?
39494 grep -v '^ *+' conftest.er1 >conftest.err
39495 rm -f conftest.er1
39496 cat conftest.err >&5
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); } && {
39499 test -z "$ac_c_werror_flag" ||
39500 test ! -s conftest.err
39501 } && test -s conftest$ac_exeext &&
39502 $as_test_x conftest$ac_exeext; then
39503 ac_cv_func_pthread_attr_setstacksize=yes
39504 else
39505 echo "$as_me: failed program was:" >&5
39506 sed 's/^/| /' conftest.$ac_ext >&5
39507
39508 ac_cv_func_pthread_attr_setstacksize=no
39509 fi
39510
39511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39512 conftest$ac_exeext conftest.$ac_ext
39513 fi
39514 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39515 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39516 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39517 cat >>confdefs.h <<\_ACEOF
39518 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39519 _ACEOF
39520
39521 fi
39522
39523
39524
39525 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39526 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39527 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 else
39530
39531 cat >conftest.$ac_ext <<_ACEOF
39532 /* confdefs.h. */
39533 _ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537 #include <pthread.h>
39538 int
39539 main ()
39540 {
39541
39542 pthread_mutexattr_t attr;
39543 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39544
39545 ;
39546 return 0;
39547 }
39548 _ACEOF
39549 rm -f conftest.$ac_objext
39550 if { (ac_try="$ac_compile"
39551 case "(($ac_try" in
39552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39553 *) ac_try_echo=$ac_try;;
39554 esac
39555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39556 (eval "$ac_compile") 2>conftest.er1
39557 ac_status=$?
39558 grep -v '^ *+' conftest.er1 >conftest.err
39559 rm -f conftest.er1
39560 cat conftest.err >&5
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); } && {
39563 test -z "$ac_c_werror_flag" ||
39564 test ! -s conftest.err
39565 } && test -s conftest.$ac_objext; then
39566 wx_cv_type_pthread_mutexattr_t=yes
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39570
39571 wx_cv_type_pthread_mutexattr_t=no
39572
39573 fi
39574
39575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39576
39577 fi
39578 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39579 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39580
39581 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39582 cat >>confdefs.h <<\_ACEOF
39583 #define HAVE_PTHREAD_MUTEXATTR_T 1
39584 _ACEOF
39585
39586
39587 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39588 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39589 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 else
39592
39593 cat >conftest.$ac_ext <<_ACEOF
39594 /* confdefs.h. */
39595 _ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599 #include <pthread.h>
39600 int
39601 main ()
39602 {
39603
39604 pthread_mutexattr_t attr;
39605 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39606
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 rm -f conftest.$ac_objext
39612 if { (ac_try="$ac_compile"
39613 case "(($ac_try" in
39614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39615 *) ac_try_echo=$ac_try;;
39616 esac
39617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39618 (eval "$ac_compile") 2>conftest.er1
39619 ac_status=$?
39620 grep -v '^ *+' conftest.er1 >conftest.err
39621 rm -f conftest.er1
39622 cat conftest.err >&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); } && {
39625 test -z "$ac_c_werror_flag" ||
39626 test ! -s conftest.err
39627 } && test -s conftest.$ac_objext; then
39628 wx_cv_func_pthread_mutexattr_settype_decl=yes
39629 else
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39632
39633 wx_cv_func_pthread_mutexattr_settype_decl=no
39634
39635 fi
39636
39637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39638
39639 fi
39640 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39641 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39642 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39643 cat >>confdefs.h <<\_ACEOF
39644 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39645 _ACEOF
39646
39647 fi
39648 else
39649 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39650 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39651 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 else
39654
39655 cat >conftest.$ac_ext <<_ACEOF
39656 /* confdefs.h. */
39657 _ACEOF
39658 cat confdefs.h >>conftest.$ac_ext
39659 cat >>conftest.$ac_ext <<_ACEOF
39660 /* end confdefs.h. */
39661 #include <pthread.h>
39662 int
39663 main ()
39664 {
39665
39666 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39667
39668 ;
39669 return 0;
39670 }
39671 _ACEOF
39672 rm -f conftest.$ac_objext
39673 if { (ac_try="$ac_compile"
39674 case "(($ac_try" in
39675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39676 *) ac_try_echo=$ac_try;;
39677 esac
39678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39679 (eval "$ac_compile") 2>conftest.er1
39680 ac_status=$?
39681 grep -v '^ *+' conftest.er1 >conftest.err
39682 rm -f conftest.er1
39683 cat conftest.err >&5
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); } && {
39686 test -z "$ac_c_werror_flag" ||
39687 test ! -s conftest.err
39688 } && test -s conftest.$ac_objext; then
39689
39690 wx_cv_type_pthread_rec_mutex_init=yes
39691
39692 else
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39695
39696
39697 wx_cv_type_pthread_rec_mutex_init=no
39698
39699
39700 fi
39701
39702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39703
39704 fi
39705 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39706 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39707 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39708 cat >>confdefs.h <<\_ACEOF
39709 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39710 _ACEOF
39711
39712 else
39713 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39714 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39715 fi
39716 fi
39717 fi
39718
39719 else
39720 if test "$wxUSE_THREADS" = "yes" ; then
39721 case "${host}" in
39722 *-*-mingw32* )
39723 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39724 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39725 if test "${wx_cv_cflags_mthread+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728
39729 CFLAGS_OLD="$CFLAGS"
39730 CFLAGS="-mthreads $CFLAGS"
39731 cat >conftest.$ac_ext <<_ACEOF
39732 /* confdefs.h. */
39733 _ACEOF
39734 cat confdefs.h >>conftest.$ac_ext
39735 cat >>conftest.$ac_ext <<_ACEOF
39736 /* end confdefs.h. */
39737
39738 int
39739 main ()
39740 {
39741
39742 ;
39743 return 0;
39744 }
39745 _ACEOF
39746 rm -f conftest.$ac_objext
39747 if { (ac_try="$ac_compile"
39748 case "(($ac_try" in
39749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39750 *) ac_try_echo=$ac_try;;
39751 esac
39752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39753 (eval "$ac_compile") 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } && {
39760 test -z "$ac_c_werror_flag" ||
39761 test ! -s conftest.err
39762 } && test -s conftest.$ac_objext; then
39763 wx_cv_cflags_mthread=yes
39764 else
39765 echo "$as_me: failed program was:" >&5
39766 sed 's/^/| /' conftest.$ac_ext >&5
39767
39768 wx_cv_cflags_mthread=no
39769
39770 fi
39771
39772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39773
39774
39775 fi
39776 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39777 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39778
39779 if test "$wx_cv_cflags_mthread" = "yes"; then
39780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39781 LDFLAGS="$LDFLAGS -mthreads"
39782 else
39783 CFLAGS="$CFLAGS_OLD"
39784 fi
39785 ;;
39786 *-pc-os2*emx )
39787 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39788 LDFLAGS="$LDFLAGS -Zmt"
39789 ;;
39790 esac
39791 fi
39792 fi
39793
39794 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39795 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39796 if test "${ac_cv_func_localtime_r+set}" = set; then
39797 echo $ECHO_N "(cached) $ECHO_C" >&6
39798 else
39799 cat >conftest.$ac_ext <<_ACEOF
39800 /* confdefs.h. */
39801 _ACEOF
39802 cat confdefs.h >>conftest.$ac_ext
39803 cat >>conftest.$ac_ext <<_ACEOF
39804 /* end confdefs.h. */
39805 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39807 #define localtime_r innocuous_localtime_r
39808
39809 /* System header to define __stub macros and hopefully few prototypes,
39810 which can conflict with char localtime_r (); below.
39811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39812 <limits.h> exists even on freestanding compilers. */
39813
39814 #ifdef __STDC__
39815 # include <limits.h>
39816 #else
39817 # include <assert.h>
39818 #endif
39819
39820 #undef localtime_r
39821
39822 /* Override any GCC internal prototype to avoid an error.
39823 Use char because int might match the return type of a GCC
39824 builtin and then its argument prototype would still apply. */
39825 #ifdef __cplusplus
39826 extern "C"
39827 #endif
39828 char localtime_r ();
39829 /* The GNU C library defines this for functions which it implements
39830 to always fail with ENOSYS. Some functions are actually named
39831 something starting with __ and the normal name is an alias. */
39832 #if defined __stub_localtime_r || defined __stub___localtime_r
39833 choke me
39834 #endif
39835
39836 int
39837 main ()
39838 {
39839 return localtime_r ();
39840 ;
39841 return 0;
39842 }
39843 _ACEOF
39844 rm -f conftest.$ac_objext conftest$ac_exeext
39845 if { (ac_try="$ac_link"
39846 case "(($ac_try" in
39847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39848 *) ac_try_echo=$ac_try;;
39849 esac
39850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39851 (eval "$ac_link") 2>conftest.er1
39852 ac_status=$?
39853 grep -v '^ *+' conftest.er1 >conftest.err
39854 rm -f conftest.er1
39855 cat conftest.err >&5
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); } && {
39858 test -z "$ac_c_werror_flag" ||
39859 test ! -s conftest.err
39860 } && test -s conftest$ac_exeext &&
39861 $as_test_x conftest$ac_exeext; then
39862 ac_cv_func_localtime_r=yes
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39866
39867 ac_cv_func_localtime_r=no
39868 fi
39869
39870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39871 conftest$ac_exeext conftest.$ac_ext
39872 fi
39873 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39874 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39875 if test $ac_cv_func_localtime_r = yes; then
39876 cat >>confdefs.h <<\_ACEOF
39877 #define HAVE_LOCALTIME_R 1
39878 _ACEOF
39879
39880 fi
39881
39882 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39883 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39884 if test "${ac_cv_func_gmtime_r+set}" = set; then
39885 echo $ECHO_N "(cached) $ECHO_C" >&6
39886 else
39887 cat >conftest.$ac_ext <<_ACEOF
39888 /* confdefs.h. */
39889 _ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39893 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39895 #define gmtime_r innocuous_gmtime_r
39896
39897 /* System header to define __stub macros and hopefully few prototypes,
39898 which can conflict with char gmtime_r (); below.
39899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39900 <limits.h> exists even on freestanding compilers. */
39901
39902 #ifdef __STDC__
39903 # include <limits.h>
39904 #else
39905 # include <assert.h>
39906 #endif
39907
39908 #undef gmtime_r
39909
39910 /* Override any GCC internal prototype to avoid an error.
39911 Use char because int might match the return type of a GCC
39912 builtin and then its argument prototype would still apply. */
39913 #ifdef __cplusplus
39914 extern "C"
39915 #endif
39916 char gmtime_r ();
39917 /* The GNU C library defines this for functions which it implements
39918 to always fail with ENOSYS. Some functions are actually named
39919 something starting with __ and the normal name is an alias. */
39920 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39921 choke me
39922 #endif
39923
39924 int
39925 main ()
39926 {
39927 return gmtime_r ();
39928 ;
39929 return 0;
39930 }
39931 _ACEOF
39932 rm -f conftest.$ac_objext conftest$ac_exeext
39933 if { (ac_try="$ac_link"
39934 case "(($ac_try" in
39935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39936 *) ac_try_echo=$ac_try;;
39937 esac
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_link") 2>conftest.er1
39940 ac_status=$?
39941 grep -v '^ *+' conftest.er1 >conftest.err
39942 rm -f conftest.er1
39943 cat conftest.err >&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } && {
39946 test -z "$ac_c_werror_flag" ||
39947 test ! -s conftest.err
39948 } && test -s conftest$ac_exeext &&
39949 $as_test_x conftest$ac_exeext; then
39950 ac_cv_func_gmtime_r=yes
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955 ac_cv_func_gmtime_r=no
39956 fi
39957
39958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39959 conftest$ac_exeext conftest.$ac_ext
39960 fi
39961 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39962 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39963 if test $ac_cv_func_gmtime_r = yes; then
39964 cat >>confdefs.h <<\_ACEOF
39965 #define HAVE_GMTIME_R 1
39966 _ACEOF
39967
39968 fi
39969
39970
39971
39972
39973 ac_ext=c
39974 ac_cpp='$CPP $CPPFLAGS'
39975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39978
39979 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39980 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39981
39982 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39983 echo $ECHO_N "(cached) $ECHO_C" >&6
39984 else
39985
39986
39987 ################################################################
39988
39989 ac_cv_func_which_gethostbyname_r=unknown
39990
39991 #
39992 # ONE ARGUMENT (sanity check)
39993 #
39994
39995 # This should fail, as there is no variant of gethostbyname_r() that takes
39996 # a single argument. If it actually compiles, then we can assume that
39997 # netdb.h is not declaring the function, and the compiler is thereby
39998 # assuming an implicit prototype. In which case, we're out of luck.
39999 #
40000 cat >conftest.$ac_ext <<_ACEOF
40001 /* confdefs.h. */
40002 _ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 #include <netdb.h>
40007 int
40008 main ()
40009 {
40010
40011 char *name = "www.gnu.org";
40012 (void)gethostbyname_r(name) /* ; */
40013
40014 ;
40015 return 0;
40016 }
40017 _ACEOF
40018 rm -f conftest.$ac_objext
40019 if { (ac_try="$ac_compile"
40020 case "(($ac_try" in
40021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40022 *) ac_try_echo=$ac_try;;
40023 esac
40024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40025 (eval "$ac_compile") 2>conftest.er1
40026 ac_status=$?
40027 grep -v '^ *+' conftest.er1 >conftest.err
40028 rm -f conftest.er1
40029 cat conftest.err >&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } && {
40032 test -z "$ac_c_werror_flag" ||
40033 test ! -s conftest.err
40034 } && test -s conftest.$ac_objext; then
40035 ac_cv_func_which_gethostbyname_r=no
40036 else
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.$ac_ext >&5
40039
40040
40041 fi
40042
40043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40044
40045 #
40046 # SIX ARGUMENTS
40047 # (e.g. Linux)
40048 #
40049
40050 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40051
40052 cat >conftest.$ac_ext <<_ACEOF
40053 /* confdefs.h. */
40054 _ACEOF
40055 cat confdefs.h >>conftest.$ac_ext
40056 cat >>conftest.$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40058 #include <netdb.h>
40059 int
40060 main ()
40061 {
40062
40063 char *name = "www.gnu.org";
40064 struct hostent ret, *retp;
40065 char buf[1024];
40066 int buflen = 1024;
40067 int my_h_errno;
40068 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40069
40070 ;
40071 return 0;
40072 }
40073 _ACEOF
40074 rm -f conftest.$ac_objext
40075 if { (ac_try="$ac_compile"
40076 case "(($ac_try" in
40077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40078 *) ac_try_echo=$ac_try;;
40079 esac
40080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40081 (eval "$ac_compile") 2>conftest.er1
40082 ac_status=$?
40083 grep -v '^ *+' conftest.er1 >conftest.err
40084 rm -f conftest.er1
40085 cat conftest.err >&5
40086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40087 (exit $ac_status); } && {
40088 test -z "$ac_c_werror_flag" ||
40089 test ! -s conftest.err
40090 } && test -s conftest.$ac_objext; then
40091 ac_cv_func_which_gethostbyname_r=six
40092 else
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096
40097 fi
40098
40099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40100
40101 fi
40102
40103 #
40104 # FIVE ARGUMENTS
40105 # (e.g. Solaris)
40106 #
40107
40108 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40109
40110 cat >conftest.$ac_ext <<_ACEOF
40111 /* confdefs.h. */
40112 _ACEOF
40113 cat confdefs.h >>conftest.$ac_ext
40114 cat >>conftest.$ac_ext <<_ACEOF
40115 /* end confdefs.h. */
40116 #include <netdb.h>
40117 int
40118 main ()
40119 {
40120
40121 char *name = "www.gnu.org";
40122 struct hostent ret;
40123 char buf[1024];
40124 int buflen = 1024;
40125 int my_h_errno;
40126 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40127
40128 ;
40129 return 0;
40130 }
40131 _ACEOF
40132 rm -f conftest.$ac_objext
40133 if { (ac_try="$ac_compile"
40134 case "(($ac_try" in
40135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40136 *) ac_try_echo=$ac_try;;
40137 esac
40138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40139 (eval "$ac_compile") 2>conftest.er1
40140 ac_status=$?
40141 grep -v '^ *+' conftest.er1 >conftest.err
40142 rm -f conftest.er1
40143 cat conftest.err >&5
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); } && {
40146 test -z "$ac_c_werror_flag" ||
40147 test ! -s conftest.err
40148 } && test -s conftest.$ac_objext; then
40149 ac_cv_func_which_gethostbyname_r=five
40150 else
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40153
40154
40155 fi
40156
40157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158
40159 fi
40160
40161 #
40162 # THREE ARGUMENTS
40163 # (e.g. AIX, HP-UX, Tru64)
40164 #
40165
40166 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40167
40168 cat >conftest.$ac_ext <<_ACEOF
40169 /* confdefs.h. */
40170 _ACEOF
40171 cat confdefs.h >>conftest.$ac_ext
40172 cat >>conftest.$ac_ext <<_ACEOF
40173 /* end confdefs.h. */
40174 #include <netdb.h>
40175 int
40176 main ()
40177 {
40178
40179 char *name = "www.gnu.org";
40180 struct hostent ret;
40181 struct hostent_data data;
40182 (void)gethostbyname_r(name, &ret, &data) /* ; */
40183
40184 ;
40185 return 0;
40186 }
40187 _ACEOF
40188 rm -f conftest.$ac_objext
40189 if { (ac_try="$ac_compile"
40190 case "(($ac_try" in
40191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40192 *) ac_try_echo=$ac_try;;
40193 esac
40194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40195 (eval "$ac_compile") 2>conftest.er1
40196 ac_status=$?
40197 grep -v '^ *+' conftest.er1 >conftest.err
40198 rm -f conftest.er1
40199 cat conftest.err >&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); } && {
40202 test -z "$ac_c_werror_flag" ||
40203 test ! -s conftest.err
40204 } && test -s conftest.$ac_objext; then
40205 ac_cv_func_which_gethostbyname_r=three
40206 else
40207 echo "$as_me: failed program was:" >&5
40208 sed 's/^/| /' conftest.$ac_ext >&5
40209
40210
40211 fi
40212
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40214
40215 fi
40216
40217 ################################################################
40218
40219
40220 fi
40221
40222 case "$ac_cv_func_which_gethostbyname_r" in
40223 three)
40224 { echo "$as_me:$LINENO: result: three" >&5
40225 echo "${ECHO_T}three" >&6; }
40226 cat >>confdefs.h <<\_ACEOF
40227 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40228 _ACEOF
40229
40230 ;;
40231
40232 five)
40233 { echo "$as_me:$LINENO: result: five" >&5
40234 echo "${ECHO_T}five" >&6; }
40235 cat >>confdefs.h <<\_ACEOF
40236 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40237 _ACEOF
40238
40239 ;;
40240
40241 six)
40242 { echo "$as_me:$LINENO: result: six" >&5
40243 echo "${ECHO_T}six" >&6; }
40244 cat >>confdefs.h <<\_ACEOF
40245 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40246 _ACEOF
40247
40248 ;;
40249
40250 no)
40251 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40252 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40253 ;;
40254
40255 unknown)
40256 { echo "$as_me:$LINENO: result: can't tell" >&5
40257 echo "${ECHO_T}can't tell" >&6; }
40258 ;;
40259
40260 *)
40261 { { echo "$as_me:$LINENO: error: internal error" >&5
40262 echo "$as_me: error: internal error" >&2;}
40263 { (exit 1); exit 1; }; }
40264 ;;
40265 esac
40266
40267 ac_ext=c
40268 ac_cpp='$CPP $CPPFLAGS'
40269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40272
40273
40274
40275 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40276 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40277 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40278 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40279 if test "${ac_cv_func_gethostbyname+set}" = set; then
40280 echo $ECHO_N "(cached) $ECHO_C" >&6
40281 else
40282 cat >conftest.$ac_ext <<_ACEOF
40283 /* confdefs.h. */
40284 _ACEOF
40285 cat confdefs.h >>conftest.$ac_ext
40286 cat >>conftest.$ac_ext <<_ACEOF
40287 /* end confdefs.h. */
40288 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40290 #define gethostbyname innocuous_gethostbyname
40291
40292 /* System header to define __stub macros and hopefully few prototypes,
40293 which can conflict with char gethostbyname (); below.
40294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40295 <limits.h> exists even on freestanding compilers. */
40296
40297 #ifdef __STDC__
40298 # include <limits.h>
40299 #else
40300 # include <assert.h>
40301 #endif
40302
40303 #undef gethostbyname
40304
40305 /* Override any GCC internal prototype to avoid an error.
40306 Use char because int might match the return type of a GCC
40307 builtin and then its argument prototype would still apply. */
40308 #ifdef __cplusplus
40309 extern "C"
40310 #endif
40311 char gethostbyname ();
40312 /* The GNU C library defines this for functions which it implements
40313 to always fail with ENOSYS. Some functions are actually named
40314 something starting with __ and the normal name is an alias. */
40315 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40316 choke me
40317 #endif
40318
40319 int
40320 main ()
40321 {
40322 return gethostbyname ();
40323 ;
40324 return 0;
40325 }
40326 _ACEOF
40327 rm -f conftest.$ac_objext conftest$ac_exeext
40328 if { (ac_try="$ac_link"
40329 case "(($ac_try" in
40330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40331 *) ac_try_echo=$ac_try;;
40332 esac
40333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40334 (eval "$ac_link") 2>conftest.er1
40335 ac_status=$?
40336 grep -v '^ *+' conftest.er1 >conftest.err
40337 rm -f conftest.er1
40338 cat conftest.err >&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); } && {
40341 test -z "$ac_c_werror_flag" ||
40342 test ! -s conftest.err
40343 } && test -s conftest$ac_exeext &&
40344 $as_test_x conftest$ac_exeext; then
40345 ac_cv_func_gethostbyname=yes
40346 else
40347 echo "$as_me: failed program was:" >&5
40348 sed 's/^/| /' conftest.$ac_ext >&5
40349
40350 ac_cv_func_gethostbyname=no
40351 fi
40352
40353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40354 conftest$ac_exeext conftest.$ac_ext
40355 fi
40356 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40357 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40358 if test $ac_cv_func_gethostbyname = yes; then
40359 cat >>confdefs.h <<\_ACEOF
40360 #define HAVE_GETHOSTBYNAME 1
40361 _ACEOF
40362
40363 fi
40364
40365 fi
40366
40367 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40368 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40369 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40370 echo $ECHO_N "(cached) $ECHO_C" >&6
40371 else
40372
40373 ac_ext=cpp
40374 ac_cpp='$CXXCPP $CPPFLAGS'
40375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40378
40379
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 #include <netdb.h>
40387 int
40388 main ()
40389 {
40390
40391 char *name;
40392 char *proto;
40393 struct servent *se, *res;
40394 char buffer[2048];
40395 int buflen = 2048;
40396 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40397
40398 ;
40399 return 0;
40400 }
40401 _ACEOF
40402 rm -f conftest.$ac_objext
40403 if { (ac_try="$ac_compile"
40404 case "(($ac_try" in
40405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40406 *) ac_try_echo=$ac_try;;
40407 esac
40408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40409 (eval "$ac_compile") 2>conftest.er1
40410 ac_status=$?
40411 grep -v '^ *+' conftest.er1 >conftest.err
40412 rm -f conftest.er1
40413 cat conftest.err >&5
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); } && {
40416 test -z "$ac_cxx_werror_flag" ||
40417 test ! -s conftest.err
40418 } && test -s conftest.$ac_objext; then
40419 ac_cv_func_which_getservbyname_r=six
40420 else
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.$ac_ext >&5
40423
40424
40425 cat >conftest.$ac_ext <<_ACEOF
40426 /* confdefs.h. */
40427 _ACEOF
40428 cat confdefs.h >>conftest.$ac_ext
40429 cat >>conftest.$ac_ext <<_ACEOF
40430 /* end confdefs.h. */
40431 #include <netdb.h>
40432 int
40433 main ()
40434 {
40435
40436 char *name;
40437 char *proto;
40438 struct servent *se;
40439 char buffer[2048];
40440 int buflen = 2048;
40441 (void) getservbyname_r(name, proto, se, buffer, buflen)
40442
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 rm -f conftest.$ac_objext
40448 if { (ac_try="$ac_compile"
40449 case "(($ac_try" in
40450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40451 *) ac_try_echo=$ac_try;;
40452 esac
40453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40454 (eval "$ac_compile") 2>conftest.er1
40455 ac_status=$?
40456 grep -v '^ *+' conftest.er1 >conftest.err
40457 rm -f conftest.er1
40458 cat conftest.err >&5
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); } && {
40461 test -z "$ac_cxx_werror_flag" ||
40462 test ! -s conftest.err
40463 } && test -s conftest.$ac_objext; then
40464 ac_cv_func_which_getservbyname_r=five
40465 else
40466 echo "$as_me: failed program was:" >&5
40467 sed 's/^/| /' conftest.$ac_ext >&5
40468
40469
40470 cat >conftest.$ac_ext <<_ACEOF
40471 /* confdefs.h. */
40472 _ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40476 #include <netdb.h>
40477 int
40478 main ()
40479 {
40480
40481 char *name;
40482 char *proto;
40483 struct servent *se;
40484 struct servent_data data;
40485 (void) getservbyname_r(name, proto, se, &data);
40486
40487 ;
40488 return 0;
40489 }
40490 _ACEOF
40491 rm -f conftest.$ac_objext
40492 if { (ac_try="$ac_compile"
40493 case "(($ac_try" in
40494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40495 *) ac_try_echo=$ac_try;;
40496 esac
40497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40498 (eval "$ac_compile") 2>conftest.er1
40499 ac_status=$?
40500 grep -v '^ *+' conftest.er1 >conftest.err
40501 rm -f conftest.er1
40502 cat conftest.err >&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } && {
40505 test -z "$ac_cxx_werror_flag" ||
40506 test ! -s conftest.err
40507 } && test -s conftest.$ac_objext; then
40508 ac_cv_func_which_getservbyname_r=four
40509 else
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40512
40513 ac_cv_func_which_getservbyname_r=no
40514
40515 fi
40516
40517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40518
40519
40520 fi
40521
40522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40523
40524
40525 fi
40526
40527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40528 ac_ext=c
40529 ac_cpp='$CPP $CPPFLAGS'
40530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40533
40534
40535
40536 fi
40537 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40538 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40539
40540 if test $ac_cv_func_which_getservbyname_r = six; then
40541 cat >>confdefs.h <<\_ACEOF
40542 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40543 _ACEOF
40544
40545 elif test $ac_cv_func_which_getservbyname_r = five; then
40546 cat >>confdefs.h <<\_ACEOF
40547 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40548 _ACEOF
40549
40550 elif test $ac_cv_func_which_getservbyname_r = four; then
40551 cat >>confdefs.h <<\_ACEOF
40552 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40553 _ACEOF
40554
40555 fi
40556
40557
40558 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40559 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40560
40561 for ac_func in getservbyname
40562 do
40563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40569 cat >conftest.$ac_ext <<_ACEOF
40570 /* confdefs.h. */
40571 _ACEOF
40572 cat confdefs.h >>conftest.$ac_ext
40573 cat >>conftest.$ac_ext <<_ACEOF
40574 /* end confdefs.h. */
40575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40577 #define $ac_func innocuous_$ac_func
40578
40579 /* System header to define __stub macros and hopefully few prototypes,
40580 which can conflict with char $ac_func (); below.
40581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40582 <limits.h> exists even on freestanding compilers. */
40583
40584 #ifdef __STDC__
40585 # include <limits.h>
40586 #else
40587 # include <assert.h>
40588 #endif
40589
40590 #undef $ac_func
40591
40592 /* Override any GCC internal prototype to avoid an error.
40593 Use char because int might match the return type of a GCC
40594 builtin and then its argument prototype would still apply. */
40595 #ifdef __cplusplus
40596 extern "C"
40597 #endif
40598 char $ac_func ();
40599 /* The GNU C library defines this for functions which it implements
40600 to always fail with ENOSYS. Some functions are actually named
40601 something starting with __ and the normal name is an alias. */
40602 #if defined __stub_$ac_func || defined __stub___$ac_func
40603 choke me
40604 #endif
40605
40606 int
40607 main ()
40608 {
40609 return $ac_func ();
40610 ;
40611 return 0;
40612 }
40613 _ACEOF
40614 rm -f conftest.$ac_objext conftest$ac_exeext
40615 if { (ac_try="$ac_link"
40616 case "(($ac_try" in
40617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40618 *) ac_try_echo=$ac_try;;
40619 esac
40620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40621 (eval "$ac_link") 2>conftest.er1
40622 ac_status=$?
40623 grep -v '^ *+' conftest.er1 >conftest.err
40624 rm -f conftest.er1
40625 cat conftest.err >&5
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); } && {
40628 test -z "$ac_c_werror_flag" ||
40629 test ! -s conftest.err
40630 } && test -s conftest$ac_exeext &&
40631 $as_test_x conftest$ac_exeext; then
40632 eval "$as_ac_var=yes"
40633 else
40634 echo "$as_me: failed program was:" >&5
40635 sed 's/^/| /' conftest.$ac_ext >&5
40636
40637 eval "$as_ac_var=no"
40638 fi
40639
40640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40641 conftest$ac_exeext conftest.$ac_ext
40642 fi
40643 ac_res=`eval echo '${'$as_ac_var'}'`
40644 { echo "$as_me:$LINENO: result: $ac_res" >&5
40645 echo "${ECHO_T}$ac_res" >&6; }
40646 if test `eval echo '${'$as_ac_var'}'` = yes; then
40647 cat >>confdefs.h <<_ACEOF
40648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40649 _ACEOF
40650 cat >>confdefs.h <<\_ACEOF
40651 #define HAVE_GETSERVBYNAME 1
40652 _ACEOF
40653
40654 fi
40655 done
40656
40657 fi
40658
40659 if test "$wxUSE_THREADS" = "yes"; then
40660 cat >>confdefs.h <<\_ACEOF
40661 #define wxUSE_THREADS 1
40662 _ACEOF
40663
40664
40665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40666 else
40667 if test "$wx_cv_func_strtok_r" = "yes"; then
40668 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40669 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40670 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40671 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40672 { echo "$as_me:$LINENO: result: yes" >&5
40673 echo "${ECHO_T}yes" >&6; }
40674 else
40675 { echo "$as_me:$LINENO: result: no" >&5
40676 echo "${ECHO_T}no" >&6; }
40677 fi
40678 fi
40679 fi
40680
40681 if test "$WXGTK2" = 1 ; then
40682 cat >>confdefs.h <<_ACEOF
40683 #define __WXGTK20__ $WXGTK2
40684 _ACEOF
40685
40686 WXGTK12=1
40687 fi
40688
40689 if test "$WXGTK12" = 1 ; then
40690 cat >>confdefs.h <<_ACEOF
40691 #define __WXGTK12__ $WXGTK12
40692 _ACEOF
40693
40694 fi
40695
40696 if test "$WXGTK127" = 1 ; then
40697 cat >>confdefs.h <<_ACEOF
40698 #define __WXGTK127__ $WXGTK127
40699 _ACEOF
40700
40701 fi
40702
40703 if test "$WXGPE" = 1 ; then
40704 cat >>confdefs.h <<_ACEOF
40705 #define __WXGPE__ $WXGPE
40706 _ACEOF
40707
40708 fi
40709
40710 DEBUG_CFLAGS=
40711 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40712 DEBUG_CFLAGS="-g"
40713 wxUSE_OPTIMISE=no
40714 fi
40715
40716 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40717 wxUSE_DEBUG_INFO=yes
40718 if test "$GCC" = yes; then
40719 DEBUG_CFLAGS="-ggdb"
40720 fi
40721 fi
40722
40723 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40724 cat >>confdefs.h <<\_ACEOF
40725 #define WXDEBUG 1
40726 _ACEOF
40727
40728 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40729 else
40730 if test "$wxUSE_GTK" = 1 ; then
40731 if test "x$wxGTK_VERSION" = "x1" ; then
40732 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40733 fi
40734 fi
40735 fi
40736
40737 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40738 cat >>confdefs.h <<\_ACEOF
40739 #define wxUSE_MEMORY_TRACING 1
40740 _ACEOF
40741
40742 cat >>confdefs.h <<\_ACEOF
40743 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40744 _ACEOF
40745
40746 cat >>confdefs.h <<\_ACEOF
40747 #define wxUSE_DEBUG_NEW_ALWAYS 1
40748 _ACEOF
40749
40750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40751 fi
40752
40753 if test "$wxUSE_DMALLOC" = "yes" ; then
40754 DMALLOC_LIBS="-ldmallocthcxx"
40755 fi
40756
40757 PROFILE_FLAGS=
40758 if test "$wxUSE_PROFILE" = "yes" ; then
40759 PROFILE_FLAGS=" -pg"
40760 fi
40761
40762 if test "$GCC" = "yes" ; then
40763 if test "$wxUSE_NO_RTTI" = "yes" ; then
40764 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40765 fi
40766 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40767 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40768 fi
40769 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40770 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40771 fi
40772
40773 case "${host}" in
40774 powerpc*-*-aix* )
40775 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40776 ;;
40777 *-hppa* )
40778 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40779 ;;
40780 esac
40781 fi
40782
40783 OPTIMISE_CFLAGS=
40784 if test "$wxUSE_OPTIMISE" = "no" ; then
40785 if test "$GCC" = yes ; then
40786 OPTIMISE_CFLAGS="-O0"
40787 fi
40788 else
40789 if test "$GCC" = yes ; then
40790 case "${host}" in
40791 *-pc-os2_emx | *-pc-os2-emx )
40792 OPTIMISE_CFLAGS="-O2"
40793 ;;
40794 *)
40795 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40796 ;;
40797 esac
40798 else
40799 OPTIMISE_CFLAGS="-O"
40800 fi
40801 fi
40802
40803
40804 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40805 cat >>confdefs.h <<\_ACEOF
40806 #define WXWIN_COMPATIBILITY_2_6 1
40807 _ACEOF
40808
40809
40810 WXWIN_COMPATIBILITY_2_8="yes"
40811 fi
40812
40813 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40814 cat >>confdefs.h <<\_ACEOF
40815 #define WXWIN_COMPATIBILITY_2_8 1
40816 _ACEOF
40817
40818 fi
40819
40820
40821 if test "$wxUSE_GUI" = "yes"; then
40822 cat >>confdefs.h <<\_ACEOF
40823 #define wxUSE_GUI 1
40824 _ACEOF
40825
40826
40827 fi
40828
40829
40830 if test "$wxUSE_UNIX" = "yes"; then
40831 cat >>confdefs.h <<\_ACEOF
40832 #define wxUSE_UNIX 1
40833 _ACEOF
40834
40835 fi
40836
40837
40838 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40839
40840 HAVE_DL_FUNCS=0
40841 HAVE_SHL_FUNCS=0
40842 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40843 if test "$USE_DARWIN" = 1; then
40844 HAVE_DL_FUNCS=1
40845 elif test "$USE_DOS" = 1; then
40846 HAVE_DL_FUNCS=0
40847 else
40848
40849 for ac_func in dlopen
40850 do
40851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40855 echo $ECHO_N "(cached) $ECHO_C" >&6
40856 else
40857 cat >conftest.$ac_ext <<_ACEOF
40858 /* confdefs.h. */
40859 _ACEOF
40860 cat confdefs.h >>conftest.$ac_ext
40861 cat >>conftest.$ac_ext <<_ACEOF
40862 /* end confdefs.h. */
40863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40865 #define $ac_func innocuous_$ac_func
40866
40867 /* System header to define __stub macros and hopefully few prototypes,
40868 which can conflict with char $ac_func (); below.
40869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40870 <limits.h> exists even on freestanding compilers. */
40871
40872 #ifdef __STDC__
40873 # include <limits.h>
40874 #else
40875 # include <assert.h>
40876 #endif
40877
40878 #undef $ac_func
40879
40880 /* Override any GCC internal prototype to avoid an error.
40881 Use char because int might match the return type of a GCC
40882 builtin and then its argument prototype would still apply. */
40883 #ifdef __cplusplus
40884 extern "C"
40885 #endif
40886 char $ac_func ();
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined __stub_$ac_func || defined __stub___$ac_func
40891 choke me
40892 #endif
40893
40894 int
40895 main ()
40896 {
40897 return $ac_func ();
40898 ;
40899 return 0;
40900 }
40901 _ACEOF
40902 rm -f conftest.$ac_objext conftest$ac_exeext
40903 if { (ac_try="$ac_link"
40904 case "(($ac_try" in
40905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40906 *) ac_try_echo=$ac_try;;
40907 esac
40908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40909 (eval "$ac_link") 2>conftest.er1
40910 ac_status=$?
40911 grep -v '^ *+' conftest.er1 >conftest.err
40912 rm -f conftest.er1
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && {
40916 test -z "$ac_c_werror_flag" ||
40917 test ! -s conftest.err
40918 } && test -s conftest$ac_exeext &&
40919 $as_test_x conftest$ac_exeext; then
40920 eval "$as_ac_var=yes"
40921 else
40922 echo "$as_me: failed program was:" >&5
40923 sed 's/^/| /' conftest.$ac_ext >&5
40924
40925 eval "$as_ac_var=no"
40926 fi
40927
40928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40929 conftest$ac_exeext conftest.$ac_ext
40930 fi
40931 ac_res=`eval echo '${'$as_ac_var'}'`
40932 { echo "$as_me:$LINENO: result: $ac_res" >&5
40933 echo "${ECHO_T}$ac_res" >&6; }
40934 if test `eval echo '${'$as_ac_var'}'` = yes; then
40935 cat >>confdefs.h <<_ACEOF
40936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40937 _ACEOF
40938
40939 cat >>confdefs.h <<\_ACEOF
40940 #define HAVE_DLOPEN 1
40941 _ACEOF
40942
40943 HAVE_DL_FUNCS=1
40944
40945 else
40946
40947 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40948 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40949 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40950 echo $ECHO_N "(cached) $ECHO_C" >&6
40951 else
40952 ac_check_lib_save_LIBS=$LIBS
40953 LIBS="-ldl $LIBS"
40954 cat >conftest.$ac_ext <<_ACEOF
40955 /* confdefs.h. */
40956 _ACEOF
40957 cat confdefs.h >>conftest.$ac_ext
40958 cat >>conftest.$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40960
40961 /* Override any GCC internal prototype to avoid an error.
40962 Use char because int might match the return type of a GCC
40963 builtin and then its argument prototype would still apply. */
40964 #ifdef __cplusplus
40965 extern "C"
40966 #endif
40967 char dlopen ();
40968 int
40969 main ()
40970 {
40971 return dlopen ();
40972 ;
40973 return 0;
40974 }
40975 _ACEOF
40976 rm -f conftest.$ac_objext conftest$ac_exeext
40977 if { (ac_try="$ac_link"
40978 case "(($ac_try" in
40979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40980 *) ac_try_echo=$ac_try;;
40981 esac
40982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40983 (eval "$ac_link") 2>conftest.er1
40984 ac_status=$?
40985 grep -v '^ *+' conftest.er1 >conftest.err
40986 rm -f conftest.er1
40987 cat conftest.err >&5
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); } && {
40990 test -z "$ac_c_werror_flag" ||
40991 test ! -s conftest.err
40992 } && test -s conftest$ac_exeext &&
40993 $as_test_x conftest$ac_exeext; then
40994 ac_cv_lib_dl_dlopen=yes
40995 else
40996 echo "$as_me: failed program was:" >&5
40997 sed 's/^/| /' conftest.$ac_ext >&5
40998
40999 ac_cv_lib_dl_dlopen=no
41000 fi
41001
41002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41003 conftest$ac_exeext conftest.$ac_ext
41004 LIBS=$ac_check_lib_save_LIBS
41005 fi
41006 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41007 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41008 if test $ac_cv_lib_dl_dlopen = yes; then
41009
41010 cat >>confdefs.h <<\_ACEOF
41011 #define HAVE_DLOPEN 1
41012 _ACEOF
41013
41014 HAVE_DL_FUNCS=1
41015 DL_LINK=" -ldl$DL_LINK"
41016
41017 else
41018
41019
41020 for ac_func in shl_load
41021 do
41022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41023 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028 cat >conftest.$ac_ext <<_ACEOF
41029 /* confdefs.h. */
41030 _ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41036 #define $ac_func innocuous_$ac_func
41037
41038 /* System header to define __stub macros and hopefully few prototypes,
41039 which can conflict with char $ac_func (); below.
41040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41041 <limits.h> exists even on freestanding compilers. */
41042
41043 #ifdef __STDC__
41044 # include <limits.h>
41045 #else
41046 # include <assert.h>
41047 #endif
41048
41049 #undef $ac_func
41050
41051 /* Override any GCC internal prototype to avoid an error.
41052 Use char because int might match the return type of a GCC
41053 builtin and then its argument prototype would still apply. */
41054 #ifdef __cplusplus
41055 extern "C"
41056 #endif
41057 char $ac_func ();
41058 /* The GNU C library defines this for functions which it implements
41059 to always fail with ENOSYS. Some functions are actually named
41060 something starting with __ and the normal name is an alias. */
41061 #if defined __stub_$ac_func || defined __stub___$ac_func
41062 choke me
41063 #endif
41064
41065 int
41066 main ()
41067 {
41068 return $ac_func ();
41069 ;
41070 return 0;
41071 }
41072 _ACEOF
41073 rm -f conftest.$ac_objext conftest$ac_exeext
41074 if { (ac_try="$ac_link"
41075 case "(($ac_try" in
41076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41077 *) ac_try_echo=$ac_try;;
41078 esac
41079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41080 (eval "$ac_link") 2>conftest.er1
41081 ac_status=$?
41082 grep -v '^ *+' conftest.er1 >conftest.err
41083 rm -f conftest.er1
41084 cat conftest.err >&5
41085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41086 (exit $ac_status); } && {
41087 test -z "$ac_c_werror_flag" ||
41088 test ! -s conftest.err
41089 } && test -s conftest$ac_exeext &&
41090 $as_test_x conftest$ac_exeext; then
41091 eval "$as_ac_var=yes"
41092 else
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.$ac_ext >&5
41095
41096 eval "$as_ac_var=no"
41097 fi
41098
41099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41100 conftest$ac_exeext conftest.$ac_ext
41101 fi
41102 ac_res=`eval echo '${'$as_ac_var'}'`
41103 { echo "$as_me:$LINENO: result: $ac_res" >&5
41104 echo "${ECHO_T}$ac_res" >&6; }
41105 if test `eval echo '${'$as_ac_var'}'` = yes; then
41106 cat >>confdefs.h <<_ACEOF
41107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41108 _ACEOF
41109
41110 cat >>confdefs.h <<\_ACEOF
41111 #define HAVE_SHL_LOAD 1
41112 _ACEOF
41113
41114 HAVE_SHL_FUNCS=1
41115
41116 else
41117
41118 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41119 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41120 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41121 echo $ECHO_N "(cached) $ECHO_C" >&6
41122 else
41123 ac_check_lib_save_LIBS=$LIBS
41124 LIBS="-lshl_load $LIBS"
41125 cat >conftest.$ac_ext <<_ACEOF
41126 /* confdefs.h. */
41127 _ACEOF
41128 cat confdefs.h >>conftest.$ac_ext
41129 cat >>conftest.$ac_ext <<_ACEOF
41130 /* end confdefs.h. */
41131
41132 /* Override any GCC internal prototype to avoid an error.
41133 Use char because int might match the return type of a GCC
41134 builtin and then its argument prototype would still apply. */
41135 #ifdef __cplusplus
41136 extern "C"
41137 #endif
41138 char dld ();
41139 int
41140 main ()
41141 {
41142 return dld ();
41143 ;
41144 return 0;
41145 }
41146 _ACEOF
41147 rm -f conftest.$ac_objext conftest$ac_exeext
41148 if { (ac_try="$ac_link"
41149 case "(($ac_try" in
41150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41151 *) ac_try_echo=$ac_try;;
41152 esac
41153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41154 (eval "$ac_link") 2>conftest.er1
41155 ac_status=$?
41156 grep -v '^ *+' conftest.er1 >conftest.err
41157 rm -f conftest.er1
41158 cat conftest.err >&5
41159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41160 (exit $ac_status); } && {
41161 test -z "$ac_c_werror_flag" ||
41162 test ! -s conftest.err
41163 } && test -s conftest$ac_exeext &&
41164 $as_test_x conftest$ac_exeext; then
41165 ac_cv_lib_shl_load_dld=yes
41166 else
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.$ac_ext >&5
41169
41170 ac_cv_lib_shl_load_dld=no
41171 fi
41172
41173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41174 conftest$ac_exeext conftest.$ac_ext
41175 LIBS=$ac_check_lib_save_LIBS
41176 fi
41177 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41178 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41179 if test $ac_cv_lib_shl_load_dld = yes; then
41180
41181 HAVE_SHL_FUNCS=1
41182 DL_LINK=" -ldld$DL_LINK"
41183
41184 fi
41185
41186
41187 fi
41188 done
41189
41190
41191 fi
41192
41193
41194 fi
41195 done
41196
41197
41198 if test "$HAVE_DL_FUNCS" = 1; then
41199
41200 for ac_func in dlerror
41201 do
41202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41203 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41205 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41206 echo $ECHO_N "(cached) $ECHO_C" >&6
41207 else
41208 cat >conftest.$ac_ext <<_ACEOF
41209 /* confdefs.h. */
41210 _ACEOF
41211 cat confdefs.h >>conftest.$ac_ext
41212 cat >>conftest.$ac_ext <<_ACEOF
41213 /* end confdefs.h. */
41214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41216 #define $ac_func innocuous_$ac_func
41217
41218 /* System header to define __stub macros and hopefully few prototypes,
41219 which can conflict with char $ac_func (); below.
41220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41221 <limits.h> exists even on freestanding compilers. */
41222
41223 #ifdef __STDC__
41224 # include <limits.h>
41225 #else
41226 # include <assert.h>
41227 #endif
41228
41229 #undef $ac_func
41230
41231 /* Override any GCC internal prototype to avoid an error.
41232 Use char because int might match the return type of a GCC
41233 builtin and then its argument prototype would still apply. */
41234 #ifdef __cplusplus
41235 extern "C"
41236 #endif
41237 char $ac_func ();
41238 /* The GNU C library defines this for functions which it implements
41239 to always fail with ENOSYS. Some functions are actually named
41240 something starting with __ and the normal name is an alias. */
41241 #if defined __stub_$ac_func || defined __stub___$ac_func
41242 choke me
41243 #endif
41244
41245 int
41246 main ()
41247 {
41248 return $ac_func ();
41249 ;
41250 return 0;
41251 }
41252 _ACEOF
41253 rm -f conftest.$ac_objext conftest$ac_exeext
41254 if { (ac_try="$ac_link"
41255 case "(($ac_try" in
41256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41257 *) ac_try_echo=$ac_try;;
41258 esac
41259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41260 (eval "$ac_link") 2>conftest.er1
41261 ac_status=$?
41262 grep -v '^ *+' conftest.er1 >conftest.err
41263 rm -f conftest.er1
41264 cat conftest.err >&5
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } && {
41267 test -z "$ac_c_werror_flag" ||
41268 test ! -s conftest.err
41269 } && test -s conftest$ac_exeext &&
41270 $as_test_x conftest$ac_exeext; then
41271 eval "$as_ac_var=yes"
41272 else
41273 echo "$as_me: failed program was:" >&5
41274 sed 's/^/| /' conftest.$ac_ext >&5
41275
41276 eval "$as_ac_var=no"
41277 fi
41278
41279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41280 conftest$ac_exeext conftest.$ac_ext
41281 fi
41282 ac_res=`eval echo '${'$as_ac_var'}'`
41283 { echo "$as_me:$LINENO: result: $ac_res" >&5
41284 echo "${ECHO_T}$ac_res" >&6; }
41285 if test `eval echo '${'$as_ac_var'}'` = yes; then
41286 cat >>confdefs.h <<_ACEOF
41287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41288 _ACEOF
41289 cat >>confdefs.h <<\_ACEOF
41290 #define HAVE_DLERROR 1
41291 _ACEOF
41292
41293 else
41294
41295 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41296 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41297 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41298 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 else
41300 ac_check_lib_save_LIBS=$LIBS
41301 LIBS="-ldl $LIBS"
41302 cat >conftest.$ac_ext <<_ACEOF
41303 /* confdefs.h. */
41304 _ACEOF
41305 cat confdefs.h >>conftest.$ac_ext
41306 cat >>conftest.$ac_ext <<_ACEOF
41307 /* end confdefs.h. */
41308
41309 /* Override any GCC internal prototype to avoid an error.
41310 Use char because int might match the return type of a GCC
41311 builtin and then its argument prototype would still apply. */
41312 #ifdef __cplusplus
41313 extern "C"
41314 #endif
41315 char dlerror ();
41316 int
41317 main ()
41318 {
41319 return dlerror ();
41320 ;
41321 return 0;
41322 }
41323 _ACEOF
41324 rm -f conftest.$ac_objext conftest$ac_exeext
41325 if { (ac_try="$ac_link"
41326 case "(($ac_try" in
41327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41328 *) ac_try_echo=$ac_try;;
41329 esac
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_link") 2>conftest.er1
41332 ac_status=$?
41333 grep -v '^ *+' conftest.er1 >conftest.err
41334 rm -f conftest.er1
41335 cat conftest.err >&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_c_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest$ac_exeext &&
41341 $as_test_x conftest$ac_exeext; then
41342 ac_cv_lib_dl_dlerror=yes
41343 else
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.$ac_ext >&5
41346
41347 ac_cv_lib_dl_dlerror=no
41348 fi
41349
41350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41351 conftest$ac_exeext conftest.$ac_ext
41352 LIBS=$ac_check_lib_save_LIBS
41353 fi
41354 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41355 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41356 if test $ac_cv_lib_dl_dlerror = yes; then
41357 cat >>confdefs.h <<\_ACEOF
41358 #define HAVE_DLERROR 1
41359 _ACEOF
41360
41361 fi
41362
41363
41364
41365 fi
41366 done
41367
41368 fi
41369 fi
41370
41371 if test "$HAVE_DL_FUNCS" = 0; then
41372 if test "$HAVE_SHL_FUNCS" = 0; then
41373 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41374 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41375 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41376 wxUSE_DYNAMIC_LOADER=no
41377 wxUSE_DYNLIB_CLASS=no
41378 else
41379 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41380 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41381 fi
41382 fi
41383 fi
41384 fi
41385 fi
41386
41387 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41388 cat >>confdefs.h <<\_ACEOF
41389 #define wxUSE_DYNAMIC_LOADER 1
41390 _ACEOF
41391
41392 fi
41393 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41394 cat >>confdefs.h <<\_ACEOF
41395 #define wxUSE_DYNLIB_CLASS 1
41396 _ACEOF
41397
41398 fi
41399
41400
41401
41402 if test "$wxUSE_PLUGINS" = "yes" ; then
41403 if test "$wxUSE_SHARED" = "no" ; then
41404 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41405 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41406 wxUSE_PLUGINS=no
41407 fi
41408 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41409 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41410 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41411 wxUSE_PLUGINS=no
41412 fi
41413 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41414 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41415 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41416 wxUSE_PLUGINS=no
41417 fi
41418 if test "$wxUSE_PLUGINS" = "yes" ; then
41419 cat >>confdefs.h <<\_ACEOF
41420 #define wxUSE_PLUGINS 1
41421 _ACEOF
41422
41423 fi
41424 fi
41425
41426
41427 if test "$wxUSE_STL" = "yes"; then
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_STL 1
41430 _ACEOF
41431
41432 fi
41433
41434 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_EXTENDED_RTTI 1
41437 _ACEOF
41438
41439 fi
41440
41441 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41442 cat >>confdefs.h <<\_ACEOF
41443 #define wxUSE_APPLE_IEEE 1
41444 _ACEOF
41445
41446 fi
41447
41448 if test "$wxUSE_TIMER" = "yes"; then
41449 cat >>confdefs.h <<\_ACEOF
41450 #define wxUSE_TIMER 1
41451 _ACEOF
41452
41453 fi
41454
41455 if test "$USE_UNIX" = 1 ; then
41456 if test "$wxUSE_MGL" != 1; then
41457 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41458 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41459 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41461 else
41462
41463 cat >conftest.$ac_ext <<_ACEOF
41464 /* confdefs.h. */
41465 _ACEOF
41466 cat confdefs.h >>conftest.$ac_ext
41467 cat >>conftest.$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41469
41470 #include <sys/ioctl.h>
41471 #include <sys/soundcard.h>
41472
41473 int
41474 main ()
41475 {
41476
41477 ioctl(0, SNDCTL_DSP_SPEED, 0);
41478
41479 ;
41480 return 0;
41481 }
41482 _ACEOF
41483 rm -f conftest.$ac_objext conftest$ac_exeext
41484 if { (ac_try="$ac_link"
41485 case "(($ac_try" in
41486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41487 *) ac_try_echo=$ac_try;;
41488 esac
41489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41490 (eval "$ac_link") 2>conftest.er1
41491 ac_status=$?
41492 grep -v '^ *+' conftest.er1 >conftest.err
41493 rm -f conftest.er1
41494 cat conftest.err >&5
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); } && {
41497 test -z "$ac_c_werror_flag" ||
41498 test ! -s conftest.err
41499 } && test -s conftest$ac_exeext &&
41500 $as_test_x conftest$ac_exeext; then
41501 ac_cv_header_sys_soundcard=yes
41502 else
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41505
41506
41507 saveLibs="$LIBS"
41508 LIBS="$saveLibs -lossaudio"
41509 cat >conftest.$ac_ext <<_ACEOF
41510 /* confdefs.h. */
41511 _ACEOF
41512 cat confdefs.h >>conftest.$ac_ext
41513 cat >>conftest.$ac_ext <<_ACEOF
41514 /* end confdefs.h. */
41515
41516 #include <sys/ioctl.h>
41517 #include <sys/soundcard.h>
41518
41519 int
41520 main ()
41521 {
41522
41523 ioctl(0, SNDCTL_DSP_SPEED, 0);
41524
41525 ;
41526 return 0;
41527 }
41528 _ACEOF
41529 rm -f conftest.$ac_objext conftest$ac_exeext
41530 if { (ac_try="$ac_link"
41531 case "(($ac_try" in
41532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41533 *) ac_try_echo=$ac_try;;
41534 esac
41535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41536 (eval "$ac_link") 2>conftest.er1
41537 ac_status=$?
41538 grep -v '^ *+' conftest.er1 >conftest.err
41539 rm -f conftest.er1
41540 cat conftest.err >&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); } && {
41543 test -z "$ac_c_werror_flag" ||
41544 test ! -s conftest.err
41545 } && test -s conftest$ac_exeext &&
41546 $as_test_x conftest$ac_exeext; then
41547 ac_cv_header_sys_soundcard=yes
41548 else
41549 echo "$as_me: failed program was:" >&5
41550 sed 's/^/| /' conftest.$ac_ext >&5
41551
41552
41553 LIBS="$saveLibs"
41554 ac_cv_header_sys_soundcard=no
41555
41556
41557 fi
41558
41559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41560 conftest$ac_exeext conftest.$ac_ext
41561
41562
41563 fi
41564
41565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41566 conftest$ac_exeext conftest.$ac_ext
41567
41568 fi
41569 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41570 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41571 fi
41572
41573 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41574 cat >>confdefs.h <<\_ACEOF
41575 #define HAVE_SYS_SOUNDCARD_H 1
41576 _ACEOF
41577
41578 fi
41579 fi
41580
41581 WITH_PLUGIN_SDL=0
41582 if test "$wxUSE_SOUND" = "yes"; then
41583 if test "$USE_UNIX" = 1 ; then
41584 if test "$wxUSE_LIBSDL" != "no"; then
41585
41586 # Check whether --with-sdl-prefix was given.
41587 if test "${with_sdl_prefix+set}" = set; then
41588 withval=$with_sdl_prefix; sdl_prefix="$withval"
41589 else
41590 sdl_prefix=""
41591 fi
41592
41593
41594 # Check whether --with-sdl-exec-prefix was given.
41595 if test "${with_sdl_exec_prefix+set}" = set; then
41596 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41597 else
41598 sdl_exec_prefix=""
41599 fi
41600
41601 # Check whether --enable-sdltest was given.
41602 if test "${enable_sdltest+set}" = set; then
41603 enableval=$enable_sdltest;
41604 else
41605 enable_sdltest=yes
41606 fi
41607
41608
41609 if test x$sdl_exec_prefix != x ; then
41610 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41611 if test x${SDL_CONFIG+set} != xset ; then
41612 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41613 fi
41614 fi
41615 if test x$sdl_prefix != x ; then
41616 sdl_args="$sdl_args --prefix=$sdl_prefix"
41617 if test x${SDL_CONFIG+set} != xset ; then
41618 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41619 fi
41620 fi
41621
41622 if test "x$prefix" != xNONE; then
41623 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41624 fi
41625 # Extract the first word of "sdl-config", so it can be a program name with args.
41626 set dummy sdl-config; ac_word=$2
41627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41629 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41630 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 else
41632 case $SDL_CONFIG in
41633 [\\/]* | ?:[\\/]*)
41634 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41635 ;;
41636 *)
41637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41638 for as_dir in $PATH
41639 do
41640 IFS=$as_save_IFS
41641 test -z "$as_dir" && as_dir=.
41642 for ac_exec_ext in '' $ac_executable_extensions; do
41643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41644 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41646 break 2
41647 fi
41648 done
41649 done
41650 IFS=$as_save_IFS
41651
41652 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41653 ;;
41654 esac
41655 fi
41656 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41657 if test -n "$SDL_CONFIG"; then
41658 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41659 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41660 else
41661 { echo "$as_me:$LINENO: result: no" >&5
41662 echo "${ECHO_T}no" >&6; }
41663 fi
41664
41665
41666 min_sdl_version=1.2.0
41667 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41668 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41669 no_sdl=""
41670 if test "$SDL_CONFIG" = "no" ; then
41671 no_sdl=yes
41672 else
41673 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41674 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41675
41676 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41677 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41678 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41679 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41680 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41682 if test "x$enable_sdltest" = "xyes" ; then
41683 ac_save_CFLAGS="$CFLAGS"
41684 ac_save_CXXFLAGS="$CXXFLAGS"
41685 ac_save_LIBS="$LIBS"
41686 CFLAGS="$CFLAGS $SDL_CFLAGS"
41687 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41688 LIBS="$LIBS $SDL_LIBS"
41689 rm -f conf.sdltest
41690 if test "$cross_compiling" = yes; then
41691 echo $ac_n "cross compiling; assumed OK... $ac_c"
41692 else
41693 cat >conftest.$ac_ext <<_ACEOF
41694 /* confdefs.h. */
41695 _ACEOF
41696 cat confdefs.h >>conftest.$ac_ext
41697 cat >>conftest.$ac_ext <<_ACEOF
41698 /* end confdefs.h. */
41699
41700 #include <stdio.h>
41701 #include <stdlib.h>
41702 #include <string.h>
41703 #include "SDL.h"
41704
41705 char*
41706 my_strdup (char *str)
41707 {
41708 char *new_str;
41709
41710 if (str)
41711 {
41712 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41713 strcpy (new_str, str);
41714 }
41715 else
41716 new_str = NULL;
41717
41718 return new_str;
41719 }
41720
41721 int main (int argc, char *argv[])
41722 {
41723 int major, minor, micro;
41724 char *tmp_version;
41725
41726 /* This hangs on some systems (?)
41727 system ("touch conf.sdltest");
41728 */
41729 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41730
41731 /* HP/UX 9 (%@#!) writes to sscanf strings */
41732 tmp_version = my_strdup("$min_sdl_version");
41733 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41734 printf("%s, bad version string\n", "$min_sdl_version");
41735 exit(1);
41736 }
41737
41738 if (($sdl_major_version > major) ||
41739 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41740 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41741 {
41742 return 0;
41743 }
41744 else
41745 {
41746 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41747 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41748 printf("*** best to upgrade to the required version.\n");
41749 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41750 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41751 printf("*** config.cache before re-running configure\n");
41752 return 1;
41753 }
41754 }
41755
41756
41757 _ACEOF
41758 rm -f conftest$ac_exeext
41759 if { (ac_try="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41763 esac
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>&5
41766 ac_status=$?
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41769 { (case "(($ac_try" in
41770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41771 *) ac_try_echo=$ac_try;;
41772 esac
41773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41774 (eval "$ac_try") 2>&5
41775 ac_status=$?
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); }; }; then
41778 :
41779 else
41780 echo "$as_me: program exited with status $ac_status" >&5
41781 echo "$as_me: failed program was:" >&5
41782 sed 's/^/| /' conftest.$ac_ext >&5
41783
41784 ( exit $ac_status )
41785 no_sdl=yes
41786 fi
41787 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41788 fi
41789
41790
41791 CFLAGS="$ac_save_CFLAGS"
41792 CXXFLAGS="$ac_save_CXXFLAGS"
41793 LIBS="$ac_save_LIBS"
41794 fi
41795 fi
41796 if test "x$no_sdl" = x ; then
41797 { echo "$as_me:$LINENO: result: yes" >&5
41798 echo "${ECHO_T}yes" >&6; }
41799
41800 EXTRALIBS_SDL="$SDL_LIBS"
41801 CFLAGS="$SDL_CFLAGS $CFLAGS"
41802 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41803 cat >>confdefs.h <<\_ACEOF
41804 #define wxUSE_LIBSDL 1
41805 _ACEOF
41806
41807
41808 else
41809 { echo "$as_me:$LINENO: result: no" >&5
41810 echo "${ECHO_T}no" >&6; }
41811 if test "$SDL_CONFIG" = "no" ; then
41812 echo "*** The sdl-config script installed by SDL could not be found"
41813 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41814 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41815 echo "*** full path to sdl-config."
41816 else
41817 if test -f conf.sdltest ; then
41818 :
41819 else
41820 echo "*** Could not run SDL test program, checking why..."
41821 CFLAGS="$CFLAGS $SDL_CFLAGS"
41822 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41823 LIBS="$LIBS $SDL_LIBS"
41824 cat >conftest.$ac_ext <<_ACEOF
41825 /* confdefs.h. */
41826 _ACEOF
41827 cat confdefs.h >>conftest.$ac_ext
41828 cat >>conftest.$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41830
41831 #include <stdio.h>
41832 #include "SDL.h"
41833
41834 int main(int argc, char *argv[])
41835 { return 0; }
41836 #undef main
41837 #define main K_and_R_C_main
41838
41839 int
41840 main ()
41841 {
41842 return 0;
41843 ;
41844 return 0;
41845 }
41846 _ACEOF
41847 rm -f conftest.$ac_objext conftest$ac_exeext
41848 if { (ac_try="$ac_link"
41849 case "(($ac_try" in
41850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41851 *) ac_try_echo=$ac_try;;
41852 esac
41853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41854 (eval "$ac_link") 2>conftest.er1
41855 ac_status=$?
41856 grep -v '^ *+' conftest.er1 >conftest.err
41857 rm -f conftest.er1
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } && {
41861 test -z "$ac_c_werror_flag" ||
41862 test ! -s conftest.err
41863 } && test -s conftest$ac_exeext &&
41864 $as_test_x conftest$ac_exeext; then
41865 echo "*** The test program compiled, but did not run. This usually means"
41866 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41867 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41870 echo "*** is required on your system"
41871 echo "***"
41872 echo "*** If you have an old version installed, it is best to remove it, although"
41873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41874 else
41875 echo "$as_me: failed program was:" >&5
41876 sed 's/^/| /' conftest.$ac_ext >&5
41877
41878 echo "*** The test program failed to compile or link. See the file config.log for the"
41879 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41880 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41881 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41882 fi
41883
41884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41885 conftest$ac_exeext conftest.$ac_ext
41886 CFLAGS="$ac_save_CFLAGS"
41887 CXXFLAGS="$ac_save_CXXFLAGS"
41888 LIBS="$ac_save_LIBS"
41889 fi
41890 fi
41891 SDL_CFLAGS=""
41892 SDL_LIBS=""
41893 wxUSE_LIBSDL="no"
41894 fi
41895
41896
41897 rm -f conf.sdltest
41898
41899 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41900 WITH_PLUGIN_SDL=1
41901 fi
41902 fi
41903 else
41904 if test "$wxUSE_MGL" = 1; then
41905 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41906 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41907 wxUSE_SOUND="no"
41908 fi
41909 fi
41910 fi
41911
41912 if test "$wxUSE_SOUND" = "yes"; then
41913 cat >>confdefs.h <<\_ACEOF
41914 #define wxUSE_SOUND 1
41915 _ACEOF
41916
41917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41918 fi
41919
41920 if test "$WXGTK2" = 1; then
41921
41922
41923 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41924 if test -n "$ac_tool_prefix"; then
41925 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41926 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41929 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41931 else
41932 case $PKG_CONFIG in
41933 [\\/]* | ?:[\\/]*)
41934 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41935 ;;
41936 *)
41937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41938 for as_dir in $PATH
41939 do
41940 IFS=$as_save_IFS
41941 test -z "$as_dir" && as_dir=.
41942 for ac_exec_ext in '' $ac_executable_extensions; do
41943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41944 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41946 break 2
41947 fi
41948 done
41949 done
41950 IFS=$as_save_IFS
41951
41952 ;;
41953 esac
41954 fi
41955 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41956 if test -n "$PKG_CONFIG"; then
41957 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41958 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41959 else
41960 { echo "$as_me:$LINENO: result: no" >&5
41961 echo "${ECHO_T}no" >&6; }
41962 fi
41963
41964
41965 fi
41966 if test -z "$ac_cv_path_PKG_CONFIG"; then
41967 ac_pt_PKG_CONFIG=$PKG_CONFIG
41968 # Extract the first word of "pkg-config", so it can be a program name with args.
41969 set dummy pkg-config; ac_word=$2
41970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41972 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41974 else
41975 case $ac_pt_PKG_CONFIG in
41976 [\\/]* | ?:[\\/]*)
41977 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41978 ;;
41979 *)
41980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41981 for as_dir in $PATH
41982 do
41983 IFS=$as_save_IFS
41984 test -z "$as_dir" && as_dir=.
41985 for ac_exec_ext in '' $ac_executable_extensions; do
41986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41987 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41989 break 2
41990 fi
41991 done
41992 done
41993 IFS=$as_save_IFS
41994
41995 ;;
41996 esac
41997 fi
41998 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41999 if test -n "$ac_pt_PKG_CONFIG"; then
42000 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42001 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42002 else
42003 { echo "$as_me:$LINENO: result: no" >&5
42004 echo "${ECHO_T}no" >&6; }
42005 fi
42006
42007 if test "x$ac_pt_PKG_CONFIG" = x; then
42008 PKG_CONFIG=""
42009 else
42010 case $cross_compiling:$ac_tool_warned in
42011 yes:)
42012 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42013 whose name does not start with the host triplet. If you think this
42014 configuration is useful to you, please write to autoconf@gnu.org." >&5
42015 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42016 whose name does not start with the host triplet. If you think this
42017 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42018 ac_tool_warned=yes ;;
42019 esac
42020 PKG_CONFIG=$ac_pt_PKG_CONFIG
42021 fi
42022 else
42023 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42024 fi
42025
42026 fi
42027 if test -n "$PKG_CONFIG"; then
42028 _pkg_min_version=0.9.0
42029 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42030 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42031 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42032 { echo "$as_me:$LINENO: result: yes" >&5
42033 echo "${ECHO_T}yes" >&6; }
42034 else
42035 { echo "$as_me:$LINENO: result: no" >&5
42036 echo "${ECHO_T}no" >&6; }
42037 PKG_CONFIG=""
42038 fi
42039
42040 fi
42041
42042 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42043
42044 if test "$wxUSE_GTKPRINT" = "yes" ; then
42045
42046
42047 pkg_failed=no
42048 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42049 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42050
42051 if test -n "$PKG_CONFIG"; then
42052 if test -n "$GTKPRINT_CFLAGS"; then
42053 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42054 else
42055 if test -n "$PKG_CONFIG" && \
42056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42057 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42058 ac_status=$?
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; then
42061 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42062 else
42063 pkg_failed=yes
42064 fi
42065 fi
42066 else
42067 pkg_failed=untried
42068 fi
42069 if test -n "$PKG_CONFIG"; then
42070 if test -n "$GTKPRINT_LIBS"; then
42071 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42072 else
42073 if test -n "$PKG_CONFIG" && \
42074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42075 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42076 ac_status=$?
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; then
42079 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42080 else
42081 pkg_failed=yes
42082 fi
42083 fi
42084 else
42085 pkg_failed=untried
42086 fi
42087
42088
42089
42090 if test $pkg_failed = yes; then
42091
42092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42093 _pkg_short_errors_supported=yes
42094 else
42095 _pkg_short_errors_supported=no
42096 fi
42097 if test $_pkg_short_errors_supported = yes; then
42098 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42099 else
42100 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42101 fi
42102 # Put the nasty error message in config.log where it belongs
42103 echo "$GTKPRINT_PKG_ERRORS" >&5
42104
42105
42106 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42107 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42108 wxUSE_GTKPRINT="no"
42109
42110
42111 elif test $pkg_failed = untried; then
42112
42113 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42114 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42115 wxUSE_GTKPRINT="no"
42116
42117
42118 else
42119 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42120 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42121 { echo "$as_me:$LINENO: result: yes" >&5
42122 echo "${ECHO_T}yes" >&6; }
42123
42124 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42125 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42126 cat >>confdefs.h <<\_ACEOF
42127 #define wxUSE_GTKPRINT 1
42128 _ACEOF
42129
42130
42131 fi
42132 fi
42133
42134 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42135
42136
42137 pkg_failed=no
42138 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42139 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42140
42141 if test -n "$PKG_CONFIG"; then
42142 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42143 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42144 else
42145 if test -n "$PKG_CONFIG" && \
42146 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42147 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42148 ac_status=$?
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); }; then
42151 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42152 else
42153 pkg_failed=yes
42154 fi
42155 fi
42156 else
42157 pkg_failed=untried
42158 fi
42159 if test -n "$PKG_CONFIG"; then
42160 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42161 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42162 else
42163 if test -n "$PKG_CONFIG" && \
42164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42165 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42166 ac_status=$?
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; then
42169 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42170 else
42171 pkg_failed=yes
42172 fi
42173 fi
42174 else
42175 pkg_failed=untried
42176 fi
42177
42178
42179
42180 if test $pkg_failed = yes; then
42181
42182 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42183 _pkg_short_errors_supported=yes
42184 else
42185 _pkg_short_errors_supported=no
42186 fi
42187 if test $_pkg_short_errors_supported = yes; then
42188 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42189 else
42190 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42191 fi
42192 # Put the nasty error message in config.log where it belongs
42193 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42194
42195
42196 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42197 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42198 wxUSE_LIBGNOMEPRINT="no"
42199
42200
42201 elif test $pkg_failed = untried; then
42202
42203 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42204 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42205 wxUSE_LIBGNOMEPRINT="no"
42206
42207
42208 else
42209 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42210 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42211 { echo "$as_me:$LINENO: result: yes" >&5
42212 echo "${ECHO_T}yes" >&6; }
42213
42214 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42215 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_LIBGNOMEPRINT 1
42218 _ACEOF
42219
42220
42221 fi
42222 fi
42223 fi
42224
42225 if test "$wxUSE_MIMETYPE" = "yes" ; then
42226 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42227
42228
42229 pkg_failed=no
42230 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42231 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42232
42233 if test -n "$PKG_CONFIG"; then
42234 if test -n "$GNOMEVFS_CFLAGS"; then
42235 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42236 else
42237 if test -n "$PKG_CONFIG" && \
42238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42239 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42240 ac_status=$?
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); }; then
42243 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42244 else
42245 pkg_failed=yes
42246 fi
42247 fi
42248 else
42249 pkg_failed=untried
42250 fi
42251 if test -n "$PKG_CONFIG"; then
42252 if test -n "$GNOMEVFS_LIBS"; then
42253 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42254 else
42255 if test -n "$PKG_CONFIG" && \
42256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42257 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42258 ac_status=$?
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; then
42261 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42262 else
42263 pkg_failed=yes
42264 fi
42265 fi
42266 else
42267 pkg_failed=untried
42268 fi
42269
42270
42271
42272 if test $pkg_failed = yes; then
42273
42274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42275 _pkg_short_errors_supported=yes
42276 else
42277 _pkg_short_errors_supported=no
42278 fi
42279 if test $_pkg_short_errors_supported = yes; then
42280 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42281 else
42282 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42283 fi
42284 # Put the nasty error message in config.log where it belongs
42285 echo "$GNOMEVFS_PKG_ERRORS" >&5
42286
42287
42288 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42289 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42290 wxUSE_LIBGNOMEVFS="no"
42291
42292
42293 elif test $pkg_failed = untried; then
42294
42295 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42296 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42297 wxUSE_LIBGNOMEVFS="no"
42298
42299
42300 else
42301 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42302 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42303 { echo "$as_me:$LINENO: result: yes" >&5
42304 echo "${ECHO_T}yes" >&6; }
42305
42306 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42307 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42308 cat >>confdefs.h <<\_ACEOF
42309 #define wxUSE_LIBGNOMEVFS 1
42310 _ACEOF
42311
42312
42313 fi
42314 fi
42315 fi
42316
42317 if test "$wxUSE_LIBHILDON" = "yes" ; then
42318
42319 pkg_failed=no
42320 { echo "$as_me:$LINENO: checking for HILDON" >&5
42321 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42322
42323 if test -n "$PKG_CONFIG"; then
42324 if test -n "$HILDON_CFLAGS"; then
42325 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42326 else
42327 if test -n "$PKG_CONFIG" && \
42328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42329 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; then
42333 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42334 else
42335 pkg_failed=yes
42336 fi
42337 fi
42338 else
42339 pkg_failed=untried
42340 fi
42341 if test -n "$PKG_CONFIG"; then
42342 if test -n "$HILDON_LIBS"; then
42343 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42344 else
42345 if test -n "$PKG_CONFIG" && \
42346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42347 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42348 ac_status=$?
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; then
42351 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42352 else
42353 pkg_failed=yes
42354 fi
42355 fi
42356 else
42357 pkg_failed=untried
42358 fi
42359
42360
42361
42362 if test $pkg_failed = yes; then
42363
42364 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42365 _pkg_short_errors_supported=yes
42366 else
42367 _pkg_short_errors_supported=no
42368 fi
42369 if test $_pkg_short_errors_supported = yes; then
42370 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42371 else
42372 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42373 fi
42374 # Put the nasty error message in config.log where it belongs
42375 echo "$HILDON_PKG_ERRORS" >&5
42376
42377
42378 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42379 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42380 wxUSE_LIBHILDON="no"
42381
42382
42383 elif test $pkg_failed = untried; then
42384
42385 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42386 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42387 wxUSE_LIBHILDON="no"
42388
42389
42390 else
42391 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42392 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42393 { echo "$as_me:$LINENO: result: yes" >&5
42394 echo "${ECHO_T}yes" >&6; }
42395
42396 EXTRALIBS_HILDON="$HILDON_LIBS"
42397 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42398 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42399 cat >>confdefs.h <<\_ACEOF
42400 #define wxUSE_LIBHILDON 1
42401 _ACEOF
42402
42403
42404 fi
42405 fi
42406 fi
42407
42408 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_CMDLINE_PARSER 1
42411 _ACEOF
42412
42413 fi
42414
42415 if test "$wxUSE_STOPWATCH" = "yes"; then
42416 cat >>confdefs.h <<\_ACEOF
42417 #define wxUSE_STOPWATCH 1
42418 _ACEOF
42419
42420 fi
42421
42422 if test "$wxUSE_DATETIME" = "yes"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define wxUSE_DATETIME 1
42425 _ACEOF
42426
42427 fi
42428
42429 if test "$wxUSE_FILE" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_FILE 1
42432 _ACEOF
42433
42434 fi
42435
42436 if test "$wxUSE_FFILE" = "yes"; then
42437 cat >>confdefs.h <<\_ACEOF
42438 #define wxUSE_FFILE 1
42439 _ACEOF
42440
42441 fi
42442
42443 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42444 if test "$wxUSE_STREAMS" != yes; then
42445 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42446 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42447 wxUSE_ARCHIVE_STREAMS=no
42448 else
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_ARCHIVE_STREAMS 1
42451 _ACEOF
42452
42453 fi
42454 fi
42455
42456 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42457 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42458 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42459 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42460 elif test "$wxUSE_ZLIB" = "no"; then
42461 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42462 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42463 else
42464 cat >>confdefs.h <<\_ACEOF
42465 #define wxUSE_ZIPSTREAM 1
42466 _ACEOF
42467
42468 fi
42469 fi
42470
42471 if test "$wxUSE_TARSTREAM" = "yes"; then
42472 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42473 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42474 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42475 else
42476 cat >>confdefs.h <<\_ACEOF
42477 #define wxUSE_TARSTREAM 1
42478 _ACEOF
42479
42480 fi
42481 fi
42482
42483 if test "$wxUSE_FILESYSTEM" = "yes"; then
42484 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42485 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42486 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42487 wxUSE_FILESYSTEM=no
42488 else
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_FILESYSTEM 1
42491 _ACEOF
42492
42493 fi
42494 fi
42495
42496 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42497 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42498 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42499 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42500 else
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_FS_ARCHIVE 1
42503 _ACEOF
42504
42505 fi
42506 fi
42507
42508 if test "$wxUSE_FS_ZIP" = "yes"; then
42509 if test "$wxUSE_FS_ARCHIVE" != yes; then
42510 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42511 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42512 else
42513 cat >>confdefs.h <<\_ACEOF
42514 #define wxUSE_FS_ZIP 1
42515 _ACEOF
42516
42517 fi
42518 fi
42519
42520 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42521 if test "$USE_UNIX" != 1; then
42522 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42523 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42524 wxUSE_ON_FATAL_EXCEPTION=no
42525 else
42526 cat >>confdefs.h <<\_ACEOF
42527 #define wxUSE_ON_FATAL_EXCEPTION 1
42528 _ACEOF
42529
42530 fi
42531 fi
42532
42533 if test "$wxUSE_STACKWALKER" = "yes"; then
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_STACKWALKER 1
42536 _ACEOF
42537
42538 fi
42539
42540 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42541 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42542 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42543 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42544 wxUSE_DEBUGREPORT=no
42545 else
42546 cat >>confdefs.h <<\_ACEOF
42547 #define wxUSE_DEBUGREPORT 1
42548 _ACEOF
42549
42550 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42552 fi
42553 fi
42554 fi
42555
42556 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_SNGLINST_CHECKER 1
42559 _ACEOF
42560
42561 fi
42562
42563 if test "$wxUSE_BUSYINFO" = "yes"; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_BUSYINFO 1
42566 _ACEOF
42567
42568 fi
42569
42570 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_STD_IOSTREAM 1
42573 _ACEOF
42574
42575 fi
42576
42577 if test "$wxUSE_STD_STRING" = "yes"; then
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_STD_STRING 1
42580 _ACEOF
42581
42582 fi
42583
42584 if test "$wxUSE_STDPATHS" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_STDPATHS 1
42587 _ACEOF
42588
42589 fi
42590
42591 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42592 cat >>confdefs.h <<\_ACEOF
42593 #define wxUSE_TEXTBUFFER 1
42594 _ACEOF
42595
42596 fi
42597
42598 if test "$wxUSE_TEXTFILE" = "yes"; then
42599 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42600 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42601 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42602 else
42603 cat >>confdefs.h <<\_ACEOF
42604 #define wxUSE_TEXTFILE 1
42605 _ACEOF
42606
42607 fi
42608 fi
42609
42610 if test "$wxUSE_CONFIG" = "yes" ; then
42611 if test "$wxUSE_TEXTFILE" != "yes"; then
42612 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42613 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42614 else
42615 cat >>confdefs.h <<\_ACEOF
42616 #define wxUSE_CONFIG 1
42617 _ACEOF
42618
42619 cat >>confdefs.h <<\_ACEOF
42620 #define wxUSE_CONFIG_NATIVE 1
42621 _ACEOF
42622
42623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42624 fi
42625 fi
42626
42627 if test "$wxUSE_INTL" = "yes" ; then
42628 if test "$wxUSE_FILE" != "yes"; then
42629 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42630 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42631 else
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_INTL 1
42634 _ACEOF
42635
42636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42637 GUIDIST="$GUIDIST INTL_DIST"
42638 fi
42639 fi
42640
42641 if test "$wxUSE_LOG" = "yes"; then
42642 cat >>confdefs.h <<\_ACEOF
42643 #define wxUSE_LOG 1
42644 _ACEOF
42645
42646
42647 if test "$wxUSE_LOGGUI" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_LOGGUI 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$wxUSE_LOGWINDOW" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_LOGWINDOW 1
42657 _ACEOF
42658
42659 fi
42660
42661 if test "$wxUSE_LOGDIALOG" = "yes"; then
42662 cat >>confdefs.h <<\_ACEOF
42663 #define wxUSE_LOG_DIALOG 1
42664 _ACEOF
42665
42666 fi
42667
42668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42669 fi
42670
42671 if test "$wxUSE_LONGLONG" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_LONGLONG 1
42674 _ACEOF
42675
42676 fi
42677
42678 if test "$wxUSE_GEOMETRY" = "yes"; then
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_GEOMETRY 1
42681 _ACEOF
42682
42683 fi
42684
42685 if test "$wxUSE_BASE64" = "yes"; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_BASE64 1
42688 _ACEOF
42689
42690 fi
42691
42692 if test "$wxUSE_STREAMS" = "yes" ; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define wxUSE_STREAMS 1
42695 _ACEOF
42696
42697 fi
42698
42699 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_PRINTF_POS_PARAMS 1
42702 _ACEOF
42703
42704 fi
42705
42706 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_OBJC_UNIQUIFYING 1
42709 _ACEOF
42710
42711 fi
42712
42713
42714 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_CONSOLE_EVENTLOOP 1
42717 _ACEOF
42718
42719
42720 if test "$wxUSE_UNIX" = "yes"; then
42721 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42722 cat >>confdefs.h <<\_ACEOF
42723 #define wxUSE_SELECT_DISPATCHER 1
42724 _ACEOF
42725
42726 fi
42727
42728 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42729
42730 for ac_header in sys/epoll.h
42731 do
42732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42736 echo $ECHO_N "(cached) $ECHO_C" >&6
42737 else
42738 cat >conftest.$ac_ext <<_ACEOF
42739 /* confdefs.h. */
42740 _ACEOF
42741 cat confdefs.h >>conftest.$ac_ext
42742 cat >>conftest.$ac_ext <<_ACEOF
42743 /* end confdefs.h. */
42744 $ac_includes_default
42745
42746 #include <$ac_header>
42747 _ACEOF
42748 rm -f conftest.$ac_objext
42749 if { (ac_try="$ac_compile"
42750 case "(($ac_try" in
42751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42752 *) ac_try_echo=$ac_try;;
42753 esac
42754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42755 (eval "$ac_compile") 2>conftest.er1
42756 ac_status=$?
42757 grep -v '^ *+' conftest.er1 >conftest.err
42758 rm -f conftest.er1
42759 cat conftest.err >&5
42760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42761 (exit $ac_status); } && {
42762 test -z "$ac_c_werror_flag" ||
42763 test ! -s conftest.err
42764 } && test -s conftest.$ac_objext; then
42765 eval "$as_ac_Header=yes"
42766 else
42767 echo "$as_me: failed program was:" >&5
42768 sed 's/^/| /' conftest.$ac_ext >&5
42769
42770 eval "$as_ac_Header=no"
42771 fi
42772
42773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42774 fi
42775 ac_res=`eval echo '${'$as_ac_Header'}'`
42776 { echo "$as_me:$LINENO: result: $ac_res" >&5
42777 echo "${ECHO_T}$ac_res" >&6; }
42778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42779 cat >>confdefs.h <<_ACEOF
42780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42781 _ACEOF
42782
42783 fi
42784
42785 done
42786
42787 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42788 cat >>confdefs.h <<\_ACEOF
42789 #define wxUSE_EPOLL_DISPATCHER 1
42790 _ACEOF
42791
42792 else
42793 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42794 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42795 fi
42796 fi
42797 fi
42798 fi
42799
42800
42801
42802
42803 for ac_func in gettimeofday ftime
42804 do
42805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42808 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42809 echo $ECHO_N "(cached) $ECHO_C" >&6
42810 else
42811 cat >conftest.$ac_ext <<_ACEOF
42812 /* confdefs.h. */
42813 _ACEOF
42814 cat confdefs.h >>conftest.$ac_ext
42815 cat >>conftest.$ac_ext <<_ACEOF
42816 /* end confdefs.h. */
42817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42819 #define $ac_func innocuous_$ac_func
42820
42821 /* System header to define __stub macros and hopefully few prototypes,
42822 which can conflict with char $ac_func (); below.
42823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42824 <limits.h> exists even on freestanding compilers. */
42825
42826 #ifdef __STDC__
42827 # include <limits.h>
42828 #else
42829 # include <assert.h>
42830 #endif
42831
42832 #undef $ac_func
42833
42834 /* Override any GCC internal prototype to avoid an error.
42835 Use char because int might match the return type of a GCC
42836 builtin and then its argument prototype would still apply. */
42837 #ifdef __cplusplus
42838 extern "C"
42839 #endif
42840 char $ac_func ();
42841 /* The GNU C library defines this for functions which it implements
42842 to always fail with ENOSYS. Some functions are actually named
42843 something starting with __ and the normal name is an alias. */
42844 #if defined __stub_$ac_func || defined __stub___$ac_func
42845 choke me
42846 #endif
42847
42848 int
42849 main ()
42850 {
42851 return $ac_func ();
42852 ;
42853 return 0;
42854 }
42855 _ACEOF
42856 rm -f conftest.$ac_objext conftest$ac_exeext
42857 if { (ac_try="$ac_link"
42858 case "(($ac_try" in
42859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42860 *) ac_try_echo=$ac_try;;
42861 esac
42862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42863 (eval "$ac_link") 2>conftest.er1
42864 ac_status=$?
42865 grep -v '^ *+' conftest.er1 >conftest.err
42866 rm -f conftest.er1
42867 cat conftest.err >&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); } && {
42870 test -z "$ac_c_werror_flag" ||
42871 test ! -s conftest.err
42872 } && test -s conftest$ac_exeext &&
42873 $as_test_x conftest$ac_exeext; then
42874 eval "$as_ac_var=yes"
42875 else
42876 echo "$as_me: failed program was:" >&5
42877 sed 's/^/| /' conftest.$ac_ext >&5
42878
42879 eval "$as_ac_var=no"
42880 fi
42881
42882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42883 conftest$ac_exeext conftest.$ac_ext
42884 fi
42885 ac_res=`eval echo '${'$as_ac_var'}'`
42886 { echo "$as_me:$LINENO: result: $ac_res" >&5
42887 echo "${ECHO_T}$ac_res" >&6; }
42888 if test `eval echo '${'$as_ac_var'}'` = yes; then
42889 cat >>confdefs.h <<_ACEOF
42890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42891 _ACEOF
42892 break
42893 fi
42894 done
42895
42896
42897 if test "$ac_cv_func_gettimeofday" = "yes"; then
42898 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42899 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42900 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42902 else
42903
42904 cat >conftest.$ac_ext <<_ACEOF
42905 /* confdefs.h. */
42906 _ACEOF
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42910
42911 #include <sys/time.h>
42912 #include <unistd.h>
42913
42914 int
42915 main ()
42916 {
42917
42918 struct timeval tv;
42919 gettimeofday(&tv, NULL);
42920
42921 ;
42922 return 0;
42923 }
42924 _ACEOF
42925 rm -f conftest.$ac_objext
42926 if { (ac_try="$ac_compile"
42927 case "(($ac_try" in
42928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42929 *) ac_try_echo=$ac_try;;
42930 esac
42931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 (eval "$ac_compile") 2>conftest.er1
42933 ac_status=$?
42934 grep -v '^ *+' conftest.er1 >conftest.err
42935 rm -f conftest.er1
42936 cat conftest.err >&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } && {
42939 test -z "$ac_c_werror_flag" ||
42940 test ! -s conftest.err
42941 } && test -s conftest.$ac_objext; then
42942 wx_cv_func_gettimeofday_has_2_args=yes
42943 else
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.$ac_ext >&5
42946
42947 cat >conftest.$ac_ext <<_ACEOF
42948 /* confdefs.h. */
42949 _ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42953
42954 #include <sys/time.h>
42955 #include <unistd.h>
42956
42957 int
42958 main ()
42959 {
42960
42961 struct timeval tv;
42962 gettimeofday(&tv);
42963
42964 ;
42965 return 0;
42966 }
42967 _ACEOF
42968 rm -f conftest.$ac_objext
42969 if { (ac_try="$ac_compile"
42970 case "(($ac_try" in
42971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42972 *) ac_try_echo=$ac_try;;
42973 esac
42974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42975 (eval "$ac_compile") 2>conftest.er1
42976 ac_status=$?
42977 grep -v '^ *+' conftest.er1 >conftest.err
42978 rm -f conftest.er1
42979 cat conftest.err >&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); } && {
42982 test -z "$ac_c_werror_flag" ||
42983 test ! -s conftest.err
42984 } && test -s conftest.$ac_objext; then
42985 wx_cv_func_gettimeofday_has_2_args=no
42986 else
42987 echo "$as_me: failed program was:" >&5
42988 sed 's/^/| /' conftest.$ac_ext >&5
42989
42990
42991 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42992 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42993 wx_cv_func_gettimeofday_has_2_args=unknown
42994
42995
42996 fi
42997
42998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42999
43000 fi
43001
43002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43003
43004 fi
43005 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43006 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43007
43008 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43009 cat >>confdefs.h <<\_ACEOF
43010 #define WX_GETTIMEOFDAY_NO_TZ 1
43011 _ACEOF
43012
43013 fi
43014 fi
43015
43016 if test "$wxUSE_DATETIME" = "yes"; then
43017 { echo "$as_me:$LINENO: checking for strptime" >&5
43018 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43019 if test "${ac_cv_func_strptime+set}" = set; then
43020 echo $ECHO_N "(cached) $ECHO_C" >&6
43021 else
43022 cat >conftest.$ac_ext <<_ACEOF
43023 /* confdefs.h. */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43030 #define strptime innocuous_strptime
43031
43032 /* System header to define __stub macros and hopefully few prototypes,
43033 which can conflict with char strptime (); below.
43034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43035 <limits.h> exists even on freestanding compilers. */
43036
43037 #ifdef __STDC__
43038 # include <limits.h>
43039 #else
43040 # include <assert.h>
43041 #endif
43042
43043 #undef strptime
43044
43045 /* Override any GCC internal prototype to avoid an error.
43046 Use char because int might match the return type of a GCC
43047 builtin and then its argument prototype would still apply. */
43048 #ifdef __cplusplus
43049 extern "C"
43050 #endif
43051 char strptime ();
43052 /* The GNU C library defines this for functions which it implements
43053 to always fail with ENOSYS. Some functions are actually named
43054 something starting with __ and the normal name is an alias. */
43055 #if defined __stub_strptime || defined __stub___strptime
43056 choke me
43057 #endif
43058
43059 int
43060 main ()
43061 {
43062 return strptime ();
43063 ;
43064 return 0;
43065 }
43066 _ACEOF
43067 rm -f conftest.$ac_objext conftest$ac_exeext
43068 if { (ac_try="$ac_link"
43069 case "(($ac_try" in
43070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43071 *) ac_try_echo=$ac_try;;
43072 esac
43073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43074 (eval "$ac_link") 2>conftest.er1
43075 ac_status=$?
43076 grep -v '^ *+' conftest.er1 >conftest.err
43077 rm -f conftest.er1
43078 cat conftest.err >&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); } && {
43081 test -z "$ac_c_werror_flag" ||
43082 test ! -s conftest.err
43083 } && test -s conftest$ac_exeext &&
43084 $as_test_x conftest$ac_exeext; then
43085 ac_cv_func_strptime=yes
43086 else
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43089
43090 ac_cv_func_strptime=no
43091 fi
43092
43093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43094 conftest$ac_exeext conftest.$ac_ext
43095 fi
43096 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43097 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43098
43099 if test "$ac_cv_func_strptime" = "yes"; then
43100 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43101 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43102 if test "${wx_cv_func_strptime_decl+set}" = set; then
43103 echo $ECHO_N "(cached) $ECHO_C" >&6
43104 else
43105
43106 ac_ext=cpp
43107 ac_cpp='$CXXCPP $CPPFLAGS'
43108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43111
43112 cat >conftest.$ac_ext <<_ACEOF
43113 /* confdefs.h. */
43114 _ACEOF
43115 cat confdefs.h >>conftest.$ac_ext
43116 cat >>conftest.$ac_ext <<_ACEOF
43117 /* end confdefs.h. */
43118
43119 #include <time.h>
43120
43121 int
43122 main ()
43123 {
43124
43125 struct tm t;
43126 strptime("foo", "bar", &t);
43127
43128 ;
43129 return 0;
43130 }
43131 _ACEOF
43132 rm -f conftest.$ac_objext
43133 if { (ac_try="$ac_compile"
43134 case "(($ac_try" in
43135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43136 *) ac_try_echo=$ac_try;;
43137 esac
43138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43139 (eval "$ac_compile") 2>conftest.er1
43140 ac_status=$?
43141 grep -v '^ *+' conftest.er1 >conftest.err
43142 rm -f conftest.er1
43143 cat conftest.err >&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } && {
43146 test -z "$ac_cxx_werror_flag" ||
43147 test ! -s conftest.err
43148 } && test -s conftest.$ac_objext; then
43149 wx_cv_func_strptime_decl=yes
43150 else
43151 echo "$as_me: failed program was:" >&5
43152 sed 's/^/| /' conftest.$ac_ext >&5
43153
43154 wx_cv_func_strptime_decl=no
43155
43156 fi
43157
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43164
43165
43166
43167 fi
43168 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43169 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43170 fi
43171 if test "$wx_cv_func_strptime_decl" = "yes"; then
43172 cat >>confdefs.h <<\_ACEOF
43173 #define HAVE_STRPTIME_DECL 1
43174 _ACEOF
43175
43176 else
43177 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43178 fi
43179 if test "$ac_cv_func_strptime" = "yes"; then
43180 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43181 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43182 if test "${wx_cv_func_strptime_ok+set}" = set; then
43183 echo $ECHO_N "(cached) $ECHO_C" >&6
43184 else
43185 if test "$cross_compiling" = yes; then
43186 wx_cv_func_strptime_ok=no
43187
43188 else
43189 cat >conftest.$ac_ext <<_ACEOF
43190
43191 #include <stdlib.h>
43192 #include <time.h>
43193 #include "confdefs.h"
43194
43195 $wx_strptime_decl
43196
43197 int main()
43198 {
43199 struct tm t;
43200 return !!strptime("", "%x", &t);
43201 }
43202
43203 _ACEOF
43204 rm -f conftest$ac_exeext
43205 if { (ac_try="$ac_link"
43206 case "(($ac_try" in
43207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43208 *) ac_try_echo=$ac_try;;
43209 esac
43210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43211 (eval "$ac_link") 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43215 { (case "(($ac_try" in
43216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43217 *) ac_try_echo=$ac_try;;
43218 esac
43219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43220 (eval "$ac_try") 2>&5
43221 ac_status=$?
43222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43223 (exit $ac_status); }; }; then
43224 wx_cv_func_strptime_ok=yes
43225 else
43226 echo "$as_me: program exited with status $ac_status" >&5
43227 echo "$as_me: failed program was:" >&5
43228 sed 's/^/| /' conftest.$ac_ext >&5
43229
43230 ( exit $ac_status )
43231 wx_cv_func_strptime_ok=no
43232 fi
43233 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43234 fi
43235
43236
43237
43238 fi
43239 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43240 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43241
43242 if test "$wx_cv_func_strptime_ok" = "yes"; then
43243 cat >>confdefs.h <<\_ACEOF
43244 #define HAVE_STRPTIME 1
43245 _ACEOF
43246
43247 fi
43248 fi
43249
43250 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43251 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43252 if test "${wx_cv_var_timezone+set}" = set; then
43253 echo $ECHO_N "(cached) $ECHO_C" >&6
43254 else
43255
43256 ac_ext=cpp
43257 ac_cpp='$CXXCPP $CPPFLAGS'
43258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h. */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268
43269 #include <time.h>
43270
43271 int
43272 main ()
43273 {
43274
43275 int tz;
43276 tz = timezone;
43277
43278 ;
43279 return 0;
43280 }
43281 _ACEOF
43282 rm -f conftest.$ac_objext
43283 if { (ac_try="$ac_compile"
43284 case "(($ac_try" in
43285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43286 *) ac_try_echo=$ac_try;;
43287 esac
43288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43289 (eval "$ac_compile") 2>conftest.er1
43290 ac_status=$?
43291 grep -v '^ *+' conftest.er1 >conftest.err
43292 rm -f conftest.er1
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } && {
43296 test -z "$ac_cxx_werror_flag" ||
43297 test ! -s conftest.err
43298 } && test -s conftest.$ac_objext; then
43299
43300 wx_cv_var_timezone=timezone
43301
43302 else
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43305
43306
43307 cat >conftest.$ac_ext <<_ACEOF
43308 /* confdefs.h. */
43309 _ACEOF
43310 cat confdefs.h >>conftest.$ac_ext
43311 cat >>conftest.$ac_ext <<_ACEOF
43312 /* end confdefs.h. */
43313
43314 #include <time.h>
43315
43316 int
43317 main ()
43318 {
43319
43320 int tz;
43321 tz = _timezone;
43322
43323 ;
43324 return 0;
43325 }
43326 _ACEOF
43327 rm -f conftest.$ac_objext
43328 if { (ac_try="$ac_compile"
43329 case "(($ac_try" in
43330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43331 *) ac_try_echo=$ac_try;;
43332 esac
43333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43334 (eval "$ac_compile") 2>conftest.er1
43335 ac_status=$?
43336 grep -v '^ *+' conftest.er1 >conftest.err
43337 rm -f conftest.er1
43338 cat conftest.err >&5
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); } && {
43341 test -z "$ac_cxx_werror_flag" ||
43342 test ! -s conftest.err
43343 } && test -s conftest.$ac_objext; then
43344
43345 wx_cv_var_timezone=_timezone
43346
43347 else
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43350
43351
43352 cat >conftest.$ac_ext <<_ACEOF
43353 /* confdefs.h. */
43354 _ACEOF
43355 cat confdefs.h >>conftest.$ac_ext
43356 cat >>conftest.$ac_ext <<_ACEOF
43357 /* end confdefs.h. */
43358
43359 #include <time.h>
43360
43361 int
43362 main ()
43363 {
43364
43365 int tz;
43366 tz = __timezone;
43367
43368 ;
43369 return 0;
43370 }
43371 _ACEOF
43372 rm -f conftest.$ac_objext
43373 if { (ac_try="$ac_compile"
43374 case "(($ac_try" in
43375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43376 *) ac_try_echo=$ac_try;;
43377 esac
43378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43379 (eval "$ac_compile") 2>conftest.er1
43380 ac_status=$?
43381 grep -v '^ *+' conftest.er1 >conftest.err
43382 rm -f conftest.er1
43383 cat conftest.err >&5
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); } && {
43386 test -z "$ac_cxx_werror_flag" ||
43387 test ! -s conftest.err
43388 } && test -s conftest.$ac_objext; then
43389
43390 wx_cv_var_timezone=__timezone
43391
43392 else
43393 echo "$as_me: failed program was:" >&5
43394 sed 's/^/| /' conftest.$ac_ext >&5
43395
43396
43397 if test "$USE_DOS" = 0 ; then
43398 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43399 echo "$as_me: WARNING: no timezone variable" >&2;}
43400 fi
43401
43402
43403 fi
43404
43405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43406
43407
43408 fi
43409
43410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43411
43412
43413 fi
43414
43415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43416 ac_ext=c
43417 ac_cpp='$CPP $CPPFLAGS'
43418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43421
43422
43423
43424 fi
43425 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43426 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43427
43428 if test "x$wx_cv_var_timezone" != x ; then
43429 cat >>confdefs.h <<_ACEOF
43430 #define WX_TIMEZONE $wx_cv_var_timezone
43431 _ACEOF
43432
43433 fi
43434
43435
43436 for ac_func in localtime
43437 do
43438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43442 echo $ECHO_N "(cached) $ECHO_C" >&6
43443 else
43444 cat >conftest.$ac_ext <<_ACEOF
43445 /* confdefs.h. */
43446 _ACEOF
43447 cat confdefs.h >>conftest.$ac_ext
43448 cat >>conftest.$ac_ext <<_ACEOF
43449 /* end confdefs.h. */
43450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43452 #define $ac_func innocuous_$ac_func
43453
43454 /* System header to define __stub macros and hopefully few prototypes,
43455 which can conflict with char $ac_func (); below.
43456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43457 <limits.h> exists even on freestanding compilers. */
43458
43459 #ifdef __STDC__
43460 # include <limits.h>
43461 #else
43462 # include <assert.h>
43463 #endif
43464
43465 #undef $ac_func
43466
43467 /* Override any GCC internal prototype to avoid an error.
43468 Use char because int might match the return type of a GCC
43469 builtin and then its argument prototype would still apply. */
43470 #ifdef __cplusplus
43471 extern "C"
43472 #endif
43473 char $ac_func ();
43474 /* The GNU C library defines this for functions which it implements
43475 to always fail with ENOSYS. Some functions are actually named
43476 something starting with __ and the normal name is an alias. */
43477 #if defined __stub_$ac_func || defined __stub___$ac_func
43478 choke me
43479 #endif
43480
43481 int
43482 main ()
43483 {
43484 return $ac_func ();
43485 ;
43486 return 0;
43487 }
43488 _ACEOF
43489 rm -f conftest.$ac_objext conftest$ac_exeext
43490 if { (ac_try="$ac_link"
43491 case "(($ac_try" in
43492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43493 *) ac_try_echo=$ac_try;;
43494 esac
43495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43496 (eval "$ac_link") 2>conftest.er1
43497 ac_status=$?
43498 grep -v '^ *+' conftest.er1 >conftest.err
43499 rm -f conftest.er1
43500 cat conftest.err >&5
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); } && {
43503 test -z "$ac_c_werror_flag" ||
43504 test ! -s conftest.err
43505 } && test -s conftest$ac_exeext &&
43506 $as_test_x conftest$ac_exeext; then
43507 eval "$as_ac_var=yes"
43508 else
43509 echo "$as_me: failed program was:" >&5
43510 sed 's/^/| /' conftest.$ac_ext >&5
43511
43512 eval "$as_ac_var=no"
43513 fi
43514
43515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43516 conftest$ac_exeext conftest.$ac_ext
43517 fi
43518 ac_res=`eval echo '${'$as_ac_var'}'`
43519 { echo "$as_me:$LINENO: result: $ac_res" >&5
43520 echo "${ECHO_T}$ac_res" >&6; }
43521 if test `eval echo '${'$as_ac_var'}'` = yes; then
43522 cat >>confdefs.h <<_ACEOF
43523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43524 _ACEOF
43525
43526 fi
43527 done
43528
43529
43530 if test "$ac_cv_func_localtime" = "yes"; then
43531 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43532 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43533 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43534 echo $ECHO_N "(cached) $ECHO_C" >&6
43535 else
43536
43537 cat >conftest.$ac_ext <<_ACEOF
43538 /* confdefs.h. */
43539 _ACEOF
43540 cat confdefs.h >>conftest.$ac_ext
43541 cat >>conftest.$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43543
43544 #include <time.h>
43545
43546 int
43547 main ()
43548 {
43549
43550 struct tm tm;
43551 tm.tm_gmtoff++;
43552
43553 ;
43554 return 0;
43555 }
43556 _ACEOF
43557 rm -f conftest.$ac_objext
43558 if { (ac_try="$ac_compile"
43559 case "(($ac_try" in
43560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43561 *) ac_try_echo=$ac_try;;
43562 esac
43563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43564 (eval "$ac_compile") 2>conftest.er1
43565 ac_status=$?
43566 grep -v '^ *+' conftest.er1 >conftest.err
43567 rm -f conftest.er1
43568 cat conftest.err >&5
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); } && {
43571 test -z "$ac_c_werror_flag" ||
43572 test ! -s conftest.err
43573 } && test -s conftest.$ac_objext; then
43574
43575 wx_cv_struct_tm_has_gmtoff=yes
43576
43577 else
43578 echo "$as_me: failed program was:" >&5
43579 sed 's/^/| /' conftest.$ac_ext >&5
43580
43581 wx_cv_struct_tm_has_gmtoff=no
43582
43583 fi
43584
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43586
43587 fi
43588 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43589 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43590 fi
43591
43592 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define WX_GMTOFF_IN_TM 1
43595 _ACEOF
43596
43597 fi
43598
43599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43600 fi
43601
43602
43603 if test "$wxUSE_SOCKETS" = "yes"; then
43604 if test "$wxUSE_MGL" = 1; then
43605 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43606 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43607 wxUSE_SOCKETS="no"
43608 fi
43609 fi
43610
43611 if test "$wxUSE_SOCKETS" = "yes"; then
43612 if test "$TOOLKIT" != "MSW"; then
43613 { echo "$as_me:$LINENO: checking for socket" >&5
43614 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43615 if test "${ac_cv_func_socket+set}" = set; then
43616 echo $ECHO_N "(cached) $ECHO_C" >&6
43617 else
43618 cat >conftest.$ac_ext <<_ACEOF
43619 /* confdefs.h. */
43620 _ACEOF
43621 cat confdefs.h >>conftest.$ac_ext
43622 cat >>conftest.$ac_ext <<_ACEOF
43623 /* end confdefs.h. */
43624 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43626 #define socket innocuous_socket
43627
43628 /* System header to define __stub macros and hopefully few prototypes,
43629 which can conflict with char socket (); below.
43630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43631 <limits.h> exists even on freestanding compilers. */
43632
43633 #ifdef __STDC__
43634 # include <limits.h>
43635 #else
43636 # include <assert.h>
43637 #endif
43638
43639 #undef socket
43640
43641 /* Override any GCC internal prototype to avoid an error.
43642 Use char because int might match the return type of a GCC
43643 builtin and then its argument prototype would still apply. */
43644 #ifdef __cplusplus
43645 extern "C"
43646 #endif
43647 char socket ();
43648 /* The GNU C library defines this for functions which it implements
43649 to always fail with ENOSYS. Some functions are actually named
43650 something starting with __ and the normal name is an alias. */
43651 #if defined __stub_socket || defined __stub___socket
43652 choke me
43653 #endif
43654
43655 int
43656 main ()
43657 {
43658 return socket ();
43659 ;
43660 return 0;
43661 }
43662 _ACEOF
43663 rm -f conftest.$ac_objext conftest$ac_exeext
43664 if { (ac_try="$ac_link"
43665 case "(($ac_try" in
43666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43667 *) ac_try_echo=$ac_try;;
43668 esac
43669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43670 (eval "$ac_link") 2>conftest.er1
43671 ac_status=$?
43672 grep -v '^ *+' conftest.er1 >conftest.err
43673 rm -f conftest.er1
43674 cat conftest.err >&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); } && {
43677 test -z "$ac_c_werror_flag" ||
43678 test ! -s conftest.err
43679 } && test -s conftest$ac_exeext &&
43680 $as_test_x conftest$ac_exeext; then
43681 ac_cv_func_socket=yes
43682 else
43683 echo "$as_me: failed program was:" >&5
43684 sed 's/^/| /' conftest.$ac_ext >&5
43685
43686 ac_cv_func_socket=no
43687 fi
43688
43689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43690 conftest$ac_exeext conftest.$ac_ext
43691 fi
43692 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43693 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43694 if test $ac_cv_func_socket = yes; then
43695 :
43696 else
43697
43698 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43699 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43700 if test "${ac_cv_lib_socket_socket+set}" = set; then
43701 echo $ECHO_N "(cached) $ECHO_C" >&6
43702 else
43703 ac_check_lib_save_LIBS=$LIBS
43704 LIBS="-lsocket $LIBS"
43705 cat >conftest.$ac_ext <<_ACEOF
43706 /* confdefs.h. */
43707 _ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h. */
43711
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43715 #ifdef __cplusplus
43716 extern "C"
43717 #endif
43718 char socket ();
43719 int
43720 main ()
43721 {
43722 return socket ();
43723 ;
43724 return 0;
43725 }
43726 _ACEOF
43727 rm -f conftest.$ac_objext conftest$ac_exeext
43728 if { (ac_try="$ac_link"
43729 case "(($ac_try" in
43730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43731 *) ac_try_echo=$ac_try;;
43732 esac
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_link") 2>conftest.er1
43735 ac_status=$?
43736 grep -v '^ *+' conftest.er1 >conftest.err
43737 rm -f conftest.er1
43738 cat conftest.err >&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } && {
43741 test -z "$ac_c_werror_flag" ||
43742 test ! -s conftest.err
43743 } && test -s conftest$ac_exeext &&
43744 $as_test_x conftest$ac_exeext; then
43745 ac_cv_lib_socket_socket=yes
43746 else
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.$ac_ext >&5
43749
43750 ac_cv_lib_socket_socket=no
43751 fi
43752
43753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43754 conftest$ac_exeext conftest.$ac_ext
43755 LIBS=$ac_check_lib_save_LIBS
43756 fi
43757 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43758 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43759 if test $ac_cv_lib_socket_socket = yes; then
43760 if test "$INET_LINK" != " -lsocket"; then
43761 INET_LINK="$INET_LINK -lsocket"
43762 fi
43763 else
43764
43765 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43766 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43767 wxUSE_SOCKETS=no
43768
43769
43770 fi
43771
43772
43773
43774 fi
43775
43776 fi
43777 fi
43778
43779 if test "$wxUSE_SOCKETS" = "yes" ; then
43780 if test "$TOOLKIT" != "MSW"; then
43781 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43782 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43783 if test "${wx_cv_type_getsockname3+set}" = set; then
43784 echo $ECHO_N "(cached) $ECHO_C" >&6
43785 else
43786
43787 ac_ext=cpp
43788 ac_cpp='$CXXCPP $CPPFLAGS'
43789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43792
43793 cat >conftest.$ac_ext <<_ACEOF
43794 /* confdefs.h. */
43795 _ACEOF
43796 cat confdefs.h >>conftest.$ac_ext
43797 cat >>conftest.$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43799
43800 #include <sys/types.h>
43801 #include <sys/socket.h>
43802
43803 int
43804 main ()
43805 {
43806
43807 socklen_t len;
43808 getsockname(0, 0, &len);
43809
43810 ;
43811 return 0;
43812 }
43813 _ACEOF
43814 rm -f conftest.$ac_objext
43815 if { (ac_try="$ac_compile"
43816 case "(($ac_try" in
43817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43818 *) ac_try_echo=$ac_try;;
43819 esac
43820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43821 (eval "$ac_compile") 2>conftest.er1
43822 ac_status=$?
43823 grep -v '^ *+' conftest.er1 >conftest.err
43824 rm -f conftest.er1
43825 cat conftest.err >&5
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); } && {
43828 test -z "$ac_cxx_werror_flag" ||
43829 test ! -s conftest.err
43830 } && test -s conftest.$ac_objext; then
43831 wx_cv_type_getsockname3=socklen_t
43832 else
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.$ac_ext >&5
43835
43836
43837 CFLAGS_OLD="$CFLAGS"
43838 if test "$GCC" = yes ; then
43839 CFLAGS="-Werror $CFLAGS"
43840 fi
43841
43842 cat >conftest.$ac_ext <<_ACEOF
43843 /* confdefs.h. */
43844 _ACEOF
43845 cat confdefs.h >>conftest.$ac_ext
43846 cat >>conftest.$ac_ext <<_ACEOF
43847 /* end confdefs.h. */
43848
43849 #include <sys/types.h>
43850 #include <sys/socket.h>
43851
43852 int
43853 main ()
43854 {
43855
43856 size_t len;
43857 getsockname(0, 0, &len);
43858
43859 ;
43860 return 0;
43861 }
43862 _ACEOF
43863 rm -f conftest.$ac_objext
43864 if { (ac_try="$ac_compile"
43865 case "(($ac_try" in
43866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43867 *) ac_try_echo=$ac_try;;
43868 esac
43869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43870 (eval "$ac_compile") 2>conftest.er1
43871 ac_status=$?
43872 grep -v '^ *+' conftest.er1 >conftest.err
43873 rm -f conftest.er1
43874 cat conftest.err >&5
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); } && {
43877 test -z "$ac_cxx_werror_flag" ||
43878 test ! -s conftest.err
43879 } && test -s conftest.$ac_objext; then
43880 wx_cv_type_getsockname3=size_t
43881 else
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.$ac_ext >&5
43884
43885 cat >conftest.$ac_ext <<_ACEOF
43886 /* confdefs.h. */
43887 _ACEOF
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43891
43892 #include <sys/types.h>
43893 #include <sys/socket.h>
43894
43895 int
43896 main ()
43897 {
43898
43899 int len;
43900 getsockname(0, 0, &len);
43901
43902 ;
43903 return 0;
43904 }
43905 _ACEOF
43906 rm -f conftest.$ac_objext
43907 if { (ac_try="$ac_compile"
43908 case "(($ac_try" in
43909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43910 *) ac_try_echo=$ac_try;;
43911 esac
43912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43913 (eval "$ac_compile") 2>conftest.er1
43914 ac_status=$?
43915 grep -v '^ *+' conftest.er1 >conftest.err
43916 rm -f conftest.er1
43917 cat conftest.err >&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } && {
43920 test -z "$ac_cxx_werror_flag" ||
43921 test ! -s conftest.err
43922 } && test -s conftest.$ac_objext; then
43923 wx_cv_type_getsockname3=int
43924 else
43925 echo "$as_me: failed program was:" >&5
43926 sed 's/^/| /' conftest.$ac_ext >&5
43927
43928 wx_cv_type_getsockname3=unknown
43929
43930 fi
43931
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933
43934 fi
43935
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937
43938 CFLAGS="$CFLAGS_OLD"
43939
43940
43941 fi
43942
43943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43944 ac_ext=c
43945 ac_cpp='$CPP $CPPFLAGS'
43946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43949
43950
43951 fi
43952 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43953 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43954
43955 if test "$wx_cv_type_getsockname3" = "unknown"; then
43956 wxUSE_SOCKETS=no
43957 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43958 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43959 else
43960 cat >>confdefs.h <<_ACEOF
43961 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43962 _ACEOF
43963
43964 fi
43965 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43966 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43967 if test "${wx_cv_type_getsockopt5+set}" = set; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970
43971 ac_ext=cpp
43972 ac_cpp='$CXXCPP $CPPFLAGS'
43973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43976
43977 cat >conftest.$ac_ext <<_ACEOF
43978 /* confdefs.h. */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43983
43984 #include <sys/types.h>
43985 #include <sys/socket.h>
43986
43987 int
43988 main ()
43989 {
43990
43991 socklen_t len;
43992 getsockopt(0, 0, 0, 0, &len);
43993
43994 ;
43995 return 0;
43996 }
43997 _ACEOF
43998 rm -f conftest.$ac_objext
43999 if { (ac_try="$ac_compile"
44000 case "(($ac_try" in
44001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44002 *) ac_try_echo=$ac_try;;
44003 esac
44004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44005 (eval "$ac_compile") 2>conftest.er1
44006 ac_status=$?
44007 grep -v '^ *+' conftest.er1 >conftest.err
44008 rm -f conftest.er1
44009 cat conftest.err >&5
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); } && {
44012 test -z "$ac_cxx_werror_flag" ||
44013 test ! -s conftest.err
44014 } && test -s conftest.$ac_objext; then
44015 wx_cv_type_getsockopt5=socklen_t
44016 else
44017 echo "$as_me: failed program was:" >&5
44018 sed 's/^/| /' conftest.$ac_ext >&5
44019
44020
44021 cat >conftest.$ac_ext <<_ACEOF
44022 /* confdefs.h. */
44023 _ACEOF
44024 cat confdefs.h >>conftest.$ac_ext
44025 cat >>conftest.$ac_ext <<_ACEOF
44026 /* end confdefs.h. */
44027
44028 #include <sys/types.h>
44029 #include <sys/socket.h>
44030
44031 int
44032 main ()
44033 {
44034
44035 size_t len;
44036 getsockopt(0, 0, 0, 0, &len);
44037
44038 ;
44039 return 0;
44040 }
44041 _ACEOF
44042 rm -f conftest.$ac_objext
44043 if { (ac_try="$ac_compile"
44044 case "(($ac_try" in
44045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44046 *) ac_try_echo=$ac_try;;
44047 esac
44048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44049 (eval "$ac_compile") 2>conftest.er1
44050 ac_status=$?
44051 grep -v '^ *+' conftest.er1 >conftest.err
44052 rm -f conftest.er1
44053 cat conftest.err >&5
44054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44055 (exit $ac_status); } && {
44056 test -z "$ac_cxx_werror_flag" ||
44057 test ! -s conftest.err
44058 } && test -s conftest.$ac_objext; then
44059 wx_cv_type_getsockopt5=size_t
44060 else
44061 echo "$as_me: failed program was:" >&5
44062 sed 's/^/| /' conftest.$ac_ext >&5
44063
44064 cat >conftest.$ac_ext <<_ACEOF
44065 /* confdefs.h. */
44066 _ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44070
44071 #include <sys/types.h>
44072 #include <sys/socket.h>
44073
44074 int
44075 main ()
44076 {
44077
44078 int len;
44079 getsockopt(0, 0, 0, 0, &len);
44080
44081 ;
44082 return 0;
44083 }
44084 _ACEOF
44085 rm -f conftest.$ac_objext
44086 if { (ac_try="$ac_compile"
44087 case "(($ac_try" in
44088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44089 *) ac_try_echo=$ac_try;;
44090 esac
44091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44092 (eval "$ac_compile") 2>conftest.er1
44093 ac_status=$?
44094 grep -v '^ *+' conftest.er1 >conftest.err
44095 rm -f conftest.er1
44096 cat conftest.err >&5
44097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44098 (exit $ac_status); } && {
44099 test -z "$ac_cxx_werror_flag" ||
44100 test ! -s conftest.err
44101 } && test -s conftest.$ac_objext; then
44102 wx_cv_type_getsockopt5=int
44103 else
44104 echo "$as_me: failed program was:" >&5
44105 sed 's/^/| /' conftest.$ac_ext >&5
44106
44107 wx_cv_type_getsockopt5=unknown
44108
44109 fi
44110
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112
44113 fi
44114
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44116
44117
44118 fi
44119
44120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44121 ac_ext=c
44122 ac_cpp='$CPP $CPPFLAGS'
44123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44126
44127
44128 fi
44129 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44130 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44131
44132 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44133 wxUSE_SOCKETS=no
44134 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44135 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44136 else
44137 cat >>confdefs.h <<_ACEOF
44138 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44139 _ACEOF
44140
44141 fi
44142 fi
44143 fi
44144
44145 if test "$wxUSE_SOCKETS" = "yes" ; then
44146 if test "$wxUSE_IPV6" = "yes"; then
44147 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44148 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44149 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44150 echo $ECHO_N "(cached) $ECHO_C" >&6
44151 else
44152
44153 cat >conftest.$ac_ext <<_ACEOF
44154 /* confdefs.h. */
44155 _ACEOF
44156 cat confdefs.h >>conftest.$ac_ext
44157 cat >>conftest.$ac_ext <<_ACEOF
44158 /* end confdefs.h. */
44159
44160 #include <sys/types.h>
44161 #include <sys/socket.h>
44162 #include <netinet/in.h>
44163
44164 int
44165 main ()
44166 {
44167
44168 struct sockaddr_in6 sa6;
44169
44170 ;
44171 return 0;
44172 }
44173 _ACEOF
44174 rm -f conftest.$ac_objext
44175 if { (ac_try="$ac_compile"
44176 case "(($ac_try" in
44177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44178 *) ac_try_echo=$ac_try;;
44179 esac
44180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44181 (eval "$ac_compile") 2>conftest.er1
44182 ac_status=$?
44183 grep -v '^ *+' conftest.er1 >conftest.err
44184 rm -f conftest.er1
44185 cat conftest.err >&5
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); } && {
44188 test -z "$ac_c_werror_flag" ||
44189 test ! -s conftest.err
44190 } && test -s conftest.$ac_objext; then
44191 wx_cv_type_sockaddr_in6=yes
44192 else
44193 echo "$as_me: failed program was:" >&5
44194 sed 's/^/| /' conftest.$ac_ext >&5
44195
44196 wx_cv_type_sockaddr_in6=no
44197
44198 fi
44199
44200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44201
44202
44203 fi
44204 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44205 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44206
44207 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_IPV6 1
44210 _ACEOF
44211
44212 else
44213 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44214 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44215 fi
44216 fi
44217
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_SOCKETS 1
44220 _ACEOF
44221
44222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44223 fi
44224
44225 if test "$wxUSE_PROTOCOL" = "yes"; then
44226 if test "$wxUSE_SOCKETS" != "yes"; then
44227 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44228 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44229 wxUSE_PROTOCOL=no
44230 fi
44231 fi
44232
44233 if test "$wxUSE_PROTOCOL" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_PROTOCOL 1
44236 _ACEOF
44237
44238
44239 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define wxUSE_PROTOCOL_HTTP 1
44242 _ACEOF
44243
44244 fi
44245 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44246 cat >>confdefs.h <<\_ACEOF
44247 #define wxUSE_PROTOCOL_FTP 1
44248 _ACEOF
44249
44250 fi
44251 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44252 cat >>confdefs.h <<\_ACEOF
44253 #define wxUSE_PROTOCOL_FILE 1
44254 _ACEOF
44255
44256 fi
44257 else
44258 if test "$wxUSE_FS_INET" = "yes"; then
44259 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44260 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44261 wxUSE_FS_INET="no"
44262 fi
44263 fi
44264
44265 if test "$wxUSE_URL" = "yes"; then
44266 if test "$wxUSE_PROTOCOL" != "yes"; then
44267 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44268 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44269 wxUSE_URL=no
44270 fi
44271 if test "$wxUSE_URL" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_URL 1
44274 _ACEOF
44275
44276 fi
44277 fi
44278
44279 if test "$wxUSE_VARIANT" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_VARIANT 1
44282 _ACEOF
44283
44284 fi
44285
44286 if test "$wxUSE_FS_INET" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_FS_INET 1
44289 _ACEOF
44290
44291 fi
44292
44293
44294 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44295 wxUSE_JOYSTICK=no
44296
44297 if test "$TOOLKIT" = "MSW"; then
44298 wxUSE_JOYSTICK=yes
44299
44300 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44301 if test "$USE_DARWIN" = 1; then
44302 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44303 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44304 ac_ext=cpp
44305 ac_cpp='$CXXCPP $CPPFLAGS'
44306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44309
44310 cat >conftest.$ac_ext <<_ACEOF
44311 /* confdefs.h. */
44312 _ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316 #include <IOKit/hid/IOHIDLib.h>
44317 int
44318 main ()
44319 {
44320 IOHIDQueueInterface *qi = NULL;
44321 IOHIDCallbackFunction cb = NULL;
44322 qi->setEventCallout(NULL, cb, NULL, NULL);
44323 ;
44324 return 0;
44325 }
44326 _ACEOF
44327 rm -f conftest.$ac_objext
44328 if { (ac_try="$ac_compile"
44329 case "(($ac_try" in
44330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44331 *) ac_try_echo=$ac_try;;
44332 esac
44333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44334 (eval "$ac_compile") 2>conftest.er1
44335 ac_status=$?
44336 grep -v '^ *+' conftest.er1 >conftest.err
44337 rm -f conftest.er1
44338 cat conftest.err >&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } && {
44341 test -z "$ac_cxx_werror_flag" ||
44342 test ! -s conftest.err
44343 } && test -s conftest.$ac_objext; then
44344 wxUSE_JOYSTICK=yes
44345
44346 else
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.$ac_ext >&5
44349
44350
44351 fi
44352
44353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44354 ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44359
44360 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44361 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44362 fi
44363
44364 else
44365 if test "$wxUSE_MGL" != 1; then
44366
44367 for ac_header in linux/joystick.h
44368 do
44369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44373 echo $ECHO_N "(cached) $ECHO_C" >&6
44374 else
44375 cat >conftest.$ac_ext <<_ACEOF
44376 /* confdefs.h. */
44377 _ACEOF
44378 cat confdefs.h >>conftest.$ac_ext
44379 cat >>conftest.$ac_ext <<_ACEOF
44380 /* end confdefs.h. */
44381 $ac_includes_default
44382
44383 #include <$ac_header>
44384 _ACEOF
44385 rm -f conftest.$ac_objext
44386 if { (ac_try="$ac_compile"
44387 case "(($ac_try" in
44388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44389 *) ac_try_echo=$ac_try;;
44390 esac
44391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44392 (eval "$ac_compile") 2>conftest.er1
44393 ac_status=$?
44394 grep -v '^ *+' conftest.er1 >conftest.err
44395 rm -f conftest.er1
44396 cat conftest.err >&5
44397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44398 (exit $ac_status); } && {
44399 test -z "$ac_c_werror_flag" ||
44400 test ! -s conftest.err
44401 } && test -s conftest.$ac_objext; then
44402 eval "$as_ac_Header=yes"
44403 else
44404 echo "$as_me: failed program was:" >&5
44405 sed 's/^/| /' conftest.$ac_ext >&5
44406
44407 eval "$as_ac_Header=no"
44408 fi
44409
44410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44411 fi
44412 ac_res=`eval echo '${'$as_ac_Header'}'`
44413 { echo "$as_me:$LINENO: result: $ac_res" >&5
44414 echo "${ECHO_T}$ac_res" >&6; }
44415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44416 cat >>confdefs.h <<_ACEOF
44417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44418 _ACEOF
44419 wxUSE_JOYSTICK=yes
44420 fi
44421
44422 done
44423
44424 fi
44425 fi
44426
44427 if test "$wxUSE_JOYSTICK" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_JOYSTICK 1
44430 _ACEOF
44431
44432 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44433 else
44434 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44435 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44436 fi
44437 fi
44438
44439
44440
44441 if test "$wxUSE_FONTENUM" = "yes" ; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_FONTENUM 1
44444 _ACEOF
44445
44446 fi
44447
44448 if test "$wxUSE_FONTMAP" = "yes" ; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_FONTMAP 1
44451 _ACEOF
44452
44453 fi
44454
44455 if test "$wxUSE_UNICODE" = "yes" ; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_UNICODE 1
44458 _ACEOF
44459
44460
44461 if test "$USE_WIN32" != 1; then
44462 wxUSE_UNICODE_MSLU=no
44463 fi
44464
44465 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44466 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44467 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44468 if test "${ac_cv_lib_unicows_main+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 else
44471 ac_check_lib_save_LIBS=$LIBS
44472 LIBS="-lunicows $LIBS"
44473 cat >conftest.$ac_ext <<_ACEOF
44474 /* confdefs.h. */
44475 _ACEOF
44476 cat confdefs.h >>conftest.$ac_ext
44477 cat >>conftest.$ac_ext <<_ACEOF
44478 /* end confdefs.h. */
44479
44480
44481 int
44482 main ()
44483 {
44484 return main ();
44485 ;
44486 return 0;
44487 }
44488 _ACEOF
44489 rm -f conftest.$ac_objext conftest$ac_exeext
44490 if { (ac_try="$ac_link"
44491 case "(($ac_try" in
44492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44493 *) ac_try_echo=$ac_try;;
44494 esac
44495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44496 (eval "$ac_link") 2>conftest.er1
44497 ac_status=$?
44498 grep -v '^ *+' conftest.er1 >conftest.err
44499 rm -f conftest.er1
44500 cat conftest.err >&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } && {
44503 test -z "$ac_c_werror_flag" ||
44504 test ! -s conftest.err
44505 } && test -s conftest$ac_exeext &&
44506 $as_test_x conftest$ac_exeext; then
44507 ac_cv_lib_unicows_main=yes
44508 else
44509 echo "$as_me: failed program was:" >&5
44510 sed 's/^/| /' conftest.$ac_ext >&5
44511
44512 ac_cv_lib_unicows_main=no
44513 fi
44514
44515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44516 conftest$ac_exeext conftest.$ac_ext
44517 LIBS=$ac_check_lib_save_LIBS
44518 fi
44519 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44520 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44521 if test $ac_cv_lib_unicows_main = yes; then
44522
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_UNICODE_MSLU 1
44525 _ACEOF
44526
44527
44528 else
44529
44530 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44531 Applications will only run on Windows NT/2000/XP!" >&5
44532 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44533 Applications will only run on Windows NT/2000/XP!" >&2;}
44534 wxUSE_UNICODE_MSLU=no
44535
44536 fi
44537
44538 fi
44539 fi
44540
44541 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_UNICODE_UTF8 1
44544 _ACEOF
44545
44546
44547 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_UTF8_LOCALE_ONLY 1
44550 _ACEOF
44551
44552 fi
44553 fi
44554
44555
44556 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_CONSTRAINTS 1
44559 _ACEOF
44560
44561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44562 fi
44563
44564 if test "$wxUSE_MDI" = "yes"; then
44565 cat >>confdefs.h <<\_ACEOF
44566 #define wxUSE_MDI 1
44567 _ACEOF
44568
44569
44570 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_MDI_ARCHITECTURE 1
44573 _ACEOF
44574
44575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44576 fi
44577 fi
44578
44579 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44580 cat >>confdefs.h <<\_ACEOF
44581 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44582 _ACEOF
44583
44584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44585 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44587 fi
44588 fi
44589
44590 if test "$wxUSE_HELP" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_HELP 1
44593 _ACEOF
44594
44595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44596
44597 if test "$wxUSE_MSW" = 1; then
44598 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_MS_HTML_HELP 1
44601 _ACEOF
44602
44603 fi
44604 fi
44605
44606 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44607 if test "$wxUSE_HTML" = "yes"; then
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_WXHTML_HELP 1
44610 _ACEOF
44611
44612 else
44613 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44614 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44615 wxUSE_WXHTML_HELP=no
44616 fi
44617 fi
44618 fi
44619
44620 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44621 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44622 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44623 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44624 else
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_PRINTING_ARCHITECTURE 1
44627 _ACEOF
44628
44629 fi
44630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44631 fi
44632
44633 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_POSTSCRIPT 1
44636 _ACEOF
44637
44638 fi
44639
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44642 _ACEOF
44643
44644
44645 if test "$wxUSE_SVG" = "yes"; then
44646 cat >>confdefs.h <<\_ACEOF
44647 #define wxUSE_SVG 1
44648 _ACEOF
44649
44650 fi
44651
44652
44653 if test "$wxUSE_METAFILE" = "yes"; then
44654 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44655 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44656 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44657 wxUSE_METAFILE=no
44658 fi
44659 fi
44660
44661
44662 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44663 -o "$wxUSE_CLIPBOARD" = "yes" \
44664 -o "$wxUSE_OLE" = "yes" \
44665 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44666 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44667 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44668 if test "${ac_cv_header_ole2_h+set}" = set; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44670 else
44671 cat >conftest.$ac_ext <<_ACEOF
44672 /* confdefs.h. */
44673 _ACEOF
44674 cat confdefs.h >>conftest.$ac_ext
44675 cat >>conftest.$ac_ext <<_ACEOF
44676 /* end confdefs.h. */
44677
44678
44679 #include <ole2.h>
44680 _ACEOF
44681 rm -f conftest.$ac_objext
44682 if { (ac_try="$ac_compile"
44683 case "(($ac_try" in
44684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44685 *) ac_try_echo=$ac_try;;
44686 esac
44687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44688 (eval "$ac_compile") 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } && {
44695 test -z "$ac_c_werror_flag" ||
44696 test ! -s conftest.err
44697 } && test -s conftest.$ac_objext; then
44698 ac_cv_header_ole2_h=yes
44699 else
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44702
44703 ac_cv_header_ole2_h=no
44704 fi
44705
44706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44707 fi
44708 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44709 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44710
44711
44712
44713 if test "$ac_cv_header_ole2_h" = "yes" ; then
44714 if test "$GCC" = yes ; then
44715 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44716 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44717 cat >conftest.$ac_ext <<_ACEOF
44718 /* confdefs.h. */
44719 _ACEOF
44720 cat confdefs.h >>conftest.$ac_ext
44721 cat >>conftest.$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723 #include <windows.h>
44724 #include <ole2.h>
44725 int
44726 main ()
44727 {
44728
44729 ;
44730 return 0;
44731 }
44732 _ACEOF
44733 rm -f conftest.$ac_objext
44734 if { (ac_try="$ac_compile"
44735 case "(($ac_try" in
44736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44737 *) ac_try_echo=$ac_try;;
44738 esac
44739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44740 (eval "$ac_compile") 2>conftest.er1
44741 ac_status=$?
44742 grep -v '^ *+' conftest.er1 >conftest.err
44743 rm -f conftest.er1
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } && {
44747 test -z "$ac_c_werror_flag" ||
44748 test ! -s conftest.err
44749 } && test -s conftest.$ac_objext; then
44750 { echo "$as_me:$LINENO: result: no" >&5
44751 echo "${ECHO_T}no" >&6; }
44752 else
44753 echo "$as_me: failed program was:" >&5
44754 sed 's/^/| /' conftest.$ac_ext >&5
44755
44756 { echo "$as_me:$LINENO: result: yes" >&5
44757 echo "${ECHO_T}yes" >&6; }
44758 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44759 fi
44760
44761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44762 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44763 if test "$wxUSE_OLE" = "yes" ; then
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_OLE 1
44766 _ACEOF
44767
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_OLE_AUTOMATION 1
44770 _ACEOF
44771
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_ACTIVEX 1
44774 _ACEOF
44775
44776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44777 fi
44778 fi
44779
44780 if test "$wxUSE_DATAOBJ" = "yes" ; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_DATAOBJ 1
44783 _ACEOF
44784
44785 fi
44786 else
44787 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44788 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44789
44790 wxUSE_CLIPBOARD=no
44791 wxUSE_DRAG_AND_DROP=no
44792 wxUSE_DATAOBJ=no
44793 wxUSE_OLE=no
44794 fi
44795
44796 if test "$wxUSE_METAFILE" = "yes"; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_METAFILE 1
44799 _ACEOF
44800
44801
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_ENH_METAFILE 1
44804 _ACEOF
44805
44806 fi
44807 fi
44808
44809 if test "$wxUSE_IPC" = "yes"; then
44810 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44811 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44812 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44813 wxUSE_IPC=no
44814 fi
44815
44816 if test "$wxUSE_IPC" = "yes"; then
44817 cat >>confdefs.h <<\_ACEOF
44818 #define wxUSE_IPC 1
44819 _ACEOF
44820
44821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44822 fi
44823 fi
44824
44825 if test "$wxUSE_DATAOBJ" = "yes"; then
44826 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44827 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44828 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44829 wxUSE_DATAOBJ=no
44830 else
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_DATAOBJ 1
44833 _ACEOF
44834
44835 fi
44836 else
44837 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44838 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44839 wxUSE_CLIPBOARD=no
44840 wxUSE_DRAG_AND_DROP=no
44841 fi
44842
44843 if test "$wxUSE_CLIPBOARD" = "yes"; then
44844 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44845 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44846 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44847 wxUSE_CLIPBOARD=no
44848 fi
44849
44850 if test "$wxUSE_CLIPBOARD" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_CLIPBOARD 1
44853 _ACEOF
44854
44855 fi
44856 fi
44857
44858 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44859 if test "$wxUSE_GTK" = 1; then
44860 if test "$WXGTK12" != 1; then
44861 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44862 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44863 wxUSE_DRAG_AND_DROP=no
44864 fi
44865 fi
44866
44867 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44868 "$wxUSE_DFB" = 1; then
44869 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44870 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44871 wxUSE_DRAG_AND_DROP=no
44872 fi
44873
44874 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_DRAG_AND_DROP 1
44877 _ACEOF
44878
44879 fi
44880
44881 fi
44882
44883 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44885 fi
44886
44887 if test "$wxUSE_SPLINES" = "yes" ; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_SPLINES 1
44890 _ACEOF
44891
44892 fi
44893
44894 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44895 cat >>confdefs.h <<\_ACEOF
44896 #define wxUSE_MOUSEWHEEL 1
44897 _ACEOF
44898
44899 fi
44900
44901
44902 USES_CONTROLS=0
44903 if test "$wxUSE_CONTROLS" = "yes"; then
44904 USES_CONTROLS=1
44905 fi
44906
44907 if test "$wxUSE_ACCEL" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_ACCEL 1
44910 _ACEOF
44911
44912 USES_CONTROLS=1
44913 fi
44914
44915 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_ANIMATIONCTRL 1
44918 _ACEOF
44919
44920 USES_CONTROLS=1
44921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44922 fi
44923
44924 if test "$wxUSE_BUTTON" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_BUTTON 1
44927 _ACEOF
44928
44929 USES_CONTROLS=1
44930 fi
44931
44932 if test "$wxUSE_BMPBUTTON" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_BMPBUTTON 1
44935 _ACEOF
44936
44937 USES_CONTROLS=1
44938 fi
44939
44940 if test "$wxUSE_CALCTRL" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_CALENDARCTRL 1
44943 _ACEOF
44944
44945 USES_CONTROLS=1
44946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44947 fi
44948
44949 if test "$wxUSE_CARET" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_CARET 1
44952 _ACEOF
44953
44954 USES_CONTROLS=1
44955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44956 fi
44957
44958 if test "$wxUSE_COLLPANE" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_COLLPANE 1
44961 _ACEOF
44962
44963 USES_CONTROLS=1
44964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44965 fi
44966
44967 if test "$wxUSE_COMBOBOX" = "yes"; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_COMBOBOX 1
44970 _ACEOF
44971
44972 USES_CONTROLS=1
44973 fi
44974
44975 if test "$wxUSE_COMBOCTRL" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_COMBOCTRL 1
44978 _ACEOF
44979
44980 USES_CONTROLS=1
44981 fi
44982
44983 if test "$wxUSE_CHOICE" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_CHOICE 1
44986 _ACEOF
44987
44988 USES_CONTROLS=1
44989 fi
44990
44991 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_CHOICEBOOK 1
44994 _ACEOF
44995
44996 USES_CONTROLS=1
44997 fi
44998
44999 if test "$wxUSE_CHECKBOX" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_CHECKBOX 1
45002 _ACEOF
45003
45004 USES_CONTROLS=1
45005 fi
45006
45007 if test "$wxUSE_CHECKLST" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_CHECKLISTBOX 1
45010 _ACEOF
45011
45012 USES_CONTROLS=1
45013 fi
45014
45015 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_COLOURPICKERCTRL 1
45018 _ACEOF
45019
45020 USES_CONTROLS=1
45021 fi
45022
45023 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_DATEPICKCTRL 1
45026 _ACEOF
45027
45028 USES_CONTROLS=1
45029 fi
45030
45031 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_DIRPICKERCTRL 1
45034 _ACEOF
45035
45036 USES_CONTROLS=1
45037 fi
45038
45039 if test "$wxUSE_FILECTRL" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_FILECTRL 1
45042 _ACEOF
45043
45044 USES_CONTROLS=1
45045 fi
45046
45047 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_FILEPICKERCTRL 1
45050 _ACEOF
45051
45052 USES_CONTROLS=1
45053 fi
45054
45055 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_FONTPICKERCTRL 1
45058 _ACEOF
45059
45060 USES_CONTROLS=1
45061 fi
45062
45063 if test "$wxUSE_DISPLAY" = "yes"; then
45064 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45065 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45066 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45067 wxUSE_DISPLAY=no
45068 else
45069 cat >>confdefs.h <<\_ACEOF
45070 #define wxUSE_DISPLAY 1
45071 _ACEOF
45072
45073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45074 fi
45075 fi
45076
45077 if test "$wxUSE_DETECT_SM" = "yes"; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_DETECT_SM 1
45080 _ACEOF
45081
45082 fi
45083
45084 if test "$wxUSE_GAUGE" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_GAUGE 1
45087 _ACEOF
45088
45089 USES_CONTROLS=1
45090 fi
45091
45092 if test "$wxUSE_GRID" = "yes"; then
45093 cat >>confdefs.h <<\_ACEOF
45094 #define wxUSE_GRID 1
45095 _ACEOF
45096
45097 USES_CONTROLS=1
45098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45099 fi
45100
45101 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_HYPERLINKCTRL 1
45104 _ACEOF
45105
45106 USES_CONTROLS=1
45107 fi
45108
45109 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_BITMAPCOMBOBOX 1
45112 _ACEOF
45113
45114 USES_CONTROLS=1
45115 fi
45116
45117 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_DATAVIEWCTRL 1
45120 _ACEOF
45121
45122 USES_CONTROLS=1
45123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45124 fi
45125
45126 if test "$wxUSE_IMAGLIST" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_IMAGLIST 1
45129 _ACEOF
45130
45131 fi
45132
45133 if test "$wxUSE_LISTBOOK" = "yes"; then
45134 cat >>confdefs.h <<\_ACEOF
45135 #define wxUSE_LISTBOOK 1
45136 _ACEOF
45137
45138 USES_CONTROLS=1
45139 fi
45140
45141 if test "$wxUSE_LISTBOX" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_LISTBOX 1
45144 _ACEOF
45145
45146 USES_CONTROLS=1
45147 fi
45148
45149 if test "$wxUSE_LISTCTRL" = "yes"; then
45150 if test "$wxUSE_IMAGLIST" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_LISTCTRL 1
45153 _ACEOF
45154
45155 USES_CONTROLS=1
45156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45157 else
45158 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45159 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45160 fi
45161 fi
45162
45163 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_EDITABLELISTBOX 1
45166 _ACEOF
45167
45168 USES_CONTROLS=1
45169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45170 fi
45171
45172 if test "$wxUSE_NOTEBOOK" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_NOTEBOOK 1
45175 _ACEOF
45176
45177 USES_CONTROLS=1
45178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45179 fi
45180
45181 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_NOTIFICATION_MESSAGE 1
45184 _ACEOF
45185
45186 fi
45187
45188 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_ODCOMBOBOX 1
45191 _ACEOF
45192
45193 USES_CONTROLS=1
45194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45195 fi
45196
45197 if test "$wxUSE_RADIOBOX" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_RADIOBOX 1
45200 _ACEOF
45201
45202 USES_CONTROLS=1
45203 fi
45204
45205 if test "$wxUSE_RADIOBTN" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_RADIOBTN 1
45208 _ACEOF
45209
45210 USES_CONTROLS=1
45211 fi
45212
45213 if test "$wxUSE_SASH" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_SASH 1
45216 _ACEOF
45217
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45219 fi
45220
45221 if test "$wxUSE_SCROLLBAR" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_SCROLLBAR 1
45224 _ACEOF
45225
45226 USES_CONTROLS=1
45227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45228 fi
45229
45230 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_SEARCHCTRL 1
45233 _ACEOF
45234
45235 USES_CONTROLS=1
45236 fi
45237
45238 if test "$wxUSE_SLIDER" = "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_SLIDER 1
45241 _ACEOF
45242
45243 USES_CONTROLS=1
45244 fi
45245
45246 if test "$wxUSE_SPINBTN" = "yes"; then
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_SPINBTN 1
45249 _ACEOF
45250
45251 USES_CONTROLS=1
45252 fi
45253
45254 if test "$wxUSE_SPINCTRL" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_SPINCTRL 1
45257 _ACEOF
45258
45259 USES_CONTROLS=1
45260 fi
45261
45262 if test "$wxUSE_SPLITTER" = "yes"; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_SPLITTER 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45268 fi
45269
45270 if test "$wxUSE_STATBMP" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_STATBMP 1
45273 _ACEOF
45274
45275 USES_CONTROLS=1
45276 fi
45277
45278 if test "$wxUSE_STATBOX" = "yes"; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_STATBOX 1
45281 _ACEOF
45282
45283 USES_CONTROLS=1
45284 fi
45285
45286 if test "$wxUSE_STATTEXT" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_STATTEXT 1
45289 _ACEOF
45290
45291 USES_CONTROLS=1
45292 fi
45293
45294 if test "$wxUSE_STATLINE" = "yes"; then
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_STATLINE 1
45297 _ACEOF
45298
45299 USES_CONTROLS=1
45300 fi
45301
45302 if test "$wxUSE_STATUSBAR" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_NATIVE_STATUSBAR 1
45305 _ACEOF
45306
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_STATUSBAR 1
45309 _ACEOF
45310
45311 USES_CONTROLS=1
45312
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45314 fi
45315
45316 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_TAB_DIALOG 1
45319 _ACEOF
45320
45321 fi
45322
45323 if test "$wxUSE_TEXTCTRL" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_TEXTCTRL 1
45326 _ACEOF
45327
45328 USES_CONTROLS=1
45329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45330 fi
45331
45332 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45333 if test "$wxUSE_COCOA" = 1 ; then
45334 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45335 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45336 wxUSE_TOGGLEBTN=no
45337 fi
45338
45339 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_TOGGLEBTN 1
45342 _ACEOF
45343
45344 USES_CONTROLS=1
45345 fi
45346 fi
45347
45348 if test "$wxUSE_TOOLBAR" = "yes"; then
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_TOOLBAR 1
45351 _ACEOF
45352
45353 USES_CONTROLS=1
45354
45355 if test "$wxUSE_UNIVERSAL" = "yes"; then
45356 wxUSE_TOOLBAR_NATIVE="no"
45357 else
45358 wxUSE_TOOLBAR_NATIVE="yes"
45359 cat >>confdefs.h <<\_ACEOF
45360 #define wxUSE_TOOLBAR_NATIVE 1
45361 _ACEOF
45362
45363 fi
45364
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45366 fi
45367
45368 if test "$wxUSE_TOOLTIPS" = "yes"; then
45369 if test "$wxUSE_MOTIF" = 1; then
45370 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45371 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45372 else
45373 if test "$wxUSE_UNIVERSAL" = "yes"; then
45374 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45375 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45376 else
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_TOOLTIPS 1
45379 _ACEOF
45380
45381 fi
45382 fi
45383 fi
45384
45385 if test "$wxUSE_TREEBOOK" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_TREEBOOK 1
45388 _ACEOF
45389
45390 USES_CONTROLS=1
45391 fi
45392
45393 if test "$wxUSE_TOOLBOOK" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_TOOLBOOK 1
45396 _ACEOF
45397
45398 USES_CONTROLS=1
45399 fi
45400
45401 if test "$wxUSE_TREECTRL" = "yes"; then
45402 if test "$wxUSE_IMAGLIST" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_TREECTRL 1
45405 _ACEOF
45406
45407 USES_CONTROLS=1
45408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45409 else
45410 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45411 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45412 fi
45413 fi
45414
45415 if test "$wxUSE_POPUPWIN" = "yes"; then
45416 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45417 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45418 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45419 else
45420 if test "$wxUSE_PM" = 1; then
45421 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45422 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45423 else
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_POPUPWIN 1
45426 _ACEOF
45427
45428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45429
45430 USES_CONTROLS=1
45431 fi
45432 fi
45433 fi
45434
45435 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45436 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45437 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45438 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45439 else
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_DIALUP_MANAGER 1
45442 _ACEOF
45443
45444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45445 fi
45446 fi
45447
45448 if test "$wxUSE_TIPWINDOW" = "yes"; then
45449 if test "$wxUSE_PM" = 1; then
45450 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45451 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45452 else
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_TIPWINDOW 1
45455 _ACEOF
45456
45457 fi
45458 fi
45459
45460 if test "$USES_CONTROLS" = 1; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_CONTROLS 1
45463 _ACEOF
45464
45465 fi
45466
45467
45468 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_ACCESSIBILITY 1
45471 _ACEOF
45472
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45474 fi
45475
45476 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_DRAGIMAGE 1
45479 _ACEOF
45480
45481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45482 fi
45483
45484 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45485 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45486 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45487 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45488 else
45489 cat >>confdefs.h <<\_ACEOF
45490 #define wxUSE_EXCEPTIONS 1
45491 _ACEOF
45492
45493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45494 fi
45495 fi
45496
45497 USE_HTML=0
45498 if test "$wxUSE_HTML" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_HTML 1
45501 _ACEOF
45502
45503 USE_HTML=1
45504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45505 if test "$wxUSE_MAC" = 1; then
45506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45507 fi
45508 fi
45509 if test "$wxUSE_WEBKIT" = "yes"; then
45510 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45511 old_CPPFLAGS="$CPPFLAGS"
45512 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45513 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45514 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45515 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45516 echo $ECHO_N "(cached) $ECHO_C" >&6
45517 else
45518 cat >conftest.$ac_ext <<_ACEOF
45519 /* confdefs.h. */
45520 _ACEOF
45521 cat confdefs.h >>conftest.$ac_ext
45522 cat >>conftest.$ac_ext <<_ACEOF
45523 /* end confdefs.h. */
45524
45525 #include <Carbon/Carbon.h>
45526 #include <WebKit/WebKit.h>
45527
45528
45529 #include <WebKit/HIWebView.h>
45530 _ACEOF
45531 rm -f conftest.$ac_objext
45532 if { (ac_try="$ac_compile"
45533 case "(($ac_try" in
45534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45535 *) ac_try_echo=$ac_try;;
45536 esac
45537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45538 (eval "$ac_compile") 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } && {
45545 test -z "$ac_c_werror_flag" ||
45546 test ! -s conftest.err
45547 } && test -s conftest.$ac_objext; then
45548 ac_cv_header_WebKit_HIWebView_h=yes
45549 else
45550 echo "$as_me: failed program was:" >&5
45551 sed 's/^/| /' conftest.$ac_ext >&5
45552
45553 ac_cv_header_WebKit_HIWebView_h=no
45554 fi
45555
45556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45557 fi
45558 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45559 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45560 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45561
45562 cat >>confdefs.h <<\_ACEOF
45563 #define wxUSE_WEBKIT 1
45564 _ACEOF
45565
45566 WEBKIT_LINK="-framework WebKit"
45567
45568 else
45569
45570 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45571 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45572 wxUSE_WEBKIT=no
45573
45574 fi
45575
45576
45577 CPPFLAGS="$old_CPPFLAGS"
45578 elif test "$wxUSE_COCOA" = 1; then
45579 cat >>confdefs.h <<\_ACEOF
45580 #define wxUSE_WEBKIT 1
45581 _ACEOF
45582
45583 else
45584 wxUSE_WEBKIT=no
45585 fi
45586 fi
45587
45588 USE_XRC=0
45589 if test "$wxUSE_XRC" = "yes"; then
45590 if test "$wxUSE_XML" != "yes"; then
45591 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45592 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45593 wxUSE_XRC=no
45594 else
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_XRC 1
45597 _ACEOF
45598
45599 USE_XRC=1
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45601 fi
45602 fi
45603
45604 USE_AUI=0
45605 if test "$wxUSE_AUI" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_AUI 1
45608 _ACEOF
45609
45610 USE_AUI=1
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45612 fi
45613
45614 USE_STC=0
45615 if test "$wxUSE_STC" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_STC 1
45618 _ACEOF
45619
45620 USE_STC=1
45621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45622 fi
45623
45624 if test "$wxUSE_MENUS" = "yes"; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_MENUS 1
45627 _ACEOF
45628
45629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45630 fi
45631
45632 if test "$wxUSE_METAFILE" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_METAFILE 1
45635 _ACEOF
45636
45637 fi
45638
45639 if test "$wxUSE_MIMETYPE" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_MIMETYPE 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_MINIFRAME" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_MINIFRAME 1
45649 _ACEOF
45650
45651 fi
45652
45653 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_SYSTEM_OPTIONS 1
45656 _ACEOF
45657
45658 fi
45659
45660 if test "$wxUSE_TASKBARICON" = "yes"; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_TASKBARICON 1
45663 _ACEOF
45664
45665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45666 fi
45667
45668
45669 if test "$wxUSE_VALIDATORS" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_VALIDATORS 1
45672 _ACEOF
45673
45674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45675 fi
45676
45677 if test "$wxUSE_PALETTE" = "yes" ; then
45678 if test "$wxUSE_DFB" = 1; then
45679 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45680 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45681 wxUSE_PALETTE=no
45682 else
45683 cat >>confdefs.h <<\_ACEOF
45684 #define wxUSE_PALETTE 1
45685 _ACEOF
45686
45687 fi
45688 fi
45689
45690 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45691 LIBS=" -lunicows $LIBS"
45692 fi
45693
45694 USE_RICHTEXT=0
45695 if test "$wxUSE_RICHTEXT" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_RICHTEXT 1
45698 _ACEOF
45699
45700 USE_RICHTEXT=1
45701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45702 fi
45703
45704
45705 if test "$wxUSE_IMAGE" = "yes" ; then
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_IMAGE 1
45708 _ACEOF
45709
45710
45711 if test "$wxUSE_GIF" = "yes" ; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_GIF 1
45714 _ACEOF
45715
45716 fi
45717
45718 if test "$wxUSE_PCX" = "yes" ; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_PCX 1
45721 _ACEOF
45722
45723 fi
45724
45725 if test "$wxUSE_TGA" = "yes" ; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_TGA 1
45728 _ACEOF
45729
45730 fi
45731
45732 if test "$wxUSE_IFF" = "yes" ; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_IFF 1
45735 _ACEOF
45736
45737 fi
45738
45739 if test "$wxUSE_PNM" = "yes" ; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_PNM 1
45742 _ACEOF
45743
45744 fi
45745
45746 if test "$wxUSE_XPM" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_XPM 1
45749 _ACEOF
45750
45751 fi
45752
45753 if test "$wxUSE_ICO_CUR" = "yes" ; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_ICO_CUR 1
45756 _ACEOF
45757
45758 fi
45759 fi
45760
45761
45762 if test "$wxUSE_ABOUTDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_ABOUTDLG 1
45765 _ACEOF
45766
45767 fi
45768
45769 if test "$wxUSE_CHOICEDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_CHOICEDLG 1
45772 _ACEOF
45773
45774 fi
45775
45776 if test "$wxUSE_COLOURDLG" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_COLOURDLG 1
45779 _ACEOF
45780
45781 fi
45782
45783 if test "$wxUSE_FILEDLG" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FILEDLG 1
45786 _ACEOF
45787
45788 fi
45789
45790 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_FINDREPLDLG 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_FONTDLG" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_FONTDLG 1
45800 _ACEOF
45801
45802 fi
45803
45804 if test "$wxUSE_DIRDLG" = "yes"; then
45805 if test "$wxUSE_TREECTRL" != "yes"; then
45806 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45807 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45808 else
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_DIRDLG 1
45811 _ACEOF
45812
45813 fi
45814 fi
45815
45816 if test "$wxUSE_MSGDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_MSGDLG 1
45819 _ACEOF
45820
45821 fi
45822
45823 if test "$wxUSE_NUMBERDLG" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_NUMBERDLG 1
45826 _ACEOF
45827
45828 fi
45829
45830 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45831 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45832 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45833 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45834 else
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_PROGRESSDLG 1
45837 _ACEOF
45838
45839 fi
45840 fi
45841
45842 if test "$wxUSE_SPLASH" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_SPLASH 1
45845 _ACEOF
45846
45847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45848 fi
45849
45850 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45851 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45852 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45853 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45854 else
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_STARTUP_TIPS 1
45857 _ACEOF
45858
45859 fi
45860 fi
45861
45862 if test "$wxUSE_TEXTDLG" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_TEXTDLG 1
45865 _ACEOF
45866
45867 fi
45868
45869 if test "$wxUSE_WIZARDDLG" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_WIZARDDLG 1
45872 _ACEOF
45873
45874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45875 fi
45876
45877
45878 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45879 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_OWNER_DRAWN 1
45882 _ACEOF
45883
45884 fi
45885 fi
45886
45887
45888 if test "$wxUSE_MSW" = 1 ; then
45889
45890 if test "$wxUSE_DC_CACHEING" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_DC_CACHEING 1
45893 _ACEOF
45894
45895 fi
45896
45897 if test "$wxUSE_DIB" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_WXDIB 1
45900 _ACEOF
45901
45902 fi
45903
45904 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45907 _ACEOF
45908
45909 fi
45910
45911 if test "$wxUSE_UXTHEME" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_UXTHEME 1
45914 _ACEOF
45915
45916 fi
45917
45918 fi
45919
45920
45921 if test "$USE_WIN32" = 1 ; then
45922 if test "$wxUSE_INICONF" = "yes"; then
45923 cat >>confdefs.h <<\_ACEOF
45924 #define wxUSE_INICONF 1
45925 _ACEOF
45926
45927 fi
45928
45929 if test "$wxUSE_REGKEY" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_REGKEY 1
45932 _ACEOF
45933
45934 fi
45935 fi
45936
45937
45938 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45939 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_GRAPHICS_CONTEXT 1
45942 _ACEOF
45943
45944 elif test "$wxUSE_GTK" != 1; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_GRAPHICS_CONTEXT 1
45947 _ACEOF
45948
45949 else
45950
45951 pkg_failed=no
45952 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45953 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45954
45955 if test -n "$PKG_CONFIG"; then
45956 if test -n "$CAIRO_CFLAGS"; then
45957 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45958 else
45959 if test -n "$PKG_CONFIG" && \
45960 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45961 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45962 ac_status=$?
45963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45964 (exit $ac_status); }; then
45965 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45966 else
45967 pkg_failed=yes
45968 fi
45969 fi
45970 else
45971 pkg_failed=untried
45972 fi
45973 if test -n "$PKG_CONFIG"; then
45974 if test -n "$CAIRO_LIBS"; then
45975 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45976 else
45977 if test -n "$PKG_CONFIG" && \
45978 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45979 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45980 ac_status=$?
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); }; then
45983 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45984 else
45985 pkg_failed=yes
45986 fi
45987 fi
45988 else
45989 pkg_failed=untried
45990 fi
45991
45992
45993
45994 if test $pkg_failed = yes; then
45995
45996 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45997 _pkg_short_errors_supported=yes
45998 else
45999 _pkg_short_errors_supported=no
46000 fi
46001 if test $_pkg_short_errors_supported = yes; then
46002 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46003 else
46004 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46005 fi
46006 # Put the nasty error message in config.log where it belongs
46007 echo "$CAIRO_PKG_ERRORS" >&5
46008
46009 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46010 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46011
46012 elif test $pkg_failed = untried; then
46013 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46014 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46015
46016 else
46017 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46018 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46019 { echo "$as_me:$LINENO: result: yes" >&5
46020 echo "${ECHO_T}yes" >&6; }
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_GRAPHICS_CONTEXT 1
46023 _ACEOF
46024
46025 fi
46026 fi
46027 fi
46028
46029
46030 USE_MEDIA=0
46031
46032 if test "$wxUSE_MEDIACTRL" = "yes"; then
46033 USE_MEDIA=1
46034
46035 if test "$wxUSE_GTK" = 1; then
46036 wxUSE_GSTREAMER="no"
46037
46038 GST_VERSION_MAJOR=0
46039 GST_VERSION_MINOR=10
46040 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46041
46042 if test "$wxUSE_GSTREAMER8" = "no"; then
46043
46044 pkg_failed=no
46045 { echo "$as_me:$LINENO: checking for GST" >&5
46046 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46047
46048 if test -n "$PKG_CONFIG"; then
46049 if test -n "$GST_CFLAGS"; then
46050 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46051 else
46052 if test -n "$PKG_CONFIG" && \
46053 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46054 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46055 ac_status=$?
46056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46057 (exit $ac_status); }; then
46058 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46059 else
46060 pkg_failed=yes
46061 fi
46062 fi
46063 else
46064 pkg_failed=untried
46065 fi
46066 if test -n "$PKG_CONFIG"; then
46067 if test -n "$GST_LIBS"; then
46068 pkg_cv_GST_LIBS="$GST_LIBS"
46069 else
46070 if test -n "$PKG_CONFIG" && \
46071 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46072 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46073 ac_status=$?
46074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46075 (exit $ac_status); }; then
46076 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46077 else
46078 pkg_failed=yes
46079 fi
46080 fi
46081 else
46082 pkg_failed=untried
46083 fi
46084
46085
46086
46087 if test $pkg_failed = yes; then
46088
46089 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46090 _pkg_short_errors_supported=yes
46091 else
46092 _pkg_short_errors_supported=no
46093 fi
46094 if test $_pkg_short_errors_supported = yes; then
46095 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46096 else
46097 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46098 fi
46099 # Put the nasty error message in config.log where it belongs
46100 echo "$GST_PKG_ERRORS" >&5
46101
46102
46103 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46104 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46105 GST_VERSION_MINOR=8
46106
46107
46108 elif test $pkg_failed = untried; then
46109
46110 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46111 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46112 GST_VERSION_MINOR=8
46113
46114
46115 else
46116 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46117 GST_LIBS=$pkg_cv_GST_LIBS
46118 { echo "$as_me:$LINENO: result: yes" >&5
46119 echo "${ECHO_T}yes" >&6; }
46120
46121 wxUSE_GSTREAMER="yes"
46122 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46123
46124 fi
46125 else
46126 GST_VERSION_MINOR=8
46127 fi
46128
46129 if test $GST_VERSION_MINOR = "8"; then
46130 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46131
46132 pkg_failed=no
46133 { echo "$as_me:$LINENO: checking for GST" >&5
46134 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46135
46136 if test -n "$PKG_CONFIG"; then
46137 if test -n "$GST_CFLAGS"; then
46138 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46139 else
46140 if test -n "$PKG_CONFIG" && \
46141 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46142 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46143 ac_status=$?
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); }; then
46146 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46147 else
46148 pkg_failed=yes
46149 fi
46150 fi
46151 else
46152 pkg_failed=untried
46153 fi
46154 if test -n "$PKG_CONFIG"; then
46155 if test -n "$GST_LIBS"; then
46156 pkg_cv_GST_LIBS="$GST_LIBS"
46157 else
46158 if test -n "$PKG_CONFIG" && \
46159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46160 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46161 ac_status=$?
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); }; then
46164 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46165 else
46166 pkg_failed=yes
46167 fi
46168 fi
46169 else
46170 pkg_failed=untried
46171 fi
46172
46173
46174
46175 if test $pkg_failed = yes; then
46176
46177 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46178 _pkg_short_errors_supported=yes
46179 else
46180 _pkg_short_errors_supported=no
46181 fi
46182 if test $_pkg_short_errors_supported = yes; then
46183 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46184 else
46185 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46186 fi
46187 # Put the nasty error message in config.log where it belongs
46188 echo "$GST_PKG_ERRORS" >&5
46189
46190
46191 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46192 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46193
46194 elif test $pkg_failed = untried; then
46195
46196 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46197 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46198
46199 else
46200 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46201 GST_LIBS=$pkg_cv_GST_LIBS
46202 { echo "$as_me:$LINENO: result: yes" >&5
46203 echo "${ECHO_T}yes" >&6; }
46204 wxUSE_GSTREAMER="yes"
46205 fi
46206 fi
46207
46208
46209 if test "$wxUSE_GSTREAMER" = "yes"; then
46210 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46211 EXTRALIBS_MEDIA="$GST_LIBS"
46212
46213 cat >>confdefs.h <<\_ACEOF
46214 #define wxUSE_GSTREAMER 1
46215 _ACEOF
46216
46217 else
46218 USE_MEDIA=0
46219 fi
46220 fi
46221
46222 if test $USE_MEDIA = 1; then
46223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_MEDIACTRL 1
46226 _ACEOF
46227
46228 fi
46229 fi
46230
46231
46232 if test "$cross_compiling" = "yes"; then
46233 OSINFO="\"$host\""
46234 else
46235 OSINFO=`uname -s -r -m`
46236 OSINFO="\"$OSINFO\""
46237 fi
46238
46239 cat >>confdefs.h <<_ACEOF
46240 #define WXWIN_OS_DESCRIPTION $OSINFO
46241 _ACEOF
46242
46243
46244
46245 if test "x$prefix" != "xNONE"; then
46246 wxPREFIX=$prefix
46247 else
46248 wxPREFIX=$ac_default_prefix
46249 fi
46250
46251 cat >>confdefs.h <<_ACEOF
46252 #define wxINSTALL_PREFIX "$wxPREFIX"
46253 _ACEOF
46254
46255
46256
46257
46258 STD_BASE_LIBS="base"
46259 STD_GUI_LIBS=""
46260 BUILT_WX_LIBS="base"
46261 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46262
46263 if test "$wxUSE_SOCKETS" = "yes" ; then
46264 STD_BASE_LIBS="net $STD_BASE_LIBS"
46265 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46266 fi
46267 if test "$wxUSE_XML" = "yes" ; then
46268 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46269 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46270 fi
46271
46272 if test "$wxUSE_GUI" = "yes"; then
46273 STD_GUI_LIBS="adv core"
46274 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46275
46276 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46277 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46278 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46279 fi
46280 if test "$wxUSE_HTML" = "yes" ; then
46281 STD_GUI_LIBS="html $STD_GUI_LIBS"
46282 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46283 fi
46284 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46285 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46286 fi
46287 if test "$wxUSE_OPENGL" = "yes" ; then
46288 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46289 fi
46290 if test "$wxUSE_AUI" = "yes" ; then
46291 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46292 fi
46293 if test "$wxUSE_STC" = "yes" ; then
46294 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46295 fi
46296 if test "$wxUSE_XRC" = "yes" ; then
46297 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46298 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46299 fi
46300 fi
46301
46302
46303
46304
46305
46306
46307
46308
46309 if test "$wxUSE_MAC" = 1 ; then
46310 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46311 if test "$USE_DARWIN" = 1; then
46312 LDFLAGS="$LDFLAGS -framework QuickTime"
46313 else
46314 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46315 fi
46316 fi
46317 if test "$USE_DARWIN" = 1; then
46318 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46319 else
46320 LDFLAGS="$LDFLAGS -lCarbonLib"
46321 fi
46322 fi
46323 if test "$wxUSE_COCOA" = 1 ; then
46324 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46325 if test "$wxUSE_MEDIACTRL" = "yes"; then
46326 LDFLAGS="$LDFLAGS -framework QuickTime"
46327 fi
46328 fi
46329 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46330 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46331 fi
46332
46333 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46334
46335 if test "$wxUSE_GUI" = "yes"; then
46336
46337
46338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46339 erase event exec font image minimal mobile \
46340 mobile/wxedit mobile/styles render \
46341 shaped svg taborder vscroll widgets"
46342
46343 if test "$wxUSE_MONOLITHIC" != "yes"; then
46344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46345 fi
46346 if test "$TOOLKIT" = "MSW"; then
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46348 if test "$wxUSE_UNIVERSAL" != "yes"; then
46349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46350 fi
46351 fi
46352 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46354 fi
46355 else
46356 SAMPLES_SUBDIRS="console"
46357 fi
46358
46359
46360 if test "x$INTELCC" = "xyes" ; then
46361 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46362 elif test "$GCC" = yes ; then
46363 CWARNINGS="-Wall -Wundef"
46364 fi
46365
46366 if test "x$INTELCXX" = "xyes" ; then
46367 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46368 elif test "$GXX" = yes ; then
46369 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46370 fi
46371
46372
46373 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46374 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46375
46376
46377 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46378 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46379 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46380 $CPPFLAGS `
46381
46382 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46383 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46384 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46385
46386 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46387
46388
46389 if test "x$MWCC" = "xyes"; then
46390
46391 CC="$CC -cwd source -I-"
46392 CXX="$CXX -cwd source -I-"
46393 fi
46394
46395
46396 LIBS=`echo $LIBS`
46397 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46398 EXTRALIBS_XML="$EXPAT_LINK"
46399 EXTRALIBS_HTML="$MSPACK_LINK"
46400 EXTRALIBS_MEDIA="$GST_LIBS"
46401 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46402 if test "$wxUSE_GUI" = "yes"; then
46403 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46404 fi
46405 if test "$wxUSE_OPENGL" = "yes"; then
46406 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46407 fi
46408
46409 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46410
46411 WXCONFIG_LIBS="$LIBS"
46412
46413 if test "$wxUSE_REGEX" = "builtin" ; then
46414 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46415 fi
46416 if test "$wxUSE_EXPAT" = "builtin" ; then
46417 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46418 fi
46419 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46420 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46421 fi
46422 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46423 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46424 fi
46425 if test "$wxUSE_LIBPNG" = "builtin" ; then
46426 wxconfig_3rdparty="png $wxconfig_3rdparty"
46427 fi
46428 if test "$wxUSE_ZLIB" = "builtin" ; then
46429 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46430 fi
46431
46432 for i in $wxconfig_3rdparty ; do
46433 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46434 done
46435
46436
46437 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46438 WXUNIV=1
46439
46440 case "$wxUNIV_THEMES" in
46441 ''|all)
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_ALL_THEMES 1
46444 _ACEOF
46445
46446 ;;
46447
46448 *)
46449 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46450 cat >>confdefs.h <<_ACEOF
46451 #define wxUSE_THEME_$t 1
46452 _ACEOF
46453
46454 done
46455 esac
46456 else
46457 WXUNIV=0
46458 fi
46459
46460
46461
46462
46463
46464
46465
46466
46467 if test $wxUSE_MONOLITHIC = "yes" ; then
46468 MONOLITHIC=1
46469 else
46470 MONOLITHIC=0
46471 fi
46472
46473 if test $wxUSE_PLUGINS = "yes" ; then
46474 USE_PLUGINS=1
46475 else
46476 USE_PLUGINS=0
46477 fi
46478
46479 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46480 USE_QA=1
46481 else
46482 USE_QA=0
46483 fi
46484
46485 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46486 OFFICIAL_BUILD=1
46487 else
46488 OFFICIAL_BUILD=0
46489 fi
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
46515
46516
46517 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr A-Z a-z`
46518
46519
46520
46521
46522
46523
46524
46525
46526 case "$TOOLKIT" in
46527 GTK)
46528 TOOLKIT_DESC="GTK+"
46529 if test "$WXGTK2" = 1; then
46530 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46531 if test "$wxUSE_GTKPRINT" = "yes" ; then
46532 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46533 fi
46534 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46535 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46536 fi
46537 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46539 fi
46540 if test "$wxUSE_LIBHILDON" = "yes"; then
46541 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46542 fi
46543
46544 if test "$TOOLKIT_EXTRA" != ""; then
46545 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46546 fi
46547 fi
46548 ;;
46549
46550 ?*)
46551 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46552 ;;
46553
46554 *)
46555 TOOLKIT_DESC="base only"
46556 ;;
46557 esac
46558
46559 if test "$wxUSE_WINE" = "yes"; then
46560 BAKEFILE_FORCE_PLATFORM=win32
46561 fi
46562
46563 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46564 then
46565 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46566 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46567 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46569 else
46570
46571 echo '#include <stdio.h>
46572 const wchar_t test_var[] = L"awidetest";' > conftest.h
46573
46574 echo '#include "conftest.h"
46575 int main()
46576 {
46577 printf("%ls", test_var);
46578 return 0;
46579 }' > conftest.cpp
46580
46581 wx_cv_gcc_pch_bug="pch not supported"
46582
46583 if $CXX conftest.h >/dev/null 2>&1
46584 then
46585 wx_cv_gcc_pch_bug=
46586
46587 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46588 then
46589 if tr -dc a-z < conftest$PROGRAM_EXT |
46590 grep awidetest >/dev/null
46591 then
46592 wx_cv_gcc_pch_bug=no
46593 else
46594 wx_cv_gcc_pch_bug=yes
46595 fi
46596 fi
46597 fi
46598
46599 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46600
46601 fi
46602 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46603 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46604
46605 if test "$wx_cv_gcc_pch_bug" = yes; then
46606 bk_use_pch=no
46607 fi
46608 fi
46609
46610
46611
46612
46613 if test "x$BAKEFILE_HOST" = "x"; then
46614 if test "x${host}" = "x" ; then
46615 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46616 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46617 { (exit 1); exit 1; }; }
46618 fi
46619
46620 BAKEFILE_HOST="${host}"
46621 fi
46622
46623 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46624
46625 if test -n "$ac_tool_prefix"; then
46626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46630 if test "${ac_cv_prog_RANLIB+set}" = set; then
46631 echo $ECHO_N "(cached) $ECHO_C" >&6
46632 else
46633 if test -n "$RANLIB"; then
46634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46635 else
46636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46637 for as_dir in $PATH
46638 do
46639 IFS=$as_save_IFS
46640 test -z "$as_dir" && as_dir=.
46641 for ac_exec_ext in '' $ac_executable_extensions; do
46642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46645 break 2
46646 fi
46647 done
46648 done
46649 IFS=$as_save_IFS
46650
46651 fi
46652 fi
46653 RANLIB=$ac_cv_prog_RANLIB
46654 if test -n "$RANLIB"; then
46655 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46656 echo "${ECHO_T}$RANLIB" >&6; }
46657 else
46658 { echo "$as_me:$LINENO: result: no" >&5
46659 echo "${ECHO_T}no" >&6; }
46660 fi
46661
46662
46663 fi
46664 if test -z "$ac_cv_prog_RANLIB"; then
46665 ac_ct_RANLIB=$RANLIB
46666 # Extract the first word of "ranlib", so it can be a program name with args.
46667 set dummy ranlib; ac_word=$2
46668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46670 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46671 echo $ECHO_N "(cached) $ECHO_C" >&6
46672 else
46673 if test -n "$ac_ct_RANLIB"; then
46674 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46675 else
46676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46677 for as_dir in $PATH
46678 do
46679 IFS=$as_save_IFS
46680 test -z "$as_dir" && as_dir=.
46681 for ac_exec_ext in '' $ac_executable_extensions; do
46682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46683 ac_cv_prog_ac_ct_RANLIB="ranlib"
46684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46685 break 2
46686 fi
46687 done
46688 done
46689 IFS=$as_save_IFS
46690
46691 fi
46692 fi
46693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46694 if test -n "$ac_ct_RANLIB"; then
46695 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46696 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46697 else
46698 { echo "$as_me:$LINENO: result: no" >&5
46699 echo "${ECHO_T}no" >&6; }
46700 fi
46701
46702 if test "x$ac_ct_RANLIB" = x; then
46703 RANLIB=":"
46704 else
46705 case $cross_compiling:$ac_tool_warned in
46706 yes:)
46707 { echo "$as_me:$LINENO: 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." >&5
46710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46711 whose name does not start with the host triplet. If you think this
46712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46713 ac_tool_warned=yes ;;
46714 esac
46715 RANLIB=$ac_ct_RANLIB
46716 fi
46717 else
46718 RANLIB="$ac_cv_prog_RANLIB"
46719 fi
46720
46721 # Find a good install program. We prefer a C program (faster),
46722 # so one script is as good as another. But avoid the broken or
46723 # incompatible versions:
46724 # SysV /etc/install, /usr/sbin/install
46725 # SunOS /usr/etc/install
46726 # IRIX /sbin/install
46727 # AIX /bin/install
46728 # AmigaOS /C/install, which installs bootblocks on floppy discs
46729 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46730 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46731 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46732 # OS/2's system install, which has a completely different semantic
46733 # ./install, which can be erroneously created by make from ./install.sh.
46734 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46735 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46736 if test -z "$INSTALL"; then
46737 if test "${ac_cv_path_install+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46739 else
46740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46741 for as_dir in $PATH
46742 do
46743 IFS=$as_save_IFS
46744 test -z "$as_dir" && as_dir=.
46745 # Account for people who put trailing slashes in PATH elements.
46746 case $as_dir/ in
46747 ./ | .// | /cC/* | \
46748 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46749 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46750 /usr/ucb/* ) ;;
46751 *)
46752 # OSF1 and SCO ODT 3.0 have their own names for install.
46753 # Don't use installbsd from OSF since it installs stuff as root
46754 # by default.
46755 for ac_prog in ginstall scoinst install; do
46756 for ac_exec_ext in '' $ac_executable_extensions; do
46757 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46758 if test $ac_prog = install &&
46759 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46760 # AIX install. It has an incompatible calling convention.
46761 :
46762 elif test $ac_prog = install &&
46763 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46764 # program-specific install script used by HP pwplus--don't use.
46765 :
46766 else
46767 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46768 break 3
46769 fi
46770 fi
46771 done
46772 done
46773 ;;
46774 esac
46775 done
46776 IFS=$as_save_IFS
46777
46778
46779 fi
46780 if test "${ac_cv_path_install+set}" = set; then
46781 INSTALL=$ac_cv_path_install
46782 else
46783 # As a last resort, use the slow shell script. Don't cache a
46784 # value for INSTALL within a source directory, because that will
46785 # break other packages using the cache if that directory is
46786 # removed, or if the value is a relative name.
46787 INSTALL=$ac_install_sh
46788 fi
46789 fi
46790 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46791 echo "${ECHO_T}$INSTALL" >&6; }
46792
46793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46794 # It thinks the first close brace ends the variable substitution.
46795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46796
46797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46798
46799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46800
46801 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46802 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46803 LN_S=$as_ln_s
46804 if test "$LN_S" = "ln -s"; then
46805 { echo "$as_me:$LINENO: result: yes" >&5
46806 echo "${ECHO_T}yes" >&6; }
46807 else
46808 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46809 echo "${ECHO_T}no, using $LN_S" >&6; }
46810 fi
46811
46812
46813 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46814 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46815 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46816 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46817 echo $ECHO_N "(cached) $ECHO_C" >&6
46818 else
46819 cat >conftest.make <<\_ACEOF
46820 SHELL = /bin/sh
46821 all:
46822 @echo '@@@%%%=$(MAKE)=@@@%%%'
46823 _ACEOF
46824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46825 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46826 *@@@%%%=?*=@@@%%%*)
46827 eval ac_cv_prog_make_${ac_make}_set=yes;;
46828 *)
46829 eval ac_cv_prog_make_${ac_make}_set=no;;
46830 esac
46831 rm -f conftest.make
46832 fi
46833 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46834 { echo "$as_me:$LINENO: result: yes" >&5
46835 echo "${ECHO_T}yes" >&6; }
46836 SET_MAKE=
46837 else
46838 { echo "$as_me:$LINENO: result: no" >&5
46839 echo "${ECHO_T}no" >&6; }
46840 SET_MAKE="MAKE=${MAKE-make}"
46841 fi
46842
46843
46844
46845 if test "x$SUNCXX" = "xyes"; then
46846 AR=$CXX
46847 AROPTIONS="-xar -o"
46848
46849 elif test "x$SGICC" = "xyes"; then
46850 AR=$CXX
46851 AROPTIONS="-ar -o"
46852
46853 else
46854 if test -n "$ac_tool_prefix"; then
46855 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46856 set dummy ${ac_tool_prefix}ar; ac_word=$2
46857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46859 if test "${ac_cv_prog_AR+set}" = set; then
46860 echo $ECHO_N "(cached) $ECHO_C" >&6
46861 else
46862 if test -n "$AR"; then
46863 ac_cv_prog_AR="$AR" # Let the user override the test.
46864 else
46865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46866 for as_dir in $PATH
46867 do
46868 IFS=$as_save_IFS
46869 test -z "$as_dir" && as_dir=.
46870 for ac_exec_ext in '' $ac_executable_extensions; do
46871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46872 ac_cv_prog_AR="${ac_tool_prefix}ar"
46873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46874 break 2
46875 fi
46876 done
46877 done
46878 IFS=$as_save_IFS
46879
46880 fi
46881 fi
46882 AR=$ac_cv_prog_AR
46883 if test -n "$AR"; then
46884 { echo "$as_me:$LINENO: result: $AR" >&5
46885 echo "${ECHO_T}$AR" >&6; }
46886 else
46887 { echo "$as_me:$LINENO: result: no" >&5
46888 echo "${ECHO_T}no" >&6; }
46889 fi
46890
46891
46892 fi
46893 if test -z "$ac_cv_prog_AR"; then
46894 ac_ct_AR=$AR
46895 # Extract the first word of "ar", so it can be a program name with args.
46896 set dummy ar; ac_word=$2
46897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46899 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46900 echo $ECHO_N "(cached) $ECHO_C" >&6
46901 else
46902 if test -n "$ac_ct_AR"; then
46903 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46904 else
46905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46906 for as_dir in $PATH
46907 do
46908 IFS=$as_save_IFS
46909 test -z "$as_dir" && as_dir=.
46910 for ac_exec_ext in '' $ac_executable_extensions; do
46911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46912 ac_cv_prog_ac_ct_AR="ar"
46913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46914 break 2
46915 fi
46916 done
46917 done
46918 IFS=$as_save_IFS
46919
46920 fi
46921 fi
46922 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46923 if test -n "$ac_ct_AR"; then
46924 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46925 echo "${ECHO_T}$ac_ct_AR" >&6; }
46926 else
46927 { echo "$as_me:$LINENO: result: no" >&5
46928 echo "${ECHO_T}no" >&6; }
46929 fi
46930
46931 if test "x$ac_ct_AR" = x; then
46932 AR="ar"
46933 else
46934 case $cross_compiling:$ac_tool_warned in
46935 yes:)
46936 { echo "$as_me:$LINENO: 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." >&5
46939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46940 whose name does not start with the host triplet. If you think this
46941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46942 ac_tool_warned=yes ;;
46943 esac
46944 AR=$ac_ct_AR
46945 fi
46946 else
46947 AR="$ac_cv_prog_AR"
46948 fi
46949
46950 AROPTIONS=rcu
46951 fi
46952
46953
46954 if test -n "$ac_tool_prefix"; then
46955 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46956 set dummy ${ac_tool_prefix}strip; ac_word=$2
46957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46959 if test "${ac_cv_prog_STRIP+set}" = set; then
46960 echo $ECHO_N "(cached) $ECHO_C" >&6
46961 else
46962 if test -n "$STRIP"; then
46963 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46964 else
46965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46966 for as_dir in $PATH
46967 do
46968 IFS=$as_save_IFS
46969 test -z "$as_dir" && as_dir=.
46970 for ac_exec_ext in '' $ac_executable_extensions; do
46971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46972 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46974 break 2
46975 fi
46976 done
46977 done
46978 IFS=$as_save_IFS
46979
46980 fi
46981 fi
46982 STRIP=$ac_cv_prog_STRIP
46983 if test -n "$STRIP"; then
46984 { echo "$as_me:$LINENO: result: $STRIP" >&5
46985 echo "${ECHO_T}$STRIP" >&6; }
46986 else
46987 { echo "$as_me:$LINENO: result: no" >&5
46988 echo "${ECHO_T}no" >&6; }
46989 fi
46990
46991
46992 fi
46993 if test -z "$ac_cv_prog_STRIP"; then
46994 ac_ct_STRIP=$STRIP
46995 # Extract the first word of "strip", so it can be a program name with args.
46996 set dummy strip; ac_word=$2
46997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46999 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47000 echo $ECHO_N "(cached) $ECHO_C" >&6
47001 else
47002 if test -n "$ac_ct_STRIP"; then
47003 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47004 else
47005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47006 for as_dir in $PATH
47007 do
47008 IFS=$as_save_IFS
47009 test -z "$as_dir" && as_dir=.
47010 for ac_exec_ext in '' $ac_executable_extensions; do
47011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47012 ac_cv_prog_ac_ct_STRIP="strip"
47013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47014 break 2
47015 fi
47016 done
47017 done
47018 IFS=$as_save_IFS
47019
47020 fi
47021 fi
47022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47023 if test -n "$ac_ct_STRIP"; then
47024 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47025 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47026 else
47027 { echo "$as_me:$LINENO: result: no" >&5
47028 echo "${ECHO_T}no" >&6; }
47029 fi
47030
47031 if test "x$ac_ct_STRIP" = x; then
47032 STRIP=":"
47033 else
47034 case $cross_compiling:$ac_tool_warned in
47035 yes:)
47036 { echo "$as_me:$LINENO: 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." >&5
47039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47040 whose name does not start with the host triplet. If you think this
47041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47042 ac_tool_warned=yes ;;
47043 esac
47044 STRIP=$ac_ct_STRIP
47045 fi
47046 else
47047 STRIP="$ac_cv_prog_STRIP"
47048 fi
47049
47050 if test -n "$ac_tool_prefix"; then
47051 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47052 set dummy ${ac_tool_prefix}nm; ac_word=$2
47053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47055 if test "${ac_cv_prog_NM+set}" = set; then
47056 echo $ECHO_N "(cached) $ECHO_C" >&6
47057 else
47058 if test -n "$NM"; then
47059 ac_cv_prog_NM="$NM" # Let the user override the test.
47060 else
47061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47062 for as_dir in $PATH
47063 do
47064 IFS=$as_save_IFS
47065 test -z "$as_dir" && as_dir=.
47066 for ac_exec_ext in '' $ac_executable_extensions; do
47067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47068 ac_cv_prog_NM="${ac_tool_prefix}nm"
47069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47070 break 2
47071 fi
47072 done
47073 done
47074 IFS=$as_save_IFS
47075
47076 fi
47077 fi
47078 NM=$ac_cv_prog_NM
47079 if test -n "$NM"; then
47080 { echo "$as_me:$LINENO: result: $NM" >&5
47081 echo "${ECHO_T}$NM" >&6; }
47082 else
47083 { echo "$as_me:$LINENO: result: no" >&5
47084 echo "${ECHO_T}no" >&6; }
47085 fi
47086
47087
47088 fi
47089 if test -z "$ac_cv_prog_NM"; then
47090 ac_ct_NM=$NM
47091 # Extract the first word of "nm", so it can be a program name with args.
47092 set dummy nm; ac_word=$2
47093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47095 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47096 echo $ECHO_N "(cached) $ECHO_C" >&6
47097 else
47098 if test -n "$ac_ct_NM"; then
47099 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47100 else
47101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47102 for as_dir in $PATH
47103 do
47104 IFS=$as_save_IFS
47105 test -z "$as_dir" && as_dir=.
47106 for ac_exec_ext in '' $ac_executable_extensions; do
47107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47108 ac_cv_prog_ac_ct_NM="nm"
47109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47110 break 2
47111 fi
47112 done
47113 done
47114 IFS=$as_save_IFS
47115
47116 fi
47117 fi
47118 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47119 if test -n "$ac_ct_NM"; then
47120 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47121 echo "${ECHO_T}$ac_ct_NM" >&6; }
47122 else
47123 { echo "$as_me:$LINENO: result: no" >&5
47124 echo "${ECHO_T}no" >&6; }
47125 fi
47126
47127 if test "x$ac_ct_NM" = x; then
47128 NM=":"
47129 else
47130 case $cross_compiling:$ac_tool_warned in
47131 yes:)
47132 { echo "$as_me:$LINENO: 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." >&5
47135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47136 whose name does not start with the host triplet. If you think this
47137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47138 ac_tool_warned=yes ;;
47139 esac
47140 NM=$ac_ct_NM
47141 fi
47142 else
47143 NM="$ac_cv_prog_NM"
47144 fi
47145
47146
47147 case ${BAKEFILE_HOST} in
47148 *-hp-hpux* )
47149 INSTALL_DIR="mkdir -p"
47150 ;;
47151 * )
47152 INSTALL_DIR='$(INSTALL) -d'
47153 ;;
47154 esac
47155
47156
47157 LDFLAGS_GUI=
47158 case ${BAKEFILE_HOST} in
47159 *-*-cygwin* | *-*-mingw32* )
47160 LDFLAGS_GUI="-mwindows"
47161 esac
47162
47163
47164 fi
47165
47166 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47167 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47168 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47170 else
47171
47172 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47173 egrep -s GNU > /dev/null); then
47174 bakefile_cv_prog_makeisgnu="yes"
47175 else
47176 bakefile_cv_prog_makeisgnu="no"
47177 fi
47178
47179 fi
47180 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47181 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47182
47183 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47184 IF_GNU_MAKE=""
47185 else
47186 IF_GNU_MAKE="#"
47187 fi
47188
47189
47190
47191 PLATFORM_UNIX=0
47192 PLATFORM_WIN32=0
47193 PLATFORM_MSDOS=0
47194 PLATFORM_MAC=0
47195 PLATFORM_MACOS=0
47196 PLATFORM_MACOSX=0
47197 PLATFORM_OS2=0
47198 PLATFORM_BEOS=0
47199
47200 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47201 case "${BAKEFILE_HOST}" in
47202 *-*-mingw32* )
47203 PLATFORM_WIN32=1
47204 ;;
47205 *-pc-msdosdjgpp )
47206 PLATFORM_MSDOS=1
47207 ;;
47208 *-pc-os2_emx | *-pc-os2-emx )
47209 PLATFORM_OS2=1
47210 ;;
47211 *-*-darwin* )
47212 PLATFORM_MAC=1
47213 PLATFORM_MACOSX=1
47214 ;;
47215 *-*-beos* )
47216 PLATFORM_BEOS=1
47217 ;;
47218 powerpc-apple-macos* )
47219 PLATFORM_MAC=1
47220 PLATFORM_MACOS=1
47221 ;;
47222 * )
47223 PLATFORM_UNIX=1
47224 ;;
47225 esac
47226 else
47227 case "$BAKEFILE_FORCE_PLATFORM" in
47228 win32 )
47229 PLATFORM_WIN32=1
47230 ;;
47231 msdos )
47232 PLATFORM_MSDOS=1
47233 ;;
47234 os2 )
47235 PLATFORM_OS2=1
47236 ;;
47237 darwin )
47238 PLATFORM_MAC=1
47239 PLATFORM_MACOSX=1
47240 ;;
47241 unix )
47242 PLATFORM_UNIX=1
47243 ;;
47244 beos )
47245 PLATFORM_BEOS=1
47246 ;;
47247 * )
47248 ;;
47249 esac
47250 fi
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262 # Check whether --enable-omf was given.
47263 if test "${enable_omf+set}" = set; then
47264 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47265 fi
47266
47267
47268 case "${BAKEFILE_HOST}" in
47269 *-*-darwin* )
47270 if test "x$GCC" = "xyes"; then
47271 CFLAGS="$CFLAGS -fno-common"
47272 CXXFLAGS="$CXXFLAGS -fno-common"
47273 fi
47274 if test "x$XLCC" = "xyes"; then
47275 CFLAGS="$CFLAGS -qnocommon"
47276 CXXFLAGS="$CXXFLAGS -qnocommon"
47277 fi
47278 ;;
47279
47280 *-pc-os2_emx | *-pc-os2-emx )
47281 if test "x$bk_os2_use_omf" = "xyes" ; then
47282 AR=emxomfar
47283 RANLIB=:
47284 LDFLAGS="-Zomf $LDFLAGS"
47285 CFLAGS="-Zomf $CFLAGS"
47286 CXXFLAGS="-Zomf $CXXFLAGS"
47287 OS2_LIBEXT="lib"
47288 else
47289 OS2_LIBEXT="a"
47290 fi
47291 ;;
47292
47293 i*86-*-beos* )
47294 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47295 ;;
47296 esac
47297
47298
47299 SO_SUFFIX="so"
47300 SO_SUFFIX_MODULE="so"
47301 EXEEXT=""
47302 LIBPREFIX="lib"
47303 LIBEXT=".a"
47304 DLLPREFIX="lib"
47305 DLLPREFIX_MODULE=""
47306 DLLIMP_SUFFIX=""
47307 dlldir="$libdir"
47308
47309 case "${BAKEFILE_HOST}" in
47310 *-hp-hpux* )
47311 SO_SUFFIX="sl"
47312 SO_SUFFIX_MODULE="sl"
47313 ;;
47314 *-*-aix* )
47315 SO_SUFFIX="a"
47316 SO_SUFFIX_MODULE="a"
47317 ;;
47318 *-*-cygwin* )
47319 SO_SUFFIX="dll"
47320 SO_SUFFIX_MODULE="dll"
47321 DLLIMP_SUFFIX="dll.a"
47322 EXEEXT=".exe"
47323 DLLPREFIX="cyg"
47324 dlldir="$bindir"
47325 ;;
47326 *-*-mingw32* )
47327 SO_SUFFIX="dll"
47328 SO_SUFFIX_MODULE="dll"
47329 DLLIMP_SUFFIX="dll.a"
47330 EXEEXT=".exe"
47331 DLLPREFIX=""
47332 dlldir="$bindir"
47333 ;;
47334 *-pc-msdosdjgpp )
47335 EXEEXT=".exe"
47336 DLLPREFIX=""
47337 dlldir="$bindir"
47338 ;;
47339 *-pc-os2_emx | *-pc-os2-emx )
47340 SO_SUFFIX="dll"
47341 SO_SUFFIX_MODULE="dll"
47342 DLLIMP_SUFFIX=$OS2_LIBEXT
47343 EXEEXT=".exe"
47344 DLLPREFIX=""
47345 LIBPREFIX=""
47346 LIBEXT=".$OS2_LIBEXT"
47347 dlldir="$bindir"
47348 ;;
47349 *-*-darwin* )
47350 SO_SUFFIX="dylib"
47351 SO_SUFFIX_MODULE="bundle"
47352 ;;
47353 esac
47354
47355 if test "x$DLLIMP_SUFFIX" = "x" ; then
47356 DLLIMP_SUFFIX="$SO_SUFFIX"
47357 fi
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370 PIC_FLAG=""
47371 if test "x$GCC" = "xyes"; then
47372 PIC_FLAG="-fPIC"
47373 fi
47374
47375 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47376 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47377 WINDOWS_IMPLIB=0
47378
47379 case "${BAKEFILE_HOST}" in
47380 *-hp-hpux* )
47381 if test "x$GCC" != "xyes"; then
47382 LDFLAGS="$LDFLAGS -L/usr/lib"
47383
47384 SHARED_LD_CC="${CC} -b -o"
47385 SHARED_LD_CXX="${CXX} -b -o"
47386 PIC_FLAG="+Z"
47387 fi
47388 ;;
47389
47390 *-*-linux* )
47391 if test "$INTELCC" = "yes"; then
47392 PIC_FLAG="-KPIC"
47393 elif test "x$SUNCXX" = "xyes"; then
47394 SHARED_LD_CC="${CC} -G -o"
47395 SHARED_LD_CXX="${CXX} -G -o"
47396 PIC_FLAG="-KPIC"
47397 fi
47398 ;;
47399
47400 *-*-solaris2* )
47401 if test "x$SUNCXX" = xyes ; then
47402 SHARED_LD_CC="${CC} -G -o"
47403 SHARED_LD_CXX="${CXX} -G -o"
47404 PIC_FLAG="-KPIC"
47405 fi
47406 ;;
47407
47408 *-*-darwin* )
47409
47410 D='$'
47411 cat <<EOF >shared-ld-sh
47412 #!/bin/sh
47413 #-----------------------------------------------------------------------------
47414 #-- Name: distrib/mac/shared-ld-sh
47415 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47416 #-- Author: Gilles Depeyrot
47417 #-- Copyright: (c) 2002 Gilles Depeyrot
47418 #-- Licence: any use permitted
47419 #-----------------------------------------------------------------------------
47420
47421 verbose=0
47422 args=""
47423 objects=""
47424 linking_flag="-dynamiclib"
47425 ldargs="-r -keep_private_externs -nostdlib"
47426
47427 while test ${D}# -gt 0; do
47428 case ${D}1 in
47429
47430 -v)
47431 verbose=1
47432 ;;
47433
47434 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47435 # collect these options and values
47436 args="${D}{args} ${D}1 ${D}2"
47437 shift
47438 ;;
47439
47440 -s|-Wl,*)
47441 # collect these load args
47442 ldargs="${D}{ldargs} ${D}1"
47443 ;;
47444
47445 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47446 # collect these options
47447 args="${D}{args} ${D}1"
47448 ;;
47449
47450 -dynamiclib|-bundle)
47451 linking_flag="${D}1"
47452 ;;
47453
47454 -*)
47455 echo "shared-ld: unhandled option '${D}1'"
47456 exit 1
47457 ;;
47458
47459 *.o | *.a | *.dylib)
47460 # collect object files
47461 objects="${D}{objects} ${D}1"
47462 ;;
47463
47464 *)
47465 echo "shared-ld: unhandled argument '${D}1'"
47466 exit 1
47467 ;;
47468
47469 esac
47470 shift
47471 done
47472
47473 status=0
47474
47475 #
47476 # Link one module containing all the others
47477 #
47478 if test ${D}{verbose} = 1; then
47479 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47480 fi
47481 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47482 status=${D}?
47483
47484 #
47485 # Link the shared library from the single module created, but only if the
47486 # previous command didn't fail:
47487 #
47488 if test ${D}{status} = 0; then
47489 if test ${D}{verbose} = 1; then
47490 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47491 fi
47492 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47493 status=${D}?
47494 fi
47495
47496 #
47497 # Remove intermediate module
47498 #
47499 rm -f master.${D}${D}.o
47500
47501 exit ${D}status
47502 EOF
47503
47504 chmod +x shared-ld-sh
47505
47506 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47507 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47508
47509
47510 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47511 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47512 if test "${bakefile_cv_gcc31+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 else
47515
47516 cat >conftest.$ac_ext <<_ACEOF
47517 /* confdefs.h. */
47518 _ACEOF
47519 cat confdefs.h >>conftest.$ac_ext
47520 cat >>conftest.$ac_ext <<_ACEOF
47521 /* end confdefs.h. */
47522
47523 int
47524 main ()
47525 {
47526
47527 #if (__GNUC__ < 3) || \
47528 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47529 This is old gcc
47530 #endif
47531
47532 ;
47533 return 0;
47534 }
47535 _ACEOF
47536 rm -f conftest.$ac_objext
47537 if { (ac_try="$ac_compile"
47538 case "(($ac_try" in
47539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47540 *) ac_try_echo=$ac_try;;
47541 esac
47542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47543 (eval "$ac_compile") 2>conftest.er1
47544 ac_status=$?
47545 grep -v '^ *+' conftest.er1 >conftest.err
47546 rm -f conftest.er1
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } && {
47550 test -z "$ac_c_werror_flag" ||
47551 test ! -s conftest.err
47552 } && test -s conftest.$ac_objext; then
47553
47554 bakefile_cv_gcc31=yes
47555
47556 else
47557 echo "$as_me: failed program was:" >&5
47558 sed 's/^/| /' conftest.$ac_ext >&5
47559
47560
47561 bakefile_cv_gcc31=no
47562
47563
47564 fi
47565
47566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47567
47568 fi
47569 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47570 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47571 if test "$bakefile_cv_gcc31" = "no"; then
47572 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47573 SHARED_LD_CXX="$SHARED_LD_CC"
47574 else
47575 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47576 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47577 fi
47578
47579 if test "x$GCC" == "xyes"; then
47580 PIC_FLAG="-dynamic -fPIC"
47581 fi
47582 if test "x$XLCC" = "xyes"; then
47583 PIC_FLAG="-dynamic -DPIC"
47584 fi
47585 ;;
47586
47587 *-*-aix* )
47588 if test "x$GCC" = "xyes"; then
47589 PIC_FLAG=""
47590
47591 case "${BAKEFILE_HOST}" in
47592 *-*-aix5* )
47593 LD_EXPFULL="-Wl,-bexpfull"
47594 ;;
47595 esac
47596
47597 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47598 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47599 else
47600 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47601 set dummy makeC++SharedLib; ac_word=$2
47602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47604 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47605 echo $ECHO_N "(cached) $ECHO_C" >&6
47606 else
47607 if test -n "$AIX_CXX_LD"; then
47608 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47609 else
47610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47611 for as_dir in $PATH
47612 do
47613 IFS=$as_save_IFS
47614 test -z "$as_dir" && as_dir=.
47615 for ac_exec_ext in '' $ac_executable_extensions; do
47616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47617 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47619 break 2
47620 fi
47621 done
47622 done
47623 IFS=$as_save_IFS
47624
47625 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47626 fi
47627 fi
47628 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47629 if test -n "$AIX_CXX_LD"; then
47630 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47631 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47632 else
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47635 fi
47636
47637
47638 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47639 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47640 fi
47641 ;;
47642
47643 *-*-beos* )
47644 SHARED_LD_CC="${LD} -nostart -o"
47645 SHARED_LD_CXX="${LD} -nostart -o"
47646 ;;
47647
47648 *-*-irix* )
47649 if test "x$GCC" != "xyes"; then
47650 PIC_FLAG="-KPIC"
47651 fi
47652 ;;
47653
47654 *-*-cygwin* | *-*-mingw32* )
47655 PIC_FLAG=""
47656 SHARED_LD_CC="\$(CC) -shared -o"
47657 SHARED_LD_CXX="\$(CXX) -shared -o"
47658 WINDOWS_IMPLIB=1
47659 ;;
47660
47661 *-pc-os2_emx | *-pc-os2-emx )
47662 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47663 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47664 PIC_FLAG=""
47665
47666 D='$'
47667 cat <<EOF >dllar.sh
47668 #!/bin/sh
47669 #
47670 # dllar - a tool to build both a .dll and an .a file
47671 # from a set of object (.o) files for EMX/OS2.
47672 #
47673 # Written by Andrew Zabolotny, bit@freya.etu.ru
47674 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47675 #
47676 # This script will accept a set of files on the command line.
47677 # All the public symbols from the .o files will be exported into
47678 # a .DEF file, then linker will be run (through gcc) against them to
47679 # build a shared library consisting of all given .o files. All libraries
47680 # (.a) will be first decompressed into component .o files then act as
47681 # described above. You can optionally give a description (-d "description")
47682 # which will be put into .DLL. To see the list of accepted options (as well
47683 # as command-line format) simply run this program without options. The .DLL
47684 # is built to be imported by name (there is no guarantee that new versions
47685 # of the library you build will have same ordinals for same symbols).
47686 #
47687 # dllar is free software; you can redistribute it and/or modify
47688 # it under the terms of the GNU General Public License as published by
47689 # the Free Software Foundation; either version 2, or (at your option)
47690 # any later version.
47691 #
47692 # dllar is distributed in the hope that it will be useful,
47693 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47694 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47695 # GNU General Public License for more details.
47696 #
47697 # You should have received a copy of the GNU General Public License
47698 # along with dllar; see the file COPYING. If not, write to the Free
47699 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47700 # 02111-1307, USA.
47701
47702 # To successfuly run this program you will need:
47703 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47704 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47705 # - gcc
47706 # (used to build the .dll)
47707 # - emxexp
47708 # (used to create .def file from .o files)
47709 # - emximp
47710 # (used to create .a file from .def file)
47711 # - GNU text utilites (cat, sort, uniq)
47712 # used to process emxexp output
47713 # - GNU file utilities (mv, rm)
47714 # - GNU sed
47715 # - lxlite (optional, see flag below)
47716 # (used for general .dll cleanup)
47717 #
47718
47719 flag_USE_LXLITE=1;
47720
47721 #
47722 # helper functions
47723 # basnam, variant of basename, which does _not_ remove the path, _iff_
47724 # second argument (suffix to remove) is given
47725 basnam(){
47726 case ${D}# in
47727 1)
47728 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47729 ;;
47730 2)
47731 echo ${D}1 | sed 's/'${D}2'${D}//'
47732 ;;
47733 *)
47734 echo "error in basnam ${D}*"
47735 exit 8
47736 ;;
47737 esac
47738 }
47739
47740 # Cleanup temporary files and output
47741 CleanUp() {
47742 cd ${D}curDir
47743 for i in ${D}inputFiles ; do
47744 case ${D}i in
47745 *!)
47746 rm -rf \`basnam ${D}i !\`
47747 ;;
47748 *)
47749 ;;
47750 esac
47751 done
47752
47753 # Kill result in case of failure as there is just to many stupid make/nmake
47754 # things out there which doesn't do this.
47755 if [ ${D}# -eq 0 ]; then
47756 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47757 fi
47758 }
47759
47760 # Print usage and exit script with rc=1.
47761 PrintHelp() {
47762 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47763 echo ' [-name-mangler-script script.sh]'
47764 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47765 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47766 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47767 echo ' [*.o] [*.a]'
47768 echo '*> "output_file" should have no extension.'
47769 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47770 echo ' The import library name is derived from this and is set to "name".a,'
47771 echo ' unless overridden by -import'
47772 echo '*> "importlib_name" should have no extension.'
47773 echo ' If it has the .o, or .a extension, it is automatically removed.'
47774 echo ' This name is used as the import library name and may be longer and'
47775 echo ' more descriptive than the DLL name which has to follow the old '
47776 echo ' 8.3 convention of FAT.'
47777 echo '*> "script.sh may be given to override the output_file name by a'
47778 echo ' different name. It is mainly useful if the regular make process'
47779 echo ' of some package does not take into account OS/2 restriction of'
47780 echo ' DLL name lengths. It takes the importlib name as input and is'
47781 echo ' supposed to procude a shorter name as output. The script should'
47782 echo ' expect to get importlib_name without extension and should produce'
47783 echo ' a (max.) 8 letter name without extension.'
47784 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47785 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47786 echo ' These flags will be put at the start of GCC command line.'
47787 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47788 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47789 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47790 echo ' If the last character of a symbol is "*", all symbols beginning'
47791 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47792 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47793 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47794 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47795 echo ' C runtime DLLs.'
47796 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47797 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47798 echo ' unchanged to GCC at the end of command line.'
47799 echo '*> If you create a DLL from a library and you do not specify -o,'
47800 echo ' the basename for DLL and import library will be set to library name,'
47801 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47802 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47803 echo ' library will be renamed into gcc_s.a.'
47804 echo '--------'
47805 echo 'Example:'
47806 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47807 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47808 CleanUp
47809 exit 1
47810 }
47811
47812 # Execute a command.
47813 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47814 # @Uses Whatever CleanUp() uses.
47815 doCommand() {
47816 echo "${D}*"
47817 eval ${D}*
47818 rcCmd=${D}?
47819
47820 if [ ${D}rcCmd -ne 0 ]; then
47821 echo "command failed, exit code="${D}rcCmd
47822 CleanUp
47823 exit ${D}rcCmd
47824 fi
47825 }
47826
47827 # main routine
47828 # setup globals
47829 cmdLine=${D}*
47830 outFile=""
47831 outimpFile=""
47832 inputFiles=""
47833 renameScript=""
47834 description=""
47835 CC=gcc.exe
47836 CFLAGS="-s -Zcrtdll"
47837 EXTRA_CFLAGS=""
47838 EXPORT_BY_ORDINALS=0
47839 exclude_symbols=""
47840 library_flags=""
47841 curDir=\`pwd\`
47842 curDirS=curDir
47843 case ${D}curDirS in
47844 */)
47845 ;;
47846 *)
47847 curDirS=${D}{curDirS}"/"
47848 ;;
47849 esac
47850 # Parse commandline
47851 libsToLink=0
47852 omfLinking=0
47853 while [ ${D}1 ]; do
47854 case ${D}1 in
47855 -ord*)
47856 EXPORT_BY_ORDINALS=1;
47857 ;;
47858 -o*)
47859 shift
47860 outFile=${D}1
47861 ;;
47862 -i*)
47863 shift
47864 outimpFile=${D}1
47865 ;;
47866 -name-mangler-script)
47867 shift
47868 renameScript=${D}1
47869 ;;
47870 -d*)
47871 shift
47872 description=${D}1
47873 ;;
47874 -f*)
47875 shift
47876 CFLAGS=${D}1
47877 ;;
47878 -c*)
47879 shift
47880 CC=${D}1
47881 ;;
47882 -h*)
47883 PrintHelp
47884 ;;
47885 -ex*)
47886 shift
47887 exclude_symbols=${D}{exclude_symbols}${D}1" "
47888 ;;
47889 -libf*)
47890 shift
47891 library_flags=${D}{library_flags}${D}1" "
47892 ;;
47893 -nocrt*)
47894 CFLAGS="-s"
47895 ;;
47896 -nolxl*)
47897 flag_USE_LXLITE=0
47898 ;;
47899 -* | /*)
47900 case ${D}1 in
47901 -L* | -l*)
47902 libsToLink=1
47903 ;;
47904 -Zomf)
47905 omfLinking=1
47906 ;;
47907 *)
47908 ;;
47909 esac
47910 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47911 ;;
47912 *.dll)
47913 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47914 if [ ${D}omfLinking -eq 1 ]; then
47915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47916 else
47917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47918 fi
47919 ;;
47920 *)
47921 found=0;
47922 if [ ${D}libsToLink -ne 0 ]; then
47923 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47924 else
47925 for file in ${D}1 ; do
47926 if [ -f ${D}file ]; then
47927 inputFiles="${D}{inputFiles} ${D}file"
47928 found=1
47929 fi
47930 done
47931 if [ ${D}found -eq 0 ]; then
47932 echo "ERROR: No file(s) found: "${D}1
47933 exit 8
47934 fi
47935 fi
47936 ;;
47937 esac
47938 shift
47939 done # iterate cmdline words
47940
47941 #
47942 if [ -z "${D}inputFiles" ]; then
47943 echo "dllar: no input files"
47944 PrintHelp
47945 fi
47946
47947 # Now extract all .o files from .a files
47948 newInputFiles=""
47949 for file in ${D}inputFiles ; do
47950 case ${D}file in
47951 *.a | *.lib)
47952 case ${D}file in
47953 *.a)
47954 suffix=".a"
47955 AR="ar"
47956 ;;
47957 *.lib)
47958 suffix=".lib"
47959 AR="emxomfar"
47960 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47961 ;;
47962 *)
47963 ;;
47964 esac
47965 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47966 mkdir ${D}dirname
47967 if [ ${D}? -ne 0 ]; then
47968 echo "Failed to create subdirectory ./${D}dirname"
47969 CleanUp
47970 exit 8;
47971 fi
47972 # Append '!' to indicate archive
47973 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47974 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47975 cd ${D}curDir
47976 found=0;
47977 for subfile in ${D}dirname/*.o* ; do
47978 if [ -f ${D}subfile ]; then
47979 found=1
47980 if [ -s ${D}subfile ]; then
47981 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47982 newInputFiles="${D}newInputFiles ${D}subfile"
47983 fi
47984 fi
47985 done
47986 if [ ${D}found -eq 0 ]; then
47987 echo "WARNING: there are no files in archive \\'${D}file\\'"
47988 fi
47989 ;;
47990 *)
47991 newInputFiles="${D}{newInputFiles} ${D}file"
47992 ;;
47993 esac
47994 done
47995 inputFiles="${D}newInputFiles"
47996
47997 # Output filename(s).
47998 do_backup=0;
47999 if [ -z ${D}outFile ]; then
48000 do_backup=1;
48001 set outFile ${D}inputFiles; outFile=${D}2
48002 fi
48003
48004 # If it is an archive, remove the '!' and the '_%' suffixes
48005 case ${D}outFile in
48006 *_%!)
48007 outFile=\`basnam ${D}outFile _%!\`
48008 ;;
48009 *)
48010 ;;
48011 esac
48012 case ${D}outFile in
48013 *.dll)
48014 outFile=\`basnam ${D}outFile .dll\`
48015 ;;
48016 *.DLL)
48017 outFile=\`basnam ${D}outFile .DLL\`
48018 ;;
48019 *.o)
48020 outFile=\`basnam ${D}outFile .o\`
48021 ;;
48022 *.obj)
48023 outFile=\`basnam ${D}outFile .obj\`
48024 ;;
48025 *.a)
48026 outFile=\`basnam ${D}outFile .a\`
48027 ;;
48028 *.lib)
48029 outFile=\`basnam ${D}outFile .lib\`
48030 ;;
48031 *)
48032 ;;
48033 esac
48034 case ${D}outimpFile in
48035 *.a)
48036 outimpFile=\`basnam ${D}outimpFile .a\`
48037 ;;
48038 *.lib)
48039 outimpFile=\`basnam ${D}outimpFile .lib\`
48040 ;;
48041 *)
48042 ;;
48043 esac
48044 if [ -z ${D}outimpFile ]; then
48045 outimpFile=${D}outFile
48046 fi
48047 defFile="${D}{outFile}.def"
48048 arcFile="${D}{outimpFile}.a"
48049 arcFile2="${D}{outimpFile}.lib"
48050
48051 #create ${D}dllFile as something matching 8.3 restrictions,
48052 if [ -z ${D}renameScript ] ; then
48053 dllFile="${D}outFile"
48054 else
48055 dllFile=\`${D}renameScript ${D}outimpFile\`
48056 fi
48057
48058 if [ ${D}do_backup -ne 0 ] ; then
48059 if [ -f ${D}arcFile ] ; then
48060 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48061 fi
48062 if [ -f ${D}arcFile2 ] ; then
48063 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48064 fi
48065 fi
48066
48067 # Extract public symbols from all the object files.
48068 tmpdefFile=${D}{defFile}_%
48069 rm -f ${D}tmpdefFile
48070 for file in ${D}inputFiles ; do
48071 case ${D}file in
48072 *!)
48073 ;;
48074 *)
48075 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48076 ;;
48077 esac
48078 done
48079
48080 # Create the def file.
48081 rm -f ${D}defFile
48082 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48083 dllFile="${D}{dllFile}.dll"
48084 if [ ! -z ${D}description ]; then
48085 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48086 fi
48087 echo "EXPORTS" >> ${D}defFile
48088
48089 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48090 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48091
48092 # Checks if the export is ok or not.
48093 for word in ${D}exclude_symbols; do
48094 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48095 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48096 done
48097
48098
48099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48100 sed "=" < ${D}tmpdefFile | \\
48101 sed '
48102 N
48103 : loop
48104 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48105 t loop
48106 ' > ${D}{tmpdefFile}%
48107 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48108 else
48109 rm -f ${D}{tmpdefFile}%
48110 fi
48111 cat ${D}tmpdefFile >> ${D}defFile
48112 rm -f ${D}tmpdefFile
48113
48114 # Do linking, create implib, and apply lxlite.
48115 gccCmdl="";
48116 for file in ${D}inputFiles ; do
48117 case ${D}file in
48118 *!)
48119 ;;
48120 *)
48121 gccCmdl="${D}gccCmdl ${D}file"
48122 ;;
48123 esac
48124 done
48125 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48126 touch "${D}{outFile}.dll"
48127
48128 doCommand "emximp -o ${D}arcFile ${D}defFile"
48129 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48130 add_flags="";
48131 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48132 add_flags="-ynd"
48133 fi
48134 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48135 fi
48136 doCommand "emxomf -s -l ${D}arcFile"
48137
48138 # Successful exit.
48139 CleanUp 1
48140 exit 0
48141 EOF
48142
48143 chmod +x dllar.sh
48144 ;;
48145
48146 powerpc-apple-macos* | \
48147 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48148 *-*-mirbsd* | \
48149 *-*-sunos4* | \
48150 *-*-osf* | \
48151 *-*-dgux5* | \
48152 *-*-sysv5* | \
48153 *-pc-msdosdjgpp )
48154 ;;
48155
48156 *)
48157 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48158 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48159 { (exit 1); exit 1; }; }
48160 esac
48161
48162 if test "x$PIC_FLAG" != "x" ; then
48163 PIC_FLAG="$PIC_FLAG -DPIC"
48164 fi
48165
48166 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48167 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48168 fi
48169 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48170 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48171 fi
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181 USE_SOVERSION=0
48182 USE_SOVERLINUX=0
48183 USE_SOVERSOLARIS=0
48184 USE_SOVERCYGWIN=0
48185 USE_SOSYMLINKS=0
48186 USE_MACVERSION=0
48187 SONAME_FLAG=
48188
48189 case "${BAKEFILE_HOST}" in
48190 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48191 if test "x$SUNCXX" = "xyes"; then
48192 SONAME_FLAG="-h "
48193 else
48194 SONAME_FLAG="-Wl,-soname,"
48195 fi
48196 USE_SOVERSION=1
48197 USE_SOVERLINUX=1
48198 USE_SOSYMLINKS=1
48199 ;;
48200
48201 *-*-solaris2* )
48202 SONAME_FLAG="-h "
48203 USE_SOVERSION=1
48204 USE_SOVERSOLARIS=1
48205 USE_SOSYMLINKS=1
48206 ;;
48207
48208 *-*-darwin* )
48209 USE_MACVERSION=1
48210 USE_SOVERSION=1
48211 USE_SOSYMLINKS=1
48212 ;;
48213
48214 *-*-cygwin* )
48215 USE_SOVERSION=1
48216 USE_SOVERCYGWIN=1
48217 ;;
48218 esac
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229 # Check whether --enable-dependency-tracking was given.
48230 if test "${enable_dependency_tracking+set}" = set; then
48231 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48232 fi
48233
48234
48235 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48236 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48237
48238 BK_DEPS=""
48239 if test "x$bk_use_trackdeps" = "xno" ; then
48240 DEPS_TRACKING=0
48241 { echo "$as_me:$LINENO: result: disabled" >&5
48242 echo "${ECHO_T}disabled" >&6; }
48243 else
48244 DEPS_TRACKING=1
48245
48246 if test "x$GCC" = "xyes"; then
48247 DEPSMODE=gcc
48248 case "${BAKEFILE_HOST}" in
48249 *-*-darwin* )
48250 DEPSFLAG="-no-cpp-precomp -MMD"
48251 ;;
48252 * )
48253 DEPSFLAG="-MMD"
48254 ;;
48255 esac
48256 { echo "$as_me:$LINENO: result: gcc" >&5
48257 echo "${ECHO_T}gcc" >&6; }
48258 elif test "x$MWCC" = "xyes"; then
48259 DEPSMODE=mwcc
48260 DEPSFLAG="-MM"
48261 { echo "$as_me:$LINENO: result: mwcc" >&5
48262 echo "${ECHO_T}mwcc" >&6; }
48263 elif test "x$SUNCC" = "xyes"; then
48264 DEPSMODE=unixcc
48265 DEPSFLAG="-xM1"
48266 { echo "$as_me:$LINENO: result: Sun cc" >&5
48267 echo "${ECHO_T}Sun cc" >&6; }
48268 elif test "x$SGICC" = "xyes"; then
48269 DEPSMODE=unixcc
48270 DEPSFLAG="-M"
48271 { echo "$as_me:$LINENO: result: SGI cc" >&5
48272 echo "${ECHO_T}SGI cc" >&6; }
48273 elif test "x$HPCC" = "xyes"; then
48274 DEPSMODE=unixcc
48275 DEPSFLAG="+make"
48276 { echo "$as_me:$LINENO: result: HP cc" >&5
48277 echo "${ECHO_T}HP cc" >&6; }
48278 elif test "x$COMPAQCC" = "xyes"; then
48279 DEPSMODE=gcc
48280 DEPSFLAG="-MD"
48281 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48282 echo "${ECHO_T}Compaq cc" >&6; }
48283 else
48284 DEPS_TRACKING=0
48285 { echo "$as_me:$LINENO: result: none" >&5
48286 echo "${ECHO_T}none" >&6; }
48287 fi
48288
48289 if test $DEPS_TRACKING = 1 ; then
48290
48291 D='$'
48292 cat <<EOF >bk-deps
48293 #!/bin/sh
48294
48295 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48296 # script. It is used to track C/C++ files dependencies in portable way.
48297 #
48298 # Permission is given to use this file in any way.
48299
48300 DEPSMODE=${DEPSMODE}
48301 DEPSDIR=.deps
48302 DEPSFLAG="${DEPSFLAG}"
48303
48304 mkdir -p ${D}DEPSDIR
48305
48306 if test ${D}DEPSMODE = gcc ; then
48307 ${D}* ${D}{DEPSFLAG}
48308 status=${D}?
48309 if test ${D}{status} != 0 ; then
48310 exit ${D}{status}
48311 fi
48312 # move created file to the location we want it in:
48313 while test ${D}# -gt 0; do
48314 case "${D}1" in
48315 -o )
48316 shift
48317 objfile=${D}1
48318 ;;
48319 -* )
48320 ;;
48321 * )
48322 srcfile=${D}1
48323 ;;
48324 esac
48325 shift
48326 done
48327 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48328 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48329 if test -f ${D}depfile ; then
48330 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48331 rm -f ${D}depfile
48332 else
48333 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48334 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48335 if test ! -f ${D}depfile ; then
48336 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48337 depfile="${D}objfile.d"
48338 fi
48339 if test -f ${D}depfile ; then
48340 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48341 rm -f ${D}depfile
48342 fi
48343 fi
48344 exit 0
48345 elif test ${D}DEPSMODE = mwcc ; then
48346 ${D}* || exit ${D}?
48347 # Run mwcc again with -MM and redirect into the dep file we want
48348 # NOTE: We can't use shift here because we need ${D}* to be valid
48349 prevarg=
48350 for arg in ${D}* ; do
48351 if test "${D}prevarg" = "-o"; then
48352 objfile=${D}arg
48353 else
48354 case "${D}arg" in
48355 -* )
48356 ;;
48357 * )
48358 srcfile=${D}arg
48359 ;;
48360 esac
48361 fi
48362 prevarg="${D}arg"
48363 done
48364 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48365 exit 0
48366 elif test ${D}DEPSMODE = unixcc; then
48367 ${D}* || exit ${D}?
48368 # Run compiler again with deps flag and redirect into the dep file.
48369 # It doesn't work if the '-o FILE' option is used, but without it the
48370 # dependency file will contain the wrong name for the object. So it is
48371 # removed from the command line, and the dep file is fixed with sed.
48372 cmd=""
48373 while test ${D}# -gt 0; do
48374 case "${D}1" in
48375 -o )
48376 shift
48377 objfile=${D}1
48378 ;;
48379 * )
48380 eval arg${D}#=\\${D}1
48381 cmd="${D}cmd \\${D}arg${D}#"
48382 ;;
48383 esac
48384 shift
48385 done
48386 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48387 exit 0
48388 else
48389 ${D}*
48390 exit ${D}?
48391 fi
48392 EOF
48393
48394 chmod +x bk-deps
48395 BK_DEPS="`pwd`/bk-deps"
48396 fi
48397 fi
48398
48399
48400
48401
48402
48403 case ${BAKEFILE_HOST} in
48404 *-*-cygwin* | *-*-mingw32* )
48405 if test -n "$ac_tool_prefix"; then
48406 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48407 set dummy ${ac_tool_prefix}windres; ac_word=$2
48408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48410 if test "${ac_cv_prog_WINDRES+set}" = set; then
48411 echo $ECHO_N "(cached) $ECHO_C" >&6
48412 else
48413 if test -n "$WINDRES"; then
48414 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48415 else
48416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48417 for as_dir in $PATH
48418 do
48419 IFS=$as_save_IFS
48420 test -z "$as_dir" && as_dir=.
48421 for ac_exec_ext in '' $ac_executable_extensions; do
48422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48423 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48425 break 2
48426 fi
48427 done
48428 done
48429 IFS=$as_save_IFS
48430
48431 fi
48432 fi
48433 WINDRES=$ac_cv_prog_WINDRES
48434 if test -n "$WINDRES"; then
48435 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48436 echo "${ECHO_T}$WINDRES" >&6; }
48437 else
48438 { echo "$as_me:$LINENO: result: no" >&5
48439 echo "${ECHO_T}no" >&6; }
48440 fi
48441
48442
48443 fi
48444 if test -z "$ac_cv_prog_WINDRES"; then
48445 ac_ct_WINDRES=$WINDRES
48446 # Extract the first word of "windres", so it can be a program name with args.
48447 set dummy windres; ac_word=$2
48448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48450 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48451 echo $ECHO_N "(cached) $ECHO_C" >&6
48452 else
48453 if test -n "$ac_ct_WINDRES"; then
48454 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48455 else
48456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48457 for as_dir in $PATH
48458 do
48459 IFS=$as_save_IFS
48460 test -z "$as_dir" && as_dir=.
48461 for ac_exec_ext in '' $ac_executable_extensions; do
48462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48463 ac_cv_prog_ac_ct_WINDRES="windres"
48464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48465 break 2
48466 fi
48467 done
48468 done
48469 IFS=$as_save_IFS
48470
48471 fi
48472 fi
48473 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48474 if test -n "$ac_ct_WINDRES"; then
48475 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48476 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48477 else
48478 { echo "$as_me:$LINENO: result: no" >&5
48479 echo "${ECHO_T}no" >&6; }
48480 fi
48481
48482 if test "x$ac_ct_WINDRES" = x; then
48483 WINDRES=""
48484 else
48485 case $cross_compiling:$ac_tool_warned in
48486 yes:)
48487 { echo "$as_me:$LINENO: 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." >&5
48490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48491 whose name does not start with the host triplet. If you think this
48492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48493 ac_tool_warned=yes ;;
48494 esac
48495 WINDRES=$ac_ct_WINDRES
48496 fi
48497 else
48498 WINDRES="$ac_cv_prog_WINDRES"
48499 fi
48500
48501 ;;
48502
48503 *-*-darwin* | powerpc-apple-macos* )
48504 # Extract the first word of "Rez", so it can be a program name with args.
48505 set dummy Rez; ac_word=$2
48506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48508 if test "${ac_cv_prog_REZ+set}" = set; then
48509 echo $ECHO_N "(cached) $ECHO_C" >&6
48510 else
48511 if test -n "$REZ"; then
48512 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48513 else
48514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48515 for as_dir in $PATH
48516 do
48517 IFS=$as_save_IFS
48518 test -z "$as_dir" && as_dir=.
48519 for ac_exec_ext in '' $ac_executable_extensions; do
48520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48521 ac_cv_prog_REZ="Rez"
48522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48523 break 2
48524 fi
48525 done
48526 done
48527 IFS=$as_save_IFS
48528
48529 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48530 fi
48531 fi
48532 REZ=$ac_cv_prog_REZ
48533 if test -n "$REZ"; then
48534 { echo "$as_me:$LINENO: result: $REZ" >&5
48535 echo "${ECHO_T}$REZ" >&6; }
48536 else
48537 { echo "$as_me:$LINENO: result: no" >&5
48538 echo "${ECHO_T}no" >&6; }
48539 fi
48540
48541
48542 # Extract the first word of "SetFile", so it can be a program name with args.
48543 set dummy SetFile; ac_word=$2
48544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48546 if test "${ac_cv_prog_SETFILE+set}" = set; then
48547 echo $ECHO_N "(cached) $ECHO_C" >&6
48548 else
48549 if test -n "$SETFILE"; then
48550 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48551 else
48552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48553 for as_dir in $PATH
48554 do
48555 IFS=$as_save_IFS
48556 test -z "$as_dir" && as_dir=.
48557 for ac_exec_ext in '' $ac_executable_extensions; do
48558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48559 ac_cv_prog_SETFILE="SetFile"
48560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48561 break 2
48562 fi
48563 done
48564 done
48565 IFS=$as_save_IFS
48566
48567 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48568 fi
48569 fi
48570 SETFILE=$ac_cv_prog_SETFILE
48571 if test -n "$SETFILE"; then
48572 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48573 echo "${ECHO_T}$SETFILE" >&6; }
48574 else
48575 { echo "$as_me:$LINENO: result: no" >&5
48576 echo "${ECHO_T}no" >&6; }
48577 fi
48578
48579
48580 ;;
48581 esac
48582
48583
48584
48585
48586
48587
48588 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48589
48590
48591 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48592
48593
48594
48595 # Check whether --enable-precomp-headers was given.
48596 if test "${enable_precomp_headers+set}" = set; then
48597 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48598 fi
48599
48600
48601 GCC_PCH=0
48602 ICC_PCH=0
48603 USE_PCH=0
48604 BK_MAKE_PCH=""
48605
48606 case ${BAKEFILE_HOST} in
48607 *-*-cygwin* )
48608 bk_use_pch="no"
48609 ;;
48610 esac
48611
48612 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48613 if test "x$GCC" = "xyes"; then
48614 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48615 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48616 cat >conftest.$ac_ext <<_ACEOF
48617 /* confdefs.h. */
48618 _ACEOF
48619 cat confdefs.h >>conftest.$ac_ext
48620 cat >>conftest.$ac_ext <<_ACEOF
48621 /* end confdefs.h. */
48622
48623 int
48624 main ()
48625 {
48626
48627 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48628 There is no PCH support
48629 #endif
48630 #if (__GNUC__ < 3)
48631 There is no PCH support
48632 #endif
48633 #if (__GNUC__ == 3) && \
48634 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48635 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48636 ( defined(__INTEL_COMPILER) )
48637 There is no PCH support
48638 #endif
48639
48640 ;
48641 return 0;
48642 }
48643 _ACEOF
48644 rm -f conftest.$ac_objext
48645 if { (ac_try="$ac_compile"
48646 case "(($ac_try" in
48647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48648 *) ac_try_echo=$ac_try;;
48649 esac
48650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48651 (eval "$ac_compile") 2>conftest.er1
48652 ac_status=$?
48653 grep -v '^ *+' conftest.er1 >conftest.err
48654 rm -f conftest.er1
48655 cat conftest.err >&5
48656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48657 (exit $ac_status); } && {
48658 test -z "$ac_c_werror_flag" ||
48659 test ! -s conftest.err
48660 } && test -s conftest.$ac_objext; then
48661
48662 { echo "$as_me:$LINENO: result: yes" >&5
48663 echo "${ECHO_T}yes" >&6; }
48664 GCC_PCH=1
48665
48666 else
48667 echo "$as_me: failed program was:" >&5
48668 sed 's/^/| /' conftest.$ac_ext >&5
48669
48670
48671 cat >conftest.$ac_ext <<_ACEOF
48672 /* confdefs.h. */
48673 _ACEOF
48674 cat confdefs.h >>conftest.$ac_ext
48675 cat >>conftest.$ac_ext <<_ACEOF
48676 /* end confdefs.h. */
48677
48678 int
48679 main ()
48680 {
48681
48682 #if !defined(__INTEL_COMPILER) || \
48683 (__INTEL_COMPILER < 800)
48684 There is no PCH support
48685 #endif
48686
48687 ;
48688 return 0;
48689 }
48690 _ACEOF
48691 rm -f conftest.$ac_objext
48692 if { (ac_try="$ac_compile"
48693 case "(($ac_try" in
48694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48695 *) ac_try_echo=$ac_try;;
48696 esac
48697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48698 (eval "$ac_compile") 2>conftest.er1
48699 ac_status=$?
48700 grep -v '^ *+' conftest.er1 >conftest.err
48701 rm -f conftest.er1
48702 cat conftest.err >&5
48703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48704 (exit $ac_status); } && {
48705 test -z "$ac_c_werror_flag" ||
48706 test ! -s conftest.err
48707 } && test -s conftest.$ac_objext; then
48708
48709 { echo "$as_me:$LINENO: result: yes" >&5
48710 echo "${ECHO_T}yes" >&6; }
48711 ICC_PCH=1
48712
48713 else
48714 echo "$as_me: failed program was:" >&5
48715 sed 's/^/| /' conftest.$ac_ext >&5
48716
48717
48718 { echo "$as_me:$LINENO: result: no" >&5
48719 echo "${ECHO_T}no" >&6; }
48720
48721 fi
48722
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724
48725 fi
48726
48727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48728 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48729 USE_PCH=1
48730
48731 D='$'
48732 cat <<EOF >bk-make-pch
48733 #!/bin/sh
48734
48735 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48736 # script. It is used to generated precompiled headers.
48737 #
48738 # Permission is given to use this file in any way.
48739
48740 outfile="${D}{1}"
48741 header="${D}{2}"
48742 shift
48743 shift
48744
48745 compiler=""
48746 headerfile=""
48747
48748 while test ${D}{#} -gt 0; do
48749 add_to_cmdline=1
48750 case "${D}{1}" in
48751 -I* )
48752 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48753 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48754 headerfile="${D}{incdir}/${D}{header}"
48755 fi
48756 ;;
48757 -use-pch|-use_pch )
48758 shift
48759 add_to_cmdline=0
48760 ;;
48761 esac
48762 if test ${D}add_to_cmdline = 1 ; then
48763 compiler="${D}{compiler} ${D}{1}"
48764 fi
48765 shift
48766 done
48767
48768 if test "x${D}{headerfile}" = "x" ; then
48769 echo "error: can't find header ${D}{header} in include paths" >&2
48770 else
48771 if test -f ${D}{outfile} ; then
48772 rm -f ${D}{outfile}
48773 else
48774 mkdir -p \`dirname ${D}{outfile}\`
48775 fi
48776 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48777 mkdir -p .deps
48778 if test "x${GCC_PCH}" = "x1" ; then
48779 # can do this because gcc is >= 3.4:
48780 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48781 elif test "x${ICC_PCH}" = "x1" ; then
48782 filename=pch_gen-${D}${D}
48783 file=${D}{filename}.c
48784 dfile=${D}{filename}.d
48785 cat > ${D}file <<EOT
48786 #include "${D}header"
48787 EOT
48788 # using -MF icc complains about differing command lines in creation/use
48789 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48790 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48791 rm -f ${D}file ${D}dfile ${D}{filename}.o
48792 fi
48793 exit ${D}{?}
48794 fi
48795 EOF
48796
48797 chmod +x bk-make-pch
48798 BK_MAKE_PCH="`pwd`/bk-make-pch"
48799 fi
48800 fi
48801 fi
48802
48803
48804
48805
48806
48807 COND_BUILD_DEBUG="#"
48808 if test "x$BUILD" = "xdebug" ; then
48809 COND_BUILD_DEBUG=""
48810 fi
48811
48812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48813 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48815 fi
48816
48817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48818 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48820 fi
48821
48822 COND_BUILD_DEBUG_UNICODE_0="#"
48823 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48824 COND_BUILD_DEBUG_UNICODE_0=""
48825 fi
48826
48827 COND_BUILD_DEBUG_UNICODE_1="#"
48828 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48829 COND_BUILD_DEBUG_UNICODE_1=""
48830 fi
48831
48832 COND_BUILD_RELEASE="#"
48833 if test "x$BUILD" = "xrelease" ; then
48834 COND_BUILD_RELEASE=""
48835 fi
48836
48837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48838 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48840 fi
48841
48842 COND_BUILD_RELEASE_UNICODE_0="#"
48843 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48844 COND_BUILD_RELEASE_UNICODE_0=""
48845 fi
48846
48847 COND_BUILD_RELEASE_UNICODE_1="#"
48848 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48849 COND_BUILD_RELEASE_UNICODE_1=""
48850 fi
48851
48852 COND_DEBUG_FLAG_1="#"
48853 if test "x$DEBUG_FLAG" = "x1" ; then
48854 COND_DEBUG_FLAG_1=""
48855 fi
48856
48857 COND_DEBUG_INFO_0="#"
48858 if test "x$DEBUG_INFO" = "x0" ; then
48859 COND_DEBUG_INFO_0=""
48860 fi
48861
48862 COND_DEBUG_INFO_1="#"
48863 if test "x$DEBUG_INFO" = "x1" ; then
48864 COND_DEBUG_INFO_1=""
48865 fi
48866
48867 COND_DEPS_TRACKING_0="#"
48868 if test "x$DEPS_TRACKING" = "x0" ; then
48869 COND_DEPS_TRACKING_0=""
48870 fi
48871
48872 COND_DEPS_TRACKING_1="#"
48873 if test "x$DEPS_TRACKING" = "x1" ; then
48874 COND_DEPS_TRACKING_1=""
48875 fi
48876
48877 COND_GCC_PCH_1="#"
48878 if test "x$GCC_PCH" = "x1" ; then
48879 COND_GCC_PCH_1=""
48880 fi
48881
48882 COND_ICC_PCH_1="#"
48883 if test "x$ICC_PCH" = "x1" ; then
48884 COND_ICC_PCH_1=""
48885 fi
48886
48887 COND_MONOLITHIC_0="#"
48888 if test "x$MONOLITHIC" = "x0" ; then
48889 COND_MONOLITHIC_0=""
48890 fi
48891
48892 COND_MONOLITHIC_0_SHARED_0="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48894 COND_MONOLITHIC_0_SHARED_0=""
48895 fi
48896
48897 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48900 fi
48901
48902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48905 fi
48906
48907 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48910 fi
48911
48912 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48915 fi
48916
48917 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48920 fi
48921
48922 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48924 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48925 fi
48926
48927 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48929 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48930 fi
48931
48932 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48934 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48935 fi
48936
48937 COND_MONOLITHIC_0_SHARED_1="#"
48938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48939 COND_MONOLITHIC_0_SHARED_1=""
48940 fi
48941
48942 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48945 fi
48946
48947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48950 fi
48951
48952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48955 fi
48956
48957 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48960 fi
48961
48962 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48965 fi
48966
48967 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48970 fi
48971
48972 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48975 fi
48976
48977 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48980 fi
48981
48982 COND_MONOLITHIC_0_USE_AUI_1="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48984 COND_MONOLITHIC_0_USE_AUI_1=""
48985 fi
48986
48987 COND_MONOLITHIC_0_USE_GUI_1="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48989 COND_MONOLITHIC_0_USE_GUI_1=""
48990 fi
48991
48992 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48995 fi
48996
48997 COND_MONOLITHIC_0_USE_HTML_1="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48999 COND_MONOLITHIC_0_USE_HTML_1=""
49000 fi
49001
49002 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49004 COND_MONOLITHIC_0_USE_MEDIA_1=""
49005 fi
49006
49007 COND_MONOLITHIC_0_USE_QA_1="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49009 COND_MONOLITHIC_0_USE_QA_1=""
49010 fi
49011
49012 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49014 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49015 fi
49016
49017 COND_MONOLITHIC_0_USE_STC_1="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49019 COND_MONOLITHIC_0_USE_STC_1=""
49020 fi
49021
49022 COND_MONOLITHIC_0_USE_XRC_1="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49024 COND_MONOLITHIC_0_USE_XRC_1=""
49025 fi
49026
49027 COND_MONOLITHIC_1="#"
49028 if test "x$MONOLITHIC" = "x1" ; then
49029 COND_MONOLITHIC_1=""
49030 fi
49031
49032 COND_MONOLITHIC_1_SHARED_0="#"
49033 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49034 COND_MONOLITHIC_1_SHARED_0=""
49035 fi
49036
49037 COND_MONOLITHIC_1_SHARED_1="#"
49038 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49039 COND_MONOLITHIC_1_SHARED_1=""
49040 fi
49041
49042 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49043 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49045 fi
49046
49047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49048 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49050 fi
49051
49052 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49053 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49054 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49055 fi
49056
49057 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49058 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49059 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49060 fi
49061
49062 COND_PLATFORM_MACOSX_1="#"
49063 if test "x$PLATFORM_MACOSX" = "x1" ; then
49064 COND_PLATFORM_MACOSX_1=""
49065 fi
49066
49067 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49070 fi
49071
49072 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49075 fi
49076
49077 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49080 fi
49081
49082 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49085 fi
49086
49087 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49090 fi
49091
49092 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49093 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49095 fi
49096
49097 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49098 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49099 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49100 fi
49101
49102 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49103 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49104 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49105 fi
49106
49107 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49108 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49110 fi
49111
49112 COND_PLATFORM_MACOS_1="#"
49113 if test "x$PLATFORM_MACOS" = "x1" ; then
49114 COND_PLATFORM_MACOS_1=""
49115 fi
49116
49117 COND_PLATFORM_MAC_1="#"
49118 if test "x$PLATFORM_MAC" = "x1" ; then
49119 COND_PLATFORM_MAC_1=""
49120 fi
49121
49122 COND_PLATFORM_MSDOS_1="#"
49123 if test "x$PLATFORM_MSDOS" = "x1" ; then
49124 COND_PLATFORM_MSDOS_1=""
49125 fi
49126
49127 COND_PLATFORM_OS2_1="#"
49128 if test "x$PLATFORM_OS2" = "x1" ; then
49129 COND_PLATFORM_OS2_1=""
49130 fi
49131
49132 COND_PLATFORM_UNIX_0="#"
49133 if test "x$PLATFORM_UNIX" = "x0" ; then
49134 COND_PLATFORM_UNIX_0=""
49135 fi
49136
49137 COND_PLATFORM_UNIX_1="#"
49138 if test "x$PLATFORM_UNIX" = "x1" ; then
49139 COND_PLATFORM_UNIX_1=""
49140 fi
49141
49142 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49143 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49145 fi
49146
49147 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49148 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49150 fi
49151
49152 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49153 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49154 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49155 fi
49156
49157 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49158 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49159 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49160 fi
49161
49162 COND_PLATFORM_WIN32_0="#"
49163 if test "x$PLATFORM_WIN32" = "x0" ; then
49164 COND_PLATFORM_WIN32_0=""
49165 fi
49166
49167 COND_PLATFORM_WIN32_1="#"
49168 if test "x$PLATFORM_WIN32" = "x1" ; then
49169 COND_PLATFORM_WIN32_1=""
49170 fi
49171
49172 COND_SHARED_0="#"
49173 if test "x$SHARED" = "x0" ; then
49174 COND_SHARED_0=""
49175 fi
49176
49177 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49179 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49180 fi
49181
49182 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49183 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49184 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49185 fi
49186
49187 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49188 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49189 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49190 fi
49191
49192 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49194 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49195 fi
49196
49197 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49199 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49200 fi
49201
49202 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49203 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49205 fi
49206
49207 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49208 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49210 fi
49211
49212 COND_SHARED_0_USE_STC_1="#"
49213 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49214 COND_SHARED_0_USE_STC_1=""
49215 fi
49216
49217 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49218 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49219 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49220 fi
49221
49222 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49223 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49224 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49225 fi
49226
49227 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49228 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49229 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49230 fi
49231
49232 COND_SHARED_1="#"
49233 if test "x$SHARED" = "x1" ; then
49234 COND_SHARED_1=""
49235 fi
49236
49237 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49238 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49239 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49240 fi
49241
49242 COND_TOOLKIT_="#"
49243 if test "x$TOOLKIT" = "x" ; then
49244 COND_TOOLKIT_=""
49245 fi
49246
49247 COND_TOOLKIT_COCOA="#"
49248 if test "x$TOOLKIT" = "xCOCOA" ; then
49249 COND_TOOLKIT_COCOA=""
49250 fi
49251
49252 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49253 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49254 COND_TOOLKIT_COCOA_USE_GUI_1=""
49255 fi
49256
49257 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49258 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49259 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49260 fi
49261
49262 COND_TOOLKIT_DFB="#"
49263 if test "x$TOOLKIT" = "xDFB" ; then
49264 COND_TOOLKIT_DFB=""
49265 fi
49266
49267 COND_TOOLKIT_DFB_USE_GUI_1="#"
49268 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49269 COND_TOOLKIT_DFB_USE_GUI_1=""
49270 fi
49271
49272 COND_TOOLKIT_GTK="#"
49273 if test "x$TOOLKIT" = "xGTK" ; then
49274 COND_TOOLKIT_GTK=""
49275 fi
49276
49277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49280 fi
49281
49282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49285 fi
49286
49287 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49290 fi
49291
49292 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49295 fi
49296
49297 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49298 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49300 fi
49301
49302 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49303 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49305 fi
49306
49307 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49308 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49310 fi
49311
49312 COND_TOOLKIT_GTK_USE_GUI_1="#"
49313 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49314 COND_TOOLKIT_GTK_USE_GUI_1=""
49315 fi
49316
49317 COND_TOOLKIT_MAC="#"
49318 if test "x$TOOLKIT" = "xMAC" ; then
49319 COND_TOOLKIT_MAC=""
49320 fi
49321
49322 COND_TOOLKIT_MAC_USE_GUI_1="#"
49323 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_MAC_USE_GUI_1=""
49325 fi
49326
49327 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49328 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49329 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49330 fi
49331
49332 COND_TOOLKIT_MGL="#"
49333 if test "x$TOOLKIT" = "xMGL" ; then
49334 COND_TOOLKIT_MGL=""
49335 fi
49336
49337 COND_TOOLKIT_MGL_USE_GUI_1="#"
49338 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49339 COND_TOOLKIT_MGL_USE_GUI_1=""
49340 fi
49341
49342 COND_TOOLKIT_MOTIF="#"
49343 if test "x$TOOLKIT" = "xMOTIF" ; then
49344 COND_TOOLKIT_MOTIF=""
49345 fi
49346
49347 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49348 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49349 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49350 fi
49351
49352 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49353 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49354 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49355 fi
49356
49357 COND_TOOLKIT_MSW="#"
49358 if test "x$TOOLKIT" = "xMSW" ; then
49359 COND_TOOLKIT_MSW=""
49360 fi
49361
49362 COND_TOOLKIT_MSW_USE_GUI_1="#"
49363 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49364 COND_TOOLKIT_MSW_USE_GUI_1=""
49365 fi
49366
49367 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49368 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49369 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49370 fi
49371
49372 COND_TOOLKIT_MSW_WXUNIV_0="#"
49373 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49374 COND_TOOLKIT_MSW_WXUNIV_0=""
49375 fi
49376
49377 COND_TOOLKIT_PM="#"
49378 if test "x$TOOLKIT" = "xPM" ; then
49379 COND_TOOLKIT_PM=""
49380 fi
49381
49382 COND_TOOLKIT_PM_USE_GUI_1="#"
49383 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49384 COND_TOOLKIT_PM_USE_GUI_1=""
49385 fi
49386
49387 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49388 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49389 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49390 fi
49391
49392 COND_TOOLKIT_WINCE="#"
49393 if test "x$TOOLKIT" = "xWINCE" ; then
49394 COND_TOOLKIT_WINCE=""
49395 fi
49396
49397 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49398 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49399 COND_TOOLKIT_WINCE_USE_GUI_1=""
49400 fi
49401
49402 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49403 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49404 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49405 fi
49406
49407 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49408 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49409 COND_TOOLKIT_WINCE_WXUNIV_0=""
49410 fi
49411
49412 COND_TOOLKIT_X11="#"
49413 if test "x$TOOLKIT" = "xX11" ; then
49414 COND_TOOLKIT_X11=""
49415 fi
49416
49417 COND_TOOLKIT_X11_USE_GUI_1="#"
49418 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_X11_USE_GUI_1=""
49420 fi
49421
49422 COND_UNICODE_1="#"
49423 if test "x$UNICODE" = "x1" ; then
49424 COND_UNICODE_1=""
49425 fi
49426
49427 COND_USE_EXCEPTIONS_0="#"
49428 if test "x$USE_EXCEPTIONS" = "x0" ; then
49429 COND_USE_EXCEPTIONS_0=""
49430 fi
49431
49432 COND_USE_EXCEPTIONS_1="#"
49433 if test "x$USE_EXCEPTIONS" = "x1" ; then
49434 COND_USE_EXCEPTIONS_1=""
49435 fi
49436
49437 COND_USE_GUI_0="#"
49438 if test "x$USE_GUI" = "x0" ; then
49439 COND_USE_GUI_0=""
49440 fi
49441
49442 COND_USE_GUI_1="#"
49443 if test "x$USE_GUI" = "x1" ; then
49444 COND_USE_GUI_1=""
49445 fi
49446
49447 COND_USE_GUI_1_USE_OPENGL_1="#"
49448 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49449 COND_USE_GUI_1_USE_OPENGL_1=""
49450 fi
49451
49452 COND_USE_GUI_1_WXUNIV_0="#"
49453 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49454 COND_USE_GUI_1_WXUNIV_0=""
49455 fi
49456
49457 COND_USE_GUI_1_WXUNIV_1="#"
49458 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49459 COND_USE_GUI_1_WXUNIV_1=""
49460 fi
49461
49462 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49464 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49465 fi
49466
49467 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49469 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49470 fi
49471
49472 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49474 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49475 fi
49476
49477 COND_USE_PCH_1="#"
49478 if test "x$USE_PCH" = "x1" ; then
49479 COND_USE_PCH_1=""
49480 fi
49481
49482 COND_USE_PLUGINS_0="#"
49483 if test "x$USE_PLUGINS" = "x0" ; then
49484 COND_USE_PLUGINS_0=""
49485 fi
49486
49487 COND_USE_RTTI_0="#"
49488 if test "x$USE_RTTI" = "x0" ; then
49489 COND_USE_RTTI_0=""
49490 fi
49491
49492 COND_USE_RTTI_1="#"
49493 if test "x$USE_RTTI" = "x1" ; then
49494 COND_USE_RTTI_1=""
49495 fi
49496
49497 COND_USE_SOSYMLINKS_1="#"
49498 if test "x$USE_SOSYMLINKS" = "x1" ; then
49499 COND_USE_SOSYMLINKS_1=""
49500 fi
49501
49502 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49503 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49504 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49505 fi
49506
49507 COND_USE_SOVERLINUX_1="#"
49508 if test "x$USE_SOVERLINUX" = "x1" ; then
49509 COND_USE_SOVERLINUX_1=""
49510 fi
49511
49512 COND_USE_SOVERSION_0="#"
49513 if test "x$USE_SOVERSION" = "x0" ; then
49514 COND_USE_SOVERSION_0=""
49515 fi
49516
49517 COND_USE_SOVERSOLARIS_1="#"
49518 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49519 COND_USE_SOVERSOLARIS_1=""
49520 fi
49521
49522 COND_USE_STC_1="#"
49523 if test "x$USE_STC" = "x1" ; then
49524 COND_USE_STC_1=""
49525 fi
49526
49527 COND_USE_THREADS_0="#"
49528 if test "x$USE_THREADS" = "x0" ; then
49529 COND_USE_THREADS_0=""
49530 fi
49531
49532 COND_USE_THREADS_1="#"
49533 if test "x$USE_THREADS" = "x1" ; then
49534 COND_USE_THREADS_1=""
49535 fi
49536
49537 COND_USE_XRC_1="#"
49538 if test "x$USE_XRC" = "x1" ; then
49539 COND_USE_XRC_1=""
49540 fi
49541
49542 COND_WINDOWS_IMPLIB_1="#"
49543 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49544 COND_WINDOWS_IMPLIB_1=""
49545 fi
49546
49547 COND_WITH_PLUGIN_SDL_1="#"
49548 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49549 COND_WITH_PLUGIN_SDL_1=""
49550 fi
49551
49552 COND_WXUNIV_0="#"
49553 if test "x$WXUNIV" = "x0" ; then
49554 COND_WXUNIV_0=""
49555 fi
49556
49557 COND_WXUNIV_1="#"
49558 if test "x$WXUNIV" = "x1" ; then
49559 COND_WXUNIV_1=""
49560 fi
49561
49562 COND_WXUSE_EXPAT_BUILTIN="#"
49563 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49564 COND_WXUSE_EXPAT_BUILTIN=""
49565 fi
49566
49567 COND_WXUSE_LIBJPEG_BUILTIN="#"
49568 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49569 COND_WXUSE_LIBJPEG_BUILTIN=""
49570 fi
49571
49572 COND_WXUSE_LIBPNG_BUILTIN="#"
49573 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49574 COND_WXUSE_LIBPNG_BUILTIN=""
49575 fi
49576
49577 COND_WXUSE_LIBTIFF_BUILTIN="#"
49578 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49579 COND_WXUSE_LIBTIFF_BUILTIN=""
49580 fi
49581
49582 COND_WXUSE_REGEX_BUILTIN="#"
49583 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49584 COND_WXUSE_REGEX_BUILTIN=""
49585 fi
49586
49587 COND_WXUSE_ZLIB_BUILTIN="#"
49588 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49589 COND_WXUSE_ZLIB_BUILTIN=""
49590 fi
49591
49592
49593
49594 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49595 { { 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
49596 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;}
49597 { (exit 1); exit 1; }; }
49598 fi
49599
49600 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49601 { { 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
49602 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;}
49603 { (exit 1); exit 1; }; }
49604 fi
49605
49606
49607 case ${INSTALL} in
49608 /* ) # Absolute
49609 ;;
49610 ?:* ) # Drive letter, considered as absolute.
49611 ;;
49612 *)
49613 INSTALL=`pwd`/${INSTALL} ;;
49614 esac
49615
49616 if test "$wxUSE_GUI" = "yes"; then
49617
49618 if test "$wxUSE_MSW" = 1 ; then
49619 if test "x$WINDRES" = "x"; then
49620 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49621 echo "$as_me: error: Required windres program not found" >&2;}
49622 { (exit 1); exit 1; }; }
49623 fi
49624
49625 RESCOMP="$WINDRES"
49626 fi
49627
49628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49629 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49630 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49631
49632 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49633
49634 # Extract the first word of "DeRez", so it can be a program name with args.
49635 set dummy DeRez; ac_word=$2
49636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49638 if test "${ac_cv_prog_DEREZ+set}" = set; then
49639 echo $ECHO_N "(cached) $ECHO_C" >&6
49640 else
49641 if test -n "$DEREZ"; then
49642 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49643 else
49644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49645 for as_dir in $PATH
49646 do
49647 IFS=$as_save_IFS
49648 test -z "$as_dir" && as_dir=.
49649 for ac_exec_ext in '' $ac_executable_extensions; do
49650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49651 ac_cv_prog_DEREZ="DeRez"
49652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49653 break 2
49654 fi
49655 done
49656 done
49657 IFS=$as_save_IFS
49658
49659 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49660 fi
49661 fi
49662 DEREZ=$ac_cv_prog_DEREZ
49663 if test -n "$DEREZ"; then
49664 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49665 echo "${ECHO_T}$DEREZ" >&6; }
49666 else
49667 { echo "$as_me:$LINENO: result: no" >&5
49668 echo "${ECHO_T}no" >&6; }
49669 fi
49670
49671
49672
49673 MACSETFILE="\$(SETFILE)"
49674
49675 if test "$wxUSE_MAC" = 1; then
49676 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49677 RESCOMP="$REZ"
49678 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49679 else
49680 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49681 RESCOMP="cat /dev/null \| $REZ"
49682 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49683 fi
49684
49685 else
49686 MACSETFILE="@true"
49687
49688 if test "$wxUSE_PM" = 1; then
49689 RESCOMP="emxbind"
49690 WXCONFIG_RESFLAGS="-ep"
49691
49692 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49693 else
49694 POSTLINK_COMMAND="@true"
49695 fi
49696 fi
49697
49698 fi
49699
49700
49701 if test $GCC_PCH = 1
49702 then
49703 if test "$wx_cv_gcc_pch_bug" = yes; then
49704 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49705 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49706 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49707 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49708 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49709 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49710 fi
49711
49712 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49713 fi
49714
49715
49716 if test "$wxUSE_MAC" = 1 ; then
49717 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49718 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49719 mv temp bk-deps
49720 chmod +x bk-deps
49721 fi
49722 fi
49723
49724 if test "$wxUSE_SHARED" = "yes"; then
49725 case "${host}" in
49726 *-pc-os2_emx | *-pc-os2-emx )
49727 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49728 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49729 cp -p ${srcdir}/src/os2/dllnames.sh .
49730 cp -p ${srcdir}/src/os2/dllar.sh .
49731 ;;
49732 esac
49733 fi
49734 if test "$wxUSE_OMF" = "yes"; then
49735 case "${host}" in
49736 *-pc-os2_emx | *-pc-os2-emx )
49737 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49738 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49739 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49740 ;;
49741 esac
49742 fi
49743
49744 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49745
49746
49747 case "${host}" in
49748 *-*-solaris2* )
49749 if test "$GCC" = yes; then
49750 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49751 LIBS=`echo $LIBS | sed 's/-mt//'`
49752 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49753 fi
49754 ;;
49755
49756 *-*-linux* )
49757 if test "x$SUNCXX" = xyes; then
49758 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49759 LIBS=`echo $LIBS | sed 's/-pthread//'`
49760 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49761 fi
49762 ;;
49763 esac
49764
49765 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49766 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49767
49768 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49769
49770
49771
49772
49773
49774
49775
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49830 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49831 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49832 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49833 echo $ECHO_N "(cached) $ECHO_C" >&6
49834 else
49835 cat >conftest.make <<\_ACEOF
49836 SHELL = /bin/sh
49837 all:
49838 @echo '@@@%%%=$(MAKE)=@@@%%%'
49839 _ACEOF
49840 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49841 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49842 *@@@%%%=?*=@@@%%%*)
49843 eval ac_cv_prog_make_${ac_make}_set=yes;;
49844 *)
49845 eval ac_cv_prog_make_${ac_make}_set=no;;
49846 esac
49847 rm -f conftest.make
49848 fi
49849 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49850 { echo "$as_me:$LINENO: result: yes" >&5
49851 echo "${ECHO_T}yes" >&6; }
49852 SET_MAKE=
49853 else
49854 { echo "$as_me:$LINENO: result: no" >&5
49855 echo "${ECHO_T}no" >&6; }
49856 SET_MAKE="MAKE=${MAKE-make}"
49857 fi
49858
49859
49860
49861 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49862
49863
49864 if test "$USE_WIN32" = 1; then
49865 ac_config_commands="$ac_config_commands
49866 rcdefs.h
49867 "
49868
49869 fi
49870
49871 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49872
49873
49874 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49875
49876
49877 if test "$wx_cv_version_script" = "yes"; then
49878 ac_config_files="$ac_config_files version-script"
49879
49880 fi
49881 ac_config_files="$ac_config_files Makefile"
49882
49883
49884 ac_config_commands="$ac_config_commands wx-config"
49885
49886
49887
49888 if test "$wxWITH_SUBDIRS" != "no"; then
49889 if test "$wxUSE_GUI" = "yes"; then
49890 SUBDIRS="samples demos utils"
49891 else
49892 SUBDIRS="samples utils"
49893 fi
49894
49895
49896
49897 # Check whether --with-cppunit-prefix was given.
49898 if test "${with_cppunit_prefix+set}" = set; then
49899 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49900 else
49901 cppunit_config_prefix=""
49902 fi
49903
49904
49905 # Check whether --with-cppunit-exec-prefix was given.
49906 if test "${with_cppunit_exec_prefix+set}" = set; then
49907 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49908 else
49909 cppunit_config_exec_prefix=""
49910 fi
49911
49912
49913 if test x$cppunit_config_exec_prefix != x ; then
49914 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49915 if test x${CPPUNIT_CONFIG+set} != xset ; then
49916 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49917 fi
49918 fi
49919 if test x$cppunit_config_prefix != x ; then
49920 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49921 if test x${CPPUNIT_CONFIG+set} != xset ; then
49922 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49923 fi
49924 fi
49925
49926 # Extract the first word of "cppunit-config", so it can be a program name with args.
49927 set dummy cppunit-config; ac_word=$2
49928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49930 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49931 echo $ECHO_N "(cached) $ECHO_C" >&6
49932 else
49933 case $CPPUNIT_CONFIG in
49934 [\\/]* | ?:[\\/]*)
49935 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49936 ;;
49937 *)
49938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49939 for as_dir in $PATH
49940 do
49941 IFS=$as_save_IFS
49942 test -z "$as_dir" && as_dir=.
49943 for ac_exec_ext in '' $ac_executable_extensions; do
49944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49945 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49947 break 2
49948 fi
49949 done
49950 done
49951 IFS=$as_save_IFS
49952
49953 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49954 ;;
49955 esac
49956 fi
49957 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49958 if test -n "$CPPUNIT_CONFIG"; then
49959 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49960 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49961 else
49962 { echo "$as_me:$LINENO: result: no" >&5
49963 echo "${ECHO_T}no" >&6; }
49964 fi
49965
49966
49967 cppunit_version_min=1.8.0
49968
49969 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49970 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49971 no_cppunit=""
49972 if test "$CPPUNIT_CONFIG" = "no" ; then
49973 { echo "$as_me:$LINENO: result: no" >&5
49974 echo "${ECHO_T}no" >&6; }
49975 no_cppunit=yes
49976 else
49977 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49978 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49979 cppunit_version=`$CPPUNIT_CONFIG --version`
49980
49981 cppunit_major_version=`echo $cppunit_version | \
49982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49983 cppunit_minor_version=`echo $cppunit_version | \
49984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49985 cppunit_micro_version=`echo $cppunit_version | \
49986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49987
49988 cppunit_major_min=`echo $cppunit_version_min | \
49989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49990 cppunit_minor_min=`echo $cppunit_version_min | \
49991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49992 cppunit_micro_min=`echo $cppunit_version_min | \
49993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49994
49995 cppunit_version_proper=`expr \
49996 $cppunit_major_version \> $cppunit_major_min \| \
49997 $cppunit_major_version \= $cppunit_major_min \& \
49998 $cppunit_minor_version \> $cppunit_minor_min \| \
49999 $cppunit_major_version \= $cppunit_major_min \& \
50000 $cppunit_minor_version \= $cppunit_minor_min \& \
50001 $cppunit_micro_version \>= $cppunit_micro_min `
50002
50003 if test "$cppunit_version_proper" = "1" ; then
50004 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50005 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50006 else
50007 { echo "$as_me:$LINENO: result: no" >&5
50008 echo "${ECHO_T}no" >&6; }
50009 no_cppunit=yes
50010 fi
50011 fi
50012
50013 if test "x$no_cppunit" = x ; then
50014 SUBDIRS="$SUBDIRS tests"
50015 else
50016 CPPUNIT_CFLAGS=""
50017 CPPUNIT_LIBS=""
50018 :
50019 fi
50020
50021
50022
50023
50024
50025 for subdir in $SUBDIRS; do
50026 if test -d ${srcdir}/${subdir} ; then
50027 if test "$wxUSE_GUI" = "yes"; then
50028 if test ${subdir} = "samples"; then
50029 makefiles="samples/Makefile.in $makefiles"
50030 for sample in $SAMPLES_SUBDIRS; do
50031 if test -d $srcdir/samples/$sample; then
50032 makefiles="samples/$sample/Makefile.in $makefiles"
50033 fi
50034 done
50035 else
50036 disabled_var=DISABLED_`echo $subdir | tr a-z A-Z`
50037 eval "disabled=\$$disabled_var"
50038 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50039 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50040 fi
50041 else
50042 if test ${subdir} = "samples"; then
50043 makefiles="samples/Makefile.in samples/console/Makefile.in"
50044 elif test ${subdir} = "utils"; then
50045 makefiles=""
50046 for util in HelpGen tex2rtf ; do
50047 if test -d $srcdir/utils/$util ; then
50048 makefiles="utils/$util/Makefile.in \
50049 utils/$util/src/Makefile.in \
50050 $makefiles"
50051 fi
50052 done
50053 else
50054 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50055 fi
50056 fi
50057
50058 for mkin in $makefiles ; do
50059 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50060 ac_config_files="$ac_config_files $mk"
50061
50062 done
50063 fi
50064 done
50065 fi
50066 cat >confcache <<\_ACEOF
50067 # This file is a shell script that caches the results of configure
50068 # tests run on this system so they can be shared between configure
50069 # scripts and configure runs, see configure's option --config-cache.
50070 # It is not useful on other systems. If it contains results you don't
50071 # want to keep, you may remove or edit it.
50072 #
50073 # config.status only pays attention to the cache file if you give it
50074 # the --recheck option to rerun configure.
50075 #
50076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50078 # following values.
50079
50080 _ACEOF
50081
50082 # The following way of writing the cache mishandles newlines in values,
50083 # but we know of no workaround that is simple, portable, and efficient.
50084 # So, we kill variables containing newlines.
50085 # Ultrix sh set writes to stderr and can't be redirected directly,
50086 # and sets the high bit in the cache file unless we assign to the vars.
50087 (
50088 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50089 eval ac_val=\$$ac_var
50090 case $ac_val in #(
50091 *${as_nl}*)
50092 case $ac_var in #(
50093 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50094 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50095 esac
50096 case $ac_var in #(
50097 _ | IFS | as_nl) ;; #(
50098 *) $as_unset $ac_var ;;
50099 esac ;;
50100 esac
50101 done
50102
50103 (set) 2>&1 |
50104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50105 *${as_nl}ac_space=\ *)
50106 # `set' does not quote correctly, so add quotes (double-quote
50107 # substitution turns \\\\ into \\, and sed turns \\ into \).
50108 sed -n \
50109 "s/'/'\\\\''/g;
50110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50111 ;; #(
50112 *)
50113 # `set' quotes correctly as required by POSIX, so do not add quotes.
50114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50115 ;;
50116 esac |
50117 sort
50118 ) |
50119 sed '
50120 /^ac_cv_env_/b end
50121 t clear
50122 :clear
50123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50124 t end
50125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50126 :end' >>confcache
50127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50128 if test -w "$cache_file"; then
50129 test "x$cache_file" != "x/dev/null" &&
50130 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50131 echo "$as_me: updating cache $cache_file" >&6;}
50132 cat confcache >$cache_file
50133 else
50134 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50135 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50136 fi
50137 fi
50138 rm -f confcache
50139
50140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50141 # Let make expand exec_prefix.
50142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50143
50144 DEFS=-DHAVE_CONFIG_H
50145
50146 ac_libobjs=
50147 ac_ltlibobjs=
50148 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50149 # 1. Remove the extension, and $U if already installed.
50150 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50151 ac_i=`echo "$ac_i" | sed "$ac_script"`
50152 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50153 # will be set to the directory where LIBOBJS objects are built.
50154 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50155 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50156 done
50157 LIBOBJS=$ac_libobjs
50158
50159 LTLIBOBJS=$ac_ltlibobjs
50160
50161
50162
50163 : ${CONFIG_STATUS=./config.status}
50164 ac_clean_files_save=$ac_clean_files
50165 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50167 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50168 cat >$CONFIG_STATUS <<_ACEOF
50169 #! $SHELL
50170 # Generated by $as_me.
50171 # Run this file to recreate the current configuration.
50172 # Compiler output produced by configure, useful for debugging
50173 # configure, is in config.log if it exists.
50174
50175 debug=false
50176 ac_cs_recheck=false
50177 ac_cs_silent=false
50178 SHELL=\${CONFIG_SHELL-$SHELL}
50179 _ACEOF
50180
50181 cat >>$CONFIG_STATUS <<\_ACEOF
50182 ## --------------------- ##
50183 ## M4sh Initialization. ##
50184 ## --------------------- ##
50185
50186 # Be more Bourne compatible
50187 DUALCASE=1; export DUALCASE # for MKS sh
50188 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50189 emulate sh
50190 NULLCMD=:
50191 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50192 # is contrary to our usage. Disable this feature.
50193 alias -g '${1+"$@"}'='"$@"'
50194 setopt NO_GLOB_SUBST
50195 else
50196 case `(set -o) 2>/dev/null` in
50197 *posix*) set -o posix ;;
50198 esac
50199
50200 fi
50201
50202
50203
50204
50205 # PATH needs CR
50206 # Avoid depending upon Character Ranges.
50207 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50208 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50209 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50210 as_cr_digits='0123456789'
50211 as_cr_alnum=$as_cr_Letters$as_cr_digits
50212
50213 # The user is always right.
50214 if test "${PATH_SEPARATOR+set}" != set; then
50215 echo "#! /bin/sh" >conf$$.sh
50216 echo "exit 0" >>conf$$.sh
50217 chmod +x conf$$.sh
50218 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50219 PATH_SEPARATOR=';'
50220 else
50221 PATH_SEPARATOR=:
50222 fi
50223 rm -f conf$$.sh
50224 fi
50225
50226 # Support unset when possible.
50227 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50228 as_unset=unset
50229 else
50230 as_unset=false
50231 fi
50232
50233
50234 # IFS
50235 # We need space, tab and new line, in precisely that order. Quoting is
50236 # there to prevent editors from complaining about space-tab.
50237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50238 # splitting by setting IFS to empty value.)
50239 as_nl='
50240 '
50241 IFS=" "" $as_nl"
50242
50243 # Find who we are. Look in the path if we contain no directory separator.
50244 case $0 in
50245 *[\\/]* ) as_myself=$0 ;;
50246 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50247 for as_dir in $PATH
50248 do
50249 IFS=$as_save_IFS
50250 test -z "$as_dir" && as_dir=.
50251 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50252 done
50253 IFS=$as_save_IFS
50254
50255 ;;
50256 esac
50257 # We did not find ourselves, most probably we were run as `sh COMMAND'
50258 # in which case we are not to be found in the path.
50259 if test "x$as_myself" = x; then
50260 as_myself=$0
50261 fi
50262 if test ! -f "$as_myself"; then
50263 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50264 { (exit 1); exit 1; }
50265 fi
50266
50267 # Work around bugs in pre-3.0 UWIN ksh.
50268 for as_var in ENV MAIL MAILPATH
50269 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50270 done
50271 PS1='$ '
50272 PS2='> '
50273 PS4='+ '
50274
50275 # NLS nuisances.
50276 for as_var in \
50277 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50278 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50279 LC_TELEPHONE LC_TIME
50280 do
50281 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50282 eval $as_var=C; export $as_var
50283 else
50284 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50285 fi
50286 done
50287
50288 # Required to use basename.
50289 if expr a : '\(a\)' >/dev/null 2>&1 &&
50290 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50291 as_expr=expr
50292 else
50293 as_expr=false
50294 fi
50295
50296 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50297 as_basename=basename
50298 else
50299 as_basename=false
50300 fi
50301
50302
50303 # Name of the executable.
50304 as_me=`$as_basename -- "$0" ||
50305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50306 X"$0" : 'X\(//\)$' \| \
50307 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50308 echo X/"$0" |
50309 sed '/^.*\/\([^/][^/]*\)\/*$/{
50310 s//\1/
50311 q
50312 }
50313 /^X\/\(\/\/\)$/{
50314 s//\1/
50315 q
50316 }
50317 /^X\/\(\/\).*/{
50318 s//\1/
50319 q
50320 }
50321 s/.*/./; q'`
50322
50323 # CDPATH.
50324 $as_unset CDPATH
50325
50326
50327
50328 as_lineno_1=$LINENO
50329 as_lineno_2=$LINENO
50330 test "x$as_lineno_1" != "x$as_lineno_2" &&
50331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50332
50333 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50334 # uniformly replaced by the line number. The first 'sed' inserts a
50335 # line-number line after each line using $LINENO; the second 'sed'
50336 # does the real work. The second script uses 'N' to pair each
50337 # line-number line with the line containing $LINENO, and appends
50338 # trailing '-' during substitution so that $LINENO is not a special
50339 # case at line end.
50340 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50341 # scripts with optimization help from Paolo Bonzini. Blame Lee
50342 # E. McMahon (1931-1989) for sed's syntax. :-)
50343 sed -n '
50344 p
50345 /[$]LINENO/=
50346 ' <$as_myself |
50347 sed '
50348 s/[$]LINENO.*/&-/
50349 t lineno
50350 b
50351 :lineno
50352 N
50353 :loop
50354 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50355 t loop
50356 s/-\n.*//
50357 ' >$as_me.lineno &&
50358 chmod +x "$as_me.lineno" ||
50359 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50360 { (exit 1); exit 1; }; }
50361
50362 # Don't try to exec as it changes $[0], causing all sort of problems
50363 # (the dirname of $[0] is not the place where we might find the
50364 # original and so on. Autoconf is especially sensitive to this).
50365 . "./$as_me.lineno"
50366 # Exit status is that of the last command.
50367 exit
50368 }
50369
50370
50371 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50372 as_dirname=dirname
50373 else
50374 as_dirname=false
50375 fi
50376
50377 ECHO_C= ECHO_N= ECHO_T=
50378 case `echo -n x` in
50379 -n*)
50380 case `echo 'x\c'` in
50381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50382 *) ECHO_C='\c';;
50383 esac;;
50384 *)
50385 ECHO_N='-n';;
50386 esac
50387
50388 if expr a : '\(a\)' >/dev/null 2>&1 &&
50389 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50390 as_expr=expr
50391 else
50392 as_expr=false
50393 fi
50394
50395 rm -f conf$$ conf$$.exe conf$$.file
50396 if test -d conf$$.dir; then
50397 rm -f conf$$.dir/conf$$.file
50398 else
50399 rm -f conf$$.dir
50400 mkdir conf$$.dir
50401 fi
50402 echo >conf$$.file
50403 if ln -s conf$$.file conf$$ 2>/dev/null; then
50404 as_ln_s='ln -s'
50405 # ... but there are two gotchas:
50406 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50407 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50408 # In both cases, we have to default to `cp -p'.
50409 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50410 as_ln_s='cp -p'
50411 elif ln conf$$.file conf$$ 2>/dev/null; then
50412 as_ln_s=ln
50413 else
50414 as_ln_s='cp -p'
50415 fi
50416 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50417 rmdir conf$$.dir 2>/dev/null
50418
50419 if mkdir -p . 2>/dev/null; then
50420 as_mkdir_p=:
50421 else
50422 test -d ./-p && rmdir ./-p
50423 as_mkdir_p=false
50424 fi
50425
50426 if test -x / >/dev/null 2>&1; then
50427 as_test_x='test -x'
50428 else
50429 if ls -dL / >/dev/null 2>&1; then
50430 as_ls_L_option=L
50431 else
50432 as_ls_L_option=
50433 fi
50434 as_test_x='
50435 eval sh -c '\''
50436 if test -d "$1"; then
50437 test -d "$1/.";
50438 else
50439 case $1 in
50440 -*)set "./$1";;
50441 esac;
50442 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50443 ???[sx]*):;;*)false;;esac;fi
50444 '\'' sh
50445 '
50446 fi
50447 as_executable_p=$as_test_x
50448
50449 # Sed expression to map a string onto a valid CPP name.
50450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50451
50452 # Sed expression to map a string onto a valid variable name.
50453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50454
50455
50456 exec 6>&1
50457
50458 # Save the log message, to keep $[0] and so on meaningful, and to
50459 # report actual input values of CONFIG_FILES etc. instead of their
50460 # values after options handling.
50461 ac_log="
50462 This file was extended by wxWidgets $as_me 2.9.0, which was
50463 generated by GNU Autoconf 2.61. Invocation command line was
50464
50465 CONFIG_FILES = $CONFIG_FILES
50466 CONFIG_HEADERS = $CONFIG_HEADERS
50467 CONFIG_LINKS = $CONFIG_LINKS
50468 CONFIG_COMMANDS = $CONFIG_COMMANDS
50469 $ $0 $@
50470
50471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50472 "
50473
50474 _ACEOF
50475
50476 cat >>$CONFIG_STATUS <<_ACEOF
50477 # Files that config.status was made for.
50478 config_files="$ac_config_files"
50479 config_headers="$ac_config_headers"
50480 config_commands="$ac_config_commands"
50481
50482 _ACEOF
50483
50484 cat >>$CONFIG_STATUS <<\_ACEOF
50485 ac_cs_usage="\
50486 \`$as_me' instantiates files from templates according to the
50487 current configuration.
50488
50489 Usage: $0 [OPTIONS] [FILE]...
50490
50491 -h, --help print this help, then exit
50492 -V, --version print version number and configuration settings, then exit
50493 -q, --quiet do not print progress messages
50494 -d, --debug don't remove temporary files
50495 --recheck update $as_me by reconfiguring in the same conditions
50496 --file=FILE[:TEMPLATE]
50497 instantiate the configuration file FILE
50498 --header=FILE[:TEMPLATE]
50499 instantiate the configuration header FILE
50500
50501 Configuration files:
50502 $config_files
50503
50504 Configuration headers:
50505 $config_headers
50506
50507 Configuration commands:
50508 $config_commands
50509
50510 Report bugs to <bug-autoconf@gnu.org>."
50511
50512 _ACEOF
50513 cat >>$CONFIG_STATUS <<_ACEOF
50514 ac_cs_version="\\
50515 wxWidgets config.status 2.9.0
50516 configured by $0, generated by GNU Autoconf 2.61,
50517 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50518
50519 Copyright (C) 2006 Free Software Foundation, Inc.
50520 This config.status script is free software; the Free Software Foundation
50521 gives unlimited permission to copy, distribute and modify it."
50522
50523 ac_pwd='$ac_pwd'
50524 srcdir='$srcdir'
50525 INSTALL='$INSTALL'
50526 _ACEOF
50527
50528 cat >>$CONFIG_STATUS <<\_ACEOF
50529 # If no file are specified by the user, then we need to provide default
50530 # value. By we need to know if files were specified by the user.
50531 ac_need_defaults=:
50532 while test $# != 0
50533 do
50534 case $1 in
50535 --*=*)
50536 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50537 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50538 ac_shift=:
50539 ;;
50540 *)
50541 ac_option=$1
50542 ac_optarg=$2
50543 ac_shift=shift
50544 ;;
50545 esac
50546
50547 case $ac_option in
50548 # Handling of the options.
50549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50550 ac_cs_recheck=: ;;
50551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50552 echo "$ac_cs_version"; exit ;;
50553 --debug | --debu | --deb | --de | --d | -d )
50554 debug=: ;;
50555 --file | --fil | --fi | --f )
50556 $ac_shift
50557 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50558 ac_need_defaults=false;;
50559 --header | --heade | --head | --hea )
50560 $ac_shift
50561 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50562 ac_need_defaults=false;;
50563 --he | --h)
50564 # Conflict between --help and --header
50565 { echo "$as_me: error: ambiguous option: $1
50566 Try \`$0 --help' for more information." >&2
50567 { (exit 1); exit 1; }; };;
50568 --help | --hel | -h )
50569 echo "$ac_cs_usage"; exit ;;
50570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50572 ac_cs_silent=: ;;
50573
50574 # This is an error.
50575 -*) { echo "$as_me: error: unrecognized option: $1
50576 Try \`$0 --help' for more information." >&2
50577 { (exit 1); exit 1; }; } ;;
50578
50579 *) ac_config_targets="$ac_config_targets $1"
50580 ac_need_defaults=false ;;
50581
50582 esac
50583 shift
50584 done
50585
50586 ac_configure_extra_args=
50587
50588 if $ac_cs_silent; then
50589 exec 6>/dev/null
50590 ac_configure_extra_args="$ac_configure_extra_args --silent"
50591 fi
50592
50593 _ACEOF
50594 cat >>$CONFIG_STATUS <<_ACEOF
50595 if \$ac_cs_recheck; then
50596 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50597 CONFIG_SHELL=$SHELL
50598 export CONFIG_SHELL
50599 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50600 fi
50601
50602 _ACEOF
50603 cat >>$CONFIG_STATUS <<\_ACEOF
50604 exec 5>>config.log
50605 {
50606 echo
50607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50608 ## Running $as_me. ##
50609 _ASBOX
50610 echo "$ac_log"
50611 } >&5
50612
50613 _ACEOF
50614 cat >>$CONFIG_STATUS <<_ACEOF
50615 #
50616 # INIT-COMMANDS
50617 #
50618
50619 CPP="$CPP"
50620 infile="$srcdir/include/wx/msw/genrcdefs.h"
50621 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50622
50623
50624 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50625 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50626 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50627 LN_S="${LN_S}"
50628
50629
50630 _ACEOF
50631
50632 cat >>$CONFIG_STATUS <<\_ACEOF
50633
50634 # Handling of arguments.
50635 for ac_config_target in $ac_config_targets
50636 do
50637 case $ac_config_target in
50638 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50639 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50640 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50641 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50642 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50644 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50645 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50646
50647 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50648 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50649 { (exit 1); exit 1; }; };;
50650 esac
50651 done
50652
50653
50654 # If the user did not use the arguments to specify the items to instantiate,
50655 # then the envvar interface is used. Set only those that are not.
50656 # We use the long form for the default assignment because of an extremely
50657 # bizarre bug on SunOS 4.1.3.
50658 if $ac_need_defaults; then
50659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50662 fi
50663
50664 # Have a temporary directory for convenience. Make it in the build tree
50665 # simply because there is no reason against having it here, and in addition,
50666 # creating and moving files from /tmp can sometimes cause problems.
50667 # Hook for its removal unless debugging.
50668 # Note that there is a small window in which the directory will not be cleaned:
50669 # after its creation but before its name has been assigned to `$tmp'.
50670 $debug ||
50671 {
50672 tmp=
50673 trap 'exit_status=$?
50674 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50675 ' 0
50676 trap '{ (exit 1); exit 1; }' 1 2 13 15
50677 }
50678 # Create a (secure) tmp directory for tmp files.
50679
50680 {
50681 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50682 test -n "$tmp" && test -d "$tmp"
50683 } ||
50684 {
50685 tmp=./conf$$-$RANDOM
50686 (umask 077 && mkdir "$tmp")
50687 } ||
50688 {
50689 echo "$me: cannot create a temporary directory in ." >&2
50690 { (exit 1); exit 1; }
50691 }
50692
50693 #
50694 # Set up the sed scripts for CONFIG_FILES section.
50695 #
50696
50697 # No need to generate the scripts if there are no CONFIG_FILES.
50698 # This happens for instance when ./config.status config.h
50699 if test -n "$CONFIG_FILES"; then
50700
50701 _ACEOF
50702
50703
50704
50705 ac_delim='%!_!# '
50706 for ac_last_try in false false false false false :; do
50707 cat >conf$$subs.sed <<_ACEOF
50708 SHELL!$SHELL$ac_delim
50709 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50710 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50711 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50712 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50713 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50714 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50715 exec_prefix!$exec_prefix$ac_delim
50716 prefix!$prefix$ac_delim
50717 program_transform_name!$program_transform_name$ac_delim
50718 bindir!$bindir$ac_delim
50719 sbindir!$sbindir$ac_delim
50720 libexecdir!$libexecdir$ac_delim
50721 datarootdir!$datarootdir$ac_delim
50722 datadir!$datadir$ac_delim
50723 sysconfdir!$sysconfdir$ac_delim
50724 sharedstatedir!$sharedstatedir$ac_delim
50725 localstatedir!$localstatedir$ac_delim
50726 includedir!$includedir$ac_delim
50727 oldincludedir!$oldincludedir$ac_delim
50728 docdir!$docdir$ac_delim
50729 infodir!$infodir$ac_delim
50730 htmldir!$htmldir$ac_delim
50731 dvidir!$dvidir$ac_delim
50732 pdfdir!$pdfdir$ac_delim
50733 psdir!$psdir$ac_delim
50734 libdir!$libdir$ac_delim
50735 localedir!$localedir$ac_delim
50736 mandir!$mandir$ac_delim
50737 DEFS!$DEFS$ac_delim
50738 ECHO_C!$ECHO_C$ac_delim
50739 ECHO_N!$ECHO_N$ac_delim
50740 ECHO_T!$ECHO_T$ac_delim
50741 LIBS!$LIBS$ac_delim
50742 build_alias!$build_alias$ac_delim
50743 host_alias!$host_alias$ac_delim
50744 target_alias!$target_alias$ac_delim
50745 build!$build$ac_delim
50746 build_cpu!$build_cpu$ac_delim
50747 build_vendor!$build_vendor$ac_delim
50748 build_os!$build_os$ac_delim
50749 host!$host$ac_delim
50750 host_cpu!$host_cpu$ac_delim
50751 host_vendor!$host_vendor$ac_delim
50752 host_os!$host_os$ac_delim
50753 target!$target$ac_delim
50754 target_cpu!$target_cpu$ac_delim
50755 target_vendor!$target_vendor$ac_delim
50756 target_os!$target_os$ac_delim
50757 wx_top_builddir!$wx_top_builddir$ac_delim
50758 CC!$CC$ac_delim
50759 CFLAGS!$CFLAGS$ac_delim
50760 LDFLAGS!$LDFLAGS$ac_delim
50761 CPPFLAGS!$CPPFLAGS$ac_delim
50762 ac_ct_CC!$ac_ct_CC$ac_delim
50763 EXEEXT!$EXEEXT$ac_delim
50764 OBJEXT!$OBJEXT$ac_delim
50765 CPP!$CPP$ac_delim
50766 GREP!$GREP$ac_delim
50767 EGREP!$EGREP$ac_delim
50768 CXX!$CXX$ac_delim
50769 CXXFLAGS!$CXXFLAGS$ac_delim
50770 ac_ct_CXX!$ac_ct_CXX$ac_delim
50771 AR!$AR$ac_delim
50772 subdirs!$subdirs$ac_delim
50773 PKG_CONFIG!$PKG_CONFIG$ac_delim
50774 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50775 GTK_LIBS!$GTK_LIBS$ac_delim
50776 GTK_CONFIG!$GTK_CONFIG$ac_delim
50777 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50778 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50779 XMKMF!$XMKMF$ac_delim
50780 X_CFLAGS!$X_CFLAGS$ac_delim
50781 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50782 X_LIBS!$X_LIBS$ac_delim
50783 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50784 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50785 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50786 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50787 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50788 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50789 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50790 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50791 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50792 LIBICONV!$LIBICONV$ac_delim
50793 SDL_CONFIG!$SDL_CONFIG$ac_delim
50794 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50795 SDL_LIBS!$SDL_LIBS$ac_delim
50796 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50797 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50798 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50799 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50800 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50801 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50802 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50803 HILDON_LIBS!$HILDON_LIBS$ac_delim
50804 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50805 _ACEOF
50806
50807 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50808 break
50809 elif $ac_last_try; then
50810 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50811 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50812 { (exit 1); exit 1; }; }
50813 else
50814 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50815 fi
50816 done
50817
50818 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50819 if test -n "$ac_eof"; then
50820 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50821 ac_eof=`expr $ac_eof + 1`
50822 fi
50823
50824 cat >>$CONFIG_STATUS <<_ACEOF
50825 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50827 _ACEOF
50828 sed '
50829 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50830 s/^/s,@/; s/!/@,|#_!!_#|/
50831 :n
50832 t n
50833 s/'"$ac_delim"'$/,g/; t
50834 s/$/\\/; p
50835 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50836 ' >>$CONFIG_STATUS <conf$$subs.sed
50837 rm -f conf$$subs.sed
50838 cat >>$CONFIG_STATUS <<_ACEOF
50839 CEOF$ac_eof
50840 _ACEOF
50841
50842
50843 ac_delim='%!_!# '
50844 for ac_last_try in false false false false false :; do
50845 cat >conf$$subs.sed <<_ACEOF
50846 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50847 GST_CFLAGS!$GST_CFLAGS$ac_delim
50848 GST_LIBS!$GST_LIBS$ac_delim
50849 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50850 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50851 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50852 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50853 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50854 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50855 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50856 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50857 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50858 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50859 VENDOR!$VENDOR$ac_delim
50860 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50861 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50862 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50863 WXUNIV!$WXUNIV$ac_delim
50864 MONOLITHIC!$MONOLITHIC$ac_delim
50865 USE_PLUGINS!$USE_PLUGINS$ac_delim
50866 CXXWARNINGS!$CXXWARNINGS$ac_delim
50867 EXTRALIBS!$EXTRALIBS$ac_delim
50868 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50869 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50870 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50871 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50872 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50873 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50874 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50875 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50876 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50877 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50878 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50879 UNICODE!$UNICODE$ac_delim
50880 BUILD!$BUILD$ac_delim
50881 DEBUG_INFO!$DEBUG_INFO$ac_delim
50882 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50883 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50884 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50885 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50886 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50887 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50888 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50889 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50890 RANLIB!$RANLIB$ac_delim
50891 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50892 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50893 INSTALL_DATA!$INSTALL_DATA$ac_delim
50894 LN_S!$LN_S$ac_delim
50895 SET_MAKE!$SET_MAKE$ac_delim
50896 MAKE_SET!$MAKE_SET$ac_delim
50897 AROPTIONS!$AROPTIONS$ac_delim
50898 STRIP!$STRIP$ac_delim
50899 NM!$NM$ac_delim
50900 INSTALL_DIR!$INSTALL_DIR$ac_delim
50901 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50902 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50903 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50904 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50905 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50906 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50907 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50908 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50909 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50910 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50911 SO_SUFFIX!$SO_SUFFIX$ac_delim
50912 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50913 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50914 LIBPREFIX!$LIBPREFIX$ac_delim
50915 LIBEXT!$LIBEXT$ac_delim
50916 DLLPREFIX!$DLLPREFIX$ac_delim
50917 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50918 dlldir!$dlldir$ac_delim
50919 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50920 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50921 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50922 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50923 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50924 PIC_FLAG!$PIC_FLAG$ac_delim
50925 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50926 USE_SOVERSION!$USE_SOVERSION$ac_delim
50927 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50928 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50929 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50930 USE_MACVERSION!$USE_MACVERSION$ac_delim
50931 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50932 SONAME_FLAG!$SONAME_FLAG$ac_delim
50933 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50934 BK_DEPS!$BK_DEPS$ac_delim
50935 WINDRES!$WINDRES$ac_delim
50936 REZ!$REZ$ac_delim
50937 SETFILE!$SETFILE$ac_delim
50938 GCC_PCH!$GCC_PCH$ac_delim
50939 ICC_PCH!$ICC_PCH$ac_delim
50940 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50941 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50943 _ACEOF
50944
50945 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50946 break
50947 elif $ac_last_try; then
50948 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50949 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50950 { (exit 1); exit 1; }; }
50951 else
50952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50953 fi
50954 done
50955
50956 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50957 if test -n "$ac_eof"; then
50958 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50959 ac_eof=`expr $ac_eof + 1`
50960 fi
50961
50962 cat >>$CONFIG_STATUS <<_ACEOF
50963 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50965 _ACEOF
50966 sed '
50967 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50968 s/^/s,@/; s/!/@,|#_!!_#|/
50969 :n
50970 t n
50971 s/'"$ac_delim"'$/,g/; t
50972 s/$/\\/; p
50973 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50974 ' >>$CONFIG_STATUS <conf$$subs.sed
50975 rm -f conf$$subs.sed
50976 cat >>$CONFIG_STATUS <<_ACEOF
50977 CEOF$ac_eof
50978 _ACEOF
50979
50980
50981 ac_delim='%!_!# '
50982 for ac_last_try in false false false false false :; do
50983 cat >conf$$subs.sed <<_ACEOF
50984 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50985 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50986 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50987 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50988 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50989 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50990 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50991 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50992 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50993 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50994 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50995 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50996 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50997 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50998 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50999 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51005 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51006 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51007 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51008 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51009 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51010 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51014 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51015 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51016 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51017 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51018 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51019 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51020 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51021 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51022 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51023 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51024 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51025 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51026 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51027 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51028 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51031 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51032 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51033 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51034 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51035 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51036 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51038 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51039 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51040 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51041 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51042 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51043 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51044 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51045 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51046 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51047 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51048 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51049 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51051 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51052 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51053 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51054 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51055 COND_SHARED_0!$COND_SHARED_0$ac_delim
51056 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51057 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51058 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51059 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51060 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51061 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51062 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51063 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51064 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51065 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51066 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51067 COND_SHARED_1!$COND_SHARED_1$ac_delim
51068 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51069 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51070 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51071 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51072 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51073 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51074 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51075 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51076 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51077 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51078 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51080 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51081 _ACEOF
51082
51083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51084 break
51085 elif $ac_last_try; then
51086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51088 { (exit 1); exit 1; }; }
51089 else
51090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51091 fi
51092 done
51093
51094 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51095 if test -n "$ac_eof"; then
51096 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51097 ac_eof=`expr $ac_eof + 1`
51098 fi
51099
51100 cat >>$CONFIG_STATUS <<_ACEOF
51101 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51103 _ACEOF
51104 sed '
51105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51106 s/^/s,@/; s/!/@,|#_!!_#|/
51107 :n
51108 t n
51109 s/'"$ac_delim"'$/,g/; t
51110 s/$/\\/; p
51111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51112 ' >>$CONFIG_STATUS <conf$$subs.sed
51113 rm -f conf$$subs.sed
51114 cat >>$CONFIG_STATUS <<_ACEOF
51115 CEOF$ac_eof
51116 _ACEOF
51117
51118
51119 ac_delim='%!_!# '
51120 for ac_last_try in false false false false false :; do
51121 cat >conf$$subs.sed <<_ACEOF
51122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51123 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51124 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51125 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51126 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51128 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51129 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51130 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51131 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51132 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51133 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51134 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51135 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51136 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51137 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51138 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51139 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51141 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51142 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51143 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51144 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51145 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51146 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51147 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51148 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51149 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51150 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51151 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51152 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51153 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51154 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51155 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51156 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51157 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51158 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51159 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51160 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51161 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51162 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51163 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51164 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51165 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51166 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51167 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51168 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51169 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51170 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51171 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51172 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51173 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51174 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51175 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51176 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51177 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51178 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51179 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51180 DEREZ!$DEREZ$ac_delim
51181 SHARED!$SHARED$ac_delim
51182 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51183 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51184 USE_GUI!$USE_GUI$ac_delim
51185 AFMINSTALL!$AFMINSTALL$ac_delim
51186 WIN32INSTALL!$WIN32INSTALL$ac_delim
51187 TOOLKIT!$TOOLKIT$ac_delim
51188 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51189 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51190 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51191 cross_compiling!$cross_compiling$ac_delim
51192 WIDGET_SET!$WIDGET_SET$ac_delim
51193 WX_RELEASE!$WX_RELEASE$ac_delim
51194 WX_VERSION!$WX_VERSION$ac_delim
51195 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51196 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51197 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51198 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51199 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51200 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51201 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51202 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51203 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51204 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51205 GUIDIST!$GUIDIST$ac_delim
51206 DISTDIR!$DISTDIR$ac_delim
51207 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51208 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51209 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51210 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51211 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51212 RESCOMP!$RESCOMP$ac_delim
51213 RESFLAGS!$RESFLAGS$ac_delim
51214 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51215 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51216 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51217 LIBWXMACRES!$LIBWXMACRES$ac_delim
51218 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51219 _ACEOF
51220
51221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51222 break
51223 elif $ac_last_try; then
51224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51226 { (exit 1); exit 1; }; }
51227 else
51228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51229 fi
51230 done
51231
51232 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51233 if test -n "$ac_eof"; then
51234 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51235 ac_eof=`expr $ac_eof + 1`
51236 fi
51237
51238 cat >>$CONFIG_STATUS <<_ACEOF
51239 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51241 _ACEOF
51242 sed '
51243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51244 s/^/s,@/; s/!/@,|#_!!_#|/
51245 :n
51246 t n
51247 s/'"$ac_delim"'$/,g/; t
51248 s/$/\\/; p
51249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51250 ' >>$CONFIG_STATUS <conf$$subs.sed
51251 rm -f conf$$subs.sed
51252 cat >>$CONFIG_STATUS <<_ACEOF
51253 CEOF$ac_eof
51254 _ACEOF
51255
51256
51257 ac_delim='%!_!# '
51258 for ac_last_try in false false false false false :; do
51259 cat >conf$$subs.sed <<_ACEOF
51260 MACSETFILE!$MACSETFILE$ac_delim
51261 GCC!$GCC$ac_delim
51262 DLLTOOL!$DLLTOOL$ac_delim
51263 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51264 LIBOBJS!$LIBOBJS$ac_delim
51265 LTLIBOBJS!$LTLIBOBJS$ac_delim
51266 _ACEOF
51267
51268 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then
51269 break
51270 elif $ac_last_try; then
51271 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51272 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51273 { (exit 1); exit 1; }; }
51274 else
51275 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51276 fi
51277 done
51278
51279 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51280 if test -n "$ac_eof"; then
51281 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51282 ac_eof=`expr $ac_eof + 1`
51283 fi
51284
51285 cat >>$CONFIG_STATUS <<_ACEOF
51286 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51288 _ACEOF
51289 sed '
51290 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51291 s/^/s,@/; s/!/@,|#_!!_#|/
51292 :n
51293 t n
51294 s/'"$ac_delim"'$/,g/; t
51295 s/$/\\/; p
51296 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51297 ' >>$CONFIG_STATUS <conf$$subs.sed
51298 rm -f conf$$subs.sed
51299 cat >>$CONFIG_STATUS <<_ACEOF
51300 :end
51301 s/|#_!!_#|//g
51302 CEOF$ac_eof
51303 _ACEOF
51304
51305
51306 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51307 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51308 # trailing colons and then remove the whole line if VPATH becomes empty
51309 # (actually we leave an empty line to preserve line numbers).
51310 if test "x$srcdir" = x.; then
51311 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51312 s/:*\$(srcdir):*/:/
51313 s/:*\${srcdir}:*/:/
51314 s/:*@srcdir@:*/:/
51315 s/^\([^=]*=[ ]*\):*/\1/
51316 s/:*$//
51317 s/^[^=]*=[ ]*$//
51318 }'
51319 fi
51320
51321 cat >>$CONFIG_STATUS <<\_ACEOF
51322 fi # test -n "$CONFIG_FILES"
51323
51324
51325 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51326 do
51327 case $ac_tag in
51328 :[FHLC]) ac_mode=$ac_tag; continue;;
51329 esac
51330 case $ac_mode$ac_tag in
51331 :[FHL]*:*);;
51332 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51333 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51334 { (exit 1); exit 1; }; };;
51335 :[FH]-) ac_tag=-:-;;
51336 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51337 esac
51338 ac_save_IFS=$IFS
51339 IFS=:
51340 set x $ac_tag
51341 IFS=$ac_save_IFS
51342 shift
51343 ac_file=$1
51344 shift
51345
51346 case $ac_mode in
51347 :L) ac_source=$1;;
51348 :[FH])
51349 ac_file_inputs=
51350 for ac_f
51351 do
51352 case $ac_f in
51353 -) ac_f="$tmp/stdin";;
51354 *) # Look for the file first in the build tree, then in the source tree
51355 # (if the path is not absolute). The absolute path cannot be DOS-style,
51356 # because $ac_f cannot contain `:'.
51357 test -f "$ac_f" ||
51358 case $ac_f in
51359 [\\/$]*) false;;
51360 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51361 esac ||
51362 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51363 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51364 { (exit 1); exit 1; }; };;
51365 esac
51366 ac_file_inputs="$ac_file_inputs $ac_f"
51367 done
51368
51369 # Let's still pretend it is `configure' which instantiates (i.e., don't
51370 # use $as_me), people would be surprised to read:
51371 # /* config.h. Generated by config.status. */
51372 configure_input="Generated from "`IFS=:
51373 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51374 if test x"$ac_file" != x-; then
51375 configure_input="$ac_file. $configure_input"
51376 { echo "$as_me:$LINENO: creating $ac_file" >&5
51377 echo "$as_me: creating $ac_file" >&6;}
51378 fi
51379
51380 case $ac_tag in
51381 *:-:* | *:-) cat >"$tmp/stdin";;
51382 esac
51383 ;;
51384 esac
51385
51386 ac_dir=`$as_dirname -- "$ac_file" ||
51387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51388 X"$ac_file" : 'X\(//\)[^/]' \| \
51389 X"$ac_file" : 'X\(//\)$' \| \
51390 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51391 echo X"$ac_file" |
51392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51393 s//\1/
51394 q
51395 }
51396 /^X\(\/\/\)[^/].*/{
51397 s//\1/
51398 q
51399 }
51400 /^X\(\/\/\)$/{
51401 s//\1/
51402 q
51403 }
51404 /^X\(\/\).*/{
51405 s//\1/
51406 q
51407 }
51408 s/.*/./; q'`
51409 { as_dir="$ac_dir"
51410 case $as_dir in #(
51411 -*) as_dir=./$as_dir;;
51412 esac
51413 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51414 as_dirs=
51415 while :; do
51416 case $as_dir in #(
51417 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51418 *) as_qdir=$as_dir;;
51419 esac
51420 as_dirs="'$as_qdir' $as_dirs"
51421 as_dir=`$as_dirname -- "$as_dir" ||
51422 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51423 X"$as_dir" : 'X\(//\)[^/]' \| \
51424 X"$as_dir" : 'X\(//\)$' \| \
51425 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51426 echo X"$as_dir" |
51427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51428 s//\1/
51429 q
51430 }
51431 /^X\(\/\/\)[^/].*/{
51432 s//\1/
51433 q
51434 }
51435 /^X\(\/\/\)$/{
51436 s//\1/
51437 q
51438 }
51439 /^X\(\/\).*/{
51440 s//\1/
51441 q
51442 }
51443 s/.*/./; q'`
51444 test -d "$as_dir" && break
51445 done
51446 test -z "$as_dirs" || eval "mkdir $as_dirs"
51447 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51448 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51449 { (exit 1); exit 1; }; }; }
51450 ac_builddir=.
51451
51452 case "$ac_dir" in
51453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51454 *)
51455 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51456 # A ".." for each directory in $ac_dir_suffix.
51457 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51458 case $ac_top_builddir_sub in
51459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51461 esac ;;
51462 esac
51463 ac_abs_top_builddir=$ac_pwd
51464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51465 # for backward compatibility:
51466 ac_top_builddir=$ac_top_build_prefix
51467
51468 case $srcdir in
51469 .) # We are building in place.
51470 ac_srcdir=.
51471 ac_top_srcdir=$ac_top_builddir_sub
51472 ac_abs_top_srcdir=$ac_pwd ;;
51473 [\\/]* | ?:[\\/]* ) # Absolute name.
51474 ac_srcdir=$srcdir$ac_dir_suffix;
51475 ac_top_srcdir=$srcdir
51476 ac_abs_top_srcdir=$srcdir ;;
51477 *) # Relative name.
51478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51479 ac_top_srcdir=$ac_top_build_prefix$srcdir
51480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51481 esac
51482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51483
51484
51485 case $ac_mode in
51486 :F)
51487 #
51488 # CONFIG_FILE
51489 #
51490
51491 case $INSTALL in
51492 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51493 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51494 esac
51495 _ACEOF
51496
51497 cat >>$CONFIG_STATUS <<\_ACEOF
51498 # If the template does not know about datarootdir, expand it.
51499 # FIXME: This hack should be removed a few years after 2.60.
51500 ac_datarootdir_hack=; ac_datarootdir_seen=
51501
51502 case `sed -n '/datarootdir/ {
51503 p
51504 q
51505 }
51506 /@datadir@/p
51507 /@docdir@/p
51508 /@infodir@/p
51509 /@localedir@/p
51510 /@mandir@/p
51511 ' $ac_file_inputs` in
51512 *datarootdir*) ac_datarootdir_seen=yes;;
51513 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51514 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51515 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51516 _ACEOF
51517 cat >>$CONFIG_STATUS <<_ACEOF
51518 ac_datarootdir_hack='
51519 s&@datadir@&$datadir&g
51520 s&@docdir@&$docdir&g
51521 s&@infodir@&$infodir&g
51522 s&@localedir@&$localedir&g
51523 s&@mandir@&$mandir&g
51524 s&\\\${datarootdir}&$datarootdir&g' ;;
51525 esac
51526 _ACEOF
51527
51528 # Neutralize VPATH when `$srcdir' = `.'.
51529 # Shell code in configure.ac might set extrasub.
51530 # FIXME: do we really want to maintain this feature?
51531 cat >>$CONFIG_STATUS <<_ACEOF
51532 sed "$ac_vpsub
51533 $extrasub
51534 _ACEOF
51535 cat >>$CONFIG_STATUS <<\_ACEOF
51536 :t
51537 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51538 s&@configure_input@&$configure_input&;t t
51539 s&@top_builddir@&$ac_top_builddir_sub&;t t
51540 s&@srcdir@&$ac_srcdir&;t t
51541 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51542 s&@top_srcdir@&$ac_top_srcdir&;t t
51543 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51544 s&@builddir@&$ac_builddir&;t t
51545 s&@abs_builddir@&$ac_abs_builddir&;t t
51546 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51547 s&@INSTALL@&$ac_INSTALL&;t t
51548 $ac_datarootdir_hack
51549 " $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
51550
51551 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51552 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51553 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51554 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51555 which seems to be undefined. Please make sure it is defined." >&5
51556 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51557 which seems to be undefined. Please make sure it is defined." >&2;}
51558
51559 rm -f "$tmp/stdin"
51560 case $ac_file in
51561 -) cat "$tmp/out"; rm -f "$tmp/out";;
51562 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51563 esac
51564 ;;
51565 :H)
51566 #
51567 # CONFIG_HEADER
51568 #
51569 _ACEOF
51570
51571 # Transform confdefs.h into a sed script `conftest.defines', that
51572 # substitutes the proper values into config.h.in to produce config.h.
51573 rm -f conftest.defines conftest.tail
51574 # First, append a space to every undef/define line, to ease matching.
51575 echo 's/$/ /' >conftest.defines
51576 # Then, protect against being on the right side of a sed subst, or in
51577 # an unquoted here document, in config.status. If some macros were
51578 # called several times there might be several #defines for the same
51579 # symbol, which is useless. But do not sort them, since the last
51580 # AC_DEFINE must be honored.
51581 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51582 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51583 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51584 # PARAMS is the parameter list in the macro definition--in most cases, it's
51585 # just an empty string.
51586 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51587 ac_dB='\\)[ (].*,\\1define\\2'
51588 ac_dC=' '
51589 ac_dD=' ,'
51590
51591 uniq confdefs.h |
51592 sed -n '
51593 t rset
51594 :rset
51595 s/^[ ]*#[ ]*define[ ][ ]*//
51596 t ok
51597 d
51598 :ok
51599 s/[\\&,]/\\&/g
51600 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51601 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51602 ' >>conftest.defines
51603
51604 # Remove the space that was appended to ease matching.
51605 # Then replace #undef with comments. This is necessary, for
51606 # example, in the case of _POSIX_SOURCE, which is predefined and required
51607 # on some systems where configure will not decide to define it.
51608 # (The regexp can be short, since the line contains either #define or #undef.)
51609 echo 's/ $//
51610 s,^[ #]*u.*,/* & */,' >>conftest.defines
51611
51612 # Break up conftest.defines:
51613 ac_max_sed_lines=50
51614
51615 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51616 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51617 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51618 # et cetera.
51619 ac_in='$ac_file_inputs'
51620 ac_out='"$tmp/out1"'
51621 ac_nxt='"$tmp/out2"'
51622
51623 while :
51624 do
51625 # Write a here document:
51626 cat >>$CONFIG_STATUS <<_ACEOF
51627 # First, check the format of the line:
51628 cat >"\$tmp/defines.sed" <<\\CEOF
51629 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51630 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51631 b
51632 :def
51633 _ACEOF
51634 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51635 echo 'CEOF
51636 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51637 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51638 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51639 grep . conftest.tail >/dev/null || break
51640 rm -f conftest.defines
51641 mv conftest.tail conftest.defines
51642 done
51643 rm -f conftest.defines conftest.tail
51644
51645 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51646 cat >>$CONFIG_STATUS <<\_ACEOF
51647 if test x"$ac_file" != x-; then
51648 echo "/* $configure_input */" >"$tmp/config.h"
51649 cat "$ac_result" >>"$tmp/config.h"
51650 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51651 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51652 echo "$as_me: $ac_file is unchanged" >&6;}
51653 else
51654 rm -f $ac_file
51655 mv "$tmp/config.h" $ac_file
51656 fi
51657 else
51658 echo "/* $configure_input */"
51659 cat "$ac_result"
51660 fi
51661 rm -f "$tmp/out12"
51662 ;;
51663
51664 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51665 echo "$as_me: executing $ac_file commands" >&6;}
51666 ;;
51667 esac
51668
51669
51670 case $ac_file$ac_mode in
51671 "rcdefs.h":C)
51672 mkdir -p $outdir &&
51673 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51674 ;;
51675 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51676 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51677 "wx-config":C) rm -f wx-config
51678 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51679 ;;
51680
51681 esac
51682 done # for ac_tag
51683
51684
51685 { (exit 0); exit 0; }
51686 _ACEOF
51687 chmod +x $CONFIG_STATUS
51688 ac_clean_files=$ac_clean_files_save
51689
51690
51691 # configure is writing to config.log, and then calls config.status.
51692 # config.status does its own redirection, appending to config.log.
51693 # Unfortunately, on DOS this fails, as config.log is still kept open
51694 # by configure, so config.status won't be able to write to it; its
51695 # output is simply discarded. So we exec the FD to /dev/null,
51696 # effectively closing config.log, so it can be properly (re)opened and
51697 # appended to by config.status. When coming back to configure, we
51698 # need to make the FD available again.
51699 if test "$no_create" != yes; then
51700 ac_cs_success=:
51701 ac_config_status_args=
51702 test "$silent" = yes &&
51703 ac_config_status_args="$ac_config_status_args --quiet"
51704 exec 5>/dev/null
51705 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51706 exec 5>>config.log
51707 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51708 # would make configure fail if this is the last instruction.
51709 $ac_cs_success || { (exit 1); exit 1; }
51710 fi
51711
51712 #
51713 # CONFIG_SUBDIRS section.
51714 #
51715 if test "$no_recursion" != yes; then
51716
51717 # Remove --cache-file and --srcdir arguments so they do not pile up.
51718 ac_sub_configure_args=
51719 ac_prev=
51720 eval "set x $ac_configure_args"
51721 shift
51722 for ac_arg
51723 do
51724 if test -n "$ac_prev"; then
51725 ac_prev=
51726 continue
51727 fi
51728 case $ac_arg in
51729 -cache-file | --cache-file | --cache-fil | --cache-fi \
51730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51731 ac_prev=cache_file ;;
51732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51734 | --c=*)
51735 ;;
51736 --config-cache | -C)
51737 ;;
51738 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51739 ac_prev=srcdir ;;
51740 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51741 ;;
51742 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51743 ac_prev=prefix ;;
51744 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51745 ;;
51746 *)
51747 case $ac_arg in
51748 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51749 esac
51750 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51751 esac
51752 done
51753
51754 # Always prepend --prefix to ensure using the same prefix
51755 # in subdir configurations.
51756 ac_arg="--prefix=$prefix"
51757 case $ac_arg in
51758 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51759 esac
51760 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51761
51762 # Pass --silent
51763 if test "$silent" = yes; then
51764 ac_sub_configure_args="--silent $ac_sub_configure_args"
51765 fi
51766
51767 ac_popdir=`pwd`
51768 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51769
51770 # Do not complain, so a configure script can configure whichever
51771 # parts of a large source tree are present.
51772 test -d "$srcdir/$ac_dir" || continue
51773
51774 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51775 echo "$as_me:$LINENO: $ac_msg" >&5
51776 echo "$ac_msg" >&6
51777 { as_dir="$ac_dir"
51778 case $as_dir in #(
51779 -*) as_dir=./$as_dir;;
51780 esac
51781 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51782 as_dirs=
51783 while :; do
51784 case $as_dir in #(
51785 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51786 *) as_qdir=$as_dir;;
51787 esac
51788 as_dirs="'$as_qdir' $as_dirs"
51789 as_dir=`$as_dirname -- "$as_dir" ||
51790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51791 X"$as_dir" : 'X\(//\)[^/]' \| \
51792 X"$as_dir" : 'X\(//\)$' \| \
51793 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51794 echo X"$as_dir" |
51795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51796 s//\1/
51797 q
51798 }
51799 /^X\(\/\/\)[^/].*/{
51800 s//\1/
51801 q
51802 }
51803 /^X\(\/\/\)$/{
51804 s//\1/
51805 q
51806 }
51807 /^X\(\/\).*/{
51808 s//\1/
51809 q
51810 }
51811 s/.*/./; q'`
51812 test -d "$as_dir" && break
51813 done
51814 test -z "$as_dirs" || eval "mkdir $as_dirs"
51815 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51816 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51817 { (exit 1); exit 1; }; }; }
51818 ac_builddir=.
51819
51820 case "$ac_dir" in
51821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51822 *)
51823 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51824 # A ".." for each directory in $ac_dir_suffix.
51825 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51826 case $ac_top_builddir_sub in
51827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51829 esac ;;
51830 esac
51831 ac_abs_top_builddir=$ac_pwd
51832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51833 # for backward compatibility:
51834 ac_top_builddir=$ac_top_build_prefix
51835
51836 case $srcdir in
51837 .) # We are building in place.
51838 ac_srcdir=.
51839 ac_top_srcdir=$ac_top_builddir_sub
51840 ac_abs_top_srcdir=$ac_pwd ;;
51841 [\\/]* | ?:[\\/]* ) # Absolute name.
51842 ac_srcdir=$srcdir$ac_dir_suffix;
51843 ac_top_srcdir=$srcdir
51844 ac_abs_top_srcdir=$srcdir ;;
51845 *) # Relative name.
51846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51847 ac_top_srcdir=$ac_top_build_prefix$srcdir
51848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51849 esac
51850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51851
51852
51853 cd "$ac_dir"
51854
51855 # Check for guested configure; otherwise get Cygnus style configure.
51856 if test -f "$ac_srcdir/configure.gnu"; then
51857 ac_sub_configure=$ac_srcdir/configure.gnu
51858 elif test -f "$ac_srcdir/configure"; then
51859 ac_sub_configure=$ac_srcdir/configure
51860 elif test -f "$ac_srcdir/configure.in"; then
51861 # This should be Cygnus configure.
51862 ac_sub_configure=$ac_aux_dir/configure
51863 else
51864 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51865 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51866 ac_sub_configure=
51867 fi
51868
51869 # The recursion is here.
51870 if test -n "$ac_sub_configure"; then
51871 # Make the cache file name correct relative to the subdirectory.
51872 case $cache_file in
51873 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51874 *) # Relative name.
51875 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51876 esac
51877
51878 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51879 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51880 # The eval makes quoting arguments work.
51881 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51882 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51883 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51884 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51885 { (exit 1); exit 1; }; }
51886 fi
51887
51888 cd "$ac_popdir"
51889 done
51890 fi
51891
51892
51893 echo
51894 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51895 echo ""
51896 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51897 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51898
51899 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51900 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51901 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51902 if test "$wxUSE_UNICODE" = "yes"; then
51903 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51904 echo " (using UTF-8)"
51905 else
51906 echo " (using wchar_t)"
51907 fi
51908 else
51909 echo
51910 fi
51911
51912 echo " What level of wxWidgets compatibility should be enabled?"
51913 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51914 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51915
51916 echo " Which libraries should wxWidgets use?"
51917 echo " STL ${wxUSE_STL}"
51918 echo " jpeg ${wxUSE_LIBJPEG-none}"
51919 echo " png ${wxUSE_LIBPNG-none}"
51920 echo " regex ${wxUSE_REGEX}"
51921 echo " tiff ${wxUSE_LIBTIFF-none}"
51922 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51923 echo " xpm ${wxUSE_LIBXPM-none}"
51924 fi
51925 echo " zlib ${wxUSE_ZLIB}"
51926 echo " expat ${wxUSE_EXPAT}"
51927 echo " libmspack ${wxUSE_LIBMSPACK}"
51928 echo " sdl ${wxUSE_LIBSDL}"
51929
51930 echo ""
51931