]> git.saurik.com Git - wxWidgets.git/blob - configure
replaced wxFDIODispatcher::RunLoop() with Dispatch() which handles only one event...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47439 2007-07-13 20:44:26Z VS .
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 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
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_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-apple_ieee use the Apple IEEE codec
1686 --enable-arcstream use wxArchive streams
1687 --enable-base64 use base64 encoding/decoding functions
1688 --enable-backtrace use wxStackWalker class for getting backtraces
1689 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1690 --enable-cmdline use wxCmdLineParser class
1691 --enable-datetime use wxDateTime class
1692 --enable-debugreport use wxDebugReport class
1693 --enable-dialupman use dialup network classes
1694 --enable-dynlib use wxLibrary class for DLL loading
1695 --enable-dynamicloader use (new) wxDynamicLibrary class
1696 --enable-exceptions build exception-safe library
1697 --enable-ffile use wxFFile class
1698 --enable-file use wxFile class
1699 --enable-filesystem use virtual file systems classes
1700 --enable-fontmap use font encodings conversion classes
1701 --enable-fs_archive use virtual archive filesystems
1702 --enable-fs_inet use virtual HTTP/FTP filesystems
1703 --enable-fs_zip now replaced by fs_archive
1704 --enable-geometry use geometry class
1705 --enable-log use logging system
1706 --enable-longlong use wxLongLong class
1707 --enable-mimetype use wxMimeTypesManager
1708 --enable-snglinst use wxSingleInstanceChecker class
1709 --enable-stdpaths use wxStandardPaths class
1710 --enable-stopwatch use wxStopWatch class
1711 --enable-streams use wxStream etc classes
1712 --enable-sysoptions use wxSystemOptions
1713 --enable-tarstream use wxTar streams
1714 --enable-textbuf use wxTextBuffer class
1715 --enable-textfile use wxTextFile class
1716 --enable-timer use wxTimer class
1717 --enable-sound use wxSound class
1718 --enable-mediactrl use wxMediaCtrl class
1719 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1720 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1721 --enable-zipstream use wxZip streams
1722 --enable-url use wxURL class
1723 --enable-variant use wxVariant class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support in wxProtocol
1726 --enable-protocol-ftp FTP support in wxProtocol
1727 --enable-protocol-file FILE support in wxProtocol
1728 --enable-threads use threads
1729 --enable-docview use document view architecture
1730 --enable-help use help subsystem
1731 --enable-mshtmlhelp use MS HTML Help (win32)
1732 --enable-html use wxHTML sub-library
1733 --enable-htmlhelp use wxHTML-based help
1734 --enable-xrc use XRC resources sub-library
1735 --enable-aui use AUI docking library
1736 --enable-stc use wxStyledTextCtrl library
1737 --enable-constraints use layout-constraints system
1738 --enable-printarch use printing architecture
1739 --enable-mdi use multiple document interface architecture
1740 --enable-mdidoc use docview architecture with MDI
1741 --enable-loggui use standard GUI logger
1742 --enable-logwin use wxLogWindow
1743 --enable-logdialog use wxLogDialog
1744 --enable-webkit use wxWebKitCtrl (Mac)
1745 --enable-richtext use wxRichTextCtrl
1746 --enable-graphics_ctx use graphics context 2D drawing API
1747 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1748 --enable-svg use wxSVGFileDC device context
1749 --enable-clipboard use wxClipboard class
1750 --enable-dnd use Drag'n'Drop classes
1751 --enable-metafile use win32 metafiles
1752 --disable-controls disable compilation of all standard controls
1753 --enable-accel use accelerators
1754 --enable-animatectrl use wxAnimationCtrl class
1755 --enable-button use wxButton class
1756 --enable-bmpbutton use wxBitmapButton class
1757 --enable-bmpcombobox use wxBitmapComboBox class
1758 --enable-calendar use wxCalendarCtrl class
1759 --enable-caret use wxCaret class
1760 --enable-checkbox use wxCheckBox class
1761 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1762 --enable-choice use wxChoice class
1763 --enable-choicebook use wxChoicebook class
1764 --enable-collpane use wxCollapsiblePane class
1765 --enable-colourpicker use wxColourPickerCtrl class
1766 --enable-combobox use wxComboBox class
1767 --enable-comboctrl use wxComboCtrl class
1768 --enable-datepick use wxDatePickerCtrl class
1769 --enable-dirpicker use wxDirPickerCtrl class
1770 --enable-display use wxDisplay class
1771 --enable-detect_sm use code to detect X11 session manager
1772 --enable-editablebox use wxEditableListBox class
1773 --enable-filepicker use wxFilePickerCtrl 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-odcombobox use wxOwnerDrawnComboBox class
1785 --enable-radiobox use wxRadioBox class
1786 --enable-radiobtn use wxRadioButton class
1787 --enable-sash use wxSashWindow class
1788 --enable-scrollbar use wxScrollBar class and scrollable windows
1789 --enable-searchctrl use wxSearchCtrl class
1790 --enable-slider use wxSlider class
1791 --enable-spinbtn use wxSpinButton class
1792 --enable-spinctrl use wxSpinCtrl class
1793 --enable-splitter use wxSplitterWindow class
1794 --enable-statbmp use wxStaticBitmap class
1795 --enable-statbox use wxStaticBox class
1796 --enable-statline use wxStaticLine class
1797 --enable-stattext use wxStaticText class
1798 --enable-statusbar use wxStatusBar class
1799 --enable-tabdialog use wxTabControl class
1800 --enable-textctrl use wxTextCtrl class
1801 --enable-togglebtn use wxToggleButton class
1802 --enable-toolbar use wxToolBar class
1803 --enable-tbarnative use native wxToolBar class
1804 --enable-treebook use wxTreebook class
1805 --enable-toolbook use wxToolbook class
1806 --enable-treectrl use wxTreeCtrl class
1807 --enable-tipwindow use wxTipWindow class
1808 --enable-popupwin use wxPopUpWindow class
1809 --enable-commondlg use all common dialogs
1810 --enable-aboutdlg use wxAboutBox
1811 --enable-choicedlg use wxChoiceDialog
1812 --enable-coldlg use wxColourDialog
1813 --enable-filedlg use wxFileDialog
1814 --enable-finddlg use wxFindReplaceDialog
1815 --enable-fontdlg use wxFontDialog
1816 --enable-dirdlg use wxDirDialog
1817 --enable-msgdlg use wxMessageDialog
1818 --enable-numberdlg use wxNumberEntryDialog
1819 --enable-splash use wxSplashScreen
1820 --enable-textdlg use wxTextDialog
1821 --enable-tipdlg use startup tips
1822 --enable-progressdlg use wxProgressDialog
1823 --enable-wizarddlg use wxWizard
1824 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1825 --enable-miniframe use wxMiniFrame class
1826 --enable-tooltips use wxToolTip class
1827 --enable-splines use spline drawing code
1828 --enable-mousewheel use mousewheel
1829 --enable-validators use wxValidator and derived classes
1830 --enable-busyinfo use wxBusyInfo
1831 --enable-joystick use wxJoystick
1832 --enable-metafiles use wxMetaFile (Win32 only)
1833 --enable-dragimage use wxDragImage
1834 --enable-accessibility enable accessibility support
1835 --enable-dccache cache temporary wxDC objects (Win32 only)
1836 --enable-palette use wxPalette class
1837 --enable-image use wxImage class
1838 --enable-gif use gif images (GIF file format)
1839 --enable-pcx use pcx images (PCX file format)
1840 --enable-tga use tga images (TGA file format)
1841 --enable-iff use iff images (IFF file format)
1842 --enable-pnm use pnm images (PNM file format)
1843 --enable-xpm use xpm images (XPM file format)
1844 --enable-icocur use Windows ICO and CUR formats
1845 --disable-largefile omit support for large files
1846 --disable-gtktest do not try to compile and run a test GTK+ program
1847 --disable-gtktest Do not try to compile and run a test GTK program
1848 --disable-sdltest Do not try to compile and run a test SDL program
1849 --enable-omf use OMF object format (OS/2)
1850 --disable-dependency-tracking
1851 don't use dependency tracking even if the compiler
1852 can
1853 --disable-precomp-headers
1854 don't use precompiled headers even if compiler can
1855
1856 Optional Packages:
1857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1859 --without-subdirs don't generate makefiles for samples/demos/...
1860 --with-flavour=NAME specify a name to identify this build
1861 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1862 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1863 --with-motif use Motif/Lesstif
1864 --with-mac use Mac OS X
1865 --with-cocoa use Cocoa
1866 --with-wine use Wine
1867 --with-msw use MS-Windows
1868 --with-pm use OS/2 Presentation Manager
1869 --with-mgl use SciTech MGL
1870 --with-directfb use DirectFB
1871 --with-microwin use MicroWindows
1872 --with-x11 use X11
1873 --with-libpng use libpng (PNG image format)
1874 --with-libjpeg use libjpeg (JPEG file format)
1875 --with-libtiff use libtiff (TIFF file format)
1876 --with-libxpm use libxpm (XPM file format)
1877 --with-libmspack use libmspack (CHM help files loading)
1878 --without-gnomeprint don't use GNOME printing libraries
1879 --with-gnomevfs use GNOME VFS for associating MIME types
1880 --with-hildon use Hildon framework for Nokia 770
1881 --with-opengl use OpenGL (or Mesa)
1882 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1883 --with-sdl use SDL for audio on Unix
1884 --with-regex enable support for wxRegEx class
1885 --with-zlib use zlib for LZW compression
1886 --with-odbc use the IODBC and wxODBC classes
1887 --with-expat enable XML support using expat parser
1888 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1889 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1890 --with-x use the X Window System
1891 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1892 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1893 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1894 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1895 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1896
1897 Some influential environment variables:
1898 CC C compiler command
1899 CFLAGS C compiler flags
1900 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1901 nonstandard directory <lib dir>
1902 LIBS libraries to pass to the linker, e.g. -l<library>
1903 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1904 you have headers in a nonstandard directory <include dir>
1905 CPP C preprocessor
1906 CXX C++ compiler command
1907 CXXFLAGS C++ compiler flags
1908 PKG_CONFIG path to pkg-config utility
1909 DIRECTFB_CFLAGS
1910 C compiler flags for DIRECTFB, overriding pkg-config
1911 DIRECTFB_LIBS
1912 linker flags for DIRECTFB, overriding pkg-config
1913 XMKMF Path to xmkmf, Makefile generator for X Window System
1914 PANGOX_CFLAGS
1915 C compiler flags for PANGOX, overriding pkg-config
1916 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1917 PANGOFT2_CFLAGS
1918 C compiler flags for PANGOFT2, overriding pkg-config
1919 PANGOFT2_LIBS
1920 linker flags for PANGOFT2, overriding pkg-config
1921 PANGOXFT_CFLAGS
1922 C compiler flags for PANGOXFT, overriding pkg-config
1923 PANGOXFT_LIBS
1924 linker flags for PANGOXFT, overriding pkg-config
1925 LIBGNOMEPRINTUI_CFLAGS
1926 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1927 LIBGNOMEPRINTUI_LIBS
1928 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1929 GNOMEVFS_CFLAGS
1930 C compiler flags for GNOMEVFS, overriding pkg-config
1931 GNOMEVFS_LIBS
1932 linker flags for GNOMEVFS, overriding pkg-config
1933 HILDON_CFLAGS
1934 C compiler flags for HILDON, overriding pkg-config
1935 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1936 CAIRO_CFLAGS
1937 C compiler flags for CAIRO, overriding pkg-config
1938 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1939 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1940 GST_LIBS linker flags for GST, overriding pkg-config
1941
1942 Use these variables to override the choices made by `configure' or to help
1943 it to find libraries and programs with nonstandard names/locations.
1944
1945 Report bugs to <wx-dev@lists.wxwidgets.org>.
1946 _ACEOF
1947 ac_status=$?
1948 fi
1949
1950 if test "$ac_init_help" = "recursive"; then
1951 # If there are subdirs, report their specific --help.
1952 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1953 test -d "$ac_dir" || continue
1954 ac_builddir=.
1955
1956 case "$ac_dir" in
1957 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1958 *)
1959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1960 # A ".." for each directory in $ac_dir_suffix.
1961 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1962 case $ac_top_builddir_sub in
1963 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1964 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1965 esac ;;
1966 esac
1967 ac_abs_top_builddir=$ac_pwd
1968 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1969 # for backward compatibility:
1970 ac_top_builddir=$ac_top_build_prefix
1971
1972 case $srcdir in
1973 .) # We are building in place.
1974 ac_srcdir=.
1975 ac_top_srcdir=$ac_top_builddir_sub
1976 ac_abs_top_srcdir=$ac_pwd ;;
1977 [\\/]* | ?:[\\/]* ) # Absolute name.
1978 ac_srcdir=$srcdir$ac_dir_suffix;
1979 ac_top_srcdir=$srcdir
1980 ac_abs_top_srcdir=$srcdir ;;
1981 *) # Relative name.
1982 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1983 ac_top_srcdir=$ac_top_build_prefix$srcdir
1984 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1985 esac
1986 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1987
1988 cd "$ac_dir" || { ac_status=$?; continue; }
1989 # Check for guested configure.
1990 if test -f "$ac_srcdir/configure.gnu"; then
1991 echo &&
1992 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1993 elif test -f "$ac_srcdir/configure"; then
1994 echo &&
1995 $SHELL "$ac_srcdir/configure" --help=recursive
1996 else
1997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1998 fi || ac_status=$?
1999 cd "$ac_pwd" || { ac_status=$?; break; }
2000 done
2001 fi
2002
2003 test -n "$ac_init_help" && exit $ac_status
2004 if $ac_init_version; then
2005 cat <<\_ACEOF
2006 wxWidgets configure 2.9.0
2007 generated by GNU Autoconf 2.61
2008
2009 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2010 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2011 This configure script is free software; the Free Software Foundation
2012 gives unlimited permission to copy, distribute and modify it.
2013 _ACEOF
2014 exit
2015 fi
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2019
2020 It was created by wxWidgets $as_me 2.9.0, which was
2021 generated by GNU Autoconf 2.61. Invocation command line was
2022
2023 $ $0 $@
2024
2025 _ACEOF
2026 exec 5>>config.log
2027 {
2028 cat <<_ASUNAME
2029 ## --------- ##
2030 ## Platform. ##
2031 ## --------- ##
2032
2033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2038
2039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2041
2042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2049
2050 _ASUNAME
2051
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055 IFS=$as_save_IFS
2056 test -z "$as_dir" && as_dir=.
2057 echo "PATH: $as_dir"
2058 done
2059 IFS=$as_save_IFS
2060
2061 } >&5
2062
2063 cat >&5 <<_ACEOF
2064
2065
2066 ## ----------- ##
2067 ## Core tests. ##
2068 ## ----------- ##
2069
2070 _ACEOF
2071
2072
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2078 ac_configure_args=
2079 ac_configure_args0=
2080 ac_configure_args1=
2081 ac_must_keep_next=false
2082 for ac_pass in 1 2
2083 do
2084 for ac_arg
2085 do
2086 case $ac_arg in
2087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2090 continue ;;
2091 *\'*)
2092 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2093 esac
2094 case $ac_pass in
2095 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2096 2)
2097 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2098 if test $ac_must_keep_next = true; then
2099 ac_must_keep_next=false # Got value, back to normal.
2100 else
2101 case $ac_arg in
2102 *=* | --config-cache | -C | -disable-* | --disable-* \
2103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105 | -with-* | --with-* | -without-* | --without-* | --x)
2106 case "$ac_configure_args0 " in
2107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2108 esac
2109 ;;
2110 -* ) ac_must_keep_next=true ;;
2111 esac
2112 fi
2113 ac_configure_args="$ac_configure_args '$ac_arg'"
2114 ;;
2115 esac
2116 done
2117 done
2118 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2119 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2120
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log. We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127 # Save into config.log some information that might help in debugging.
2128 {
2129 echo
2130
2131 cat <<\_ASBOX
2132 ## ---------------- ##
2133 ## Cache variables. ##
2134 ## ---------------- ##
2135 _ASBOX
2136 echo
2137 # The following way of writing the cache mishandles newlines in values,
2138 (
2139 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2140 eval ac_val=\$$ac_var
2141 case $ac_val in #(
2142 *${as_nl}*)
2143 case $ac_var in #(
2144 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2145 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2146 esac
2147 case $ac_var in #(
2148 _ | IFS | as_nl) ;; #(
2149 *) $as_unset $ac_var ;;
2150 esac ;;
2151 esac
2152 done
2153 (set) 2>&1 |
2154 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2155 *${as_nl}ac_space=\ *)
2156 sed -n \
2157 "s/'\''/'\''\\\\'\'''\''/g;
2158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2159 ;; #(
2160 *)
2161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2162 ;;
2163 esac |
2164 sort
2165 )
2166 echo
2167
2168 cat <<\_ASBOX
2169 ## ----------------- ##
2170 ## Output variables. ##
2171 ## ----------------- ##
2172 _ASBOX
2173 echo
2174 for ac_var in $ac_subst_vars
2175 do
2176 eval ac_val=\$$ac_var
2177 case $ac_val in
2178 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2179 esac
2180 echo "$ac_var='\''$ac_val'\''"
2181 done | sort
2182 echo
2183
2184 if test -n "$ac_subst_files"; then
2185 cat <<\_ASBOX
2186 ## ------------------- ##
2187 ## File substitutions. ##
2188 ## ------------------- ##
2189 _ASBOX
2190 echo
2191 for ac_var in $ac_subst_files
2192 do
2193 eval ac_val=\$$ac_var
2194 case $ac_val in
2195 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2196 esac
2197 echo "$ac_var='\''$ac_val'\''"
2198 done | sort
2199 echo
2200 fi
2201
2202 if test -s confdefs.h; then
2203 cat <<\_ASBOX
2204 ## ----------- ##
2205 ## confdefs.h. ##
2206 ## ----------- ##
2207 _ASBOX
2208 echo
2209 cat confdefs.h
2210 echo
2211 fi
2212 test "$ac_signal" != 0 &&
2213 echo "$as_me: caught signal $ac_signal"
2214 echo "$as_me: exit $exit_status"
2215 } >&5
2216 rm -f core *.core core.conftest.* &&
2217 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2218 exit $exit_status
2219 ' 0
2220 for ac_signal in 1 2 13 15; do
2221 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2222 done
2223 ac_signal=0
2224
2225 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2226 rm -f -r conftest* confdefs.h
2227
2228 # Predefined preprocessor variables.
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_NAME "$PACKAGE_NAME"
2232 _ACEOF
2233
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2237 _ACEOF
2238
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_STRING "$PACKAGE_STRING"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2252 _ACEOF
2253
2254
2255 # Let the site file select an alternate cache file if it wants to.
2256 # Prefer explicitly selected file to automatically selected ones.
2257 if test -n "$CONFIG_SITE"; then
2258 set x "$CONFIG_SITE"
2259 elif test "x$prefix" != xNONE; then
2260 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2261 else
2262 set x "$ac_default_prefix/share/config.site" \
2263 "$ac_default_prefix/etc/config.site"
2264 fi
2265 shift
2266 for ac_site_file
2267 do
2268 if test -r "$ac_site_file"; then
2269 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2270 echo "$as_me: loading site script $ac_site_file" >&6;}
2271 sed 's/^/| /' "$ac_site_file" >&5
2272 . "$ac_site_file"
2273 fi
2274 done
2275
2276 if test -r "$cache_file"; then
2277 # Some versions of bash will fail to source /dev/null (special
2278 # files actually), so we avoid doing that.
2279 if test -f "$cache_file"; then
2280 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2281 echo "$as_me: loading cache $cache_file" >&6;}
2282 case $cache_file in
2283 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284 *) . "./$cache_file";;
2285 esac
2286 fi
2287 else
2288 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2289 echo "$as_me: creating cache $cache_file" >&6;}
2290 >$cache_file
2291 fi
2292
2293 # Check that the precious variables saved in the cache have kept the same
2294 # value.
2295 ac_cache_corrupted=false
2296 for ac_var in $ac_precious_vars; do
2297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298 eval ac_new_set=\$ac_env_${ac_var}_set
2299 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300 eval ac_new_val=\$ac_env_${ac_var}_value
2301 case $ac_old_set,$ac_new_set in
2302 set,)
2303 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2304 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305 ac_cache_corrupted=: ;;
2306 ,set)
2307 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2308 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,);;
2311 *)
2312 if test "x$ac_old_val" != "x$ac_new_val"; then
2313 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2314 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2315 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2316 echo "$as_me: former value: $ac_old_val" >&2;}
2317 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2318 echo "$as_me: current value: $ac_new_val" >&2;}
2319 ac_cache_corrupted=:
2320 fi;;
2321 esac
2322 # Pass precious variables to config.status.
2323 if test "$ac_new_set" = set; then
2324 case $ac_new_val in
2325 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2326 *) ac_arg=$ac_var=$ac_new_val ;;
2327 esac
2328 case " $ac_configure_args " in
2329 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2330 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2331 esac
2332 fi
2333 done
2334 if $ac_cache_corrupted; then
2335 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2336 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2337 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2338 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2339 { (exit 1); exit 1; }; }
2340 fi
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366 ac_ext=c
2367 ac_cpp='$CPP $CPPFLAGS'
2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2371
2372
2373
2374
2375
2376 ac_aux_dir=
2377 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378 if test -f "$ac_dir/install-sh"; then
2379 ac_aux_dir=$ac_dir
2380 ac_install_sh="$ac_aux_dir/install-sh -c"
2381 break
2382 elif test -f "$ac_dir/install.sh"; then
2383 ac_aux_dir=$ac_dir
2384 ac_install_sh="$ac_aux_dir/install.sh -c"
2385 break
2386 elif test -f "$ac_dir/shtool"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/shtool install -c"
2389 break
2390 fi
2391 done
2392 if test -z "$ac_aux_dir"; then
2393 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2394 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2395 { (exit 1); exit 1; }; }
2396 fi
2397
2398 # These three variables are undocumented and unsupported,
2399 # and are intended to be withdrawn in a future Autoconf release.
2400 # They can cause serious problems if a builder's source tree is in a directory
2401 # whose full name contains unusual characters.
2402 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2403 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2404 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2405
2406
2407 # Make sure we can run config.sub.
2408 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2409 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2410 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2411 { (exit 1); exit 1; }; }
2412
2413 { echo "$as_me:$LINENO: checking build system type" >&5
2414 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2415 if test "${ac_cv_build+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 else
2418 ac_build_alias=$build_alias
2419 test "x$ac_build_alias" = x &&
2420 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2421 test "x$ac_build_alias" = x &&
2422 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2423 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2424 { (exit 1); exit 1; }; }
2425 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2426 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2427 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2428 { (exit 1); exit 1; }; }
2429
2430 fi
2431 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2432 echo "${ECHO_T}$ac_cv_build" >&6; }
2433 case $ac_cv_build in
2434 *-*-*) ;;
2435 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2436 echo "$as_me: error: invalid value of canonical build" >&2;}
2437 { (exit 1); exit 1; }; };;
2438 esac
2439 build=$ac_cv_build
2440 ac_save_IFS=$IFS; IFS='-'
2441 set x $ac_cv_build
2442 shift
2443 build_cpu=$1
2444 build_vendor=$2
2445 shift; shift
2446 # Remember, the first character of IFS is used to create $*,
2447 # except with old shells:
2448 build_os=$*
2449 IFS=$ac_save_IFS
2450 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2451
2452
2453 { echo "$as_me:$LINENO: checking host system type" >&5
2454 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2455 if test "${ac_cv_host+set}" = set; then
2456 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 else
2458 if test "x$host_alias" = x; then
2459 ac_cv_host=$ac_cv_build
2460 else
2461 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2462 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2463 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2464 { (exit 1); exit 1; }; }
2465 fi
2466
2467 fi
2468 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2469 echo "${ECHO_T}$ac_cv_host" >&6; }
2470 case $ac_cv_host in
2471 *-*-*) ;;
2472 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2473 echo "$as_me: error: invalid value of canonical host" >&2;}
2474 { (exit 1); exit 1; }; };;
2475 esac
2476 host=$ac_cv_host
2477 ac_save_IFS=$IFS; IFS='-'
2478 set x $ac_cv_host
2479 shift
2480 host_cpu=$1
2481 host_vendor=$2
2482 shift; shift
2483 # Remember, the first character of IFS is used to create $*,
2484 # except with old shells:
2485 host_os=$*
2486 IFS=$ac_save_IFS
2487 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2488
2489
2490 { echo "$as_me:$LINENO: checking target system type" >&5
2491 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2492 if test "${ac_cv_target+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test "x$target_alias" = x; then
2496 ac_cv_target=$ac_cv_host
2497 else
2498 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2499 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2500 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2501 { (exit 1); exit 1; }; }
2502 fi
2503
2504 fi
2505 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2506 echo "${ECHO_T}$ac_cv_target" >&6; }
2507 case $ac_cv_target in
2508 *-*-*) ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2510 echo "$as_me: error: invalid value of canonical target" >&2;}
2511 { (exit 1); exit 1; }; };;
2512 esac
2513 target=$ac_cv_target
2514 ac_save_IFS=$IFS; IFS='-'
2515 set x $ac_cv_target
2516 shift
2517 target_cpu=$1
2518 target_vendor=$2
2519 shift; shift
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2522 target_os=$*
2523 IFS=$ac_save_IFS
2524 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2525
2526
2527 # The aliases save the names the user supplied, while $host etc.
2528 # will get canonicalized.
2529 test -n "$target_alias" &&
2530 test "$program_prefix$program_suffix$program_transform_name" = \
2531 NONENONEs,x,x, &&
2532 program_prefix=${target_alias}-
2533
2534
2535
2536 wx_major_version_number=2
2537 wx_minor_version_number=9
2538 wx_release_number=0
2539 wx_subrelease_number=0
2540
2541 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2542 WX_VERSION=$WX_RELEASE.$wx_release_number
2543 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2544
2545 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2546
2547
2548 wx_top_builddir="`pwd`"
2549
2550
2551
2552
2553 USE_UNIX=1
2554 USE_OS2=0
2555 USE_WIN32=0
2556 USE_DOS=0
2557 USE_BEOS=0
2558 USE_MAC=0
2559
2560 USE_AIX=
2561 USE_BSD= USE_DARWIN= USE_FREEBSD=
2562 USE_GNU= USE_HPUX=
2563 USE_LINUX=
2564 USE_NETBSD=
2565 USE_OPENBSD=
2566 USE_OSF= USE_SGI=
2567 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2568 USE_ULTRIX=
2569 USE_UNIXWARE=
2570
2571 USE_ALPHA=
2572
2573 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2574
2575 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2576
2577 DEFAULT_wxUSE_COCOA=0
2578 DEFAULT_wxUSE_GTK=0
2579 DEFAULT_wxUSE_MAC=0
2580 DEFAULT_wxUSE_MGL=0
2581 DEFAULT_wxUSE_MICROWIN=0
2582 DEFAULT_wxUSE_MOTIF=0
2583 DEFAULT_wxUSE_MSW=0
2584 DEFAULT_wxUSE_PM=0
2585 DEFAULT_wxUSE_X11=0
2586 DEFAULT_wxUSE_DFB=0
2587
2588 DEFAULT_DEFAULT_wxUSE_COCOA=0
2589 DEFAULT_DEFAULT_wxUSE_GTK=0
2590 DEFAULT_DEFAULT_wxUSE_MAC=0
2591 DEFAULT_DEFAULT_wxUSE_MGL=0
2592 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2593 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2594 DEFAULT_DEFAULT_wxUSE_MSW=0
2595 DEFAULT_DEFAULT_wxUSE_PM=0
2596 DEFAULT_DEFAULT_wxUSE_X11=0
2597 DEFAULT_DEFAULT_wxUSE_DFB=0
2598
2599 PROGRAM_EXT=
2600 SO_SUFFIX=so
2601 SAMPLES_RPATH_FLAG=
2602 SAMPLES_RPATH_POSTLINK=
2603
2604 DEFAULT_STD_FLAG=yes
2605
2606 case "${host}" in
2607 *-hp-hpux* )
2608 USE_HPUX=1
2609 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2610 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2611 SO_SUFFIX=sl
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __HPUX__ 1
2614 _ACEOF
2615
2616
2617 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2618 ;;
2619 *-*-linux* )
2620 USE_LINUX=1
2621 cat >>confdefs.h <<\_ACEOF
2622 #define __LINUX__ 1
2623 _ACEOF
2624
2625 TMP=`uname -m`
2626 if test "x$TMP" = "xalpha"; then
2627 USE_ALPHA=1
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __ALPHA__ 1
2630 _ACEOF
2631
2632 fi
2633 DEFAULT_DEFAULT_wxUSE_GTK=1
2634 ;;
2635 *-*-gnu* | *-*-k*bsd*-gnu )
2636 USE_GNU=1
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 *-*-irix5* | *-*-irix6* )
2648 USE_SGI=1
2649 USE_SVR4=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __SGI__ 1
2652 _ACEOF
2653
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SVR4__ 1
2656 _ACEOF
2657
2658 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2659 ;;
2660 *-*-solaris2* )
2661 USE_SUN=1
2662 USE_SOLARIS=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SUN__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SOLARIS__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SVR4__ 1
2674 _ACEOF
2675
2676 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2677 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2678 ;;
2679 *-*-sunos4* )
2680 USE_SUN=1
2681 USE_SUNOS=1
2682 USE_BSD=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SUN__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUNOS__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __BSD__ 1
2693 _ACEOF
2694
2695 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2696 ;;
2697 *-*-freebsd*)
2698 USE_BSD=1
2699 USE_FREEBSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __FREEBSD__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 ;;
2710 *-*-openbsd*|*-*-mirbsd*)
2711 USE_BSD=1
2712 USE_OPENBSD=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __OPENBSD__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __BSD__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_GTK=1
2722 ;;
2723 *-*-netbsd*)
2724 USE_BSD=1
2725 USE_NETBSD=1
2726 cat >>confdefs.h <<\_ACEOF
2727 #define __NETBSD__ 1
2728 _ACEOF
2729
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __BSD__ 1
2732 _ACEOF
2733
2734 DEFAULT_DEFAULT_wxUSE_GTK=1
2735 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2736
2737 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2738 ;;
2739 *-*-osf* )
2740 USE_ALPHA=1
2741 USE_OSF=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __ALPHA__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __OSF__ 1
2748 _ACEOF
2749
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2751 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2752 ;;
2753 *-*-dgux5* )
2754 USE_ALPHA=1
2755 USE_SVR4=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SVR4__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 ;;
2766 *-*-sysv5* )
2767 USE_SYSV=1
2768 USE_SVR4=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SYSV__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SVR4__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2778 ;;
2779 *-*-aix* )
2780 USE_AIX=1
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 SO_SUFFIX=a
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __AIX__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __SYSV__ 1
2790 _ACEOF
2791
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __SVR4__ 1
2794 _ACEOF
2795
2796 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2797 ;;
2798
2799 *-*-*UnixWare*)
2800 USE_SYSV=1
2801 USE_SVR4=1
2802 USE_UNIXWARE=1
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __UNIXWARE__ 1
2805 _ACEOF
2806
2807 ;;
2808
2809 *-*-cygwin* | *-*-mingw32* )
2810 SO_SUFFIX=dll
2811 PROGRAM_EXT=".exe"
2812 DEFAULT_DEFAULT_wxUSE_MSW=1
2813 ;;
2814
2815 *-pc-msdosdjgpp )
2816 USE_UNIX=0
2817 USE_DOS=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __DOS__ 1
2820 _ACEOF
2821
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_MGL=1
2824 ;;
2825
2826 *-pc-os2_emx | *-pc-os2-emx )
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __EMX__ 1
2829 _ACEOF
2830
2831 USE_OS2=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __OS2__ 1
2834 _ACEOF
2835
2836 PROGRAM_EXT=".exe"
2837 DEFAULT_DEFAULT_wxUSE_PM=1
2838 CXX=gcc
2839 LDFLAGS="$LDFLAGS -Zcrtdll"
2840 ac_executable_extensions=".exe"
2841 export ac_executable_extensions
2842 ac_save_IFS="$IFS"
2843 IFS='\\'
2844 ac_TEMP_PATH=
2845 for ac_dir in $PATH; do
2846 IFS=$ac_save_IFS
2847 if test -z "$ac_TEMP_PATH"; then
2848 ac_TEMP_PATH="$ac_dir"
2849 else
2850 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2851 fi
2852 done
2853 export PATH="$ac_TEMP_PATH"
2854 unset ac_TEMP_PATH
2855 DEFAULT_STD_FLAG=no
2856 ;;
2857
2858 *-*-darwin* )
2859 USE_BSD=1
2860 USE_DARWIN=1
2861 SO_SUFFIX=dylib
2862 cat >>confdefs.h <<\_ACEOF
2863 #define __BSD__ 1
2864 _ACEOF
2865
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __DARWIN__ 1
2868 _ACEOF
2869
2870 cat >>confdefs.h <<\_ACEOF
2871 #define TARGET_CARBON 1
2872 _ACEOF
2873
2874 DEFAULT_DEFAULT_wxUSE_MAC=1
2875 DEFAULT_STD_FLAG=no
2876 ;;
2877 powerpc-apple-macos* )
2878 USE_UNIX=0
2879 ac_cv_c_bigendian=yes
2880 SO_SUFFIX=shlib
2881 DEFAULT_DEFAULT_wxUSE_MAC=1
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-beos* )
2886 USE_BEOS=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BEOS__ 1
2889 _ACEOF
2890
2891 ;;
2892
2893 *)
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2898
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2901 esac
2902
2903
2904
2905
2906 wx_arg_cache_file="configarg.cache"
2907 echo "loading argument cache $wx_arg_cache_file"
2908 rm -f ${wx_arg_cache_file}.tmp
2909 touch ${wx_arg_cache_file}.tmp
2910 touch ${wx_arg_cache_file}
2911
2912
2913 DEFAULT_wxUSE_ALL_FEATURES=yes
2914
2915 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2916 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2917
2918 DEFAULT_wxUSE_DMALLOC=no
2919 DEFAULT_wxUSE_LIBGNOMEVFS=no
2920 DEFAULT_wxUSE_LIBHILDON=no
2921 DEFAULT_wxUSE_LIBMSPACK=no
2922 DEFAULT_wxUSE_LIBSDL=no
2923 DEFAULT_wxUSE_ODBC=no
2924 DEFAULT_wxUSE_OPENGL=no
2925
2926 DEFAULT_wxUSE_ACCESSIBILITY=no
2927 DEFAULT_wxUSE_DATAVIEWCTRL=no
2928 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2929 DEFAULT_wxUSE_MEDIACTRL=no
2930 DEFAULT_wxUSE_TAB_DIALOG=no
2931
2932 DEFAULT_wxUSE_UNICODE_UTF8=auto
2933 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2934
2935 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2936
2937 DEFAULT_wxUSE_GTK2=yes
2938
2939 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2940
2941
2942 for toolkit in `echo $ALL_TOOLKITS`; do
2943 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2944 if test "x$LINE" != "x" ; then
2945 has_toolkit_in_cache=1
2946 eval "DEFAULT_$LINE"
2947 eval "CACHE_$toolkit=1"
2948
2949 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 eval "DEFAULT_$LINE"
2952 fi
2953 fi
2954 done
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 no_cache=0
2973 # Check whether --enable-gui was given.
2974 if test "${enable_gui+set}" = set; then
2975 enableval=$enable_gui;
2976 if test "$enableval" = yes; then
2977 wx_cv_use_gui='wxUSE_GUI=yes'
2978 else
2979 wx_cv_use_gui='wxUSE_GUI=no'
2980 fi
2981
2982 else
2983
2984 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2992
2993 fi
2994
2995
2996 eval "$wx_cv_use_gui"
2997 if test "$no_cache" != 1; then
2998 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
2999 fi
3000
3001 if test x"$enablestring" = xdisable; then
3002 if test $wxUSE_GUI = yes; then
3003 result=no
3004 else
3005 result=yes
3006 fi
3007 else
3008 result=$wxUSE_GUI
3009 fi
3010
3011 { echo "$as_me:$LINENO: result: $result" >&5
3012 echo "${ECHO_T}$result" >&6; }
3013
3014
3015 enablestring=
3016 defaultval=
3017 if test -z "$defaultval"; then
3018 if test x"$enablestring" = xdisable; then
3019 defaultval=yes
3020 else
3021 defaultval=no
3022 fi
3023 fi
3024
3025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3026 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3027 no_cache=0
3028 # Check whether --enable-monolithic was given.
3029 if test "${enable_monolithic+set}" = set; then
3030 enableval=$enable_monolithic;
3031 if test "$enableval" = yes; then
3032 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3033 else
3034 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3035 fi
3036
3037 else
3038
3039 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x ; then
3041 eval "DEFAULT_$LINE"
3042 else
3043 no_cache=1
3044 fi
3045
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3047
3048 fi
3049
3050
3051 eval "$wx_cv_use_monolithic"
3052 if test "$no_cache" != 1; then
3053 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3054 fi
3055
3056 if test x"$enablestring" = xdisable; then
3057 if test $wxUSE_MONOLITHIC = yes; then
3058 result=no
3059 else
3060 result=yes
3061 fi
3062 else
3063 result=$wxUSE_MONOLITHIC
3064 fi
3065
3066 { echo "$as_me:$LINENO: result: $result" >&5
3067 echo "${ECHO_T}$result" >&6; }
3068
3069
3070 enablestring=
3071 defaultval=
3072 if test -z "$defaultval"; then
3073 if test x"$enablestring" = xdisable; then
3074 defaultval=yes
3075 else
3076 defaultval=no
3077 fi
3078 fi
3079
3080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3081 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3082 no_cache=0
3083 # Check whether --enable-plugins was given.
3084 if test "${enable_plugins+set}" = set; then
3085 enableval=$enable_plugins;
3086 if test "$enableval" = yes; then
3087 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3088 else
3089 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3090 fi
3091
3092 else
3093
3094 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x ; then
3096 eval "DEFAULT_$LINE"
3097 else
3098 no_cache=1
3099 fi
3100
3101 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3102
3103 fi
3104
3105
3106 eval "$wx_cv_use_plugins"
3107 if test "$no_cache" != 1; then
3108 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test x"$enablestring" = xdisable; then
3112 if test $wxUSE_PLUGINS = yes; then
3113 result=no
3114 else
3115 result=yes
3116 fi
3117 else
3118 result=$wxUSE_PLUGINS
3119 fi
3120
3121 { echo "$as_me:$LINENO: result: $result" >&5
3122 echo "${ECHO_T}$result" >&6; }
3123
3124
3125 withstring=without
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3128 no_cache=0
3129
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval=$with_subdirs;
3133 if test "$withval" = yes; then
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3135 else
3136 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3137 fi
3138
3139 else
3140
3141 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x ; then
3143 eval "DEFAULT_$LINE"
3144 else
3145 no_cache=1
3146 fi
3147
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
3149
3150 fi
3151
3152
3153 eval "$wx_cv_use_subdirs"
3154 if test "$no_cache" != 1; then
3155 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3156 fi
3157
3158 if test x"$withstring" = xwithout; then
3159 if test $wxWITH_SUBDIRS = yes; then
3160 result=no
3161 else
3162 result=yes
3163 fi
3164 else
3165 result=$wxWITH_SUBDIRS
3166 fi
3167
3168 { echo "$as_me:$LINENO: result: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3170
3171
3172 # Check whether --with-flavour was given.
3173 if test "${with_flavour+set}" = set; then
3174 withval=$with_flavour; WX_FLAVOUR="$withval"
3175 fi
3176
3177
3178 enablestring=
3179 defaultval=
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3182 defaultval=yes
3183 else
3184 defaultval=no
3185 fi
3186 fi
3187
3188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3189 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3190 no_cache=0
3191 # Check whether --enable-official_build was given.
3192 if test "${enable_official_build+set}" = set; then
3193 enableval=$enable_official_build;
3194 if test "$enableval" = yes; then
3195 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3196 else
3197 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3198 fi
3199
3200 else
3201
3202 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3205 else
3206 no_cache=1
3207 fi
3208
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3210
3211 fi
3212
3213
3214 eval "$wx_cv_use_official_build"
3215 if test "$no_cache" != 1; then
3216 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3217 fi
3218
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_OFFICIAL_BUILD = yes; then
3221 result=no
3222 else
3223 result=yes
3224 fi
3225 else
3226 result=$wxUSE_OFFICIAL_BUILD
3227 fi
3228
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3231
3232 # Check whether --enable-vendor was given.
3233 if test "${enable_vendor+set}" = set; then
3234 enableval=$enable_vendor; VENDOR="$enableval"
3235 fi
3236
3237 if test "x$VENDOR" = "x"; then
3238 VENDOR="custom"
3239 fi
3240
3241
3242 enablestring=disable
3243 defaultval=
3244 if test -z "$defaultval"; then
3245 if test x"$enablestring" = xdisable; then
3246 defaultval=yes
3247 else
3248 defaultval=no
3249 fi
3250 fi
3251
3252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3253 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3254 no_cache=0
3255 # Check whether --enable-all-features was given.
3256 if test "${enable_all_features+set}" = set; then
3257 enableval=$enable_all_features;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3260 else
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3262 fi
3263
3264 else
3265
3266 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x ; then
3268 eval "DEFAULT_$LINE"
3269 else
3270 no_cache=1
3271 fi
3272
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3274
3275 fi
3276
3277
3278 eval "$wx_cv_use_all_features"
3279 if test "$no_cache" != 1; then
3280 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3281 fi
3282
3283 if test x"$enablestring" = xdisable; then
3284 if test $wxUSE_ALL_FEATURES = yes; then
3285 result=no
3286 else
3287 result=yes
3288 fi
3289 else
3290 result=$wxUSE_ALL_FEATURES
3291 fi
3292
3293 { echo "$as_me:$LINENO: result: $result" >&5
3294 echo "${ECHO_T}$result" >&6; }
3295
3296
3297
3298 if test "$wxUSE_GUI" = "yes"; then
3299
3300
3301 enablestring=
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 no_cache=0
3314 # Check whether --enable-universal was given.
3315 if test "${enable_universal+set}" = set; then
3316 enableval=$enable_universal;
3317 if test "$enableval" = yes; then
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3319 else
3320 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3321 fi
3322
3323 else
3324
3325 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3333
3334 fi
3335
3336
3337 eval "$wx_cv_use_universal"
3338 if test "$no_cache" != 1; then
3339 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3340 fi
3341
3342 if test x"$enablestring" = xdisable; then
3343 if test $wxUSE_UNIVERSAL = yes; then
3344 result=no
3345 else
3346 result=yes
3347 fi
3348 else
3349 result=$wxUSE_UNIVERSAL
3350 fi
3351
3352 { echo "$as_me:$LINENO: result: $result" >&5
3353 echo "${ECHO_T}$result" >&6; }
3354
3355 if test "$wxUSE_UNIVERSAL" = "yes"; then
3356
3357 # Check whether --with-themes was given.
3358 if test "${with_themes+set}" = set; then
3359 withval=$with_themes; wxUNIV_THEMES="$withval"
3360 fi
3361
3362 fi
3363
3364
3365 # Check whether --with-gtk was given.
3366 if test "${with_gtk+set}" = set; then
3367 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-motif was given.
3372 if test "${with_motif+set}" = set; then
3373 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-mac was given.
3378 if test "${with_mac+set}" = set; then
3379 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-cocoa was given.
3384 if test "${with_cocoa+set}" = set; then
3385 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-wine was given.
3390 if test "${with_wine+set}" = set; then
3391 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3392 fi
3393
3394
3395 # Check whether --with-msw was given.
3396 if test "${with_msw+set}" = set; then
3397 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-pm was given.
3402 if test "${with_pm+set}" = set; then
3403 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mgl was given.
3408 if test "${with_mgl+set}" = set; then
3409 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-directfb was given.
3414 if test "${with_directfb+set}" = set; then
3415 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-microwin was given.
3420 if test "${with_microwin+set}" = set; then
3421 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-x11 was given.
3426 if test "${with_x11+set}" = set; then
3427 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 enablestring=
3432 defaultval=
3433 if test -z "$defaultval"; then
3434 if test x"$enablestring" = xdisable; then
3435 defaultval=yes
3436 else
3437 defaultval=no
3438 fi
3439 fi
3440
3441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3443 no_cache=0
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX=yes'
3449 else
3450 wx_cv_use_nanox='wxUSE_NANOX=no'
3451 fi
3452
3453 else
3454
3455 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x ; then
3457 eval "DEFAULT_$LINE"
3458 else
3459 no_cache=1
3460 fi
3461
3462 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3463
3464 fi
3465
3466
3467 eval "$wx_cv_use_nanox"
3468 if test "$no_cache" != 1; then
3469 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = yes; then
3474 result=no
3475 else
3476 result=yes
3477 fi
3478 else
3479 result=$wxUSE_NANOX
3480 fi
3481
3482 { echo "$as_me:$LINENO: result: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3484
3485
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3489 fi
3490
3491
3492 enablestring=
3493 defaultval=
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3496 defaultval=yes
3497 else
3498 defaultval=no
3499 fi
3500 fi
3501
3502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3504 no_cache=0
3505 # Check whether --enable-gpe was given.
3506 if test "${enable_gpe+set}" = set; then
3507 enableval=$enable_gpe;
3508 if test "$enableval" = yes; then
3509 wx_cv_use_gpe='wxUSE_GPE=yes'
3510 else
3511 wx_cv_use_gpe='wxUSE_GPE=no'
3512 fi
3513
3514 else
3515
3516 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3524
3525 fi
3526
3527
3528 eval "$wx_cv_use_gpe"
3529 if test "$no_cache" != 1; then
3530 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3531 fi
3532
3533 if test x"$enablestring" = xdisable; then
3534 if test $wxUSE_GPE = yes; then
3535 result=no
3536 else
3537 result=yes
3538 fi
3539 else
3540 result=$wxUSE_GPE
3541 fi
3542
3543 { echo "$as_me:$LINENO: result: $result" >&5
3544 echo "${ECHO_T}$result" >&6; }
3545
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551 no_cache=0
3552
3553 # Check whether --with-libpng was given.
3554 if test "${with_libpng+set}" = set; then
3555 withval=$with_libpng;
3556 if test "$withval" = yes; then
3557 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3558 elif test "$withval" = no; then
3559 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3560 elif test "$withval" = sys; then
3561 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3562 elif test "$withval" = builtin; then
3563 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3564 else
3565 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3566 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3567 { (exit 1); exit 1; }; }
3568 fi
3569
3570 else
3571
3572 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3580
3581 fi
3582
3583
3584 eval "$wx_cv_use_libpng"
3585 if test "$no_cache" != 1; then
3586 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3610 no_cache=0
3611
3612 # Check whether --with-libjpeg was given.
3613 if test "${with_libjpeg+set}" = set; then
3614 withval=$with_libjpeg;
3615 if test "$withval" = yes; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3617 elif test "$withval" = no; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3619 elif test "$withval" = sys; then
3620 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3621 elif test "$withval" = builtin; then
3622 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3623 else
3624 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3625 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3626 { (exit 1); exit 1; }; }
3627 fi
3628
3629 else
3630
3631 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3639
3640 fi
3641
3642
3643 eval "$wx_cv_use_libjpeg"
3644 if test "$no_cache" != 1; then
3645 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3646 fi
3647
3648 if test "$wxUSE_LIBJPEG" = yes; then
3649 { echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = no; then
3652 { echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = sys; then
3655 { echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = builtin; then
3658 { echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6; }
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666
3667 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3668 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3669 no_cache=0
3670
3671 # Check whether --with-libtiff was given.
3672 if test "${with_libtiff+set}" = set; then
3673 withval=$with_libtiff;
3674 if test "$withval" = yes; then
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3676 elif test "$withval" = no; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3678 elif test "$withval" = sys; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3680 elif test "$withval" = builtin; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688 else
3689
3690 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3693 else
3694 no_cache=1
3695 fi
3696
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3698
3699 fi
3700
3701
3702 eval "$wx_cv_use_libtiff"
3703 if test "$no_cache" != 1; then
3704 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3705 fi
3706
3707 if test "$wxUSE_LIBTIFF" = yes; then
3708 { echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBTIFF" = no; then
3711 { echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6; }
3713 elif test "$wxUSE_LIBTIFF" = sys; then
3714 { echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6; }
3716 elif test "$wxUSE_LIBTIFF" = builtin; then
3717 { echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6; }
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3727 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3728 no_cache=0
3729
3730 # Check whether --with-libxpm was given.
3731 if test "${with_libxpm+set}" = set; then
3732 withval=$with_libxpm;
3733 if test "$withval" = yes; then
3734 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3735 elif test "$withval" = no; then
3736 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3737 elif test "$withval" = sys; then
3738 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3739 elif test "$withval" = builtin; then
3740 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3741 else
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3745 fi
3746
3747 else
3748
3749 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3757
3758 fi
3759
3760
3761 eval "$wx_cv_use_libxpm"
3762 if test "$no_cache" != 1; then
3763 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_LIBXPM" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBXPM" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBXPM" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBXPM" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 withstring=
3786 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3787 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3788 no_cache=0
3789
3790 # Check whether --with-libmspack was given.
3791 if test "${with_libmspack+set}" = set; then
3792 withval=$with_libmspack;
3793 if test "$withval" = yes; then
3794 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3795 else
3796 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3797 fi
3798
3799 else
3800
3801 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x ; then
3803 eval "DEFAULT_$LINE"
3804 else
3805 no_cache=1
3806 fi
3807
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3809
3810 fi
3811
3812
3813 eval "$wx_cv_use_libmspack"
3814 if test "$no_cache" != 1; then
3815 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3816 fi
3817
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBMSPACK = yes; then
3820 result=no
3821 else
3822 result=yes
3823 fi
3824 else
3825 result=$wxUSE_LIBMSPACK
3826 fi
3827
3828 { echo "$as_me:$LINENO: result: $result" >&5
3829 echo "${ECHO_T}$result" >&6; }
3830
3831
3832 withstring=without
3833 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3834 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3835 no_cache=0
3836
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3842 else
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3844 fi
3845
3846 else
3847
3848 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3849 if test "x$LINE" != x ; then
3850 eval "DEFAULT_$LINE"
3851 else
3852 no_cache=1
3853 fi
3854
3855 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3856
3857 fi
3858
3859
3860 eval "$wx_cv_use_gnomeprint"
3861 if test "$no_cache" != 1; then
3862 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test x"$withstring" = xwithout; then
3866 if test $wxUSE_LIBGNOMEPRINT = yes; then
3867 result=no
3868 else
3869 result=yes
3870 fi
3871 else
3872 result=$wxUSE_LIBGNOMEPRINT
3873 fi
3874
3875 { echo "$as_me:$LINENO: result: $result" >&5
3876 echo "${ECHO_T}$result" >&6; }
3877
3878
3879 withstring=
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3882 no_cache=0
3883
3884 # Check whether --with-gnomevfs was given.
3885 if test "${with_gnomevfs+set}" = set; then
3886 withval=$with_gnomevfs;
3887 if test "$withval" = yes; then
3888 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3889 else
3890 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3903
3904 fi
3905
3906
3907 eval "$wx_cv_use_gnomevfs"
3908 if test "$no_cache" != 1; then
3909 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3910 fi
3911
3912 if test x"$withstring" = xwithout; then
3913 if test $wxUSE_LIBGNOMEVFS = yes; then
3914 result=no
3915 else
3916 result=yes
3917 fi
3918 else
3919 result=$wxUSE_LIBGNOMEVFS
3920 fi
3921
3922 { echo "$as_me:$LINENO: result: $result" >&5
3923 echo "${ECHO_T}$result" >&6; }
3924
3925
3926 withstring=
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3929 no_cache=0
3930
3931 # Check whether --with-hildon was given.
3932 if test "${with_hildon+set}" = set; then
3933 withval=$with_hildon;
3934 if test "$withval" = yes; then
3935 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3936 else
3937 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3938 fi
3939
3940 else
3941
3942 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3950
3951 fi
3952
3953
3954 eval "$wx_cv_use_hildon"
3955 if test "$no_cache" != 1; then
3956 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3957 fi
3958
3959 if test x"$withstring" = xwithout; then
3960 if test $wxUSE_LIBHILDON = yes; then
3961 result=no
3962 else
3963 result=yes
3964 fi
3965 else
3966 result=$wxUSE_LIBHILDON
3967 fi
3968
3969 { echo "$as_me:$LINENO: result: $result" >&5
3970 echo "${ECHO_T}$result" >&6; }
3971
3972
3973 withstring=
3974 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3975 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3976 no_cache=0
3977
3978 # Check whether --with-opengl was given.
3979 if test "${with_opengl+set}" = set; then
3980 withval=$with_opengl;
3981 if test "$withval" = yes; then
3982 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3983 else
3984 wx_cv_use_opengl='wxUSE_OPENGL=no'
3985 fi
3986
3987 else
3988
3989 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 else
3993 no_cache=1
3994 fi
3995
3996 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3997
3998 fi
3999
4000
4001 eval "$wx_cv_use_opengl"
4002 if test "$no_cache" != 1; then
4003 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4004 fi
4005
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_OPENGL = yes; then
4008 result=no
4009 else
4010 result=yes
4011 fi
4012 else
4013 result=$wxUSE_OPENGL
4014 fi
4015
4016 { echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4018
4019
4020 fi
4021
4022
4023 withstring=
4024 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4025 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4026 no_cache=0
4027
4028 # Check whether --with-dmalloc was given.
4029 if test "${with_dmalloc+set}" = set; then
4030 withval=$with_dmalloc;
4031 if test "$withval" = yes; then
4032 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4033 else
4034 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4035 fi
4036
4037 else
4038
4039 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
4047
4048 fi
4049
4050
4051 eval "$wx_cv_use_dmalloc"
4052 if test "$no_cache" != 1; then
4053 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4054 fi
4055
4056 if test x"$withstring" = xwithout; then
4057 if test $wxUSE_DMALLOC = yes; then
4058 result=no
4059 else
4060 result=yes
4061 fi
4062 else
4063 result=$wxUSE_DMALLOC
4064 fi
4065
4066 { echo "$as_me:$LINENO: result: $result" >&5
4067 echo "${ECHO_T}$result" >&6; }
4068
4069
4070 withstring=
4071 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4072 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4073 no_cache=0
4074
4075 # Check whether --with-sdl was given.
4076 if test "${with_sdl+set}" = set; then
4077 withval=$with_sdl;
4078 if test "$withval" = yes; then
4079 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4080 else
4081 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4082 fi
4083
4084 else
4085
4086 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
4094
4095 fi
4096
4097
4098 eval "$wx_cv_use_sdl"
4099 if test "$no_cache" != 1; then
4100 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4101 fi
4102
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBSDL = yes; then
4105 result=no
4106 else
4107 result=yes
4108 fi
4109 else
4110 result=$wxUSE_LIBSDL
4111 fi
4112
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4115
4116
4117 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4118 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4119 no_cache=0
4120
4121 # Check whether --with-regex was given.
4122 if test "${with_regex+set}" = set; then
4123 withval=$with_regex;
4124 if test "$withval" = yes; then
4125 wx_cv_use_regex='wxUSE_REGEX=yes'
4126 elif test "$withval" = no; then
4127 wx_cv_use_regex='wxUSE_REGEX=no'
4128 elif test "$withval" = sys; then
4129 wx_cv_use_regex='wxUSE_REGEX=sys'
4130 elif test "$withval" = builtin; then
4131 wx_cv_use_regex='wxUSE_REGEX=builtin'
4132 else
4133 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4134 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4135 { (exit 1); exit 1; }; }
4136 fi
4137
4138 else
4139
4140 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4148
4149 fi
4150
4151
4152 eval "$wx_cv_use_regex"
4153 if test "$no_cache" != 1; then
4154 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4155 fi
4156
4157 if test "$wxUSE_REGEX" = yes; then
4158 { echo "$as_me:$LINENO: result: yes" >&5
4159 echo "${ECHO_T}yes" >&6; }
4160 elif test "$wxUSE_REGEX" = no; then
4161 { echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6; }
4163 elif test "$wxUSE_REGEX" = sys; then
4164 { echo "$as_me:$LINENO: result: system version" >&5
4165 echo "${ECHO_T}system version" >&6; }
4166 elif test "$wxUSE_REGEX" = builtin; then
4167 { echo "$as_me:$LINENO: result: builtin version" >&5
4168 echo "${ECHO_T}builtin version" >&6; }
4169 else
4170 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4171 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4172 { (exit 1); exit 1; }; }
4173 fi
4174
4175
4176 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4177 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4178 no_cache=0
4179
4180 # Check whether --with-zlib was given.
4181 if test "${with_zlib+set}" = set; then
4182 withval=$with_zlib;
4183 if test "$withval" = yes; then
4184 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4185 elif test "$withval" = no; then
4186 wx_cv_use_zlib='wxUSE_ZLIB=no'
4187 elif test "$withval" = sys; then
4188 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4189 elif test "$withval" = builtin; then
4190 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4191 else
4192 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4193 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4194 { (exit 1); exit 1; }; }
4195 fi
4196
4197 else
4198
4199 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x ; then
4201 eval "DEFAULT_$LINE"
4202 else
4203 no_cache=1
4204 fi
4205
4206 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4207
4208 fi
4209
4210
4211 eval "$wx_cv_use_zlib"
4212 if test "$no_cache" != 1; then
4213 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_ZLIB" = yes; then
4217 { echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_ZLIB" = no; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 elif test "$wxUSE_ZLIB" = sys; then
4223 { echo "$as_me:$LINENO: result: system version" >&5
4224 echo "${ECHO_T}system version" >&6; }
4225 elif test "$wxUSE_ZLIB" = builtin; then
4226 { echo "$as_me:$LINENO: result: builtin version" >&5
4227 echo "${ECHO_T}builtin version" >&6; }
4228 else
4229 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4230 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4232 fi
4233
4234
4235 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4236 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4237 no_cache=0
4238
4239 # Check whether --with-odbc was given.
4240 if test "${with_odbc+set}" = set; then
4241 withval=$with_odbc;
4242 if test "$withval" = yes; then
4243 wx_cv_use_odbc='wxUSE_ODBC=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_odbc='wxUSE_ODBC=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_odbc='wxUSE_ODBC=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4266
4267 fi
4268
4269
4270 eval "$wx_cv_use_odbc"
4271 if test "$no_cache" != 1; then
4272 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4273 fi
4274
4275 if test "$wxUSE_ODBC" = yes; then
4276 { echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6; }
4278 elif test "$wxUSE_ODBC" = no; then
4279 { echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6; }
4281 elif test "$wxUSE_ODBC" = sys; then
4282 { echo "$as_me:$LINENO: result: system version" >&5
4283 echo "${ECHO_T}system version" >&6; }
4284 elif test "$wxUSE_ODBC" = builtin; then
4285 { echo "$as_me:$LINENO: result: builtin version" >&5
4286 echo "${ECHO_T}builtin version" >&6; }
4287 else
4288 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4289 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4290 { (exit 1); exit 1; }; }
4291 fi
4292
4293
4294 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4295 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4296 no_cache=0
4297
4298 # Check whether --with-expat was given.
4299 if test "${with_expat+set}" = set; then
4300 withval=$with_expat;
4301 if test "$withval" = yes; then
4302 wx_cv_use_expat='wxUSE_EXPAT=yes'
4303 elif test "$withval" = no; then
4304 wx_cv_use_expat='wxUSE_EXPAT=no'
4305 elif test "$withval" = sys; then
4306 wx_cv_use_expat='wxUSE_EXPAT=sys'
4307 elif test "$withval" = builtin; then
4308 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4309 else
4310 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4311 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4312 { (exit 1); exit 1; }; }
4313 fi
4314
4315 else
4316
4317 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x ; then
4319 eval "DEFAULT_$LINE"
4320 else
4321 no_cache=1
4322 fi
4323
4324 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4325
4326 fi
4327
4328
4329 eval "$wx_cv_use_expat"
4330 if test "$no_cache" != 1; then
4331 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4332 fi
4333
4334 if test "$wxUSE_EXPAT" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_EXPAT" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_EXPAT" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_EXPAT" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4346 else
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4350 fi
4351
4352
4353
4354
4355 enablestring=disable
4356 defaultval=
4357 if test -z "$defaultval"; then
4358 if test x"$enablestring" = xdisable; then
4359 defaultval=yes
4360 else
4361 defaultval=no
4362 fi
4363 fi
4364
4365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4366 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4367 no_cache=0
4368 # Check whether --enable-shared was given.
4369 if test "${enable_shared+set}" = set; then
4370 enableval=$enable_shared;
4371 if test "$enableval" = yes; then
4372 wx_cv_use_shared='wxUSE_SHARED=yes'
4373 else
4374 wx_cv_use_shared='wxUSE_SHARED=no'
4375 fi
4376
4377 else
4378
4379 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4382 else
4383 no_cache=1
4384 fi
4385
4386 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4387
4388 fi
4389
4390
4391 eval "$wx_cv_use_shared"
4392 if test "$no_cache" != 1; then
4393 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4394 fi
4395
4396 if test x"$enablestring" = xdisable; then
4397 if test $wxUSE_SHARED = yes; then
4398 result=no
4399 else
4400 result=yes
4401 fi
4402 else
4403 result=$wxUSE_SHARED
4404 fi
4405
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4408
4409
4410 enablestring=disable
4411 defaultval=
4412 if test -z "$defaultval"; then
4413 if test x"$enablestring" = xdisable; then
4414 defaultval=yes
4415 else
4416 defaultval=no
4417 fi
4418 fi
4419
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4422 no_cache=0
4423 # Check whether --enable-optimise was given.
4424 if test "${enable_optimise+set}" = set; then
4425 enableval=$enable_optimise;
4426 if test "$enableval" = yes; then
4427 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4428 else
4429 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4442
4443 fi
4444
4445
4446 eval "$wx_cv_use_optimise"
4447 if test "$no_cache" != 1; then
4448 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4449 fi
4450
4451 if test x"$enablestring" = xdisable; then
4452 if test $wxUSE_OPTIMISE = yes; then
4453 result=no
4454 else
4455 result=yes
4456 fi
4457 else
4458 result=$wxUSE_OPTIMISE
4459 fi
4460
4461 { echo "$as_me:$LINENO: result: $result" >&5
4462 echo "${ECHO_T}$result" >&6; }
4463
4464
4465 enablestring=
4466 defaultval=
4467 if test -z "$defaultval"; then
4468 if test x"$enablestring" = xdisable; then
4469 defaultval=yes
4470 else
4471 defaultval=no
4472 fi
4473 fi
4474
4475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4477 no_cache=0
4478 # Check whether --enable-debug was given.
4479 if test "${enable_debug+set}" = set; then
4480 enableval=$enable_debug;
4481 if test "$enableval" = yes; then
4482 wx_cv_use_debug='wxUSE_DEBUG=yes'
4483 else
4484 wx_cv_use_debug='wxUSE_DEBUG=no'
4485 fi
4486
4487 else
4488
4489 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4497
4498 fi
4499
4500
4501 eval "$wx_cv_use_debug"
4502 if test "$no_cache" != 1; then
4503 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4504 fi
4505
4506 if test x"$enablestring" = xdisable; then
4507 if test $wxUSE_DEBUG = yes; then
4508 result=no
4509 else
4510 result=yes
4511 fi
4512 else
4513 result=$wxUSE_DEBUG
4514 fi
4515
4516 { echo "$as_me:$LINENO: result: $result" >&5
4517 echo "${ECHO_T}$result" >&6; }
4518
4519
4520 enablestring=
4521 defaultval=
4522 if test -z "$defaultval"; then
4523 if test x"$enablestring" = xdisable; then
4524 defaultval=yes
4525 else
4526 defaultval=no
4527 fi
4528 fi
4529
4530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4532 no_cache=0
4533 # Check whether --enable-stl was given.
4534 if test "${enable_stl+set}" = set; then
4535 enableval=$enable_stl;
4536 if test "$enableval" = yes; then
4537 wx_cv_use_stl='wxUSE_STL=yes'
4538 else
4539 wx_cv_use_stl='wxUSE_STL=no'
4540 fi
4541
4542 else
4543
4544 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x ; then
4546 eval "DEFAULT_$LINE"
4547 else
4548 no_cache=1
4549 fi
4550
4551 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4552
4553 fi
4554
4555
4556 eval "$wx_cv_use_stl"
4557 if test "$no_cache" != 1; then
4558 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test x"$enablestring" = xdisable; then
4562 if test $wxUSE_STL = yes; then
4563 result=no
4564 else
4565 result=yes
4566 fi
4567 else
4568 result=$wxUSE_STL
4569 fi
4570
4571 { echo "$as_me:$LINENO: result: $result" >&5
4572 echo "${ECHO_T}$result" >&6; }
4573
4574
4575 enablestring=
4576 defaultval=
4577 if test -z "$defaultval"; then
4578 if test x"$enablestring" = xdisable; then
4579 defaultval=yes
4580 else
4581 defaultval=no
4582 fi
4583 fi
4584
4585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4587 no_cache=0
4588 # Check whether --enable-std_iostreams was given.
4589 if test "${enable_std_iostreams+set}" = set; then
4590 enableval=$enable_std_iostreams;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4593 else
4594 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4595 fi
4596
4597 else
4598
4599 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4602 else
4603 no_cache=1
4604 fi
4605
4606 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4607
4608 fi
4609
4610
4611 eval "$wx_cv_use_std_iostreams"
4612 if test "$no_cache" != 1; then
4613 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4614 fi
4615
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_STD_IOSTREAM = yes; then
4618 result=no
4619 else
4620 result=yes
4621 fi
4622 else
4623 result=$wxUSE_STD_IOSTREAM
4624 fi
4625
4626 { echo "$as_me:$LINENO: result: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4628
4629
4630 enablestring=
4631 defaultval=
4632 if test -z "$defaultval"; then
4633 if test x"$enablestring" = xdisable; then
4634 defaultval=yes
4635 else
4636 defaultval=no
4637 fi
4638 fi
4639
4640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4642 no_cache=0
4643 # Check whether --enable-std_string was given.
4644 if test "${enable_std_string+set}" = set; then
4645 enableval=$enable_std_string;
4646 if test "$enableval" = yes; then
4647 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4648 else
4649 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4650 fi
4651
4652 else
4653
4654 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x ; then
4656 eval "DEFAULT_$LINE"
4657 else
4658 no_cache=1
4659 fi
4660
4661 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4662
4663 fi
4664
4665
4666 eval "$wx_cv_use_std_string"
4667 if test "$no_cache" != 1; then
4668 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test x"$enablestring" = xdisable; then
4672 if test $wxUSE_STD_STRING = yes; then
4673 result=no
4674 else
4675 result=yes
4676 fi
4677 else
4678 result=$wxUSE_STD_STRING
4679 fi
4680
4681 { echo "$as_me:$LINENO: result: $result" >&5
4682 echo "${ECHO_T}$result" >&6; }
4683
4684
4685 enablestring=disable
4686 defaultval=
4687 if test -z "$defaultval"; then
4688 if test x"$enablestring" = xdisable; then
4689 defaultval=yes
4690 else
4691 defaultval=no
4692 fi
4693 fi
4694
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4697 no_cache=0
4698 # Check whether --enable-unicode was given.
4699 if test "${enable_unicode+set}" = set; then
4700 enableval=$enable_unicode;
4701 if test "$enableval" = yes; then
4702 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4703 else
4704 wx_cv_use_unicode='wxUSE_UNICODE=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4717
4718 fi
4719
4720
4721 eval "$wx_cv_use_unicode"
4722 if test "$no_cache" != 1; then
4723 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4724 fi
4725
4726 if test x"$enablestring" = xdisable; then
4727 if test $wxUSE_UNICODE = yes; then
4728 result=no
4729 else
4730 result=yes
4731 fi
4732 else
4733 result=$wxUSE_UNICODE
4734 fi
4735
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4738
4739
4740 enablestring=
4741 defaultval=
4742 if test -z "$defaultval"; then
4743 if test x"$enablestring" = xdisable; then
4744 defaultval=yes
4745 else
4746 defaultval=no
4747 fi
4748 fi
4749
4750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4751 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4752 no_cache=0
4753 # Check whether --enable-mslu was given.
4754 if test "${enable_mslu+set}" = set; then
4755 enableval=$enable_mslu;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4758 else
4759 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4772
4773 fi
4774
4775
4776 eval "$wx_cv_use_mslu"
4777 if test "$no_cache" != 1; then
4778 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test x"$enablestring" = xdisable; then
4782 if test $wxUSE_UNICODE_MSLU = yes; then
4783 result=no
4784 else
4785 result=yes
4786 fi
4787 else
4788 result=$wxUSE_UNICODE_MSLU
4789 fi
4790
4791 { echo "$as_me:$LINENO: result: $result" >&5
4792 echo "${ECHO_T}$result" >&6; }
4793
4794
4795 enablestring=
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4798 no_cache=0
4799 # Check whether --enable-utf8 was given.
4800 if test "${enable_utf8+set}" = set; then
4801 enableval=$enable_utf8;
4802 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4803
4804 else
4805
4806 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x ; then
4808 eval "DEFAULT_$LINE"
4809 else
4810 no_cache=1
4811 fi
4812
4813 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4814
4815 fi
4816
4817
4818 eval "$wx_cv_use_utf8"
4819 if test "$no_cache" != 1; then
4820 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4821 fi
4822
4823 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4824 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4825
4826
4827 enablestring=
4828 defaultval=
4829 if test -z "$defaultval"; then
4830 if test x"$enablestring" = xdisable; then
4831 defaultval=yes
4832 else
4833 defaultval=no
4834 fi
4835 fi
4836
4837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4839 no_cache=0
4840 # Check whether --enable-utf8only was given.
4841 if test "${enable_utf8only+set}" = set; then
4842 enableval=$enable_utf8only;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4845 else
4846 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4847 fi
4848
4849 else
4850
4851 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x ; then
4853 eval "DEFAULT_$LINE"
4854 else
4855 no_cache=1
4856 fi
4857
4858 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_utf8only"
4864 if test "$no_cache" != 1; then
4865 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4866 fi
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4870 result=no
4871 else
4872 result=yes
4873 fi
4874 else
4875 result=$wxUSE_UNICODE_UTF8_LOCALE
4876 fi
4877
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4880
4881
4882 enablestring=
4883 defaultval=
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4886 defaultval=yes
4887 else
4888 defaultval=no
4889 fi
4890 fi
4891
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4894 no_cache=0
4895 # Check whether --enable-extended_rtti was given.
4896 if test "${enable_extended_rtti+set}" = set; then
4897 enableval=$enable_extended_rtti;
4898 if test "$enableval" = yes; then
4899 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4900 else
4901 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4902 fi
4903
4904 else
4905
4906 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4909 else
4910 no_cache=1
4911 fi
4912
4913 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4914
4915 fi
4916
4917
4918 eval "$wx_cv_use_extended_rtti"
4919 if test "$no_cache" != 1; then
4920 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4921 fi
4922
4923 if test x"$enablestring" = xdisable; then
4924 if test $wxUSE_EXTENDED_RTTI = yes; then
4925 result=no
4926 else
4927 result=yes
4928 fi
4929 else
4930 result=$wxUSE_EXTENDED_RTTI
4931 fi
4932
4933 { echo "$as_me:$LINENO: result: $result" >&5
4934 echo "${ECHO_T}$result" >&6; }
4935
4936 if test "$USE_OS2" = "1"; then
4937 DEFAULT_wxUSE_OMF=no
4938
4939 enablestring=
4940 defaultval=
4941 if test -z "$defaultval"; then
4942 if test x"$enablestring" = xdisable; then
4943 defaultval=yes
4944 else
4945 defaultval=no
4946 fi
4947 fi
4948
4949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4951 no_cache=0
4952 # Check whether --enable-omf was given.
4953 if test "${enable_omf+set}" = set; then
4954 enableval=$enable_omf;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_omf='wxUSE_OMF=yes'
4957 else
4958 wx_cv_use_omf='wxUSE_OMF=no'
4959 fi
4960
4961 else
4962
4963 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_omf"
4976 if test "$no_cache" != 1; then
4977 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test x"$enablestring" = xdisable; then
4981 if test $wxUSE_OMF = yes; then
4982 result=no
4983 else
4984 result=yes
4985 fi
4986 else
4987 result=$wxUSE_OMF
4988 fi
4989
4990 { echo "$as_me:$LINENO: result: $result" >&5
4991 echo "${ECHO_T}$result" >&6; }
4992
4993 fi
4994
4995 if test "$wxUSE_DEBUG" = "yes"; then
4996 DEFAULT_wxUSE_DEBUG_FLAG=yes
4997 DEFAULT_wxUSE_DEBUG_INFO=yes
4998 BUILD=debug
4999 elif test "$wxUSE_DEBUG" = "no"; then
5000 DEFAULT_wxUSE_DEBUG_FLAG=no
5001 DEFAULT_wxUSE_DEBUG_INFO=no
5002 BUILD=release
5003 fi
5004
5005
5006 enablestring=
5007 defaultval=
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5010 defaultval=yes
5011 else
5012 defaultval=no
5013 fi
5014 fi
5015
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5018 no_cache=0
5019 # Check whether --enable-debug_flag was given.
5020 if test "${enable_debug_flag+set}" = set; then
5021 enableval=$enable_debug_flag;
5022 if test "$enableval" = yes; then
5023 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5024 else
5025 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5026 fi
5027
5028 else
5029
5030 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5033 else
5034 no_cache=1
5035 fi
5036
5037 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5038
5039 fi
5040
5041
5042 eval "$wx_cv_use_debug_flag"
5043 if test "$no_cache" != 1; then
5044 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test x"$enablestring" = xdisable; then
5048 if test $wxUSE_DEBUG_FLAG = yes; then
5049 result=no
5050 else
5051 result=yes
5052 fi
5053 else
5054 result=$wxUSE_DEBUG_FLAG
5055 fi
5056
5057 { echo "$as_me:$LINENO: result: $result" >&5
5058 echo "${ECHO_T}$result" >&6; }
5059
5060
5061 enablestring=
5062 defaultval=
5063 if test -z "$defaultval"; then
5064 if test x"$enablestring" = xdisable; then
5065 defaultval=yes
5066 else
5067 defaultval=no
5068 fi
5069 fi
5070
5071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5073 no_cache=0
5074 # Check whether --enable-debug_info was given.
5075 if test "${enable_debug_info+set}" = set; then
5076 enableval=$enable_debug_info;
5077 if test "$enableval" = yes; then
5078 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5079 else
5080 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5093
5094 fi
5095
5096
5097 eval "$wx_cv_use_debug_info"
5098 if test "$no_cache" != 1; then
5099 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5100 fi
5101
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_DEBUG_INFO = yes; then
5104 result=no
5105 else
5106 result=yes
5107 fi
5108 else
5109 result=$wxUSE_DEBUG_INFO
5110 fi
5111
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5114
5115
5116 enablestring=
5117 defaultval=
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5120 defaultval=yes
5121 else
5122 defaultval=no
5123 fi
5124 fi
5125
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5128 no_cache=0
5129 # Check whether --enable-debug_gdb was given.
5130 if test "${enable_debug_gdb+set}" = set; then
5131 enableval=$enable_debug_gdb;
5132 if test "$enableval" = yes; then
5133 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5134 else
5135 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5136 fi
5137
5138 else
5139
5140 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x ; then
5142 eval "DEFAULT_$LINE"
5143 else
5144 no_cache=1
5145 fi
5146
5147 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5148
5149 fi
5150
5151
5152 eval "$wx_cv_use_debug_gdb"
5153 if test "$no_cache" != 1; then
5154 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5155 fi
5156
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_DEBUG_GDB = yes; then
5159 result=no
5160 else
5161 result=yes
5162 fi
5163 else
5164 result=$wxUSE_DEBUG_GDB
5165 fi
5166
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5169
5170
5171 enablestring=
5172 defaultval=
5173 if test -z "$defaultval"; then
5174 if test x"$enablestring" = xdisable; then
5175 defaultval=yes
5176 else
5177 defaultval=no
5178 fi
5179 fi
5180
5181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5182 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5183 no_cache=0
5184 # Check whether --enable-debug_cntxt was given.
5185 if test "${enable_debug_cntxt+set}" = set; then
5186 enableval=$enable_debug_cntxt;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5189 else
5190 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5191 fi
5192
5193 else
5194
5195 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 else
5199 no_cache=1
5200 fi
5201
5202 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5203
5204 fi
5205
5206
5207 eval "$wx_cv_use_debug_cntxt"
5208 if test "$no_cache" != 1; then
5209 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5210 fi
5211
5212 if test x"$enablestring" = xdisable; then
5213 if test $wxUSE_DEBUG_CONTEXT = yes; then
5214 result=no
5215 else
5216 result=yes
5217 fi
5218 else
5219 result=$wxUSE_DEBUG_CONTEXT
5220 fi
5221
5222 { echo "$as_me:$LINENO: result: $result" >&5
5223 echo "${ECHO_T}$result" >&6; }
5224
5225
5226 enablestring=
5227 defaultval=
5228 if test -z "$defaultval"; then
5229 if test x"$enablestring" = xdisable; then
5230 defaultval=yes
5231 else
5232 defaultval=no
5233 fi
5234 fi
5235
5236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5238 no_cache=0
5239 # Check whether --enable-mem_tracing was given.
5240 if test "${enable_mem_tracing+set}" = set; then
5241 enableval=$enable_mem_tracing;
5242 if test "$enableval" = yes; then
5243 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5244 else
5245 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5246 fi
5247
5248 else
5249
5250 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_mem_tracing"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test x"$enablestring" = xdisable; then
5268 if test $wxUSE_MEM_TRACING = yes; then
5269 result=no
5270 else
5271 result=yes
5272 fi
5273 else
5274 result=$wxUSE_MEM_TRACING
5275 fi
5276
5277 { echo "$as_me:$LINENO: result: $result" >&5
5278 echo "${ECHO_T}$result" >&6; }
5279
5280
5281 enablestring=
5282 defaultval=
5283 if test -z "$defaultval"; then
5284 if test x"$enablestring" = xdisable; then
5285 defaultval=yes
5286 else
5287 defaultval=no
5288 fi
5289 fi
5290
5291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5293 no_cache=0
5294 # Check whether --enable-profile was given.
5295 if test "${enable_profile+set}" = set; then
5296 enableval=$enable_profile;
5297 if test "$enableval" = yes; then
5298 wx_cv_use_profile='wxUSE_PROFILE=yes'
5299 else
5300 wx_cv_use_profile='wxUSE_PROFILE=no'
5301 fi
5302
5303 else
5304
5305 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x ; then
5307 eval "DEFAULT_$LINE"
5308 else
5309 no_cache=1
5310 fi
5311
5312 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_profile"
5318 if test "$no_cache" != 1; then
5319 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_PROFILE = yes; then
5324 result=no
5325 else
5326 result=yes
5327 fi
5328 else
5329 result=$wxUSE_PROFILE
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 defaultval=
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5348 no_cache=0
5349 # Check whether --enable-no_rtti was given.
5350 if test "${enable_no_rtti+set}" = set; then
5351 enableval=$enable_no_rtti;
5352 if test "$enableval" = yes; then
5353 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5354 else
5355 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5368
5369 fi
5370
5371
5372 eval "$wx_cv_use_no_rtti"
5373 if test "$no_cache" != 1; then
5374 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_NO_RTTI = yes; then
5379 result=no
5380 else
5381 result=yes
5382 fi
5383 else
5384 result=$wxUSE_NO_RTTI
5385 fi
5386
5387 { echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6; }
5389
5390
5391 enablestring=
5392 defaultval=
5393 if test -z "$defaultval"; then
5394 if test x"$enablestring" = xdisable; then
5395 defaultval=yes
5396 else
5397 defaultval=no
5398 fi
5399 fi
5400
5401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5402 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5403 no_cache=0
5404 # Check whether --enable-no_exceptions was given.
5405 if test "${enable_no_exceptions+set}" = set; then
5406 enableval=$enable_no_exceptions;
5407 if test "$enableval" = yes; then
5408 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5409 else
5410 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5423
5424 fi
5425
5426
5427 eval "$wx_cv_use_no_exceptions"
5428 if test "$no_cache" != 1; then
5429 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5430 fi
5431
5432 if test x"$enablestring" = xdisable; then
5433 if test $wxUSE_NO_EXCEPTIONS = yes; then
5434 result=no
5435 else
5436 result=yes
5437 fi
5438 else
5439 result=$wxUSE_NO_EXCEPTIONS
5440 fi
5441
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5444
5445
5446 enablestring=
5447 defaultval=
5448 if test -z "$defaultval"; then
5449 if test x"$enablestring" = xdisable; then
5450 defaultval=yes
5451 else
5452 defaultval=no
5453 fi
5454 fi
5455
5456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5457 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5458 no_cache=0
5459 # Check whether --enable-permissive was given.
5460 if test "${enable_permissive+set}" = set; then
5461 enableval=$enable_permissive;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5464 else
5465 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5478
5479 fi
5480
5481
5482 eval "$wx_cv_use_permissive"
5483 if test "$no_cache" != 1; then
5484 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5485 fi
5486
5487 if test x"$enablestring" = xdisable; then
5488 if test $wxUSE_PERMISSIVE = yes; then
5489 result=no
5490 else
5491 result=yes
5492 fi
5493 else
5494 result=$wxUSE_PERMISSIVE
5495 fi
5496
5497 { echo "$as_me:$LINENO: result: $result" >&5
5498 echo "${ECHO_T}$result" >&6; }
5499
5500
5501 enablestring=
5502 defaultval=
5503 if test -z "$defaultval"; then
5504 if test x"$enablestring" = xdisable; then
5505 defaultval=yes
5506 else
5507 defaultval=no
5508 fi
5509 fi
5510
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5513 no_cache=0
5514 # Check whether --enable-no_deps was given.
5515 if test "${enable_no_deps+set}" = set; then
5516 enableval=$enable_no_deps;
5517 if test "$enableval" = yes; then
5518 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5519 else
5520 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5521 fi
5522
5523 else
5524
5525 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5528 else
5529 no_cache=1
5530 fi
5531
5532 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_no_deps"
5538 if test "$no_cache" != 1; then
5539 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test x"$enablestring" = xdisable; then
5543 if test $wxUSE_NO_DEPS = yes; then
5544 result=no
5545 else
5546 result=yes
5547 fi
5548 else
5549 result=$wxUSE_NO_DEPS
5550 fi
5551
5552 { echo "$as_me:$LINENO: result: $result" >&5
5553 echo "${ECHO_T}$result" >&6; }
5554
5555
5556 enablestring=disable
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5568 no_cache=0
5569 # Check whether --enable-vararg_macros was given.
5570 if test "${enable_vararg_macros+set}" = set; then
5571 enableval=$enable_vararg_macros;
5572 if test "$enableval" = yes; then
5573 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5574 else
5575 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5576 fi
5577
5578 else
5579
5580 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x ; then
5582 eval "DEFAULT_$LINE"
5583 else
5584 no_cache=1
5585 fi
5586
5587 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5588
5589 fi
5590
5591
5592 eval "$wx_cv_use_vararg_macros"
5593 if test "$no_cache" != 1; then
5594 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5595 fi
5596
5597 if test x"$enablestring" = xdisable; then
5598 if test $wxUSE_VARARG_MACROS = yes; then
5599 result=no
5600 else
5601 result=yes
5602 fi
5603 else
5604 result=$wxUSE_VARARG_MACROS
5605 fi
5606
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5609
5610
5611 enablestring=
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5614 no_cache=0
5615 # Check whether --enable-universal_binary was given.
5616 if test "${enable_universal_binary+set}" = set; then
5617 enableval=$enable_universal_binary;
5618 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5619
5620 else
5621
5622 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5623 if test "x$LINE" != x ; then
5624 eval "DEFAULT_$LINE"
5625 else
5626 no_cache=1
5627 fi
5628
5629 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5630
5631 fi
5632
5633
5634 eval "$wx_cv_use_universal_binary"
5635 if test "$no_cache" != 1; then
5636 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5637 fi
5638
5639 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5640 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5641
5642
5643
5644 enablestring=
5645 defaultval=
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5648 defaultval=yes
5649 else
5650 defaultval=no
5651 fi
5652 fi
5653
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5656 no_cache=0
5657 # Check whether --enable-compat26 was given.
5658 if test "${enable_compat26+set}" = set; then
5659 enableval=$enable_compat26;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5662 else
5663 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5664 fi
5665
5666 else
5667
5668 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5669 if test "x$LINE" != x ; then
5670 eval "DEFAULT_$LINE"
5671 else
5672 no_cache=1
5673 fi
5674
5675 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5676
5677 fi
5678
5679
5680 eval "$wx_cv_use_compat26"
5681 if test "$no_cache" != 1; then
5682 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5683 fi
5684
5685 if test x"$enablestring" = xdisable; then
5686 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5687 result=no
5688 else
5689 result=yes
5690 fi
5691 else
5692 result=$WXWIN_COMPATIBILITY_2_6
5693 fi
5694
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5697
5698
5699 enablestring=disable
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5711 no_cache=0
5712 # Check whether --enable-compat28 was given.
5713 if test "${enable_compat28+set}" = set; then
5714 enableval=$enable_compat28;
5715 if test "$enableval" = yes; then
5716 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5717 else
5718 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5719 fi
5720
5721 else
5722
5723 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5726 else
5727 no_cache=1
5728 fi
5729
5730 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5731
5732 fi
5733
5734
5735 eval "$wx_cv_use_compat28"
5736 if test "$no_cache" != 1; then
5737 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5738 fi
5739
5740 if test x"$enablestring" = xdisable; then
5741 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5742 result=no
5743 else
5744 result=yes
5745 fi
5746 else
5747 result=$WXWIN_COMPATIBILITY_2_8
5748 fi
5749
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5752
5753
5754
5755 enablestring=disable
5756 defaultval=
5757 if test -z "$defaultval"; then
5758 if test x"$enablestring" = xdisable; then
5759 defaultval=yes
5760 else
5761 defaultval=no
5762 fi
5763 fi
5764
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5767 no_cache=0
5768 # Check whether --enable-rpath was given.
5769 if test "${enable_rpath+set}" = set; then
5770 enableval=$enable_rpath;
5771 if test "$enableval" = yes; then
5772 wx_cv_use_rpath='wxUSE_RPATH=yes'
5773 else
5774 wx_cv_use_rpath='wxUSE_RPATH=no'
5775 fi
5776
5777 else
5778
5779 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5782 else
5783 no_cache=1
5784 fi
5785
5786 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5787
5788 fi
5789
5790
5791 eval "$wx_cv_use_rpath"
5792 if test "$no_cache" != 1; then
5793 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test x"$enablestring" = xdisable; then
5797 if test $wxUSE_RPATH = yes; then
5798 result=no
5799 else
5800 result=yes
5801 fi
5802 else
5803 result=$wxUSE_RPATH
5804 fi
5805
5806 { echo "$as_me:$LINENO: result: $result" >&5
5807 echo "${ECHO_T}$result" >&6; }
5808
5809
5810
5811 enablestring=
5812 defaultval=
5813 if test -z "$defaultval"; then
5814 if test x"$enablestring" = xdisable; then
5815 defaultval=yes
5816 else
5817 defaultval=no
5818 fi
5819 fi
5820
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5823 no_cache=0
5824 # Check whether --enable-objc_uniquifying was given.
5825 if test "${enable_objc_uniquifying+set}" = set; then
5826 enableval=$enable_objc_uniquifying;
5827 if test "$enableval" = yes; then
5828 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5829 else
5830 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5831 fi
5832
5833 else
5834
5835 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5836 if test "x$LINE" != x ; then
5837 eval "DEFAULT_$LINE"
5838 else
5839 no_cache=1
5840 fi
5841
5842 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5843
5844 fi
5845
5846
5847 eval "$wx_cv_use_objc_uniquifying"
5848 if test "$no_cache" != 1; then
5849 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5850 fi
5851
5852 if test x"$enablestring" = xdisable; then
5853 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5854 result=no
5855 else
5856 result=yes
5857 fi
5858 else
5859 result=$wxUSE_OBJC_UNIQUIFYING
5860 fi
5861
5862 { echo "$as_me:$LINENO: result: $result" >&5
5863 echo "${ECHO_T}$result" >&6; }
5864
5865
5866
5867 enablestring=disable
5868 defaultval=
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5879 no_cache=0
5880 # Check whether --enable-visibility was given.
5881 if test "${enable_visibility+set}" = set; then
5882 enableval=$enable_visibility;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5885 else
5886 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5887 fi
5888
5889 else
5890
5891 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$wx_cv_use_visibility"
5904 if test "$no_cache" != 1; then
5905 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5906 fi
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_VISIBILITY = yes; then
5910 result=no
5911 else
5912 result=yes
5913 fi
5914 else
5915 result=$wxUSE_VISIBILITY
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922
5923
5924 enablestring=
5925 defaultval=$wxUSE_ALL_FEATURES
5926 if test -z "$defaultval"; then
5927 if test x"$enablestring" = xdisable; then
5928 defaultval=yes
5929 else
5930 defaultval=no
5931 fi
5932 fi
5933
5934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5935 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5936 no_cache=0
5937 # Check whether --enable-intl was given.
5938 if test "${enable_intl+set}" = set; then
5939 enableval=$enable_intl;
5940 if test "$enableval" = yes; then
5941 wx_cv_use_intl='wxUSE_INTL=yes'
5942 else
5943 wx_cv_use_intl='wxUSE_INTL=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5956
5957 fi
5958
5959
5960 eval "$wx_cv_use_intl"
5961 if test "$no_cache" != 1; then
5962 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
5963 fi
5964
5965 if test x"$enablestring" = xdisable; then
5966 if test $wxUSE_INTL = yes; then
5967 result=no
5968 else
5969 result=yes
5970 fi
5971 else
5972 result=$wxUSE_INTL
5973 fi
5974
5975 { echo "$as_me:$LINENO: result: $result" >&5
5976 echo "${ECHO_T}$result" >&6; }
5977
5978
5979 enablestring=
5980 defaultval=$wxUSE_ALL_FEATURES
5981 if test -z "$defaultval"; then
5982 if test x"$enablestring" = xdisable; then
5983 defaultval=yes
5984 else
5985 defaultval=no
5986 fi
5987 fi
5988
5989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5990 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5991 no_cache=0
5992 # Check whether --enable-config was given.
5993 if test "${enable_config+set}" = set; then
5994 enableval=$enable_config;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_config='wxUSE_CONFIG=yes'
5997 else
5998 wx_cv_use_config='wxUSE_CONFIG=no'
5999 fi
6000
6001 else
6002
6003 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6006 else
6007 no_cache=1
6008 fi
6009
6010 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6011
6012 fi
6013
6014
6015 eval "$wx_cv_use_config"
6016 if test "$no_cache" != 1; then
6017 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6018 fi
6019
6020 if test x"$enablestring" = xdisable; then
6021 if test $wxUSE_CONFIG = yes; then
6022 result=no
6023 else
6024 result=yes
6025 fi
6026 else
6027 result=$wxUSE_CONFIG
6028 fi
6029
6030 { echo "$as_me:$LINENO: result: $result" >&5
6031 echo "${ECHO_T}$result" >&6; }
6032
6033
6034
6035 enablestring=
6036 defaultval=$wxUSE_ALL_FEATURES
6037 if test -z "$defaultval"; then
6038 if test x"$enablestring" = xdisable; then
6039 defaultval=yes
6040 else
6041 defaultval=no
6042 fi
6043 fi
6044
6045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6047 no_cache=0
6048 # Check whether --enable-protocols was given.
6049 if test "${enable_protocols+set}" = set; then
6050 enableval=$enable_protocols;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6053 else
6054 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6055 fi
6056
6057 else
6058
6059 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6060 if test "x$LINE" != x ; then
6061 eval "DEFAULT_$LINE"
6062 else
6063 no_cache=1
6064 fi
6065
6066 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6067
6068 fi
6069
6070
6071 eval "$wx_cv_use_protocols"
6072 if test "$no_cache" != 1; then
6073 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_PROTOCOL = yes; then
6078 result=no
6079 else
6080 result=yes
6081 fi
6082 else
6083 result=$wxUSE_PROTOCOL
6084 fi
6085
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6088
6089
6090 enablestring=
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6094 defaultval=yes
6095 else
6096 defaultval=no
6097 fi
6098 fi
6099
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-ftp was given.
6104 if test "${enable_ftp+set}" = set; then
6105 enableval=$enable_ftp;
6106 if test "$enableval" = yes; then
6107 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6108 else
6109 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6122
6123 fi
6124
6125
6126 eval "$wx_cv_use_ftp"
6127 if test "$no_cache" != 1; then
6128 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test x"$enablestring" = xdisable; then
6132 if test $wxUSE_PROTOCOL_FTP = yes; then
6133 result=no
6134 else
6135 result=yes
6136 fi
6137 else
6138 result=$wxUSE_PROTOCOL_FTP
6139 fi
6140
6141 { echo "$as_me:$LINENO: result: $result" >&5
6142 echo "${ECHO_T}$result" >&6; }
6143
6144
6145 enablestring=
6146 defaultval=$wxUSE_ALL_FEATURES
6147 if test -z "$defaultval"; then
6148 if test x"$enablestring" = xdisable; then
6149 defaultval=yes
6150 else
6151 defaultval=no
6152 fi
6153 fi
6154
6155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6157 no_cache=0
6158 # Check whether --enable-http was given.
6159 if test "${enable_http+set}" = set; then
6160 enableval=$enable_http;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6163 else
6164 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6177
6178 fi
6179
6180
6181 eval "$wx_cv_use_http"
6182 if test "$no_cache" != 1; then
6183 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test x"$enablestring" = xdisable; then
6187 if test $wxUSE_PROTOCOL_HTTP = yes; then
6188 result=no
6189 else
6190 result=yes
6191 fi
6192 else
6193 result=$wxUSE_PROTOCOL_HTTP
6194 fi
6195
6196 { echo "$as_me:$LINENO: result: $result" >&5
6197 echo "${ECHO_T}$result" >&6; }
6198
6199
6200 enablestring=
6201 defaultval=$wxUSE_ALL_FEATURES
6202 if test -z "$defaultval"; then
6203 if test x"$enablestring" = xdisable; then
6204 defaultval=yes
6205 else
6206 defaultval=no
6207 fi
6208 fi
6209
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6212 no_cache=0
6213 # Check whether --enable-fileproto was given.
6214 if test "${enable_fileproto+set}" = set; then
6215 enableval=$enable_fileproto;
6216 if test "$enableval" = yes; then
6217 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6218 else
6219 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6232
6233 fi
6234
6235
6236 eval "$wx_cv_use_fileproto"
6237 if test "$no_cache" != 1; then
6238 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test x"$enablestring" = xdisable; then
6242 if test $wxUSE_PROTOCOL_FILE = yes; then
6243 result=no
6244 else
6245 result=yes
6246 fi
6247 else
6248 result=$wxUSE_PROTOCOL_FILE
6249 fi
6250
6251 { echo "$as_me:$LINENO: result: $result" >&5
6252 echo "${ECHO_T}$result" >&6; }
6253
6254
6255 enablestring=
6256 defaultval=$wxUSE_ALL_FEATURES
6257 if test -z "$defaultval"; then
6258 if test x"$enablestring" = xdisable; then
6259 defaultval=yes
6260 else
6261 defaultval=no
6262 fi
6263 fi
6264
6265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6266 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6267 no_cache=0
6268 # Check whether --enable-sockets was given.
6269 if test "${enable_sockets+set}" = set; then
6270 enableval=$enable_sockets;
6271 if test "$enableval" = yes; then
6272 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6273 else
6274 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6275 fi
6276
6277 else
6278
6279 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x ; then
6281 eval "DEFAULT_$LINE"
6282 else
6283 no_cache=1
6284 fi
6285
6286 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6287
6288 fi
6289
6290
6291 eval "$wx_cv_use_sockets"
6292 if test "$no_cache" != 1; then
6293 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6294 fi
6295
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_SOCKETS = yes; then
6298 result=no
6299 else
6300 result=yes
6301 fi
6302 else
6303 result=$wxUSE_SOCKETS
6304 fi
6305
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6322 no_cache=0
6323 # Check whether --enable-ole was given.
6324 if test "${enable_ole+set}" = set; then
6325 enableval=$enable_ole;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_ole='wxUSE_OLE=yes'
6328 else
6329 wx_cv_use_ole='wxUSE_OLE=no'
6330 fi
6331
6332 else
6333
6334 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6337 else
6338 no_cache=1
6339 fi
6340
6341 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6342
6343 fi
6344
6345
6346 eval "$wx_cv_use_ole"
6347 if test "$no_cache" != 1; then
6348 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6349 fi
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_OLE = yes; then
6353 result=no
6354 else
6355 result=yes
6356 fi
6357 else
6358 result=$wxUSE_OLE
6359 fi
6360
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6377 no_cache=0
6378 # Check whether --enable-dataobj was given.
6379 if test "${enable_dataobj+set}" = set; then
6380 enableval=$enable_dataobj;
6381 if test "$enableval" = yes; then
6382 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6383 else
6384 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6385 fi
6386
6387 else
6388
6389 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$wx_cv_use_dataobj"
6402 if test "$no_cache" != 1; then
6403 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6404 fi
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_DATAOBJ = yes; then
6408 result=no
6409 else
6410 result=yes
6411 fi
6412 else
6413 result=$wxUSE_DATAOBJ
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420
6421 enablestring=
6422 defaultval=$wxUSE_ALL_FEATURES
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6425 defaultval=yes
6426 else
6427 defaultval=no
6428 fi
6429 fi
6430
6431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6432 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6433 no_cache=0
6434 # Check whether --enable-ipc was given.
6435 if test "${enable_ipc+set}" = set; then
6436 enableval=$enable_ipc;
6437 if test "$enableval" = yes; then
6438 wx_cv_use_ipc='wxUSE_IPC=yes'
6439 else
6440 wx_cv_use_ipc='wxUSE_IPC=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6453
6454 fi
6455
6456
6457 eval "$wx_cv_use_ipc"
6458 if test "$no_cache" != 1; then
6459 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test x"$enablestring" = xdisable; then
6463 if test $wxUSE_IPC = yes; then
6464 result=no
6465 else
6466 result=yes
6467 fi
6468 else
6469 result=$wxUSE_IPC
6470 fi
6471
6472 { echo "$as_me:$LINENO: result: $result" >&5
6473 echo "${ECHO_T}$result" >&6; }
6474
6475
6476
6477 enablestring=
6478 defaultval=$wxUSE_ALL_FEATURES
6479 if test -z "$defaultval"; then
6480 if test x"$enablestring" = xdisable; then
6481 defaultval=yes
6482 else
6483 defaultval=no
6484 fi
6485 fi
6486
6487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6489 no_cache=0
6490 # Check whether --enable-apple_ieee was given.
6491 if test "${enable_apple_ieee+set}" = set; then
6492 enableval=$enable_apple_ieee;
6493 if test "$enableval" = yes; then
6494 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6495 else
6496 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6497 fi
6498
6499 else
6500
6501 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6502 if test "x$LINE" != x ; then
6503 eval "DEFAULT_$LINE"
6504 else
6505 no_cache=1
6506 fi
6507
6508 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6509
6510 fi
6511
6512
6513 eval "$wx_cv_use_apple_ieee"
6514 if test "$no_cache" != 1; then
6515 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6516 fi
6517
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_APPLE_IEEE = yes; then
6520 result=no
6521 else
6522 result=yes
6523 fi
6524 else
6525 result=$wxUSE_APPLE_IEEE
6526 fi
6527
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6530
6531
6532 enablestring=
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6536 defaultval=yes
6537 else
6538 defaultval=no
6539 fi
6540 fi
6541
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6544 no_cache=0
6545 # Check whether --enable-arcstream was given.
6546 if test "${enable_arcstream+set}" = set; then
6547 enableval=$enable_arcstream;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6550 else
6551 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6552 fi
6553
6554 else
6555
6556 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x ; then
6558 eval "DEFAULT_$LINE"
6559 else
6560 no_cache=1
6561 fi
6562
6563 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6564
6565 fi
6566
6567
6568 eval "$wx_cv_use_arcstream"
6569 if test "$no_cache" != 1; then
6570 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test x"$enablestring" = xdisable; then
6574 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6575 result=no
6576 else
6577 result=yes
6578 fi
6579 else
6580 result=$wxUSE_ARCHIVE_STREAMS
6581 fi
6582
6583 { echo "$as_me:$LINENO: result: $result" >&5
6584 echo "${ECHO_T}$result" >&6; }
6585
6586
6587 enablestring=
6588 defaultval=$wxUSE_ALL_FEATURES
6589 if test -z "$defaultval"; then
6590 if test x"$enablestring" = xdisable; then
6591 defaultval=yes
6592 else
6593 defaultval=no
6594 fi
6595 fi
6596
6597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6599 no_cache=0
6600 # Check whether --enable-base64 was given.
6601 if test "${enable_base64+set}" = set; then
6602 enableval=$enable_base64;
6603 if test "$enableval" = yes; then
6604 wx_cv_use_base64='wxUSE_BASE64=yes'
6605 else
6606 wx_cv_use_base64='wxUSE_BASE64=no'
6607 fi
6608
6609 else
6610
6611 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6612 if test "x$LINE" != x ; then
6613 eval "DEFAULT_$LINE"
6614 else
6615 no_cache=1
6616 fi
6617
6618 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6619
6620 fi
6621
6622
6623 eval "$wx_cv_use_base64"
6624 if test "$no_cache" != 1; then
6625 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test x"$enablestring" = xdisable; then
6629 if test $wxUSE_BASE64 = yes; then
6630 result=no
6631 else
6632 result=yes
6633 fi
6634 else
6635 result=$wxUSE_BASE64
6636 fi
6637
6638 { echo "$as_me:$LINENO: result: $result" >&5
6639 echo "${ECHO_T}$result" >&6; }
6640
6641
6642 enablestring=
6643 defaultval=$wxUSE_ALL_FEATURES
6644 if test -z "$defaultval"; then
6645 if test x"$enablestring" = xdisable; then
6646 defaultval=yes
6647 else
6648 defaultval=no
6649 fi
6650 fi
6651
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6654 no_cache=0
6655 # Check whether --enable-backtrace was given.
6656 if test "${enable_backtrace+set}" = set; then
6657 enableval=$enable_backtrace;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6660 else
6661 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6662 fi
6663
6664 else
6665
6666 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6669 else
6670 no_cache=1
6671 fi
6672
6673 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6674
6675 fi
6676
6677
6678 eval "$wx_cv_use_backtrace"
6679 if test "$no_cache" != 1; then
6680 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test x"$enablestring" = xdisable; then
6684 if test $wxUSE_STACKWALKER = yes; then
6685 result=no
6686 else
6687 result=yes
6688 fi
6689 else
6690 result=$wxUSE_STACKWALKER
6691 fi
6692
6693 { echo "$as_me:$LINENO: result: $result" >&5
6694 echo "${ECHO_T}$result" >&6; }
6695
6696
6697 enablestring=
6698 defaultval=$wxUSE_ALL_FEATURES
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6701 defaultval=yes
6702 else
6703 defaultval=no
6704 fi
6705 fi
6706
6707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6709 no_cache=0
6710 # Check whether --enable-catch_segvs was given.
6711 if test "${enable_catch_segvs+set}" = set; then
6712 enableval=$enable_catch_segvs;
6713 if test "$enableval" = yes; then
6714 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6715 else
6716 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6717 fi
6718
6719 else
6720
6721 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x ; then
6723 eval "DEFAULT_$LINE"
6724 else
6725 no_cache=1
6726 fi
6727
6728 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6729
6730 fi
6731
6732
6733 eval "$wx_cv_use_catch_segvs"
6734 if test "$no_cache" != 1; then
6735 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6736 fi
6737
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6740 result=no
6741 else
6742 result=yes
6743 fi
6744 else
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6746 fi
6747
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6750
6751
6752 enablestring=
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6764 no_cache=0
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6770 else
6771 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6784
6785 fi
6786
6787
6788 eval "$wx_cv_use_cmdline"
6789 if test "$no_cache" != 1; then
6790 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6791 fi
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_CMDLINE_PARSER = yes; then
6795 result=no
6796 else
6797 result=yes
6798 fi
6799 else
6800 result=$wxUSE_CMDLINE_PARSER
6801 fi
6802
6803 { echo "$as_me:$LINENO: result: $result" >&5
6804 echo "${ECHO_T}$result" >&6; }
6805
6806
6807 enablestring=
6808 defaultval=$wxUSE_ALL_FEATURES
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6818 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6819 no_cache=0
6820 # Check whether --enable-datetime was given.
6821 if test "${enable_datetime+set}" = set; then
6822 enableval=$enable_datetime;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6825 else
6826 wx_cv_use_datetime='wxUSE_DATETIME=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6839
6840 fi
6841
6842
6843 eval "$wx_cv_use_datetime"
6844 if test "$no_cache" != 1; then
6845 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6846 fi
6847
6848 if test x"$enablestring" = xdisable; then
6849 if test $wxUSE_DATETIME = yes; then
6850 result=no
6851 else
6852 result=yes
6853 fi
6854 else
6855 result=$wxUSE_DATETIME
6856 fi
6857
6858 { echo "$as_me:$LINENO: result: $result" >&5
6859 echo "${ECHO_T}$result" >&6; }
6860
6861
6862 enablestring=
6863 defaultval=$wxUSE_ALL_FEATURES
6864 if test -z "$defaultval"; then
6865 if test x"$enablestring" = xdisable; then
6866 defaultval=yes
6867 else
6868 defaultval=no
6869 fi
6870 fi
6871
6872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6873 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6874 no_cache=0
6875 # Check whether --enable-debugreport was given.
6876 if test "${enable_debugreport+set}" = set; then
6877 enableval=$enable_debugreport;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6880 else
6881 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6882 fi
6883
6884 else
6885
6886 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6887 if test "x$LINE" != x ; then
6888 eval "DEFAULT_$LINE"
6889 else
6890 no_cache=1
6891 fi
6892
6893 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6894
6895 fi
6896
6897
6898 eval "$wx_cv_use_debugreport"
6899 if test "$no_cache" != 1; then
6900 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6901 fi
6902
6903 if test x"$enablestring" = xdisable; then
6904 if test $wxUSE_DEBUGREPORT = yes; then
6905 result=no
6906 else
6907 result=yes
6908 fi
6909 else
6910 result=$wxUSE_DEBUGREPORT
6911 fi
6912
6913 { echo "$as_me:$LINENO: result: $result" >&5
6914 echo "${ECHO_T}$result" >&6; }
6915
6916
6917 enablestring=
6918 defaultval=$wxUSE_ALL_FEATURES
6919 if test -z "$defaultval"; then
6920 if test x"$enablestring" = xdisable; then
6921 defaultval=yes
6922 else
6923 defaultval=no
6924 fi
6925 fi
6926
6927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6928 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6929 no_cache=0
6930 # Check whether --enable-dialupman was given.
6931 if test "${enable_dialupman+set}" = set; then
6932 enableval=$enable_dialupman;
6933 if test "$enableval" = yes; then
6934 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6935 else
6936 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6937 fi
6938
6939 else
6940
6941 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x ; then
6943 eval "DEFAULT_$LINE"
6944 else
6945 no_cache=1
6946 fi
6947
6948 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6949
6950 fi
6951
6952
6953 eval "$wx_cv_use_dialupman"
6954 if test "$no_cache" != 1; then
6955 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6956 fi
6957
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DIALUP_MANAGER = yes; then
6960 result=no
6961 else
6962 result=yes
6963 fi
6964 else
6965 result=$wxUSE_DIALUP_MANAGER
6966 fi
6967
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6970
6971
6972 enablestring=
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6976 defaultval=yes
6977 else
6978 defaultval=no
6979 fi
6980 fi
6981
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6984 no_cache=0
6985 # Check whether --enable-dynlib was given.
6986 if test "${enable_dynlib+set}" = set; then
6987 enableval=$enable_dynlib;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6990 else
6991 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6992 fi
6993
6994 else
6995
6996 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x ; then
6998 eval "DEFAULT_$LINE"
6999 else
7000 no_cache=1
7001 fi
7002
7003 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7004
7005 fi
7006
7007
7008 eval "$wx_cv_use_dynlib"
7009 if test "$no_cache" != 1; then
7010 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test x"$enablestring" = xdisable; then
7014 if test $wxUSE_DYNLIB_CLASS = yes; then
7015 result=no
7016 else
7017 result=yes
7018 fi
7019 else
7020 result=$wxUSE_DYNLIB_CLASS
7021 fi
7022
7023 { echo "$as_me:$LINENO: result: $result" >&5
7024 echo "${ECHO_T}$result" >&6; }
7025
7026
7027 enablestring=
7028 defaultval=$wxUSE_ALL_FEATURES
7029 if test -z "$defaultval"; then
7030 if test x"$enablestring" = xdisable; then
7031 defaultval=yes
7032 else
7033 defaultval=no
7034 fi
7035 fi
7036
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-dynamicloader was given.
7041 if test "${enable_dynamicloader+set}" = set; then
7042 enableval=$enable_dynamicloader;
7043 if test "$enableval" = yes; then
7044 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7045 else
7046 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7059
7060 fi
7061
7062
7063 eval "$wx_cv_use_dynamicloader"
7064 if test "$no_cache" != 1; then
7065 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test x"$enablestring" = xdisable; then
7069 if test $wxUSE_DYNAMIC_LOADER = yes; then
7070 result=no
7071 else
7072 result=yes
7073 fi
7074 else
7075 result=$wxUSE_DYNAMIC_LOADER
7076 fi
7077
7078 { echo "$as_me:$LINENO: result: $result" >&5
7079 echo "${ECHO_T}$result" >&6; }
7080
7081
7082 enablestring=
7083 defaultval=$wxUSE_ALL_FEATURES
7084 if test -z "$defaultval"; then
7085 if test x"$enablestring" = xdisable; then
7086 defaultval=yes
7087 else
7088 defaultval=no
7089 fi
7090 fi
7091
7092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7093 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7094 no_cache=0
7095 # Check whether --enable-exceptions was given.
7096 if test "${enable_exceptions+set}" = set; then
7097 enableval=$enable_exceptions;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7100 else
7101 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7102 fi
7103
7104 else
7105
7106 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x ; then
7108 eval "DEFAULT_$LINE"
7109 else
7110 no_cache=1
7111 fi
7112
7113 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7114
7115 fi
7116
7117
7118 eval "$wx_cv_use_exceptions"
7119 if test "$no_cache" != 1; then
7120 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7121 fi
7122
7123 if test x"$enablestring" = xdisable; then
7124 if test $wxUSE_EXCEPTIONS = yes; then
7125 result=no
7126 else
7127 result=yes
7128 fi
7129 else
7130 result=$wxUSE_EXCEPTIONS
7131 fi
7132
7133 { echo "$as_me:$LINENO: result: $result" >&5
7134 echo "${ECHO_T}$result" >&6; }
7135
7136
7137 enablestring=
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7141 defaultval=yes
7142 else
7143 defaultval=no
7144 fi
7145 fi
7146
7147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7149 no_cache=0
7150 # Check whether --enable-ffile was given.
7151 if test "${enable_ffile+set}" = set; then
7152 enableval=$enable_ffile;
7153 if test "$enableval" = yes; then
7154 wx_cv_use_ffile='wxUSE_FFILE=yes'
7155 else
7156 wx_cv_use_ffile='wxUSE_FFILE=no'
7157 fi
7158
7159 else
7160
7161 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7169
7170 fi
7171
7172
7173 eval "$wx_cv_use_ffile"
7174 if test "$no_cache" != 1; then
7175 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7176 fi
7177
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FFILE = yes; then
7180 result=no
7181 else
7182 result=yes
7183 fi
7184 else
7185 result=$wxUSE_FFILE
7186 fi
7187
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7204 no_cache=0
7205 # Check whether --enable-file was given.
7206 if test "${enable_file+set}" = set; then
7207 enableval=$enable_file;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_file='wxUSE_FILE=yes'
7210 else
7211 wx_cv_use_file='wxUSE_FILE=no'
7212 fi
7213
7214 else
7215
7216 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x ; then
7218 eval "DEFAULT_$LINE"
7219 else
7220 no_cache=1
7221 fi
7222
7223 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7224
7225 fi
7226
7227
7228 eval "$wx_cv_use_file"
7229 if test "$no_cache" != 1; then
7230 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7231 fi
7232
7233 if test x"$enablestring" = xdisable; then
7234 if test $wxUSE_FILE = yes; then
7235 result=no
7236 else
7237 result=yes
7238 fi
7239 else
7240 result=$wxUSE_FILE
7241 fi
7242
7243 { echo "$as_me:$LINENO: result: $result" >&5
7244 echo "${ECHO_T}$result" >&6; }
7245
7246
7247 enablestring=
7248 defaultval=$wxUSE_ALL_FEATURES
7249 if test -z "$defaultval"; then
7250 if test x"$enablestring" = xdisable; then
7251 defaultval=yes
7252 else
7253 defaultval=no
7254 fi
7255 fi
7256
7257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7258 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7259 no_cache=0
7260 # Check whether --enable-filesystem was given.
7261 if test "${enable_filesystem+set}" = set; then
7262 enableval=$enable_filesystem;
7263 if test "$enableval" = yes; then
7264 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7265 else
7266 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7267 fi
7268
7269 else
7270
7271 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x ; then
7273 eval "DEFAULT_$LINE"
7274 else
7275 no_cache=1
7276 fi
7277
7278 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7279
7280 fi
7281
7282
7283 eval "$wx_cv_use_filesystem"
7284 if test "$no_cache" != 1; then
7285 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7286 fi
7287
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_FILESYSTEM = yes; then
7290 result=no
7291 else
7292 result=yes
7293 fi
7294 else
7295 result=$wxUSE_FILESYSTEM
7296 fi
7297
7298 { echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6; }
7300
7301
7302 enablestring=
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7306 defaultval=yes
7307 else
7308 defaultval=no
7309 fi
7310 fi
7311
7312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7314 no_cache=0
7315 # Check whether --enable-fontmap was given.
7316 if test "${enable_fontmap+set}" = set; then
7317 enableval=$enable_fontmap;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7320 else
7321 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7322 fi
7323
7324 else
7325
7326 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x ; then
7328 eval "DEFAULT_$LINE"
7329 else
7330 no_cache=1
7331 fi
7332
7333 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7334
7335 fi
7336
7337
7338 eval "$wx_cv_use_fontmap"
7339 if test "$no_cache" != 1; then
7340 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7341 fi
7342
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_FONTMAP = yes; then
7345 result=no
7346 else
7347 result=yes
7348 fi
7349 else
7350 result=$wxUSE_FONTMAP
7351 fi
7352
7353 { echo "$as_me:$LINENO: result: $result" >&5
7354 echo "${ECHO_T}$result" >&6; }
7355
7356
7357 enablestring=
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7361 defaultval=yes
7362 else
7363 defaultval=no
7364 fi
7365 fi
7366
7367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7368 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7369 no_cache=0
7370 # Check whether --enable-fs_archive was given.
7371 if test "${enable_fs_archive+set}" = set; then
7372 enableval=$enable_fs_archive;
7373 if test "$enableval" = yes; then
7374 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7375 else
7376 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7377 fi
7378
7379 else
7380
7381 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x ; then
7383 eval "DEFAULT_$LINE"
7384 else
7385 no_cache=1
7386 fi
7387
7388 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7389
7390 fi
7391
7392
7393 eval "$wx_cv_use_fs_archive"
7394 if test "$no_cache" != 1; then
7395 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7396 fi
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_ARCHIVE = yes; then
7400 result=no
7401 else
7402 result=yes
7403 fi
7404 else
7405 result=$wxUSE_FS_ARCHIVE
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7424 no_cache=0
7425 # Check whether --enable-fs_inet was given.
7426 if test "${enable_fs_inet+set}" = set; then
7427 enableval=$enable_fs_inet;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7430 else
7431 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7432 fi
7433
7434 else
7435
7436 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7437 if test "x$LINE" != x ; then
7438 eval "DEFAULT_$LINE"
7439 else
7440 no_cache=1
7441 fi
7442
7443 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7444
7445 fi
7446
7447
7448 eval "$wx_cv_use_fs_inet"
7449 if test "$no_cache" != 1; then
7450 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test x"$enablestring" = xdisable; then
7454 if test $wxUSE_FS_INET = yes; then
7455 result=no
7456 else
7457 result=yes
7458 fi
7459 else
7460 result=$wxUSE_FS_INET
7461 fi
7462
7463 { echo "$as_me:$LINENO: result: $result" >&5
7464 echo "${ECHO_T}$result" >&6; }
7465
7466
7467 enablestring=
7468 defaultval=$wxUSE_ALL_FEATURES
7469 if test -z "$defaultval"; then
7470 if test x"$enablestring" = xdisable; then
7471 defaultval=yes
7472 else
7473 defaultval=no
7474 fi
7475 fi
7476
7477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7479 no_cache=0
7480 # Check whether --enable-fs_zip was given.
7481 if test "${enable_fs_zip+set}" = set; then
7482 enableval=$enable_fs_zip;
7483 if test "$enableval" = yes; then
7484 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7485 else
7486 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7487 fi
7488
7489 else
7490
7491 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7492 if test "x$LINE" != x ; then
7493 eval "DEFAULT_$LINE"
7494 else
7495 no_cache=1
7496 fi
7497
7498 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7499
7500 fi
7501
7502
7503 eval "$wx_cv_use_fs_zip"
7504 if test "$no_cache" != 1; then
7505 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test x"$enablestring" = xdisable; then
7509 if test $wxUSE_FS_ZIP = yes; then
7510 result=no
7511 else
7512 result=yes
7513 fi
7514 else
7515 result=$wxUSE_FS_ZIP
7516 fi
7517
7518 { echo "$as_me:$LINENO: result: $result" >&5
7519 echo "${ECHO_T}$result" >&6; }
7520
7521
7522 enablestring=
7523 defaultval=$wxUSE_ALL_FEATURES
7524 if test -z "$defaultval"; then
7525 if test x"$enablestring" = xdisable; then
7526 defaultval=yes
7527 else
7528 defaultval=no
7529 fi
7530 fi
7531
7532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7533 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7534 no_cache=0
7535 # Check whether --enable-geometry was given.
7536 if test "${enable_geometry+set}" = set; then
7537 enableval=$enable_geometry;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7540 else
7541 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7542 fi
7543
7544 else
7545
7546 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x ; then
7548 eval "DEFAULT_$LINE"
7549 else
7550 no_cache=1
7551 fi
7552
7553 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7554
7555 fi
7556
7557
7558 eval "$wx_cv_use_geometry"
7559 if test "$no_cache" != 1; then
7560 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7561 fi
7562
7563 if test x"$enablestring" = xdisable; then
7564 if test $wxUSE_GEOMETRY = yes; then
7565 result=no
7566 else
7567 result=yes
7568 fi
7569 else
7570 result=$wxUSE_GEOMETRY
7571 fi
7572
7573 { echo "$as_me:$LINENO: result: $result" >&5
7574 echo "${ECHO_T}$result" >&6; }
7575
7576
7577 enablestring=
7578 defaultval=$wxUSE_ALL_FEATURES
7579 if test -z "$defaultval"; then
7580 if test x"$enablestring" = xdisable; then
7581 defaultval=yes
7582 else
7583 defaultval=no
7584 fi
7585 fi
7586
7587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7589 no_cache=0
7590 # Check whether --enable-log was given.
7591 if test "${enable_log+set}" = set; then
7592 enableval=$enable_log;
7593 if test "$enableval" = yes; then
7594 wx_cv_use_log='wxUSE_LOG=yes'
7595 else
7596 wx_cv_use_log='wxUSE_LOG=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7609
7610 fi
7611
7612
7613 eval "$wx_cv_use_log"
7614 if test "$no_cache" != 1; then
7615 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LOG = yes; then
7620 result=no
7621 else
7622 result=yes
7623 fi
7624 else
7625 result=$wxUSE_LOG
7626 fi
7627
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7630
7631
7632 enablestring=
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7636 defaultval=yes
7637 else
7638 defaultval=no
7639 fi
7640 fi
7641
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7644 no_cache=0
7645 # Check whether --enable-longlong was given.
7646 if test "${enable_longlong+set}" = set; then
7647 enableval=$enable_longlong;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7650 else
7651 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7652 fi
7653
7654 else
7655
7656 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x ; then
7658 eval "DEFAULT_$LINE"
7659 else
7660 no_cache=1
7661 fi
7662
7663 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7664
7665 fi
7666
7667
7668 eval "$wx_cv_use_longlong"
7669 if test "$no_cache" != 1; then
7670 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7671 fi
7672
7673 if test x"$enablestring" = xdisable; then
7674 if test $wxUSE_LONGLONG = yes; then
7675 result=no
7676 else
7677 result=yes
7678 fi
7679 else
7680 result=$wxUSE_LONGLONG
7681 fi
7682
7683 { echo "$as_me:$LINENO: result: $result" >&5
7684 echo "${ECHO_T}$result" >&6; }
7685
7686
7687 enablestring=
7688 defaultval=$wxUSE_ALL_FEATURES
7689 if test -z "$defaultval"; then
7690 if test x"$enablestring" = xdisable; then
7691 defaultval=yes
7692 else
7693 defaultval=no
7694 fi
7695 fi
7696
7697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7698 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7699 no_cache=0
7700 # Check whether --enable-mimetype was given.
7701 if test "${enable_mimetype+set}" = set; then
7702 enableval=$enable_mimetype;
7703 if test "$enableval" = yes; then
7704 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7705 else
7706 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7707 fi
7708
7709 else
7710
7711 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7712 if test "x$LINE" != x ; then
7713 eval "DEFAULT_$LINE"
7714 else
7715 no_cache=1
7716 fi
7717
7718 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7719
7720 fi
7721
7722
7723 eval "$wx_cv_use_mimetype"
7724 if test "$no_cache" != 1; then
7725 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7726 fi
7727
7728 if test x"$enablestring" = xdisable; then
7729 if test $wxUSE_MIMETYPE = yes; then
7730 result=no
7731 else
7732 result=yes
7733 fi
7734 else
7735 result=$wxUSE_MIMETYPE
7736 fi
7737
7738 { echo "$as_me:$LINENO: result: $result" >&5
7739 echo "${ECHO_T}$result" >&6; }
7740
7741
7742 enablestring=
7743 defaultval=$wxUSE_ALL_FEATURES
7744 if test -z "$defaultval"; then
7745 if test x"$enablestring" = xdisable; then
7746 defaultval=yes
7747 else
7748 defaultval=no
7749 fi
7750 fi
7751
7752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7753 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7754 no_cache=0
7755 # Check whether --enable-snglinst was given.
7756 if test "${enable_snglinst+set}" = set; then
7757 enableval=$enable_snglinst;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7760 else
7761 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7774
7775 fi
7776
7777
7778 eval "$wx_cv_use_snglinst"
7779 if test "$no_cache" != 1; then
7780 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
7781 fi
7782
7783 if test x"$enablestring" = xdisable; then
7784 if test $wxUSE_SNGLINST_CHECKER = yes; then
7785 result=no
7786 else
7787 result=yes
7788 fi
7789 else
7790 result=$wxUSE_SNGLINST_CHECKER
7791 fi
7792
7793 { echo "$as_me:$LINENO: result: $result" >&5
7794 echo "${ECHO_T}$result" >&6; }
7795
7796
7797 enablestring=
7798 defaultval=$wxUSE_ALL_FEATURES
7799 if test -z "$defaultval"; then
7800 if test x"$enablestring" = xdisable; then
7801 defaultval=yes
7802 else
7803 defaultval=no
7804 fi
7805 fi
7806
7807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7808 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7809 no_cache=0
7810 # Check whether --enable-stdpaths was given.
7811 if test "${enable_stdpaths+set}" = set; then
7812 enableval=$enable_stdpaths;
7813 if test "$enableval" = yes; then
7814 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7815 else
7816 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7817 fi
7818
7819 else
7820
7821 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x ; then
7823 eval "DEFAULT_$LINE"
7824 else
7825 no_cache=1
7826 fi
7827
7828 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7829
7830 fi
7831
7832
7833 eval "$wx_cv_use_stdpaths"
7834 if test "$no_cache" != 1; then
7835 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7836 fi
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = yes; then
7840 result=no
7841 else
7842 result=yes
7843 fi
7844 else
7845 result=$wxUSE_STDPATHS
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7870 else
7871 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 else
7880 no_cache=1
7881 fi
7882
7883 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7884
7885 fi
7886
7887
7888 eval "$wx_cv_use_stopwatch"
7889 if test "$no_cache" != 1; then
7890 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test x"$enablestring" = xdisable; then
7894 if test $wxUSE_STOPWATCH = yes; then
7895 result=no
7896 else
7897 result=yes
7898 fi
7899 else
7900 result=$wxUSE_STOPWATCH
7901 fi
7902
7903 { echo "$as_me:$LINENO: result: $result" >&5
7904 echo "${ECHO_T}$result" >&6; }
7905
7906
7907 enablestring=
7908 defaultval=$wxUSE_ALL_FEATURES
7909 if test -z "$defaultval"; then
7910 if test x"$enablestring" = xdisable; then
7911 defaultval=yes
7912 else
7913 defaultval=no
7914 fi
7915 fi
7916
7917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7919 no_cache=0
7920 # Check whether --enable-streams was given.
7921 if test "${enable_streams+set}" = set; then
7922 enableval=$enable_streams;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_streams='wxUSE_STREAMS=yes'
7925 else
7926 wx_cv_use_streams='wxUSE_STREAMS=no'
7927 fi
7928
7929 else
7930
7931 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7932 if test "x$LINE" != x ; then
7933 eval "DEFAULT_$LINE"
7934 else
7935 no_cache=1
7936 fi
7937
7938 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7939
7940 fi
7941
7942
7943 eval "$wx_cv_use_streams"
7944 if test "$no_cache" != 1; then
7945 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test x"$enablestring" = xdisable; then
7949 if test $wxUSE_STREAMS = yes; then
7950 result=no
7951 else
7952 result=yes
7953 fi
7954 else
7955 result=$wxUSE_STREAMS
7956 fi
7957
7958 { echo "$as_me:$LINENO: result: $result" >&5
7959 echo "${ECHO_T}$result" >&6; }
7960
7961
7962 enablestring=
7963 defaultval=$wxUSE_ALL_FEATURES
7964 if test -z "$defaultval"; then
7965 if test x"$enablestring" = xdisable; then
7966 defaultval=yes
7967 else
7968 defaultval=no
7969 fi
7970 fi
7971
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7974 no_cache=0
7975 # Check whether --enable-system_options was given.
7976 if test "${enable_system_options+set}" = set; then
7977 enableval=$enable_system_options;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7980 else
7981 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$wx_cv_use_system_options"
7999 if test "$no_cache" != 1; then
8000 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test x"$enablestring" = xdisable; then
8004 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8005 result=no
8006 else
8007 result=yes
8008 fi
8009 else
8010 result=$wxUSE_SYSTEM_OPTIONS
8011 fi
8012
8013 { echo "$as_me:$LINENO: result: $result" >&5
8014 echo "${ECHO_T}$result" >&6; }
8015
8016
8017 enablestring=
8018 defaultval=$wxUSE_ALL_FEATURES
8019 if test -z "$defaultval"; then
8020 if test x"$enablestring" = xdisable; then
8021 defaultval=yes
8022 else
8023 defaultval=no
8024 fi
8025 fi
8026
8027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8029 no_cache=0
8030 # Check whether --enable-tarstream was given.
8031 if test "${enable_tarstream+set}" = set; then
8032 enableval=$enable_tarstream;
8033 if test "$enableval" = yes; then
8034 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8035 else
8036 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8037 fi
8038
8039 else
8040
8041 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 else
8045 no_cache=1
8046 fi
8047
8048 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8049
8050 fi
8051
8052
8053 eval "$wx_cv_use_tarstream"
8054 if test "$no_cache" != 1; then
8055 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TARSTREAM = yes; then
8060 result=no
8061 else
8062 result=yes
8063 fi
8064 else
8065 result=$wxUSE_TARSTREAM
8066 fi
8067
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8070
8071
8072 enablestring=
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8076 defaultval=yes
8077 else
8078 defaultval=no
8079 fi
8080 fi
8081
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8084 no_cache=0
8085 # Check whether --enable-textbuf was given.
8086 if test "${enable_textbuf+set}" = set; then
8087 enableval=$enable_textbuf;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8090 else
8091 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8104
8105 fi
8106
8107
8108 eval "$wx_cv_use_textbuf"
8109 if test "$no_cache" != 1; then
8110 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8111 fi
8112
8113 if test x"$enablestring" = xdisable; then
8114 if test $wxUSE_TEXTBUFFER = yes; then
8115 result=no
8116 else
8117 result=yes
8118 fi
8119 else
8120 result=$wxUSE_TEXTBUFFER
8121 fi
8122
8123 { echo "$as_me:$LINENO: result: $result" >&5
8124 echo "${ECHO_T}$result" >&6; }
8125
8126
8127 enablestring=
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8131 defaultval=yes
8132 else
8133 defaultval=no
8134 fi
8135 fi
8136
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8139 no_cache=0
8140 # Check whether --enable-textfile was given.
8141 if test "${enable_textfile+set}" = set; then
8142 enableval=$enable_textfile;
8143 if test "$enableval" = yes; then
8144 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8145 else
8146 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8147 fi
8148
8149 else
8150
8151 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x ; then
8153 eval "DEFAULT_$LINE"
8154 else
8155 no_cache=1
8156 fi
8157
8158 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8159
8160 fi
8161
8162
8163 eval "$wx_cv_use_textfile"
8164 if test "$no_cache" != 1; then
8165 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8166 fi
8167
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_TEXTFILE = yes; then
8170 result=no
8171 else
8172 result=yes
8173 fi
8174 else
8175 result=$wxUSE_TEXTFILE
8176 fi
8177
8178 { echo "$as_me:$LINENO: result: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8180
8181
8182 enablestring=
8183 defaultval=$wxUSE_ALL_FEATURES
8184 if test -z "$defaultval"; then
8185 if test x"$enablestring" = xdisable; then
8186 defaultval=yes
8187 else
8188 defaultval=no
8189 fi
8190 fi
8191
8192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8194 no_cache=0
8195 # Check whether --enable-timer was given.
8196 if test "${enable_timer+set}" = set; then
8197 enableval=$enable_timer;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_timer='wxUSE_TIMER=yes'
8200 else
8201 wx_cv_use_timer='wxUSE_TIMER=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8214
8215 fi
8216
8217
8218 eval "$wx_cv_use_timer"
8219 if test "$no_cache" != 1; then
8220 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test x"$enablestring" = xdisable; then
8224 if test $wxUSE_TIMER = yes; then
8225 result=no
8226 else
8227 result=yes
8228 fi
8229 else
8230 result=$wxUSE_TIMER
8231 fi
8232
8233 { echo "$as_me:$LINENO: result: $result" >&5
8234 echo "${ECHO_T}$result" >&6; }
8235
8236
8237 enablestring=
8238 defaultval=$wxUSE_ALL_FEATURES
8239 if test -z "$defaultval"; then
8240 if test x"$enablestring" = xdisable; then
8241 defaultval=yes
8242 else
8243 defaultval=no
8244 fi
8245 fi
8246
8247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8249 no_cache=0
8250 # Check whether --enable-sound was given.
8251 if test "${enable_sound+set}" = set; then
8252 enableval=$enable_sound;
8253 if test "$enableval" = yes; then
8254 wx_cv_use_sound='wxUSE_SOUND=yes'
8255 else
8256 wx_cv_use_sound='wxUSE_SOUND=no'
8257 fi
8258
8259 else
8260
8261 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8264 else
8265 no_cache=1
8266 fi
8267
8268 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8269
8270 fi
8271
8272
8273 eval "$wx_cv_use_sound"
8274 if test "$no_cache" != 1; then
8275 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8276 fi
8277
8278 if test x"$enablestring" = xdisable; then
8279 if test $wxUSE_SOUND = yes; then
8280 result=no
8281 else
8282 result=yes
8283 fi
8284 else
8285 result=$wxUSE_SOUND
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}-mediactrl" >&5
8303 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8304 no_cache=0
8305 # Check whether --enable-mediactrl was given.
8306 if test "${enable_mediactrl+set}" = set; then
8307 enableval=$enable_mediactrl;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8310 else
8311 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8312 fi
8313
8314 else
8315
8316 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8317 if test "x$LINE" != x ; then
8318 eval "DEFAULT_$LINE"
8319 else
8320 no_cache=1
8321 fi
8322
8323 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8324
8325 fi
8326
8327
8328 eval "$wx_cv_use_mediactrl"
8329 if test "$no_cache" != 1; then
8330 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8331 fi
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_MEDIACTRL = yes; then
8335 result=no
8336 else
8337 result=yes
8338 fi
8339 else
8340 result=$wxUSE_MEDIACTRL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-gstreamer8 was given.
8361 if test "${enable_gstreamer8+set}" = set; then
8362 enableval=$enable_gstreamer8;
8363 if test "$enableval" = yes; then
8364 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8365 else
8366 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8379
8380 fi
8381
8382
8383 eval "$wx_cv_use_gstreamer8"
8384 if test "$no_cache" != 1; then
8385 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test x"$enablestring" = xdisable; then
8389 if test $wxUSE_GSTREAMER8 = yes; then
8390 result=no
8391 else
8392 result=yes
8393 fi
8394 else
8395 result=$wxUSE_GSTREAMER8
8396 fi
8397
8398 { echo "$as_me:$LINENO: result: $result" >&5
8399 echo "${ECHO_T}$result" >&6; }
8400
8401
8402 enablestring=
8403 defaultval=$wxUSE_ALL_FEATURES
8404 if test -z "$defaultval"; then
8405 if test x"$enablestring" = xdisable; then
8406 defaultval=yes
8407 else
8408 defaultval=no
8409 fi
8410 fi
8411
8412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8413 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8414 no_cache=0
8415 # Check whether --enable-printfposparam was given.
8416 if test "${enable_printfposparam+set}" = set; then
8417 enableval=$enable_printfposparam;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8420 else
8421 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8422 fi
8423
8424 else
8425
8426 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8427 if test "x$LINE" != x ; then
8428 eval "DEFAULT_$LINE"
8429 else
8430 no_cache=1
8431 fi
8432
8433 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_printfposparam"
8439 if test "$no_cache" != 1; then
8440 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8441 fi
8442
8443 if test x"$enablestring" = xdisable; then
8444 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8445 result=no
8446 else
8447 result=yes
8448 fi
8449 else
8450 result=$wxUSE_PRINTF_POS_PARAMS
8451 fi
8452
8453 { echo "$as_me:$LINENO: result: $result" >&5
8454 echo "${ECHO_T}$result" >&6; }
8455
8456
8457 enablestring=
8458 defaultval=$wxUSE_ALL_FEATURES
8459 if test -z "$defaultval"; then
8460 if test x"$enablestring" = xdisable; then
8461 defaultval=yes
8462 else
8463 defaultval=no
8464 fi
8465 fi
8466
8467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8468 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8469 no_cache=0
8470 # Check whether --enable-zipstream was given.
8471 if test "${enable_zipstream+set}" = set; then
8472 enableval=$enable_zipstream;
8473 if test "$enableval" = yes; then
8474 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8475 else
8476 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8477 fi
8478
8479 else
8480
8481 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8482 if test "x$LINE" != x ; then
8483 eval "DEFAULT_$LINE"
8484 else
8485 no_cache=1
8486 fi
8487
8488 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8489
8490 fi
8491
8492
8493 eval "$wx_cv_use_zipstream"
8494 if test "$no_cache" != 1; then
8495 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8496 fi
8497
8498 if test x"$enablestring" = xdisable; then
8499 if test $wxUSE_ZIPSTREAM = yes; then
8500 result=no
8501 else
8502 result=yes
8503 fi
8504 else
8505 result=$wxUSE_ZIPSTREAM
8506 fi
8507
8508 { echo "$as_me:$LINENO: result: $result" >&5
8509 echo "${ECHO_T}$result" >&6; }
8510
8511
8512
8513 enablestring=
8514 defaultval=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x"$enablestring" = xdisable; then
8517 defaultval=yes
8518 else
8519 defaultval=no
8520 fi
8521 fi
8522
8523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8524 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8525 no_cache=0
8526 # Check whether --enable-url was given.
8527 if test "${enable_url+set}" = set; then
8528 enableval=$enable_url;
8529 if test "$enableval" = yes; then
8530 wx_cv_use_url='wxUSE_URL=yes'
8531 else
8532 wx_cv_use_url='wxUSE_URL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8545
8546 fi
8547
8548
8549 eval "$wx_cv_use_url"
8550 if test "$no_cache" != 1; then
8551 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8552 fi
8553
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_URL = yes; then
8556 result=no
8557 else
8558 result=yes
8559 fi
8560 else
8561 result=$wxUSE_URL
8562 fi
8563
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8566
8567
8568 enablestring=
8569 defaultval=$wxUSE_ALL_FEATURES
8570 if test -z "$defaultval"; then
8571 if test x"$enablestring" = xdisable; then
8572 defaultval=yes
8573 else
8574 defaultval=no
8575 fi
8576 fi
8577
8578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8580 no_cache=0
8581 # Check whether --enable-variant was given.
8582 if test "${enable_variant+set}" = set; then
8583 enableval=$enable_variant;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_variant='wxUSE_VARIANT=yes'
8586 else
8587 wx_cv_use_variant='wxUSE_VARIANT=no'
8588 fi
8589
8590 else
8591
8592 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8595 else
8596 no_cache=1
8597 fi
8598
8599 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8600
8601 fi
8602
8603
8604 eval "$wx_cv_use_variant"
8605 if test "$no_cache" != 1; then
8606 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_VARIANT = yes; then
8611 result=no
8612 else
8613 result=yes
8614 fi
8615 else
8616 result=$wxUSE_VARIANT
8617 fi
8618
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8635 no_cache=0
8636 # Check whether --enable-protocol was given.
8637 if test "${enable_protocol+set}" = set; then
8638 enableval=$enable_protocol;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8641 else
8642 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8655
8656 fi
8657
8658
8659 eval "$wx_cv_use_protocol"
8660 if test "$no_cache" != 1; then
8661 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8662 fi
8663
8664 if test x"$enablestring" = xdisable; then
8665 if test $wxUSE_PROTOCOL = yes; then
8666 result=no
8667 else
8668 result=yes
8669 fi
8670 else
8671 result=$wxUSE_PROTOCOL
8672 fi
8673
8674 { echo "$as_me:$LINENO: result: $result" >&5
8675 echo "${ECHO_T}$result" >&6; }
8676
8677
8678 enablestring=
8679 defaultval=$wxUSE_ALL_FEATURES
8680 if test -z "$defaultval"; then
8681 if test x"$enablestring" = xdisable; then
8682 defaultval=yes
8683 else
8684 defaultval=no
8685 fi
8686 fi
8687
8688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8690 no_cache=0
8691 # Check whether --enable-protocol_http was given.
8692 if test "${enable_protocol_http+set}" = set; then
8693 enableval=$enable_protocol_http;
8694 if test "$enableval" = yes; then
8695 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8696 else
8697 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$wx_cv_use_protocol_http"
8715 if test "$no_cache" != 1; then
8716 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8717 fi
8718
8719 if test x"$enablestring" = xdisable; then
8720 if test $wxUSE_PROTOCOL_HTTP = yes; then
8721 result=no
8722 else
8723 result=yes
8724 fi
8725 else
8726 result=$wxUSE_PROTOCOL_HTTP
8727 fi
8728
8729 { echo "$as_me:$LINENO: result: $result" >&5
8730 echo "${ECHO_T}$result" >&6; }
8731
8732
8733 enablestring=
8734 defaultval=$wxUSE_ALL_FEATURES
8735 if test -z "$defaultval"; then
8736 if test x"$enablestring" = xdisable; then
8737 defaultval=yes
8738 else
8739 defaultval=no
8740 fi
8741 fi
8742
8743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8744 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8745 no_cache=0
8746 # Check whether --enable-protocol_ftp was given.
8747 if test "${enable_protocol_ftp+set}" = set; then
8748 enableval=$enable_protocol_ftp;
8749 if test "$enableval" = yes; then
8750 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8751 else
8752 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8753 fi
8754
8755 else
8756
8757 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x ; then
8759 eval "DEFAULT_$LINE"
8760 else
8761 no_cache=1
8762 fi
8763
8764 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8765
8766 fi
8767
8768
8769 eval "$wx_cv_use_protocol_ftp"
8770 if test "$no_cache" != 1; then
8771 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
8772 fi
8773
8774 if test x"$enablestring" = xdisable; then
8775 if test $wxUSE_PROTOCOL_FTP = yes; then
8776 result=no
8777 else
8778 result=yes
8779 fi
8780 else
8781 result=$wxUSE_PROTOCOL_FTP
8782 fi
8783
8784 { echo "$as_me:$LINENO: result: $result" >&5
8785 echo "${ECHO_T}$result" >&6; }
8786
8787
8788 enablestring=
8789 defaultval=$wxUSE_ALL_FEATURES
8790 if test -z "$defaultval"; then
8791 if test x"$enablestring" = xdisable; then
8792 defaultval=yes
8793 else
8794 defaultval=no
8795 fi
8796 fi
8797
8798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8800 no_cache=0
8801 # Check whether --enable-protocol_file was given.
8802 if test "${enable_protocol_file+set}" = set; then
8803 enableval=$enable_protocol_file;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8806 else
8807 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8808 fi
8809
8810 else
8811
8812 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8813 if test "x$LINE" != x ; then
8814 eval "DEFAULT_$LINE"
8815 else
8816 no_cache=1
8817 fi
8818
8819 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8820
8821 fi
8822
8823
8824 eval "$wx_cv_use_protocol_file"
8825 if test "$no_cache" != 1; then
8826 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8827 fi
8828
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_PROTOCOL_FILE = yes; then
8831 result=no
8832 else
8833 result=yes
8834 fi
8835 else
8836 result=$wxUSE_PROTOCOL_FILE
8837 fi
8838
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8841
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8856 no_cache=0
8857 # Check whether --enable-threads was given.
8858 if test "${enable_threads+set}" = set; then
8859 enableval=$enable_threads;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_threads='wxUSE_THREADS=yes'
8862 else
8863 wx_cv_use_threads='wxUSE_THREADS=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8876
8877 fi
8878
8879
8880 eval "$wx_cv_use_threads"
8881 if test "$no_cache" != 1; then
8882 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
8883 fi
8884
8885 if test x"$enablestring" = xdisable; then
8886 if test $wxUSE_THREADS = yes; then
8887 result=no
8888 else
8889 result=yes
8890 fi
8891 else
8892 result=$wxUSE_THREADS
8893 fi
8894
8895 { echo "$as_me:$LINENO: result: $result" >&5
8896 echo "${ECHO_T}$result" >&6; }
8897
8898
8899 if test "$wxUSE_GUI" = "yes"; then
8900
8901
8902
8903 enablestring=
8904 defaultval=$wxUSE_ALL_FEATURES
8905 if test -z "$defaultval"; then
8906 if test x"$enablestring" = xdisable; then
8907 defaultval=yes
8908 else
8909 defaultval=no
8910 fi
8911 fi
8912
8913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8915 no_cache=0
8916 # Check whether --enable-docview was given.
8917 if test "${enable_docview+set}" = set; then
8918 enableval=$enable_docview;
8919 if test "$enableval" = yes; then
8920 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8921 else
8922 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8923 fi
8924
8925 else
8926
8927 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8928 if test "x$LINE" != x ; then
8929 eval "DEFAULT_$LINE"
8930 else
8931 no_cache=1
8932 fi
8933
8934 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8935
8936 fi
8937
8938
8939 eval "$wx_cv_use_docview"
8940 if test "$no_cache" != 1; then
8941 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
8942 fi
8943
8944 if test x"$enablestring" = xdisable; then
8945 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8946 result=no
8947 else
8948 result=yes
8949 fi
8950 else
8951 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8952 fi
8953
8954 { echo "$as_me:$LINENO: result: $result" >&5
8955 echo "${ECHO_T}$result" >&6; }
8956
8957
8958 enablestring=
8959 defaultval=$wxUSE_ALL_FEATURES
8960 if test -z "$defaultval"; then
8961 if test x"$enablestring" = xdisable; then
8962 defaultval=yes
8963 else
8964 defaultval=no
8965 fi
8966 fi
8967
8968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8969 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8970 no_cache=0
8971 # Check whether --enable-help was given.
8972 if test "${enable_help+set}" = set; then
8973 enableval=$enable_help;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_help='wxUSE_HELP=yes'
8976 else
8977 wx_cv_use_help='wxUSE_HELP=no'
8978 fi
8979
8980 else
8981
8982 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8983 if test "x$LINE" != x ; then
8984 eval "DEFAULT_$LINE"
8985 else
8986 no_cache=1
8987 fi
8988
8989 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8990
8991 fi
8992
8993
8994 eval "$wx_cv_use_help"
8995 if test "$no_cache" != 1; then
8996 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
8997 fi
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_HELP = yes; then
9001 result=no
9002 else
9003 result=yes
9004 fi
9005 else
9006 result=$wxUSE_HELP
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9025 no_cache=0
9026 # Check whether --enable-mshtmlhelp was given.
9027 if test "${enable_mshtmlhelp+set}" = set; then
9028 enableval=$enable_mshtmlhelp;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9031 else
9032 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9045
9046 fi
9047
9048
9049 eval "$wx_cv_use_mshtmlhelp"
9050 if test "$no_cache" != 1; then
9051 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9052 fi
9053
9054 if test x"$enablestring" = xdisable; then
9055 if test $wxUSE_MS_HTML_HELP = yes; then
9056 result=no
9057 else
9058 result=yes
9059 fi
9060 else
9061 result=$wxUSE_MS_HTML_HELP
9062 fi
9063
9064 { echo "$as_me:$LINENO: result: $result" >&5
9065 echo "${ECHO_T}$result" >&6; }
9066
9067
9068 enablestring=
9069 defaultval=$wxUSE_ALL_FEATURES
9070 if test -z "$defaultval"; then
9071 if test x"$enablestring" = xdisable; then
9072 defaultval=yes
9073 else
9074 defaultval=no
9075 fi
9076 fi
9077
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9080 no_cache=0
9081 # Check whether --enable-html was given.
9082 if test "${enable_html+set}" = set; then
9083 enableval=$enable_html;
9084 if test "$enableval" = yes; then
9085 wx_cv_use_html='wxUSE_HTML=yes'
9086 else
9087 wx_cv_use_html='wxUSE_HTML=no'
9088 fi
9089
9090 else
9091
9092 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9100
9101 fi
9102
9103
9104 eval "$wx_cv_use_html"
9105 if test "$no_cache" != 1; then
9106 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9107 fi
9108
9109 if test x"$enablestring" = xdisable; then
9110 if test $wxUSE_HTML = yes; then
9111 result=no
9112 else
9113 result=yes
9114 fi
9115 else
9116 result=$wxUSE_HTML
9117 fi
9118
9119 { echo "$as_me:$LINENO: result: $result" >&5
9120 echo "${ECHO_T}$result" >&6; }
9121
9122
9123 enablestring=
9124 defaultval=$wxUSE_ALL_FEATURES
9125 if test -z "$defaultval"; then
9126 if test x"$enablestring" = xdisable; then
9127 defaultval=yes
9128 else
9129 defaultval=no
9130 fi
9131 fi
9132
9133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9134 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9135 no_cache=0
9136 # Check whether --enable-htmlhelp was given.
9137 if test "${enable_htmlhelp+set}" = set; then
9138 enableval=$enable_htmlhelp;
9139 if test "$enableval" = yes; then
9140 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9141 else
9142 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9143 fi
9144
9145 else
9146
9147 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9148 if test "x$LINE" != x ; then
9149 eval "DEFAULT_$LINE"
9150 else
9151 no_cache=1
9152 fi
9153
9154 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9155
9156 fi
9157
9158
9159 eval "$wx_cv_use_htmlhelp"
9160 if test "$no_cache" != 1; then
9161 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9162 fi
9163
9164 if test x"$enablestring" = xdisable; then
9165 if test $wxUSE_WXHTML_HELP = yes; then
9166 result=no
9167 else
9168 result=yes
9169 fi
9170 else
9171 result=$wxUSE_WXHTML_HELP
9172 fi
9173
9174 { echo "$as_me:$LINENO: result: $result" >&5
9175 echo "${ECHO_T}$result" >&6; }
9176
9177
9178 enablestring=
9179 defaultval=$wxUSE_ALL_FEATURES
9180 if test -z "$defaultval"; then
9181 if test x"$enablestring" = xdisable; then
9182 defaultval=yes
9183 else
9184 defaultval=no
9185 fi
9186 fi
9187
9188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9190 no_cache=0
9191 # Check whether --enable-xrc was given.
9192 if test "${enable_xrc+set}" = set; then
9193 enableval=$enable_xrc;
9194 if test "$enableval" = yes; then
9195 wx_cv_use_xrc='wxUSE_XRC=yes'
9196 else
9197 wx_cv_use_xrc='wxUSE_XRC=no'
9198 fi
9199
9200 else
9201
9202 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9205 else
9206 no_cache=1
9207 fi
9208
9209 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9210
9211 fi
9212
9213
9214 eval "$wx_cv_use_xrc"
9215 if test "$no_cache" != 1; then
9216 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_XRC = yes; then
9221 result=no
9222 else
9223 result=yes
9224 fi
9225 else
9226 result=$wxUSE_XRC
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9245 no_cache=0
9246 # Check whether --enable-aui was given.
9247 if test "${enable_aui+set}" = set; then
9248 enableval=$enable_aui;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_aui='wxUSE_AUI=yes'
9251 else
9252 wx_cv_use_aui='wxUSE_AUI=no'
9253 fi
9254
9255 else
9256
9257 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9260 else
9261 no_cache=1
9262 fi
9263
9264 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9265
9266 fi
9267
9268
9269 eval "$wx_cv_use_aui"
9270 if test "$no_cache" != 1; then
9271 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test x"$enablestring" = xdisable; then
9275 if test $wxUSE_AUI = yes; then
9276 result=no
9277 else
9278 result=yes
9279 fi
9280 else
9281 result=$wxUSE_AUI
9282 fi
9283
9284 { echo "$as_me:$LINENO: result: $result" >&5
9285 echo "${ECHO_T}$result" >&6; }
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}-stc" >&5
9299 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9300 no_cache=0
9301 # Check whether --enable-stc was given.
9302 if test "${enable_stc+set}" = set; then
9303 enableval=$enable_stc;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_stc='wxUSE_STC=yes'
9306 else
9307 wx_cv_use_stc='wxUSE_STC=no'
9308 fi
9309
9310 else
9311
9312 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9313 if test "x$LINE" != x ; then
9314 eval "DEFAULT_$LINE"
9315 else
9316 no_cache=1
9317 fi
9318
9319 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9320
9321 fi
9322
9323
9324 eval "$wx_cv_use_stc"
9325 if test "$no_cache" != 1; then
9326 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9327 fi
9328
9329 if test x"$enablestring" = xdisable; then
9330 if test $wxUSE_STC = yes; then
9331 result=no
9332 else
9333 result=yes
9334 fi
9335 else
9336 result=$wxUSE_STC
9337 fi
9338
9339 { echo "$as_me:$LINENO: result: $result" >&5
9340 echo "${ECHO_T}$result" >&6; }
9341
9342
9343 enablestring=
9344 defaultval=$wxUSE_ALL_FEATURES
9345 if test -z "$defaultval"; then
9346 if test x"$enablestring" = xdisable; then
9347 defaultval=yes
9348 else
9349 defaultval=no
9350 fi
9351 fi
9352
9353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9355 no_cache=0
9356 # Check whether --enable-constraints was given.
9357 if test "${enable_constraints+set}" = set; then
9358 enableval=$enable_constraints;
9359 if test "$enableval" = yes; then
9360 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9361 else
9362 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9375
9376 fi
9377
9378
9379 eval "$wx_cv_use_constraints"
9380 if test "$no_cache" != 1; then
9381 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_CONSTRAINTS = yes; then
9386 result=no
9387 else
9388 result=yes
9389 fi
9390 else
9391 result=$wxUSE_CONSTRAINTS
9392 fi
9393
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9396
9397
9398 enablestring=
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9402 defaultval=yes
9403 else
9404 defaultval=no
9405 fi
9406 fi
9407
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9410 no_cache=0
9411 # Check whether --enable-printarch was given.
9412 if test "${enable_printarch+set}" = set; then
9413 enableval=$enable_printarch;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9416 else
9417 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9430
9431 fi
9432
9433
9434 eval "$wx_cv_use_printarch"
9435 if test "$no_cache" != 1; then
9436 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9437 fi
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9441 result=no
9442 else
9443 result=yes
9444 fi
9445 else
9446 result=$wxUSE_PRINTING_ARCHITECTURE
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9465 no_cache=0
9466 # Check whether --enable-mdi was given.
9467 if test "${enable_mdi+set}" = set; then
9468 enableval=$enable_mdi;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_mdi='wxUSE_MDI=yes'
9471 else
9472 wx_cv_use_mdi='wxUSE_MDI=no'
9473 fi
9474
9475 else
9476
9477 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9478 if test "x$LINE" != x ; then
9479 eval "DEFAULT_$LINE"
9480 else
9481 no_cache=1
9482 fi
9483
9484 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9485
9486 fi
9487
9488
9489 eval "$wx_cv_use_mdi"
9490 if test "$no_cache" != 1; then
9491 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9492 fi
9493
9494 if test x"$enablestring" = xdisable; then
9495 if test $wxUSE_MDI = yes; then
9496 result=no
9497 else
9498 result=yes
9499 fi
9500 else
9501 result=$wxUSE_MDI
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}-mdidoc" >&5
9519 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9520 no_cache=0
9521 # Check whether --enable-mdidoc was given.
9522 if test "${enable_mdidoc+set}" = set; then
9523 enableval=$enable_mdidoc;
9524 if test "$enableval" = yes; then
9525 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9526 else
9527 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9528 fi
9529
9530 else
9531
9532 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9533 if test "x$LINE" != x ; then
9534 eval "DEFAULT_$LINE"
9535 else
9536 no_cache=1
9537 fi
9538
9539 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9540
9541 fi
9542
9543
9544 eval "$wx_cv_use_mdidoc"
9545 if test "$no_cache" != 1; then
9546 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9547 fi
9548
9549 if test x"$enablestring" = xdisable; then
9550 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9551 result=no
9552 else
9553 result=yes
9554 fi
9555 else
9556 result=$wxUSE_MDI_ARCHITECTURE
9557 fi
9558
9559 { echo "$as_me:$LINENO: result: $result" >&5
9560 echo "${ECHO_T}$result" >&6; }
9561
9562
9563 enablestring=
9564 defaultval=$wxUSE_ALL_FEATURES
9565 if test -z "$defaultval"; then
9566 if test x"$enablestring" = xdisable; then
9567 defaultval=yes
9568 else
9569 defaultval=no
9570 fi
9571 fi
9572
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9575 no_cache=0
9576 # Check whether --enable-loggui was given.
9577 if test "${enable_loggui+set}" = set; then
9578 enableval=$enable_loggui;
9579 if test "$enableval" = yes; then
9580 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9581 else
9582 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9583 fi
9584
9585 else
9586
9587 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9590 else
9591 no_cache=1
9592 fi
9593
9594 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_loggui"
9600 if test "$no_cache" != 1; then
9601 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test x"$enablestring" = xdisable; then
9605 if test $wxUSE_LOGGUI = yes; then
9606 result=no
9607 else
9608 result=yes
9609 fi
9610 else
9611 result=$wxUSE_LOGGUI
9612 fi
9613
9614 { echo "$as_me:$LINENO: result: $result" >&5
9615 echo "${ECHO_T}$result" >&6; }
9616
9617
9618 enablestring=
9619 defaultval=$wxUSE_ALL_FEATURES
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9630 no_cache=0
9631 # Check whether --enable-logwin was given.
9632 if test "${enable_logwin+set}" = set; then
9633 enableval=$enable_logwin;
9634 if test "$enableval" = yes; then
9635 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9636 else
9637 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9638 fi
9639
9640 else
9641
9642 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9643 if test "x$LINE" != x ; then
9644 eval "DEFAULT_$LINE"
9645 else
9646 no_cache=1
9647 fi
9648
9649 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9650
9651 fi
9652
9653
9654 eval "$wx_cv_use_logwin"
9655 if test "$no_cache" != 1; then
9656 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9657 fi
9658
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_LOGWINDOW = yes; then
9661 result=no
9662 else
9663 result=yes
9664 fi
9665 else
9666 result=$wxUSE_LOGWINDOW
9667 fi
9668
9669 { echo "$as_me:$LINENO: result: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9671
9672
9673 enablestring=
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9677 defaultval=yes
9678 else
9679 defaultval=no
9680 fi
9681 fi
9682
9683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9685 no_cache=0
9686 # Check whether --enable-logdialog was given.
9687 if test "${enable_logdialog+set}" = set; then
9688 enableval=$enable_logdialog;
9689 if test "$enableval" = yes; then
9690 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9691 else
9692 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9693 fi
9694
9695 else
9696
9697 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9698 if test "x$LINE" != x ; then
9699 eval "DEFAULT_$LINE"
9700 else
9701 no_cache=1
9702 fi
9703
9704 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9705
9706 fi
9707
9708
9709 eval "$wx_cv_use_logdialog"
9710 if test "$no_cache" != 1; then
9711 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test x"$enablestring" = xdisable; then
9715 if test $wxUSE_LOGDIALOG = yes; then
9716 result=no
9717 else
9718 result=yes
9719 fi
9720 else
9721 result=$wxUSE_LOGDIALOG
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}-webkit" >&5
9739 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9740 no_cache=0
9741 # Check whether --enable-webkit was given.
9742 if test "${enable_webkit+set}" = set; then
9743 enableval=$enable_webkit;
9744 if test "$enableval" = yes; then
9745 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9746 else
9747 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9748 fi
9749
9750 else
9751
9752 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9753 if test "x$LINE" != x ; then
9754 eval "DEFAULT_$LINE"
9755 else
9756 no_cache=1
9757 fi
9758
9759 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9760
9761 fi
9762
9763
9764 eval "$wx_cv_use_webkit"
9765 if test "$no_cache" != 1; then
9766 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
9767 fi
9768
9769 if test x"$enablestring" = xdisable; then
9770 if test $wxUSE_WEBKIT = yes; then
9771 result=no
9772 else
9773 result=yes
9774 fi
9775 else
9776 result=$wxUSE_WEBKIT
9777 fi
9778
9779 { echo "$as_me:$LINENO: result: $result" >&5
9780 echo "${ECHO_T}$result" >&6; }
9781
9782
9783 enablestring=
9784 defaultval=$wxUSE_ALL_FEATURES
9785 if test -z "$defaultval"; then
9786 if test x"$enablestring" = xdisable; then
9787 defaultval=yes
9788 else
9789 defaultval=no
9790 fi
9791 fi
9792
9793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9795 no_cache=0
9796 # Check whether --enable-richtext was given.
9797 if test "${enable_richtext+set}" = set; then
9798 enableval=$enable_richtext;
9799 if test "$enableval" = yes; then
9800 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9801 else
9802 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9803 fi
9804
9805 else
9806
9807 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9808 if test "x$LINE" != x ; then
9809 eval "DEFAULT_$LINE"
9810 else
9811 no_cache=1
9812 fi
9813
9814 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9815
9816 fi
9817
9818
9819 eval "$wx_cv_use_richtext"
9820 if test "$no_cache" != 1; then
9821 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test x"$enablestring" = xdisable; then
9825 if test $wxUSE_RICHTEXT = yes; then
9826 result=no
9827 else
9828 result=yes
9829 fi
9830 else
9831 result=$wxUSE_RICHTEXT
9832 fi
9833
9834 { echo "$as_me:$LINENO: result: $result" >&5
9835 echo "${ECHO_T}$result" >&6; }
9836
9837
9838 enablestring=
9839 defaultval=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x"$enablestring" = xdisable; then
9842 defaultval=yes
9843 else
9844 defaultval=no
9845 fi
9846 fi
9847
9848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9849 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9850 no_cache=0
9851 # Check whether --enable-graphics_ctx was given.
9852 if test "${enable_graphics_ctx+set}" = set; then
9853 enableval=$enable_graphics_ctx;
9854 if test "$enableval" = yes; then
9855 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9856 else
9857 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9858 fi
9859
9860 else
9861
9862 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9865 else
9866 no_cache=1
9867 fi
9868
9869 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9870
9871 fi
9872
9873
9874 eval "$wx_cv_use_graphics_ctx"
9875 if test "$no_cache" != 1; then
9876 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9877 fi
9878
9879 if test x"$enablestring" = xdisable; then
9880 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9881 result=no
9882 else
9883 result=yes
9884 fi
9885 else
9886 result=$wxUSE_GRAPHICS_CONTEXT
9887 fi
9888
9889 { echo "$as_me:$LINENO: result: $result" >&5
9890 echo "${ECHO_T}$result" >&6; }
9891
9892
9893 enablestring=
9894 defaultval=$wxUSE_ALL_FEATURES
9895 if test -z "$defaultval"; then
9896 if test x"$enablestring" = xdisable; then
9897 defaultval=yes
9898 else
9899 defaultval=no
9900 fi
9901 fi
9902
9903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9905 no_cache=0
9906 # Check whether --enable-postscript was given.
9907 if test "${enable_postscript+set}" = set; then
9908 enableval=$enable_postscript;
9909 if test "$enableval" = yes; then
9910 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9911 else
9912 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9913 fi
9914
9915 else
9916
9917 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9918 if test "x$LINE" != x ; then
9919 eval "DEFAULT_$LINE"
9920 else
9921 no_cache=1
9922 fi
9923
9924 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9925
9926 fi
9927
9928
9929 eval "$wx_cv_use_postscript"
9930 if test "$no_cache" != 1; then
9931 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9932 fi
9933
9934 if test x"$enablestring" = xdisable; then
9935 if test $wxUSE_POSTSCRIPT = yes; then
9936 result=no
9937 else
9938 result=yes
9939 fi
9940 else
9941 result=$wxUSE_POSTSCRIPT
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}-svg" >&5
9959 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9960 no_cache=0
9961 # Check whether --enable-svg was given.
9962 if test "${enable_svg+set}" = set; then
9963 enableval=$enable_svg;
9964 if test "$enableval" = yes; then
9965 wx_cv_use_svg='wxUSE_SVG=yes'
9966 else
9967 wx_cv_use_svg='wxUSE_SVG=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9980
9981 fi
9982
9983
9984 eval "$wx_cv_use_svg"
9985 if test "$no_cache" != 1; then
9986 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
9987 fi
9988
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_SVG = yes; then
9991 result=no
9992 else
9993 result=yes
9994 fi
9995 else
9996 result=$wxUSE_SVG
9997 fi
9998
9999 { echo "$as_me:$LINENO: result: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10001
10002
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10017 no_cache=0
10018 # Check whether --enable-clipboard was given.
10019 if test "${enable_clipboard+set}" = set; then
10020 enableval=$enable_clipboard;
10021 if test "$enableval" = yes; then
10022 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10023 else
10024 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10025 fi
10026
10027 else
10028
10029 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10030 if test "x$LINE" != x ; then
10031 eval "DEFAULT_$LINE"
10032 else
10033 no_cache=1
10034 fi
10035
10036 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10037
10038 fi
10039
10040
10041 eval "$wx_cv_use_clipboard"
10042 if test "$no_cache" != 1; then
10043 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10044 fi
10045
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_CLIPBOARD = yes; then
10048 result=no
10049 else
10050 result=yes
10051 fi
10052 else
10053 result=$wxUSE_CLIPBOARD
10054 fi
10055
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10058
10059
10060 enablestring=
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10064 defaultval=yes
10065 else
10066 defaultval=no
10067 fi
10068 fi
10069
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10072 no_cache=0
10073 # Check whether --enable-dnd was given.
10074 if test "${enable_dnd+set}" = set; then
10075 enableval=$enable_dnd;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10078 else
10079 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10080 fi
10081
10082 else
10083
10084 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10085 if test "x$LINE" != x ; then
10086 eval "DEFAULT_$LINE"
10087 else
10088 no_cache=1
10089 fi
10090
10091 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10092
10093 fi
10094
10095
10096 eval "$wx_cv_use_dnd"
10097 if test "$no_cache" != 1; then
10098 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10099 fi
10100
10101 if test x"$enablestring" = xdisable; then
10102 if test $wxUSE_DRAG_AND_DROP = yes; then
10103 result=no
10104 else
10105 result=yes
10106 fi
10107 else
10108 result=$wxUSE_DRAG_AND_DROP
10109 fi
10110
10111 { echo "$as_me:$LINENO: result: $result" >&5
10112 echo "${ECHO_T}$result" >&6; }
10113
10114
10115 enablestring=
10116 defaultval=$wxUSE_ALL_FEATURES
10117 if test -z "$defaultval"; then
10118 if test x"$enablestring" = xdisable; then
10119 defaultval=yes
10120 else
10121 defaultval=no
10122 fi
10123 fi
10124
10125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10126 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10127 no_cache=0
10128 # Check whether --enable-metafile was given.
10129 if test "${enable_metafile+set}" = set; then
10130 enableval=$enable_metafile;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10133 else
10134 wx_cv_use_metafile='wxUSE_METAFILE=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10147
10148 fi
10149
10150
10151 eval "$wx_cv_use_metafile"
10152 if test "$no_cache" != 1; then
10153 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10154 fi
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_METAFILE = yes; then
10158 result=no
10159 else
10160 result=yes
10161 fi
10162 else
10163 result=$wxUSE_METAFILE
10164 fi
10165
10166 { echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6; }
10168
10169
10170
10171 DEFAULT_wxUSE_CONTROLS=none
10172
10173 enablestring=disable
10174 defaultval=
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10185 no_cache=0
10186 # Check whether --enable-controls was given.
10187 if test "${enable_controls+set}" = set; then
10188 enableval=$enable_controls;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10191 else
10192 wx_cv_use_controls='wxUSE_CONTROLS=no'
10193 fi
10194
10195 else
10196
10197 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10198 if test "x$LINE" != x ; then
10199 eval "DEFAULT_$LINE"
10200 else
10201 no_cache=1
10202 fi
10203
10204 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10205
10206 fi
10207
10208
10209 eval "$wx_cv_use_controls"
10210 if test "$no_cache" != 1; then
10211 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10212 fi
10213
10214 if test x"$enablestring" = xdisable; then
10215 if test $wxUSE_CONTROLS = yes; then
10216 result=no
10217 else
10218 result=yes
10219 fi
10220 else
10221 result=$wxUSE_CONTROLS
10222 fi
10223
10224 { echo "$as_me:$LINENO: result: $result" >&5
10225 echo "${ECHO_T}$result" >&6; }
10226
10227
10228 if test "$wxUSE_CONTROLS" = "yes"; then
10229 DEFAULT_wxUSE_ACCEL=yes
10230 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10231 DEFAULT_wxUSE_BMPBUTTON=yes
10232 DEFAULT_wxUSE_BUTTON=yes
10233 DEFAULT_wxUSE_CALCTRL=yes
10234 DEFAULT_wxUSE_CARET=yes
10235 DEFAULT_wxUSE_COMBOBOX=yes
10236 DEFAULT_wxUSE_CHECKBOX=yes
10237 DEFAULT_wxUSE_CHECKLISTBOX=yes
10238 DEFAULT_wxUSE_CHOICE=yes
10239 DEFAULT_wxUSE_CHOICEBOOK=yes
10240 DEFAULT_wxUSE_COLLPANE=yes
10241 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10242 DEFAULT_wxUSE_COMBOBOX=yes
10243 DEFAULT_wxUSE_DATEPICKCTRL=yes
10244 DEFAULT_wxUSE_DISPLAY=yes
10245 DEFAULT_wxUSE_DETECT_SM=yes
10246 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10247 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10248 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10249 DEFAULT_wxUSE_GAUGE=yes
10250 DEFAULT_wxUSE_GRID=yes
10251 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10252 DEFAULT_wxUSE_DATAVIEWCTRL=no
10253 DEFAULT_wxUSE_IMAGLIST=yes
10254 DEFAULT_wxUSE_LISTBOOK=yes
10255 DEFAULT_wxUSE_LISTBOX=yes
10256 DEFAULT_wxUSE_LISTCTRL=yes
10257 DEFAULT_wxUSE_NOTEBOOK=yes
10258 DEFAULT_wxUSE_RADIOBOX=yes
10259 DEFAULT_wxUSE_RADIOBTN=yes
10260 DEFAULT_wxUSE_SASH=yes
10261 DEFAULT_wxUSE_SCROLLBAR=yes
10262 DEFAULT_wxUSE_SEARCHCTRL=yes
10263 DEFAULT_wxUSE_SLIDER=yes
10264 DEFAULT_wxUSE_SPINBTN=yes
10265 DEFAULT_wxUSE_SPINCTRL=yes
10266 DEFAULT_wxUSE_SPLITTER=yes
10267 DEFAULT_wxUSE_STATBMP=yes
10268 DEFAULT_wxUSE_STATBOX=yes
10269 DEFAULT_wxUSE_STATLINE=yes
10270 DEFAULT_wxUSE_STATUSBAR=yes
10271 DEFAULT_wxUSE_TAB_DIALOG=yes
10272 DEFAULT_wxUSE_TOGGLEBTN=yes
10273 DEFAULT_wxUSE_TOOLBAR=yes
10274 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10275 DEFAULT_wxUSE_TOOLTIPS=yes
10276 DEFAULT_wxUSE_TREEBOOK=yes
10277 DEFAULT_wxUSE_TOOLBOOK=yes
10278 DEFAULT_wxUSE_TREECTRL=yes
10279 DEFAULT_wxUSE_POPUPWIN=yes
10280 DEFAULT_wxUSE_TIPWINDOW=yes
10281 elif test "$wxUSE_CONTROLS" = "no"; then
10282 DEFAULT_wxUSE_ACCEL=no
10283 DEFAULT_wxUSE_ANIMATIONCTRL=no
10284 DEFAULT_wxUSE_BMPBUTTON=no
10285 DEFAULT_wxUSE_BUTTON=no
10286 DEFAULT_wxUSE_CALCTRL=no
10287 DEFAULT_wxUSE_CARET=no
10288 DEFAULT_wxUSE_COLLPANE=no
10289 DEFAULT_wxUSE_COMBOBOX=no
10290 DEFAULT_wxUSE_CHECKBOX=no
10291 DEFAULT_wxUSE_CHECKLISTBOX=no
10292 DEFAULT_wxUSE_CHOICE=no
10293 DEFAULT_wxUSE_CHOICEBOOK=no
10294 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10295 DEFAULT_wxUSE_COMBOBOX=no
10296 DEFAULT_wxUSE_DATEPICKCTRL=no
10297 DEFAULT_wxUSE_DISPLAY=no
10298 DEFAULT_wxUSE_DETECT_SM=no
10299 DEFAULT_wxUSE_DIRPICKERCTRL=no
10300 DEFAULT_wxUSE_FILEPICKERCTRL=no
10301 DEFAULT_wxUSE_FONTPICKERCTRL=no
10302 DEFAULT_wxUSE_GAUGE=no
10303 DEFAULT_wxUSE_GRID=no
10304 DEFAULT_wxUSE_HYPERLINKCTRL=no
10305 DEFAULT_wxUSE_DATAVIEWCTRL=no
10306 DEFAULT_wxUSE_IMAGLIST=no
10307 DEFAULT_wxUSE_LISTBOOK=no
10308 DEFAULT_wxUSE_LISTBOX=no
10309 DEFAULT_wxUSE_LISTCTRL=no
10310 DEFAULT_wxUSE_NOTEBOOK=no
10311 DEFAULT_wxUSE_RADIOBOX=no
10312 DEFAULT_wxUSE_RADIOBTN=no
10313 DEFAULT_wxUSE_SASH=no
10314 DEFAULT_wxUSE_SCROLLBAR=no
10315 DEFAULT_wxUSE_SEARCHCTRL=no
10316 DEFAULT_wxUSE_SLIDER=no
10317 DEFAULT_wxUSE_SPINBTN=no
10318 DEFAULT_wxUSE_SPINCTRL=no
10319 DEFAULT_wxUSE_SPLITTER=no
10320 DEFAULT_wxUSE_STATBMP=no
10321 DEFAULT_wxUSE_STATBOX=no
10322 DEFAULT_wxUSE_STATLINE=no
10323 DEFAULT_wxUSE_STATUSBAR=no
10324 DEFAULT_wxUSE_TAB_DIALOG=no
10325 DEFAULT_wxUSE_TOGGLEBTN=no
10326 DEFAULT_wxUSE_TOOLBAR=no
10327 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10328 DEFAULT_wxUSE_TOOLTIPS=no
10329 DEFAULT_wxUSE_TREEBOOK=no
10330 DEFAULT_wxUSE_TOOLBOOK=no
10331 DEFAULT_wxUSE_TREECTRL=no
10332 DEFAULT_wxUSE_POPUPWIN=no
10333 DEFAULT_wxUSE_TIPWINDOW=no
10334 fi
10335
10336
10337 enablestring=
10338 defaultval=$wxUSE_ALL_FEATURES
10339 if test -z "$defaultval"; then
10340 if test x"$enablestring" = xdisable; then
10341 defaultval=yes
10342 else
10343 defaultval=no
10344 fi
10345 fi
10346
10347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10348 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10349 no_cache=0
10350 # Check whether --enable-accel was given.
10351 if test "${enable_accel+set}" = set; then
10352 enableval=$enable_accel;
10353 if test "$enableval" = yes; then
10354 wx_cv_use_accel='wxUSE_ACCEL=yes'
10355 else
10356 wx_cv_use_accel='wxUSE_ACCEL=no'
10357 fi
10358
10359 else
10360
10361 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10362 if test "x$LINE" != x ; then
10363 eval "DEFAULT_$LINE"
10364 else
10365 no_cache=1
10366 fi
10367
10368 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10369
10370 fi
10371
10372
10373 eval "$wx_cv_use_accel"
10374 if test "$no_cache" != 1; then
10375 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10376 fi
10377
10378 if test x"$enablestring" = xdisable; then
10379 if test $wxUSE_ACCEL = yes; then
10380 result=no
10381 else
10382 result=yes
10383 fi
10384 else
10385 result=$wxUSE_ACCEL
10386 fi
10387
10388 { echo "$as_me:$LINENO: result: $result" >&5
10389 echo "${ECHO_T}$result" >&6; }
10390
10391
10392 enablestring=
10393 defaultval=$wxUSE_ALL_FEATURES
10394 if test -z "$defaultval"; then
10395 if test x"$enablestring" = xdisable; then
10396 defaultval=yes
10397 else
10398 defaultval=no
10399 fi
10400 fi
10401
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10404 no_cache=0
10405 # Check whether --enable-animatectrl was given.
10406 if test "${enable_animatectrl+set}" = set; then
10407 enableval=$enable_animatectrl;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10410 else
10411 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10412 fi
10413
10414 else
10415
10416 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10417 if test "x$LINE" != x ; then
10418 eval "DEFAULT_$LINE"
10419 else
10420 no_cache=1
10421 fi
10422
10423 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10424
10425 fi
10426
10427
10428 eval "$wx_cv_use_animatectrl"
10429 if test "$no_cache" != 1; then
10430 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10431 fi
10432
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_ANIMATIONCTRL = yes; then
10435 result=no
10436 else
10437 result=yes
10438 fi
10439 else
10440 result=$wxUSE_ANIMATIONCTRL
10441 fi
10442
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10445
10446
10447 enablestring=
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10451 defaultval=yes
10452 else
10453 defaultval=no
10454 fi
10455 fi
10456
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10459 no_cache=0
10460 # Check whether --enable-button was given.
10461 if test "${enable_button+set}" = set; then
10462 enableval=$enable_button;
10463 if test "$enableval" = yes; then
10464 wx_cv_use_button='wxUSE_BUTTON=yes'
10465 else
10466 wx_cv_use_button='wxUSE_BUTTON=no'
10467 fi
10468
10469 else
10470
10471 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x ; then
10473 eval "DEFAULT_$LINE"
10474 else
10475 no_cache=1
10476 fi
10477
10478 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10479
10480 fi
10481
10482
10483 eval "$wx_cv_use_button"
10484 if test "$no_cache" != 1; then
10485 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10486 fi
10487
10488 if test x"$enablestring" = xdisable; then
10489 if test $wxUSE_BUTTON = yes; then
10490 result=no
10491 else
10492 result=yes
10493 fi
10494 else
10495 result=$wxUSE_BUTTON
10496 fi
10497
10498 { echo "$as_me:$LINENO: result: $result" >&5
10499 echo "${ECHO_T}$result" >&6; }
10500
10501
10502 enablestring=
10503 defaultval=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x"$enablestring" = xdisable; then
10506 defaultval=yes
10507 else
10508 defaultval=no
10509 fi
10510 fi
10511
10512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10513 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10514 no_cache=0
10515 # Check whether --enable-bmpbutton was given.
10516 if test "${enable_bmpbutton+set}" = set; then
10517 enableval=$enable_bmpbutton;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10520 else
10521 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10522 fi
10523
10524 else
10525
10526 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10527 if test "x$LINE" != x ; then
10528 eval "DEFAULT_$LINE"
10529 else
10530 no_cache=1
10531 fi
10532
10533 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10534
10535 fi
10536
10537
10538 eval "$wx_cv_use_bmpbutton"
10539 if test "$no_cache" != 1; then
10540 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10541 fi
10542
10543 if test x"$enablestring" = xdisable; then
10544 if test $wxUSE_BMPBUTTON = yes; then
10545 result=no
10546 else
10547 result=yes
10548 fi
10549 else
10550 result=$wxUSE_BMPBUTTON
10551 fi
10552
10553 { echo "$as_me:$LINENO: result: $result" >&5
10554 echo "${ECHO_T}$result" >&6; }
10555
10556
10557 enablestring=
10558 defaultval=$wxUSE_ALL_FEATURES
10559 if test -z "$defaultval"; then
10560 if test x"$enablestring" = xdisable; then
10561 defaultval=yes
10562 else
10563 defaultval=no
10564 fi
10565 fi
10566
10567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10569 no_cache=0
10570 # Check whether --enable-bmpcombobox was given.
10571 if test "${enable_bmpcombobox+set}" = set; then
10572 enableval=$enable_bmpcombobox;
10573 if test "$enableval" = yes; then
10574 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10575 else
10576 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10577 fi
10578
10579 else
10580
10581 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10582 if test "x$LINE" != x ; then
10583 eval "DEFAULT_$LINE"
10584 else
10585 no_cache=1
10586 fi
10587
10588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10589
10590 fi
10591
10592
10593 eval "$wx_cv_use_bmpcombobox"
10594 if test "$no_cache" != 1; then
10595 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10596 fi
10597
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10600 result=no
10601 else
10602 result=yes
10603 fi
10604 else
10605 result=$wxUSE_BITMAPCOMBOBOX
10606 fi
10607
10608 { echo "$as_me:$LINENO: result: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10610
10611
10612 enablestring=
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10616 defaultval=yes
10617 else
10618 defaultval=no
10619 fi
10620 fi
10621
10622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10624 no_cache=0
10625 # Check whether --enable-calendar was given.
10626 if test "${enable_calendar+set}" = set; then
10627 enableval=$enable_calendar;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10630 else
10631 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10632 fi
10633
10634 else
10635
10636 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10637 if test "x$LINE" != x ; then
10638 eval "DEFAULT_$LINE"
10639 else
10640 no_cache=1
10641 fi
10642
10643 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10644
10645 fi
10646
10647
10648 eval "$wx_cv_use_calendar"
10649 if test "$no_cache" != 1; then
10650 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_CALCTRL = yes; then
10655 result=no
10656 else
10657 result=yes
10658 fi
10659 else
10660 result=$wxUSE_CALCTRL
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667 enablestring=
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10671 defaultval=yes
10672 else
10673 defaultval=no
10674 fi
10675 fi
10676
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10679 no_cache=0
10680 # Check whether --enable-caret was given.
10681 if test "${enable_caret+set}" = set; then
10682 enableval=$enable_caret;
10683 if test "$enableval" = yes; then
10684 wx_cv_use_caret='wxUSE_CARET=yes'
10685 else
10686 wx_cv_use_caret='wxUSE_CARET=no'
10687 fi
10688
10689 else
10690
10691 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10692 if test "x$LINE" != x ; then
10693 eval "DEFAULT_$LINE"
10694 else
10695 no_cache=1
10696 fi
10697
10698 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10699
10700 fi
10701
10702
10703 eval "$wx_cv_use_caret"
10704 if test "$no_cache" != 1; then
10705 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10706 fi
10707
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_CARET = yes; then
10710 result=no
10711 else
10712 result=yes
10713 fi
10714 else
10715 result=$wxUSE_CARET
10716 fi
10717
10718 { echo "$as_me:$LINENO: result: $result" >&5
10719 echo "${ECHO_T}$result" >&6; }
10720
10721
10722 enablestring=
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10726 defaultval=yes
10727 else
10728 defaultval=no
10729 fi
10730 fi
10731
10732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10733 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10734 no_cache=0
10735 # Check whether --enable-checkbox was given.
10736 if test "${enable_checkbox+set}" = set; then
10737 enableval=$enable_checkbox;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10740 else
10741 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10742 fi
10743
10744 else
10745
10746 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x ; then
10748 eval "DEFAULT_$LINE"
10749 else
10750 no_cache=1
10751 fi
10752
10753 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10754
10755 fi
10756
10757
10758 eval "$wx_cv_use_checkbox"
10759 if test "$no_cache" != 1; then
10760 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10761 fi
10762
10763 if test x"$enablestring" = xdisable; then
10764 if test $wxUSE_CHECKBOX = yes; then
10765 result=no
10766 else
10767 result=yes
10768 fi
10769 else
10770 result=$wxUSE_CHECKBOX
10771 fi
10772
10773 { echo "$as_me:$LINENO: result: $result" >&5
10774 echo "${ECHO_T}$result" >&6; }
10775
10776
10777 enablestring=
10778 defaultval=$wxUSE_ALL_FEATURES
10779 if test -z "$defaultval"; then
10780 if test x"$enablestring" = xdisable; then
10781 defaultval=yes
10782 else
10783 defaultval=no
10784 fi
10785 fi
10786
10787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10788 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10789 no_cache=0
10790 # Check whether --enable-checklst was given.
10791 if test "${enable_checklst+set}" = set; then
10792 enableval=$enable_checklst;
10793 if test "$enableval" = yes; then
10794 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10795 else
10796 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10797 fi
10798
10799 else
10800
10801 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x ; then
10803 eval "DEFAULT_$LINE"
10804 else
10805 no_cache=1
10806 fi
10807
10808 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10809
10810 fi
10811
10812
10813 eval "$wx_cv_use_checklst"
10814 if test "$no_cache" != 1; then
10815 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10816 fi
10817
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_CHECKLST = yes; then
10820 result=no
10821 else
10822 result=yes
10823 fi
10824 else
10825 result=$wxUSE_CHECKLST
10826 fi
10827
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10830
10831
10832 enablestring=
10833 defaultval=$wxUSE_ALL_FEATURES
10834 if test -z "$defaultval"; then
10835 if test x"$enablestring" = xdisable; then
10836 defaultval=yes
10837 else
10838 defaultval=no
10839 fi
10840 fi
10841
10842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10843 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10844 no_cache=0
10845 # Check whether --enable-choice was given.
10846 if test "${enable_choice+set}" = set; then
10847 enableval=$enable_choice;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_choice='wxUSE_CHOICE=yes'
10850 else
10851 wx_cv_use_choice='wxUSE_CHOICE=no'
10852 fi
10853
10854 else
10855
10856 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10857 if test "x$LINE" != x ; then
10858 eval "DEFAULT_$LINE"
10859 else
10860 no_cache=1
10861 fi
10862
10863 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10864
10865 fi
10866
10867
10868 eval "$wx_cv_use_choice"
10869 if test "$no_cache" != 1; then
10870 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
10871 fi
10872
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_CHOICE = yes; then
10875 result=no
10876 else
10877 result=yes
10878 fi
10879 else
10880 result=$wxUSE_CHOICE
10881 fi
10882
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10885
10886
10887 enablestring=
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10891 defaultval=yes
10892 else
10893 defaultval=no
10894 fi
10895 fi
10896
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10899 no_cache=0
10900 # Check whether --enable-choicebook was given.
10901 if test "${enable_choicebook+set}" = set; then
10902 enableval=$enable_choicebook;
10903 if test "$enableval" = yes; then
10904 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10905 else
10906 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10907 fi
10908
10909 else
10910
10911 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10912 if test "x$LINE" != x ; then
10913 eval "DEFAULT_$LINE"
10914 else
10915 no_cache=1
10916 fi
10917
10918 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10919
10920 fi
10921
10922
10923 eval "$wx_cv_use_choicebook"
10924 if test "$no_cache" != 1; then
10925 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10926 fi
10927
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_CHOICEBOOK = yes; then
10930 result=no
10931 else
10932 result=yes
10933 fi
10934 else
10935 result=$wxUSE_CHOICEBOOK
10936 fi
10937
10938 { echo "$as_me:$LINENO: result: $result" >&5
10939 echo "${ECHO_T}$result" >&6; }
10940
10941
10942 enablestring=
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10946 defaultval=yes
10947 else
10948 defaultval=no
10949 fi
10950 fi
10951
10952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10954 no_cache=0
10955 # Check whether --enable-collpane was given.
10956 if test "${enable_collpane+set}" = set; then
10957 enableval=$enable_collpane;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10960 else
10961 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10962 fi
10963
10964 else
10965
10966 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10967 if test "x$LINE" != x ; then
10968 eval "DEFAULT_$LINE"
10969 else
10970 no_cache=1
10971 fi
10972
10973 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10974
10975 fi
10976
10977
10978 eval "$wx_cv_use_collpane"
10979 if test "$no_cache" != 1; then
10980 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10981 fi
10982
10983 if test x"$enablestring" = xdisable; then
10984 if test $wxUSE_COLLPANE = yes; then
10985 result=no
10986 else
10987 result=yes
10988 fi
10989 else
10990 result=$wxUSE_COLLPANE
10991 fi
10992
10993 { echo "$as_me:$LINENO: result: $result" >&5
10994 echo "${ECHO_T}$result" >&6; }
10995
10996
10997 enablestring=
10998 defaultval=$wxUSE_ALL_FEATURES
10999 if test -z "$defaultval"; then
11000 if test x"$enablestring" = xdisable; then
11001 defaultval=yes
11002 else
11003 defaultval=no
11004 fi
11005 fi
11006
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11009 no_cache=0
11010 # Check whether --enable-colourpicker was given.
11011 if test "${enable_colourpicker+set}" = set; then
11012 enableval=$enable_colourpicker;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11015 else
11016 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11017 fi
11018
11019 else
11020
11021 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11024 else
11025 no_cache=1
11026 fi
11027
11028 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11029
11030 fi
11031
11032
11033 eval "$wx_cv_use_colourpicker"
11034 if test "$no_cache" != 1; then
11035 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11036 fi
11037
11038 if test x"$enablestring" = xdisable; then
11039 if test $wxUSE_COLOURPICKERCTRL = yes; then
11040 result=no
11041 else
11042 result=yes
11043 fi
11044 else
11045 result=$wxUSE_COLOURPICKERCTRL
11046 fi
11047
11048 { echo "$as_me:$LINENO: result: $result" >&5
11049 echo "${ECHO_T}$result" >&6; }
11050
11051
11052 enablestring=
11053 defaultval=$wxUSE_ALL_FEATURES
11054 if test -z "$defaultval"; then
11055 if test x"$enablestring" = xdisable; then
11056 defaultval=yes
11057 else
11058 defaultval=no
11059 fi
11060 fi
11061
11062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11064 no_cache=0
11065 # Check whether --enable-combobox was given.
11066 if test "${enable_combobox+set}" = set; then
11067 enableval=$enable_combobox;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11070 else
11071 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11072 fi
11073
11074 else
11075
11076 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x ; then
11078 eval "DEFAULT_$LINE"
11079 else
11080 no_cache=1
11081 fi
11082
11083 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11084
11085 fi
11086
11087
11088 eval "$wx_cv_use_combobox"
11089 if test "$no_cache" != 1; then
11090 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11091 fi
11092
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_COMBOBOX = yes; then
11095 result=no
11096 else
11097 result=yes
11098 fi
11099 else
11100 result=$wxUSE_COMBOBOX
11101 fi
11102
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11105
11106
11107 enablestring=
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11111 defaultval=yes
11112 else
11113 defaultval=no
11114 fi
11115 fi
11116
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11119 no_cache=0
11120 # Check whether --enable-comboctrl was given.
11121 if test "${enable_comboctrl+set}" = set; then
11122 enableval=$enable_comboctrl;
11123 if test "$enableval" = yes; then
11124 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11125 else
11126 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11127 fi
11128
11129 else
11130
11131 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11132 if test "x$LINE" != x ; then
11133 eval "DEFAULT_$LINE"
11134 else
11135 no_cache=1
11136 fi
11137
11138 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11139
11140 fi
11141
11142
11143 eval "$wx_cv_use_comboctrl"
11144 if test "$no_cache" != 1; then
11145 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11146 fi
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_COMBOCTRL = yes; then
11150 result=no
11151 else
11152 result=yes
11153 fi
11154 else
11155 result=$wxUSE_COMBOCTRL
11156 fi
11157
11158 { echo "$as_me:$LINENO: result: $result" >&5
11159 echo "${ECHO_T}$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11174 no_cache=0
11175 # Check whether --enable-datepick was given.
11176 if test "${enable_datepick+set}" = set; then
11177 enableval=$enable_datepick;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11180 else
11181 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11182 fi
11183
11184 else
11185
11186 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11189 else
11190 no_cache=1
11191 fi
11192
11193 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11194
11195 fi
11196
11197
11198 eval "$wx_cv_use_datepick"
11199 if test "$no_cache" != 1; then
11200 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11201 fi
11202
11203 if test x"$enablestring" = xdisable; then
11204 if test $wxUSE_DATEPICKCTRL = yes; then
11205 result=no
11206 else
11207 result=yes
11208 fi
11209 else
11210 result=$wxUSE_DATEPICKCTRL
11211 fi
11212
11213 { echo "$as_me:$LINENO: result: $result" >&5
11214 echo "${ECHO_T}$result" >&6; }
11215
11216
11217 enablestring=
11218 defaultval=$wxUSE_ALL_FEATURES
11219 if test -z "$defaultval"; then
11220 if test x"$enablestring" = xdisable; then
11221 defaultval=yes
11222 else
11223 defaultval=no
11224 fi
11225 fi
11226
11227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11228 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11229 no_cache=0
11230 # Check whether --enable-dirpicker was given.
11231 if test "${enable_dirpicker+set}" = set; then
11232 enableval=$enable_dirpicker;
11233 if test "$enableval" = yes; then
11234 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11235 else
11236 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11237 fi
11238
11239 else
11240
11241 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11244 else
11245 no_cache=1
11246 fi
11247
11248 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11249
11250 fi
11251
11252
11253 eval "$wx_cv_use_dirpicker"
11254 if test "$no_cache" != 1; then
11255 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11256 fi
11257
11258 if test x"$enablestring" = xdisable; then
11259 if test $wxUSE_DIRPICKERCTRL = yes; then
11260 result=no
11261 else
11262 result=yes
11263 fi
11264 else
11265 result=$wxUSE_DIRPICKERCTRL
11266 fi
11267
11268 { echo "$as_me:$LINENO: result: $result" >&5
11269 echo "${ECHO_T}$result" >&6; }
11270
11271
11272 enablestring=
11273 defaultval=$wxUSE_ALL_FEATURES
11274 if test -z "$defaultval"; then
11275 if test x"$enablestring" = xdisable; then
11276 defaultval=yes
11277 else
11278 defaultval=no
11279 fi
11280 fi
11281
11282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11284 no_cache=0
11285 # Check whether --enable-display was given.
11286 if test "${enable_display+set}" = set; then
11287 enableval=$enable_display;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_display='wxUSE_DISPLAY=yes'
11290 else
11291 wx_cv_use_display='wxUSE_DISPLAY=no'
11292 fi
11293
11294 else
11295
11296 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11297 if test "x$LINE" != x ; then
11298 eval "DEFAULT_$LINE"
11299 else
11300 no_cache=1
11301 fi
11302
11303 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11304
11305 fi
11306
11307
11308 eval "$wx_cv_use_display"
11309 if test "$no_cache" != 1; then
11310 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11311 fi
11312
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_DISPLAY = yes; then
11315 result=no
11316 else
11317 result=yes
11318 fi
11319 else
11320 result=$wxUSE_DISPLAY
11321 fi
11322
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11325
11326
11327 enablestring=
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11331 defaultval=yes
11332 else
11333 defaultval=no
11334 fi
11335 fi
11336
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11339 no_cache=0
11340 # Check whether --enable-detect_sm was given.
11341 if test "${enable_detect_sm+set}" = set; then
11342 enableval=$enable_detect_sm;
11343 if test "$enableval" = yes; then
11344 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11345 else
11346 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11347 fi
11348
11349 else
11350
11351 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11352 if test "x$LINE" != x ; then
11353 eval "DEFAULT_$LINE"
11354 else
11355 no_cache=1
11356 fi
11357
11358 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11359
11360 fi
11361
11362
11363 eval "$wx_cv_use_detect_sm"
11364 if test "$no_cache" != 1; then
11365 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11366 fi
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_DETECT_SM = yes; then
11370 result=no
11371 else
11372 result=yes
11373 fi
11374 else
11375 result=$wxUSE_DETECT_SM
11376 fi
11377
11378 { echo "$as_me:$LINENO: result: $result" >&5
11379 echo "${ECHO_T}$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11393 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11394 no_cache=0
11395 # Check whether --enable-editablebox was given.
11396 if test "${enable_editablebox+set}" = set; then
11397 enableval=$enable_editablebox;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11400 else
11401 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11402 fi
11403
11404 else
11405
11406 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11407 if test "x$LINE" != x ; then
11408 eval "DEFAULT_$LINE"
11409 else
11410 no_cache=1
11411 fi
11412
11413 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11414
11415 fi
11416
11417
11418 eval "$wx_cv_use_editablebox"
11419 if test "$no_cache" != 1; then
11420 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11421 fi
11422
11423 if test x"$enablestring" = xdisable; then
11424 if test $wxUSE_EDITABLELISTBOX = yes; then
11425 result=no
11426 else
11427 result=yes
11428 fi
11429 else
11430 result=$wxUSE_EDITABLELISTBOX
11431 fi
11432
11433 { echo "$as_me:$LINENO: result: $result" >&5
11434 echo "${ECHO_T}$result" >&6; }
11435
11436
11437 enablestring=
11438 defaultval=$wxUSE_ALL_FEATURES
11439 if test -z "$defaultval"; then
11440 if test x"$enablestring" = xdisable; then
11441 defaultval=yes
11442 else
11443 defaultval=no
11444 fi
11445 fi
11446
11447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11448 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11449 no_cache=0
11450 # Check whether --enable-filepicker was given.
11451 if test "${enable_filepicker+set}" = set; then
11452 enableval=$enable_filepicker;
11453 if test "$enableval" = yes; then
11454 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11455 else
11456 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11457 fi
11458
11459 else
11460
11461 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11462 if test "x$LINE" != x ; then
11463 eval "DEFAULT_$LINE"
11464 else
11465 no_cache=1
11466 fi
11467
11468 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11469
11470 fi
11471
11472
11473 eval "$wx_cv_use_filepicker"
11474 if test "$no_cache" != 1; then
11475 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11476 fi
11477
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_FILEPICKERCTRL = yes; then
11480 result=no
11481 else
11482 result=yes
11483 fi
11484 else
11485 result=$wxUSE_FILEPICKERCTRL
11486 fi
11487
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11490
11491
11492 enablestring=
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11496 defaultval=yes
11497 else
11498 defaultval=no
11499 fi
11500 fi
11501
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11504 no_cache=0
11505 # Check whether --enable-fontpicker was given.
11506 if test "${enable_fontpicker+set}" = set; then
11507 enableval=$enable_fontpicker;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11510 else
11511 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11512 fi
11513
11514 else
11515
11516 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11519 else
11520 no_cache=1
11521 fi
11522
11523 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11524
11525 fi
11526
11527
11528 eval "$wx_cv_use_fontpicker"
11529 if test "$no_cache" != 1; then
11530 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11531 fi
11532
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_FONTPICKERCTRL = yes; then
11535 result=no
11536 else
11537 result=yes
11538 fi
11539 else
11540 result=$wxUSE_FONTPICKERCTRL
11541 fi
11542
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11545
11546
11547 enablestring=
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11551 defaultval=yes
11552 else
11553 defaultval=no
11554 fi
11555 fi
11556
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11559 no_cache=0
11560 # Check whether --enable-gauge was given.
11561 if test "${enable_gauge+set}" = set; then
11562 enableval=$enable_gauge;
11563 if test "$enableval" = yes; then
11564 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11565 else
11566 wx_cv_use_gauge='wxUSE_GAUGE=no'
11567 fi
11568
11569 else
11570
11571 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11572 if test "x$LINE" != x ; then
11573 eval "DEFAULT_$LINE"
11574 else
11575 no_cache=1
11576 fi
11577
11578 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11579
11580 fi
11581
11582
11583 eval "$wx_cv_use_gauge"
11584 if test "$no_cache" != 1; then
11585 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11586 fi
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_GAUGE = yes; then
11590 result=no
11591 else
11592 result=yes
11593 fi
11594 else
11595 result=$wxUSE_GAUGE
11596 fi
11597
11598 { echo "$as_me:$LINENO: result: $result" >&5
11599 echo "${ECHO_T}$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11614 no_cache=0
11615 # Check whether --enable-grid was given.
11616 if test "${enable_grid+set}" = set; then
11617 enableval=$enable_grid;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_grid='wxUSE_GRID=yes'
11620 else
11621 wx_cv_use_grid='wxUSE_GRID=no'
11622 fi
11623
11624 else
11625
11626 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11627 if test "x$LINE" != x ; then
11628 eval "DEFAULT_$LINE"
11629 else
11630 no_cache=1
11631 fi
11632
11633 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11634
11635 fi
11636
11637
11638 eval "$wx_cv_use_grid"
11639 if test "$no_cache" != 1; then
11640 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11641 fi
11642
11643 if test x"$enablestring" = xdisable; then
11644 if test $wxUSE_GRID = yes; then
11645 result=no
11646 else
11647 result=yes
11648 fi
11649 else
11650 result=$wxUSE_GRID
11651 fi
11652
11653 { echo "$as_me:$LINENO: result: $result" >&5
11654 echo "${ECHO_T}$result" >&6; }
11655
11656
11657 enablestring=
11658 defaultval=$wxUSE_ALL_FEATURES
11659 if test -z "$defaultval"; then
11660 if test x"$enablestring" = xdisable; then
11661 defaultval=yes
11662 else
11663 defaultval=no
11664 fi
11665 fi
11666
11667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11668 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11669 no_cache=0
11670 # Check whether --enable-dataviewctrl was given.
11671 if test "${enable_dataviewctrl+set}" = set; then
11672 enableval=$enable_dataviewctrl;
11673 if test "$enableval" = yes; then
11674 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11675 else
11676 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11677 fi
11678
11679 else
11680
11681 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11682 if test "x$LINE" != x ; then
11683 eval "DEFAULT_$LINE"
11684 else
11685 no_cache=1
11686 fi
11687
11688 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11689
11690 fi
11691
11692
11693 eval "$wx_cv_use_dataviewctrl"
11694 if test "$no_cache" != 1; then
11695 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11696 fi
11697
11698 if test x"$enablestring" = xdisable; then
11699 if test $wxUSE_DATAVIEWCTRL = yes; then
11700 result=no
11701 else
11702 result=yes
11703 fi
11704 else
11705 result=$wxUSE_DATAVIEWCTRL
11706 fi
11707
11708 { echo "$as_me:$LINENO: result: $result" >&5
11709 echo "${ECHO_T}$result" >&6; }
11710
11711
11712 enablestring=
11713 defaultval=$wxUSE_ALL_FEATURES
11714 if test -z "$defaultval"; then
11715 if test x"$enablestring" = xdisable; then
11716 defaultval=yes
11717 else
11718 defaultval=no
11719 fi
11720 fi
11721
11722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11723 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11724 no_cache=0
11725 # Check whether --enable-hyperlink was given.
11726 if test "${enable_hyperlink+set}" = set; then
11727 enableval=$enable_hyperlink;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11730 else
11731 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11732 fi
11733
11734 else
11735
11736 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11737 if test "x$LINE" != x ; then
11738 eval "DEFAULT_$LINE"
11739 else
11740 no_cache=1
11741 fi
11742
11743 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11744
11745 fi
11746
11747
11748 eval "$wx_cv_use_hyperlink"
11749 if test "$no_cache" != 1; then
11750 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11751 fi
11752
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_HYPERLINKCTRL = yes; then
11755 result=no
11756 else
11757 result=yes
11758 fi
11759 else
11760 result=$wxUSE_HYPERLINKCTRL
11761 fi
11762
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11765
11766
11767 enablestring=
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11771 defaultval=yes
11772 else
11773 defaultval=no
11774 fi
11775 fi
11776
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11779 no_cache=0
11780 # Check whether --enable-imaglist was given.
11781 if test "${enable_imaglist+set}" = set; then
11782 enableval=$enable_imaglist;
11783 if test "$enableval" = yes; then
11784 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11785 else
11786 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11787 fi
11788
11789 else
11790
11791 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11792 if test "x$LINE" != x ; then
11793 eval "DEFAULT_$LINE"
11794 else
11795 no_cache=1
11796 fi
11797
11798 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11799
11800 fi
11801
11802
11803 eval "$wx_cv_use_imaglist"
11804 if test "$no_cache" != 1; then
11805 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11806 fi
11807
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_IMAGLIST = yes; then
11810 result=no
11811 else
11812 result=yes
11813 fi
11814 else
11815 result=$wxUSE_IMAGLIST
11816 fi
11817
11818 { echo "$as_me:$LINENO: result: $result" >&5
11819 echo "${ECHO_T}$result" >&6; }
11820
11821
11822 enablestring=
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11826 defaultval=yes
11827 else
11828 defaultval=no
11829 fi
11830 fi
11831
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11834 no_cache=0
11835 # Check whether --enable-listbook was given.
11836 if test "${enable_listbook+set}" = set; then
11837 enableval=$enable_listbook;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11840 else
11841 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11842 fi
11843
11844 else
11845
11846 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11849 else
11850 no_cache=1
11851 fi
11852
11853 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11854
11855 fi
11856
11857
11858 eval "$wx_cv_use_listbook"
11859 if test "$no_cache" != 1; then
11860 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11861 fi
11862
11863 if test x"$enablestring" = xdisable; then
11864 if test $wxUSE_LISTBOOK = yes; then
11865 result=no
11866 else
11867 result=yes
11868 fi
11869 else
11870 result=$wxUSE_LISTBOOK
11871 fi
11872
11873 { echo "$as_me:$LINENO: result: $result" >&5
11874 echo "${ECHO_T}$result" >&6; }
11875
11876
11877 enablestring=
11878 defaultval=$wxUSE_ALL_FEATURES
11879 if test -z "$defaultval"; then
11880 if test x"$enablestring" = xdisable; then
11881 defaultval=yes
11882 else
11883 defaultval=no
11884 fi
11885 fi
11886
11887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11888 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11889 no_cache=0
11890 # Check whether --enable-listbox was given.
11891 if test "${enable_listbox+set}" = set; then
11892 enableval=$enable_listbox;
11893 if test "$enableval" = yes; then
11894 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11895 else
11896 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11897 fi
11898
11899 else
11900
11901 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11902 if test "x$LINE" != x ; then
11903 eval "DEFAULT_$LINE"
11904 else
11905 no_cache=1
11906 fi
11907
11908 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11909
11910 fi
11911
11912
11913 eval "$wx_cv_use_listbox"
11914 if test "$no_cache" != 1; then
11915 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11916 fi
11917
11918 if test x"$enablestring" = xdisable; then
11919 if test $wxUSE_LISTBOX = yes; then
11920 result=no
11921 else
11922 result=yes
11923 fi
11924 else
11925 result=$wxUSE_LISTBOX
11926 fi
11927
11928 { echo "$as_me:$LINENO: result: $result" >&5
11929 echo "${ECHO_T}$result" >&6; }
11930
11931
11932 enablestring=
11933 defaultval=$wxUSE_ALL_FEATURES
11934 if test -z "$defaultval"; then
11935 if test x"$enablestring" = xdisable; then
11936 defaultval=yes
11937 else
11938 defaultval=no
11939 fi
11940 fi
11941
11942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11943 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11944 no_cache=0
11945 # Check whether --enable-listctrl was given.
11946 if test "${enable_listctrl+set}" = set; then
11947 enableval=$enable_listctrl;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11950 else
11951 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11952 fi
11953
11954 else
11955
11956 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11957 if test "x$LINE" != x ; then
11958 eval "DEFAULT_$LINE"
11959 else
11960 no_cache=1
11961 fi
11962
11963 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11964
11965 fi
11966
11967
11968 eval "$wx_cv_use_listctrl"
11969 if test "$no_cache" != 1; then
11970 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11971 fi
11972
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_LISTCTRL = yes; then
11975 result=no
11976 else
11977 result=yes
11978 fi
11979 else
11980 result=$wxUSE_LISTCTRL
11981 fi
11982
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11999 no_cache=0
12000 # Check whether --enable-notebook was given.
12001 if test "${enable_notebook+set}" = set; then
12002 enableval=$enable_notebook;
12003 if test "$enableval" = yes; then
12004 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12005 else
12006 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12007 fi
12008
12009 else
12010
12011 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12012 if test "x$LINE" != x ; then
12013 eval "DEFAULT_$LINE"
12014 else
12015 no_cache=1
12016 fi
12017
12018 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12019
12020 fi
12021
12022
12023 eval "$wx_cv_use_notebook"
12024 if test "$no_cache" != 1; then
12025 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12026 fi
12027
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_NOTEBOOK = yes; then
12030 result=no
12031 else
12032 result=yes
12033 fi
12034 else
12035 result=$wxUSE_NOTEBOOK
12036 fi
12037
12038 { echo "$as_me:$LINENO: result: $result" >&5
12039 echo "${ECHO_T}$result" >&6; }
12040
12041
12042 enablestring=
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12046 defaultval=yes
12047 else
12048 defaultval=no
12049 fi
12050 fi
12051
12052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12053 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12054 no_cache=0
12055 # Check whether --enable-odcombobox was given.
12056 if test "${enable_odcombobox+set}" = set; then
12057 enableval=$enable_odcombobox;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12060 else
12061 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12062 fi
12063
12064 else
12065
12066 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12067 if test "x$LINE" != x ; then
12068 eval "DEFAULT_$LINE"
12069 else
12070 no_cache=1
12071 fi
12072
12073 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12074
12075 fi
12076
12077
12078 eval "$wx_cv_use_odcombobox"
12079 if test "$no_cache" != 1; then
12080 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12081 fi
12082
12083 if test x"$enablestring" = xdisable; then
12084 if test $wxUSE_ODCOMBOBOX = yes; then
12085 result=no
12086 else
12087 result=yes
12088 fi
12089 else
12090 result=$wxUSE_ODCOMBOBOX
12091 fi
12092
12093 { echo "$as_me:$LINENO: result: $result" >&5
12094 echo "${ECHO_T}$result" >&6; }
12095
12096
12097 enablestring=
12098 defaultval=$wxUSE_ALL_FEATURES
12099 if test -z "$defaultval"; then
12100 if test x"$enablestring" = xdisable; then
12101 defaultval=yes
12102 else
12103 defaultval=no
12104 fi
12105 fi
12106
12107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12108 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12109 no_cache=0
12110 # Check whether --enable-radiobox was given.
12111 if test "${enable_radiobox+set}" = set; then
12112 enableval=$enable_radiobox;
12113 if test "$enableval" = yes; then
12114 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12115 else
12116 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12117 fi
12118
12119 else
12120
12121 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12122 if test "x$LINE" != x ; then
12123 eval "DEFAULT_$LINE"
12124 else
12125 no_cache=1
12126 fi
12127
12128 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12129
12130 fi
12131
12132
12133 eval "$wx_cv_use_radiobox"
12134 if test "$no_cache" != 1; then
12135 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12136 fi
12137
12138 if test x"$enablestring" = xdisable; then
12139 if test $wxUSE_RADIOBOX = yes; then
12140 result=no
12141 else
12142 result=yes
12143 fi
12144 else
12145 result=$wxUSE_RADIOBOX
12146 fi
12147
12148 { echo "$as_me:$LINENO: result: $result" >&5
12149 echo "${ECHO_T}$result" >&6; }
12150
12151
12152 enablestring=
12153 defaultval=$wxUSE_ALL_FEATURES
12154 if test -z "$defaultval"; then
12155 if test x"$enablestring" = xdisable; then
12156 defaultval=yes
12157 else
12158 defaultval=no
12159 fi
12160 fi
12161
12162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12163 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12164 no_cache=0
12165 # Check whether --enable-radiobtn was given.
12166 if test "${enable_radiobtn+set}" = set; then
12167 enableval=$enable_radiobtn;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12170 else
12171 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12172 fi
12173
12174 else
12175
12176 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12177 if test "x$LINE" != x ; then
12178 eval "DEFAULT_$LINE"
12179 else
12180 no_cache=1
12181 fi
12182
12183 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12184
12185 fi
12186
12187
12188 eval "$wx_cv_use_radiobtn"
12189 if test "$no_cache" != 1; then
12190 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12191 fi
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_RADIOBTN = yes; then
12195 result=no
12196 else
12197 result=yes
12198 fi
12199 else
12200 result=$wxUSE_RADIOBTN
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12219 no_cache=0
12220 # Check whether --enable-sash was given.
12221 if test "${enable_sash+set}" = set; then
12222 enableval=$enable_sash;
12223 if test "$enableval" = yes; then
12224 wx_cv_use_sash='wxUSE_SASH=yes'
12225 else
12226 wx_cv_use_sash='wxUSE_SASH=no'
12227 fi
12228
12229 else
12230
12231 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12232 if test "x$LINE" != x ; then
12233 eval "DEFAULT_$LINE"
12234 else
12235 no_cache=1
12236 fi
12237
12238 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12239
12240 fi
12241
12242
12243 eval "$wx_cv_use_sash"
12244 if test "$no_cache" != 1; then
12245 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12246 fi
12247
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_SASH = yes; then
12250 result=no
12251 else
12252 result=yes
12253 fi
12254 else
12255 result=$wxUSE_SASH
12256 fi
12257
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12260
12261
12262 enablestring=
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12266 defaultval=yes
12267 else
12268 defaultval=no
12269 fi
12270 fi
12271
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12274 no_cache=0
12275 # Check whether --enable-scrollbar was given.
12276 if test "${enable_scrollbar+set}" = set; then
12277 enableval=$enable_scrollbar;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12280 else
12281 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12282 fi
12283
12284 else
12285
12286 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12287 if test "x$LINE" != x ; then
12288 eval "DEFAULT_$LINE"
12289 else
12290 no_cache=1
12291 fi
12292
12293 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12294
12295 fi
12296
12297
12298 eval "$wx_cv_use_scrollbar"
12299 if test "$no_cache" != 1; then
12300 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12301 fi
12302
12303 if test x"$enablestring" = xdisable; then
12304 if test $wxUSE_SCROLLBAR = yes; then
12305 result=no
12306 else
12307 result=yes
12308 fi
12309 else
12310 result=$wxUSE_SCROLLBAR
12311 fi
12312
12313 { echo "$as_me:$LINENO: result: $result" >&5
12314 echo "${ECHO_T}$result" >&6; }
12315
12316
12317 enablestring=
12318 defaultval=$wxUSE_ALL_FEATURES
12319 if test -z "$defaultval"; then
12320 if test x"$enablestring" = xdisable; then
12321 defaultval=yes
12322 else
12323 defaultval=no
12324 fi
12325 fi
12326
12327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12328 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12329 no_cache=0
12330 # Check whether --enable-searchctrl was given.
12331 if test "${enable_searchctrl+set}" = set; then
12332 enableval=$enable_searchctrl;
12333 if test "$enableval" = yes; then
12334 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12335 else
12336 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12337 fi
12338
12339 else
12340
12341 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12342 if test "x$LINE" != x ; then
12343 eval "DEFAULT_$LINE"
12344 else
12345 no_cache=1
12346 fi
12347
12348 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12349
12350 fi
12351
12352
12353 eval "$wx_cv_use_searchctrl"
12354 if test "$no_cache" != 1; then
12355 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12356 fi
12357
12358 if test x"$enablestring" = xdisable; then
12359 if test $wxUSE_SEARCHCTRL = yes; then
12360 result=no
12361 else
12362 result=yes
12363 fi
12364 else
12365 result=$wxUSE_SEARCHCTRL
12366 fi
12367
12368 { echo "$as_me:$LINENO: result: $result" >&5
12369 echo "${ECHO_T}$result" >&6; }
12370
12371
12372 enablestring=
12373 defaultval=$wxUSE_ALL_FEATURES
12374 if test -z "$defaultval"; then
12375 if test x"$enablestring" = xdisable; then
12376 defaultval=yes
12377 else
12378 defaultval=no
12379 fi
12380 fi
12381
12382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12383 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12384 no_cache=0
12385 # Check whether --enable-slider was given.
12386 if test "${enable_slider+set}" = set; then
12387 enableval=$enable_slider;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_slider='wxUSE_SLIDER=yes'
12390 else
12391 wx_cv_use_slider='wxUSE_SLIDER=no'
12392 fi
12393
12394 else
12395
12396 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12397 if test "x$LINE" != x ; then
12398 eval "DEFAULT_$LINE"
12399 else
12400 no_cache=1
12401 fi
12402
12403 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_slider"
12409 if test "$no_cache" != 1; then
12410 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12411 fi
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_SLIDER = yes; then
12415 result=no
12416 else
12417 result=yes
12418 fi
12419 else
12420 result=$wxUSE_SLIDER
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12439 no_cache=0
12440 # Check whether --enable-spinbtn was given.
12441 if test "${enable_spinbtn+set}" = set; then
12442 enableval=$enable_spinbtn;
12443 if test "$enableval" = yes; then
12444 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12445 else
12446 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12447 fi
12448
12449 else
12450
12451 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12452 if test "x$LINE" != x ; then
12453 eval "DEFAULT_$LINE"
12454 else
12455 no_cache=1
12456 fi
12457
12458 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12459
12460 fi
12461
12462
12463 eval "$wx_cv_use_spinbtn"
12464 if test "$no_cache" != 1; then
12465 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12466 fi
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_SPINBTN = yes; then
12470 result=no
12471 else
12472 result=yes
12473 fi
12474 else
12475 result=$wxUSE_SPINBTN
12476 fi
12477
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12494 no_cache=0
12495 # Check whether --enable-spinctrl was given.
12496 if test "${enable_spinctrl+set}" = set; then
12497 enableval=$enable_spinctrl;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12500 else
12501 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12502 fi
12503
12504 else
12505
12506 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12507 if test "x$LINE" != x ; then
12508 eval "DEFAULT_$LINE"
12509 else
12510 no_cache=1
12511 fi
12512
12513 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12514
12515 fi
12516
12517
12518 eval "$wx_cv_use_spinctrl"
12519 if test "$no_cache" != 1; then
12520 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12521 fi
12522
12523 if test x"$enablestring" = xdisable; then
12524 if test $wxUSE_SPINCTRL = yes; then
12525 result=no
12526 else
12527 result=yes
12528 fi
12529 else
12530 result=$wxUSE_SPINCTRL
12531 fi
12532
12533 { echo "$as_me:$LINENO: result: $result" >&5
12534 echo "${ECHO_T}$result" >&6; }
12535
12536
12537 enablestring=
12538 defaultval=$wxUSE_ALL_FEATURES
12539 if test -z "$defaultval"; then
12540 if test x"$enablestring" = xdisable; then
12541 defaultval=yes
12542 else
12543 defaultval=no
12544 fi
12545 fi
12546
12547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12548 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12549 no_cache=0
12550 # Check whether --enable-splitter was given.
12551 if test "${enable_splitter+set}" = set; then
12552 enableval=$enable_splitter;
12553 if test "$enableval" = yes; then
12554 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12555 else
12556 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12557 fi
12558
12559 else
12560
12561 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12562 if test "x$LINE" != x ; then
12563 eval "DEFAULT_$LINE"
12564 else
12565 no_cache=1
12566 fi
12567
12568 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12569
12570 fi
12571
12572
12573 eval "$wx_cv_use_splitter"
12574 if test "$no_cache" != 1; then
12575 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12576 fi
12577
12578 if test x"$enablestring" = xdisable; then
12579 if test $wxUSE_SPLITTER = yes; then
12580 result=no
12581 else
12582 result=yes
12583 fi
12584 else
12585 result=$wxUSE_SPLITTER
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}-statbmp" >&5
12603 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12604 no_cache=0
12605 # Check whether --enable-statbmp was given.
12606 if test "${enable_statbmp+set}" = set; then
12607 enableval=$enable_statbmp;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12610 else
12611 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12612 fi
12613
12614 else
12615
12616 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12617 if test "x$LINE" != x ; then
12618 eval "DEFAULT_$LINE"
12619 else
12620 no_cache=1
12621 fi
12622
12623 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12624
12625 fi
12626
12627
12628 eval "$wx_cv_use_statbmp"
12629 if test "$no_cache" != 1; then
12630 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12631 fi
12632
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_STATBMP = yes; then
12635 result=no
12636 else
12637 result=yes
12638 fi
12639 else
12640 result=$wxUSE_STATBMP
12641 fi
12642
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12645
12646
12647 enablestring=
12648 defaultval=$wxUSE_ALL_FEATURES
12649 if test -z "$defaultval"; then
12650 if test x"$enablestring" = xdisable; then
12651 defaultval=yes
12652 else
12653 defaultval=no
12654 fi
12655 fi
12656
12657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12658 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12659 no_cache=0
12660 # Check whether --enable-statbox was given.
12661 if test "${enable_statbox+set}" = set; then
12662 enableval=$enable_statbox;
12663 if test "$enableval" = yes; then
12664 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12665 else
12666 wx_cv_use_statbox='wxUSE_STATBOX=no'
12667 fi
12668
12669 else
12670
12671 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12672 if test "x$LINE" != x ; then
12673 eval "DEFAULT_$LINE"
12674 else
12675 no_cache=1
12676 fi
12677
12678 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12679
12680 fi
12681
12682
12683 eval "$wx_cv_use_statbox"
12684 if test "$no_cache" != 1; then
12685 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12686 fi
12687
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_STATBOX = yes; then
12690 result=no
12691 else
12692 result=yes
12693 fi
12694 else
12695 result=$wxUSE_STATBOX
12696 fi
12697
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12700
12701
12702 enablestring=
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12706 defaultval=yes
12707 else
12708 defaultval=no
12709 fi
12710 fi
12711
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12714 no_cache=0
12715 # Check whether --enable-statline was given.
12716 if test "${enable_statline+set}" = set; then
12717 enableval=$enable_statline;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_statline='wxUSE_STATLINE=yes'
12720 else
12721 wx_cv_use_statline='wxUSE_STATLINE=no'
12722 fi
12723
12724 else
12725
12726 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12727 if test "x$LINE" != x ; then
12728 eval "DEFAULT_$LINE"
12729 else
12730 no_cache=1
12731 fi
12732
12733 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12734
12735 fi
12736
12737
12738 eval "$wx_cv_use_statline"
12739 if test "$no_cache" != 1; then
12740 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12741 fi
12742
12743 if test x"$enablestring" = xdisable; then
12744 if test $wxUSE_STATLINE = yes; then
12745 result=no
12746 else
12747 result=yes
12748 fi
12749 else
12750 result=$wxUSE_STATLINE
12751 fi
12752
12753 { echo "$as_me:$LINENO: result: $result" >&5
12754 echo "${ECHO_T}$result" >&6; }
12755
12756
12757 enablestring=
12758 defaultval=$wxUSE_ALL_FEATURES
12759 if test -z "$defaultval"; then
12760 if test x"$enablestring" = xdisable; then
12761 defaultval=yes
12762 else
12763 defaultval=no
12764 fi
12765 fi
12766
12767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12768 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12769 no_cache=0
12770 # Check whether --enable-stattext was given.
12771 if test "${enable_stattext+set}" = set; then
12772 enableval=$enable_stattext;
12773 if test "$enableval" = yes; then
12774 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12775 else
12776 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12777 fi
12778
12779 else
12780
12781 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12782 if test "x$LINE" != x ; then
12783 eval "DEFAULT_$LINE"
12784 else
12785 no_cache=1
12786 fi
12787
12788 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12789
12790 fi
12791
12792
12793 eval "$wx_cv_use_stattext"
12794 if test "$no_cache" != 1; then
12795 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12796 fi
12797
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_STATTEXT = yes; then
12800 result=no
12801 else
12802 result=yes
12803 fi
12804 else
12805 result=$wxUSE_STATTEXT
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}-statusbar" >&5
12823 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12824 no_cache=0
12825 # Check whether --enable-statusbar was given.
12826 if test "${enable_statusbar+set}" = set; then
12827 enableval=$enable_statusbar;
12828 if test "$enableval" = yes; then
12829 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12830 else
12831 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12832 fi
12833
12834 else
12835
12836 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12837 if test "x$LINE" != x ; then
12838 eval "DEFAULT_$LINE"
12839 else
12840 no_cache=1
12841 fi
12842
12843 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12844
12845 fi
12846
12847
12848 eval "$wx_cv_use_statusbar"
12849 if test "$no_cache" != 1; then
12850 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12851 fi
12852
12853 if test x"$enablestring" = xdisable; then
12854 if test $wxUSE_STATUSBAR = yes; then
12855 result=no
12856 else
12857 result=yes
12858 fi
12859 else
12860 result=$wxUSE_STATUSBAR
12861 fi
12862
12863 { echo "$as_me:$LINENO: result: $result" >&5
12864 echo "${ECHO_T}$result" >&6; }
12865
12866
12867 enablestring=
12868 defaultval=$wxUSE_ALL_FEATURES
12869 if test -z "$defaultval"; then
12870 if test x"$enablestring" = xdisable; then
12871 defaultval=yes
12872 else
12873 defaultval=no
12874 fi
12875 fi
12876
12877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12878 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12879 no_cache=0
12880 # Check whether --enable-tabdialog was given.
12881 if test "${enable_tabdialog+set}" = set; then
12882 enableval=$enable_tabdialog;
12883 if test "$enableval" = yes; then
12884 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12885 else
12886 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12887 fi
12888
12889 else
12890
12891 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12892 if test "x$LINE" != x ; then
12893 eval "DEFAULT_$LINE"
12894 else
12895 no_cache=1
12896 fi
12897
12898 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12899
12900 fi
12901
12902
12903 eval "$wx_cv_use_tabdialog"
12904 if test "$no_cache" != 1; then
12905 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12906 fi
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_TAB_DIALOG = yes; then
12910 result=no
12911 else
12912 result=yes
12913 fi
12914 else
12915 result=$wxUSE_TAB_DIALOG
12916 fi
12917
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12934 no_cache=0
12935 # Check whether --enable-textctrl was given.
12936 if test "${enable_textctrl+set}" = set; then
12937 enableval=$enable_textctrl;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12940 else
12941 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12942 fi
12943
12944 else
12945
12946 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12947 if test "x$LINE" != x ; then
12948 eval "DEFAULT_$LINE"
12949 else
12950 no_cache=1
12951 fi
12952
12953 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12954
12955 fi
12956
12957
12958 eval "$wx_cv_use_textctrl"
12959 if test "$no_cache" != 1; then
12960 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12961 fi
12962
12963 if test x"$enablestring" = xdisable; then
12964 if test $wxUSE_TEXTCTRL = yes; then
12965 result=no
12966 else
12967 result=yes
12968 fi
12969 else
12970 result=$wxUSE_TEXTCTRL
12971 fi
12972
12973 { echo "$as_me:$LINENO: result: $result" >&5
12974 echo "${ECHO_T}$result" >&6; }
12975
12976
12977 enablestring=
12978 defaultval=$wxUSE_ALL_FEATURES
12979 if test -z "$defaultval"; then
12980 if test x"$enablestring" = xdisable; then
12981 defaultval=yes
12982 else
12983 defaultval=no
12984 fi
12985 fi
12986
12987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12988 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12989 no_cache=0
12990 # Check whether --enable-togglebtn was given.
12991 if test "${enable_togglebtn+set}" = set; then
12992 enableval=$enable_togglebtn;
12993 if test "$enableval" = yes; then
12994 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12995 else
12996 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12997 fi
12998
12999 else
13000
13001 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13002 if test "x$LINE" != x ; then
13003 eval "DEFAULT_$LINE"
13004 else
13005 no_cache=1
13006 fi
13007
13008 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13009
13010 fi
13011
13012
13013 eval "$wx_cv_use_togglebtn"
13014 if test "$no_cache" != 1; then
13015 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13016 fi
13017
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_TOGGLEBTN = yes; then
13020 result=no
13021 else
13022 result=yes
13023 fi
13024 else
13025 result=$wxUSE_TOGGLEBTN
13026 fi
13027
13028 { echo "$as_me:$LINENO: result: $result" >&5
13029 echo "${ECHO_T}$result" >&6; }
13030
13031
13032 enablestring=
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13036 defaultval=yes
13037 else
13038 defaultval=no
13039 fi
13040 fi
13041
13042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13043 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13044 no_cache=0
13045 # Check whether --enable-toolbar was given.
13046 if test "${enable_toolbar+set}" = set; then
13047 enableval=$enable_toolbar;
13048 if test "$enableval" = yes; then
13049 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13050 else
13051 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13052 fi
13053
13054 else
13055
13056 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13057 if test "x$LINE" != x ; then
13058 eval "DEFAULT_$LINE"
13059 else
13060 no_cache=1
13061 fi
13062
13063 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13064
13065 fi
13066
13067
13068 eval "$wx_cv_use_toolbar"
13069 if test "$no_cache" != 1; then
13070 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13071 fi
13072
13073 if test x"$enablestring" = xdisable; then
13074 if test $wxUSE_TOOLBAR = yes; then
13075 result=no
13076 else
13077 result=yes
13078 fi
13079 else
13080 result=$wxUSE_TOOLBAR
13081 fi
13082
13083 { echo "$as_me:$LINENO: result: $result" >&5
13084 echo "${ECHO_T}$result" >&6; }
13085
13086
13087 enablestring=
13088 defaultval=$wxUSE_ALL_FEATURES
13089 if test -z "$defaultval"; then
13090 if test x"$enablestring" = xdisable; then
13091 defaultval=yes
13092 else
13093 defaultval=no
13094 fi
13095 fi
13096
13097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13098 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13099 no_cache=0
13100 # Check whether --enable-tbarnative was given.
13101 if test "${enable_tbarnative+set}" = set; then
13102 enableval=$enable_tbarnative;
13103 if test "$enableval" = yes; then
13104 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13105 else
13106 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13107 fi
13108
13109 else
13110
13111 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13112 if test "x$LINE" != x ; then
13113 eval "DEFAULT_$LINE"
13114 else
13115 no_cache=1
13116 fi
13117
13118 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13119
13120 fi
13121
13122
13123 eval "$wx_cv_use_tbarnative"
13124 if test "$no_cache" != 1; then
13125 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13126 fi
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13130 result=no
13131 else
13132 result=yes
13133 fi
13134 else
13135 result=$wxUSE_TOOLBAR_NATIVE
13136 fi
13137
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13154 no_cache=0
13155 # Check whether --enable-treebook was given.
13156 if test "${enable_treebook+set}" = set; then
13157 enableval=$enable_treebook;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13160 else
13161 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13162 fi
13163
13164 else
13165
13166 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13167 if test "x$LINE" != x ; then
13168 eval "DEFAULT_$LINE"
13169 else
13170 no_cache=1
13171 fi
13172
13173 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13174
13175 fi
13176
13177
13178 eval "$wx_cv_use_treebook"
13179 if test "$no_cache" != 1; then
13180 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13181 fi
13182
13183 if test x"$enablestring" = xdisable; then
13184 if test $wxUSE_TREEBOOK = yes; then
13185 result=no
13186 else
13187 result=yes
13188 fi
13189 else
13190 result=$wxUSE_TREEBOOK
13191 fi
13192
13193 { echo "$as_me:$LINENO: result: $result" >&5
13194 echo "${ECHO_T}$result" >&6; }
13195
13196
13197 enablestring=
13198 defaultval=$wxUSE_ALL_FEATURES
13199 if test -z "$defaultval"; then
13200 if test x"$enablestring" = xdisable; then
13201 defaultval=yes
13202 else
13203 defaultval=no
13204 fi
13205 fi
13206
13207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13208 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13209 no_cache=0
13210 # Check whether --enable-toolbook was given.
13211 if test "${enable_toolbook+set}" = set; then
13212 enableval=$enable_toolbook;
13213 if test "$enableval" = yes; then
13214 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13215 else
13216 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13217 fi
13218
13219 else
13220
13221 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13222 if test "x$LINE" != x ; then
13223 eval "DEFAULT_$LINE"
13224 else
13225 no_cache=1
13226 fi
13227
13228 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13229
13230 fi
13231
13232
13233 eval "$wx_cv_use_toolbook"
13234 if test "$no_cache" != 1; then
13235 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13236 fi
13237
13238 if test x"$enablestring" = xdisable; then
13239 if test $wxUSE_TOOLBOOK = yes; then
13240 result=no
13241 else
13242 result=yes
13243 fi
13244 else
13245 result=$wxUSE_TOOLBOOK
13246 fi
13247
13248 { echo "$as_me:$LINENO: result: $result" >&5
13249 echo "${ECHO_T}$result" >&6; }
13250
13251
13252 enablestring=
13253 defaultval=$wxUSE_ALL_FEATURES
13254 if test -z "$defaultval"; then
13255 if test x"$enablestring" = xdisable; then
13256 defaultval=yes
13257 else
13258 defaultval=no
13259 fi
13260 fi
13261
13262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13263 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13264 no_cache=0
13265 # Check whether --enable-treectrl was given.
13266 if test "${enable_treectrl+set}" = set; then
13267 enableval=$enable_treectrl;
13268 if test "$enableval" = yes; then
13269 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13270 else
13271 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13272 fi
13273
13274 else
13275
13276 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13277 if test "x$LINE" != x ; then
13278 eval "DEFAULT_$LINE"
13279 else
13280 no_cache=1
13281 fi
13282
13283 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13284
13285 fi
13286
13287
13288 eval "$wx_cv_use_treectrl"
13289 if test "$no_cache" != 1; then
13290 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13291 fi
13292
13293 if test x"$enablestring" = xdisable; then
13294 if test $wxUSE_TREECTRL = yes; then
13295 result=no
13296 else
13297 result=yes
13298 fi
13299 else
13300 result=$wxUSE_TREECTRL
13301 fi
13302
13303 { echo "$as_me:$LINENO: result: $result" >&5
13304 echo "${ECHO_T}$result" >&6; }
13305
13306
13307 enablestring=
13308 defaultval=$wxUSE_ALL_FEATURES
13309 if test -z "$defaultval"; then
13310 if test x"$enablestring" = xdisable; then
13311 defaultval=yes
13312 else
13313 defaultval=no
13314 fi
13315 fi
13316
13317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13318 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13319 no_cache=0
13320 # Check whether --enable-tipwindow was given.
13321 if test "${enable_tipwindow+set}" = set; then
13322 enableval=$enable_tipwindow;
13323 if test "$enableval" = yes; then
13324 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13325 else
13326 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13327 fi
13328
13329 else
13330
13331 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13332 if test "x$LINE" != x ; then
13333 eval "DEFAULT_$LINE"
13334 else
13335 no_cache=1
13336 fi
13337
13338 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13339
13340 fi
13341
13342
13343 eval "$wx_cv_use_tipwindow"
13344 if test "$no_cache" != 1; then
13345 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13346 fi
13347
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_TIPWINDOW = yes; then
13350 result=no
13351 else
13352 result=yes
13353 fi
13354 else
13355 result=$wxUSE_TIPWINDOW
13356 fi
13357
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13360
13361
13362 enablestring=
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13366 defaultval=yes
13367 else
13368 defaultval=no
13369 fi
13370 fi
13371
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13374 no_cache=0
13375 # Check whether --enable-popupwin was given.
13376 if test "${enable_popupwin+set}" = set; then
13377 enableval=$enable_popupwin;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13380 else
13381 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13382 fi
13383
13384 else
13385
13386 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13387 if test "x$LINE" != x ; then
13388 eval "DEFAULT_$LINE"
13389 else
13390 no_cache=1
13391 fi
13392
13393 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13394
13395 fi
13396
13397
13398 eval "$wx_cv_use_popupwin"
13399 if test "$no_cache" != 1; then
13400 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13401 fi
13402
13403 if test x"$enablestring" = xdisable; then
13404 if test $wxUSE_POPUPWIN = yes; then
13405 result=no
13406 else
13407 result=yes
13408 fi
13409 else
13410 result=$wxUSE_POPUPWIN
13411 fi
13412
13413 { echo "$as_me:$LINENO: result: $result" >&5
13414 echo "${ECHO_T}$result" >&6; }
13415
13416
13417
13418
13419 enablestring=
13420 defaultval=$wxUSE_ALL_FEATURES
13421 if test -z "$defaultval"; then
13422 if test x"$enablestring" = xdisable; then
13423 defaultval=yes
13424 else
13425 defaultval=no
13426 fi
13427 fi
13428
13429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13430 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13431 no_cache=0
13432 # Check whether --enable-commondlg was given.
13433 if test "${enable_commondlg+set}" = set; then
13434 enableval=$enable_commondlg;
13435 if test "$enableval" = yes; then
13436 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13437 else
13438 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13439 fi
13440
13441 else
13442
13443 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13444 if test "x$LINE" != x ; then
13445 eval "DEFAULT_$LINE"
13446 else
13447 no_cache=1
13448 fi
13449
13450 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13451
13452 fi
13453
13454
13455 eval "$wx_cv_use_commondlg"
13456 if test "$no_cache" != 1; then
13457 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13458 fi
13459
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_COMMONDLGS = yes; then
13462 result=no
13463 else
13464 result=yes
13465 fi
13466 else
13467 result=$wxUSE_COMMONDLGS
13468 fi
13469
13470 { echo "$as_me:$LINENO: result: $result" >&5
13471 echo "${ECHO_T}$result" >&6; }
13472
13473
13474 enablestring=
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13478 defaultval=yes
13479 else
13480 defaultval=no
13481 fi
13482 fi
13483
13484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13485 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13486 no_cache=0
13487 # Check whether --enable-aboutdlg was given.
13488 if test "${enable_aboutdlg+set}" = set; then
13489 enableval=$enable_aboutdlg;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13492 else
13493 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13494 fi
13495
13496 else
13497
13498 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13499 if test "x$LINE" != x ; then
13500 eval "DEFAULT_$LINE"
13501 else
13502 no_cache=1
13503 fi
13504
13505 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13506
13507 fi
13508
13509
13510 eval "$wx_cv_use_aboutdlg"
13511 if test "$no_cache" != 1; then
13512 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13513 fi
13514
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_ABOUTDLG = yes; then
13517 result=no
13518 else
13519 result=yes
13520 fi
13521 else
13522 result=$wxUSE_ABOUTDLG
13523 fi
13524
13525 { echo "$as_me:$LINENO: result: $result" >&5
13526 echo "${ECHO_T}$result" >&6; }
13527
13528
13529 enablestring=
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13533 defaultval=yes
13534 else
13535 defaultval=no
13536 fi
13537 fi
13538
13539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13541 no_cache=0
13542 # Check whether --enable-choicedlg was given.
13543 if test "${enable_choicedlg+set}" = set; then
13544 enableval=$enable_choicedlg;
13545 if test "$enableval" = yes; then
13546 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13547 else
13548 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13549 fi
13550
13551 else
13552
13553 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13554 if test "x$LINE" != x ; then
13555 eval "DEFAULT_$LINE"
13556 else
13557 no_cache=1
13558 fi
13559
13560 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13561
13562 fi
13563
13564
13565 eval "$wx_cv_use_choicedlg"
13566 if test "$no_cache" != 1; then
13567 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13568 fi
13569
13570 if test x"$enablestring" = xdisable; then
13571 if test $wxUSE_CHOICEDLG = yes; then
13572 result=no
13573 else
13574 result=yes
13575 fi
13576 else
13577 result=$wxUSE_CHOICEDLG
13578 fi
13579
13580 { echo "$as_me:$LINENO: result: $result" >&5
13581 echo "${ECHO_T}$result" >&6; }
13582
13583
13584 enablestring=
13585 defaultval=$wxUSE_ALL_FEATURES
13586 if test -z "$defaultval"; then
13587 if test x"$enablestring" = xdisable; then
13588 defaultval=yes
13589 else
13590 defaultval=no
13591 fi
13592 fi
13593
13594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13595 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13596 no_cache=0
13597 # Check whether --enable-coldlg was given.
13598 if test "${enable_coldlg+set}" = set; then
13599 enableval=$enable_coldlg;
13600 if test "$enableval" = yes; then
13601 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13602 else
13603 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13604 fi
13605
13606 else
13607
13608 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13609 if test "x$LINE" != x ; then
13610 eval "DEFAULT_$LINE"
13611 else
13612 no_cache=1
13613 fi
13614
13615 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13616
13617 fi
13618
13619
13620 eval "$wx_cv_use_coldlg"
13621 if test "$no_cache" != 1; then
13622 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13623 fi
13624
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_COLOURDLG = yes; then
13627 result=no
13628 else
13629 result=yes
13630 fi
13631 else
13632 result=$wxUSE_COLOURDLG
13633 fi
13634
13635 { echo "$as_me:$LINENO: result: $result" >&5
13636 echo "${ECHO_T}$result" >&6; }
13637
13638
13639 enablestring=
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13643 defaultval=yes
13644 else
13645 defaultval=no
13646 fi
13647 fi
13648
13649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13651 no_cache=0
13652 # Check whether --enable-filedlg was given.
13653 if test "${enable_filedlg+set}" = set; then
13654 enableval=$enable_filedlg;
13655 if test "$enableval" = yes; then
13656 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13657 else
13658 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13659 fi
13660
13661 else
13662
13663 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13664 if test "x$LINE" != x ; then
13665 eval "DEFAULT_$LINE"
13666 else
13667 no_cache=1
13668 fi
13669
13670 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13671
13672 fi
13673
13674
13675 eval "$wx_cv_use_filedlg"
13676 if test "$no_cache" != 1; then
13677 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13678 fi
13679
13680 if test x"$enablestring" = xdisable; then
13681 if test $wxUSE_FILEDLG = yes; then
13682 result=no
13683 else
13684 result=yes
13685 fi
13686 else
13687 result=$wxUSE_FILEDLG
13688 fi
13689
13690 { echo "$as_me:$LINENO: result: $result" >&5
13691 echo "${ECHO_T}$result" >&6; }
13692
13693
13694 enablestring=
13695 defaultval=$wxUSE_ALL_FEATURES
13696 if test -z "$defaultval"; then
13697 if test x"$enablestring" = xdisable; then
13698 defaultval=yes
13699 else
13700 defaultval=no
13701 fi
13702 fi
13703
13704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13705 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13706 no_cache=0
13707 # Check whether --enable-finddlg was given.
13708 if test "${enable_finddlg+set}" = set; then
13709 enableval=$enable_finddlg;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13712 else
13713 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13714 fi
13715
13716 else
13717
13718 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13719 if test "x$LINE" != x ; then
13720 eval "DEFAULT_$LINE"
13721 else
13722 no_cache=1
13723 fi
13724
13725 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13726
13727 fi
13728
13729
13730 eval "$wx_cv_use_finddlg"
13731 if test "$no_cache" != 1; then
13732 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
13733 fi
13734
13735 if test x"$enablestring" = xdisable; then
13736 if test $wxUSE_FINDREPLDLG = yes; then
13737 result=no
13738 else
13739 result=yes
13740 fi
13741 else
13742 result=$wxUSE_FINDREPLDLG
13743 fi
13744
13745 { echo "$as_me:$LINENO: result: $result" >&5
13746 echo "${ECHO_T}$result" >&6; }
13747
13748
13749 enablestring=
13750 defaultval=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x"$enablestring" = xdisable; then
13753 defaultval=yes
13754 else
13755 defaultval=no
13756 fi
13757 fi
13758
13759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13760 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13761 no_cache=0
13762 # Check whether --enable-fontdlg was given.
13763 if test "${enable_fontdlg+set}" = set; then
13764 enableval=$enable_fontdlg;
13765 if test "$enableval" = yes; then
13766 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13767 else
13768 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13769 fi
13770
13771 else
13772
13773 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13774 if test "x$LINE" != x ; then
13775 eval "DEFAULT_$LINE"
13776 else
13777 no_cache=1
13778 fi
13779
13780 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13781
13782 fi
13783
13784
13785 eval "$wx_cv_use_fontdlg"
13786 if test "$no_cache" != 1; then
13787 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13788 fi
13789
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_FONTDLG = yes; then
13792 result=no
13793 else
13794 result=yes
13795 fi
13796 else
13797 result=$wxUSE_FONTDLG
13798 fi
13799
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13816 no_cache=0
13817 # Check whether --enable-dirdlg was given.
13818 if test "${enable_dirdlg+set}" = set; then
13819 enableval=$enable_dirdlg;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13822 else
13823 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13824 fi
13825
13826 else
13827
13828 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13829 if test "x$LINE" != x ; then
13830 eval "DEFAULT_$LINE"
13831 else
13832 no_cache=1
13833 fi
13834
13835 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13836
13837 fi
13838
13839
13840 eval "$wx_cv_use_dirdlg"
13841 if test "$no_cache" != 1; then
13842 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13843 fi
13844
13845 if test x"$enablestring" = xdisable; then
13846 if test $wxUSE_DIRDLG = yes; then
13847 result=no
13848 else
13849 result=yes
13850 fi
13851 else
13852 result=$wxUSE_DIRDLG
13853 fi
13854
13855 { echo "$as_me:$LINENO: result: $result" >&5
13856 echo "${ECHO_T}$result" >&6; }
13857
13858
13859 enablestring=
13860 defaultval=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x"$enablestring" = xdisable; then
13863 defaultval=yes
13864 else
13865 defaultval=no
13866 fi
13867 fi
13868
13869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13870 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13871 no_cache=0
13872 # Check whether --enable-msgdlg was given.
13873 if test "${enable_msgdlg+set}" = set; then
13874 enableval=$enable_msgdlg;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13877 else
13878 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13879 fi
13880
13881 else
13882
13883 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13884 if test "x$LINE" != x ; then
13885 eval "DEFAULT_$LINE"
13886 else
13887 no_cache=1
13888 fi
13889
13890 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13891
13892 fi
13893
13894
13895 eval "$wx_cv_use_msgdlg"
13896 if test "$no_cache" != 1; then
13897 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13898 fi
13899
13900 if test x"$enablestring" = xdisable; then
13901 if test $wxUSE_MSGDLG = yes; then
13902 result=no
13903 else
13904 result=yes
13905 fi
13906 else
13907 result=$wxUSE_MSGDLG
13908 fi
13909
13910 { echo "$as_me:$LINENO: result: $result" >&5
13911 echo "${ECHO_T}$result" >&6; }
13912
13913
13914 enablestring=
13915 defaultval=$wxUSE_ALL_FEATURES
13916 if test -z "$defaultval"; then
13917 if test x"$enablestring" = xdisable; then
13918 defaultval=yes
13919 else
13920 defaultval=no
13921 fi
13922 fi
13923
13924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13925 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13926 no_cache=0
13927 # Check whether --enable-numberdlg was given.
13928 if test "${enable_numberdlg+set}" = set; then
13929 enableval=$enable_numberdlg;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13932 else
13933 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13934 fi
13935
13936 else
13937
13938 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13939 if test "x$LINE" != x ; then
13940 eval "DEFAULT_$LINE"
13941 else
13942 no_cache=1
13943 fi
13944
13945 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13946
13947 fi
13948
13949
13950 eval "$wx_cv_use_numberdlg"
13951 if test "$no_cache" != 1; then
13952 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13953 fi
13954
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_NUMBERDLG = yes; then
13957 result=no
13958 else
13959 result=yes
13960 fi
13961 else
13962 result=$wxUSE_NUMBERDLG
13963 fi
13964
13965 { echo "$as_me:$LINENO: result: $result" >&5
13966 echo "${ECHO_T}$result" >&6; }
13967
13968
13969 enablestring=
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13973 defaultval=yes
13974 else
13975 defaultval=no
13976 fi
13977 fi
13978
13979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13980 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13981 no_cache=0
13982 # Check whether --enable-splash was given.
13983 if test "${enable_splash+set}" = set; then
13984 enableval=$enable_splash;
13985 if test "$enableval" = yes; then
13986 wx_cv_use_splash='wxUSE_SPLASH=yes'
13987 else
13988 wx_cv_use_splash='wxUSE_SPLASH=no'
13989 fi
13990
13991 else
13992
13993 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13994 if test "x$LINE" != x ; then
13995 eval "DEFAULT_$LINE"
13996 else
13997 no_cache=1
13998 fi
13999
14000 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14001
14002 fi
14003
14004
14005 eval "$wx_cv_use_splash"
14006 if test "$no_cache" != 1; then
14007 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14008 fi
14009
14010 if test x"$enablestring" = xdisable; then
14011 if test $wxUSE_SPLASH = yes; then
14012 result=no
14013 else
14014 result=yes
14015 fi
14016 else
14017 result=$wxUSE_SPLASH
14018 fi
14019
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14022
14023
14024 enablestring=
14025 defaultval=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x"$enablestring" = xdisable; then
14028 defaultval=yes
14029 else
14030 defaultval=no
14031 fi
14032 fi
14033
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14036 no_cache=0
14037 # Check whether --enable-textdlg was given.
14038 if test "${enable_textdlg+set}" = set; then
14039 enableval=$enable_textdlg;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14042 else
14043 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14044 fi
14045
14046 else
14047
14048 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14049 if test "x$LINE" != x ; then
14050 eval "DEFAULT_$LINE"
14051 else
14052 no_cache=1
14053 fi
14054
14055 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14056
14057 fi
14058
14059
14060 eval "$wx_cv_use_textdlg"
14061 if test "$no_cache" != 1; then
14062 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14063 fi
14064
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TEXTDLG = yes; then
14067 result=no
14068 else
14069 result=yes
14070 fi
14071 else
14072 result=$wxUSE_TEXTDLG
14073 fi
14074
14075 { echo "$as_me:$LINENO: result: $result" >&5
14076 echo "${ECHO_T}$result" >&6; }
14077
14078
14079 enablestring=
14080 defaultval=$wxUSE_ALL_FEATURES
14081 if test -z "$defaultval"; then
14082 if test x"$enablestring" = xdisable; then
14083 defaultval=yes
14084 else
14085 defaultval=no
14086 fi
14087 fi
14088
14089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14090 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14091 no_cache=0
14092 # Check whether --enable-tipdlg was given.
14093 if test "${enable_tipdlg+set}" = set; then
14094 enableval=$enable_tipdlg;
14095 if test "$enableval" = yes; then
14096 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14097 else
14098 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14099 fi
14100
14101 else
14102
14103 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14104 if test "x$LINE" != x ; then
14105 eval "DEFAULT_$LINE"
14106 else
14107 no_cache=1
14108 fi
14109
14110 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14111
14112 fi
14113
14114
14115 eval "$wx_cv_use_tipdlg"
14116 if test "$no_cache" != 1; then
14117 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14118 fi
14119
14120 if test x"$enablestring" = xdisable; then
14121 if test $wxUSE_STARTUP_TIPS = yes; then
14122 result=no
14123 else
14124 result=yes
14125 fi
14126 else
14127 result=$wxUSE_STARTUP_TIPS
14128 fi
14129
14130 { echo "$as_me:$LINENO: result: $result" >&5
14131 echo "${ECHO_T}$result" >&6; }
14132
14133
14134 enablestring=
14135 defaultval=$wxUSE_ALL_FEATURES
14136 if test -z "$defaultval"; then
14137 if test x"$enablestring" = xdisable; then
14138 defaultval=yes
14139 else
14140 defaultval=no
14141 fi
14142 fi
14143
14144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14145 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14146 no_cache=0
14147 # Check whether --enable-progressdlg was given.
14148 if test "${enable_progressdlg+set}" = set; then
14149 enableval=$enable_progressdlg;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14152 else
14153 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14154 fi
14155
14156 else
14157
14158 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14159 if test "x$LINE" != x ; then
14160 eval "DEFAULT_$LINE"
14161 else
14162 no_cache=1
14163 fi
14164
14165 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14166
14167 fi
14168
14169
14170 eval "$wx_cv_use_progressdlg"
14171 if test "$no_cache" != 1; then
14172 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14173 fi
14174
14175 if test x"$enablestring" = xdisable; then
14176 if test $wxUSE_PROGRESSDLG = yes; then
14177 result=no
14178 else
14179 result=yes
14180 fi
14181 else
14182 result=$wxUSE_PROGRESSDLG
14183 fi
14184
14185 { echo "$as_me:$LINENO: result: $result" >&5
14186 echo "${ECHO_T}$result" >&6; }
14187
14188
14189 enablestring=
14190 defaultval=$wxUSE_ALL_FEATURES
14191 if test -z "$defaultval"; then
14192 if test x"$enablestring" = xdisable; then
14193 defaultval=yes
14194 else
14195 defaultval=no
14196 fi
14197 fi
14198
14199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14200 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14201 no_cache=0
14202 # Check whether --enable-wizarddlg was given.
14203 if test "${enable_wizarddlg+set}" = set; then
14204 enableval=$enable_wizarddlg;
14205 if test "$enableval" = yes; then
14206 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14207 else
14208 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14209 fi
14210
14211 else
14212
14213 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14214 if test "x$LINE" != x ; then
14215 eval "DEFAULT_$LINE"
14216 else
14217 no_cache=1
14218 fi
14219
14220 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14221
14222 fi
14223
14224
14225 eval "$wx_cv_use_wizarddlg"
14226 if test "$no_cache" != 1; then
14227 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14228 fi
14229
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_WIZARDDLG = yes; then
14232 result=no
14233 else
14234 result=yes
14235 fi
14236 else
14237 result=$wxUSE_WIZARDDLG
14238 fi
14239
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14242
14243
14244
14245
14246 enablestring=
14247 defaultval=$wxUSE_ALL_FEATURES
14248 if test -z "$defaultval"; then
14249 if test x"$enablestring" = xdisable; then
14250 defaultval=yes
14251 else
14252 defaultval=no
14253 fi
14254 fi
14255
14256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14257 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14258 no_cache=0
14259 # Check whether --enable-menus was given.
14260 if test "${enable_menus+set}" = set; then
14261 enableval=$enable_menus;
14262 if test "$enableval" = yes; then
14263 wx_cv_use_menus='wxUSE_MENUS=yes'
14264 else
14265 wx_cv_use_menus='wxUSE_MENUS=no'
14266 fi
14267
14268 else
14269
14270 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14271 if test "x$LINE" != x ; then
14272 eval "DEFAULT_$LINE"
14273 else
14274 no_cache=1
14275 fi
14276
14277 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14278
14279 fi
14280
14281
14282 eval "$wx_cv_use_menus"
14283 if test "$no_cache" != 1; then
14284 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14285 fi
14286
14287 if test x"$enablestring" = xdisable; then
14288 if test $wxUSE_MENUS = yes; then
14289 result=no
14290 else
14291 result=yes
14292 fi
14293 else
14294 result=$wxUSE_MENUS
14295 fi
14296
14297 { echo "$as_me:$LINENO: result: $result" >&5
14298 echo "${ECHO_T}$result" >&6; }
14299
14300
14301 enablestring=
14302 defaultval=$wxUSE_ALL_FEATURES
14303 if test -z "$defaultval"; then
14304 if test x"$enablestring" = xdisable; then
14305 defaultval=yes
14306 else
14307 defaultval=no
14308 fi
14309 fi
14310
14311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14312 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14313 no_cache=0
14314 # Check whether --enable-miniframe was given.
14315 if test "${enable_miniframe+set}" = set; then
14316 enableval=$enable_miniframe;
14317 if test "$enableval" = yes; then
14318 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14319 else
14320 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14321 fi
14322
14323 else
14324
14325 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14326 if test "x$LINE" != x ; then
14327 eval "DEFAULT_$LINE"
14328 else
14329 no_cache=1
14330 fi
14331
14332 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14333
14334 fi
14335
14336
14337 eval "$wx_cv_use_miniframe"
14338 if test "$no_cache" != 1; then
14339 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14340 fi
14341
14342 if test x"$enablestring" = xdisable; then
14343 if test $wxUSE_MINIFRAME = yes; then
14344 result=no
14345 else
14346 result=yes
14347 fi
14348 else
14349 result=$wxUSE_MINIFRAME
14350 fi
14351
14352 { echo "$as_me:$LINENO: result: $result" >&5
14353 echo "${ECHO_T}$result" >&6; }
14354
14355
14356 enablestring=
14357 defaultval=$wxUSE_ALL_FEATURES
14358 if test -z "$defaultval"; then
14359 if test x"$enablestring" = xdisable; then
14360 defaultval=yes
14361 else
14362 defaultval=no
14363 fi
14364 fi
14365
14366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14367 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14368 no_cache=0
14369 # Check whether --enable-tooltips was given.
14370 if test "${enable_tooltips+set}" = set; then
14371 enableval=$enable_tooltips;
14372 if test "$enableval" = yes; then
14373 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14374 else
14375 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14376 fi
14377
14378 else
14379
14380 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14381 if test "x$LINE" != x ; then
14382 eval "DEFAULT_$LINE"
14383 else
14384 no_cache=1
14385 fi
14386
14387 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14388
14389 fi
14390
14391
14392 eval "$wx_cv_use_tooltips"
14393 if test "$no_cache" != 1; then
14394 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14395 fi
14396
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_TOOLTIPS = yes; then
14399 result=no
14400 else
14401 result=yes
14402 fi
14403 else
14404 result=$wxUSE_TOOLTIPS
14405 fi
14406
14407 { echo "$as_me:$LINENO: result: $result" >&5
14408 echo "${ECHO_T}$result" >&6; }
14409
14410
14411 enablestring=
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14415 defaultval=yes
14416 else
14417 defaultval=no
14418 fi
14419 fi
14420
14421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14422 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14423 no_cache=0
14424 # Check whether --enable-splines was given.
14425 if test "${enable_splines+set}" = set; then
14426 enableval=$enable_splines;
14427 if test "$enableval" = yes; then
14428 wx_cv_use_splines='wxUSE_SPLINES=yes'
14429 else
14430 wx_cv_use_splines='wxUSE_SPLINES=no'
14431 fi
14432
14433 else
14434
14435 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14436 if test "x$LINE" != x ; then
14437 eval "DEFAULT_$LINE"
14438 else
14439 no_cache=1
14440 fi
14441
14442 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14443
14444 fi
14445
14446
14447 eval "$wx_cv_use_splines"
14448 if test "$no_cache" != 1; then
14449 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14450 fi
14451
14452 if test x"$enablestring" = xdisable; then
14453 if test $wxUSE_SPLINES = yes; then
14454 result=no
14455 else
14456 result=yes
14457 fi
14458 else
14459 result=$wxUSE_SPLINES
14460 fi
14461
14462 { echo "$as_me:$LINENO: result: $result" >&5
14463 echo "${ECHO_T}$result" >&6; }
14464
14465
14466 enablestring=
14467 defaultval=$wxUSE_ALL_FEATURES
14468 if test -z "$defaultval"; then
14469 if test x"$enablestring" = xdisable; then
14470 defaultval=yes
14471 else
14472 defaultval=no
14473 fi
14474 fi
14475
14476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14477 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14478 no_cache=0
14479 # Check whether --enable-mousewheel was given.
14480 if test "${enable_mousewheel+set}" = set; then
14481 enableval=$enable_mousewheel;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14484 else
14485 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14486 fi
14487
14488 else
14489
14490 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14491 if test "x$LINE" != x ; then
14492 eval "DEFAULT_$LINE"
14493 else
14494 no_cache=1
14495 fi
14496
14497 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14498
14499 fi
14500
14501
14502 eval "$wx_cv_use_mousewheel"
14503 if test "$no_cache" != 1; then
14504 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14505 fi
14506
14507 if test x"$enablestring" = xdisable; then
14508 if test $wxUSE_MOUSEWHEEL = yes; then
14509 result=no
14510 else
14511 result=yes
14512 fi
14513 else
14514 result=$wxUSE_MOUSEWHEEL
14515 fi
14516
14517 { echo "$as_me:$LINENO: result: $result" >&5
14518 echo "${ECHO_T}$result" >&6; }
14519
14520
14521 enablestring=
14522 defaultval=$wxUSE_ALL_FEATURES
14523 if test -z "$defaultval"; then
14524 if test x"$enablestring" = xdisable; then
14525 defaultval=yes
14526 else
14527 defaultval=no
14528 fi
14529 fi
14530
14531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14532 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14533 no_cache=0
14534 # Check whether --enable-validators was given.
14535 if test "${enable_validators+set}" = set; then
14536 enableval=$enable_validators;
14537 if test "$enableval" = yes; then
14538 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14539 else
14540 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14541 fi
14542
14543 else
14544
14545 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14546 if test "x$LINE" != x ; then
14547 eval "DEFAULT_$LINE"
14548 else
14549 no_cache=1
14550 fi
14551
14552 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14553
14554 fi
14555
14556
14557 eval "$wx_cv_use_validators"
14558 if test "$no_cache" != 1; then
14559 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14560 fi
14561
14562 if test x"$enablestring" = xdisable; then
14563 if test $wxUSE_VALIDATORS = yes; then
14564 result=no
14565 else
14566 result=yes
14567 fi
14568 else
14569 result=$wxUSE_VALIDATORS
14570 fi
14571
14572 { echo "$as_me:$LINENO: result: $result" >&5
14573 echo "${ECHO_T}$result" >&6; }
14574
14575
14576 enablestring=
14577 defaultval=$wxUSE_ALL_FEATURES
14578 if test -z "$defaultval"; then
14579 if test x"$enablestring" = xdisable; then
14580 defaultval=yes
14581 else
14582 defaultval=no
14583 fi
14584 fi
14585
14586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14587 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14588 no_cache=0
14589 # Check whether --enable-busyinfo was given.
14590 if test "${enable_busyinfo+set}" = set; then
14591 enableval=$enable_busyinfo;
14592 if test "$enableval" = yes; then
14593 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14594 else
14595 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14596 fi
14597
14598 else
14599
14600 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14601 if test "x$LINE" != x ; then
14602 eval "DEFAULT_$LINE"
14603 else
14604 no_cache=1
14605 fi
14606
14607 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14608
14609 fi
14610
14611
14612 eval "$wx_cv_use_busyinfo"
14613 if test "$no_cache" != 1; then
14614 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14615 fi
14616
14617 if test x"$enablestring" = xdisable; then
14618 if test $wxUSE_BUSYINFO = yes; then
14619 result=no
14620 else
14621 result=yes
14622 fi
14623 else
14624 result=$wxUSE_BUSYINFO
14625 fi
14626
14627 { echo "$as_me:$LINENO: result: $result" >&5
14628 echo "${ECHO_T}$result" >&6; }
14629
14630
14631 enablestring=
14632 defaultval=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x"$enablestring" = xdisable; then
14635 defaultval=yes
14636 else
14637 defaultval=no
14638 fi
14639 fi
14640
14641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14642 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14643 no_cache=0
14644 # Check whether --enable-joystick was given.
14645 if test "${enable_joystick+set}" = set; then
14646 enableval=$enable_joystick;
14647 if test "$enableval" = yes; then
14648 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14649 else
14650 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14651 fi
14652
14653 else
14654
14655 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14656 if test "x$LINE" != x ; then
14657 eval "DEFAULT_$LINE"
14658 else
14659 no_cache=1
14660 fi
14661
14662 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14663
14664 fi
14665
14666
14667 eval "$wx_cv_use_joystick"
14668 if test "$no_cache" != 1; then
14669 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14670 fi
14671
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_JOYSTICK = yes; then
14674 result=no
14675 else
14676 result=yes
14677 fi
14678 else
14679 result=$wxUSE_JOYSTICK
14680 fi
14681
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14684
14685
14686 enablestring=
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14690 defaultval=yes
14691 else
14692 defaultval=no
14693 fi
14694 fi
14695
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14698 no_cache=0
14699 # Check whether --enable-metafile was given.
14700 if test "${enable_metafile+set}" = set; then
14701 enableval=$enable_metafile;
14702 if test "$enableval" = yes; then
14703 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14704 else
14705 wx_cv_use_metafile='wxUSE_METAFILE=no'
14706 fi
14707
14708 else
14709
14710 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14711 if test "x$LINE" != x ; then
14712 eval "DEFAULT_$LINE"
14713 else
14714 no_cache=1
14715 fi
14716
14717 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14718
14719 fi
14720
14721
14722 eval "$wx_cv_use_metafile"
14723 if test "$no_cache" != 1; then
14724 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
14725 fi
14726
14727 if test x"$enablestring" = xdisable; then
14728 if test $wxUSE_METAFILE = yes; then
14729 result=no
14730 else
14731 result=yes
14732 fi
14733 else
14734 result=$wxUSE_METAFILE
14735 fi
14736
14737 { echo "$as_me:$LINENO: result: $result" >&5
14738 echo "${ECHO_T}$result" >&6; }
14739
14740
14741 enablestring=
14742 defaultval=$wxUSE_ALL_FEATURES
14743 if test -z "$defaultval"; then
14744 if test x"$enablestring" = xdisable; then
14745 defaultval=yes
14746 else
14747 defaultval=no
14748 fi
14749 fi
14750
14751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14752 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14753 no_cache=0
14754 # Check whether --enable-dragimage was given.
14755 if test "${enable_dragimage+set}" = set; then
14756 enableval=$enable_dragimage;
14757 if test "$enableval" = yes; then
14758 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14759 else
14760 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14761 fi
14762
14763 else
14764
14765 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14766 if test "x$LINE" != x ; then
14767 eval "DEFAULT_$LINE"
14768 else
14769 no_cache=1
14770 fi
14771
14772 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14773
14774 fi
14775
14776
14777 eval "$wx_cv_use_dragimage"
14778 if test "$no_cache" != 1; then
14779 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
14780 fi
14781
14782 if test x"$enablestring" = xdisable; then
14783 if test $wxUSE_DRAGIMAGE = yes; then
14784 result=no
14785 else
14786 result=yes
14787 fi
14788 else
14789 result=$wxUSE_DRAGIMAGE
14790 fi
14791
14792 { echo "$as_me:$LINENO: result: $result" >&5
14793 echo "${ECHO_T}$result" >&6; }
14794
14795
14796 enablestring=
14797 defaultval=$wxUSE_ALL_FEATURES
14798 if test -z "$defaultval"; then
14799 if test x"$enablestring" = xdisable; then
14800 defaultval=yes
14801 else
14802 defaultval=no
14803 fi
14804 fi
14805
14806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14807 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14808 no_cache=0
14809 # Check whether --enable-accessibility was given.
14810 if test "${enable_accessibility+set}" = set; then
14811 enableval=$enable_accessibility;
14812 if test "$enableval" = yes; then
14813 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14814 else
14815 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14816 fi
14817
14818 else
14819
14820 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14821 if test "x$LINE" != x ; then
14822 eval "DEFAULT_$LINE"
14823 else
14824 no_cache=1
14825 fi
14826
14827 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14828
14829 fi
14830
14831
14832 eval "$wx_cv_use_accessibility"
14833 if test "$no_cache" != 1; then
14834 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14835 fi
14836
14837 if test x"$enablestring" = xdisable; then
14838 if test $wxUSE_ACCESSIBILITY = yes; then
14839 result=no
14840 else
14841 result=yes
14842 fi
14843 else
14844 result=$wxUSE_ACCESSIBILITY
14845 fi
14846
14847 { echo "$as_me:$LINENO: result: $result" >&5
14848 echo "${ECHO_T}$result" >&6; }
14849
14850
14851 if test "$wxUSE_MSW" = "1"; then
14852
14853 enablestring=
14854 defaultval=$wxUSE_ALL_FEATURES
14855 if test -z "$defaultval"; then
14856 if test x"$enablestring" = xdisable; then
14857 defaultval=yes
14858 else
14859 defaultval=no
14860 fi
14861 fi
14862
14863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14864 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14865 no_cache=0
14866 # Check whether --enable-dccache was given.
14867 if test "${enable_dccache+set}" = set; then
14868 enableval=$enable_dccache;
14869 if test "$enableval" = yes; then
14870 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14871 else
14872 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14873 fi
14874
14875 else
14876
14877 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14878 if test "x$LINE" != x ; then
14879 eval "DEFAULT_$LINE"
14880 else
14881 no_cache=1
14882 fi
14883
14884 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14885
14886 fi
14887
14888
14889 eval "$wx_cv_use_dccache"
14890 if test "$no_cache" != 1; then
14891 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14892 fi
14893
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_DC_CACHEING = yes; then
14896 result=no
14897 else
14898 result=yes
14899 fi
14900 else
14901 result=$wxUSE_DC_CACHEING
14902 fi
14903
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14906
14907 fi
14908
14909
14910
14911 enablestring=
14912 defaultval=$wxUSE_ALL_FEATURES
14913 if test -z "$defaultval"; then
14914 if test x"$enablestring" = xdisable; then
14915 defaultval=yes
14916 else
14917 defaultval=no
14918 fi
14919 fi
14920
14921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14922 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14923 no_cache=0
14924 # Check whether --enable-palette was given.
14925 if test "${enable_palette+set}" = set; then
14926 enableval=$enable_palette;
14927 if test "$enableval" = yes; then
14928 wx_cv_use_palette='wxUSE_PALETTE=yes'
14929 else
14930 wx_cv_use_palette='wxUSE_PALETTE=no'
14931 fi
14932
14933 else
14934
14935 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14936 if test "x$LINE" != x ; then
14937 eval "DEFAULT_$LINE"
14938 else
14939 no_cache=1
14940 fi
14941
14942 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14943
14944 fi
14945
14946
14947 eval "$wx_cv_use_palette"
14948 if test "$no_cache" != 1; then
14949 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
14950 fi
14951
14952 if test x"$enablestring" = xdisable; then
14953 if test $wxUSE_PALETTE = yes; then
14954 result=no
14955 else
14956 result=yes
14957 fi
14958 else
14959 result=$wxUSE_PALETTE
14960 fi
14961
14962 { echo "$as_me:$LINENO: result: $result" >&5
14963 echo "${ECHO_T}$result" >&6; }
14964
14965
14966 enablestring=
14967 defaultval=$wxUSE_ALL_FEATURES
14968 if test -z "$defaultval"; then
14969 if test x"$enablestring" = xdisable; then
14970 defaultval=yes
14971 else
14972 defaultval=no
14973 fi
14974 fi
14975
14976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14977 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14978 no_cache=0
14979 # Check whether --enable-image was given.
14980 if test "${enable_image+set}" = set; then
14981 enableval=$enable_image;
14982 if test "$enableval" = yes; then
14983 wx_cv_use_image='wxUSE_IMAGE=yes'
14984 else
14985 wx_cv_use_image='wxUSE_IMAGE=no'
14986 fi
14987
14988 else
14989
14990 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14991 if test "x$LINE" != x ; then
14992 eval "DEFAULT_$LINE"
14993 else
14994 no_cache=1
14995 fi
14996
14997 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14998
14999 fi
15000
15001
15002 eval "$wx_cv_use_image"
15003 if test "$no_cache" != 1; then
15004 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15005 fi
15006
15007 if test x"$enablestring" = xdisable; then
15008 if test $wxUSE_IMAGE = yes; then
15009 result=no
15010 else
15011 result=yes
15012 fi
15013 else
15014 result=$wxUSE_IMAGE
15015 fi
15016
15017 { echo "$as_me:$LINENO: result: $result" >&5
15018 echo "${ECHO_T}$result" >&6; }
15019
15020
15021 enablestring=
15022 defaultval=$wxUSE_ALL_FEATURES
15023 if test -z "$defaultval"; then
15024 if test x"$enablestring" = xdisable; then
15025 defaultval=yes
15026 else
15027 defaultval=no
15028 fi
15029 fi
15030
15031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15032 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15033 no_cache=0
15034 # Check whether --enable-gif was given.
15035 if test "${enable_gif+set}" = set; then
15036 enableval=$enable_gif;
15037 if test "$enableval" = yes; then
15038 wx_cv_use_gif='wxUSE_GIF=yes'
15039 else
15040 wx_cv_use_gif='wxUSE_GIF=no'
15041 fi
15042
15043 else
15044
15045 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15046 if test "x$LINE" != x ; then
15047 eval "DEFAULT_$LINE"
15048 else
15049 no_cache=1
15050 fi
15051
15052 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15053
15054 fi
15055
15056
15057 eval "$wx_cv_use_gif"
15058 if test "$no_cache" != 1; then
15059 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15060 fi
15061
15062 if test x"$enablestring" = xdisable; then
15063 if test $wxUSE_GIF = yes; then
15064 result=no
15065 else
15066 result=yes
15067 fi
15068 else
15069 result=$wxUSE_GIF
15070 fi
15071
15072 { echo "$as_me:$LINENO: result: $result" >&5
15073 echo "${ECHO_T}$result" >&6; }
15074
15075
15076 enablestring=
15077 defaultval=$wxUSE_ALL_FEATURES
15078 if test -z "$defaultval"; then
15079 if test x"$enablestring" = xdisable; then
15080 defaultval=yes
15081 else
15082 defaultval=no
15083 fi
15084 fi
15085
15086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15087 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15088 no_cache=0
15089 # Check whether --enable-pcx was given.
15090 if test "${enable_pcx+set}" = set; then
15091 enableval=$enable_pcx;
15092 if test "$enableval" = yes; then
15093 wx_cv_use_pcx='wxUSE_PCX=yes'
15094 else
15095 wx_cv_use_pcx='wxUSE_PCX=no'
15096 fi
15097
15098 else
15099
15100 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15101 if test "x$LINE" != x ; then
15102 eval "DEFAULT_$LINE"
15103 else
15104 no_cache=1
15105 fi
15106
15107 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15108
15109 fi
15110
15111
15112 eval "$wx_cv_use_pcx"
15113 if test "$no_cache" != 1; then
15114 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15115 fi
15116
15117 if test x"$enablestring" = xdisable; then
15118 if test $wxUSE_PCX = yes; then
15119 result=no
15120 else
15121 result=yes
15122 fi
15123 else
15124 result=$wxUSE_PCX
15125 fi
15126
15127 { echo "$as_me:$LINENO: result: $result" >&5
15128 echo "${ECHO_T}$result" >&6; }
15129
15130
15131 enablestring=
15132 defaultval=$wxUSE_ALL_FEATURES
15133 if test -z "$defaultval"; then
15134 if test x"$enablestring" = xdisable; then
15135 defaultval=yes
15136 else
15137 defaultval=no
15138 fi
15139 fi
15140
15141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15142 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15143 no_cache=0
15144 # Check whether --enable-tga was given.
15145 if test "${enable_tga+set}" = set; then
15146 enableval=$enable_tga;
15147 if test "$enableval" = yes; then
15148 wx_cv_use_tga='wxUSE_TGA=yes'
15149 else
15150 wx_cv_use_tga='wxUSE_TGA=no'
15151 fi
15152
15153 else
15154
15155 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15156 if test "x$LINE" != x ; then
15157 eval "DEFAULT_$LINE"
15158 else
15159 no_cache=1
15160 fi
15161
15162 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15163
15164 fi
15165
15166
15167 eval "$wx_cv_use_tga"
15168 if test "$no_cache" != 1; then
15169 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15170 fi
15171
15172 if test x"$enablestring" = xdisable; then
15173 if test $wxUSE_TGA = yes; then
15174 result=no
15175 else
15176 result=yes
15177 fi
15178 else
15179 result=$wxUSE_TGA
15180 fi
15181
15182 { echo "$as_me:$LINENO: result: $result" >&5
15183 echo "${ECHO_T}$result" >&6; }
15184
15185
15186 enablestring=
15187 defaultval=$wxUSE_ALL_FEATURES
15188 if test -z "$defaultval"; then
15189 if test x"$enablestring" = xdisable; then
15190 defaultval=yes
15191 else
15192 defaultval=no
15193 fi
15194 fi
15195
15196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15197 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15198 no_cache=0
15199 # Check whether --enable-iff was given.
15200 if test "${enable_iff+set}" = set; then
15201 enableval=$enable_iff;
15202 if test "$enableval" = yes; then
15203 wx_cv_use_iff='wxUSE_IFF=yes'
15204 else
15205 wx_cv_use_iff='wxUSE_IFF=no'
15206 fi
15207
15208 else
15209
15210 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15211 if test "x$LINE" != x ; then
15212 eval "DEFAULT_$LINE"
15213 else
15214 no_cache=1
15215 fi
15216
15217 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15218
15219 fi
15220
15221
15222 eval "$wx_cv_use_iff"
15223 if test "$no_cache" != 1; then
15224 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15225 fi
15226
15227 if test x"$enablestring" = xdisable; then
15228 if test $wxUSE_IFF = yes; then
15229 result=no
15230 else
15231 result=yes
15232 fi
15233 else
15234 result=$wxUSE_IFF
15235 fi
15236
15237 { echo "$as_me:$LINENO: result: $result" >&5
15238 echo "${ECHO_T}$result" >&6; }
15239
15240
15241 enablestring=
15242 defaultval=$wxUSE_ALL_FEATURES
15243 if test -z "$defaultval"; then
15244 if test x"$enablestring" = xdisable; then
15245 defaultval=yes
15246 else
15247 defaultval=no
15248 fi
15249 fi
15250
15251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15252 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15253 no_cache=0
15254 # Check whether --enable-pnm was given.
15255 if test "${enable_pnm+set}" = set; then
15256 enableval=$enable_pnm;
15257 if test "$enableval" = yes; then
15258 wx_cv_use_pnm='wxUSE_PNM=yes'
15259 else
15260 wx_cv_use_pnm='wxUSE_PNM=no'
15261 fi
15262
15263 else
15264
15265 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15266 if test "x$LINE" != x ; then
15267 eval "DEFAULT_$LINE"
15268 else
15269 no_cache=1
15270 fi
15271
15272 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15273
15274 fi
15275
15276
15277 eval "$wx_cv_use_pnm"
15278 if test "$no_cache" != 1; then
15279 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15280 fi
15281
15282 if test x"$enablestring" = xdisable; then
15283 if test $wxUSE_PNM = yes; then
15284 result=no
15285 else
15286 result=yes
15287 fi
15288 else
15289 result=$wxUSE_PNM
15290 fi
15291
15292 { echo "$as_me:$LINENO: result: $result" >&5
15293 echo "${ECHO_T}$result" >&6; }
15294
15295
15296 enablestring=
15297 defaultval=$wxUSE_ALL_FEATURES
15298 if test -z "$defaultval"; then
15299 if test x"$enablestring" = xdisable; then
15300 defaultval=yes
15301 else
15302 defaultval=no
15303 fi
15304 fi
15305
15306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15307 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15308 no_cache=0
15309 # Check whether --enable-xpm was given.
15310 if test "${enable_xpm+set}" = set; then
15311 enableval=$enable_xpm;
15312 if test "$enableval" = yes; then
15313 wx_cv_use_xpm='wxUSE_XPM=yes'
15314 else
15315 wx_cv_use_xpm='wxUSE_XPM=no'
15316 fi
15317
15318 else
15319
15320 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15321 if test "x$LINE" != x ; then
15322 eval "DEFAULT_$LINE"
15323 else
15324 no_cache=1
15325 fi
15326
15327 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15328
15329 fi
15330
15331
15332 eval "$wx_cv_use_xpm"
15333 if test "$no_cache" != 1; then
15334 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15335 fi
15336
15337 if test x"$enablestring" = xdisable; then
15338 if test $wxUSE_XPM = yes; then
15339 result=no
15340 else
15341 result=yes
15342 fi
15343 else
15344 result=$wxUSE_XPM
15345 fi
15346
15347 { echo "$as_me:$LINENO: result: $result" >&5
15348 echo "${ECHO_T}$result" >&6; }
15349
15350
15351 enablestring=
15352 defaultval=$wxUSE_ALL_FEATURES
15353 if test -z "$defaultval"; then
15354 if test x"$enablestring" = xdisable; then
15355 defaultval=yes
15356 else
15357 defaultval=no
15358 fi
15359 fi
15360
15361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15362 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15363 no_cache=0
15364 # Check whether --enable-ico_cur was given.
15365 if test "${enable_ico_cur+set}" = set; then
15366 enableval=$enable_ico_cur;
15367 if test "$enableval" = yes; then
15368 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15369 else
15370 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15371 fi
15372
15373 else
15374
15375 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15376 if test "x$LINE" != x ; then
15377 eval "DEFAULT_$LINE"
15378 else
15379 no_cache=1
15380 fi
15381
15382 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15383
15384 fi
15385
15386
15387 eval "$wx_cv_use_ico_cur"
15388 if test "$no_cache" != 1; then
15389 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15390 fi
15391
15392 if test x"$enablestring" = xdisable; then
15393 if test $wxUSE_ICO_CUR = yes; then
15394 result=no
15395 else
15396 result=yes
15397 fi
15398 else
15399 result=$wxUSE_ICO_CUR
15400 fi
15401
15402 { echo "$as_me:$LINENO: result: $result" >&5
15403 echo "${ECHO_T}$result" >&6; }
15404
15405
15406 fi
15407
15408
15409 echo "saving argument cache $wx_arg_cache_file"
15410 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15411
15412
15413
15414 { echo "$as_me:$LINENO: checking for toolkit" >&5
15415 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15416
15417 # In Wine, we need to default to MSW, not GTK or MOTIF
15418 if test "$wxUSE_WINE" = "yes"; then
15419 DEFAULT_DEFAULT_wxUSE_GTK=0
15420 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15421 DEFAULT_DEFAULT_wxUSE_MSW=1
15422 wxUSE_SHARED=no
15423 CC=${CC:-winegcc}
15424 CXX=${CXX:-wineg++}
15425 fi
15426
15427
15428 if test "$wxUSE_GUI" = "yes"; then
15429
15430 if test "$USE_BEOS" = 1; then
15431 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15432 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15433 { (exit 1); exit 1; }; }
15434 fi
15435
15436 if test "$TOOLKIT_GIVEN" = 1; then
15437 for toolkit in `echo $ALL_TOOLKITS`; do
15438 var=wxUSE_$toolkit
15439 eval "value=\$${var}"
15440 if test "x$value" = "xno"; then
15441 eval "$var=0"
15442 elif test "x$value" != "x"; then
15443 eval "$var=1"
15444 fi
15445
15446 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15447 eval "wx${toolkit}_VERSION=$value"
15448 fi
15449 done
15450 else
15451 for toolkit in `echo $ALL_TOOLKITS`; do
15452 if test "$has_toolkit_in_cache" != 1; then
15453 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15454 else
15455 var=DEFAULT_wxUSE_$toolkit
15456
15457 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15458 if test "x$version" != "x"; then
15459 eval "wx${toolkit}_VERSION=$version"
15460 fi
15461 fi
15462 eval "wxUSE_$toolkit=\$${var}"
15463 done
15464 fi
15465
15466 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15467 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15468 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15469
15470 case "${host}" in
15471 *-pc-os2_emx | *-pc-os2-emx )
15472 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15473 esac
15474
15475 case "$NUM_TOOLKITS" in
15476 1)
15477 ;;
15478 0)
15479 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15480 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15481 { (exit 1); exit 1; }; }
15482 ;;
15483 *)
15484 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15485 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15486 { (exit 1); exit 1; }; }
15487 esac
15488
15489 # to be removed when --disable-gtk2 isn't needed
15490 if test "x$wxUSE_GTK2" = "xyes"; then
15491 wxGTK_VERSION=2
15492 elif test "x$wxUSE_GTK2" = "xno"; then
15493 wxGTK_VERSION=1
15494 fi
15495
15496 for toolkit in `echo $ALL_TOOLKITS`; do
15497 var=wxUSE_$toolkit
15498 eval "value=\$${var}"
15499 if test "x$value" != x; then
15500 cache_var=CACHE_$toolkit
15501 eval "cache=\$${cache_var}"
15502 if test "$cache" = 1; then
15503 echo "$var=$value" >> ${wx_arg_cache_file}
15504 eval "version=\$wx${toolkit}_VERSION"
15505 if test "x$version" != "x"; then
15506 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15507 fi
15508 fi
15509 if test "$value" = 1; then
15510 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15511 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15512 echo "${ECHO_T}$toolkit_echo" >&6; }
15513 fi
15514 fi
15515 done
15516 else
15517 if test "x$host_alias" != "x"; then
15518 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15519 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15520 else
15521 { echo "$as_me:$LINENO: result: base only" >&5
15522 echo "${ECHO_T}base only" >&6; }
15523 fi
15524 fi
15525
15526
15527 cat >confcache <<\_ACEOF
15528 # This file is a shell script that caches the results of configure
15529 # tests run on this system so they can be shared between configure
15530 # scripts and configure runs, see configure's option --config-cache.
15531 # It is not useful on other systems. If it contains results you don't
15532 # want to keep, you may remove or edit it.
15533 #
15534 # config.status only pays attention to the cache file if you give it
15535 # the --recheck option to rerun configure.
15536 #
15537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15539 # following values.
15540
15541 _ACEOF
15542
15543 # The following way of writing the cache mishandles newlines in values,
15544 # but we know of no workaround that is simple, portable, and efficient.
15545 # So, we kill variables containing newlines.
15546 # Ultrix sh set writes to stderr and can't be redirected directly,
15547 # and sets the high bit in the cache file unless we assign to the vars.
15548 (
15549 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15550 eval ac_val=\$$ac_var
15551 case $ac_val in #(
15552 *${as_nl}*)
15553 case $ac_var in #(
15554 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15555 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15556 esac
15557 case $ac_var in #(
15558 _ | IFS | as_nl) ;; #(
15559 *) $as_unset $ac_var ;;
15560 esac ;;
15561 esac
15562 done
15563
15564 (set) 2>&1 |
15565 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15566 *${as_nl}ac_space=\ *)
15567 # `set' does not quote correctly, so add quotes (double-quote
15568 # substitution turns \\\\ into \\, and sed turns \\ into \).
15569 sed -n \
15570 "s/'/'\\\\''/g;
15571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15572 ;; #(
15573 *)
15574 # `set' quotes correctly as required by POSIX, so do not add quotes.
15575 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15576 ;;
15577 esac |
15578 sort
15579 ) |
15580 sed '
15581 /^ac_cv_env_/b end
15582 t clear
15583 :clear
15584 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15585 t end
15586 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15587 :end' >>confcache
15588 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15589 if test -w "$cache_file"; then
15590 test "x$cache_file" != "x/dev/null" &&
15591 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15592 echo "$as_me: updating cache $cache_file" >&6;}
15593 cat confcache >$cache_file
15594 else
15595 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15596 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15597 fi
15598 fi
15599 rm -f confcache
15600
15601 CFLAGS=${CFLAGS:=}
15602
15603
15604
15605 ac_ext=c
15606 ac_cpp='$CPP $CPPFLAGS'
15607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610 if test -n "$ac_tool_prefix"; then
15611 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15612 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15615 if test "${ac_cv_prog_CC+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 else
15618 if test -n "$CC"; then
15619 ac_cv_prog_CC="$CC" # Let the user override the test.
15620 else
15621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15622 for as_dir in $PATH
15623 do
15624 IFS=$as_save_IFS
15625 test -z "$as_dir" && as_dir=.
15626 for ac_exec_ext in '' $ac_executable_extensions; do
15627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15628 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15630 break 2
15631 fi
15632 done
15633 done
15634 IFS=$as_save_IFS
15635
15636 fi
15637 fi
15638 CC=$ac_cv_prog_CC
15639 if test -n "$CC"; then
15640 { echo "$as_me:$LINENO: result: $CC" >&5
15641 echo "${ECHO_T}$CC" >&6; }
15642 else
15643 { echo "$as_me:$LINENO: result: no" >&5
15644 echo "${ECHO_T}no" >&6; }
15645 fi
15646
15647
15648 fi
15649 if test -z "$ac_cv_prog_CC"; then
15650 ac_ct_CC=$CC
15651 # Extract the first word of "gcc", so it can be a program name with args.
15652 set dummy gcc; ac_word=$2
15653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 else
15658 if test -n "$ac_ct_CC"; then
15659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15660 else
15661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15662 for as_dir in $PATH
15663 do
15664 IFS=$as_save_IFS
15665 test -z "$as_dir" && as_dir=.
15666 for ac_exec_ext in '' $ac_executable_extensions; do
15667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15668 ac_cv_prog_ac_ct_CC="gcc"
15669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15670 break 2
15671 fi
15672 done
15673 done
15674 IFS=$as_save_IFS
15675
15676 fi
15677 fi
15678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15679 if test -n "$ac_ct_CC"; then
15680 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15681 echo "${ECHO_T}$ac_ct_CC" >&6; }
15682 else
15683 { echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6; }
15685 fi
15686
15687 if test "x$ac_ct_CC" = x; then
15688 CC=""
15689 else
15690 case $cross_compiling:$ac_tool_warned in
15691 yes:)
15692 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15693 whose name does not start with the host triplet. If you think this
15694 configuration is useful to you, please write to autoconf@gnu.org." >&5
15695 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15696 whose name does not start with the host triplet. If you think this
15697 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15698 ac_tool_warned=yes ;;
15699 esac
15700 CC=$ac_ct_CC
15701 fi
15702 else
15703 CC="$ac_cv_prog_CC"
15704 fi
15705
15706 if test -z "$CC"; then
15707 if test -n "$ac_tool_prefix"; then
15708 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15709 set dummy ${ac_tool_prefix}cc; ac_word=$2
15710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15712 if test "${ac_cv_prog_CC+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 if test -n "$CC"; then
15716 ac_cv_prog_CC="$CC" # Let the user override the test.
15717 else
15718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15719 for as_dir in $PATH
15720 do
15721 IFS=$as_save_IFS
15722 test -z "$as_dir" && as_dir=.
15723 for ac_exec_ext in '' $ac_executable_extensions; do
15724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15725 ac_cv_prog_CC="${ac_tool_prefix}cc"
15726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15727 break 2
15728 fi
15729 done
15730 done
15731 IFS=$as_save_IFS
15732
15733 fi
15734 fi
15735 CC=$ac_cv_prog_CC
15736 if test -n "$CC"; then
15737 { echo "$as_me:$LINENO: result: $CC" >&5
15738 echo "${ECHO_T}$CC" >&6; }
15739 else
15740 { echo "$as_me:$LINENO: result: no" >&5
15741 echo "${ECHO_T}no" >&6; }
15742 fi
15743
15744
15745 fi
15746 fi
15747 if test -z "$CC"; then
15748 # Extract the first word of "cc", so it can be a program name with args.
15749 set dummy cc; ac_word=$2
15750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15752 if test "${ac_cv_prog_CC+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15754 else
15755 if test -n "$CC"; then
15756 ac_cv_prog_CC="$CC" # Let the user override the test.
15757 else
15758 ac_prog_rejected=no
15759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15760 for as_dir in $PATH
15761 do
15762 IFS=$as_save_IFS
15763 test -z "$as_dir" && as_dir=.
15764 for ac_exec_ext in '' $ac_executable_extensions; do
15765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15767 ac_prog_rejected=yes
15768 continue
15769 fi
15770 ac_cv_prog_CC="cc"
15771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15772 break 2
15773 fi
15774 done
15775 done
15776 IFS=$as_save_IFS
15777
15778 if test $ac_prog_rejected = yes; then
15779 # We found a bogon in the path, so make sure we never use it.
15780 set dummy $ac_cv_prog_CC
15781 shift
15782 if test $# != 0; then
15783 # We chose a different compiler from the bogus one.
15784 # However, it has the same basename, so the bogon will be chosen
15785 # first if we set CC to just the basename; use the full file name.
15786 shift
15787 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15788 fi
15789 fi
15790 fi
15791 fi
15792 CC=$ac_cv_prog_CC
15793 if test -n "$CC"; then
15794 { echo "$as_me:$LINENO: result: $CC" >&5
15795 echo "${ECHO_T}$CC" >&6; }
15796 else
15797 { echo "$as_me:$LINENO: result: no" >&5
15798 echo "${ECHO_T}no" >&6; }
15799 fi
15800
15801
15802 fi
15803 if test -z "$CC"; then
15804 if test -n "$ac_tool_prefix"; then
15805 for ac_prog in cl.exe
15806 do
15807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15811 if test "${ac_cv_prog_CC+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 else
15814 if test -n "$CC"; then
15815 ac_cv_prog_CC="$CC" # Let the user override the test.
15816 else
15817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15818 for as_dir in $PATH
15819 do
15820 IFS=$as_save_IFS
15821 test -z "$as_dir" && as_dir=.
15822 for ac_exec_ext in '' $ac_executable_extensions; do
15823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15824 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15826 break 2
15827 fi
15828 done
15829 done
15830 IFS=$as_save_IFS
15831
15832 fi
15833 fi
15834 CC=$ac_cv_prog_CC
15835 if test -n "$CC"; then
15836 { echo "$as_me:$LINENO: result: $CC" >&5
15837 echo "${ECHO_T}$CC" >&6; }
15838 else
15839 { echo "$as_me:$LINENO: result: no" >&5
15840 echo "${ECHO_T}no" >&6; }
15841 fi
15842
15843
15844 test -n "$CC" && break
15845 done
15846 fi
15847 if test -z "$CC"; then
15848 ac_ct_CC=$CC
15849 for ac_prog in cl.exe
15850 do
15851 # Extract the first word of "$ac_prog", so it can be a program name with args.
15852 set dummy $ac_prog; ac_word=$2
15853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15855 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15856 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 else
15858 if test -n "$ac_ct_CC"; then
15859 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15860 else
15861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15862 for as_dir in $PATH
15863 do
15864 IFS=$as_save_IFS
15865 test -z "$as_dir" && as_dir=.
15866 for ac_exec_ext in '' $ac_executable_extensions; do
15867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15868 ac_cv_prog_ac_ct_CC="$ac_prog"
15869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15870 break 2
15871 fi
15872 done
15873 done
15874 IFS=$as_save_IFS
15875
15876 fi
15877 fi
15878 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15879 if test -n "$ac_ct_CC"; then
15880 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15881 echo "${ECHO_T}$ac_ct_CC" >&6; }
15882 else
15883 { echo "$as_me:$LINENO: result: no" >&5
15884 echo "${ECHO_T}no" >&6; }
15885 fi
15886
15887
15888 test -n "$ac_ct_CC" && break
15889 done
15890
15891 if test "x$ac_ct_CC" = x; then
15892 CC=""
15893 else
15894 case $cross_compiling:$ac_tool_warned in
15895 yes:)
15896 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15897 whose name does not start with the host triplet. If you think this
15898 configuration is useful to you, please write to autoconf@gnu.org." >&5
15899 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15900 whose name does not start with the host triplet. If you think this
15901 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15902 ac_tool_warned=yes ;;
15903 esac
15904 CC=$ac_ct_CC
15905 fi
15906 fi
15907
15908 fi
15909
15910
15911 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15912 See \`config.log' for more details." >&5
15913 echo "$as_me: error: no acceptable C compiler found in \$PATH
15914 See \`config.log' for more details." >&2;}
15915 { (exit 1); exit 1; }; }
15916
15917 # Provide some information about the compiler.
15918 echo "$as_me:$LINENO: checking for C compiler version" >&5
15919 ac_compiler=`set X $ac_compile; echo $2`
15920 { (ac_try="$ac_compiler --version >&5"
15921 case "(($ac_try" in
15922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15924 esac
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_compiler --version >&5") 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }
15930 { (ac_try="$ac_compiler -v >&5"
15931 case "(($ac_try" in
15932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15933 *) ac_try_echo=$ac_try;;
15934 esac
15935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15936 (eval "$ac_compiler -v >&5") 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }
15940 { (ac_try="$ac_compiler -V >&5"
15941 case "(($ac_try" in
15942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15943 *) ac_try_echo=$ac_try;;
15944 esac
15945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15946 (eval "$ac_compiler -V >&5") 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }
15950
15951 cat >conftest.$ac_ext <<_ACEOF
15952 /* confdefs.h. */
15953 _ACEOF
15954 cat confdefs.h >>conftest.$ac_ext
15955 cat >>conftest.$ac_ext <<_ACEOF
15956 /* end confdefs.h. */
15957
15958 int
15959 main ()
15960 {
15961
15962 ;
15963 return 0;
15964 }
15965 _ACEOF
15966 ac_clean_files_save=$ac_clean_files
15967 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15968 # Try to create an executable without -o first, disregard a.out.
15969 # It will help us diagnose broken compilers, and finding out an intuition
15970 # of exeext.
15971 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15972 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15973 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15974 #
15975 # List of possible output files, starting from the most likely.
15976 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15977 # only as a last resort. b.out is created by i960 compilers.
15978 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15979 #
15980 # The IRIX 6 linker writes into existing files which may not be
15981 # executable, retaining their permissions. Remove them first so a
15982 # subsequent execution test works.
15983 ac_rmfiles=
15984 for ac_file in $ac_files
15985 do
15986 case $ac_file in
15987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15988 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15989 esac
15990 done
15991 rm -f $ac_rmfiles
15992
15993 if { (ac_try="$ac_link_default"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15997 esac
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_link_default") 2>&5
16000 ac_status=$?
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); }; then
16003 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16004 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16005 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16006 # so that the user can short-circuit this test for compilers unknown to
16007 # Autoconf.
16008 for ac_file in $ac_files ''
16009 do
16010 test -f "$ac_file" || continue
16011 case $ac_file in
16012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16013 ;;
16014 [ab].out )
16015 # We found the default executable, but exeext='' is most
16016 # certainly right.
16017 break;;
16018 *.* )
16019 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16020 then :; else
16021 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16022 fi
16023 # We set ac_cv_exeext here because the later test for it is not
16024 # safe: cross compilers may not add the suffix if given an `-o'
16025 # argument, so we may need to know it at that point already.
16026 # Even if this section looks crufty: it has the advantage of
16027 # actually working.
16028 break;;
16029 * )
16030 break;;
16031 esac
16032 done
16033 test "$ac_cv_exeext" = no && ac_cv_exeext=
16034
16035 else
16036 ac_file=''
16037 fi
16038
16039 { echo "$as_me:$LINENO: result: $ac_file" >&5
16040 echo "${ECHO_T}$ac_file" >&6; }
16041 if test -z "$ac_file"; then
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16046 See \`config.log' for more details." >&5
16047 echo "$as_me: error: C compiler cannot create executables
16048 See \`config.log' for more details." >&2;}
16049 { (exit 77); exit 77; }; }
16050 fi
16051
16052 ac_exeext=$ac_cv_exeext
16053
16054 # Check that the compiler produces executables we can run. If not, either
16055 # the compiler is broken, or we cross compile.
16056 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16057 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16058 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16059 # If not cross compiling, check that we can run a simple program.
16060 if test "$cross_compiling" != yes; then
16061 if { ac_try='./$ac_file'
16062 { (case "(($ac_try" in
16063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16064 *) ac_try_echo=$ac_try;;
16065 esac
16066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16067 (eval "$ac_try") 2>&5
16068 ac_status=$?
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); }; }; then
16071 cross_compiling=no
16072 else
16073 if test "$cross_compiling" = maybe; then
16074 cross_compiling=yes
16075 else
16076 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16077 If you meant to cross compile, use \`--host'.
16078 See \`config.log' for more details." >&5
16079 echo "$as_me: error: cannot run C compiled programs.
16080 If you meant to cross compile, use \`--host'.
16081 See \`config.log' for more details." >&2;}
16082 { (exit 1); exit 1; }; }
16083 fi
16084 fi
16085 fi
16086 { echo "$as_me:$LINENO: result: yes" >&5
16087 echo "${ECHO_T}yes" >&6; }
16088
16089 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16090 ac_clean_files=$ac_clean_files_save
16091 # Check that the compiler produces executables we can run. If not, either
16092 # the compiler is broken, or we cross compile.
16093 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16094 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16095 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16096 echo "${ECHO_T}$cross_compiling" >&6; }
16097
16098 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16099 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16100 if { (ac_try="$ac_link"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16104 esac
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_link") 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; then
16110 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16111 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16112 # work properly (i.e., refer to `conftest.exe'), while it won't with
16113 # `rm'.
16114 for ac_file in conftest.exe conftest conftest.*; do
16115 test -f "$ac_file" || continue
16116 case $ac_file in
16117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16118 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16119 break;;
16120 * ) break;;
16121 esac
16122 done
16123 else
16124 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16125 See \`config.log' for more details." >&5
16126 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16127 See \`config.log' for more details." >&2;}
16128 { (exit 1); exit 1; }; }
16129 fi
16130
16131 rm -f conftest$ac_cv_exeext
16132 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16133 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16134
16135 rm -f conftest.$ac_ext
16136 EXEEXT=$ac_cv_exeext
16137 ac_exeext=$EXEEXT
16138 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16139 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16140 if test "${ac_cv_objext+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 else
16143 cat >conftest.$ac_ext <<_ACEOF
16144 /* confdefs.h. */
16145 _ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16149
16150 int
16151 main ()
16152 {
16153
16154 ;
16155 return 0;
16156 }
16157 _ACEOF
16158 rm -f conftest.o conftest.obj
16159 if { (ac_try="$ac_compile"
16160 case "(($ac_try" in
16161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16162 *) ac_try_echo=$ac_try;;
16163 esac
16164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16165 (eval "$ac_compile") 2>&5
16166 ac_status=$?
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; then
16169 for ac_file in conftest.o conftest.obj conftest.*; do
16170 test -f "$ac_file" || continue;
16171 case $ac_file in
16172 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16173 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16174 break;;
16175 esac
16176 done
16177 else
16178 echo "$as_me: failed program was:" >&5
16179 sed 's/^/| /' conftest.$ac_ext >&5
16180
16181 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16184 See \`config.log' for more details." >&2;}
16185 { (exit 1); exit 1; }; }
16186 fi
16187
16188 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16189 fi
16190 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16191 echo "${ECHO_T}$ac_cv_objext" >&6; }
16192 OBJEXT=$ac_cv_objext
16193 ac_objext=$OBJEXT
16194 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16195 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16196 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 cat >conftest.$ac_ext <<_ACEOF
16200 /* confdefs.h. */
16201 _ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205
16206 int
16207 main ()
16208 {
16209 #ifndef __GNUC__
16210 choke me
16211 #endif
16212
16213 ;
16214 return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext
16218 if { (ac_try="$ac_compile"
16219 case "(($ac_try" in
16220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16221 *) ac_try_echo=$ac_try;;
16222 esac
16223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16224 (eval "$ac_compile") 2>conftest.er1
16225 ac_status=$?
16226 grep -v '^ *+' conftest.er1 >conftest.err
16227 rm -f conftest.er1
16228 cat conftest.err >&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); } && {
16231 test -z "$ac_c_werror_flag" ||
16232 test ! -s conftest.err
16233 } && test -s conftest.$ac_objext; then
16234 ac_compiler_gnu=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 ac_compiler_gnu=no
16240 fi
16241
16242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16243 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16244
16245 fi
16246 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16247 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16248 GCC=`test $ac_compiler_gnu = yes && echo yes`
16249 ac_test_CFLAGS=${CFLAGS+set}
16250 ac_save_CFLAGS=$CFLAGS
16251 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16252 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16253 if test "${ac_cv_prog_cc_g+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16255 else
16256 ac_save_c_werror_flag=$ac_c_werror_flag
16257 ac_c_werror_flag=yes
16258 ac_cv_prog_cc_g=no
16259 CFLAGS="-g"
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266
16267 int
16268 main ()
16269 {
16270
16271 ;
16272 return 0;
16273 }
16274 _ACEOF
16275 rm -f conftest.$ac_objext
16276 if { (ac_try="$ac_compile"
16277 case "(($ac_try" in
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16279 *) ac_try_echo=$ac_try;;
16280 esac
16281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16282 (eval "$ac_compile") 2>conftest.er1
16283 ac_status=$?
16284 grep -v '^ *+' conftest.er1 >conftest.err
16285 rm -f conftest.er1
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } && {
16289 test -z "$ac_c_werror_flag" ||
16290 test ! -s conftest.err
16291 } && test -s conftest.$ac_objext; then
16292 ac_cv_prog_cc_g=yes
16293 else
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16296
16297 CFLAGS=""
16298 cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h. */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304
16305 int
16306 main ()
16307 {
16308
16309 ;
16310 return 0;
16311 }
16312 _ACEOF
16313 rm -f conftest.$ac_objext
16314 if { (ac_try="$ac_compile"
16315 case "(($ac_try" in
16316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16317 *) ac_try_echo=$ac_try;;
16318 esac
16319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16320 (eval "$ac_compile") 2>conftest.er1
16321 ac_status=$?
16322 grep -v '^ *+' conftest.er1 >conftest.err
16323 rm -f conftest.er1
16324 cat conftest.err >&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } && {
16327 test -z "$ac_c_werror_flag" ||
16328 test ! -s conftest.err
16329 } && test -s conftest.$ac_objext; then
16330 :
16331 else
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16334
16335 ac_c_werror_flag=$ac_save_c_werror_flag
16336 CFLAGS="-g"
16337 cat >conftest.$ac_ext <<_ACEOF
16338 /* confdefs.h. */
16339 _ACEOF
16340 cat confdefs.h >>conftest.$ac_ext
16341 cat >>conftest.$ac_ext <<_ACEOF
16342 /* end confdefs.h. */
16343
16344 int
16345 main ()
16346 {
16347
16348 ;
16349 return 0;
16350 }
16351 _ACEOF
16352 rm -f conftest.$ac_objext
16353 if { (ac_try="$ac_compile"
16354 case "(($ac_try" in
16355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16356 *) ac_try_echo=$ac_try;;
16357 esac
16358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16359 (eval "$ac_compile") 2>conftest.er1
16360 ac_status=$?
16361 grep -v '^ *+' conftest.er1 >conftest.err
16362 rm -f conftest.er1
16363 cat conftest.err >&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); } && {
16366 test -z "$ac_c_werror_flag" ||
16367 test ! -s conftest.err
16368 } && test -s conftest.$ac_objext; then
16369 ac_cv_prog_cc_g=yes
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374
16375 fi
16376
16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16378 fi
16379
16380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16381 fi
16382
16383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16384 ac_c_werror_flag=$ac_save_c_werror_flag
16385 fi
16386 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16387 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16388 if test "$ac_test_CFLAGS" = set; then
16389 CFLAGS=$ac_save_CFLAGS
16390 elif test $ac_cv_prog_cc_g = yes; then
16391 if test "$GCC" = yes; then
16392 CFLAGS="-g -O2"
16393 else
16394 CFLAGS="-g"
16395 fi
16396 else
16397 if test "$GCC" = yes; then
16398 CFLAGS="-O2"
16399 else
16400 CFLAGS=
16401 fi
16402 fi
16403 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16404 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16405 if test "${ac_cv_prog_cc_c89+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408 ac_cv_prog_cc_c89=no
16409 ac_save_CC=$CC
16410 cat >conftest.$ac_ext <<_ACEOF
16411 /* confdefs.h. */
16412 _ACEOF
16413 cat confdefs.h >>conftest.$ac_ext
16414 cat >>conftest.$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 #include <stdarg.h>
16417 #include <stdio.h>
16418 #include <sys/types.h>
16419 #include <sys/stat.h>
16420 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16421 struct buf { int x; };
16422 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16423 static char *e (p, i)
16424 char **p;
16425 int i;
16426 {
16427 return p[i];
16428 }
16429 static char *f (char * (*g) (char **, int), char **p, ...)
16430 {
16431 char *s;
16432 va_list v;
16433 va_start (v,p);
16434 s = g (p, va_arg (v,int));
16435 va_end (v);
16436 return s;
16437 }
16438
16439 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16440 function prototypes and stuff, but not '\xHH' hex character constants.
16441 These don't provoke an error unfortunately, instead are silently treated
16442 as 'x'. The following induces an error, until -std is added to get
16443 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16444 array size at least. It's necessary to write '\x00'==0 to get something
16445 that's true only with -std. */
16446 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16447
16448 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16449 inside strings and character constants. */
16450 #define FOO(x) 'x'
16451 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16452
16453 int test (int i, double x);
16454 struct s1 {int (*f) (int a);};
16455 struct s2 {int (*f) (double a);};
16456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16457 int argc;
16458 char **argv;
16459 int
16460 main ()
16461 {
16462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16463 ;
16464 return 0;
16465 }
16466 _ACEOF
16467 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16468 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16469 do
16470 CC="$ac_save_CC $ac_arg"
16471 rm -f conftest.$ac_objext
16472 if { (ac_try="$ac_compile"
16473 case "(($ac_try" in
16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16475 *) ac_try_echo=$ac_try;;
16476 esac
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16478 (eval "$ac_compile") 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } && {
16485 test -z "$ac_c_werror_flag" ||
16486 test ! -s conftest.err
16487 } && test -s conftest.$ac_objext; then
16488 ac_cv_prog_cc_c89=$ac_arg
16489 else
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16492
16493
16494 fi
16495
16496 rm -f core conftest.err conftest.$ac_objext
16497 test "x$ac_cv_prog_cc_c89" != "xno" && break
16498 done
16499 rm -f conftest.$ac_ext
16500 CC=$ac_save_CC
16501
16502 fi
16503 # AC_CACHE_VAL
16504 case "x$ac_cv_prog_cc_c89" in
16505 x)
16506 { echo "$as_me:$LINENO: result: none needed" >&5
16507 echo "${ECHO_T}none needed" >&6; } ;;
16508 xno)
16509 { echo "$as_me:$LINENO: result: unsupported" >&5
16510 echo "${ECHO_T}unsupported" >&6; } ;;
16511 *)
16512 CC="$CC $ac_cv_prog_cc_c89"
16513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16514 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16515 esac
16516
16517
16518 ac_ext=c
16519 ac_cpp='$CPP $CPPFLAGS'
16520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16523
16524
16525
16526
16527 ac_ext=c
16528 ac_cpp='$CPP $CPPFLAGS'
16529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16532
16533 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16534 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16535 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 else
16538 cat >conftest.$ac_ext <<_ACEOF
16539 /* confdefs.h. */
16540 _ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h. */
16544
16545 int
16546 main ()
16547 {
16548
16549 #ifndef __INTEL_COMPILER
16550 choke me
16551 #endif
16552
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16562 esac
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16565 ac_status=$?
16566 grep -v '^ *+' conftest.er1 >conftest.err
16567 rm -f conftest.er1
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_c_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16574 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 bakefile_cv_c_compiler___INTEL_COMPILER=no
16580
16581 fi
16582
16583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16584
16585
16586 fi
16587 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16588 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16589 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16590 :; INTELCC=yes
16591 else
16592 :;
16593 fi
16594 ac_ext=c
16595 ac_cpp='$CPP $CPPFLAGS'
16596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16599
16600
16601
16602
16603 if test "x$GCC" != "xyes"; then
16604 if test "xCC" = "xC"; then
16605 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16606 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16607 if test "${bakefile_cv_c_exto+set}" = set; then
16608 echo $ECHO_N "(cached) $ECHO_C" >&6
16609 else
16610 cat >conftest.$ac_ext <<_ACEOF
16611 /* confdefs.h. */
16612 _ACEOF
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616
16617 int
16618 main ()
16619 {
16620
16621 ;
16622 return 0;
16623 }
16624 _ACEOF
16625 rm -f conftest.$ac_objext conftest.$ac_ext.o
16626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16627 (eval $ac_compile) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; then
16631 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16632 case $ac_file in
16633 conftest.$ac_ext.o)
16634 bakefile_cv_c_exto="-ext o"
16635 ;;
16636 *)
16637 ;;
16638 esac
16639 done
16640 else
16641 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16642 See \`config.log' for more details." >&5
16643 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16644 See \`config.log' for more details." >&2;}
16645 { (exit 1); exit 1; }; }
16646
16647 fi
16648
16649 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16650
16651 fi
16652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16653 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16654 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16655 if test "c" = "c"; then
16656 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16657 fi
16658 if test "c" = "cxx"; then
16659 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16660 fi
16661 fi
16662
16663 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16664 unset ac_cv_prog_cc_g
16665 ac_test_CFLAGS=${CFLAGS+set}
16666 ac_save_CFLAGS=$CFLAGS
16667 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16668 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16669 if test "${ac_cv_prog_cc_g+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 else
16672 ac_save_c_werror_flag=$ac_c_werror_flag
16673 ac_c_werror_flag=yes
16674 ac_cv_prog_cc_g=no
16675 CFLAGS="-g"
16676 cat >conftest.$ac_ext <<_ACEOF
16677 /* confdefs.h. */
16678 _ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682
16683 int
16684 main ()
16685 {
16686
16687 ;
16688 return 0;
16689 }
16690 _ACEOF
16691 rm -f conftest.$ac_objext
16692 if { (ac_try="$ac_compile"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16696 esac
16697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16698 (eval "$ac_compile") 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && {
16705 test -z "$ac_c_werror_flag" ||
16706 test ! -s conftest.err
16707 } && test -s conftest.$ac_objext; then
16708 ac_cv_prog_cc_g=yes
16709 else
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.$ac_ext >&5
16712
16713 CFLAGS=""
16714 cat >conftest.$ac_ext <<_ACEOF
16715 /* confdefs.h. */
16716 _ACEOF
16717 cat confdefs.h >>conftest.$ac_ext
16718 cat >>conftest.$ac_ext <<_ACEOF
16719 /* end confdefs.h. */
16720
16721 int
16722 main ()
16723 {
16724
16725 ;
16726 return 0;
16727 }
16728 _ACEOF
16729 rm -f conftest.$ac_objext
16730 if { (ac_try="$ac_compile"
16731 case "(($ac_try" in
16732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16733 *) ac_try_echo=$ac_try;;
16734 esac
16735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16736 (eval "$ac_compile") 2>conftest.er1
16737 ac_status=$?
16738 grep -v '^ *+' conftest.er1 >conftest.err
16739 rm -f conftest.er1
16740 cat conftest.err >&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); } && {
16743 test -z "$ac_c_werror_flag" ||
16744 test ! -s conftest.err
16745 } && test -s conftest.$ac_objext; then
16746 :
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16750
16751 ac_c_werror_flag=$ac_save_c_werror_flag
16752 CFLAGS="-g"
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759
16760 int
16761 main ()
16762 {
16763
16764 ;
16765 return 0;
16766 }
16767 _ACEOF
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16773 esac
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cc_g=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16789
16790
16791 fi
16792
16793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16794 fi
16795
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16797 fi
16798
16799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16800 ac_c_werror_flag=$ac_save_c_werror_flag
16801 fi
16802 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16803 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16804 if test "$ac_test_CFLAGS" = set; then
16805 CFLAGS=$ac_save_CFLAGS
16806 elif test $ac_cv_prog_cc_g = yes; then
16807 if test "$GCC" = yes; then
16808 CFLAGS="-g -O2"
16809 else
16810 CFLAGS="-g"
16811 fi
16812 else
16813 if test "$GCC" = yes; then
16814 CFLAGS="-O2"
16815 else
16816 CFLAGS=
16817 fi
16818 fi
16819 fi
16820 fi
16821
16822 case `uname -s` in
16823 AIX*)
16824
16825
16826 ac_ext=c
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831
16832 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16833 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16834 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 else
16837 cat >conftest.$ac_ext <<_ACEOF
16838 /* confdefs.h. */
16839 _ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843
16844 int
16845 main ()
16846 {
16847
16848 #ifndef __xlC__
16849 choke me
16850 #endif
16851
16852 ;
16853 return 0;
16854 }
16855 _ACEOF
16856 rm -f conftest.$ac_objext
16857 if { (ac_try="$ac_compile"
16858 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16861 esac
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_compile") 2>conftest.er1
16864 ac_status=$?
16865 grep -v '^ *+' conftest.er1 >conftest.err
16866 rm -f conftest.er1
16867 cat conftest.err >&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } && {
16870 test -z "$ac_c_werror_flag" ||
16871 test ! -s conftest.err
16872 } && test -s conftest.$ac_objext; then
16873 bakefile_cv_c_compiler___xlC__=yes
16874 else
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.$ac_ext >&5
16877
16878 bakefile_cv_c_compiler___xlC__=no
16879
16880 fi
16881
16882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16883
16884
16885 fi
16886 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16887 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16888 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16889 :; XLCC=yes
16890 else
16891 :;
16892 fi
16893 ac_ext=c
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16898
16899
16900
16901 ;;
16902
16903 Darwin)
16904
16905
16906 ac_ext=c
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16911
16912 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16913 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16914 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 else
16917 cat >conftest.$ac_ext <<_ACEOF
16918 /* confdefs.h. */
16919 _ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923
16924 int
16925 main ()
16926 {
16927
16928 #ifndef __MWERKS__
16929 choke me
16930 #endif
16931
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16940 *) ac_try_echo=$ac_try;;
16941 esac
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compile") 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && {
16950 test -z "$ac_c_werror_flag" ||
16951 test ! -s conftest.err
16952 } && test -s conftest.$ac_objext; then
16953 bakefile_cv_c_compiler___MWERKS__=yes
16954 else
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.$ac_ext >&5
16957
16958 bakefile_cv_c_compiler___MWERKS__=no
16959
16960 fi
16961
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964
16965 fi
16966 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16967 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16968 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16969 :; MWCC=yes
16970 else
16971 :;
16972 fi
16973 ac_ext=c
16974 ac_cpp='$CPP $CPPFLAGS'
16975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16978
16979
16980
16981
16982
16983 ac_ext=c
16984 ac_cpp='$CPP $CPPFLAGS'
16985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16988
16989 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16990 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16994 cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h. */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000
17001 int
17002 main ()
17003 {
17004
17005 #ifndef __xlC__
17006 choke me
17007 #endif
17008
17009 ;
17010 return 0;
17011 }
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17018 esac
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_c_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_c_compiler___xlC__=yes
17031 else
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17034
17035 bakefile_cv_c_compiler___xlC__=no
17036
17037 fi
17038
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041
17042 fi
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17044 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17045 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17046 :; XLCC=yes
17047 else
17048 :;
17049 fi
17050 ac_ext=c
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17055
17056
17057
17058 ;;
17059
17060 IRIX*)
17061
17062
17063 ac_ext=c
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17068
17069 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17070 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17071 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 else
17074 cat >conftest.$ac_ext <<_ACEOF
17075 /* confdefs.h. */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080
17081 int
17082 main ()
17083 {
17084
17085 #ifndef _SGI_COMPILER_VERSION
17086 choke me
17087 #endif
17088
17089 ;
17090 return 0;
17091 }
17092 _ACEOF
17093 rm -f conftest.$ac_objext
17094 if { (ac_try="$ac_compile"
17095 case "(($ac_try" in
17096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17097 *) ac_try_echo=$ac_try;;
17098 esac
17099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17100 (eval "$ac_compile") 2>conftest.er1
17101 ac_status=$?
17102 grep -v '^ *+' conftest.er1 >conftest.err
17103 rm -f conftest.er1
17104 cat conftest.err >&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } && {
17107 test -z "$ac_c_werror_flag" ||
17108 test ! -s conftest.err
17109 } && test -s conftest.$ac_objext; then
17110 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17111 else
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.$ac_ext >&5
17114
17115 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17116
17117 fi
17118
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121
17122 fi
17123 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17124 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17125 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17126 :; SGICC=yes
17127 else
17128 :;
17129 fi
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135
17136
17137
17138 ;;
17139
17140 Linux*)
17141
17142
17143 ac_ext=c
17144 ac_cpp='$CPP $CPPFLAGS'
17145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17148
17149 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17150 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17151 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154 cat >conftest.$ac_ext <<_ACEOF
17155 /* confdefs.h. */
17156 _ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160
17161 int
17162 main ()
17163 {
17164
17165 #ifndef __SUNPRO_C
17166 choke me
17167 #endif
17168
17169 ;
17170 return 0;
17171 }
17172 _ACEOF
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17178 esac
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 bakefile_cv_c_compiler___SUNPRO_C=yes
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17194
17195 bakefile_cv_c_compiler___SUNPRO_C=no
17196
17197 fi
17198
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200
17201
17202 fi
17203 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17204 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17205 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17206 :; SUNCC=yes
17207 else
17208 :;
17209 fi
17210 ac_ext=c
17211 ac_cpp='$CPP $CPPFLAGS'
17212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17215
17216
17217
17218 ;;
17219
17220 HP-UX*)
17221
17222
17223 ac_ext=c
17224 ac_cpp='$CPP $CPPFLAGS'
17225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17228
17229 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17230 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17231 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 else
17234 cat >conftest.$ac_ext <<_ACEOF
17235 /* confdefs.h. */
17236 _ACEOF
17237 cat confdefs.h >>conftest.$ac_ext
17238 cat >>conftest.$ac_ext <<_ACEOF
17239 /* end confdefs.h. */
17240
17241 int
17242 main ()
17243 {
17244
17245 #ifndef __HP_cc
17246 choke me
17247 #endif
17248
17249 ;
17250 return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17258 esac
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17261 ac_status=$?
17262 grep -v '^ *+' conftest.er1 >conftest.err
17263 rm -f conftest.er1
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 bakefile_cv_c_compiler___HP_cc=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275 bakefile_cv_c_compiler___HP_cc=no
17276
17277 fi
17278
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280
17281
17282 fi
17283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17284 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17285 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17286 :; HPCC=yes
17287 else
17288 :;
17289 fi
17290 ac_ext=c
17291 ac_cpp='$CPP $CPPFLAGS'
17292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17295
17296
17297
17298 ;;
17299
17300 OSF1)
17301
17302
17303 ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17310 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17311 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314 cat >conftest.$ac_ext <<_ACEOF
17315 /* confdefs.h. */
17316 _ACEOF
17317 cat confdefs.h >>conftest.$ac_ext
17318 cat >>conftest.$ac_ext <<_ACEOF
17319 /* end confdefs.h. */
17320
17321 int
17322 main ()
17323 {
17324
17325 #ifndef __DECC
17326 choke me
17327 #endif
17328
17329 ;
17330 return 0;
17331 }
17332 _ACEOF
17333 rm -f conftest.$ac_objext
17334 if { (ac_try="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17338 esac
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17350 bakefile_cv_c_compiler___DECC=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17354
17355 bakefile_cv_c_compiler___DECC=no
17356
17357 fi
17358
17359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360
17361
17362 fi
17363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17364 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17365 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17366 :; COMPAQCC=yes
17367 else
17368 :;
17369 fi
17370 ac_ext=c
17371 ac_cpp='$CPP $CPPFLAGS'
17372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17375
17376
17377
17378 ;;
17379
17380 SunOS)
17381
17382
17383 ac_ext=c
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17388
17389 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17390 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17391 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 else
17394 cat >conftest.$ac_ext <<_ACEOF
17395 /* confdefs.h. */
17396 _ACEOF
17397 cat confdefs.h >>conftest.$ac_ext
17398 cat >>conftest.$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17400
17401 int
17402 main ()
17403 {
17404
17405 #ifndef __SUNPRO_C
17406 choke me
17407 #endif
17408
17409 ;
17410 return 0;
17411 }
17412 _ACEOF
17413 rm -f conftest.$ac_objext
17414 if { (ac_try="$ac_compile"
17415 case "(($ac_try" in
17416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17417 *) ac_try_echo=$ac_try;;
17418 esac
17419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17420 (eval "$ac_compile") 2>conftest.er1
17421 ac_status=$?
17422 grep -v '^ *+' conftest.er1 >conftest.err
17423 rm -f conftest.er1
17424 cat conftest.err >&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } && {
17427 test -z "$ac_c_werror_flag" ||
17428 test ! -s conftest.err
17429 } && test -s conftest.$ac_objext; then
17430 bakefile_cv_c_compiler___SUNPRO_C=yes
17431 else
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17434
17435 bakefile_cv_c_compiler___SUNPRO_C=no
17436
17437 fi
17438
17439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17440
17441
17442 fi
17443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17444 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17445 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17446 :; SUNCC=yes
17447 else
17448 :;
17449 fi
17450 ac_ext=c
17451 ac_cpp='$CPP $CPPFLAGS'
17452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17455
17456
17457
17458 ;;
17459 esac
17460 fi
17461
17462
17463
17464 ac_ext=c
17465 ac_cpp='$CPP $CPPFLAGS'
17466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17469 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17470 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17471 # On Suns, sometimes $CPP names a directory.
17472 if test -n "$CPP" && test -d "$CPP"; then
17473 CPP=
17474 fi
17475 if test -z "$CPP"; then
17476 if test "${ac_cv_prog_CPP+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 else
17479 # Double quotes because CPP needs to be expanded
17480 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17481 do
17482 ac_preproc_ok=false
17483 for ac_c_preproc_warn_flag in '' yes
17484 do
17485 # Use a header file that comes with gcc, so configuring glibc
17486 # with a fresh cross-compiler works.
17487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17488 # <limits.h> exists even on freestanding compilers.
17489 # On the NeXT, cc -E runs the code through the compiler's parser,
17490 # not just through cpp. "Syntax error" is here to catch this case.
17491 cat >conftest.$ac_ext <<_ACEOF
17492 /* confdefs.h. */
17493 _ACEOF
17494 cat confdefs.h >>conftest.$ac_ext
17495 cat >>conftest.$ac_ext <<_ACEOF
17496 /* end confdefs.h. */
17497 #ifdef __STDC__
17498 # include <limits.h>
17499 #else
17500 # include <assert.h>
17501 #endif
17502 Syntax error
17503 _ACEOF
17504 if { (ac_try="$ac_cpp conftest.$ac_ext"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17508 esac
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } >/dev/null && {
17517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17519 }; then
17520 :
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 # Broken: fails on valid input.
17526 continue
17527 fi
17528
17529 rm -f conftest.err conftest.$ac_ext
17530
17531 # OK, works on sane cases. Now check whether nonexistent headers
17532 # can be detected and how.
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 #include <ac_nonexistent.h>
17540 _ACEOF
17541 if { (ac_try="$ac_cpp conftest.$ac_ext"
17542 case "(($ac_try" in
17543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17544 *) ac_try_echo=$ac_try;;
17545 esac
17546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17548 ac_status=$?
17549 grep -v '^ *+' conftest.er1 >conftest.err
17550 rm -f conftest.er1
17551 cat conftest.err >&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } >/dev/null && {
17554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17555 test ! -s conftest.err
17556 }; then
17557 # Broken: success on invalid input.
17558 continue
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 # Passes both tests.
17564 ac_preproc_ok=:
17565 break
17566 fi
17567
17568 rm -f conftest.err conftest.$ac_ext
17569
17570 done
17571 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17572 rm -f conftest.err conftest.$ac_ext
17573 if $ac_preproc_ok; then
17574 break
17575 fi
17576
17577 done
17578 ac_cv_prog_CPP=$CPP
17579
17580 fi
17581 CPP=$ac_cv_prog_CPP
17582 else
17583 ac_cv_prog_CPP=$CPP
17584 fi
17585 { echo "$as_me:$LINENO: result: $CPP" >&5
17586 echo "${ECHO_T}$CPP" >&6; }
17587 ac_preproc_ok=false
17588 for ac_c_preproc_warn_flag in '' yes
17589 do
17590 # Use a header file that comes with gcc, so configuring glibc
17591 # with a fresh cross-compiler works.
17592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17593 # <limits.h> exists even on freestanding compilers.
17594 # On the NeXT, cc -E runs the code through the compiler's parser,
17595 # not just through cpp. "Syntax error" is here to catch this case.
17596 cat >conftest.$ac_ext <<_ACEOF
17597 /* confdefs.h. */
17598 _ACEOF
17599 cat confdefs.h >>conftest.$ac_ext
17600 cat >>conftest.$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 #ifdef __STDC__
17603 # include <limits.h>
17604 #else
17605 # include <assert.h>
17606 #endif
17607 Syntax error
17608 _ACEOF
17609 if { (ac_try="$ac_cpp conftest.$ac_ext"
17610 case "(($ac_try" in
17611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17612 *) ac_try_echo=$ac_try;;
17613 esac
17614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17615 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17616 ac_status=$?
17617 grep -v '^ *+' conftest.er1 >conftest.err
17618 rm -f conftest.er1
17619 cat conftest.err >&5
17620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17621 (exit $ac_status); } >/dev/null && {
17622 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17623 test ! -s conftest.err
17624 }; then
17625 :
17626 else
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17629
17630 # Broken: fails on valid input.
17631 continue
17632 fi
17633
17634 rm -f conftest.err conftest.$ac_ext
17635
17636 # OK, works on sane cases. Now check whether nonexistent headers
17637 # can be detected and how.
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <ac_nonexistent.h>
17645 _ACEOF
17646 if { (ac_try="$ac_cpp conftest.$ac_ext"
17647 case "(($ac_try" in
17648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649 *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } >/dev/null && {
17659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17660 test ! -s conftest.err
17661 }; then
17662 # Broken: success on invalid input.
17663 continue
17664 else
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17667
17668 # Passes both tests.
17669 ac_preproc_ok=:
17670 break
17671 fi
17672
17673 rm -f conftest.err conftest.$ac_ext
17674
17675 done
17676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17677 rm -f conftest.err conftest.$ac_ext
17678 if $ac_preproc_ok; then
17679 :
17680 else
17681 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17682 See \`config.log' for more details." >&5
17683 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17684 See \`config.log' for more details." >&2;}
17685 { (exit 1); exit 1; }; }
17686 fi
17687
17688 ac_ext=c
17689 ac_cpp='$CPP $CPPFLAGS'
17690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17693
17694
17695 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17696 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17697 if test "${ac_cv_path_GREP+set}" = set; then
17698 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 else
17700 # Extract the first word of "grep ggrep" to use in msg output
17701 if test -z "$GREP"; then
17702 set dummy grep ggrep; ac_prog_name=$2
17703 if test "${ac_cv_path_GREP+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17705 else
17706 ac_path_GREP_found=false
17707 # Loop through the user's path and test for each of PROGNAME-LIST
17708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17709 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17710 do
17711 IFS=$as_save_IFS
17712 test -z "$as_dir" && as_dir=.
17713 for ac_prog in grep ggrep; do
17714 for ac_exec_ext in '' $ac_executable_extensions; do
17715 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17716 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17717 # Check for GNU ac_path_GREP and select it if it is found.
17718 # Check for GNU $ac_path_GREP
17719 case `"$ac_path_GREP" --version 2>&1` in
17720 *GNU*)
17721 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17722 *)
17723 ac_count=0
17724 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17725 while :
17726 do
17727 cat "conftest.in" "conftest.in" >"conftest.tmp"
17728 mv "conftest.tmp" "conftest.in"
17729 cp "conftest.in" "conftest.nl"
17730 echo 'GREP' >> "conftest.nl"
17731 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17732 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17733 ac_count=`expr $ac_count + 1`
17734 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17735 # Best one so far, save it but keep looking for a better one
17736 ac_cv_path_GREP="$ac_path_GREP"
17737 ac_path_GREP_max=$ac_count
17738 fi
17739 # 10*(2^10) chars as input seems more than enough
17740 test $ac_count -gt 10 && break
17741 done
17742 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17743 esac
17744
17745
17746 $ac_path_GREP_found && break 3
17747 done
17748 done
17749
17750 done
17751 IFS=$as_save_IFS
17752
17753
17754 fi
17755
17756 GREP="$ac_cv_path_GREP"
17757 if test -z "$GREP"; then
17758 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17759 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17760 { (exit 1); exit 1; }; }
17761 fi
17762
17763 else
17764 ac_cv_path_GREP=$GREP
17765 fi
17766
17767
17768 fi
17769 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17770 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17771 GREP="$ac_cv_path_GREP"
17772
17773
17774 { echo "$as_me:$LINENO: checking for egrep" >&5
17775 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17776 if test "${ac_cv_path_EGREP+set}" = set; then
17777 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 else
17779 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17780 then ac_cv_path_EGREP="$GREP -E"
17781 else
17782 # Extract the first word of "egrep" to use in msg output
17783 if test -z "$EGREP"; then
17784 set dummy egrep; ac_prog_name=$2
17785 if test "${ac_cv_path_EGREP+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 else
17788 ac_path_EGREP_found=false
17789 # Loop through the user's path and test for each of PROGNAME-LIST
17790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17791 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17792 do
17793 IFS=$as_save_IFS
17794 test -z "$as_dir" && as_dir=.
17795 for ac_prog in egrep; do
17796 for ac_exec_ext in '' $ac_executable_extensions; do
17797 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17798 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17799 # Check for GNU ac_path_EGREP and select it if it is found.
17800 # Check for GNU $ac_path_EGREP
17801 case `"$ac_path_EGREP" --version 2>&1` in
17802 *GNU*)
17803 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17804 *)
17805 ac_count=0
17806 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17807 while :
17808 do
17809 cat "conftest.in" "conftest.in" >"conftest.tmp"
17810 mv "conftest.tmp" "conftest.in"
17811 cp "conftest.in" "conftest.nl"
17812 echo 'EGREP' >> "conftest.nl"
17813 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17814 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17815 ac_count=`expr $ac_count + 1`
17816 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17817 # Best one so far, save it but keep looking for a better one
17818 ac_cv_path_EGREP="$ac_path_EGREP"
17819 ac_path_EGREP_max=$ac_count
17820 fi
17821 # 10*(2^10) chars as input seems more than enough
17822 test $ac_count -gt 10 && break
17823 done
17824 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17825 esac
17826
17827
17828 $ac_path_EGREP_found && break 3
17829 done
17830 done
17831
17832 done
17833 IFS=$as_save_IFS
17834
17835
17836 fi
17837
17838 EGREP="$ac_cv_path_EGREP"
17839 if test -z "$EGREP"; then
17840 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17841 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17842 { (exit 1); exit 1; }; }
17843 fi
17844
17845 else
17846 ac_cv_path_EGREP=$EGREP
17847 fi
17848
17849
17850 fi
17851 fi
17852 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17853 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17854 EGREP="$ac_cv_path_EGREP"
17855
17856
17857 if test $ac_cv_c_compiler_gnu = yes; then
17858 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17859 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17860 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17861 echo $ECHO_N "(cached) $ECHO_C" >&6
17862 else
17863 ac_pattern="Autoconf.*'x'"
17864 cat >conftest.$ac_ext <<_ACEOF
17865 /* confdefs.h. */
17866 _ACEOF
17867 cat confdefs.h >>conftest.$ac_ext
17868 cat >>conftest.$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 #include <sgtty.h>
17871 Autoconf TIOCGETP
17872 _ACEOF
17873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17874 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17875 ac_cv_prog_gcc_traditional=yes
17876 else
17877 ac_cv_prog_gcc_traditional=no
17878 fi
17879 rm -f conftest*
17880
17881
17882 if test $ac_cv_prog_gcc_traditional = no; then
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 #include <termio.h>
17890 Autoconf TCGETA
17891 _ACEOF
17892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17893 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17894 ac_cv_prog_gcc_traditional=yes
17895 fi
17896 rm -f conftest*
17897
17898 fi
17899 fi
17900 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17901 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17902 if test $ac_cv_prog_gcc_traditional = yes; then
17903 CC="$CC -traditional"
17904 fi
17905 fi
17906
17907
17908 CXXFLAGS=${CXXFLAGS:=}
17909
17910
17911
17912 ac_ext=cpp
17913 ac_cpp='$CXXCPP $CPPFLAGS'
17914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17917 if test -z "$CXX"; then
17918 if test -n "$CCC"; then
17919 CXX=$CCC
17920 else
17921 if test -n "$ac_tool_prefix"; then
17922 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17923 do
17924 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17925 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17928 if test "${ac_cv_prog_CXX+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 else
17931 if test -n "$CXX"; then
17932 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17933 else
17934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17935 for as_dir in $PATH
17936 do
17937 IFS=$as_save_IFS
17938 test -z "$as_dir" && as_dir=.
17939 for ac_exec_ext in '' $ac_executable_extensions; do
17940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17941 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17943 break 2
17944 fi
17945 done
17946 done
17947 IFS=$as_save_IFS
17948
17949 fi
17950 fi
17951 CXX=$ac_cv_prog_CXX
17952 if test -n "$CXX"; then
17953 { echo "$as_me:$LINENO: result: $CXX" >&5
17954 echo "${ECHO_T}$CXX" >&6; }
17955 else
17956 { echo "$as_me:$LINENO: result: no" >&5
17957 echo "${ECHO_T}no" >&6; }
17958 fi
17959
17960
17961 test -n "$CXX" && break
17962 done
17963 fi
17964 if test -z "$CXX"; then
17965 ac_ct_CXX=$CXX
17966 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17967 do
17968 # Extract the first word of "$ac_prog", so it can be a program name with args.
17969 set dummy $ac_prog; ac_word=$2
17970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17972 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17973 echo $ECHO_N "(cached) $ECHO_C" >&6
17974 else
17975 if test -n "$ac_ct_CXX"; then
17976 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17977 else
17978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17979 for as_dir in $PATH
17980 do
17981 IFS=$as_save_IFS
17982 test -z "$as_dir" && as_dir=.
17983 for ac_exec_ext in '' $ac_executable_extensions; do
17984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17985 ac_cv_prog_ac_ct_CXX="$ac_prog"
17986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17987 break 2
17988 fi
17989 done
17990 done
17991 IFS=$as_save_IFS
17992
17993 fi
17994 fi
17995 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17996 if test -n "$ac_ct_CXX"; then
17997 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17998 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17999 else
18000 { echo "$as_me:$LINENO: result: no" >&5
18001 echo "${ECHO_T}no" >&6; }
18002 fi
18003
18004
18005 test -n "$ac_ct_CXX" && break
18006 done
18007
18008 if test "x$ac_ct_CXX" = x; then
18009 CXX="g++"
18010 else
18011 case $cross_compiling:$ac_tool_warned in
18012 yes:)
18013 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18014 whose name does not start with the host triplet. If you think this
18015 configuration is useful to you, please write to autoconf@gnu.org." >&5
18016 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18017 whose name does not start with the host triplet. If you think this
18018 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18019 ac_tool_warned=yes ;;
18020 esac
18021 CXX=$ac_ct_CXX
18022 fi
18023 fi
18024
18025 fi
18026 fi
18027 # Provide some information about the compiler.
18028 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18029 ac_compiler=`set X $ac_compile; echo $2`
18030 { (ac_try="$ac_compiler --version >&5"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18034 esac
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compiler --version >&5") 2>&5
18037 ac_status=$?
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }
18040 { (ac_try="$ac_compiler -v >&5"
18041 case "(($ac_try" in
18042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18043 *) ac_try_echo=$ac_try;;
18044 esac
18045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18046 (eval "$ac_compiler -v >&5") 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }
18050 { (ac_try="$ac_compiler -V >&5"
18051 case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18054 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_compiler -V >&5") 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }
18060
18061 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18062 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18063 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072
18073 int
18074 main ()
18075 {
18076 #ifndef __GNUC__
18077 choke me
18078 #endif
18079
18080 ;
18081 return 0;
18082 }
18083 _ACEOF
18084 rm -f conftest.$ac_objext
18085 if { (ac_try="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18089 esac
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_cxx_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_compiler_gnu=yes
18102 else
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18105
18106 ac_compiler_gnu=no
18107 fi
18108
18109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18110 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18111
18112 fi
18113 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18114 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18115 GXX=`test $ac_compiler_gnu = yes && echo yes`
18116 ac_test_CXXFLAGS=${CXXFLAGS+set}
18117 ac_save_CXXFLAGS=$CXXFLAGS
18118 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18119 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18120 if test "${ac_cv_prog_cxx_g+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 else
18123 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18124 ac_cxx_werror_flag=yes
18125 ac_cv_prog_cxx_g=no
18126 CXXFLAGS="-g"
18127 cat >conftest.$ac_ext <<_ACEOF
18128 /* confdefs.h. */
18129 _ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18133
18134 int
18135 main ()
18136 {
18137
18138 ;
18139 return 0;
18140 }
18141 _ACEOF
18142 rm -f conftest.$ac_objext
18143 if { (ac_try="$ac_compile"
18144 case "(($ac_try" in
18145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18146 *) ac_try_echo=$ac_try;;
18147 esac
18148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18149 (eval "$ac_compile") 2>conftest.er1
18150 ac_status=$?
18151 grep -v '^ *+' conftest.er1 >conftest.err
18152 rm -f conftest.er1
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } && {
18156 test -z "$ac_cxx_werror_flag" ||
18157 test ! -s conftest.err
18158 } && test -s conftest.$ac_objext; then
18159 ac_cv_prog_cxx_g=yes
18160 else
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18163
18164 CXXFLAGS=""
18165 cat >conftest.$ac_ext <<_ACEOF
18166 /* confdefs.h. */
18167 _ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171
18172 int
18173 main ()
18174 {
18175
18176 ;
18177 return 0;
18178 }
18179 _ACEOF
18180 rm -f conftest.$ac_objext
18181 if { (ac_try="$ac_compile"
18182 case "(($ac_try" in
18183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18184 *) ac_try_echo=$ac_try;;
18185 esac
18186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18187 (eval "$ac_compile") 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && {
18194 test -z "$ac_cxx_werror_flag" ||
18195 test ! -s conftest.err
18196 } && test -s conftest.$ac_objext; then
18197 :
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18203 CXXFLAGS="-g"
18204 cat >conftest.$ac_ext <<_ACEOF
18205 /* confdefs.h. */
18206 _ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210
18211 int
18212 main ()
18213 {
18214
18215 ;
18216 return 0;
18217 }
18218 _ACEOF
18219 rm -f conftest.$ac_objext
18220 if { (ac_try="$ac_compile"
18221 case "(($ac_try" in
18222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18223 *) ac_try_echo=$ac_try;;
18224 esac
18225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18226 (eval "$ac_compile") 2>conftest.er1
18227 ac_status=$?
18228 grep -v '^ *+' conftest.er1 >conftest.err
18229 rm -f conftest.er1
18230 cat conftest.err >&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); } && {
18233 test -z "$ac_cxx_werror_flag" ||
18234 test ! -s conftest.err
18235 } && test -s conftest.$ac_objext; then
18236 ac_cv_prog_cxx_g=yes
18237 else
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241
18242 fi
18243
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18245 fi
18246
18247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18248 fi
18249
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18252 fi
18253 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18254 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18255 if test "$ac_test_CXXFLAGS" = set; then
18256 CXXFLAGS=$ac_save_CXXFLAGS
18257 elif test $ac_cv_prog_cxx_g = yes; then
18258 if test "$GXX" = yes; then
18259 CXXFLAGS="-g -O2"
18260 else
18261 CXXFLAGS="-g"
18262 fi
18263 else
18264 if test "$GXX" = yes; then
18265 CXXFLAGS="-O2"
18266 else
18267 CXXFLAGS=
18268 fi
18269 fi
18270 ac_ext=c
18271 ac_cpp='$CPP $CPPFLAGS'
18272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18275
18276
18277
18278
18279 ac_ext=cpp
18280 ac_cpp='$CXXCPP $CPPFLAGS'
18281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18284
18285 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18286 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18287 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 else
18290 cat >conftest.$ac_ext <<_ACEOF
18291 /* confdefs.h. */
18292 _ACEOF
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18296
18297 int
18298 main ()
18299 {
18300
18301 #ifndef __INTEL_COMPILER
18302 choke me
18303 #endif
18304
18305 ;
18306 return 0;
18307 }
18308 _ACEOF
18309 rm -f conftest.$ac_objext
18310 if { (ac_try="$ac_compile"
18311 case "(($ac_try" in
18312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18313 *) ac_try_echo=$ac_try;;
18314 esac
18315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18316 (eval "$ac_compile") 2>conftest.er1
18317 ac_status=$?
18318 grep -v '^ *+' conftest.er1 >conftest.err
18319 rm -f conftest.er1
18320 cat conftest.err >&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } && {
18323 test -z "$ac_cxx_werror_flag" ||
18324 test ! -s conftest.err
18325 } && test -s conftest.$ac_objext; then
18326 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18332
18333 fi
18334
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336
18337
18338 fi
18339 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18340 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18341 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18342 :; INTELCXX=yes
18343 else
18344 :;
18345 fi
18346 ac_ext=c
18347 ac_cpp='$CPP $CPPFLAGS'
18348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351
18352
18353
18354
18355 if test "x$GCXX" != "xyes"; then
18356 if test "xCXX" = "xC"; then
18357 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18358 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18359 if test "${bakefile_cv_c_exto+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 else
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368
18369 int
18370 main ()
18371 {
18372
18373 ;
18374 return 0;
18375 }
18376 _ACEOF
18377 rm -f conftest.$ac_objext conftest.$ac_ext.o
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>&5
18380 ac_status=$?
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); }; then
18383 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18384 case $ac_file in
18385 conftest.$ac_ext.o)
18386 bakefile_cv_c_exto="-ext o"
18387 ;;
18388 *)
18389 ;;
18390 esac
18391 done
18392 else
18393 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18394 See \`config.log' for more details." >&5
18395 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18396 See \`config.log' for more details." >&2;}
18397 { (exit 1); exit 1; }; }
18398
18399 fi
18400
18401 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18402
18403 fi
18404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18405 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18406 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18407 if test "c" = "c"; then
18408 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18409 fi
18410 if test "c" = "cxx"; then
18411 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18412 fi
18413 fi
18414
18415 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18416 unset ac_cv_prog_cc_g
18417 ac_test_CFLAGS=${CFLAGS+set}
18418 ac_save_CFLAGS=$CFLAGS
18419 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18420 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18421 if test "${ac_cv_prog_cc_g+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 else
18424 ac_save_c_werror_flag=$ac_c_werror_flag
18425 ac_c_werror_flag=yes
18426 ac_cv_prog_cc_g=no
18427 CFLAGS="-g"
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434
18435 int
18436 main ()
18437 {
18438
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_prog_cc_g=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18464
18465 CFLAGS=""
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472
18473 int
18474 main ()
18475 {
18476
18477 ;
18478 return 0;
18479 }
18480 _ACEOF
18481 rm -f conftest.$ac_objext
18482 if { (ac_try="$ac_compile"
18483 case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18485 *) ac_try_echo=$ac_try;;
18486 esac
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_compile") 2>conftest.er1
18489 ac_status=$?
18490 grep -v '^ *+' conftest.er1 >conftest.err
18491 rm -f conftest.er1
18492 cat conftest.err >&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && {
18495 test -z "$ac_c_werror_flag" ||
18496 test ! -s conftest.err
18497 } && test -s conftest.$ac_objext; then
18498 :
18499 else
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.$ac_ext >&5
18502
18503 ac_c_werror_flag=$ac_save_c_werror_flag
18504 CFLAGS="-g"
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511
18512 int
18513 main ()
18514 {
18515
18516 ;
18517 return 0;
18518 }
18519 _ACEOF
18520 rm -f conftest.$ac_objext
18521 if { (ac_try="$ac_compile"
18522 case "(($ac_try" in
18523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18524 *) ac_try_echo=$ac_try;;
18525 esac
18526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18527 (eval "$ac_compile") 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } && {
18534 test -z "$ac_c_werror_flag" ||
18535 test ! -s conftest.err
18536 } && test -s conftest.$ac_objext; then
18537 ac_cv_prog_cc_g=yes
18538 else
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18541
18542
18543 fi
18544
18545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546 fi
18547
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 fi
18550
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552 ac_c_werror_flag=$ac_save_c_werror_flag
18553 fi
18554 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18555 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18556 if test "$ac_test_CFLAGS" = set; then
18557 CFLAGS=$ac_save_CFLAGS
18558 elif test $ac_cv_prog_cc_g = yes; then
18559 if test "$GCC" = yes; then
18560 CFLAGS="-g -O2"
18561 else
18562 CFLAGS="-g"
18563 fi
18564 else
18565 if test "$GCC" = yes; then
18566 CFLAGS="-O2"
18567 else
18568 CFLAGS=
18569 fi
18570 fi
18571 fi
18572 fi
18573
18574 case `uname -s` in
18575 AIX*)
18576
18577
18578 ac_ext=cpp
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18583
18584 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18585 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18586 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 else
18589 cat >conftest.$ac_ext <<_ACEOF
18590 /* confdefs.h. */
18591 _ACEOF
18592 cat confdefs.h >>conftest.$ac_ext
18593 cat >>conftest.$ac_ext <<_ACEOF
18594 /* end confdefs.h. */
18595
18596 int
18597 main ()
18598 {
18599
18600 #ifndef __xlC__
18601 choke me
18602 #endif
18603
18604 ;
18605 return 0;
18606 }
18607 _ACEOF
18608 rm -f conftest.$ac_objext
18609 if { (ac_try="$ac_compile"
18610 case "(($ac_try" in
18611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18612 *) ac_try_echo=$ac_try;;
18613 esac
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_compile") 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_cxx_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest.$ac_objext; then
18625 bakefile_cv_cxx_compiler___xlC__=yes
18626 else
18627 echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18629
18630 bakefile_cv_cxx_compiler___xlC__=no
18631
18632 fi
18633
18634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635
18636
18637 fi
18638 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18639 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18640 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18641 :; XLCXX=yes
18642 else
18643 :;
18644 fi
18645 ac_ext=c
18646 ac_cpp='$CPP $CPPFLAGS'
18647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18650
18651
18652
18653 ;;
18654
18655 Darwin)
18656
18657
18658 ac_ext=cpp
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18663
18664 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18665 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18666 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18668 else
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675
18676 int
18677 main ()
18678 {
18679
18680 #ifndef __MWERKS__
18681 choke me
18682 #endif
18683
18684 ;
18685 return 0;
18686 }
18687 _ACEOF
18688 rm -f conftest.$ac_objext
18689 if { (ac_try="$ac_compile"
18690 case "(($ac_try" in
18691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18693 esac
18694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18695 (eval "$ac_compile") 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } && {
18702 test -z "$ac_cxx_werror_flag" ||
18703 test ! -s conftest.err
18704 } && test -s conftest.$ac_objext; then
18705 bakefile_cv_cxx_compiler___MWERKS__=yes
18706 else
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 bakefile_cv_cxx_compiler___MWERKS__=no
18711
18712 fi
18713
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715
18716
18717 fi
18718 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18719 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18720 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18721 :; MWCXX=yes
18722 else
18723 :;
18724 fi
18725 ac_ext=c
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730
18731
18732
18733
18734
18735 ac_ext=cpp
18736 ac_cpp='$CXXCPP $CPPFLAGS'
18737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18740
18741 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18742 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18743 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18744 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 else
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752
18753 int
18754 main ()
18755 {
18756
18757 #ifndef __xlC__
18758 choke me
18759 #endif
18760
18761 ;
18762 return 0;
18763 }
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18770 esac
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_cxx_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 bakefile_cv_cxx_compiler___xlC__=yes
18783 else
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18786
18787 bakefile_cv_cxx_compiler___xlC__=no
18788
18789 fi
18790
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792
18793
18794 fi
18795 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18796 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18797 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18798 :; XLCXX=yes
18799 else
18800 :;
18801 fi
18802 ac_ext=c
18803 ac_cpp='$CPP $CPPFLAGS'
18804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18807
18808
18809
18810 ;;
18811
18812 IRIX*)
18813
18814
18815 ac_ext=cpp
18816 ac_cpp='$CXXCPP $CPPFLAGS'
18817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18820
18821 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18822 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18823 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18824 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826 cat >conftest.$ac_ext <<_ACEOF
18827 /* confdefs.h. */
18828 _ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832
18833 int
18834 main ()
18835 {
18836
18837 #ifndef _SGI_COMPILER_VERSION
18838 choke me
18839 #endif
18840
18841 ;
18842 return 0;
18843 }
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (ac_try="$ac_compile"
18847 case "(($ac_try" in
18848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18849 *) ac_try_echo=$ac_try;;
18850 esac
18851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18852 (eval "$ac_compile") 2>conftest.er1
18853 ac_status=$?
18854 grep -v '^ *+' conftest.er1 >conftest.err
18855 rm -f conftest.er1
18856 cat conftest.err >&5
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } && {
18859 test -z "$ac_cxx_werror_flag" ||
18860 test ! -s conftest.err
18861 } && test -s conftest.$ac_objext; then
18862 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18863 else
18864 echo "$as_me: failed program was:" >&5
18865 sed 's/^/| /' conftest.$ac_ext >&5
18866
18867 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18868
18869 fi
18870
18871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872
18873
18874 fi
18875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18876 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18877 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18878 :; SGICXX=yes
18879 else
18880 :;
18881 fi
18882 ac_ext=c
18883 ac_cpp='$CPP $CPPFLAGS'
18884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18887
18888
18889
18890 ;;
18891
18892 Linux*)
18893
18894
18895 ac_ext=cpp
18896 ac_cpp='$CXXCPP $CPPFLAGS'
18897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18900
18901 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18902 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18903 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 else
18906 cat >conftest.$ac_ext <<_ACEOF
18907 /* confdefs.h. */
18908 _ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912
18913 int
18914 main ()
18915 {
18916
18917 #ifndef __SUNPRO_CC
18918 choke me
18919 #endif
18920
18921 ;
18922 return 0;
18923 }
18924 _ACEOF
18925 rm -f conftest.$ac_objext
18926 if { (ac_try="$ac_compile"
18927 case "(($ac_try" in
18928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18929 *) ac_try_echo=$ac_try;;
18930 esac
18931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18932 (eval "$ac_compile") 2>conftest.er1
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } && {
18939 test -z "$ac_cxx_werror_flag" ||
18940 test ! -s conftest.err
18941 } && test -s conftest.$ac_objext; then
18942 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18943 else
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18946
18947 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18948
18949 fi
18950
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952
18953
18954 fi
18955 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18956 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18957 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18958 :; SUNCXX=yes
18959 else
18960 :;
18961 fi
18962 ac_ext=c
18963 ac_cpp='$CPP $CPPFLAGS'
18964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18967
18968
18969
18970 ;;
18971
18972 HP-UX*)
18973
18974
18975 ac_ext=cpp
18976 ac_cpp='$CXXCPP $CPPFLAGS'
18977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18980
18981 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18982 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18983 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 else
18986 cat >conftest.$ac_ext <<_ACEOF
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992
18993 int
18994 main ()
18995 {
18996
18997 #ifndef __HP_aCC
18998 choke me
18999 #endif
19000
19001 ;
19002 return 0;
19003 }
19004 _ACEOF
19005 rm -f conftest.$ac_objext
19006 if { (ac_try="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19010 esac
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19013 ac_status=$?
19014 grep -v '^ *+' conftest.er1 >conftest.err
19015 rm -f conftest.er1
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_cxx_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 bakefile_cv_cxx_compiler___HP_aCC=yes
19023 else
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19026
19027 bakefile_cv_cxx_compiler___HP_aCC=no
19028
19029 fi
19030
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032
19033
19034 fi
19035 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19036 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19037 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19038 :; HPCXX=yes
19039 else
19040 :;
19041 fi
19042 ac_ext=c
19043 ac_cpp='$CPP $CPPFLAGS'
19044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19047
19048
19049
19050 ;;
19051
19052 OSF1)
19053
19054
19055 ac_ext=cpp
19056 ac_cpp='$CXXCPP $CPPFLAGS'
19057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19060
19061 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19062 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19063 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19065 else
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072
19073 int
19074 main ()
19075 {
19076
19077 #ifndef __DECCXX
19078 choke me
19079 #endif
19080
19081 ;
19082 return 0;
19083 }
19084 _ACEOF
19085 rm -f conftest.$ac_objext
19086 if { (ac_try="$ac_compile"
19087 case "(($ac_try" in
19088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19089 *) ac_try_echo=$ac_try;;
19090 esac
19091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19092 (eval "$ac_compile") 2>conftest.er1
19093 ac_status=$?
19094 grep -v '^ *+' conftest.er1 >conftest.err
19095 rm -f conftest.er1
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } && {
19099 test -z "$ac_cxx_werror_flag" ||
19100 test ! -s conftest.err
19101 } && test -s conftest.$ac_objext; then
19102 bakefile_cv_cxx_compiler___DECCXX=yes
19103 else
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.$ac_ext >&5
19106
19107 bakefile_cv_cxx_compiler___DECCXX=no
19108
19109 fi
19110
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19112
19113
19114 fi
19115 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19116 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19117 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19118 :; COMPAQCXX=yes
19119 else
19120 :;
19121 fi
19122 ac_ext=c
19123 ac_cpp='$CPP $CPPFLAGS'
19124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19127
19128
19129
19130 ;;
19131
19132 SunOS)
19133
19134
19135 ac_ext=cpp
19136 ac_cpp='$CXXCPP $CPPFLAGS'
19137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19140
19141 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19142 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19143 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h. */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19152
19153 int
19154 main ()
19155 {
19156
19157 #ifndef __SUNPRO_CC
19158 choke me
19159 #endif
19160
19161 ;
19162 return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest.$ac_objext
19166 if { (ac_try="$ac_compile"
19167 case "(($ac_try" in
19168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19170 esac
19171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19172 (eval "$ac_compile") 2>conftest.er1
19173 ac_status=$?
19174 grep -v '^ *+' conftest.er1 >conftest.err
19175 rm -f conftest.er1
19176 cat conftest.err >&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } && {
19179 test -z "$ac_cxx_werror_flag" ||
19180 test ! -s conftest.err
19181 } && test -s conftest.$ac_objext; then
19182 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19188
19189 fi
19190
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192
19193
19194 fi
19195 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19197 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19198 :; SUNCXX=yes
19199 else
19200 :;
19201 fi
19202 ac_ext=c
19203 ac_cpp='$CPP $CPPFLAGS'
19204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19207
19208
19209
19210 ;;
19211 esac
19212 fi
19213
19214
19215
19216 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19217 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19218 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19219 { (exit 1); exit 1; }; }
19220 fi
19221
19222 if test -n "$ac_tool_prefix"; then
19223 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19227 if test "${ac_cv_prog_RANLIB+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 if test -n "$RANLIB"; then
19231 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19232 else
19233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19234 for as_dir in $PATH
19235 do
19236 IFS=$as_save_IFS
19237 test -z "$as_dir" && as_dir=.
19238 for ac_exec_ext in '' $ac_executable_extensions; do
19239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19240 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19242 break 2
19243 fi
19244 done
19245 done
19246 IFS=$as_save_IFS
19247
19248 fi
19249 fi
19250 RANLIB=$ac_cv_prog_RANLIB
19251 if test -n "$RANLIB"; then
19252 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19253 echo "${ECHO_T}$RANLIB" >&6; }
19254 else
19255 { echo "$as_me:$LINENO: result: no" >&5
19256 echo "${ECHO_T}no" >&6; }
19257 fi
19258
19259
19260 fi
19261 if test -z "$ac_cv_prog_RANLIB"; then
19262 ac_ct_RANLIB=$RANLIB
19263 # Extract the first word of "ranlib", so it can be a program name with args.
19264 set dummy ranlib; ac_word=$2
19265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19267 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 else
19270 if test -n "$ac_ct_RANLIB"; then
19271 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19272 else
19273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19274 for as_dir in $PATH
19275 do
19276 IFS=$as_save_IFS
19277 test -z "$as_dir" && as_dir=.
19278 for ac_exec_ext in '' $ac_executable_extensions; do
19279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19280 ac_cv_prog_ac_ct_RANLIB="ranlib"
19281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19282 break 2
19283 fi
19284 done
19285 done
19286 IFS=$as_save_IFS
19287
19288 fi
19289 fi
19290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19291 if test -n "$ac_ct_RANLIB"; then
19292 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19293 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19294 else
19295 { echo "$as_me:$LINENO: result: no" >&5
19296 echo "${ECHO_T}no" >&6; }
19297 fi
19298
19299 if test "x$ac_ct_RANLIB" = x; then
19300 RANLIB=":"
19301 else
19302 case $cross_compiling:$ac_tool_warned in
19303 yes:)
19304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19305 whose name does not start with the host triplet. If you think this
19306 configuration is useful to you, please write to autoconf@gnu.org." >&5
19307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19308 whose name does not start with the host triplet. If you think this
19309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19310 ac_tool_warned=yes ;;
19311 esac
19312 RANLIB=$ac_ct_RANLIB
19313 fi
19314 else
19315 RANLIB="$ac_cv_prog_RANLIB"
19316 fi
19317
19318
19319 if test "x$SUNCXX" != xyes; then
19320 if test -n "$ac_tool_prefix"; then
19321 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19322 set dummy ${ac_tool_prefix}ar; ac_word=$2
19323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19325 if test "${ac_cv_prog_AR+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 if test -n "$AR"; then
19329 ac_cv_prog_AR="$AR" # Let the user override the test.
19330 else
19331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19332 for as_dir in $PATH
19333 do
19334 IFS=$as_save_IFS
19335 test -z "$as_dir" && as_dir=.
19336 for ac_exec_ext in '' $ac_executable_extensions; do
19337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19338 ac_cv_prog_AR="${ac_tool_prefix}ar"
19339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19340 break 2
19341 fi
19342 done
19343 done
19344 IFS=$as_save_IFS
19345
19346 fi
19347 fi
19348 AR=$ac_cv_prog_AR
19349 if test -n "$AR"; then
19350 { echo "$as_me:$LINENO: result: $AR" >&5
19351 echo "${ECHO_T}$AR" >&6; }
19352 else
19353 { echo "$as_me:$LINENO: result: no" >&5
19354 echo "${ECHO_T}no" >&6; }
19355 fi
19356
19357
19358 fi
19359 if test -z "$ac_cv_prog_AR"; then
19360 ac_ct_AR=$AR
19361 # Extract the first word of "ar", so it can be a program name with args.
19362 set dummy ar; ac_word=$2
19363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19365 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19366 echo $ECHO_N "(cached) $ECHO_C" >&6
19367 else
19368 if test -n "$ac_ct_AR"; then
19369 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19370 else
19371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19372 for as_dir in $PATH
19373 do
19374 IFS=$as_save_IFS
19375 test -z "$as_dir" && as_dir=.
19376 for ac_exec_ext in '' $ac_executable_extensions; do
19377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19378 ac_cv_prog_ac_ct_AR="ar"
19379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19380 break 2
19381 fi
19382 done
19383 done
19384 IFS=$as_save_IFS
19385
19386 fi
19387 fi
19388 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19389 if test -n "$ac_ct_AR"; then
19390 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19391 echo "${ECHO_T}$ac_ct_AR" >&6; }
19392 else
19393 { echo "$as_me:$LINENO: result: no" >&5
19394 echo "${ECHO_T}no" >&6; }
19395 fi
19396
19397 if test "x$ac_ct_AR" = x; then
19398 AR=""
19399 else
19400 case $cross_compiling:$ac_tool_warned in
19401 yes:)
19402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19403 whose name does not start with the host triplet. If you think this
19404 configuration is useful to you, please write to autoconf@gnu.org." >&5
19405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19406 whose name does not start with the host triplet. If you think this
19407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19408 ac_tool_warned=yes ;;
19409 esac
19410 AR=$ac_ct_AR
19411 fi
19412 else
19413 AR="$ac_cv_prog_AR"
19414 fi
19415
19416 if test "x$AR" = "x" ; then
19417 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19418 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19419 { (exit 1); exit 1; }; }
19420 fi
19421 fi
19422
19423 # Find a good install program. We prefer a C program (faster),
19424 # so one script is as good as another. But avoid the broken or
19425 # incompatible versions:
19426 # SysV /etc/install, /usr/sbin/install
19427 # SunOS /usr/etc/install
19428 # IRIX /sbin/install
19429 # AIX /bin/install
19430 # AmigaOS /C/install, which installs bootblocks on floppy discs
19431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19434 # OS/2's system install, which has a completely different semantic
19435 # ./install, which can be erroneously created by make from ./install.sh.
19436 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19437 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19438 if test -z "$INSTALL"; then
19439 if test "${ac_cv_path_install+set}" = set; then
19440 echo $ECHO_N "(cached) $ECHO_C" >&6
19441 else
19442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19443 for as_dir in $PATH
19444 do
19445 IFS=$as_save_IFS
19446 test -z "$as_dir" && as_dir=.
19447 # Account for people who put trailing slashes in PATH elements.
19448 case $as_dir/ in
19449 ./ | .// | /cC/* | \
19450 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19451 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19452 /usr/ucb/* ) ;;
19453 *)
19454 # OSF1 and SCO ODT 3.0 have their own names for install.
19455 # Don't use installbsd from OSF since it installs stuff as root
19456 # by default.
19457 for ac_prog in ginstall scoinst install; do
19458 for ac_exec_ext in '' $ac_executable_extensions; do
19459 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19460 if test $ac_prog = install &&
19461 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19462 # AIX install. It has an incompatible calling convention.
19463 :
19464 elif test $ac_prog = install &&
19465 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19466 # program-specific install script used by HP pwplus--don't use.
19467 :
19468 else
19469 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19470 break 3
19471 fi
19472 fi
19473 done
19474 done
19475 ;;
19476 esac
19477 done
19478 IFS=$as_save_IFS
19479
19480
19481 fi
19482 if test "${ac_cv_path_install+set}" = set; then
19483 INSTALL=$ac_cv_path_install
19484 else
19485 # As a last resort, use the slow shell script. Don't cache a
19486 # value for INSTALL within a source directory, because that will
19487 # break other packages using the cache if that directory is
19488 # removed, or if the value is a relative name.
19489 INSTALL=$ac_install_sh
19490 fi
19491 fi
19492 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19493 echo "${ECHO_T}$INSTALL" >&6; }
19494
19495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19496 # It thinks the first close brace ends the variable substitution.
19497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19498
19499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19500
19501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19502
19503
19504 case ${INSTALL} in
19505 /* ) # Absolute
19506 ;;
19507 ?:* ) # Drive letter, considered as absolute.
19508 ;;
19509 *)
19510 INSTALL=`pwd`/${INSTALL} ;;
19511 esac
19512
19513
19514 case "${host}" in
19515
19516 *-*-darwin* )
19517 INSTALL_PROGRAM="cp -fp"
19518 INSTALL_DATA="cp -fp"
19519 ;;
19520 *)
19521 ;;
19522 esac
19523
19524 if test -n "$ac_tool_prefix"; then
19525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19526 set dummy ${ac_tool_prefix}strip; ac_word=$2
19527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19529 if test "${ac_cv_prog_STRIP+set}" = set; then
19530 echo $ECHO_N "(cached) $ECHO_C" >&6
19531 else
19532 if test -n "$STRIP"; then
19533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19534 else
19535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19536 for as_dir in $PATH
19537 do
19538 IFS=$as_save_IFS
19539 test -z "$as_dir" && as_dir=.
19540 for ac_exec_ext in '' $ac_executable_extensions; do
19541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19542 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19544 break 2
19545 fi
19546 done
19547 done
19548 IFS=$as_save_IFS
19549
19550 fi
19551 fi
19552 STRIP=$ac_cv_prog_STRIP
19553 if test -n "$STRIP"; then
19554 { echo "$as_me:$LINENO: result: $STRIP" >&5
19555 echo "${ECHO_T}$STRIP" >&6; }
19556 else
19557 { echo "$as_me:$LINENO: result: no" >&5
19558 echo "${ECHO_T}no" >&6; }
19559 fi
19560
19561
19562 fi
19563 if test -z "$ac_cv_prog_STRIP"; then
19564 ac_ct_STRIP=$STRIP
19565 # Extract the first word of "strip", so it can be a program name with args.
19566 set dummy strip; ac_word=$2
19567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19569 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19570 echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572 if test -n "$ac_ct_STRIP"; then
19573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19574 else
19575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19576 for as_dir in $PATH
19577 do
19578 IFS=$as_save_IFS
19579 test -z "$as_dir" && as_dir=.
19580 for ac_exec_ext in '' $ac_executable_extensions; do
19581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19582 ac_cv_prog_ac_ct_STRIP="strip"
19583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19584 break 2
19585 fi
19586 done
19587 done
19588 IFS=$as_save_IFS
19589
19590 fi
19591 fi
19592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19593 if test -n "$ac_ct_STRIP"; then
19594 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19595 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19596 else
19597 { echo "$as_me:$LINENO: result: no" >&5
19598 echo "${ECHO_T}no" >&6; }
19599 fi
19600
19601 if test "x$ac_ct_STRIP" = x; then
19602 STRIP="true"
19603 else
19604 case $cross_compiling:$ac_tool_warned in
19605 yes:)
19606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19607 whose name does not start with the host triplet. If you think this
19608 configuration is useful to you, please write to autoconf@gnu.org." >&5
19609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19610 whose name does not start with the host triplet. If you think this
19611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19612 ac_tool_warned=yes ;;
19613 esac
19614 STRIP=$ac_ct_STRIP
19615 fi
19616 else
19617 STRIP="$ac_cv_prog_STRIP"
19618 fi
19619
19620
19621 if test "$wxUSE_WINE" = "yes"; then
19622 if test -n "$ac_tool_prefix"; then
19623 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19624 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19627 if test "${ac_cv_prog_WINDRES+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 else
19630 if test -n "$WINDRES"; then
19631 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19632 else
19633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19634 for as_dir in $PATH
19635 do
19636 IFS=$as_save_IFS
19637 test -z "$as_dir" && as_dir=.
19638 for ac_exec_ext in '' $ac_executable_extensions; do
19639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19640 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19642 break 2
19643 fi
19644 done
19645 done
19646 IFS=$as_save_IFS
19647
19648 fi
19649 fi
19650 WINDRES=$ac_cv_prog_WINDRES
19651 if test -n "$WINDRES"; then
19652 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19653 echo "${ECHO_T}$WINDRES" >&6; }
19654 else
19655 { echo "$as_me:$LINENO: result: no" >&5
19656 echo "${ECHO_T}no" >&6; }
19657 fi
19658
19659
19660 fi
19661 if test -z "$ac_cv_prog_WINDRES"; then
19662 ac_ct_WINDRES=$WINDRES
19663 # Extract the first word of "wrc", so it can be a program name with args.
19664 set dummy wrc; ac_word=$2
19665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19667 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670 if test -n "$ac_ct_WINDRES"; then
19671 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19672 else
19673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19674 for as_dir in $PATH
19675 do
19676 IFS=$as_save_IFS
19677 test -z "$as_dir" && as_dir=.
19678 for ac_exec_ext in '' $ac_executable_extensions; do
19679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19680 ac_cv_prog_ac_ct_WINDRES="wrc"
19681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19682 break 2
19683 fi
19684 done
19685 done
19686 IFS=$as_save_IFS
19687
19688 fi
19689 fi
19690 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19691 if test -n "$ac_ct_WINDRES"; then
19692 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19693 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19694 else
19695 { echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6; }
19697 fi
19698
19699 if test "x$ac_ct_WINDRES" = x; then
19700 WINDRES=""
19701 else
19702 case $cross_compiling:$ac_tool_warned in
19703 yes:)
19704 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19705 whose name does not start with the host triplet. If you think this
19706 configuration is useful to you, please write to autoconf@gnu.org." >&5
19707 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19708 whose name does not start with the host triplet. If you think this
19709 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19710 ac_tool_warned=yes ;;
19711 esac
19712 WINDRES=$ac_ct_WINDRES
19713 fi
19714 else
19715 WINDRES="$ac_cv_prog_WINDRES"
19716 fi
19717
19718 RESCOMP="$WINDRES"
19719 else
19720 case "${host}" in
19721 *-*-cygwin* | *-*-mingw32* )
19722 if test -n "$ac_tool_prefix"; then
19723 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19724 set dummy ${ac_tool_prefix}windres; ac_word=$2
19725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19727 if test "${ac_cv_prog_WINDRES+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 else
19730 if test -n "$WINDRES"; then
19731 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19732 else
19733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19734 for as_dir in $PATH
19735 do
19736 IFS=$as_save_IFS
19737 test -z "$as_dir" && as_dir=.
19738 for ac_exec_ext in '' $ac_executable_extensions; do
19739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19740 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19742 break 2
19743 fi
19744 done
19745 done
19746 IFS=$as_save_IFS
19747
19748 fi
19749 fi
19750 WINDRES=$ac_cv_prog_WINDRES
19751 if test -n "$WINDRES"; then
19752 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19753 echo "${ECHO_T}$WINDRES" >&6; }
19754 else
19755 { echo "$as_me:$LINENO: result: no" >&5
19756 echo "${ECHO_T}no" >&6; }
19757 fi
19758
19759
19760 fi
19761 if test -z "$ac_cv_prog_WINDRES"; then
19762 ac_ct_WINDRES=$WINDRES
19763 # Extract the first word of "windres", so it can be a program name with args.
19764 set dummy windres; ac_word=$2
19765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19767 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770 if test -n "$ac_ct_WINDRES"; then
19771 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19772 else
19773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19774 for as_dir in $PATH
19775 do
19776 IFS=$as_save_IFS
19777 test -z "$as_dir" && as_dir=.
19778 for ac_exec_ext in '' $ac_executable_extensions; do
19779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19780 ac_cv_prog_ac_ct_WINDRES="windres"
19781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19782 break 2
19783 fi
19784 done
19785 done
19786 IFS=$as_save_IFS
19787
19788 fi
19789 fi
19790 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19791 if test -n "$ac_ct_WINDRES"; then
19792 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19793 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19794 else
19795 { echo "$as_me:$LINENO: result: no" >&5
19796 echo "${ECHO_T}no" >&6; }
19797 fi
19798
19799 if test "x$ac_ct_WINDRES" = x; then
19800 WINDRES=""
19801 else
19802 case $cross_compiling:$ac_tool_warned in
19803 yes:)
19804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19805 whose name does not start with the host triplet. If you think this
19806 configuration is useful to you, please write to autoconf@gnu.org." >&5
19807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19808 whose name does not start with the host triplet. If you think this
19809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19810 ac_tool_warned=yes ;;
19811 esac
19812 WINDRES=$ac_ct_WINDRES
19813 fi
19814 else
19815 WINDRES="$ac_cv_prog_WINDRES"
19816 fi
19817
19818 RESCOMP="$WINDRES"
19819 if test -n "$ac_tool_prefix"; then
19820 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19821 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19824 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19825 echo $ECHO_N "(cached) $ECHO_C" >&6
19826 else
19827 if test -n "$DLLTOOL"; then
19828 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19829 else
19830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19831 for as_dir in $PATH
19832 do
19833 IFS=$as_save_IFS
19834 test -z "$as_dir" && as_dir=.
19835 for ac_exec_ext in '' $ac_executable_extensions; do
19836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19837 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19839 break 2
19840 fi
19841 done
19842 done
19843 IFS=$as_save_IFS
19844
19845 fi
19846 fi
19847 DLLTOOL=$ac_cv_prog_DLLTOOL
19848 if test -n "$DLLTOOL"; then
19849 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19850 echo "${ECHO_T}$DLLTOOL" >&6; }
19851 else
19852 { echo "$as_me:$LINENO: result: no" >&5
19853 echo "${ECHO_T}no" >&6; }
19854 fi
19855
19856
19857 fi
19858 if test -z "$ac_cv_prog_DLLTOOL"; then
19859 ac_ct_DLLTOOL=$DLLTOOL
19860 # Extract the first word of "dlltool", so it can be a program name with args.
19861 set dummy dlltool; ac_word=$2
19862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19864 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19866 else
19867 if test -n "$ac_ct_DLLTOOL"; then
19868 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19869 else
19870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19871 for as_dir in $PATH
19872 do
19873 IFS=$as_save_IFS
19874 test -z "$as_dir" && as_dir=.
19875 for ac_exec_ext in '' $ac_executable_extensions; do
19876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19877 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19879 break 2
19880 fi
19881 done
19882 done
19883 IFS=$as_save_IFS
19884
19885 fi
19886 fi
19887 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19888 if test -n "$ac_ct_DLLTOOL"; then
19889 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19890 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19891 else
19892 { echo "$as_me:$LINENO: result: no" >&5
19893 echo "${ECHO_T}no" >&6; }
19894 fi
19895
19896 if test "x$ac_ct_DLLTOOL" = x; then
19897 DLLTOOL=""
19898 else
19899 case $cross_compiling:$ac_tool_warned in
19900 yes:)
19901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19902 whose name does not start with the host triplet. If you think this
19903 configuration is useful to you, please write to autoconf@gnu.org." >&5
19904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19905 whose name does not start with the host triplet. If you think this
19906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19907 ac_tool_warned=yes ;;
19908 esac
19909 DLLTOOL=$ac_ct_DLLTOOL
19910 fi
19911 else
19912 DLLTOOL="$ac_cv_prog_DLLTOOL"
19913 fi
19914
19915 ;;
19916 esac
19917 fi
19918
19919 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19920 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19921 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924
19925 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19926 $EGREP -s GNU > /dev/null); then
19927 wx_cv_prog_makeisgnu="yes"
19928 else
19929 wx_cv_prog_makeisgnu="no"
19930 fi
19931
19932 fi
19933 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19934 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19935
19936 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19937 IF_GNU_MAKE=""
19938 else
19939 IF_GNU_MAKE="#"
19940 fi
19941
19942
19943
19944 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19945 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19946 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19947 if test "${wx_cv_prog_makevpath+set}" = set; then
19948 echo $ECHO_N "(cached) $ECHO_C" >&6
19949 else
19950
19951 cat - << EOF > confMake
19952 check : file
19953 cp \$? \$@
19954 cp \$? final_file
19955 EOF
19956
19957 if test ! -d sub ; then
19958 mkdir sub
19959 fi
19960 echo dummy > sub/file
19961 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
19962 RESULT=$?
19963 rm -f sub/file check final_file confMake
19964 rmdir sub
19965 if test "$RESULT" = 0; then
19966 wx_cv_prog_makevpath="yes"
19967 else
19968 wx_cv_prog_makevpath="no"
19969 fi
19970
19971 fi
19972 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
19973 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
19974
19975 if test "x$wx_cv_prog_makevpath" != "xyes"; then
19976 { { echo "$as_me:$LINENO: error:
19977 You need a make-utility that is able to use the variable
19978 VPATH correctly.
19979 If your version of make does not support VPATH correctly,
19980 please install GNU-make (possibly as gmake), and start
19981 configure with the following command:
19982 export MAKE=gmake; ./configure for sh-type shells
19983 setenv MAKE gmake; ./configure for csh-type shells
19984 Also please do remember to use gmake in this case every time
19985 you are trying to compile.
19986 " >&5
19987 echo "$as_me: error:
19988 You need a make-utility that is able to use the variable
19989 VPATH correctly.
19990 If your version of make does not support VPATH correctly,
19991 please install GNU-make (possibly as gmake), and start
19992 configure with the following command:
19993 export MAKE=gmake; ./configure for sh-type shells
19994 setenv MAKE gmake; ./configure for csh-type shells
19995 Also please do remember to use gmake in this case every time
19996 you are trying to compile.
19997 " >&2;}
19998 { (exit 1); exit 1; }; }
19999 fi fi
20000 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20001 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20002 LN_S=$as_ln_s
20003 if test "$LN_S" = "ln -s"; then
20004 { echo "$as_me:$LINENO: result: yes" >&5
20005 echo "${ECHO_T}yes" >&6; }
20006 else
20007 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20008 echo "${ECHO_T}no, using $LN_S" >&6; }
20009 fi
20010
20011
20012
20013
20014 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20015 CXXFLAGS="-qunique $CXXFLAGS"
20016 fi
20017
20018 case "${host}" in
20019 powerpc-*-darwin* )
20020 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20021 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028
20029 int
20030 main ()
20031 {
20032 #ifndef __POWERPC__
20033 choke me for lack of PowerPC
20034 #endif
20035
20036 ;
20037 return 0;
20038 }
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044 *) ac_try_echo=$ac_try;;
20045 esac
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20048 ac_status=$?
20049 grep -v '^ *+' conftest.er1 >conftest.err
20050 rm -f conftest.er1
20051 cat conftest.err >&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.$ac_objext; then
20057 { echo "$as_me:$LINENO: result: yes" >&5
20058 echo "${ECHO_T}yes" >&6; }
20059 else
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20062
20063 { echo "$as_me:$LINENO: result: no" >&5
20064 echo "${ECHO_T}no" >&6; }
20065 cat >>confdefs.h <<\_ACEOF
20066 #define __POWERPC__ 1
20067 _ACEOF
20068
20069
20070 fi
20071
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 ;;
20074 esac
20075
20076 case "${host}" in
20077 *-*-darwin* )
20078 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20079 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20080 cat >conftest.$ac_ext <<_ACEOF
20081 /* confdefs.h. */
20082 _ACEOF
20083 cat confdefs.h >>conftest.$ac_ext
20084 cat >>conftest.$ac_ext <<_ACEOF
20085 /* end confdefs.h. */
20086 #include <CoreFoundation/CFBase.h>
20087
20088 int
20089 main ()
20090 {
20091
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (ac_try="$ac_compile"
20098 case "(($ac_try" in
20099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100 *) ac_try_echo=$ac_try;;
20101 esac
20102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103 (eval "$ac_compile") 2>conftest.er1
20104 ac_status=$?
20105 grep -v '^ *+' conftest.er1 >conftest.err
20106 rm -f conftest.er1
20107 cat conftest.err >&5
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); } && {
20110 test -z "$ac_c_werror_flag" ||
20111 test ! -s conftest.err
20112 } && test -s conftest.$ac_objext; then
20113 { echo "$as_me:$LINENO: result: yes" >&5
20114 echo "${ECHO_T}yes" >&6; }
20115 else
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20118
20119 { echo "$as_me:$LINENO: result: no" >&5
20120 echo "${ECHO_T}no" >&6; }
20121 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20122 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h. */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 #define __CF_USE_FRAMEWORK_INCLUDES__
20130 #include <CoreFoundation/CFBase.h>
20131
20132 int
20133 main ()
20134 {
20135
20136 ;
20137 return 0;
20138 }
20139 _ACEOF
20140 rm -f conftest.$ac_objext
20141 if { (ac_try="$ac_compile"
20142 case "(($ac_try" in
20143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20144 *) ac_try_echo=$ac_try;;
20145 esac
20146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20147 (eval "$ac_compile") 2>conftest.er1
20148 ac_status=$?
20149 grep -v '^ *+' conftest.er1 >conftest.err
20150 rm -f conftest.er1
20151 cat conftest.err >&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); } && {
20154 test -z "$ac_c_werror_flag" ||
20155 test ! -s conftest.err
20156 } && test -s conftest.$ac_objext; then
20157 { echo "$as_me:$LINENO: result: yes" >&5
20158 echo "${ECHO_T}yes" >&6; }
20159 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20160 else
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20163
20164 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20165 See \`config.log' for more details." >&5
20166 echo "$as_me: error: no. CoreFoundation not available.
20167 See \`config.log' for more details." >&2;}
20168 { (exit 1); exit 1; }; }
20169
20170 fi
20171
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173
20174
20175 fi
20176
20177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 ;;
20179 esac
20180
20181 wants_win32=0
20182 doesnt_want_win32=0
20183 case "${host}" in
20184 *-*-cygwin*)
20185 if test "$wxUSE_MSW" = 1 ; then
20186 wants_win32=1
20187 else
20188 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20189 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20190 if test "${wx_cv_nocygwin+set}" = set; then
20191 echo $ECHO_N "(cached) $ECHO_C" >&6
20192 else
20193
20194 cat >conftest.$ac_ext <<_ACEOF
20195 /* confdefs.h. */
20196 _ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200
20201 int
20202 main ()
20203 {
20204
20205 #ifdef __MINGW32__
20206 choke me
20207 #endif
20208
20209 ;
20210 return 0;
20211 }
20212 _ACEOF
20213 rm -f conftest.$ac_objext
20214 if { (ac_try="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20218 esac
20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20221 ac_status=$?
20222 grep -v '^ *+' conftest.er1 >conftest.err
20223 rm -f conftest.er1
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20230 wx_cv_nocygwin=no
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 wx_cv_nocygwin=yes
20236
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240
20241
20242 fi
20243 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20244 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20245
20246 if test "$wx_cv_nocygwin" = "yes"; then
20247 wants_win32=1
20248 else
20249 doesnt_want_win32=1
20250 fi
20251 fi
20252 if test "$wants_win32" = 1 ; then
20253 BAKEFILE_FORCE_PLATFORM=win32
20254 fi
20255 ;;
20256 *-*-mingw*)
20257 wants_win32=1
20258 ;;
20259 esac
20260
20261 if test "$wxUSE_WINE" = "yes"; then
20262 wants_win32=1
20263 LDFLAGS_GUI="-mwindows"
20264 fi
20265
20266 if test "$wants_win32" = 1 ; then
20267 USE_UNIX=0
20268 USE_WIN32=1
20269 cat >>confdefs.h <<\_ACEOF
20270 #define __WIN32__ 1
20271 _ACEOF
20272
20273 cat >>confdefs.h <<\_ACEOF
20274 #define __WIN95__ 1
20275 _ACEOF
20276
20277 cat >>confdefs.h <<\_ACEOF
20278 #define __WINDOWS__ 1
20279 _ACEOF
20280
20281 cat >>confdefs.h <<\_ACEOF
20282 #define __GNUWIN32__ 1
20283 _ACEOF
20284
20285 cat >>confdefs.h <<\_ACEOF
20286 #define STRICT 1
20287 _ACEOF
20288
20289 fi
20290 if test "$doesnt_want_win32" = 1 ; then
20291 USE_UNIX=1
20292 USE_WIN32=0
20293 fi
20294
20295 if test "$USE_UNIX" = 1 ; then
20296 wxUSE_UNIX=yes
20297 cat >>confdefs.h <<\_ACEOF
20298 #define __UNIX__ 1
20299 _ACEOF
20300
20301 fi
20302
20303 case "${host}" in
20304 *-pc-os2_emx | *-pc-os2-emx )
20305 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20306 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20307 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20308 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 ac_check_lib_save_LIBS=$LIBS
20312 LIBS="-lcExt $LIBS"
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319
20320 /* Override any GCC internal prototype to avoid an error.
20321 Use char because int might match the return type of a GCC
20322 builtin and then its argument prototype would still apply. */
20323 #ifdef __cplusplus
20324 extern "C"
20325 #endif
20326 char drand48 ();
20327 int
20328 main ()
20329 {
20330 return drand48 ();
20331 ;
20332 return 0;
20333 }
20334 _ACEOF
20335 rm -f conftest.$ac_objext conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20340 esac
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_c_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest$ac_exeext &&
20352 $as_test_x conftest$ac_exeext; then
20353 ac_cv_lib_cExt_drand48=yes
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20357
20358 ac_cv_lib_cExt_drand48=no
20359 fi
20360
20361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20362 conftest$ac_exeext conftest.$ac_ext
20363 LIBS=$ac_check_lib_save_LIBS
20364 fi
20365 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20366 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20367 if test $ac_cv_lib_cExt_drand48 = yes; then
20368 LIBS="$LIBS -lcExt"
20369 fi
20370
20371 else
20372 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20373 fi
20374 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20375 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20376 if test "${wx_cv_gccversion+set}" = set; then
20377 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 else
20379
20380 if test "$cross_compiling" = yes; then
20381 wx_cv_gccversion="EMX2"
20382
20383 else
20384 cat >conftest.$ac_ext <<_ACEOF
20385 /* confdefs.h. */
20386 _ACEOF
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20390
20391 #include <stdio.h>
20392
20393 int main()
20394 {
20395 FILE *f=fopen("conftestval", "w");
20396 if (!f) exit(1);
20397 fprintf(f,
20398 #if (__GNUC__ < 3)
20399 "EMX2"
20400 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20401 "EMX3"
20402 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20403 "Innotek5"
20404 #else
20405 "Innotek6"
20406 #endif
20407 );
20408 exit(0);
20409 }
20410
20411 _ACEOF
20412 rm -f conftest$ac_exeext
20413 if { (ac_try="$ac_link"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20417 esac
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_link") 2>&5
20420 ac_status=$?
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20423 { (case "(($ac_try" in
20424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20425 *) ac_try_echo=$ac_try;;
20426 esac
20427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20428 (eval "$ac_try") 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 wx_cv_gccversion=`cat conftestval`
20433 else
20434 echo "$as_me: program exited with status $ac_status" >&5
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ( exit $ac_status )
20439 wx_cv_gccversion="EMX2"
20440 fi
20441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20442 fi
20443
20444
20445
20446 fi
20447 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20448 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20449 if test "$wx_cv_gccversion" = "EMX2"; then
20450 LIBS="$LIBS -lstdcpp"
20451 LDFLAGS="$LDFLAGS -Zsysv-signals"
20452 else
20453 if test "$wx_cv_gccversion" = "EMX3"; then
20454 LIBS="$LIBS -lstdcxx -lgcc"
20455 LDFLAGS="$LDFLAGS -Zsysv-signals"
20456 else
20457 LIBS="$LIBS -lstdc++"
20458 fi
20459 fi
20460 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20461 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20462 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20463 wxUSE_OMF=yes
20464 enable_omf=yes
20465 fi
20466 ;;
20467 *)
20468
20469 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20470 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20471 if test "${ac_cv_string_strcasecmp+set}" = set; then
20472 echo $ECHO_N "(cached) $ECHO_C" >&6
20473 else
20474
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481
20482 #include <string.h>
20483
20484 int
20485 main ()
20486 {
20487
20488 strcasecmp("foo", "bar");
20489
20490 ;
20491 return 0;
20492 }
20493 _ACEOF
20494 rm -f conftest.$ac_objext conftest$ac_exeext
20495 if { (ac_try="$ac_link"
20496 case "(($ac_try" in
20497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20498 *) ac_try_echo=$ac_try;;
20499 esac
20500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20501 (eval "$ac_link") 2>conftest.er1
20502 ac_status=$?
20503 grep -v '^ *+' conftest.er1 >conftest.err
20504 rm -f conftest.er1
20505 cat conftest.err >&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } && {
20508 test -z "$ac_c_werror_flag" ||
20509 test ! -s conftest.err
20510 } && test -s conftest$ac_exeext &&
20511 $as_test_x conftest$ac_exeext; then
20512 ac_cv_string_strcasecmp=yes
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 ac_cv_string_strcasecmp=no
20518
20519 fi
20520
20521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20522 conftest$ac_exeext conftest.$ac_ext
20523
20524 fi
20525 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20526 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20527
20528 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20529 cat >>confdefs.h <<\_ACEOF
20530 #define HAVE_STRCASECMP_IN_STRING_H 1
20531 _ACEOF
20532
20533 else
20534 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20535 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20536 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 else
20539
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546
20547 #include <strings.h>
20548
20549 int
20550 main ()
20551 {
20552
20553 strcasecmp("foo", "bar");
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext conftest$ac_exeext
20560 if { (ac_try="$ac_link"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_link") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest$ac_exeext &&
20576 $as_test_x conftest$ac_exeext; then
20577 ac_cv_strings_strcasecmp=yes
20578 else
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20581
20582 ac_cv_strings_strcasecmp=no
20583
20584 fi
20585
20586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20587 conftest$ac_exeext conftest.$ac_ext
20588
20589 fi
20590 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20591 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20592
20593 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20594 cat >>confdefs.h <<\_ACEOF
20595 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20596 _ACEOF
20597
20598 else
20599 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20600 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20601 { (exit 1); exit 1; }; }
20602 fi
20603 fi
20604
20605 ;;
20606 esac
20607
20608
20609 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20610 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20611 if test "${ac_cv_header_stdc+set}" = set; then
20612 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 else
20614 cat >conftest.$ac_ext <<_ACEOF
20615 /* confdefs.h. */
20616 _ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 #include <stdlib.h>
20621 #include <stdarg.h>
20622 #include <string.h>
20623 #include <float.h>
20624
20625 int
20626 main ()
20627 {
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (ac_try="$ac_compile"
20635 case "(($ac_try" in
20636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 *) ac_try_echo=$ac_try;;
20638 esac
20639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 (eval "$ac_compile") 2>conftest.er1
20641 ac_status=$?
20642 grep -v '^ *+' conftest.er1 >conftest.err
20643 rm -f conftest.er1
20644 cat conftest.err >&5
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && {
20647 test -z "$ac_c_werror_flag" ||
20648 test ! -s conftest.err
20649 } && test -s conftest.$ac_objext; then
20650 ac_cv_header_stdc=yes
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_cv_header_stdc=no
20656 fi
20657
20658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659
20660 if test $ac_cv_header_stdc = yes; then
20661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20662 cat >conftest.$ac_ext <<_ACEOF
20663 /* confdefs.h. */
20664 _ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20668 #include <string.h>
20669
20670 _ACEOF
20671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20672 $EGREP "memchr" >/dev/null 2>&1; then
20673 :
20674 else
20675 ac_cv_header_stdc=no
20676 fi
20677 rm -f conftest*
20678
20679 fi
20680
20681 if test $ac_cv_header_stdc = yes; then
20682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20683 cat >conftest.$ac_ext <<_ACEOF
20684 /* confdefs.h. */
20685 _ACEOF
20686 cat confdefs.h >>conftest.$ac_ext
20687 cat >>conftest.$ac_ext <<_ACEOF
20688 /* end confdefs.h. */
20689 #include <stdlib.h>
20690
20691 _ACEOF
20692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20693 $EGREP "free" >/dev/null 2>&1; then
20694 :
20695 else
20696 ac_cv_header_stdc=no
20697 fi
20698 rm -f conftest*
20699
20700 fi
20701
20702 if test $ac_cv_header_stdc = yes; then
20703 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20704 if test "$cross_compiling" = yes; then
20705 :
20706 else
20707 cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h. */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 #include <ctype.h>
20714 #include <stdlib.h>
20715 #if ((' ' & 0x0FF) == 0x020)
20716 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20717 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20718 #else
20719 # define ISLOWER(c) \
20720 (('a' <= (c) && (c) <= 'i') \
20721 || ('j' <= (c) && (c) <= 'r') \
20722 || ('s' <= (c) && (c) <= 'z'))
20723 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20724 #endif
20725
20726 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20727 int
20728 main ()
20729 {
20730 int i;
20731 for (i = 0; i < 256; i++)
20732 if (XOR (islower (i), ISLOWER (i))
20733 || toupper (i) != TOUPPER (i))
20734 return 2;
20735 return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest$ac_exeext
20739 if { (ac_try="$ac_link"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20743 esac
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_link") 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
20755 ac_status=$?
20756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20757 (exit $ac_status); }; }; then
20758 :
20759 else
20760 echo "$as_me: program exited with status $ac_status" >&5
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 ( exit $ac_status )
20765 ac_cv_header_stdc=no
20766 fi
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20768 fi
20769
20770
20771 fi
20772 fi
20773 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20774 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20775 if test $ac_cv_header_stdc = yes; then
20776
20777 cat >>confdefs.h <<\_ACEOF
20778 #define STDC_HEADERS 1
20779 _ACEOF
20780
20781 fi
20782
20783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20794 inttypes.h stdint.h unistd.h
20795 do
20796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20800 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 else
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808 $ac_includes_default
20809
20810 #include <$ac_header>
20811 _ACEOF
20812 rm -f conftest.$ac_objext
20813 if { (ac_try="$ac_compile"
20814 case "(($ac_try" in
20815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20816 *) ac_try_echo=$ac_try;;
20817 esac
20818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20819 (eval "$ac_compile") 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } && {
20826 test -z "$ac_c_werror_flag" ||
20827 test ! -s conftest.err
20828 } && test -s conftest.$ac_objext; then
20829 eval "$as_ac_Header=yes"
20830 else
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20833
20834 eval "$as_ac_Header=no"
20835 fi
20836
20837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20838 fi
20839 ac_res=`eval echo '${'$as_ac_Header'}'`
20840 { echo "$as_me:$LINENO: result: $ac_res" >&5
20841 echo "${ECHO_T}$ac_res" >&6; }
20842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20843 cat >>confdefs.h <<_ACEOF
20844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20845 _ACEOF
20846
20847 fi
20848
20849 done
20850
20851
20852
20853
20854
20855
20856
20857
20858 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20859 do
20860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20863 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 cat >conftest.$ac_ext <<_ACEOF
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 $ac_includes_default
20873
20874 #include <$ac_header>
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 eval "$as_ac_Header=yes"
20894 else
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20897
20898 eval "$as_ac_Header=no"
20899 fi
20900
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20902 fi
20903 ac_res=`eval echo '${'$as_ac_Header'}'`
20904 { echo "$as_me:$LINENO: result: $ac_res" >&5
20905 echo "${ECHO_T}$ac_res" >&6; }
20906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20907 cat >>confdefs.h <<_ACEOF
20908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20909 _ACEOF
20910
20911 fi
20912
20913 done
20914
20915
20916 if test "$ac_cv_header_wchar_h" != "yes"; then
20917 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
20918 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
20919 if test "${ac_cv_header_wcstr_h+set}" = set; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 else
20922 cat >conftest.$ac_ext <<_ACEOF
20923 /* confdefs.h. */
20924 _ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 $ac_includes_default
20929
20930 #include <wcstr.h>
20931 _ACEOF
20932 rm -f conftest.$ac_objext
20933 if { (ac_try="$ac_compile"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20937 esac
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_compile") 2>conftest.er1
20940 ac_status=$?
20941 grep -v '^ *+' conftest.er1 >conftest.err
20942 rm -f conftest.er1
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } && {
20946 test -z "$ac_c_werror_flag" ||
20947 test ! -s conftest.err
20948 } && test -s conftest.$ac_objext; then
20949 ac_cv_header_wcstr_h=yes
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20953
20954 ac_cv_header_wcstr_h=no
20955 fi
20956
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20958 fi
20959 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
20960 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
20961
20962
20963 fi
20964
20965 case "${host}" in
20966 *-pc-os2_emx | *-pc-os2-emx )
20967 if test $ac_cv_header_langinfo_h = "yes" \
20968 -a \( "$wx_cv_gccversion" = "EMX2" \
20969 -o "$wx_cv_gccversion" = "EMX3" \
20970 -o "$wx_cv_gccversion" = "Innotek5" \); then
20971 LIBS="$LIBS -lintl"
20972 fi
20973 ;;
20974 esac
20975
20976 if test "$USE_UNIX" = 1 ; then
20977 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
20978 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
20979 if test "${ac_cv_header_sys_select_h+set}" = set; then
20980 echo $ECHO_N "(cached) $ECHO_C" >&6
20981 else
20982 cat >conftest.$ac_ext <<_ACEOF
20983 /* confdefs.h. */
20984 _ACEOF
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989
20990 #include <sys/select.h>
20991 _ACEOF
20992 rm -f conftest.$ac_objext
20993 if { (ac_try="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20997 esac
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21000 ac_status=$?
21001 grep -v '^ *+' conftest.er1 >conftest.err
21002 rm -f conftest.er1
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21009 ac_cv_header_sys_select_h=yes
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_cv_header_sys_select_h=no
21015 fi
21016
21017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21018 fi
21019 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
21020 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
21021
21022
21023 fi
21024
21025
21026 for ac_header in sys/epoll.h
21027 do
21028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 fi
21035 ac_res=`eval echo '${'$as_ac_Header'}'`
21036 { echo "$as_me:$LINENO: result: $ac_res" >&5
21037 echo "${ECHO_T}$ac_res" >&6; }
21038 else
21039 # Is the header compilable?
21040 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21042 cat >conftest.$ac_ext <<_ACEOF
21043 /* confdefs.h. */
21044 _ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 #include <$ac_header>
21050 _ACEOF
21051 rm -f conftest.$ac_objext
21052 if { (ac_try="$ac_compile"
21053 case "(($ac_try" in
21054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21055 *) ac_try_echo=$ac_try;;
21056 esac
21057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058 (eval "$ac_compile") 2>conftest.er1
21059 ac_status=$?
21060 grep -v '^ *+' conftest.er1 >conftest.err
21061 rm -f conftest.er1
21062 cat conftest.err >&5
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); } && {
21065 test -z "$ac_c_werror_flag" ||
21066 test ! -s conftest.err
21067 } && test -s conftest.$ac_objext; then
21068 ac_header_compiler=yes
21069 else
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.$ac_ext >&5
21072
21073 ac_header_compiler=no
21074 fi
21075
21076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21077 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21078 echo "${ECHO_T}$ac_header_compiler" >&6; }
21079
21080 # Is the header present?
21081 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21083 cat >conftest.$ac_ext <<_ACEOF
21084 /* confdefs.h. */
21085 _ACEOF
21086 cat confdefs.h >>conftest.$ac_ext
21087 cat >>conftest.$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 #include <$ac_header>
21090 _ACEOF
21091 if { (ac_try="$ac_cpp conftest.$ac_ext"
21092 case "(($ac_try" in
21093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21094 *) ac_try_echo=$ac_try;;
21095 esac
21096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21098 ac_status=$?
21099 grep -v '^ *+' conftest.er1 >conftest.err
21100 rm -f conftest.er1
21101 cat conftest.err >&5
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); } >/dev/null && {
21104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21105 test ! -s conftest.err
21106 }; then
21107 ac_header_preproc=yes
21108 else
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21111
21112 ac_header_preproc=no
21113 fi
21114
21115 rm -f conftest.err conftest.$ac_ext
21116 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21117 echo "${ECHO_T}$ac_header_preproc" >&6; }
21118
21119 # So? What about this header?
21120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21121 yes:no: )
21122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21126 ac_header_preproc=yes
21127 ;;
21128 no:yes:* )
21129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21141 ( cat <<\_ASBOX
21142 ## ----------------------------------------- ##
21143 ## Report this to wx-dev@lists.wxwidgets.org ##
21144 ## ----------------------------------------- ##
21145 _ASBOX
21146 ) | sed "s/^/$as_me: WARNING: /" >&2
21147 ;;
21148 esac
21149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21151 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154 eval "$as_ac_Header=\$ac_header_preproc"
21155 fi
21156 ac_res=`eval echo '${'$as_ac_Header'}'`
21157 { echo "$as_me:$LINENO: result: $ac_res" >&5
21158 echo "${ECHO_T}$ac_res" >&6; }
21159
21160 fi
21161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21162 cat >>confdefs.h <<_ACEOF
21163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21164 _ACEOF
21165
21166 fi
21167
21168 done
21169
21170
21171
21172 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21173 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21174 if test "${ac_cv_c_const+set}" = set; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21176 else
21177 cat >conftest.$ac_ext <<_ACEOF
21178 /* confdefs.h. */
21179 _ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183
21184 int
21185 main ()
21186 {
21187 /* FIXME: Include the comments suggested by Paul. */
21188 #ifndef __cplusplus
21189 /* Ultrix mips cc rejects this. */
21190 typedef int charset[2];
21191 const charset cs;
21192 /* SunOS 4.1.1 cc rejects this. */
21193 char const *const *pcpcc;
21194 char **ppc;
21195 /* NEC SVR4.0.2 mips cc rejects this. */
21196 struct point {int x, y;};
21197 static struct point const zero = {0,0};
21198 /* AIX XL C 1.02.0.0 rejects this.
21199 It does not let you subtract one const X* pointer from another in
21200 an arm of an if-expression whose if-part is not a constant
21201 expression */
21202 const char *g = "string";
21203 pcpcc = &g + (g ? g-g : 0);
21204 /* HPUX 7.0 cc rejects these. */
21205 ++pcpcc;
21206 ppc = (char**) pcpcc;
21207 pcpcc = (char const *const *) ppc;
21208 { /* SCO 3.2v4 cc rejects this. */
21209 char *t;
21210 char const *s = 0 ? (char *) 0 : (char const *) 0;
21211
21212 *t++ = 0;
21213 if (s) return 0;
21214 }
21215 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21216 int x[] = {25, 17};
21217 const int *foo = &x[0];
21218 ++foo;
21219 }
21220 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21221 typedef const int *iptr;
21222 iptr p = 0;
21223 ++p;
21224 }
21225 { /* AIX XL C 1.02.0.0 rejects this saying
21226 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21227 struct s { int j; const int *ap[3]; };
21228 struct s *b; b->j = 5;
21229 }
21230 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21231 const int foo = 10;
21232 if (!foo) return 0;
21233 }
21234 return !cs[0] && !zero.x;
21235 #endif
21236
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (ac_try="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21246 esac
21247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248 (eval "$ac_compile") 2>conftest.er1
21249 ac_status=$?
21250 grep -v '^ *+' conftest.er1 >conftest.err
21251 rm -f conftest.er1
21252 cat conftest.err >&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); } && {
21255 test -z "$ac_c_werror_flag" ||
21256 test ! -s conftest.err
21257 } && test -s conftest.$ac_objext; then
21258 ac_cv_c_const=yes
21259 else
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21262
21263 ac_cv_c_const=no
21264 fi
21265
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21267 fi
21268 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21269 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21270 if test $ac_cv_c_const = no; then
21271
21272 cat >>confdefs.h <<\_ACEOF
21273 #define const
21274 _ACEOF
21275
21276 fi
21277
21278 { echo "$as_me:$LINENO: checking for inline" >&5
21279 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21280 if test "${ac_cv_c_inline+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21282 else
21283 ac_cv_c_inline=no
21284 for ac_kw in inline __inline__ __inline; do
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 #ifndef __cplusplus
21292 typedef int foo_t;
21293 static $ac_kw foo_t static_foo () {return 0; }
21294 $ac_kw foo_t foo () {return 0; }
21295 #endif
21296
21297 _ACEOF
21298 rm -f conftest.$ac_objext
21299 if { (ac_try="$ac_compile"
21300 case "(($ac_try" in
21301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21302 *) ac_try_echo=$ac_try;;
21303 esac
21304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21305 (eval "$ac_compile") 2>conftest.er1
21306 ac_status=$?
21307 grep -v '^ *+' conftest.er1 >conftest.err
21308 rm -f conftest.er1
21309 cat conftest.err >&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); } && {
21312 test -z "$ac_c_werror_flag" ||
21313 test ! -s conftest.err
21314 } && test -s conftest.$ac_objext; then
21315 ac_cv_c_inline=$ac_kw
21316 else
21317 echo "$as_me: failed program was:" >&5
21318 sed 's/^/| /' conftest.$ac_ext >&5
21319
21320
21321 fi
21322
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 test "$ac_cv_c_inline" != no && break
21325 done
21326
21327 fi
21328 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21329 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21330
21331
21332 case $ac_cv_c_inline in
21333 inline | yes) ;;
21334 *)
21335 case $ac_cv_c_inline in
21336 no) ac_val=;;
21337 *) ac_val=$ac_cv_c_inline;;
21338 esac
21339 cat >>confdefs.h <<_ACEOF
21340 #ifndef __cplusplus
21341 #define inline $ac_val
21342 #endif
21343 _ACEOF
21344 ;;
21345 esac
21346
21347
21348 { echo "$as_me:$LINENO: checking for short" >&5
21349 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21350 if test "${ac_cv_type_short+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 else
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef short ac__type_new_;
21361 int
21362 main ()
21363 {
21364 if ((ac__type_new_ *) 0)
21365 return 0;
21366 if (sizeof (ac__type_new_))
21367 return 0;
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_cv_type_short=yes
21390 else
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21393
21394 ac_cv_type_short=no
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 fi
21399 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21400 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21401
21402 # The cast to long int works around a bug in the HP C Compiler
21403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21405 # This bug is HP SR number 8606223364.
21406 { echo "$as_me:$LINENO: checking size of short" >&5
21407 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21408 if test "${ac_cv_sizeof_short+set}" = set; then
21409 echo $ECHO_N "(cached) $ECHO_C" >&6
21410 else
21411 if test "$cross_compiling" = yes; then
21412 # Depending upon the size, compute the lo and hi bounds.
21413 cat >conftest.$ac_ext <<_ACEOF
21414 /* confdefs.h. */
21415 _ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21420 typedef short ac__type_sizeof_;
21421 int
21422 main ()
21423 {
21424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21425 test_array [0] = 0
21426
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 rm -f conftest.$ac_objext
21432 if { (ac_try="$ac_compile"
21433 case "(($ac_try" in
21434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21435 *) ac_try_echo=$ac_try;;
21436 esac
21437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21438 (eval "$ac_compile") 2>conftest.er1
21439 ac_status=$?
21440 grep -v '^ *+' conftest.er1 >conftest.err
21441 rm -f conftest.er1
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } && {
21445 test -z "$ac_c_werror_flag" ||
21446 test ! -s conftest.err
21447 } && test -s conftest.$ac_objext; then
21448 ac_lo=0 ac_mid=0
21449 while :; do
21450 cat >conftest.$ac_ext <<_ACEOF
21451 /* confdefs.h. */
21452 _ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h. */
21456 $ac_includes_default
21457 typedef short ac__type_sizeof_;
21458 int
21459 main ()
21460 {
21461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21462 test_array [0] = 0
21463
21464 ;
21465 return 0;
21466 }
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (ac_try="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21473 esac
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21476 ac_status=$?
21477 grep -v '^ *+' conftest.er1 >conftest.err
21478 rm -f conftest.er1
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && {
21482 test -z "$ac_c_werror_flag" ||
21483 test ! -s conftest.err
21484 } && test -s conftest.$ac_objext; then
21485 ac_hi=$ac_mid; break
21486 else
21487 echo "$as_me: failed program was:" >&5
21488 sed 's/^/| /' conftest.$ac_ext >&5
21489
21490 ac_lo=`expr $ac_mid + 1`
21491 if test $ac_lo -le $ac_mid; then
21492 ac_lo= ac_hi=
21493 break
21494 fi
21495 ac_mid=`expr 2 '*' $ac_mid + 1`
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 done
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h. */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 $ac_includes_default
21511 typedef short ac__type_sizeof_;
21512 int
21513 main ()
21514 {
21515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21516 test_array [0] = 0
21517
21518 ;
21519 return 0;
21520 }
21521 _ACEOF
21522 rm -f conftest.$ac_objext
21523 if { (ac_try="$ac_compile"
21524 case "(($ac_try" in
21525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526 *) ac_try_echo=$ac_try;;
21527 esac
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_compile") 2>conftest.er1
21530 ac_status=$?
21531 grep -v '^ *+' conftest.er1 >conftest.err
21532 rm -f conftest.er1
21533 cat conftest.err >&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } && {
21536 test -z "$ac_c_werror_flag" ||
21537 test ! -s conftest.err
21538 } && test -s conftest.$ac_objext; then
21539 ac_hi=-1 ac_mid=-1
21540 while :; do
21541 cat >conftest.$ac_ext <<_ACEOF
21542 /* confdefs.h. */
21543 _ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547 $ac_includes_default
21548 typedef short ac__type_sizeof_;
21549 int
21550 main ()
21551 {
21552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21553 test_array [0] = 0
21554
21555 ;
21556 return 0;
21557 }
21558 _ACEOF
21559 rm -f conftest.$ac_objext
21560 if { (ac_try="$ac_compile"
21561 case "(($ac_try" in
21562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21563 *) ac_try_echo=$ac_try;;
21564 esac
21565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21566 (eval "$ac_compile") 2>conftest.er1
21567 ac_status=$?
21568 grep -v '^ *+' conftest.er1 >conftest.err
21569 rm -f conftest.er1
21570 cat conftest.err >&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } && {
21573 test -z "$ac_c_werror_flag" ||
21574 test ! -s conftest.err
21575 } && test -s conftest.$ac_objext; then
21576 ac_lo=$ac_mid; break
21577 else
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21580
21581 ac_hi=`expr '(' $ac_mid ')' - 1`
21582 if test $ac_mid -le $ac_hi; then
21583 ac_lo= ac_hi=
21584 break
21585 fi
21586 ac_mid=`expr 2 '*' $ac_mid`
21587 fi
21588
21589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21590 done
21591 else
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21594
21595 ac_lo= ac_hi=
21596 fi
21597
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 # Binary search between lo and hi bounds.
21603 while test "x$ac_lo" != "x$ac_hi"; do
21604 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef short ac__type_sizeof_;
21613 int
21614 main ()
21615 {
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21617 test_array [0] = 0
21618
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21628 esac
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21640 ac_hi=$ac_mid
21641 else
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21644
21645 ac_lo=`expr '(' $ac_mid ')' + 1`
21646 fi
21647
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 done
21650 case $ac_lo in
21651 ?*) ac_cv_sizeof_short=$ac_lo;;
21652 '') if test "$ac_cv_type_short" = yes; then
21653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21654 See \`config.log' for more details." >&5
21655 echo "$as_me: error: cannot compute sizeof (short)
21656 See \`config.log' for more details." >&2;}
21657 { (exit 77); exit 77; }; }
21658 else
21659 ac_cv_sizeof_short=0
21660 fi ;;
21661 esac
21662 else
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef short ac__type_sizeof_;
21671 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21672 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21673 #include <stdio.h>
21674 #include <stdlib.h>
21675 int
21676 main ()
21677 {
21678
21679 FILE *f = fopen ("conftest.val", "w");
21680 if (! f)
21681 return 1;
21682 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21683 {
21684 long int i = longval ();
21685 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21686 return 1;
21687 fprintf (f, "%ld\n", i);
21688 }
21689 else
21690 {
21691 unsigned long int i = ulongval ();
21692 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21693 return 1;
21694 fprintf (f, "%lu\n", i);
21695 }
21696 return ferror (f) || fclose (f) != 0;
21697
21698 ;
21699 return 0;
21700 }
21701 _ACEOF
21702 rm -f conftest$ac_exeext
21703 if { (ac_try="$ac_link"
21704 case "(($ac_try" in
21705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706 *) ac_try_echo=$ac_try;;
21707 esac
21708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21709 (eval "$ac_link") 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21713 { (case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21716 esac
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_try") 2>&5
21719 ac_status=$?
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; }; then
21722 ac_cv_sizeof_short=`cat conftest.val`
21723 else
21724 echo "$as_me: program exited with status $ac_status" >&5
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.$ac_ext >&5
21727
21728 ( exit $ac_status )
21729 if test "$ac_cv_type_short" = yes; then
21730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21731 See \`config.log' for more details." >&5
21732 echo "$as_me: error: cannot compute sizeof (short)
21733 See \`config.log' for more details." >&2;}
21734 { (exit 77); exit 77; }; }
21735 else
21736 ac_cv_sizeof_short=0
21737 fi
21738 fi
21739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21740 fi
21741 rm -f conftest.val
21742 fi
21743 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21744 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21745
21746
21747
21748 cat >>confdefs.h <<_ACEOF
21749 #define SIZEOF_SHORT $ac_cv_sizeof_short
21750 _ACEOF
21751
21752
21753 { echo "$as_me:$LINENO: checking for void *" >&5
21754 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21755 if test "${ac_cv_type_void_p+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 $ac_includes_default
21765 typedef void * ac__type_new_;
21766 int
21767 main ()
21768 {
21769 if ((ac__type_new_ *) 0)
21770 return 0;
21771 if (sizeof (ac__type_new_))
21772 return 0;
21773 ;
21774 return 0;
21775 }
21776 _ACEOF
21777 rm -f conftest.$ac_objext
21778 if { (ac_try="$ac_compile"
21779 case "(($ac_try" in
21780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 *) ac_try_echo=$ac_try;;
21782 esac
21783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 (eval "$ac_compile") 2>conftest.er1
21785 ac_status=$?
21786 grep -v '^ *+' conftest.er1 >conftest.err
21787 rm -f conftest.er1
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && {
21791 test -z "$ac_c_werror_flag" ||
21792 test ! -s conftest.err
21793 } && test -s conftest.$ac_objext; then
21794 ac_cv_type_void_p=yes
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_cv_type_void_p=no
21800 fi
21801
21802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21803 fi
21804 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21805 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21806
21807 # The cast to long int works around a bug in the HP C Compiler
21808 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21809 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21810 # This bug is HP SR number 8606223364.
21811 { echo "$as_me:$LINENO: checking size of void *" >&5
21812 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21813 if test "${ac_cv_sizeof_void_p+set}" = set; then
21814 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 else
21816 if test "$cross_compiling" = yes; then
21817 # Depending upon the size, compute the lo and hi bounds.
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 $ac_includes_default
21825 typedef void * ac__type_sizeof_;
21826 int
21827 main ()
21828 {
21829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21830 test_array [0] = 0
21831
21832 ;
21833 return 0;
21834 }
21835 _ACEOF
21836 rm -f conftest.$ac_objext
21837 if { (ac_try="$ac_compile"
21838 case "(($ac_try" in
21839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21841 esac
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_compile") 2>conftest.er1
21844 ac_status=$?
21845 grep -v '^ *+' conftest.er1 >conftest.err
21846 rm -f conftest.er1
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } && {
21850 test -z "$ac_c_werror_flag" ||
21851 test ! -s conftest.err
21852 } && test -s conftest.$ac_objext; then
21853 ac_lo=0 ac_mid=0
21854 while :; do
21855 cat >conftest.$ac_ext <<_ACEOF
21856 /* confdefs.h. */
21857 _ACEOF
21858 cat confdefs.h >>conftest.$ac_ext
21859 cat >>conftest.$ac_ext <<_ACEOF
21860 /* end confdefs.h. */
21861 $ac_includes_default
21862 typedef void * ac__type_sizeof_;
21863 int
21864 main ()
21865 {
21866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21867 test_array [0] = 0
21868
21869 ;
21870 return 0;
21871 }
21872 _ACEOF
21873 rm -f conftest.$ac_objext
21874 if { (ac_try="$ac_compile"
21875 case "(($ac_try" in
21876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21877 *) ac_try_echo=$ac_try;;
21878 esac
21879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21880 (eval "$ac_compile") 2>conftest.er1
21881 ac_status=$?
21882 grep -v '^ *+' conftest.er1 >conftest.err
21883 rm -f conftest.er1
21884 cat conftest.err >&5
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); } && {
21887 test -z "$ac_c_werror_flag" ||
21888 test ! -s conftest.err
21889 } && test -s conftest.$ac_objext; then
21890 ac_hi=$ac_mid; break
21891 else
21892 echo "$as_me: failed program was:" >&5
21893 sed 's/^/| /' conftest.$ac_ext >&5
21894
21895 ac_lo=`expr $ac_mid + 1`
21896 if test $ac_lo -le $ac_mid; then
21897 ac_lo= ac_hi=
21898 break
21899 fi
21900 ac_mid=`expr 2 '*' $ac_mid + 1`
21901 fi
21902
21903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21904 done
21905 else
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21908
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 $ac_includes_default
21916 typedef void * ac__type_sizeof_;
21917 int
21918 main ()
21919 {
21920 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21921 test_array [0] = 0
21922
21923 ;
21924 return 0;
21925 }
21926 _ACEOF
21927 rm -f conftest.$ac_objext
21928 if { (ac_try="$ac_compile"
21929 case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21932 esac
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_compile") 2>conftest.er1
21935 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } && {
21941 test -z "$ac_c_werror_flag" ||
21942 test ! -s conftest.err
21943 } && test -s conftest.$ac_objext; then
21944 ac_hi=-1 ac_mid=-1
21945 while :; do
21946 cat >conftest.$ac_ext <<_ACEOF
21947 /* confdefs.h. */
21948 _ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 $ac_includes_default
21953 typedef void * ac__type_sizeof_;
21954 int
21955 main ()
21956 {
21957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21958 test_array [0] = 0
21959
21960 ;
21961 return 0;
21962 }
21963 _ACEOF
21964 rm -f conftest.$ac_objext
21965 if { (ac_try="$ac_compile"
21966 case "(($ac_try" in
21967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21968 *) ac_try_echo=$ac_try;;
21969 esac
21970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21971 (eval "$ac_compile") 2>conftest.er1
21972 ac_status=$?
21973 grep -v '^ *+' conftest.er1 >conftest.err
21974 rm -f conftest.er1
21975 cat conftest.err >&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); } && {
21978 test -z "$ac_c_werror_flag" ||
21979 test ! -s conftest.err
21980 } && test -s conftest.$ac_objext; then
21981 ac_lo=$ac_mid; break
21982 else
21983 echo "$as_me: failed program was:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21985
21986 ac_hi=`expr '(' $ac_mid ')' - 1`
21987 if test $ac_mid -le $ac_hi; then
21988 ac_lo= ac_hi=
21989 break
21990 fi
21991 ac_mid=`expr 2 '*' $ac_mid`
21992 fi
21993
21994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21995 done
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ac_lo= ac_hi=
22001 fi
22002
22003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004 fi
22005
22006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22007 # Binary search between lo and hi bounds.
22008 while test "x$ac_lo" != "x$ac_hi"; do
22009 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22010 cat >conftest.$ac_ext <<_ACEOF
22011 /* confdefs.h. */
22012 _ACEOF
22013 cat confdefs.h >>conftest.$ac_ext
22014 cat >>conftest.$ac_ext <<_ACEOF
22015 /* end confdefs.h. */
22016 $ac_includes_default
22017 typedef void * ac__type_sizeof_;
22018 int
22019 main ()
22020 {
22021 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22022 test_array [0] = 0
22023
22024 ;
22025 return 0;
22026 }
22027 _ACEOF
22028 rm -f conftest.$ac_objext
22029 if { (ac_try="$ac_compile"
22030 case "(($ac_try" in
22031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22032 *) ac_try_echo=$ac_try;;
22033 esac
22034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22035 (eval "$ac_compile") 2>conftest.er1
22036 ac_status=$?
22037 grep -v '^ *+' conftest.er1 >conftest.err
22038 rm -f conftest.er1
22039 cat conftest.err >&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); } && {
22042 test -z "$ac_c_werror_flag" ||
22043 test ! -s conftest.err
22044 } && test -s conftest.$ac_objext; then
22045 ac_hi=$ac_mid
22046 else
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050 ac_lo=`expr '(' $ac_mid ')' + 1`
22051 fi
22052
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 done
22055 case $ac_lo in
22056 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22057 '') if test "$ac_cv_type_void_p" = yes; then
22058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22059 See \`config.log' for more details." >&5
22060 echo "$as_me: error: cannot compute sizeof (void *)
22061 See \`config.log' for more details." >&2;}
22062 { (exit 77); exit 77; }; }
22063 else
22064 ac_cv_sizeof_void_p=0
22065 fi ;;
22066 esac
22067 else
22068 cat >conftest.$ac_ext <<_ACEOF
22069 /* confdefs.h. */
22070 _ACEOF
22071 cat confdefs.h >>conftest.$ac_ext
22072 cat >>conftest.$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 $ac_includes_default
22075 typedef void * ac__type_sizeof_;
22076 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22077 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22078 #include <stdio.h>
22079 #include <stdlib.h>
22080 int
22081 main ()
22082 {
22083
22084 FILE *f = fopen ("conftest.val", "w");
22085 if (! f)
22086 return 1;
22087 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22088 {
22089 long int i = longval ();
22090 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22091 return 1;
22092 fprintf (f, "%ld\n", i);
22093 }
22094 else
22095 {
22096 unsigned long int i = ulongval ();
22097 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22098 return 1;
22099 fprintf (f, "%lu\n", i);
22100 }
22101 return ferror (f) || fclose (f) != 0;
22102
22103 ;
22104 return 0;
22105 }
22106 _ACEOF
22107 rm -f conftest$ac_exeext
22108 if { (ac_try="$ac_link"
22109 case "(($ac_try" in
22110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22111 *) ac_try_echo=$ac_try;;
22112 esac
22113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22114 (eval "$ac_link") 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22118 { (case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_try") 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_sizeof_void_p=`cat conftest.val`
22128 else
22129 echo "$as_me: program exited with status $ac_status" >&5
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.$ac_ext >&5
22132
22133 ( exit $ac_status )
22134 if test "$ac_cv_type_void_p" = yes; then
22135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22136 See \`config.log' for more details." >&5
22137 echo "$as_me: error: cannot compute sizeof (void *)
22138 See \`config.log' for more details." >&2;}
22139 { (exit 77); exit 77; }; }
22140 else
22141 ac_cv_sizeof_void_p=0
22142 fi
22143 fi
22144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22145 fi
22146 rm -f conftest.val
22147 fi
22148 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22149 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22150
22151
22152
22153 cat >>confdefs.h <<_ACEOF
22154 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22155 _ACEOF
22156
22157
22158 { echo "$as_me:$LINENO: checking for int" >&5
22159 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22160 if test "${ac_cv_type_int+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 cat >conftest.$ac_ext <<_ACEOF
22164 /* confdefs.h. */
22165 _ACEOF
22166 cat confdefs.h >>conftest.$ac_ext
22167 cat >>conftest.$ac_ext <<_ACEOF
22168 /* end confdefs.h. */
22169 $ac_includes_default
22170 typedef int ac__type_new_;
22171 int
22172 main ()
22173 {
22174 if ((ac__type_new_ *) 0)
22175 return 0;
22176 if (sizeof (ac__type_new_))
22177 return 0;
22178 ;
22179 return 0;
22180 }
22181 _ACEOF
22182 rm -f conftest.$ac_objext
22183 if { (ac_try="$ac_compile"
22184 case "(($ac_try" in
22185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22186 *) ac_try_echo=$ac_try;;
22187 esac
22188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22189 (eval "$ac_compile") 2>conftest.er1
22190 ac_status=$?
22191 grep -v '^ *+' conftest.er1 >conftest.err
22192 rm -f conftest.er1
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } && {
22196 test -z "$ac_c_werror_flag" ||
22197 test ! -s conftest.err
22198 } && test -s conftest.$ac_objext; then
22199 ac_cv_type_int=yes
22200 else
22201 echo "$as_me: failed program was:" >&5
22202 sed 's/^/| /' conftest.$ac_ext >&5
22203
22204 ac_cv_type_int=no
22205 fi
22206
22207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22208 fi
22209 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22210 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22211
22212 # The cast to long int works around a bug in the HP C Compiler
22213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22215 # This bug is HP SR number 8606223364.
22216 { echo "$as_me:$LINENO: checking size of int" >&5
22217 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22218 if test "${ac_cv_sizeof_int+set}" = set; then
22219 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 else
22221 if test "$cross_compiling" = yes; then
22222 # Depending upon the size, compute the lo and hi bounds.
22223 cat >conftest.$ac_ext <<_ACEOF
22224 /* confdefs.h. */
22225 _ACEOF
22226 cat confdefs.h >>conftest.$ac_ext
22227 cat >>conftest.$ac_ext <<_ACEOF
22228 /* end confdefs.h. */
22229 $ac_includes_default
22230 typedef int ac__type_sizeof_;
22231 int
22232 main ()
22233 {
22234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22235 test_array [0] = 0
22236
22237 ;
22238 return 0;
22239 }
22240 _ACEOF
22241 rm -f conftest.$ac_objext
22242 if { (ac_try="$ac_compile"
22243 case "(($ac_try" in
22244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22245 *) ac_try_echo=$ac_try;;
22246 esac
22247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22248 (eval "$ac_compile") 2>conftest.er1
22249 ac_status=$?
22250 grep -v '^ *+' conftest.er1 >conftest.err
22251 rm -f conftest.er1
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } && {
22255 test -z "$ac_c_werror_flag" ||
22256 test ! -s conftest.err
22257 } && test -s conftest.$ac_objext; then
22258 ac_lo=0 ac_mid=0
22259 while :; do
22260 cat >conftest.$ac_ext <<_ACEOF
22261 /* confdefs.h. */
22262 _ACEOF
22263 cat confdefs.h >>conftest.$ac_ext
22264 cat >>conftest.$ac_ext <<_ACEOF
22265 /* end confdefs.h. */
22266 $ac_includes_default
22267 typedef int ac__type_sizeof_;
22268 int
22269 main ()
22270 {
22271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22272 test_array [0] = 0
22273
22274 ;
22275 return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22282 *) ac_try_echo=$ac_try;;
22283 esac
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22286 ac_status=$?
22287 grep -v '^ *+' conftest.er1 >conftest.err
22288 rm -f conftest.er1
22289 cat conftest.err >&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.$ac_objext; then
22295 ac_hi=$ac_mid; break
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ac_lo=`expr $ac_mid + 1`
22301 if test $ac_lo -le $ac_mid; then
22302 ac_lo= ac_hi=
22303 break
22304 fi
22305 ac_mid=`expr 2 '*' $ac_mid + 1`
22306 fi
22307
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 done
22310 else
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22313
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h. */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320 $ac_includes_default
22321 typedef int ac__type_sizeof_;
22322 int
22323 main ()
22324 {
22325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22326 test_array [0] = 0
22327
22328 ;
22329 return 0;
22330 }
22331 _ACEOF
22332 rm -f conftest.$ac_objext
22333 if { (ac_try="$ac_compile"
22334 case "(($ac_try" in
22335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22337 esac
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_compile") 2>conftest.er1
22340 ac_status=$?
22341 grep -v '^ *+' conftest.er1 >conftest.err
22342 rm -f conftest.er1
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } && {
22346 test -z "$ac_c_werror_flag" ||
22347 test ! -s conftest.err
22348 } && test -s conftest.$ac_objext; then
22349 ac_hi=-1 ac_mid=-1
22350 while :; do
22351 cat >conftest.$ac_ext <<_ACEOF
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357 $ac_includes_default
22358 typedef int ac__type_sizeof_;
22359 int
22360 main ()
22361 {
22362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22363 test_array [0] = 0
22364
22365 ;
22366 return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest.$ac_objext
22370 if { (ac_try="$ac_compile"
22371 case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373 *) ac_try_echo=$ac_try;;
22374 esac
22375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22376 (eval "$ac_compile") 2>conftest.er1
22377 ac_status=$?
22378 grep -v '^ *+' conftest.er1 >conftest.err
22379 rm -f conftest.er1
22380 cat conftest.err >&5
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22382 (exit $ac_status); } && {
22383 test -z "$ac_c_werror_flag" ||
22384 test ! -s conftest.err
22385 } && test -s conftest.$ac_objext; then
22386 ac_lo=$ac_mid; break
22387 else
22388 echo "$as_me: failed program was:" >&5
22389 sed 's/^/| /' conftest.$ac_ext >&5
22390
22391 ac_hi=`expr '(' $ac_mid ')' - 1`
22392 if test $ac_mid -le $ac_hi; then
22393 ac_lo= ac_hi=
22394 break
22395 fi
22396 ac_mid=`expr 2 '*' $ac_mid`
22397 fi
22398
22399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22400 done
22401 else
22402 echo "$as_me: failed program was:" >&5
22403 sed 's/^/| /' conftest.$ac_ext >&5
22404
22405 ac_lo= ac_hi=
22406 fi
22407
22408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 fi
22410
22411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22412 # Binary search between lo and hi bounds.
22413 while test "x$ac_lo" != "x$ac_hi"; do
22414 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22415 cat >conftest.$ac_ext <<_ACEOF
22416 /* confdefs.h. */
22417 _ACEOF
22418 cat confdefs.h >>conftest.$ac_ext
22419 cat >>conftest.$ac_ext <<_ACEOF
22420 /* end confdefs.h. */
22421 $ac_includes_default
22422 typedef int ac__type_sizeof_;
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (ac_try="$ac_compile"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_compile") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest.$ac_objext; then
22450 ac_hi=$ac_mid
22451 else
22452 echo "$as_me: failed program was:" >&5
22453 sed 's/^/| /' conftest.$ac_ext >&5
22454
22455 ac_lo=`expr '(' $ac_mid ')' + 1`
22456 fi
22457
22458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22459 done
22460 case $ac_lo in
22461 ?*) ac_cv_sizeof_int=$ac_lo;;
22462 '') if test "$ac_cv_type_int" = yes; then
22463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22464 See \`config.log' for more details." >&5
22465 echo "$as_me: error: cannot compute sizeof (int)
22466 See \`config.log' for more details." >&2;}
22467 { (exit 77); exit 77; }; }
22468 else
22469 ac_cv_sizeof_int=0
22470 fi ;;
22471 esac
22472 else
22473 cat >conftest.$ac_ext <<_ACEOF
22474 /* confdefs.h. */
22475 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 $ac_includes_default
22480 typedef int ac__type_sizeof_;
22481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22483 #include <stdio.h>
22484 #include <stdlib.h>
22485 int
22486 main ()
22487 {
22488
22489 FILE *f = fopen ("conftest.val", "w");
22490 if (! f)
22491 return 1;
22492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22493 {
22494 long int i = longval ();
22495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22496 return 1;
22497 fprintf (f, "%ld\n", i);
22498 }
22499 else
22500 {
22501 unsigned long int i = ulongval ();
22502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22503 return 1;
22504 fprintf (f, "%lu\n", i);
22505 }
22506 return ferror (f) || fclose (f) != 0;
22507
22508 ;
22509 return 0;
22510 }
22511 _ACEOF
22512 rm -f conftest$ac_exeext
22513 if { (ac_try="$ac_link"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22517 esac
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_link") 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22523 { (case "(($ac_try" in
22524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22525 *) ac_try_echo=$ac_try;;
22526 esac
22527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22528 (eval "$ac_try") 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; }; then
22532 ac_cv_sizeof_int=`cat conftest.val`
22533 else
22534 echo "$as_me: program exited with status $ac_status" >&5
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.$ac_ext >&5
22537
22538 ( exit $ac_status )
22539 if test "$ac_cv_type_int" = yes; then
22540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22541 See \`config.log' for more details." >&5
22542 echo "$as_me: error: cannot compute sizeof (int)
22543 See \`config.log' for more details." >&2;}
22544 { (exit 77); exit 77; }; }
22545 else
22546 ac_cv_sizeof_int=0
22547 fi
22548 fi
22549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22550 fi
22551 rm -f conftest.val
22552 fi
22553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22554 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22555
22556
22557
22558 cat >>confdefs.h <<_ACEOF
22559 #define SIZEOF_INT $ac_cv_sizeof_int
22560 _ACEOF
22561
22562
22563 { echo "$as_me:$LINENO: checking for long" >&5
22564 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22565 if test "${ac_cv_type_long+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 else
22568 cat >conftest.$ac_ext <<_ACEOF
22569 /* confdefs.h. */
22570 _ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long ac__type_new_;
22576 int
22577 main ()
22578 {
22579 if ((ac__type_new_ *) 0)
22580 return 0;
22581 if (sizeof (ac__type_new_))
22582 return 0;
22583 ;
22584 return 0;
22585 }
22586 _ACEOF
22587 rm -f conftest.$ac_objext
22588 if { (ac_try="$ac_compile"
22589 case "(($ac_try" in
22590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22591 *) ac_try_echo=$ac_try;;
22592 esac
22593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22594 (eval "$ac_compile") 2>conftest.er1
22595 ac_status=$?
22596 grep -v '^ *+' conftest.er1 >conftest.err
22597 rm -f conftest.er1
22598 cat conftest.err >&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } && {
22601 test -z "$ac_c_werror_flag" ||
22602 test ! -s conftest.err
22603 } && test -s conftest.$ac_objext; then
22604 ac_cv_type_long=yes
22605 else
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22608
22609 ac_cv_type_long=no
22610 fi
22611
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 fi
22614 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22615 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22616
22617 # The cast to long int works around a bug in the HP C Compiler
22618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22620 # This bug is HP SR number 8606223364.
22621 { echo "$as_me:$LINENO: checking size of long" >&5
22622 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22623 if test "${ac_cv_sizeof_long+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22626 if test "$cross_compiling" = yes; then
22627 # Depending upon the size, compute the lo and hi bounds.
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 $ac_includes_default
22635 typedef long ac__type_sizeof_;
22636 int
22637 main ()
22638 {
22639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22640 test_array [0] = 0
22641
22642 ;
22643 return 0;
22644 }
22645 _ACEOF
22646 rm -f conftest.$ac_objext
22647 if { (ac_try="$ac_compile"
22648 case "(($ac_try" in
22649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22650 *) ac_try_echo=$ac_try;;
22651 esac
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_compile") 2>conftest.er1
22654 ac_status=$?
22655 grep -v '^ *+' conftest.er1 >conftest.err
22656 rm -f conftest.er1
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && {
22660 test -z "$ac_c_werror_flag" ||
22661 test ! -s conftest.err
22662 } && test -s conftest.$ac_objext; then
22663 ac_lo=0 ac_mid=0
22664 while :; do
22665 cat >conftest.$ac_ext <<_ACEOF
22666 /* confdefs.h. */
22667 _ACEOF
22668 cat confdefs.h >>conftest.$ac_ext
22669 cat >>conftest.$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671 $ac_includes_default
22672 typedef long ac__type_sizeof_;
22673 int
22674 main ()
22675 {
22676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22677 test_array [0] = 0
22678
22679 ;
22680 return 0;
22681 }
22682 _ACEOF
22683 rm -f conftest.$ac_objext
22684 if { (ac_try="$ac_compile"
22685 case "(($ac_try" in
22686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22687 *) ac_try_echo=$ac_try;;
22688 esac
22689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22690 (eval "$ac_compile") 2>conftest.er1
22691 ac_status=$?
22692 grep -v '^ *+' conftest.er1 >conftest.err
22693 rm -f conftest.er1
22694 cat conftest.err >&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } && {
22697 test -z "$ac_c_werror_flag" ||
22698 test ! -s conftest.err
22699 } && test -s conftest.$ac_objext; then
22700 ac_hi=$ac_mid; break
22701 else
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22704
22705 ac_lo=`expr $ac_mid + 1`
22706 if test $ac_lo -le $ac_mid; then
22707 ac_lo= ac_hi=
22708 break
22709 fi
22710 ac_mid=`expr 2 '*' $ac_mid + 1`
22711 fi
22712
22713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22714 done
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 $ac_includes_default
22726 typedef long ac__type_sizeof_;
22727 int
22728 main ()
22729 {
22730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22731 test_array [0] = 0
22732
22733 ;
22734 return 0;
22735 }
22736 _ACEOF
22737 rm -f conftest.$ac_objext
22738 if { (ac_try="$ac_compile"
22739 case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22742 esac
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_compile") 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && {
22751 test -z "$ac_c_werror_flag" ||
22752 test ! -s conftest.err
22753 } && test -s conftest.$ac_objext; then
22754 ac_hi=-1 ac_mid=-1
22755 while :; do
22756 cat >conftest.$ac_ext <<_ACEOF
22757 /* confdefs.h. */
22758 _ACEOF
22759 cat confdefs.h >>conftest.$ac_ext
22760 cat >>conftest.$ac_ext <<_ACEOF
22761 /* end confdefs.h. */
22762 $ac_includes_default
22763 typedef long ac__type_sizeof_;
22764 int
22765 main ()
22766 {
22767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22768 test_array [0] = 0
22769
22770 ;
22771 return 0;
22772 }
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (ac_try="$ac_compile"
22776 case "(($ac_try" in
22777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22778 *) ac_try_echo=$ac_try;;
22779 esac
22780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22781 (eval "$ac_compile") 2>conftest.er1
22782 ac_status=$?
22783 grep -v '^ *+' conftest.er1 >conftest.err
22784 rm -f conftest.er1
22785 cat conftest.err >&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } && {
22788 test -z "$ac_c_werror_flag" ||
22789 test ! -s conftest.err
22790 } && test -s conftest.$ac_objext; then
22791 ac_lo=$ac_mid; break
22792 else
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22795
22796 ac_hi=`expr '(' $ac_mid ')' - 1`
22797 if test $ac_mid -le $ac_hi; then
22798 ac_lo= ac_hi=
22799 break
22800 fi
22801 ac_mid=`expr 2 '*' $ac_mid`
22802 fi
22803
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 done
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 ac_lo= ac_hi=
22811 fi
22812
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 fi
22815
22816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22817 # Binary search between lo and hi bounds.
22818 while test "x$ac_lo" != "x$ac_hi"; do
22819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 $ac_includes_default
22827 typedef long ac__type_sizeof_;
22828 int
22829 main ()
22830 {
22831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22832 test_array [0] = 0
22833
22834 ;
22835 return 0;
22836 }
22837 _ACEOF
22838 rm -f conftest.$ac_objext
22839 if { (ac_try="$ac_compile"
22840 case "(($ac_try" in
22841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22842 *) ac_try_echo=$ac_try;;
22843 esac
22844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845 (eval "$ac_compile") 2>conftest.er1
22846 ac_status=$?
22847 grep -v '^ *+' conftest.er1 >conftest.err
22848 rm -f conftest.er1
22849 cat conftest.err >&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } && {
22852 test -z "$ac_c_werror_flag" ||
22853 test ! -s conftest.err
22854 } && test -s conftest.$ac_objext; then
22855 ac_hi=$ac_mid
22856 else
22857 echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22859
22860 ac_lo=`expr '(' $ac_mid ')' + 1`
22861 fi
22862
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22864 done
22865 case $ac_lo in
22866 ?*) ac_cv_sizeof_long=$ac_lo;;
22867 '') if test "$ac_cv_type_long" = yes; then
22868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22869 See \`config.log' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (long)
22871 See \`config.log' for more details." >&2;}
22872 { (exit 77); exit 77; }; }
22873 else
22874 ac_cv_sizeof_long=0
22875 fi ;;
22876 esac
22877 else
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 $ac_includes_default
22885 typedef long ac__type_sizeof_;
22886 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22887 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22888 #include <stdio.h>
22889 #include <stdlib.h>
22890 int
22891 main ()
22892 {
22893
22894 FILE *f = fopen ("conftest.val", "w");
22895 if (! f)
22896 return 1;
22897 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22898 {
22899 long int i = longval ();
22900 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22901 return 1;
22902 fprintf (f, "%ld\n", i);
22903 }
22904 else
22905 {
22906 unsigned long int i = ulongval ();
22907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22908 return 1;
22909 fprintf (f, "%lu\n", i);
22910 }
22911 return ferror (f) || fclose (f) != 0;
22912
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 rm -f conftest$ac_exeext
22918 if { (ac_try="$ac_link"
22919 case "(($ac_try" in
22920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22921 *) ac_try_echo=$ac_try;;
22922 esac
22923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22924 (eval "$ac_link") 2>&5
22925 ac_status=$?
22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22928 { (case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22931 esac
22932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_try") 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_cv_sizeof_long=`cat conftest.val`
22938 else
22939 echo "$as_me: program exited with status $ac_status" >&5
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22942
22943 ( exit $ac_status )
22944 if test "$ac_cv_type_long" = yes; then
22945 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22946 See \`config.log' for more details." >&5
22947 echo "$as_me: error: cannot compute sizeof (long)
22948 See \`config.log' for more details." >&2;}
22949 { (exit 77); exit 77; }; }
22950 else
22951 ac_cv_sizeof_long=0
22952 fi
22953 fi
22954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22955 fi
22956 rm -f conftest.val
22957 fi
22958 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22959 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22960
22961
22962
22963 cat >>confdefs.h <<_ACEOF
22964 #define SIZEOF_LONG $ac_cv_sizeof_long
22965 _ACEOF
22966
22967
22968 { echo "$as_me:$LINENO: checking for size_t" >&5
22969 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22970 if test "${ac_cv_type_size_t+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973 cat >conftest.$ac_ext <<_ACEOF
22974 /* confdefs.h. */
22975 _ACEOF
22976 cat confdefs.h >>conftest.$ac_ext
22977 cat >>conftest.$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 $ac_includes_default
22980 typedef size_t ac__type_new_;
22981 int
22982 main ()
22983 {
22984 if ((ac__type_new_ *) 0)
22985 return 0;
22986 if (sizeof (ac__type_new_))
22987 return 0;
22988 ;
22989 return 0;
22990 }
22991 _ACEOF
22992 rm -f conftest.$ac_objext
22993 if { (ac_try="$ac_compile"
22994 case "(($ac_try" in
22995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22996 *) ac_try_echo=$ac_try;;
22997 esac
22998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22999 (eval "$ac_compile") 2>conftest.er1
23000 ac_status=$?
23001 grep -v '^ *+' conftest.er1 >conftest.err
23002 rm -f conftest.er1
23003 cat conftest.err >&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); } && {
23006 test -z "$ac_c_werror_flag" ||
23007 test ! -s conftest.err
23008 } && test -s conftest.$ac_objext; then
23009 ac_cv_type_size_t=yes
23010 else
23011 echo "$as_me: failed program was:" >&5
23012 sed 's/^/| /' conftest.$ac_ext >&5
23013
23014 ac_cv_type_size_t=no
23015 fi
23016
23017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23018 fi
23019 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23020 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23021
23022 # The cast to long int works around a bug in the HP C Compiler
23023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23025 # This bug is HP SR number 8606223364.
23026 { echo "$as_me:$LINENO: checking size of size_t" >&5
23027 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23028 if test "${ac_cv_sizeof_size_t+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 else
23031 if test "$cross_compiling" = yes; then
23032 # Depending upon the size, compute the lo and hi bounds.
23033 cat >conftest.$ac_ext <<_ACEOF
23034 /* confdefs.h. */
23035 _ACEOF
23036 cat confdefs.h >>conftest.$ac_ext
23037 cat >>conftest.$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23039 $ac_includes_default
23040 typedef size_t ac__type_sizeof_;
23041 int
23042 main ()
23043 {
23044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23045 test_array [0] = 0
23046
23047 ;
23048 return 0;
23049 }
23050 _ACEOF
23051 rm -f conftest.$ac_objext
23052 if { (ac_try="$ac_compile"
23053 case "(($ac_try" in
23054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23055 *) ac_try_echo=$ac_try;;
23056 esac
23057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23058 (eval "$ac_compile") 2>conftest.er1
23059 ac_status=$?
23060 grep -v '^ *+' conftest.er1 >conftest.err
23061 rm -f conftest.er1
23062 cat conftest.err >&5
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); } && {
23065 test -z "$ac_c_werror_flag" ||
23066 test ! -s conftest.err
23067 } && test -s conftest.$ac_objext; then
23068 ac_lo=0 ac_mid=0
23069 while :; do
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 $ac_includes_default
23077 typedef size_t ac__type_sizeof_;
23078 int
23079 main ()
23080 {
23081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23082 test_array [0] = 0
23083
23084 ;
23085 return 0;
23086 }
23087 _ACEOF
23088 rm -f conftest.$ac_objext
23089 if { (ac_try="$ac_compile"
23090 case "(($ac_try" in
23091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23092 *) ac_try_echo=$ac_try;;
23093 esac
23094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095 (eval "$ac_compile") 2>conftest.er1
23096 ac_status=$?
23097 grep -v '^ *+' conftest.er1 >conftest.err
23098 rm -f conftest.er1
23099 cat conftest.err >&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } && {
23102 test -z "$ac_c_werror_flag" ||
23103 test ! -s conftest.err
23104 } && test -s conftest.$ac_objext; then
23105 ac_hi=$ac_mid; break
23106 else
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23109
23110 ac_lo=`expr $ac_mid + 1`
23111 if test $ac_lo -le $ac_mid; then
23112 ac_lo= ac_hi=
23113 break
23114 fi
23115 ac_mid=`expr 2 '*' $ac_mid + 1`
23116 fi
23117
23118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 done
23120 else
23121 echo "$as_me: failed program was:" >&5
23122 sed 's/^/| /' conftest.$ac_ext >&5
23123
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 $ac_includes_default
23131 typedef size_t ac__type_sizeof_;
23132 int
23133 main ()
23134 {
23135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23136 test_array [0] = 0
23137
23138 ;
23139 return 0;
23140 }
23141 _ACEOF
23142 rm -f conftest.$ac_objext
23143 if { (ac_try="$ac_compile"
23144 case "(($ac_try" in
23145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23146 *) ac_try_echo=$ac_try;;
23147 esac
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_compile") 2>conftest.er1
23150 ac_status=$?
23151 grep -v '^ *+' conftest.er1 >conftest.err
23152 rm -f conftest.er1
23153 cat conftest.err >&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } && {
23156 test -z "$ac_c_werror_flag" ||
23157 test ! -s conftest.err
23158 } && test -s conftest.$ac_objext; then
23159 ac_hi=-1 ac_mid=-1
23160 while :; do
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167 $ac_includes_default
23168 typedef size_t ac__type_sizeof_;
23169 int
23170 main ()
23171 {
23172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23173 test_array [0] = 0
23174
23175 ;
23176 return 0;
23177 }
23178 _ACEOF
23179 rm -f conftest.$ac_objext
23180 if { (ac_try="$ac_compile"
23181 case "(($ac_try" in
23182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23183 *) ac_try_echo=$ac_try;;
23184 esac
23185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23186 (eval "$ac_compile") 2>conftest.er1
23187 ac_status=$?
23188 grep -v '^ *+' conftest.er1 >conftest.err
23189 rm -f conftest.er1
23190 cat conftest.err >&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } && {
23193 test -z "$ac_c_werror_flag" ||
23194 test ! -s conftest.err
23195 } && test -s conftest.$ac_objext; then
23196 ac_lo=$ac_mid; break
23197 else
23198 echo "$as_me: failed program was:" >&5
23199 sed 's/^/| /' conftest.$ac_ext >&5
23200
23201 ac_hi=`expr '(' $ac_mid ')' - 1`
23202 if test $ac_mid -le $ac_hi; then
23203 ac_lo= ac_hi=
23204 break
23205 fi
23206 ac_mid=`expr 2 '*' $ac_mid`
23207 fi
23208
23209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23210 done
23211 else
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.$ac_ext >&5
23214
23215 ac_lo= ac_hi=
23216 fi
23217
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23219 fi
23220
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 # Binary search between lo and hi bounds.
23223 while test "x$ac_lo" != "x$ac_hi"; do
23224 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23225 cat >conftest.$ac_ext <<_ACEOF
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23232 typedef size_t ac__type_sizeof_;
23233 int
23234 main ()
23235 {
23236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23237 test_array [0] = 0
23238
23239 ;
23240 return 0;
23241 }
23242 _ACEOF
23243 rm -f conftest.$ac_objext
23244 if { (ac_try="$ac_compile"
23245 case "(($ac_try" in
23246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23247 *) ac_try_echo=$ac_try;;
23248 esac
23249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23250 (eval "$ac_compile") 2>conftest.er1
23251 ac_status=$?
23252 grep -v '^ *+' conftest.er1 >conftest.err
23253 rm -f conftest.er1
23254 cat conftest.err >&5
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); } && {
23257 test -z "$ac_c_werror_flag" ||
23258 test ! -s conftest.err
23259 } && test -s conftest.$ac_objext; then
23260 ac_hi=$ac_mid
23261 else
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.$ac_ext >&5
23264
23265 ac_lo=`expr '(' $ac_mid ')' + 1`
23266 fi
23267
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269 done
23270 case $ac_lo in
23271 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23272 '') if test "$ac_cv_type_size_t" = yes; then
23273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23274 See \`config.log' for more details." >&5
23275 echo "$as_me: error: cannot compute sizeof (size_t)
23276 See \`config.log' for more details." >&2;}
23277 { (exit 77); exit 77; }; }
23278 else
23279 ac_cv_sizeof_size_t=0
23280 fi ;;
23281 esac
23282 else
23283 cat >conftest.$ac_ext <<_ACEOF
23284 /* confdefs.h. */
23285 _ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 $ac_includes_default
23290 typedef size_t ac__type_sizeof_;
23291 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23292 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23293 #include <stdio.h>
23294 #include <stdlib.h>
23295 int
23296 main ()
23297 {
23298
23299 FILE *f = fopen ("conftest.val", "w");
23300 if (! f)
23301 return 1;
23302 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23303 {
23304 long int i = longval ();
23305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23306 return 1;
23307 fprintf (f, "%ld\n", i);
23308 }
23309 else
23310 {
23311 unsigned long int i = ulongval ();
23312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23313 return 1;
23314 fprintf (f, "%lu\n", i);
23315 }
23316 return ferror (f) || fclose (f) != 0;
23317
23318 ;
23319 return 0;
23320 }
23321 _ACEOF
23322 rm -f conftest$ac_exeext
23323 if { (ac_try="$ac_link"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23327 esac
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_link") 2>&5
23330 ac_status=$?
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23333 { (case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23336 esac
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_try") 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; }; then
23342 ac_cv_sizeof_size_t=`cat conftest.val`
23343 else
23344 echo "$as_me: program exited with status $ac_status" >&5
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23347
23348 ( exit $ac_status )
23349 if test "$ac_cv_type_size_t" = yes; then
23350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23351 See \`config.log' for more details." >&5
23352 echo "$as_me: error: cannot compute sizeof (size_t)
23353 See \`config.log' for more details." >&2;}
23354 { (exit 77); exit 77; }; }
23355 else
23356 ac_cv_sizeof_size_t=0
23357 fi
23358 fi
23359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23360 fi
23361 rm -f conftest.val
23362 fi
23363 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23364 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23365
23366
23367
23368 cat >>confdefs.h <<_ACEOF
23369 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23370 _ACEOF
23371
23372
23373
23374 case "${host}" in
23375 arm-*-linux* )
23376 { echo "$as_me:$LINENO: checking for long long" >&5
23377 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23378 if test "${ac_cv_type_long_long+set}" = set; then
23379 echo $ECHO_N "(cached) $ECHO_C" >&6
23380 else
23381 cat >conftest.$ac_ext <<_ACEOF
23382 /* confdefs.h. */
23383 _ACEOF
23384 cat confdefs.h >>conftest.$ac_ext
23385 cat >>conftest.$ac_ext <<_ACEOF
23386 /* end confdefs.h. */
23387 $ac_includes_default
23388 typedef long long ac__type_new_;
23389 int
23390 main ()
23391 {
23392 if ((ac__type_new_ *) 0)
23393 return 0;
23394 if (sizeof (ac__type_new_))
23395 return 0;
23396 ;
23397 return 0;
23398 }
23399 _ACEOF
23400 rm -f conftest.$ac_objext
23401 if { (ac_try="$ac_compile"
23402 case "(($ac_try" in
23403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23404 *) ac_try_echo=$ac_try;;
23405 esac
23406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23407 (eval "$ac_compile") 2>conftest.er1
23408 ac_status=$?
23409 grep -v '^ *+' conftest.er1 >conftest.err
23410 rm -f conftest.er1
23411 cat conftest.err >&5
23412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } && {
23414 test -z "$ac_c_werror_flag" ||
23415 test ! -s conftest.err
23416 } && test -s conftest.$ac_objext; then
23417 ac_cv_type_long_long=yes
23418 else
23419 echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.$ac_ext >&5
23421
23422 ac_cv_type_long_long=no
23423 fi
23424
23425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23426 fi
23427 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23428 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23429
23430 # The cast to long int works around a bug in the HP C Compiler
23431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23433 # This bug is HP SR number 8606223364.
23434 { echo "$as_me:$LINENO: checking size of long long" >&5
23435 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23436 if test "${ac_cv_sizeof_long_long+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 else
23439 if test "$cross_compiling" = yes; then
23440 # Depending upon the size, compute the lo and hi bounds.
23441 cat >conftest.$ac_ext <<_ACEOF
23442 /* confdefs.h. */
23443 _ACEOF
23444 cat confdefs.h >>conftest.$ac_ext
23445 cat >>conftest.$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23447 $ac_includes_default
23448 typedef long long ac__type_sizeof_;
23449 int
23450 main ()
23451 {
23452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23453 test_array [0] = 0
23454
23455 ;
23456 return 0;
23457 }
23458 _ACEOF
23459 rm -f conftest.$ac_objext
23460 if { (ac_try="$ac_compile"
23461 case "(($ac_try" in
23462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23463 *) ac_try_echo=$ac_try;;
23464 esac
23465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23466 (eval "$ac_compile") 2>conftest.er1
23467 ac_status=$?
23468 grep -v '^ *+' conftest.er1 >conftest.err
23469 rm -f conftest.er1
23470 cat conftest.err >&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } && {
23473 test -z "$ac_c_werror_flag" ||
23474 test ! -s conftest.err
23475 } && test -s conftest.$ac_objext; then
23476 ac_lo=0 ac_mid=0
23477 while :; do
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23486 int
23487 main ()
23488 {
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23490 test_array [0] = 0
23491
23492 ;
23493 return 0;
23494 }
23495 _ACEOF
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23501 esac
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23504 ac_status=$?
23505 grep -v '^ *+' conftest.er1 >conftest.err
23506 rm -f conftest.er1
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23513 ac_hi=$ac_mid; break
23514 else
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23517
23518 ac_lo=`expr $ac_mid + 1`
23519 if test $ac_lo -le $ac_mid; then
23520 ac_lo= ac_hi=
23521 break
23522 fi
23523 ac_mid=`expr 2 '*' $ac_mid + 1`
23524 fi
23525
23526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23527 done
23528 else
23529 echo "$as_me: failed program was:" >&5
23530 sed 's/^/| /' conftest.$ac_ext >&5
23531
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 $ac_includes_default
23539 typedef long long ac__type_sizeof_;
23540 int
23541 main ()
23542 {
23543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23544 test_array [0] = 0
23545
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23555 esac
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23558 ac_status=$?
23559 grep -v '^ *+' conftest.er1 >conftest.err
23560 rm -f conftest.er1
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_c_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23567 ac_hi=-1 ac_mid=-1
23568 while :; do
23569 cat >conftest.$ac_ext <<_ACEOF
23570 /* confdefs.h. */
23571 _ACEOF
23572 cat confdefs.h >>conftest.$ac_ext
23573 cat >>conftest.$ac_ext <<_ACEOF
23574 /* end confdefs.h. */
23575 $ac_includes_default
23576 typedef long long ac__type_sizeof_;
23577 int
23578 main ()
23579 {
23580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23581 test_array [0] = 0
23582
23583 ;
23584 return 0;
23585 }
23586 _ACEOF
23587 rm -f conftest.$ac_objext
23588 if { (ac_try="$ac_compile"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23592 esac
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_compile") 2>conftest.er1
23595 ac_status=$?
23596 grep -v '^ *+' conftest.er1 >conftest.err
23597 rm -f conftest.er1
23598 cat conftest.err >&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } && {
23601 test -z "$ac_c_werror_flag" ||
23602 test ! -s conftest.err
23603 } && test -s conftest.$ac_objext; then
23604 ac_lo=$ac_mid; break
23605 else
23606 echo "$as_me: failed program was:" >&5
23607 sed 's/^/| /' conftest.$ac_ext >&5
23608
23609 ac_hi=`expr '(' $ac_mid ')' - 1`
23610 if test $ac_mid -le $ac_hi; then
23611 ac_lo= ac_hi=
23612 break
23613 fi
23614 ac_mid=`expr 2 '*' $ac_mid`
23615 fi
23616
23617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23618 done
23619 else
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23622
23623 ac_lo= ac_hi=
23624 fi
23625
23626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23627 fi
23628
23629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23630 # Binary search between lo and hi bounds.
23631 while test "x$ac_lo" != "x$ac_hi"; do
23632 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639 $ac_includes_default
23640 typedef long long ac__type_sizeof_;
23641 int
23642 main ()
23643 {
23644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23645 test_array [0] = 0
23646
23647 ;
23648 return 0;
23649 }
23650 _ACEOF
23651 rm -f conftest.$ac_objext
23652 if { (ac_try="$ac_compile"
23653 case "(($ac_try" in
23654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23655 *) ac_try_echo=$ac_try;;
23656 esac
23657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23659 ac_status=$?
23660 grep -v '^ *+' conftest.er1 >conftest.err
23661 rm -f conftest.er1
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } && {
23665 test -z "$ac_c_werror_flag" ||
23666 test ! -s conftest.err
23667 } && test -s conftest.$ac_objext; then
23668 ac_hi=$ac_mid
23669 else
23670 echo "$as_me: failed program was:" >&5
23671 sed 's/^/| /' conftest.$ac_ext >&5
23672
23673 ac_lo=`expr '(' $ac_mid ')' + 1`
23674 fi
23675
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 done
23678 case $ac_lo in
23679 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23680 '') if test "$ac_cv_type_long_long" = yes; then
23681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23682 See \`config.log' for more details." >&5
23683 echo "$as_me: error: cannot compute sizeof (long long)
23684 See \`config.log' for more details." >&2;}
23685 { (exit 77); exit 77; }; }
23686 else
23687 ac_cv_sizeof_long_long=0
23688 fi ;;
23689 esac
23690 else
23691 cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h. */
23693 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 $ac_includes_default
23698 typedef long long ac__type_sizeof_;
23699 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23700 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23701 #include <stdio.h>
23702 #include <stdlib.h>
23703 int
23704 main ()
23705 {
23706
23707 FILE *f = fopen ("conftest.val", "w");
23708 if (! f)
23709 return 1;
23710 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23711 {
23712 long int i = longval ();
23713 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23714 return 1;
23715 fprintf (f, "%ld\n", i);
23716 }
23717 else
23718 {
23719 unsigned long int i = ulongval ();
23720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23721 return 1;
23722 fprintf (f, "%lu\n", i);
23723 }
23724 return ferror (f) || fclose (f) != 0;
23725
23726 ;
23727 return 0;
23728 }
23729 _ACEOF
23730 rm -f conftest$ac_exeext
23731 if { (ac_try="$ac_link"
23732 case "(($ac_try" in
23733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23734 *) ac_try_echo=$ac_try;;
23735 esac
23736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23737 (eval "$ac_link") 2>&5
23738 ac_status=$?
23739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23741 { (case "(($ac_try" in
23742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23743 *) ac_try_echo=$ac_try;;
23744 esac
23745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23746 (eval "$ac_try") 2>&5
23747 ac_status=$?
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); }; }; then
23750 ac_cv_sizeof_long_long=`cat conftest.val`
23751 else
23752 echo "$as_me: program exited with status $ac_status" >&5
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23755
23756 ( exit $ac_status )
23757 if test "$ac_cv_type_long_long" = yes; then
23758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23759 See \`config.log' for more details." >&5
23760 echo "$as_me: error: cannot compute sizeof (long long)
23761 See \`config.log' for more details." >&2;}
23762 { (exit 77); exit 77; }; }
23763 else
23764 ac_cv_sizeof_long_long=0
23765 fi
23766 fi
23767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23768 fi
23769 rm -f conftest.val
23770 fi
23771 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23772 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23773
23774
23775
23776 cat >>confdefs.h <<_ACEOF
23777 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23778 _ACEOF
23779
23780
23781 ;;
23782 *-hp-hpux* )
23783 { echo "$as_me:$LINENO: checking for long long" >&5
23784 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23785 if test "${ac_cv_type_long_long+set}" = set; then
23786 echo $ECHO_N "(cached) $ECHO_C" >&6
23787 else
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_new_;
23796 int
23797 main ()
23798 {
23799 if ((ac__type_new_ *) 0)
23800 return 0;
23801 if (sizeof (ac__type_new_))
23802 return 0;
23803 ;
23804 return 0;
23805 }
23806 _ACEOF
23807 rm -f conftest.$ac_objext
23808 if { (ac_try="$ac_compile"
23809 case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23812 esac
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_compile") 2>conftest.er1
23815 ac_status=$?
23816 grep -v '^ *+' conftest.er1 >conftest.err
23817 rm -f conftest.er1
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } && {
23821 test -z "$ac_c_werror_flag" ||
23822 test ! -s conftest.err
23823 } && test -s conftest.$ac_objext; then
23824 ac_cv_type_long_long=yes
23825 else
23826 echo "$as_me: failed program was:" >&5
23827 sed 's/^/| /' conftest.$ac_ext >&5
23828
23829 ac_cv_type_long_long=no
23830 fi
23831
23832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23833 fi
23834 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23835 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23836
23837 # The cast to long int works around a bug in the HP C Compiler
23838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23840 # This bug is HP SR number 8606223364.
23841 { echo "$as_me:$LINENO: checking size of long long" >&5
23842 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23843 if test "${ac_cv_sizeof_long_long+set}" = set; then
23844 echo $ECHO_N "(cached) $ECHO_C" >&6
23845 else
23846 if test "$cross_compiling" = yes; then
23847 # Depending upon the size, compute the lo and hi bounds.
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 $ac_includes_default
23855 typedef long long ac__type_sizeof_;
23856 int
23857 main ()
23858 {
23859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23860 test_array [0] = 0
23861
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext
23867 if { (ac_try="$ac_compile"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23871 esac
23872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23873 (eval "$ac_compile") 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } && {
23880 test -z "$ac_c_werror_flag" ||
23881 test ! -s conftest.err
23882 } && test -s conftest.$ac_objext; then
23883 ac_lo=0 ac_mid=0
23884 while :; do
23885 cat >conftest.$ac_ext <<_ACEOF
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891 $ac_includes_default
23892 typedef long long ac__type_sizeof_;
23893 int
23894 main ()
23895 {
23896 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23897 test_array [0] = 0
23898
23899 ;
23900 return 0;
23901 }
23902 _ACEOF
23903 rm -f conftest.$ac_objext
23904 if { (ac_try="$ac_compile"
23905 case "(($ac_try" in
23906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23907 *) ac_try_echo=$ac_try;;
23908 esac
23909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23910 (eval "$ac_compile") 2>conftest.er1
23911 ac_status=$?
23912 grep -v '^ *+' conftest.er1 >conftest.err
23913 rm -f conftest.er1
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } && {
23917 test -z "$ac_c_werror_flag" ||
23918 test ! -s conftest.err
23919 } && test -s conftest.$ac_objext; then
23920 ac_hi=$ac_mid; break
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 ac_lo=`expr $ac_mid + 1`
23926 if test $ac_lo -le $ac_mid; then
23927 ac_lo= ac_hi=
23928 break
23929 fi
23930 ac_mid=`expr 2 '*' $ac_mid + 1`
23931 fi
23932
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 done
23935 else
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.$ac_ext >&5
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 $ac_includes_default
23946 typedef long long ac__type_sizeof_;
23947 int
23948 main ()
23949 {
23950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23951 test_array [0] = 0
23952
23953 ;
23954 return 0;
23955 }
23956 _ACEOF
23957 rm -f conftest.$ac_objext
23958 if { (ac_try="$ac_compile"
23959 case "(($ac_try" in
23960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23961 *) ac_try_echo=$ac_try;;
23962 esac
23963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23964 (eval "$ac_compile") 2>conftest.er1
23965 ac_status=$?
23966 grep -v '^ *+' conftest.er1 >conftest.err
23967 rm -f conftest.er1
23968 cat conftest.err >&5
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); } && {
23971 test -z "$ac_c_werror_flag" ||
23972 test ! -s conftest.err
23973 } && test -s conftest.$ac_objext; then
23974 ac_hi=-1 ac_mid=-1
23975 while :; do
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 $ac_includes_default
23983 typedef long long ac__type_sizeof_;
23984 int
23985 main ()
23986 {
23987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23988 test_array [0] = 0
23989
23990 ;
23991 return 0;
23992 }
23993 _ACEOF
23994 rm -f conftest.$ac_objext
23995 if { (ac_try="$ac_compile"
23996 case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
23999 esac
24000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_compile") 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && {
24008 test -z "$ac_c_werror_flag" ||
24009 test ! -s conftest.err
24010 } && test -s conftest.$ac_objext; then
24011 ac_lo=$ac_mid; break
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24015
24016 ac_hi=`expr '(' $ac_mid ')' - 1`
24017 if test $ac_mid -le $ac_hi; then
24018 ac_lo= ac_hi=
24019 break
24020 fi
24021 ac_mid=`expr 2 '*' $ac_mid`
24022 fi
24023
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025 done
24026 else
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24029
24030 ac_lo= ac_hi=
24031 fi
24032
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 fi
24035
24036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 typedef long long ac__type_sizeof_;
24048 int
24049 main ()
24050 {
24051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24052 test_array [0] = 0
24053
24054 ;
24055 return 0;
24056 }
24057 _ACEOF
24058 rm -f conftest.$ac_objext
24059 if { (ac_try="$ac_compile"
24060 case "(($ac_try" in
24061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24062 *) ac_try_echo=$ac_try;;
24063 esac
24064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24065 (eval "$ac_compile") 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } && {
24072 test -z "$ac_c_werror_flag" ||
24073 test ! -s conftest.err
24074 } && test -s conftest.$ac_objext; then
24075 ac_hi=$ac_mid
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 ac_lo=`expr '(' $ac_mid ')' + 1`
24081 fi
24082
24083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 done
24085 case $ac_lo in
24086 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24087 '') if test "$ac_cv_type_long_long" = yes; then
24088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24089 See \`config.log' for more details." >&5
24090 echo "$as_me: error: cannot compute sizeof (long long)
24091 See \`config.log' for more details." >&2;}
24092 { (exit 77); exit 77; }; }
24093 else
24094 ac_cv_sizeof_long_long=0
24095 fi ;;
24096 esac
24097 else
24098 cat >conftest.$ac_ext <<_ACEOF
24099 /* confdefs.h. */
24100 _ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24104 $ac_includes_default
24105 typedef long long ac__type_sizeof_;
24106 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24107 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24108 #include <stdio.h>
24109 #include <stdlib.h>
24110 int
24111 main ()
24112 {
24113
24114 FILE *f = fopen ("conftest.val", "w");
24115 if (! f)
24116 return 1;
24117 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24118 {
24119 long int i = longval ();
24120 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24121 return 1;
24122 fprintf (f, "%ld\n", i);
24123 }
24124 else
24125 {
24126 unsigned long int i = ulongval ();
24127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24128 return 1;
24129 fprintf (f, "%lu\n", i);
24130 }
24131 return ferror (f) || fclose (f) != 0;
24132
24133 ;
24134 return 0;
24135 }
24136 _ACEOF
24137 rm -f conftest$ac_exeext
24138 if { (ac_try="$ac_link"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24142 esac
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_link") 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24148 { (case "(($ac_try" in
24149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24150 *) ac_try_echo=$ac_try;;
24151 esac
24152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24153 (eval "$ac_try") 2>&5
24154 ac_status=$?
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); }; }; then
24157 ac_cv_sizeof_long_long=`cat conftest.val`
24158 else
24159 echo "$as_me: program exited with status $ac_status" >&5
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24162
24163 ( exit $ac_status )
24164 if test "$ac_cv_type_long_long" = yes; then
24165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24166 See \`config.log' for more details." >&5
24167 echo "$as_me: error: cannot compute sizeof (long long)
24168 See \`config.log' for more details." >&2;}
24169 { (exit 77); exit 77; }; }
24170 else
24171 ac_cv_sizeof_long_long=0
24172 fi
24173 fi
24174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24175 fi
24176 rm -f conftest.val
24177 fi
24178 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24179 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24180
24181
24182
24183 cat >>confdefs.h <<_ACEOF
24184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24185 _ACEOF
24186
24187
24188 if test "$ac_cv_sizeof_long_long" != "0"; then
24189 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24190 fi
24191 ;;
24192 * )
24193 { echo "$as_me:$LINENO: checking for long long" >&5
24194 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24195 if test "${ac_cv_type_long_long+set}" = set; then
24196 echo $ECHO_N "(cached) $ECHO_C" >&6
24197 else
24198 cat >conftest.$ac_ext <<_ACEOF
24199 /* confdefs.h. */
24200 _ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204 $ac_includes_default
24205 typedef long long ac__type_new_;
24206 int
24207 main ()
24208 {
24209 if ((ac__type_new_ *) 0)
24210 return 0;
24211 if (sizeof (ac__type_new_))
24212 return 0;
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_c_werror_flag" ||
24232 test ! -s conftest.err
24233 } && test -s conftest.$ac_objext; then
24234 ac_cv_type_long_long=yes
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 ac_cv_type_long_long=no
24240 fi
24241
24242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24243 fi
24244 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24245 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24246
24247 # The cast to long int works around a bug in the HP C Compiler
24248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24250 # This bug is HP SR number 8606223364.
24251 { echo "$as_me:$LINENO: checking size of long long" >&5
24252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24253 if test "${ac_cv_sizeof_long_long+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 else
24256 if test "$cross_compiling" = yes; then
24257 # Depending upon the size, compute the lo and hi bounds.
24258 cat >conftest.$ac_ext <<_ACEOF
24259 /* confdefs.h. */
24260 _ACEOF
24261 cat confdefs.h >>conftest.$ac_ext
24262 cat >>conftest.$ac_ext <<_ACEOF
24263 /* end confdefs.h. */
24264 $ac_includes_default
24265 typedef long long ac__type_sizeof_;
24266 int
24267 main ()
24268 {
24269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24270 test_array [0] = 0
24271
24272 ;
24273 return 0;
24274 }
24275 _ACEOF
24276 rm -f conftest.$ac_objext
24277 if { (ac_try="$ac_compile"
24278 case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24281 esac
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_compile") 2>conftest.er1
24284 ac_status=$?
24285 grep -v '^ *+' conftest.er1 >conftest.err
24286 rm -f conftest.er1
24287 cat conftest.err >&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); } && {
24290 test -z "$ac_c_werror_flag" ||
24291 test ! -s conftest.err
24292 } && test -s conftest.$ac_objext; then
24293 ac_lo=0 ac_mid=0
24294 while :; do
24295 cat >conftest.$ac_ext <<_ACEOF
24296 /* confdefs.h. */
24297 _ACEOF
24298 cat confdefs.h >>conftest.$ac_ext
24299 cat >>conftest.$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24301 $ac_includes_default
24302 typedef long long ac__type_sizeof_;
24303 int
24304 main ()
24305 {
24306 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24307 test_array [0] = 0
24308
24309 ;
24310 return 0;
24311 }
24312 _ACEOF
24313 rm -f conftest.$ac_objext
24314 if { (ac_try="$ac_compile"
24315 case "(($ac_try" in
24316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24317 *) ac_try_echo=$ac_try;;
24318 esac
24319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24320 (eval "$ac_compile") 2>conftest.er1
24321 ac_status=$?
24322 grep -v '^ *+' conftest.er1 >conftest.err
24323 rm -f conftest.er1
24324 cat conftest.err >&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && {
24327 test -z "$ac_c_werror_flag" ||
24328 test ! -s conftest.err
24329 } && test -s conftest.$ac_objext; then
24330 ac_hi=$ac_mid; break
24331 else
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.$ac_ext >&5
24334
24335 ac_lo=`expr $ac_mid + 1`
24336 if test $ac_lo -le $ac_mid; then
24337 ac_lo= ac_hi=
24338 break
24339 fi
24340 ac_mid=`expr 2 '*' $ac_mid + 1`
24341 fi
24342
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 done
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24348
24349 cat >conftest.$ac_ext <<_ACEOF
24350 /* confdefs.h. */
24351 _ACEOF
24352 cat confdefs.h >>conftest.$ac_ext
24353 cat >>conftest.$ac_ext <<_ACEOF
24354 /* end confdefs.h. */
24355 $ac_includes_default
24356 typedef long long ac__type_sizeof_;
24357 int
24358 main ()
24359 {
24360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24361 test_array [0] = 0
24362
24363 ;
24364 return 0;
24365 }
24366 _ACEOF
24367 rm -f conftest.$ac_objext
24368 if { (ac_try="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24372 esac
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_compile") 2>conftest.er1
24375 ac_status=$?
24376 grep -v '^ *+' conftest.er1 >conftest.err
24377 rm -f conftest.er1
24378 cat conftest.err >&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } && {
24381 test -z "$ac_c_werror_flag" ||
24382 test ! -s conftest.err
24383 } && test -s conftest.$ac_objext; then
24384 ac_hi=-1 ac_mid=-1
24385 while :; do
24386 cat >conftest.$ac_ext <<_ACEOF
24387 /* confdefs.h. */
24388 _ACEOF
24389 cat confdefs.h >>conftest.$ac_ext
24390 cat >>conftest.$ac_ext <<_ACEOF
24391 /* end confdefs.h. */
24392 $ac_includes_default
24393 typedef long long ac__type_sizeof_;
24394 int
24395 main ()
24396 {
24397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24398 test_array [0] = 0
24399
24400 ;
24401 return 0;
24402 }
24403 _ACEOF
24404 rm -f conftest.$ac_objext
24405 if { (ac_try="$ac_compile"
24406 case "(($ac_try" in
24407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24408 *) ac_try_echo=$ac_try;;
24409 esac
24410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24411 (eval "$ac_compile") 2>conftest.er1
24412 ac_status=$?
24413 grep -v '^ *+' conftest.er1 >conftest.err
24414 rm -f conftest.er1
24415 cat conftest.err >&5
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); } && {
24418 test -z "$ac_c_werror_flag" ||
24419 test ! -s conftest.err
24420 } && test -s conftest.$ac_objext; then
24421 ac_lo=$ac_mid; break
24422 else
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24425
24426 ac_hi=`expr '(' $ac_mid ')' - 1`
24427 if test $ac_mid -le $ac_hi; then
24428 ac_lo= ac_hi=
24429 break
24430 fi
24431 ac_mid=`expr 2 '*' $ac_mid`
24432 fi
24433
24434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24435 done
24436 else
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24439
24440 ac_lo= ac_hi=
24441 fi
24442
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444 fi
24445
24446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24447 # Binary search between lo and hi bounds.
24448 while test "x$ac_lo" != "x$ac_hi"; do
24449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 $ac_includes_default
24457 typedef long long ac__type_sizeof_;
24458 int
24459 main ()
24460 {
24461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24462 test_array [0] = 0
24463
24464 ;
24465 return 0;
24466 }
24467 _ACEOF
24468 rm -f conftest.$ac_objext
24469 if { (ac_try="$ac_compile"
24470 case "(($ac_try" in
24471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24472 *) ac_try_echo=$ac_try;;
24473 esac
24474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24475 (eval "$ac_compile") 2>conftest.er1
24476 ac_status=$?
24477 grep -v '^ *+' conftest.er1 >conftest.err
24478 rm -f conftest.er1
24479 cat conftest.err >&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } && {
24482 test -z "$ac_c_werror_flag" ||
24483 test ! -s conftest.err
24484 } && test -s conftest.$ac_objext; then
24485 ac_hi=$ac_mid
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24489
24490 ac_lo=`expr '(' $ac_mid ')' + 1`
24491 fi
24492
24493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24494 done
24495 case $ac_lo in
24496 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24497 '') if test "$ac_cv_type_long_long" = yes; then
24498 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24499 See \`config.log' for more details." >&5
24500 echo "$as_me: error: cannot compute sizeof (long long)
24501 See \`config.log' for more details." >&2;}
24502 { (exit 77); exit 77; }; }
24503 else
24504 ac_cv_sizeof_long_long=0
24505 fi ;;
24506 esac
24507 else
24508 cat >conftest.$ac_ext <<_ACEOF
24509 /* confdefs.h. */
24510 _ACEOF
24511 cat confdefs.h >>conftest.$ac_ext
24512 cat >>conftest.$ac_ext <<_ACEOF
24513 /* end confdefs.h. */
24514 $ac_includes_default
24515 typedef long long ac__type_sizeof_;
24516 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24517 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24518 #include <stdio.h>
24519 #include <stdlib.h>
24520 int
24521 main ()
24522 {
24523
24524 FILE *f = fopen ("conftest.val", "w");
24525 if (! f)
24526 return 1;
24527 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24528 {
24529 long int i = longval ();
24530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24531 return 1;
24532 fprintf (f, "%ld\n", i);
24533 }
24534 else
24535 {
24536 unsigned long int i = ulongval ();
24537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24538 return 1;
24539 fprintf (f, "%lu\n", i);
24540 }
24541 return ferror (f) || fclose (f) != 0;
24542
24543 ;
24544 return 0;
24545 }
24546 _ACEOF
24547 rm -f conftest$ac_exeext
24548 if { (ac_try="$ac_link"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24552 esac
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_link") 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24558 { (case "(($ac_try" in
24559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24560 *) ac_try_echo=$ac_try;;
24561 esac
24562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24563 (eval "$ac_try") 2>&5
24564 ac_status=$?
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_sizeof_long_long=`cat conftest.val`
24568 else
24569 echo "$as_me: program exited with status $ac_status" >&5
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24572
24573 ( exit $ac_status )
24574 if test "$ac_cv_type_long_long" = yes; then
24575 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24576 See \`config.log' for more details." >&5
24577 echo "$as_me: error: cannot compute sizeof (long long)
24578 See \`config.log' for more details." >&2;}
24579 { (exit 77); exit 77; }; }
24580 else
24581 ac_cv_sizeof_long_long=0
24582 fi
24583 fi
24584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24585 fi
24586 rm -f conftest.val
24587 fi
24588 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24589 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24590
24591
24592
24593 cat >>confdefs.h <<_ACEOF
24594 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24595 _ACEOF
24596
24597
24598 esac
24599
24600 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24601 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24602 if test "${ac_cv_type_wchar_t+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611
24612 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24613 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24614 # error "fake wchar_t"
24615 #endif
24616 #ifdef HAVE_WCHAR_H
24617 # ifdef __CYGWIN__
24618 # include <stddef.h>
24619 # endif
24620 # include <wchar.h>
24621 #endif
24622 #ifdef HAVE_STDLIB_H
24623 # include <stdlib.h>
24624 #endif
24625 #include <stdio.h>
24626
24627
24628
24629 typedef wchar_t ac__type_new_;
24630 int
24631 main ()
24632 {
24633 if ((ac__type_new_ *) 0)
24634 return 0;
24635 if (sizeof (ac__type_new_))
24636 return 0;
24637 ;
24638 return 0;
24639 }
24640 _ACEOF
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24646 esac
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_c_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 ac_cv_type_wchar_t=yes
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 ac_cv_type_wchar_t=no
24664 fi
24665
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24667 fi
24668 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24669 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24670
24671 # The cast to long int works around a bug in the HP C Compiler
24672 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24673 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24674 # This bug is HP SR number 8606223364.
24675 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24676 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24677 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24678 echo $ECHO_N "(cached) $ECHO_C" >&6
24679 else
24680 if test "$cross_compiling" = yes; then
24681 # Depending upon the size, compute the lo and hi bounds.
24682 cat >conftest.$ac_ext <<_ACEOF
24683 /* confdefs.h. */
24684 _ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688
24689 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24690 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24691 # error "fake wchar_t"
24692 #endif
24693 #ifdef HAVE_WCHAR_H
24694 # ifdef __CYGWIN__
24695 # include <stddef.h>
24696 # endif
24697 # include <wchar.h>
24698 #endif
24699 #ifdef HAVE_STDLIB_H
24700 # include <stdlib.h>
24701 #endif
24702 #include <stdio.h>
24703
24704
24705
24706 typedef wchar_t ac__type_sizeof_;
24707 int
24708 main ()
24709 {
24710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24711 test_array [0] = 0
24712
24713 ;
24714 return 0;
24715 }
24716 _ACEOF
24717 rm -f conftest.$ac_objext
24718 if { (ac_try="$ac_compile"
24719 case "(($ac_try" in
24720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24721 *) ac_try_echo=$ac_try;;
24722 esac
24723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24724 (eval "$ac_compile") 2>conftest.er1
24725 ac_status=$?
24726 grep -v '^ *+' conftest.er1 >conftest.err
24727 rm -f conftest.er1
24728 cat conftest.err >&5
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); } && {
24731 test -z "$ac_c_werror_flag" ||
24732 test ! -s conftest.err
24733 } && test -s conftest.$ac_objext; then
24734 ac_lo=0 ac_mid=0
24735 while :; do
24736 cat >conftest.$ac_ext <<_ACEOF
24737 /* confdefs.h. */
24738 _ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742
24743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24745 # error "fake wchar_t"
24746 #endif
24747 #ifdef HAVE_WCHAR_H
24748 # ifdef __CYGWIN__
24749 # include <stddef.h>
24750 # endif
24751 # include <wchar.h>
24752 #endif
24753 #ifdef HAVE_STDLIB_H
24754 # include <stdlib.h>
24755 #endif
24756 #include <stdio.h>
24757
24758
24759
24760 typedef wchar_t ac__type_sizeof_;
24761 int
24762 main ()
24763 {
24764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24765 test_array [0] = 0
24766
24767 ;
24768 return 0;
24769 }
24770 _ACEOF
24771 rm -f conftest.$ac_objext
24772 if { (ac_try="$ac_compile"
24773 case "(($ac_try" in
24774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24775 *) ac_try_echo=$ac_try;;
24776 esac
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24778 (eval "$ac_compile") 2>conftest.er1
24779 ac_status=$?
24780 grep -v '^ *+' conftest.er1 >conftest.err
24781 rm -f conftest.er1
24782 cat conftest.err >&5
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); } && {
24785 test -z "$ac_c_werror_flag" ||
24786 test ! -s conftest.err
24787 } && test -s conftest.$ac_objext; then
24788 ac_hi=$ac_mid; break
24789 else
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.$ac_ext >&5
24792
24793 ac_lo=`expr $ac_mid + 1`
24794 if test $ac_lo -le $ac_mid; then
24795 ac_lo= ac_hi=
24796 break
24797 fi
24798 ac_mid=`expr 2 '*' $ac_mid + 1`
24799 fi
24800
24801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24802 done
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 cat >conftest.$ac_ext <<_ACEOF
24808 /* confdefs.h. */
24809 _ACEOF
24810 cat confdefs.h >>conftest.$ac_ext
24811 cat >>conftest.$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24813
24814 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24815 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24816 # error "fake wchar_t"
24817 #endif
24818 #ifdef HAVE_WCHAR_H
24819 # ifdef __CYGWIN__
24820 # include <stddef.h>
24821 # endif
24822 # include <wchar.h>
24823 #endif
24824 #ifdef HAVE_STDLIB_H
24825 # include <stdlib.h>
24826 #endif
24827 #include <stdio.h>
24828
24829
24830
24831 typedef wchar_t ac__type_sizeof_;
24832 int
24833 main ()
24834 {
24835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24836 test_array [0] = 0
24837
24838 ;
24839 return 0;
24840 }
24841 _ACEOF
24842 rm -f conftest.$ac_objext
24843 if { (ac_try="$ac_compile"
24844 case "(($ac_try" in
24845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24846 *) ac_try_echo=$ac_try;;
24847 esac
24848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24849 (eval "$ac_compile") 2>conftest.er1
24850 ac_status=$?
24851 grep -v '^ *+' conftest.er1 >conftest.err
24852 rm -f conftest.er1
24853 cat conftest.err >&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } && {
24856 test -z "$ac_c_werror_flag" ||
24857 test ! -s conftest.err
24858 } && test -s conftest.$ac_objext; then
24859 ac_hi=-1 ac_mid=-1
24860 while :; do
24861 cat >conftest.$ac_ext <<_ACEOF
24862 /* confdefs.h. */
24863 _ACEOF
24864 cat confdefs.h >>conftest.$ac_ext
24865 cat >>conftest.$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867
24868 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24869 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24870 # error "fake wchar_t"
24871 #endif
24872 #ifdef HAVE_WCHAR_H
24873 # ifdef __CYGWIN__
24874 # include <stddef.h>
24875 # endif
24876 # include <wchar.h>
24877 #endif
24878 #ifdef HAVE_STDLIB_H
24879 # include <stdlib.h>
24880 #endif
24881 #include <stdio.h>
24882
24883
24884
24885 typedef wchar_t ac__type_sizeof_;
24886 int
24887 main ()
24888 {
24889 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24890 test_array [0] = 0
24891
24892 ;
24893 return 0;
24894 }
24895 _ACEOF
24896 rm -f conftest.$ac_objext
24897 if { (ac_try="$ac_compile"
24898 case "(($ac_try" in
24899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24900 *) ac_try_echo=$ac_try;;
24901 esac
24902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24903 (eval "$ac_compile") 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } && {
24910 test -z "$ac_c_werror_flag" ||
24911 test ! -s conftest.err
24912 } && test -s conftest.$ac_objext; then
24913 ac_lo=$ac_mid; break
24914 else
24915 echo "$as_me: failed program was:" >&5
24916 sed 's/^/| /' conftest.$ac_ext >&5
24917
24918 ac_hi=`expr '(' $ac_mid ')' - 1`
24919 if test $ac_mid -le $ac_hi; then
24920 ac_lo= ac_hi=
24921 break
24922 fi
24923 ac_mid=`expr 2 '*' $ac_mid`
24924 fi
24925
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 done
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24931
24932 ac_lo= ac_hi=
24933 fi
24934
24935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24936 fi
24937
24938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24939 # Binary search between lo and hi bounds.
24940 while test "x$ac_lo" != "x$ac_hi"; do
24941 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24942 cat >conftest.$ac_ext <<_ACEOF
24943 /* confdefs.h. */
24944 _ACEOF
24945 cat confdefs.h >>conftest.$ac_ext
24946 cat >>conftest.$ac_ext <<_ACEOF
24947 /* end confdefs.h. */
24948
24949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24951 # error "fake wchar_t"
24952 #endif
24953 #ifdef HAVE_WCHAR_H
24954 # ifdef __CYGWIN__
24955 # include <stddef.h>
24956 # endif
24957 # include <wchar.h>
24958 #endif
24959 #ifdef HAVE_STDLIB_H
24960 # include <stdlib.h>
24961 #endif
24962 #include <stdio.h>
24963
24964
24965
24966 typedef wchar_t ac__type_sizeof_;
24967 int
24968 main ()
24969 {
24970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24971 test_array [0] = 0
24972
24973 ;
24974 return 0;
24975 }
24976 _ACEOF
24977 rm -f conftest.$ac_objext
24978 if { (ac_try="$ac_compile"
24979 case "(($ac_try" in
24980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24981 *) ac_try_echo=$ac_try;;
24982 esac
24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24984 (eval "$ac_compile") 2>conftest.er1
24985 ac_status=$?
24986 grep -v '^ *+' conftest.er1 >conftest.err
24987 rm -f conftest.er1
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } && {
24991 test -z "$ac_c_werror_flag" ||
24992 test ! -s conftest.err
24993 } && test -s conftest.$ac_objext; then
24994 ac_hi=$ac_mid
24995 else
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
24998
24999 ac_lo=`expr '(' $ac_mid ')' + 1`
25000 fi
25001
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003 done
25004 case $ac_lo in
25005 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25006 '') if test "$ac_cv_type_wchar_t" = yes; then
25007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25008 See \`config.log' for more details." >&5
25009 echo "$as_me: error: cannot compute sizeof (wchar_t)
25010 See \`config.log' for more details." >&2;}
25011 { (exit 77); exit 77; }; }
25012 else
25013 ac_cv_sizeof_wchar_t=0
25014 fi ;;
25015 esac
25016 else
25017 cat >conftest.$ac_ext <<_ACEOF
25018 /* confdefs.h. */
25019 _ACEOF
25020 cat confdefs.h >>conftest.$ac_ext
25021 cat >>conftest.$ac_ext <<_ACEOF
25022 /* end confdefs.h. */
25023
25024 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25025 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25026 # error "fake wchar_t"
25027 #endif
25028 #ifdef HAVE_WCHAR_H
25029 # ifdef __CYGWIN__
25030 # include <stddef.h>
25031 # endif
25032 # include <wchar.h>
25033 #endif
25034 #ifdef HAVE_STDLIB_H
25035 # include <stdlib.h>
25036 #endif
25037 #include <stdio.h>
25038
25039
25040
25041 typedef wchar_t ac__type_sizeof_;
25042 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25043 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25044 #include <stdio.h>
25045 #include <stdlib.h>
25046 int
25047 main ()
25048 {
25049
25050 FILE *f = fopen ("conftest.val", "w");
25051 if (! f)
25052 return 1;
25053 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25054 {
25055 long int i = longval ();
25056 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25057 return 1;
25058 fprintf (f, "%ld\n", i);
25059 }
25060 else
25061 {
25062 unsigned long int i = ulongval ();
25063 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25064 return 1;
25065 fprintf (f, "%lu\n", i);
25066 }
25067 return ferror (f) || fclose (f) != 0;
25068
25069 ;
25070 return 0;
25071 }
25072 _ACEOF
25073 rm -f conftest$ac_exeext
25074 if { (ac_try="$ac_link"
25075 case "(($ac_try" in
25076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25077 *) ac_try_echo=$ac_try;;
25078 esac
25079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25080 (eval "$ac_link") 2>&5
25081 ac_status=$?
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25084 { (case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25087 esac
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_try") 2>&5
25090 ac_status=$?
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); }; }; then
25093 ac_cv_sizeof_wchar_t=`cat conftest.val`
25094 else
25095 echo "$as_me: program exited with status $ac_status" >&5
25096 echo "$as_me: failed program was:" >&5
25097 sed 's/^/| /' conftest.$ac_ext >&5
25098
25099 ( exit $ac_status )
25100 if test "$ac_cv_type_wchar_t" = yes; then
25101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25102 See \`config.log' for more details." >&5
25103 echo "$as_me: error: cannot compute sizeof (wchar_t)
25104 See \`config.log' for more details." >&2;}
25105 { (exit 77); exit 77; }; }
25106 else
25107 ac_cv_sizeof_wchar_t=0
25108 fi
25109 fi
25110 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25111 fi
25112 rm -f conftest.val
25113 fi
25114 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25115 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25116
25117
25118
25119 cat >>confdefs.h <<_ACEOF
25120 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25121 _ACEOF
25122
25123
25124 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25125 wxUSE_WCHAR_T=yes
25126 else
25127 wxUSE_WCHAR_T=no
25128 fi
25129
25130 { echo "$as_me:$LINENO: checking for va_copy" >&5
25131 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25132 if test "${wx_cv_func_va_copy+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 else
25135
25136 ac_ext=cpp
25137 ac_cpp='$CXXCPP $CPPFLAGS'
25138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141
25142 cat >conftest.$ac_ext <<_ACEOF
25143
25144 #include <stdarg.h>
25145 void foo(char *f, ...)
25146 {
25147 va_list ap1, ap2;
25148 va_start(ap1, f);
25149 va_copy(ap2, ap1);
25150 va_end(ap2);
25151 va_end(ap1);
25152 }
25153 int main()
25154 {
25155 foo("hi", 17);
25156 return 0;
25157 }
25158 _ACEOF
25159 rm -f conftest.$ac_objext conftest$ac_exeext
25160 if { (ac_try="$ac_link"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25164 esac
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_link") 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_cxx_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest$ac_exeext &&
25176 $as_test_x conftest$ac_exeext; then
25177 wx_cv_func_va_copy=yes
25178 else
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182 wx_cv_func_va_copy=no
25183
25184 fi
25185
25186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25187 conftest$ac_exeext conftest.$ac_ext
25188 ac_ext=c
25189 ac_cpp='$CPP $CPPFLAGS'
25190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25193
25194
25195
25196 fi
25197 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25198 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25199
25200 if test $wx_cv_func_va_copy = "yes"; then
25201 cat >>confdefs.h <<\_ACEOF
25202 #define HAVE_VA_COPY 1
25203 _ACEOF
25204
25205 else
25206 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25207 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25208 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 else
25211
25212 if test "$cross_compiling" = yes; then
25213 wx_cv_type_va_list_lvalue=yes
25214
25215 else
25216 cat >conftest.$ac_ext <<_ACEOF
25217
25218 #include <stdarg.h>
25219 int foo(char *f, ...)
25220 {
25221 va_list ap1, ap2;
25222 va_start(ap1, f);
25223 ap2 = ap1;
25224 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25225 return 1;
25226 va_end(ap2);
25227 va_end(ap1);
25228 return 0;
25229 }
25230 int main()
25231 {
25232 return foo("hi", 17);
25233 }
25234 _ACEOF
25235 rm -f conftest$ac_exeext
25236 if { (ac_try="$ac_link"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_link") 2>&5
25243 ac_status=$?
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25246 { (case "(($ac_try" in
25247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25248 *) ac_try_echo=$ac_try;;
25249 esac
25250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25251 (eval "$ac_try") 2>&5
25252 ac_status=$?
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; }; then
25255 wx_cv_type_va_list_lvalue=yes
25256 else
25257 echo "$as_me: program exited with status $ac_status" >&5
25258 echo "$as_me: failed program was:" >&5
25259 sed 's/^/| /' conftest.$ac_ext >&5
25260
25261 ( exit $ac_status )
25262 wx_cv_type_va_list_lvalue=no
25263 fi
25264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25265 fi
25266
25267
25268
25269
25270 fi
25271 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25272 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25273
25274 if test $wx_cv_type_va_list_lvalue != "yes"; then
25275 cat >>confdefs.h <<\_ACEOF
25276 #define VA_LIST_IS_ARRAY 1
25277 _ACEOF
25278
25279 fi
25280 fi
25281
25282 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25283
25284 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25285 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25286 if test "${wx_cv_have_variadic_macros+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 else
25289
25290 ac_ext=cpp
25291 ac_cpp='$CXXCPP $CPPFLAGS'
25292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25295
25296 cat >conftest.$ac_ext <<_ACEOF
25297 /* confdefs.h. */
25298 _ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25302
25303 #include <stdio.h>
25304 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25305
25306 int
25307 main ()
25308 {
25309
25310 test("%s %d %p", "test", 1, 0);
25311
25312
25313 ;
25314 return 0;
25315 }
25316 _ACEOF
25317 rm -f conftest.$ac_objext
25318 if { (ac_try="$ac_compile"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25322 esac
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_compile") 2>conftest.er1
25325 ac_status=$?
25326 grep -v '^ *+' conftest.er1 >conftest.err
25327 rm -f conftest.er1
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_cxx_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest.$ac_objext; then
25334 wx_cv_have_variadic_macros=yes
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 wx_cv_have_variadic_macros=no
25340
25341 fi
25342
25343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25344 ac_ext=c
25345 ac_cpp='$CPP $CPPFLAGS'
25346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25349
25350
25351
25352 fi
25353 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25354 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25355
25356 if test $wx_cv_have_variadic_macros = "yes"; then
25357 cat >>confdefs.h <<\_ACEOF
25358 #define HAVE_VARIADIC_MACROS 1
25359 _ACEOF
25360
25361 fi
25362
25363 fi
25364 # Check whether --enable-largefile was given.
25365 if test "${enable_largefile+set}" = set; then
25366 enableval=$enable_largefile;
25367 fi
25368
25369 if test "$enable_largefile" != no; then
25370 wx_largefile=no
25371
25372 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25373 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25374 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25376 else
25377
25378 cat >conftest.$ac_ext <<_ACEOF
25379 /* confdefs.h. */
25380 _ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25384 #define _FILE_OFFSET_BITS 64
25385 #include <sys/types.h>
25386 int
25387 main ()
25388 {
25389 typedef struct {
25390 unsigned int field: sizeof(off_t) == 8;
25391 } wxlf;
25392
25393 ;
25394 return 0;
25395 }
25396 _ACEOF
25397 rm -f conftest.$ac_objext
25398 if { (ac_try="$ac_compile"
25399 case "(($ac_try" in
25400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25401 *) ac_try_echo=$ac_try;;
25402 esac
25403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25404 (eval "$ac_compile") 2>conftest.er1
25405 ac_status=$?
25406 grep -v '^ *+' conftest.er1 >conftest.err
25407 rm -f conftest.er1
25408 cat conftest.err >&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); } && {
25411 test -z "$ac_c_werror_flag" ||
25412 test ! -s conftest.err
25413 } && test -s conftest.$ac_objext; then
25414 ac_cv_sys_file_offset_bits=64
25415 else
25416 echo "$as_me: failed program was:" >&5
25417 sed 's/^/| /' conftest.$ac_ext >&5
25418
25419 ac_cv_sys_file_offset_bits=no
25420 fi
25421
25422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25423
25424
25425 fi
25426 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25427 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25428
25429 if test "$ac_cv_sys_file_offset_bits" != no; then
25430 wx_largefile=yes
25431 cat >>confdefs.h <<_ACEOF
25432 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25433 _ACEOF
25434
25435 fi
25436
25437 if test "x$wx_largefile" != "xyes"; then
25438
25439 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25440 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25441 if test "${ac_cv_sys_large_files+set}" = set; then
25442 echo $ECHO_N "(cached) $ECHO_C" >&6
25443 else
25444
25445 cat >conftest.$ac_ext <<_ACEOF
25446 /* confdefs.h. */
25447 _ACEOF
25448 cat confdefs.h >>conftest.$ac_ext
25449 cat >>conftest.$ac_ext <<_ACEOF
25450 /* end confdefs.h. */
25451 #define _LARGE_FILES 1
25452 #include <sys/types.h>
25453 int
25454 main ()
25455 {
25456 typedef struct {
25457 unsigned int field: sizeof(off_t) == 8;
25458 } wxlf;
25459
25460 ;
25461 return 0;
25462 }
25463 _ACEOF
25464 rm -f conftest.$ac_objext
25465 if { (ac_try="$ac_compile"
25466 case "(($ac_try" in
25467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25468 *) ac_try_echo=$ac_try;;
25469 esac
25470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25471 (eval "$ac_compile") 2>conftest.er1
25472 ac_status=$?
25473 grep -v '^ *+' conftest.er1 >conftest.err
25474 rm -f conftest.er1
25475 cat conftest.err >&5
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); } && {
25478 test -z "$ac_c_werror_flag" ||
25479 test ! -s conftest.err
25480 } && test -s conftest.$ac_objext; then
25481 ac_cv_sys_large_files=1
25482 else
25483 echo "$as_me: failed program was:" >&5
25484 sed 's/^/| /' conftest.$ac_ext >&5
25485
25486 ac_cv_sys_large_files=no
25487 fi
25488
25489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25490
25491
25492 fi
25493 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25494 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25495
25496 if test "$ac_cv_sys_large_files" != no; then
25497 wx_largefile=yes
25498 cat >>confdefs.h <<_ACEOF
25499 #define _LARGE_FILES $ac_cv_sys_large_files
25500 _ACEOF
25501
25502 fi
25503
25504 fi
25505
25506 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25507 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25508 if test "x$wx_largefile" = "xyes"; then
25509 cat >>confdefs.h <<\_ACEOF
25510 #define HAVE_LARGEFILE_SUPPORT 1
25511 _ACEOF
25512
25513 fi
25514 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25515 echo "${ECHO_T}$wx_largefile" >&6; }
25516 fi
25517
25518
25519 if test "x$wx_largefile" = "xyes"; then
25520 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25521 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25522
25523 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25524 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25525 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25526 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25528 else
25529
25530 ac_ext=cpp
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25535
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542
25543 int
25544 main ()
25545 {
25546
25547 #ifndef __STDC_EXT__
25548 choke me
25549 #endif
25550
25551 ;
25552 return 0;
25553 }
25554 _ACEOF
25555 rm -f conftest.$ac_objext
25556 if { (ac_try="$ac_compile"
25557 case "(($ac_try" in
25558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25559 *) ac_try_echo=$ac_try;;
25560 esac
25561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25562 (eval "$ac_compile") 2>conftest.er1
25563 ac_status=$?
25564 grep -v '^ *+' conftest.er1 >conftest.err
25565 rm -f conftest.er1
25566 cat conftest.err >&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } && {
25569 test -z "$ac_cxx_werror_flag" ||
25570 test ! -s conftest.err
25571 } && test -s conftest.$ac_objext; then
25572 wx_cv_STDC_EXT_required=no
25573 else
25574 echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.$ac_ext >&5
25576
25577 wx_cv_STDC_EXT_required=yes
25578
25579 fi
25580
25581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25582 ac_ext=c
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25587
25588
25589
25590 fi
25591 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25592 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25593 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25594 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25595 fi
25596 fi
25597 else
25598 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25599 fi
25600 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25601 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25602 if test "${ac_cv_sys_largefile_source+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25604 else
25605 while :; do
25606 cat >conftest.$ac_ext <<_ACEOF
25607 /* confdefs.h. */
25608 _ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 #include <sys/types.h> /* for off_t */
25613 #include <stdio.h>
25614 int
25615 main ()
25616 {
25617 int (*fp) (FILE *, off_t, int) = fseeko;
25618 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25619 ;
25620 return 0;
25621 }
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (ac_try="$ac_link"
25625 case "(($ac_try" in
25626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25627 *) ac_try_echo=$ac_try;;
25628 esac
25629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25630 (eval "$ac_link") 2>conftest.er1
25631 ac_status=$?
25632 grep -v '^ *+' conftest.er1 >conftest.err
25633 rm -f conftest.er1
25634 cat conftest.err >&5
25635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25636 (exit $ac_status); } && {
25637 test -z "$ac_c_werror_flag" ||
25638 test ! -s conftest.err
25639 } && test -s conftest$ac_exeext &&
25640 $as_test_x conftest$ac_exeext; then
25641 ac_cv_sys_largefile_source=no; break
25642 else
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25645
25646
25647 fi
25648
25649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25650 conftest$ac_exeext conftest.$ac_ext
25651 cat >conftest.$ac_ext <<_ACEOF
25652 /* confdefs.h. */
25653 _ACEOF
25654 cat confdefs.h >>conftest.$ac_ext
25655 cat >>conftest.$ac_ext <<_ACEOF
25656 /* end confdefs.h. */
25657 #define _LARGEFILE_SOURCE 1
25658 #include <sys/types.h> /* for off_t */
25659 #include <stdio.h>
25660 int
25661 main ()
25662 {
25663 int (*fp) (FILE *, off_t, int) = fseeko;
25664 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25665 ;
25666 return 0;
25667 }
25668 _ACEOF
25669 rm -f conftest.$ac_objext conftest$ac_exeext
25670 if { (ac_try="$ac_link"
25671 case "(($ac_try" in
25672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25673 *) ac_try_echo=$ac_try;;
25674 esac
25675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25676 (eval "$ac_link") 2>conftest.er1
25677 ac_status=$?
25678 grep -v '^ *+' conftest.er1 >conftest.err
25679 rm -f conftest.er1
25680 cat conftest.err >&5
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); } && {
25683 test -z "$ac_c_werror_flag" ||
25684 test ! -s conftest.err
25685 } && test -s conftest$ac_exeext &&
25686 $as_test_x conftest$ac_exeext; then
25687 ac_cv_sys_largefile_source=1; break
25688 else
25689 echo "$as_me: failed program was:" >&5
25690 sed 's/^/| /' conftest.$ac_ext >&5
25691
25692
25693 fi
25694
25695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25696 conftest$ac_exeext conftest.$ac_ext
25697 ac_cv_sys_largefile_source=unknown
25698 break
25699 done
25700 fi
25701 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25702 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25703 case $ac_cv_sys_largefile_source in #(
25704 no | unknown) ;;
25705 *)
25706 cat >>confdefs.h <<_ACEOF
25707 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25708 _ACEOF
25709 ;;
25710 esac
25711 rm -f conftest*
25712
25713 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25714 # in glibc 2.1.3, but that breaks too many other things.
25715 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25716 if test $ac_cv_sys_largefile_source != unknown; then
25717
25718 cat >>confdefs.h <<\_ACEOF
25719 #define HAVE_FSEEKO 1
25720 _ACEOF
25721
25722 fi
25723
25724 if test "$ac_cv_sys_largefile_source" != no; then
25725 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25726 fi
25727 fi
25728
25729 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25730 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25731 if test "${ac_cv_c_bigendian+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25733 else
25734 ac_cv_c_bigendian=unknown
25735 # See if sys/param.h defines the BYTE_ORDER macro.
25736 cat >conftest.$ac_ext <<_ACEOF
25737 /* confdefs.h. */
25738 _ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 #include <sys/types.h>
25743 #include <sys/param.h>
25744 int
25745 main ()
25746 {
25747
25748 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25749 bogus endian macros
25750 #endif
25751 ;
25752 return 0;
25753 }
25754 _ACEOF
25755 rm -f conftest.$ac_objext
25756 if { (ac_try="$ac_compile"
25757 case "(($ac_try" in
25758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25759 *) ac_try_echo=$ac_try;;
25760 esac
25761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25762 (eval "$ac_compile") 2>conftest.er1
25763 ac_status=$?
25764 grep -v '^ *+' conftest.er1 >conftest.err
25765 rm -f conftest.er1
25766 cat conftest.err >&5
25767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768 (exit $ac_status); } && {
25769 test -z "$ac_c_werror_flag" ||
25770 test ! -s conftest.err
25771 } && test -s conftest.$ac_objext; then
25772 # It does; now see whether it defined to BIG_ENDIAN or not.
25773 cat >conftest.$ac_ext <<_ACEOF
25774 /* confdefs.h. */
25775 _ACEOF
25776 cat confdefs.h >>conftest.$ac_ext
25777 cat >>conftest.$ac_ext <<_ACEOF
25778 /* end confdefs.h. */
25779 #include <sys/types.h>
25780 #include <sys/param.h>
25781 int
25782 main ()
25783 {
25784
25785 #if BYTE_ORDER != BIG_ENDIAN
25786 not big endian
25787 #endif
25788 ;
25789 return 0;
25790 }
25791 _ACEOF
25792 rm -f conftest.$ac_objext
25793 if { (ac_try="$ac_compile"
25794 case "(($ac_try" in
25795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25796 *) ac_try_echo=$ac_try;;
25797 esac
25798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25799 (eval "$ac_compile") 2>conftest.er1
25800 ac_status=$?
25801 grep -v '^ *+' conftest.er1 >conftest.err
25802 rm -f conftest.er1
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } && {
25806 test -z "$ac_c_werror_flag" ||
25807 test ! -s conftest.err
25808 } && test -s conftest.$ac_objext; then
25809 ac_cv_c_bigendian=yes
25810 else
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.$ac_ext >&5
25813
25814 ac_cv_c_bigendian=no
25815 fi
25816
25817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25818 else
25819 echo "$as_me: failed program was:" >&5
25820 sed 's/^/| /' conftest.$ac_ext >&5
25821
25822
25823 fi
25824
25825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25826 if test $ac_cv_c_bigendian = unknown; then
25827 if test "$cross_compiling" = yes; then
25828 ac_cv_c_bigendian=unknown
25829 else
25830 cat >conftest.$ac_ext <<_ACEOF
25831 /* confdefs.h. */
25832 _ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25836 main () {
25837 /* Are we little or big endian? From Harbison&Steele. */
25838 union
25839 {
25840 long l;
25841 char c[sizeof (long)];
25842 } u;
25843 u.l = 1;
25844 exit (u.c[sizeof (long) - 1] == 1);
25845 }
25846 _ACEOF
25847 rm -f conftest$ac_exeext
25848 if { (ac_try="$ac_link"
25849 case "(($ac_try" in
25850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25851 *) ac_try_echo=$ac_try;;
25852 esac
25853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25854 (eval "$ac_link") 2>&5
25855 ac_status=$?
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25858 { (case "(($ac_try" in
25859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25861 esac
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_try") 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; }; then
25867 ac_cv_c_bigendian=no
25868 else
25869 echo "$as_me: program exited with status $ac_status" >&5
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 ( exit $ac_status )
25874 ac_cv_c_bigendian=yes
25875 fi
25876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25877 fi
25878
25879
25880 fi
25881 fi
25882 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25883 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25884 if test $ac_cv_c_bigendian = unknown; then
25885 { 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
25886 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;}
25887 fi
25888 if test $ac_cv_c_bigendian = yes; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define WORDS_BIGENDIAN 1
25891 _ACEOF
25892
25893 fi
25894
25895
25896
25897
25898 ac_ext=cpp
25899 ac_cpp='$CXXCPP $CPPFLAGS'
25900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25903
25904
25905 { echo "$as_me:$LINENO: checking for iostream" >&5
25906 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
25907 if test "${ac_cv_header_iostream+set}" = set; then
25908 echo $ECHO_N "(cached) $ECHO_C" >&6
25909 else
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916
25917
25918 #include <iostream>
25919 _ACEOF
25920 rm -f conftest.$ac_objext
25921 if { (ac_try="$ac_compile"
25922 case "(($ac_try" in
25923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25924 *) ac_try_echo=$ac_try;;
25925 esac
25926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25927 (eval "$ac_compile") 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } && {
25934 test -z "$ac_cxx_werror_flag" ||
25935 test ! -s conftest.err
25936 } && test -s conftest.$ac_objext; then
25937 ac_cv_header_iostream=yes
25938 else
25939 echo "$as_me: failed program was:" >&5
25940 sed 's/^/| /' conftest.$ac_ext >&5
25941
25942 ac_cv_header_iostream=no
25943 fi
25944
25945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25946 fi
25947 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
25948 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
25949
25950
25951
25952 if test "$ac_cv_header_iostream" = "yes" ; then
25953 :
25954 else
25955 cat >>confdefs.h <<\_ACEOF
25956 #define wxUSE_IOSTREAMH 1
25957 _ACEOF
25958
25959 fi
25960
25961 ac_ext=c
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25966
25967
25968
25969
25970 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25971 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25972 if test "${wx_cv_cpp_bool+set}" = set; then
25973 echo $ECHO_N "(cached) $ECHO_C" >&6
25974 else
25975
25976
25977 ac_ext=cpp
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982
25983
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990
25991
25992 int
25993 main ()
25994 {
25995
25996 bool b = true;
25997
25998 return 0;
25999
26000 ;
26001 return 0;
26002 }
26003 _ACEOF
26004 rm -f conftest.$ac_objext
26005 if { (ac_try="$ac_compile"
26006 case "(($ac_try" in
26007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26008 *) ac_try_echo=$ac_try;;
26009 esac
26010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26011 (eval "$ac_compile") 2>conftest.er1
26012 ac_status=$?
26013 grep -v '^ *+' conftest.er1 >conftest.err
26014 rm -f conftest.er1
26015 cat conftest.err >&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); } && {
26018 test -z "$ac_cxx_werror_flag" ||
26019 test ! -s conftest.err
26020 } && test -s conftest.$ac_objext; then
26021
26022 wx_cv_cpp_bool=yes
26023
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26027
26028
26029 wx_cv_cpp_bool=no
26030
26031
26032 fi
26033
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035
26036 ac_ext=c
26037 ac_cpp='$CPP $CPPFLAGS'
26038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041
26042
26043 fi
26044 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26045 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26046
26047 if test "$wx_cv_cpp_bool" = "yes"; then
26048 cat >>confdefs.h <<\_ACEOF
26049 #define HAVE_BOOL 1
26050 _ACEOF
26051
26052 fi
26053
26054
26055
26056 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26057 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26058 if test "${wx_cv_explicit+set}" = set; then
26059 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 else
26061
26062
26063 ac_ext=cpp
26064 ac_cpp='$CXXCPP $CPPFLAGS'
26065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26068
26069
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076
26077 class Foo { public: explicit Foo(int) {} };
26078
26079 int
26080 main ()
26081 {
26082
26083 return 0;
26084
26085 ;
26086 return 0;
26087 }
26088 _ACEOF
26089 rm -f conftest.$ac_objext
26090 if { (ac_try="$ac_compile"
26091 case "(($ac_try" in
26092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26093 *) ac_try_echo=$ac_try;;
26094 esac
26095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26096 (eval "$ac_compile") 2>conftest.er1
26097 ac_status=$?
26098 grep -v '^ *+' conftest.er1 >conftest.err
26099 rm -f conftest.er1
26100 cat conftest.err >&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } && {
26103 test -z "$ac_cxx_werror_flag" ||
26104 test ! -s conftest.err
26105 } && test -s conftest.$ac_objext; then
26106
26107 cat >conftest.$ac_ext <<_ACEOF
26108 /* confdefs.h. */
26109 _ACEOF
26110 cat confdefs.h >>conftest.$ac_ext
26111 cat >>conftest.$ac_ext <<_ACEOF
26112 /* end confdefs.h. */
26113
26114 class Foo { public: explicit Foo(int) {} };
26115 static void TakeFoo(const Foo& foo) { }
26116
26117 int
26118 main ()
26119 {
26120
26121 TakeFoo(17);
26122 return 0;
26123
26124 ;
26125 return 0;
26126 }
26127 _ACEOF
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26132 *) ac_try_echo=$ac_try;;
26133 esac
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } && {
26142 test -z "$ac_cxx_werror_flag" ||
26143 test ! -s conftest.err
26144 } && test -s conftest.$ac_objext; then
26145 wx_cv_explicit=no
26146 else
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150 wx_cv_explicit=yes
26151
26152 fi
26153
26154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26155
26156 else
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.$ac_ext >&5
26159
26160 wx_cv_explicit=no
26161
26162 fi
26163
26164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26165
26166 ac_ext=c
26167 ac_cpp='$CPP $CPPFLAGS'
26168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26171
26172
26173 fi
26174 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26175 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26176
26177 if test "$wx_cv_explicit" = "yes"; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_EXPLICIT 1
26180 _ACEOF
26181
26182 fi
26183
26184
26185 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26186 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26187 if test "${ac_cv_cxx_const_cast+set}" = set; then
26188 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 else
26190
26191 ac_ext=cpp
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26196
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h. */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203
26204 int
26205 main ()
26206 {
26207 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26208 ;
26209 return 0;
26210 }
26211 _ACEOF
26212 rm -f conftest.$ac_objext
26213 if { (ac_try="$ac_compile"
26214 case "(($ac_try" in
26215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26216 *) ac_try_echo=$ac_try;;
26217 esac
26218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26219 (eval "$ac_compile") 2>conftest.er1
26220 ac_status=$?
26221 grep -v '^ *+' conftest.er1 >conftest.err
26222 rm -f conftest.er1
26223 cat conftest.err >&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } && {
26226 test -z "$ac_cxx_werror_flag" ||
26227 test ! -s conftest.err
26228 } && test -s conftest.$ac_objext; then
26229 ac_cv_cxx_const_cast=yes
26230 else
26231 echo "$as_me: failed program was:" >&5
26232 sed 's/^/| /' conftest.$ac_ext >&5
26233
26234 ac_cv_cxx_const_cast=no
26235 fi
26236
26237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 ac_ext=c
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26243
26244
26245 fi
26246 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26247 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26248 if test "$ac_cv_cxx_const_cast" = yes; then
26249
26250 cat >>confdefs.h <<\_ACEOF
26251 #define HAVE_CONST_CAST
26252 _ACEOF
26253
26254 fi
26255
26256 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26257 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26258 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26261
26262 ac_ext=cpp
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267
26268 cat >conftest.$ac_ext <<_ACEOF
26269 /* confdefs.h. */
26270 _ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26274 #include <typeinfo>
26275 class Base { public : Base () {} virtual void f () = 0;};
26276 class Derived : public Base { public : Derived () {} virtual void f () {} };
26277 class Unrelated { public : Unrelated () {} };
26278 int g (Unrelated&) { return 0; }
26279 int
26280 main ()
26281 {
26282
26283 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26284 ;
26285 return 0;
26286 }
26287 _ACEOF
26288 rm -f conftest.$ac_objext
26289 if { (ac_try="$ac_compile"
26290 case "(($ac_try" in
26291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26292 *) ac_try_echo=$ac_try;;
26293 esac
26294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26295 (eval "$ac_compile") 2>conftest.er1
26296 ac_status=$?
26297 grep -v '^ *+' conftest.er1 >conftest.err
26298 rm -f conftest.er1
26299 cat conftest.err >&5
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); } && {
26302 test -z "$ac_cxx_werror_flag" ||
26303 test ! -s conftest.err
26304 } && test -s conftest.$ac_objext; then
26305 ac_cv_cxx_reinterpret_cast=yes
26306 else
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.$ac_ext >&5
26309
26310 ac_cv_cxx_reinterpret_cast=no
26311 fi
26312
26313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26314 ac_ext=c
26315 ac_cpp='$CPP $CPPFLAGS'
26316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26319
26320
26321 fi
26322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26323 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26324 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26325
26326 cat >>confdefs.h <<\_ACEOF
26327 #define HAVE_REINTERPRET_CAST
26328 _ACEOF
26329
26330 fi
26331
26332 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26333 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26334 if test "${ac_cv_cxx_static_cast+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 else
26337
26338 ac_ext=cpp
26339 ac_cpp='$CXXCPP $CPPFLAGS'
26340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26343
26344 cat >conftest.$ac_ext <<_ACEOF
26345 /* confdefs.h. */
26346 _ACEOF
26347 cat confdefs.h >>conftest.$ac_ext
26348 cat >>conftest.$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26350 #include <typeinfo>
26351 class Base { public : Base () {} virtual void f () = 0; };
26352 class Derived : public Base { public : Derived () {} virtual void f () {} };
26353 int g (Derived&) { return 0; }
26354 int
26355 main ()
26356 {
26357
26358 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26359 ;
26360 return 0;
26361 }
26362 _ACEOF
26363 rm -f conftest.$ac_objext
26364 if { (ac_try="$ac_compile"
26365 case "(($ac_try" in
26366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367 *) ac_try_echo=$ac_try;;
26368 esac
26369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370 (eval "$ac_compile") 2>conftest.er1
26371 ac_status=$?
26372 grep -v '^ *+' conftest.er1 >conftest.err
26373 rm -f conftest.er1
26374 cat conftest.err >&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && {
26377 test -z "$ac_cxx_werror_flag" ||
26378 test ! -s conftest.err
26379 } && test -s conftest.$ac_objext; then
26380 ac_cv_cxx_static_cast=yes
26381 else
26382 echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26384
26385 ac_cv_cxx_static_cast=no
26386 fi
26387
26388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26389 ac_ext=c
26390 ac_cpp='$CPP $CPPFLAGS'
26391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394
26395
26396 fi
26397 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26398 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26399 if test "$ac_cv_cxx_static_cast" = yes; then
26400
26401 cat >>confdefs.h <<\_ACEOF
26402 #define HAVE_STATIC_CAST
26403 _ACEOF
26404
26405 fi
26406
26407
26408 if test "x$SUNCXX" = xyes; then
26409 CXXFLAGS="-features=tmplife $CXXFLAGS"
26410 fi
26411
26412 if test "x$SUNCC" = xyes; then
26413 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26414 fi
26415
26416 if test "x$SGICC" = "xyes"; then
26417 CFLAGS="-woff 3970 $CFLAGS"
26418 fi
26419 if test "x$SGICXX" = "xyes"; then
26420 CXXFLAGS="-woff 3970 $CXXFLAGS"
26421 fi
26422
26423 if test "x$HPCC" = "xyes"; then
26424 CFLAGS="+W 2011,2450 $CFLAGS"
26425 fi
26426 if test "x$HPCXX" = "xyes"; then
26427 CXXFLAGS="+W 2340 $CXXFLAGS"
26428 fi
26429
26430 if test "x$COMPAQCXX" = "xyes"; then
26431 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26432 fi
26433
26434 ac_ext=cpp
26435 ac_cpp='$CXXCPP $CPPFLAGS'
26436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26439
26440
26441 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26442 if test "$wxUSE_UNICODE" = "yes"; then
26443 std_string="std::wstring"
26444 char_type="wchar_t"
26445 else
26446 std_string="std::string"
26447 char_type="char"
26448 fi
26449
26450 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26451 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26452 if test "${wx_cv_class_stdstring+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 else
26455
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 #include <string>
26463 int
26464 main ()
26465 {
26466 $std_string foo;
26467 ;
26468 return 0;
26469 }
26470 _ACEOF
26471 rm -f conftest.$ac_objext
26472 if { (ac_try="$ac_compile"
26473 case "(($ac_try" in
26474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26475 *) ac_try_echo=$ac_try;;
26476 esac
26477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26478 (eval "$ac_compile") 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } && {
26485 test -z "$ac_cxx_werror_flag" ||
26486 test ! -s conftest.err
26487 } && test -s conftest.$ac_objext; then
26488 wx_cv_class_stdstring=yes
26489 else
26490 echo "$as_me: failed program was:" >&5
26491 sed 's/^/| /' conftest.$ac_ext >&5
26492
26493 wx_cv_class_stdstring=no
26494
26495 fi
26496
26497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26498
26499
26500 fi
26501 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26502 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26503
26504 if test "$wx_cv_class_stdstring" = yes; then
26505 if test "$wxUSE_UNICODE" = "yes"; then
26506 cat >>confdefs.h <<\_ACEOF
26507 #define HAVE_STD_WSTRING 1
26508 _ACEOF
26509
26510 fi
26511 else
26512 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26513 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26514 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517
26518 cat >conftest.$ac_ext <<_ACEOF
26519 /* confdefs.h. */
26520 _ACEOF
26521 cat confdefs.h >>conftest.$ac_ext
26522 cat >>conftest.$ac_ext <<_ACEOF
26523 /* end confdefs.h. */
26524
26525 #ifdef HAVE_WCHAR_H
26526 # ifdef __CYGWIN__
26527 # include <stddef.h>
26528 # endif
26529 # include <wchar.h>
26530 #endif
26531 #ifdef HAVE_STDLIB_H
26532 # include <stdlib.h>
26533 #endif
26534 #include <stdio.h>
26535 #include <string>
26536
26537 int
26538 main ()
26539 {
26540 std::basic_string<$char_type> foo;
26541 const $char_type* dummy = foo.c_str();
26542 ;
26543 return 0;
26544 }
26545 _ACEOF
26546 rm -f conftest.$ac_objext
26547 if { (ac_try="$ac_compile"
26548 case "(($ac_try" in
26549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26550 *) ac_try_echo=$ac_try;;
26551 esac
26552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26553 (eval "$ac_compile") 2>conftest.er1
26554 ac_status=$?
26555 grep -v '^ *+' conftest.er1 >conftest.err
26556 rm -f conftest.er1
26557 cat conftest.err >&5
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } && {
26560 test -z "$ac_cxx_werror_flag" ||
26561 test ! -s conftest.err
26562 } && test -s conftest.$ac_objext; then
26563 wx_cv_class_stdbasicstring=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 wx_cv_class_stdbasicstring=no
26569
26570 fi
26571
26572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26573
26574
26575 fi
26576 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26577 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26578
26579 if test "$wx_cv_class_stdbasicstring" != yes; then
26580 if test "$wxUSE_STL" = "yes"; then
26581 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26582 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26583 { (exit 1); exit 1; }; }
26584 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26585 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26586 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26587 { (exit 1); exit 1; }; }
26588 else
26589 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26590 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26591 wxUSE_STD_STRING=no
26592 fi
26593 fi
26594 fi
26595 fi
26596
26597 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26598 { echo "$as_me:$LINENO: checking for std::istream" >&5
26599 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26600 if test "${ac_cv_type_std__istream+set}" = set; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 else
26603 cat >conftest.$ac_ext <<_ACEOF
26604 /* confdefs.h. */
26605 _ACEOF
26606 cat confdefs.h >>conftest.$ac_ext
26607 cat >>conftest.$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 #include <iostream>
26610
26611 typedef std::istream ac__type_new_;
26612 int
26613 main ()
26614 {
26615 if ((ac__type_new_ *) 0)
26616 return 0;
26617 if (sizeof (ac__type_new_))
26618 return 0;
26619 ;
26620 return 0;
26621 }
26622 _ACEOF
26623 rm -f conftest.$ac_objext
26624 if { (ac_try="$ac_compile"
26625 case "(($ac_try" in
26626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26627 *) ac_try_echo=$ac_try;;
26628 esac
26629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26630 (eval "$ac_compile") 2>conftest.er1
26631 ac_status=$?
26632 grep -v '^ *+' conftest.er1 >conftest.err
26633 rm -f conftest.er1
26634 cat conftest.err >&5
26635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26636 (exit $ac_status); } && {
26637 test -z "$ac_cxx_werror_flag" ||
26638 test ! -s conftest.err
26639 } && test -s conftest.$ac_objext; then
26640 ac_cv_type_std__istream=yes
26641 else
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.$ac_ext >&5
26644
26645 ac_cv_type_std__istream=no
26646 fi
26647
26648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26649 fi
26650 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26651 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26652 if test $ac_cv_type_std__istream = yes; then
26653
26654 cat >>confdefs.h <<_ACEOF
26655 #define HAVE_STD__ISTREAM 1
26656 _ACEOF
26657
26658
26659 else
26660 wxUSE_STD_IOSTREAM=no
26661 fi
26662 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26663 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26664 if test "${ac_cv_type_std__ostream+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 else
26667 cat >conftest.$ac_ext <<_ACEOF
26668 /* confdefs.h. */
26669 _ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 #include <iostream>
26674
26675 typedef std::ostream ac__type_new_;
26676 int
26677 main ()
26678 {
26679 if ((ac__type_new_ *) 0)
26680 return 0;
26681 if (sizeof (ac__type_new_))
26682 return 0;
26683 ;
26684 return 0;
26685 }
26686 _ACEOF
26687 rm -f conftest.$ac_objext
26688 if { (ac_try="$ac_compile"
26689 case "(($ac_try" in
26690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26691 *) ac_try_echo=$ac_try;;
26692 esac
26693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26694 (eval "$ac_compile") 2>conftest.er1
26695 ac_status=$?
26696 grep -v '^ *+' conftest.er1 >conftest.err
26697 rm -f conftest.er1
26698 cat conftest.err >&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } && {
26701 test -z "$ac_cxx_werror_flag" ||
26702 test ! -s conftest.err
26703 } && test -s conftest.$ac_objext; then
26704 ac_cv_type_std__ostream=yes
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26708
26709 ac_cv_type_std__ostream=no
26710 fi
26711
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26713 fi
26714 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26715 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26716 if test $ac_cv_type_std__ostream = yes; then
26717
26718 cat >>confdefs.h <<_ACEOF
26719 #define HAVE_STD__OSTREAM 1
26720 _ACEOF
26721
26722
26723 else
26724 wxUSE_STD_IOSTREAM=no
26725 fi
26726
26727
26728 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26729 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26730 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26731 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26732 { (exit 1); exit 1; }; }
26733 else
26734 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26735 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26736 fi
26737 fi
26738 fi
26739
26740 if test "$wxUSE_STL" = "yes"; then
26741 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26742 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26743 if test "${wx_cv_lib_stl+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 else
26746 cat >conftest.$ac_ext <<_ACEOF
26747 /* confdefs.h. */
26748 _ACEOF
26749 cat confdefs.h >>conftest.$ac_ext
26750 cat >>conftest.$ac_ext <<_ACEOF
26751 /* end confdefs.h. */
26752 #include <string>
26753 #include <functional>
26754 #include <algorithm>
26755 #include <vector>
26756 #include <list>
26757 int
26758 main ()
26759 {
26760 std::vector<int> moo;
26761 std::list<int> foo;
26762 std::vector<int>::iterator it =
26763 std::find_if(moo.begin(), moo.end(),
26764 std::bind2nd(std::less<int>(), 3));
26765 ;
26766 return 0;
26767 }
26768 _ACEOF
26769 rm -f conftest.$ac_objext
26770 if { (ac_try="$ac_compile"
26771 case "(($ac_try" in
26772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26773 *) ac_try_echo=$ac_try;;
26774 esac
26775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26776 (eval "$ac_compile") 2>conftest.er1
26777 ac_status=$?
26778 grep -v '^ *+' conftest.er1 >conftest.err
26779 rm -f conftest.er1
26780 cat conftest.err >&5
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); } && {
26783 test -z "$ac_cxx_werror_flag" ||
26784 test ! -s conftest.err
26785 } && test -s conftest.$ac_objext; then
26786 wx_cv_lib_stl=yes
26787 else
26788 echo "$as_me: failed program was:" >&5
26789 sed 's/^/| /' conftest.$ac_ext >&5
26790
26791 wx_cv_lib_stl=no
26792
26793 fi
26794
26795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26796
26797 fi
26798 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26799 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26800
26801 if test "$wx_cv_lib_stl" != yes; then
26802 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26803 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26804 { (exit 1); exit 1; }; }
26805 fi
26806
26807 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26808 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26809 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 else
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h. */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818 #include <string>
26819 int
26820 main ()
26821 {
26822 std::string foo, bar;
26823 foo.compare(bar);
26824 foo.compare(1, 1, bar);
26825 foo.compare(1, 1, bar, 1, 1);
26826 foo.compare("");
26827 foo.compare(1, 1, "");
26828 foo.compare(1, 1, "", 2);
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 wx_cv_func_stdstring_compare=yes
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 wx_cv_func_stdstring_compare=no
26856
26857 fi
26858
26859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26860
26861 fi
26862 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26863 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26864
26865 if test "$wx_cv_func_stdstring_compare" = yes; then
26866 cat >>confdefs.h <<\_ACEOF
26867 #define HAVE_STD_STRING_COMPARE 1
26868 _ACEOF
26869
26870 fi
26871
26872 { echo "$as_me:$LINENO: checking for hash_map" >&5
26873 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26874 if test "${ac_cv_header_hash_map+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26877 cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h. */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883
26884
26885
26886 #include <hash_map>
26887 _ACEOF
26888 rm -f conftest.$ac_objext
26889 if { (ac_try="$ac_compile"
26890 case "(($ac_try" in
26891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26892 *) ac_try_echo=$ac_try;;
26893 esac
26894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26895 (eval "$ac_compile") 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } && {
26902 test -z "$ac_cxx_werror_flag" ||
26903 test ! -s conftest.err
26904 } && test -s conftest.$ac_objext; then
26905 ac_cv_header_hash_map=yes
26906 else
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26909
26910 ac_cv_header_hash_map=no
26911 fi
26912
26913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26914 fi
26915 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26916 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26917 if test $ac_cv_header_hash_map = yes; then
26918 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26919 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26920 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26921 echo $ECHO_N "(cached) $ECHO_C" >&6
26922 else
26923 cat >conftest.$ac_ext <<_ACEOF
26924 /* confdefs.h. */
26925 _ACEOF
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <hash_map>
26930 #include <hash_set>
26931 int
26932 main ()
26933 {
26934 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26935 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26936 ;
26937 return 0;
26938 }
26939 _ACEOF
26940 rm -f conftest.$ac_objext
26941 if { (ac_try="$ac_compile"
26942 case "(($ac_try" in
26943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26944 *) ac_try_echo=$ac_try;;
26945 esac
26946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26947 (eval "$ac_compile") 2>conftest.er1
26948 ac_status=$?
26949 grep -v '^ *+' conftest.er1 >conftest.err
26950 rm -f conftest.er1
26951 cat conftest.err >&5
26952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26953 (exit $ac_status); } && {
26954 test -z "$ac_cxx_werror_flag" ||
26955 test ! -s conftest.err
26956 } && test -s conftest.$ac_objext; then
26957 wx_cv_class_stdhashmapset=yes
26958 else
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.$ac_ext >&5
26961
26962 wx_cv_class_stdhashmapset=no
26963 fi
26964
26965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26966
26967
26968 fi
26969 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26970 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26971 fi
26972
26973
26974
26975 if test "$wx_cv_class_stdhashmapset" = yes; then
26976 cat >>confdefs.h <<\_ACEOF
26977 #define HAVE_HASH_MAP 1
26978 _ACEOF
26979
26980 cat >>confdefs.h <<\_ACEOF
26981 #define HAVE_STD_HASH_MAP 1
26982 _ACEOF
26983
26984 fi
26985
26986 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26987 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26988 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26989 echo $ECHO_N "(cached) $ECHO_C" >&6
26990 else
26991 cat >conftest.$ac_ext <<_ACEOF
26992 /* confdefs.h. */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997
26998
26999
27000 #include <ext/hash_map>
27001 _ACEOF
27002 rm -f conftest.$ac_objext
27003 if { (ac_try="$ac_compile"
27004 case "(($ac_try" in
27005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27006 *) ac_try_echo=$ac_try;;
27007 esac
27008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27009 (eval "$ac_compile") 2>conftest.er1
27010 ac_status=$?
27011 grep -v '^ *+' conftest.er1 >conftest.err
27012 rm -f conftest.er1
27013 cat conftest.err >&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } && {
27016 test -z "$ac_cxx_werror_flag" ||
27017 test ! -s conftest.err
27018 } && test -s conftest.$ac_objext; then
27019 ac_cv_header_ext_hash_map=yes
27020 else
27021 echo "$as_me: failed program was:" >&5
27022 sed 's/^/| /' conftest.$ac_ext >&5
27023
27024 ac_cv_header_ext_hash_map=no
27025 fi
27026
27027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27028 fi
27029 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27030 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27031 if test $ac_cv_header_ext_hash_map = yes; then
27032 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27033 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27034 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27035 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 else
27037 cat >conftest.$ac_ext <<_ACEOF
27038 /* confdefs.h. */
27039 _ACEOF
27040 cat confdefs.h >>conftest.$ac_ext
27041 cat >>conftest.$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27043 #include <ext/hash_map>
27044 #include <ext/hash_set>
27045 int
27046 main ()
27047 {
27048 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27049 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27050 ;
27051 return 0;
27052 }
27053 _ACEOF
27054 rm -f conftest.$ac_objext
27055 if { (ac_try="$ac_compile"
27056 case "(($ac_try" in
27057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27058 *) ac_try_echo=$ac_try;;
27059 esac
27060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27061 (eval "$ac_compile") 2>conftest.er1
27062 ac_status=$?
27063 grep -v '^ *+' conftest.er1 >conftest.err
27064 rm -f conftest.er1
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } && {
27068 test -z "$ac_cxx_werror_flag" ||
27069 test ! -s conftest.err
27070 } && test -s conftest.$ac_objext; then
27071 wx_cv_class_gnuhashmapset=yes
27072 else
27073 echo "$as_me: failed program was:" >&5
27074 sed 's/^/| /' conftest.$ac_ext >&5
27075
27076 wx_cv_class_gnuhashmapset=no
27077 fi
27078
27079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080
27081
27082 fi
27083 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27084 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27085 fi
27086
27087
27088
27089 if test "$wx_cv_class_gnuhashmapset" = yes; then
27090 cat >>confdefs.h <<\_ACEOF
27091 #define HAVE_EXT_HASH_MAP 1
27092 _ACEOF
27093
27094 cat >>confdefs.h <<\_ACEOF
27095 #define HAVE_GNU_CXX_HASH_MAP 1
27096 _ACEOF
27097
27098 fi
27099 fi
27100
27101 ac_ext=c
27102 ac_cpp='$CPP $CPPFLAGS'
27103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27106
27107
27108
27109 SEARCH_INCLUDE="\
27110 /usr/local/include \
27111 \
27112 /usr/Motif-2.1/include \
27113 /usr/Motif-1.2/include \
27114 /usr/include/Motif1.2 \
27115 \
27116 /usr/dt/include \
27117 /usr/openwin/include \
27118 \
27119 /usr/include/Xm \
27120 \
27121 /usr/X11R6/include \
27122 /usr/X11R6.4/include \
27123 /usr/X11R5/include \
27124 /usr/X11R4/include \
27125 \
27126 /usr/include/X11R6 \
27127 /usr/include/X11R5 \
27128 /usr/include/X11R4 \
27129 \
27130 /usr/local/X11R6/include \
27131 /usr/local/X11R5/include \
27132 /usr/local/X11R4/include \
27133 \
27134 /usr/local/include/X11R6 \
27135 /usr/local/include/X11R5 \
27136 /usr/local/include/X11R4 \
27137 \
27138 /usr/X11/include \
27139 /usr/include/X11 \
27140 /usr/local/X11/include \
27141 /usr/local/include/X11 \
27142 \
27143 /usr/XFree86/include/X11 \
27144 /usr/pkg/include \
27145 \
27146 /usr/openwin/share/include"
27147
27148 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27149 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27150
27151 case "${host}" in
27152 *-*-irix6* )
27153 if test "${wx_cv_std_libpath+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 else
27156
27157 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27158 for e in a so sl dylib dll.a; do
27159 libc="$d/libc.$e"
27160 if test -f $libc; then
27161 save_LIBS="$LIBS"
27162 LIBS="$libc"
27163 cat >conftest.$ac_ext <<_ACEOF
27164 int main() { return 0; }
27165 _ACEOF
27166 rm -f conftest.$ac_objext conftest$ac_exeext
27167 if { (ac_try="$ac_link"
27168 case "(($ac_try" in
27169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27170 *) ac_try_echo=$ac_try;;
27171 esac
27172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27173 (eval "$ac_link") 2>conftest.er1
27174 ac_status=$?
27175 grep -v '^ *+' conftest.er1 >conftest.err
27176 rm -f conftest.er1
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } && {
27180 test -z "$ac_c_werror_flag" ||
27181 test ! -s conftest.err
27182 } && test -s conftest$ac_exeext &&
27183 $as_test_x conftest$ac_exeext; then
27184 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27185 else
27186 echo "$as_me: failed program was:" >&5
27187 sed 's/^/| /' conftest.$ac_ext >&5
27188
27189
27190 fi
27191
27192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27193 conftest$ac_exeext conftest.$ac_ext
27194 LIBS="$save_LIBS"
27195 if test "x$wx_cv_std_libpath" != "x"; then
27196 break 2
27197 fi
27198 fi
27199 done
27200 done
27201 if test "x$wx_cv_std_libpath" = "x"; then
27202 wx_cv_std_libpath="lib"
27203 fi
27204
27205
27206 fi
27207
27208 ;;
27209
27210 *-*-solaris2* )
27211 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27212 wx_cv_std_libpath="lib/64"
27213 else
27214 wx_cv_std_libpath="lib"
27215 fi
27216 ;;
27217
27218 *-*-linux* )
27219 if test "$ac_cv_sizeof_void_p" = 8 -a \
27220 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27221 wx_cv_std_libpath="lib64"
27222 else
27223 wx_cv_std_libpath="lib"
27224 fi
27225 ;;
27226
27227 *)
27228 wx_cv_std_libpath="lib";
27229 ;;
27230 esac
27231
27232 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27233 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27234
27235 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27236
27237 if test "$build" != "$host" -a "$GCC" = yes; then
27238 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27239 cross_root=`dirname $cross_root`
27240 cross_root=`dirname $cross_root`
27241
27242 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27243 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27244 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27245
27246 if test -z "$PKG_CONFIG_PATH"; then
27247 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27248 export PKG_CONFIG_PATH
27249 fi
27250
27251 if test -z "$x_includes" -o "$x_includes" = NONE; then
27252
27253 ac_find_includes=
27254 for ac_dir in $SEARCH_INCLUDE /usr/include;
27255 do
27256 if test -f "$ac_dir/X11/Intrinsic.h"; then
27257 ac_find_includes=$ac_dir
27258 break
27259 fi
27260 done
27261
27262 x_includes=$ac_find_includes
27263 fi
27264 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27265
27266 ac_find_libraries=
27267 for ac_dir in $SEARCH_LIB;
27268 do
27269 for ac_extension in a so sl dylib dll.a; do
27270 if test -f "$ac_dir/libXt.$ac_extension"; then
27271 ac_find_libraries=$ac_dir
27272 break 2
27273 fi
27274 done
27275 done
27276
27277 x_libraries=$ac_find_libraries
27278 fi
27279 fi
27280 fi
27281
27282
27283 cat >confcache <<\_ACEOF
27284 # This file is a shell script that caches the results of configure
27285 # tests run on this system so they can be shared between configure
27286 # scripts and configure runs, see configure's option --config-cache.
27287 # It is not useful on other systems. If it contains results you don't
27288 # want to keep, you may remove or edit it.
27289 #
27290 # config.status only pays attention to the cache file if you give it
27291 # the --recheck option to rerun configure.
27292 #
27293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27295 # following values.
27296
27297 _ACEOF
27298
27299 # The following way of writing the cache mishandles newlines in values,
27300 # but we know of no workaround that is simple, portable, and efficient.
27301 # So, we kill variables containing newlines.
27302 # Ultrix sh set writes to stderr and can't be redirected directly,
27303 # and sets the high bit in the cache file unless we assign to the vars.
27304 (
27305 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27306 eval ac_val=\$$ac_var
27307 case $ac_val in #(
27308 *${as_nl}*)
27309 case $ac_var in #(
27310 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27311 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27312 esac
27313 case $ac_var in #(
27314 _ | IFS | as_nl) ;; #(
27315 *) $as_unset $ac_var ;;
27316 esac ;;
27317 esac
27318 done
27319
27320 (set) 2>&1 |
27321 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27322 *${as_nl}ac_space=\ *)
27323 # `set' does not quote correctly, so add quotes (double-quote
27324 # substitution turns \\\\ into \\, and sed turns \\ into \).
27325 sed -n \
27326 "s/'/'\\\\''/g;
27327 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27328 ;; #(
27329 *)
27330 # `set' quotes correctly as required by POSIX, so do not add quotes.
27331 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27332 ;;
27333 esac |
27334 sort
27335 ) |
27336 sed '
27337 /^ac_cv_env_/b end
27338 t clear
27339 :clear
27340 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27341 t end
27342 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27343 :end' >>confcache
27344 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27345 if test -w "$cache_file"; then
27346 test "x$cache_file" != "x/dev/null" &&
27347 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27348 echo "$as_me: updating cache $cache_file" >&6;}
27349 cat confcache >$cache_file
27350 else
27351 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27352 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27353 fi
27354 fi
27355 rm -f confcache
27356
27357 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27358 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27359 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27360 if test "${wx_cv_lib_glibc21+set}" = set; then
27361 echo $ECHO_N "(cached) $ECHO_C" >&6
27362 else
27363
27364 cat >conftest.$ac_ext <<_ACEOF
27365 /* confdefs.h. */
27366 _ACEOF
27367 cat confdefs.h >>conftest.$ac_ext
27368 cat >>conftest.$ac_ext <<_ACEOF
27369 /* end confdefs.h. */
27370 #include <features.h>
27371 int
27372 main ()
27373 {
27374
27375 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27376 not glibc 2.1
27377 #endif
27378
27379 ;
27380 return 0;
27381 }
27382 _ACEOF
27383 rm -f conftest.$ac_objext
27384 if { (ac_try="$ac_compile"
27385 case "(($ac_try" in
27386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27387 *) ac_try_echo=$ac_try;;
27388 esac
27389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390 (eval "$ac_compile") 2>conftest.er1
27391 ac_status=$?
27392 grep -v '^ *+' conftest.er1 >conftest.err
27393 rm -f conftest.er1
27394 cat conftest.err >&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } && {
27397 test -z "$ac_c_werror_flag" ||
27398 test ! -s conftest.err
27399 } && test -s conftest.$ac_objext; then
27400
27401 wx_cv_lib_glibc21=yes
27402
27403 else
27404 echo "$as_me: failed program was:" >&5
27405 sed 's/^/| /' conftest.$ac_ext >&5
27406
27407
27408 wx_cv_lib_glibc21=no
27409
27410
27411 fi
27412
27413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27414
27415 fi
27416 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27417 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27418 if test "$wx_cv_lib_glibc21" = "yes"; then
27419 cat >>confdefs.h <<\_ACEOF
27420 #define wxHAVE_GLIBC2 1
27421 _ACEOF
27422
27423 fi
27424 fi
27425
27426 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27427 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27428 cat >>confdefs.h <<\_ACEOF
27429 #define _GNU_SOURCE 1
27430 _ACEOF
27431
27432 fi
27433 fi
27434
27435 have_cos=0
27436 have_floor=0
27437
27438 for ac_func in cos
27439 do
27440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27441 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27443 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 else
27446 cat >conftest.$ac_ext <<_ACEOF
27447 /* confdefs.h. */
27448 _ACEOF
27449 cat confdefs.h >>conftest.$ac_ext
27450 cat >>conftest.$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27454 #define $ac_func innocuous_$ac_func
27455
27456 /* System header to define __stub macros and hopefully few prototypes,
27457 which can conflict with char $ac_func (); below.
27458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27459 <limits.h> exists even on freestanding compilers. */
27460
27461 #ifdef __STDC__
27462 # include <limits.h>
27463 #else
27464 # include <assert.h>
27465 #endif
27466
27467 #undef $ac_func
27468
27469 /* Override any GCC internal prototype to avoid an error.
27470 Use char because int might match the return type of a GCC
27471 builtin and then its argument prototype would still apply. */
27472 #ifdef __cplusplus
27473 extern "C"
27474 #endif
27475 char $ac_func ();
27476 /* The GNU C library defines this for functions which it implements
27477 to always fail with ENOSYS. Some functions are actually named
27478 something starting with __ and the normal name is an alias. */
27479 #if defined __stub_$ac_func || defined __stub___$ac_func
27480 choke me
27481 #endif
27482
27483 int
27484 main ()
27485 {
27486 return $ac_func ();
27487 ;
27488 return 0;
27489 }
27490 _ACEOF
27491 rm -f conftest.$ac_objext conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27495 *) ac_try_echo=$ac_try;;
27496 esac
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>conftest.er1
27499 ac_status=$?
27500 grep -v '^ *+' conftest.er1 >conftest.err
27501 rm -f conftest.er1
27502 cat conftest.err >&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } && {
27505 test -z "$ac_c_werror_flag" ||
27506 test ! -s conftest.err
27507 } && test -s conftest$ac_exeext &&
27508 $as_test_x conftest$ac_exeext; then
27509 eval "$as_ac_var=yes"
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 eval "$as_ac_var=no"
27515 fi
27516
27517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27518 conftest$ac_exeext conftest.$ac_ext
27519 fi
27520 ac_res=`eval echo '${'$as_ac_var'}'`
27521 { echo "$as_me:$LINENO: result: $ac_res" >&5
27522 echo "${ECHO_T}$ac_res" >&6; }
27523 if test `eval echo '${'$as_ac_var'}'` = yes; then
27524 cat >>confdefs.h <<_ACEOF
27525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27526 _ACEOF
27527 have_cos=1
27528 fi
27529 done
27530
27531
27532 for ac_func in floor
27533 do
27534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 else
27540 cat >conftest.$ac_ext <<_ACEOF
27541 /* confdefs.h. */
27542 _ACEOF
27543 cat confdefs.h >>conftest.$ac_ext
27544 cat >>conftest.$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27548 #define $ac_func innocuous_$ac_func
27549
27550 /* System header to define __stub macros and hopefully few prototypes,
27551 which can conflict with char $ac_func (); below.
27552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27553 <limits.h> exists even on freestanding compilers. */
27554
27555 #ifdef __STDC__
27556 # include <limits.h>
27557 #else
27558 # include <assert.h>
27559 #endif
27560
27561 #undef $ac_func
27562
27563 /* Override any GCC internal prototype to avoid an error.
27564 Use char because int might match the return type of a GCC
27565 builtin and then its argument prototype would still apply. */
27566 #ifdef __cplusplus
27567 extern "C"
27568 #endif
27569 char $ac_func ();
27570 /* The GNU C library defines this for functions which it implements
27571 to always fail with ENOSYS. Some functions are actually named
27572 something starting with __ and the normal name is an alias. */
27573 #if defined __stub_$ac_func || defined __stub___$ac_func
27574 choke me
27575 #endif
27576
27577 int
27578 main ()
27579 {
27580 return $ac_func ();
27581 ;
27582 return 0;
27583 }
27584 _ACEOF
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (ac_try="$ac_link"
27587 case "(($ac_try" in
27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27589 *) ac_try_echo=$ac_try;;
27590 esac
27591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27592 (eval "$ac_link") 2>conftest.er1
27593 ac_status=$?
27594 grep -v '^ *+' conftest.er1 >conftest.err
27595 rm -f conftest.er1
27596 cat conftest.err >&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); } && {
27599 test -z "$ac_c_werror_flag" ||
27600 test ! -s conftest.err
27601 } && test -s conftest$ac_exeext &&
27602 $as_test_x conftest$ac_exeext; then
27603 eval "$as_ac_var=yes"
27604 else
27605 echo "$as_me: failed program was:" >&5
27606 sed 's/^/| /' conftest.$ac_ext >&5
27607
27608 eval "$as_ac_var=no"
27609 fi
27610
27611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27612 conftest$ac_exeext conftest.$ac_ext
27613 fi
27614 ac_res=`eval echo '${'$as_ac_var'}'`
27615 { echo "$as_me:$LINENO: result: $ac_res" >&5
27616 echo "${ECHO_T}$ac_res" >&6; }
27617 if test `eval echo '${'$as_ac_var'}'` = yes; then
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27620 _ACEOF
27621 have_floor=1
27622 fi
27623 done
27624
27625 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27626 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27627 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27628 { echo "$as_me:$LINENO: result: yes" >&5
27629 echo "${ECHO_T}yes" >&6; }
27630 else
27631 { echo "$as_me:$LINENO: result: no" >&5
27632 echo "${ECHO_T}no" >&6; }
27633 LIBS="$LIBS -lm"
27634 # use different functions to avoid configure caching
27635 have_sin=0
27636 have_ceil=0
27637
27638 for ac_func in sin
27639 do
27640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27646 cat >conftest.$ac_ext <<_ACEOF
27647 /* confdefs.h. */
27648 _ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27654 #define $ac_func innocuous_$ac_func
27655
27656 /* System header to define __stub macros and hopefully few prototypes,
27657 which can conflict with char $ac_func (); below.
27658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27659 <limits.h> exists even on freestanding compilers. */
27660
27661 #ifdef __STDC__
27662 # include <limits.h>
27663 #else
27664 # include <assert.h>
27665 #endif
27666
27667 #undef $ac_func
27668
27669 /* Override any GCC internal prototype to avoid an error.
27670 Use char because int might match the return type of a GCC
27671 builtin and then its argument prototype would still apply. */
27672 #ifdef __cplusplus
27673 extern "C"
27674 #endif
27675 char $ac_func ();
27676 /* The GNU C library defines this for functions which it implements
27677 to always fail with ENOSYS. Some functions are actually named
27678 something starting with __ and the normal name is an alias. */
27679 #if defined __stub_$ac_func || defined __stub___$ac_func
27680 choke me
27681 #endif
27682
27683 int
27684 main ()
27685 {
27686 return $ac_func ();
27687 ;
27688 return 0;
27689 }
27690 _ACEOF
27691 rm -f conftest.$ac_objext conftest$ac_exeext
27692 if { (ac_try="$ac_link"
27693 case "(($ac_try" in
27694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27695 *) ac_try_echo=$ac_try;;
27696 esac
27697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27698 (eval "$ac_link") 2>conftest.er1
27699 ac_status=$?
27700 grep -v '^ *+' conftest.er1 >conftest.err
27701 rm -f conftest.er1
27702 cat conftest.err >&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } && {
27705 test -z "$ac_c_werror_flag" ||
27706 test ! -s conftest.err
27707 } && test -s conftest$ac_exeext &&
27708 $as_test_x conftest$ac_exeext; then
27709 eval "$as_ac_var=yes"
27710 else
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27713
27714 eval "$as_ac_var=no"
27715 fi
27716
27717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27718 conftest$ac_exeext conftest.$ac_ext
27719 fi
27720 ac_res=`eval echo '${'$as_ac_var'}'`
27721 { echo "$as_me:$LINENO: result: $ac_res" >&5
27722 echo "${ECHO_T}$ac_res" >&6; }
27723 if test `eval echo '${'$as_ac_var'}'` = yes; then
27724 cat >>confdefs.h <<_ACEOF
27725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27726 _ACEOF
27727 have_sin=1
27728 fi
27729 done
27730
27731
27732 for ac_func in ceil
27733 do
27734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27739 else
27740 cat >conftest.$ac_ext <<_ACEOF
27741 /* confdefs.h. */
27742 _ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27748 #define $ac_func innocuous_$ac_func
27749
27750 /* System header to define __stub macros and hopefully few prototypes,
27751 which can conflict with char $ac_func (); below.
27752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27753 <limits.h> exists even on freestanding compilers. */
27754
27755 #ifdef __STDC__
27756 # include <limits.h>
27757 #else
27758 # include <assert.h>
27759 #endif
27760
27761 #undef $ac_func
27762
27763 /* Override any GCC internal prototype to avoid an error.
27764 Use char because int might match the return type of a GCC
27765 builtin and then its argument prototype would still apply. */
27766 #ifdef __cplusplus
27767 extern "C"
27768 #endif
27769 char $ac_func ();
27770 /* The GNU C library defines this for functions which it implements
27771 to always fail with ENOSYS. Some functions are actually named
27772 something starting with __ and the normal name is an alias. */
27773 #if defined __stub_$ac_func || defined __stub___$ac_func
27774 choke me
27775 #endif
27776
27777 int
27778 main ()
27779 {
27780 return $ac_func ();
27781 ;
27782 return 0;
27783 }
27784 _ACEOF
27785 rm -f conftest.$ac_objext conftest$ac_exeext
27786 if { (ac_try="$ac_link"
27787 case "(($ac_try" in
27788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27789 *) ac_try_echo=$ac_try;;
27790 esac
27791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27792 (eval "$ac_link") 2>conftest.er1
27793 ac_status=$?
27794 grep -v '^ *+' conftest.er1 >conftest.err
27795 rm -f conftest.er1
27796 cat conftest.err >&5
27797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27798 (exit $ac_status); } && {
27799 test -z "$ac_c_werror_flag" ||
27800 test ! -s conftest.err
27801 } && test -s conftest$ac_exeext &&
27802 $as_test_x conftest$ac_exeext; then
27803 eval "$as_ac_var=yes"
27804 else
27805 echo "$as_me: failed program was:" >&5
27806 sed 's/^/| /' conftest.$ac_ext >&5
27807
27808 eval "$as_ac_var=no"
27809 fi
27810
27811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27812 conftest$ac_exeext conftest.$ac_ext
27813 fi
27814 ac_res=`eval echo '${'$as_ac_var'}'`
27815 { echo "$as_me:$LINENO: result: $ac_res" >&5
27816 echo "${ECHO_T}$ac_res" >&6; }
27817 if test `eval echo '${'$as_ac_var'}'` = yes; then
27818 cat >>confdefs.h <<_ACEOF
27819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27820 _ACEOF
27821 have_ceil=1
27822 fi
27823 done
27824
27825 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27826 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27827 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27828 { echo "$as_me:$LINENO: result: yes" >&5
27829 echo "${ECHO_T}yes" >&6; }
27830 else
27831 { echo "$as_me:$LINENO: result: no" >&5
27832 echo "${ECHO_T}no" >&6; }
27833 # not sure we should warn the user, crash, etc.
27834 fi
27835 fi
27836
27837 ac_ext=cpp
27838 ac_cpp='$CXXCPP $CPPFLAGS'
27839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27842
27843 if test "wxUSE_UNICODE" = "yes"; then
27844
27845 for wx_func in wcstoull
27846 do
27847 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27848 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27849 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27850 echo $ECHO_N "(cached) $ECHO_C" >&6
27851 else
27852
27853 cat >conftest.$ac_ext <<_ACEOF
27854
27855 /* confdefs.h. */
27856 _ACEOF
27857 cat confdefs.h >>conftest.$ac_ext
27858 cat >>conftest.$ac_ext <<_ACEOF
27859 /* end confdefs.h. */
27860
27861
27862 $ac_includes_default
27863
27864 int
27865 main ()
27866 {
27867
27868 #ifndef $wx_func
27869 &$wx_func;
27870 #endif
27871
27872
27873 ;
27874 return 0;
27875 }
27876
27877 _ACEOF
27878 rm -f conftest.$ac_objext conftest$ac_exeext
27879 if { (ac_try="$ac_link"
27880 case "(($ac_try" in
27881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27882 *) ac_try_echo=$ac_try;;
27883 esac
27884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27885 (eval "$ac_link") 2>conftest.er1
27886 ac_status=$?
27887 grep -v '^ *+' conftest.er1 >conftest.err
27888 rm -f conftest.er1
27889 cat conftest.err >&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } && {
27892 test -z "$ac_cxx_werror_flag" ||
27893 test ! -s conftest.err
27894 } && test -s conftest$ac_exeext &&
27895 $as_test_x conftest$ac_exeext; then
27896 eval wx_cv_func_$wx_func=yes
27897 else
27898 echo "$as_me: failed program was:" >&5
27899 sed 's/^/| /' conftest.$ac_ext >&5
27900
27901 eval wx_cv_func_$wx_func=no
27902 fi
27903
27904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27905 conftest$ac_exeext conftest.$ac_ext
27906
27907 fi
27908 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27909 { echo "$as_me:$LINENO: result: $ac_res" >&5
27910 echo "${ECHO_T}$ac_res" >&6; }
27911
27912 if eval test \$wx_cv_func_$wx_func = yes
27913 then
27914 cat >>confdefs.h <<_ACEOF
27915 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27916 _ACEOF
27917
27918
27919 else
27920 :
27921
27922 fi
27923 done
27924
27925 else
27926
27927 for wx_func in strtoull
27928 do
27929 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27930 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27931 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27932 echo $ECHO_N "(cached) $ECHO_C" >&6
27933 else
27934
27935 cat >conftest.$ac_ext <<_ACEOF
27936
27937 /* confdefs.h. */
27938 _ACEOF
27939 cat confdefs.h >>conftest.$ac_ext
27940 cat >>conftest.$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27942
27943
27944 $ac_includes_default
27945
27946 int
27947 main ()
27948 {
27949
27950 #ifndef $wx_func
27951 &$wx_func;
27952 #endif
27953
27954
27955 ;
27956 return 0;
27957 }
27958
27959 _ACEOF
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (ac_try="$ac_link"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27965 esac
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_link") 2>conftest.er1
27968 ac_status=$?
27969 grep -v '^ *+' conftest.er1 >conftest.err
27970 rm -f conftest.er1
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } && {
27974 test -z "$ac_cxx_werror_flag" ||
27975 test ! -s conftest.err
27976 } && test -s conftest$ac_exeext &&
27977 $as_test_x conftest$ac_exeext; then
27978 eval wx_cv_func_$wx_func=yes
27979 else
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27982
27983 eval wx_cv_func_$wx_func=no
27984 fi
27985
27986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27987 conftest$ac_exeext conftest.$ac_ext
27988
27989 fi
27990 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27991 { echo "$as_me:$LINENO: result: $ac_res" >&5
27992 echo "${ECHO_T}$ac_res" >&6; }
27993
27994 if eval test \$wx_cv_func_$wx_func = yes
27995 then
27996 cat >>confdefs.h <<_ACEOF
27997 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27998 _ACEOF
27999
28000
28001 else
28002 :
28003
28004 fi
28005 done
28006
28007 fi
28008 ac_ext=c
28009 ac_cpp='$CPP $CPPFLAGS'
28010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28013
28014
28015
28016
28017 if test "$wxUSE_REGEX" != "no"; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define wxUSE_REGEX 1
28020 _ACEOF
28021
28022
28023 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28024 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28025 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28026 wxUSE_REGEX=builtin
28027 fi
28028
28029 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28030 { echo "$as_me:$LINENO: checking for regex.h" >&5
28031 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28032 if test "${ac_cv_header_regex_h+set}" = set; then
28033 echo $ECHO_N "(cached) $ECHO_C" >&6
28034 else
28035 cat >conftest.$ac_ext <<_ACEOF
28036 /* confdefs.h. */
28037 _ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041
28042
28043 #include <regex.h>
28044 _ACEOF
28045 rm -f conftest.$ac_objext
28046 if { (ac_try="$ac_compile"
28047 case "(($ac_try" in
28048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28049 *) ac_try_echo=$ac_try;;
28050 esac
28051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28052 (eval "$ac_compile") 2>conftest.er1
28053 ac_status=$?
28054 grep -v '^ *+' conftest.er1 >conftest.err
28055 rm -f conftest.er1
28056 cat conftest.err >&5
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } && {
28059 test -z "$ac_c_werror_flag" ||
28060 test ! -s conftest.err
28061 } && test -s conftest.$ac_objext; then
28062 ac_cv_header_regex_h=yes
28063 else
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28066
28067 ac_cv_header_regex_h=no
28068 fi
28069
28070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28071 fi
28072 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28073 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28074 if test $ac_cv_header_regex_h = yes; then
28075
28076
28077 for ac_func in regcomp re_search
28078 do
28079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28084 else
28085 cat >conftest.$ac_ext <<_ACEOF
28086 /* confdefs.h. */
28087 _ACEOF
28088 cat confdefs.h >>conftest.$ac_ext
28089 cat >>conftest.$ac_ext <<_ACEOF
28090 /* end confdefs.h. */
28091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28093 #define $ac_func innocuous_$ac_func
28094
28095 /* System header to define __stub macros and hopefully few prototypes,
28096 which can conflict with char $ac_func (); below.
28097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28098 <limits.h> exists even on freestanding compilers. */
28099
28100 #ifdef __STDC__
28101 # include <limits.h>
28102 #else
28103 # include <assert.h>
28104 #endif
28105
28106 #undef $ac_func
28107
28108 /* Override any GCC internal prototype to avoid an error.
28109 Use char because int might match the return type of a GCC
28110 builtin and then its argument prototype would still apply. */
28111 #ifdef __cplusplus
28112 extern "C"
28113 #endif
28114 char $ac_func ();
28115 /* The GNU C library defines this for functions which it implements
28116 to always fail with ENOSYS. Some functions are actually named
28117 something starting with __ and the normal name is an alias. */
28118 #if defined __stub_$ac_func || defined __stub___$ac_func
28119 choke me
28120 #endif
28121
28122 int
28123 main ()
28124 {
28125 return $ac_func ();
28126 ;
28127 return 0;
28128 }
28129 _ACEOF
28130 rm -f conftest.$ac_objext conftest$ac_exeext
28131 if { (ac_try="$ac_link"
28132 case "(($ac_try" in
28133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28135 esac
28136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_link") 2>conftest.er1
28138 ac_status=$?
28139 grep -v '^ *+' conftest.er1 >conftest.err
28140 rm -f conftest.er1
28141 cat conftest.err >&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); } && {
28144 test -z "$ac_c_werror_flag" ||
28145 test ! -s conftest.err
28146 } && test -s conftest$ac_exeext &&
28147 $as_test_x conftest$ac_exeext; then
28148 eval "$as_ac_var=yes"
28149 else
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28152
28153 eval "$as_ac_var=no"
28154 fi
28155
28156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28157 conftest$ac_exeext conftest.$ac_ext
28158 fi
28159 ac_res=`eval echo '${'$as_ac_var'}'`
28160 { echo "$as_me:$LINENO: result: $ac_res" >&5
28161 echo "${ECHO_T}$ac_res" >&6; }
28162 if test `eval echo '${'$as_ac_var'}'` = yes; then
28163 cat >>confdefs.h <<_ACEOF
28164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28165 _ACEOF
28166
28167 fi
28168 done
28169
28170 fi
28171
28172
28173
28174 if test "x$ac_cv_func_regcomp" != "xyes"; then
28175 if test "$wxUSE_REGEX" = "sys" ; then
28176 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28177 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28178 { (exit 1); exit 1; }; }
28179 else
28180 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28181 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28182 wxUSE_REGEX=builtin
28183 fi
28184 else
28185 wxUSE_REGEX=sys
28186 cat >>confdefs.h <<\_ACEOF
28187 #define WX_NO_REGEX_ADVANCED 1
28188 _ACEOF
28189
28190 fi
28191 fi
28192 fi
28193
28194
28195 ZLIB_LINK=
28196 if test "$wxUSE_ZLIB" != "no" ; then
28197 cat >>confdefs.h <<\_ACEOF
28198 #define wxUSE_ZLIB 1
28199 _ACEOF
28200
28201
28202 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28203 if test "$USE_DARWIN" = 1; then
28204 system_zlib_h_ok="yes"
28205 else
28206 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28207 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28208 if test "${ac_cv_header_zlib_h+set}" = set; then
28209 echo $ECHO_N "(cached) $ECHO_C" >&6
28210 else
28211 if test "$cross_compiling" = yes; then
28212 unset ac_cv_header_zlib_h
28213
28214 else
28215 cat >conftest.$ac_ext <<_ACEOF
28216 /* confdefs.h. */
28217 _ACEOF
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221
28222 #include <zlib.h>
28223 #include <stdio.h>
28224
28225 int main()
28226 {
28227 FILE *f=fopen("conftestval", "w");
28228 if (!f) exit(1);
28229 fprintf(f, "%s",
28230 ZLIB_VERSION[0] == '1' &&
28231 (ZLIB_VERSION[2] > '1' ||
28232 (ZLIB_VERSION[2] == '1' &&
28233 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28234 exit(0);
28235 }
28236
28237 _ACEOF
28238 rm -f conftest$ac_exeext
28239 if { (ac_try="$ac_link"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28243 esac
28244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_link") 2>&5
28246 ac_status=$?
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28249 { (case "(($ac_try" in
28250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28251 *) ac_try_echo=$ac_try;;
28252 esac
28253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28254 (eval "$ac_try") 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 ac_cv_header_zlib_h=`cat conftestval`
28259 else
28260 echo "$as_me: program exited with status $ac_status" >&5
28261 echo "$as_me: failed program was:" >&5
28262 sed 's/^/| /' conftest.$ac_ext >&5
28263
28264 ( exit $ac_status )
28265 ac_cv_header_zlib_h=no
28266 fi
28267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28268 fi
28269
28270
28271
28272 fi
28273 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28274 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28275 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28276 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28277 if test "${ac_cv_header_zlib_h+set}" = set; then
28278 echo $ECHO_N "(cached) $ECHO_C" >&6
28279 else
28280 cat >conftest.$ac_ext <<_ACEOF
28281 /* confdefs.h. */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286
28287
28288 #include <zlib.h>
28289 _ACEOF
28290 rm -f conftest.$ac_objext
28291 if { (ac_try="$ac_compile"
28292 case "(($ac_try" in
28293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28294 *) ac_try_echo=$ac_try;;
28295 esac
28296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28297 (eval "$ac_compile") 2>conftest.er1
28298 ac_status=$?
28299 grep -v '^ *+' conftest.er1 >conftest.err
28300 rm -f conftest.er1
28301 cat conftest.err >&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } && {
28304 test -z "$ac_c_werror_flag" ||
28305 test ! -s conftest.err
28306 } && test -s conftest.$ac_objext; then
28307 ac_cv_header_zlib_h=yes
28308 else
28309 echo "$as_me: failed program was:" >&5
28310 sed 's/^/| /' conftest.$ac_ext >&5
28311
28312 ac_cv_header_zlib_h=no
28313 fi
28314
28315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28316 fi
28317 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28318 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28319
28320
28321
28322 system_zlib_h_ok=$ac_cv_header_zlib_h
28323 fi
28324
28325 if test "$system_zlib_h_ok" = "yes"; then
28326 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28327 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28328 if test "${ac_cv_lib_z_deflate+set}" = set; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 else
28331 ac_check_lib_save_LIBS=$LIBS
28332 LIBS="-lz $LIBS"
28333 cat >conftest.$ac_ext <<_ACEOF
28334 /* confdefs.h. */
28335 _ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339
28340 /* Override any GCC internal prototype to avoid an error.
28341 Use char because int might match the return type of a GCC
28342 builtin and then its argument prototype would still apply. */
28343 #ifdef __cplusplus
28344 extern "C"
28345 #endif
28346 char deflate ();
28347 int
28348 main ()
28349 {
28350 return deflate ();
28351 ;
28352 return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (ac_try="$ac_link"
28357 case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28360 esac
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_link") 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest$ac_exeext &&
28372 $as_test_x conftest$ac_exeext; then
28373 ac_cv_lib_z_deflate=yes
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378 ac_cv_lib_z_deflate=no
28379 fi
28380
28381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28382 conftest$ac_exeext conftest.$ac_ext
28383 LIBS=$ac_check_lib_save_LIBS
28384 fi
28385 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28386 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28387 if test $ac_cv_lib_z_deflate = yes; then
28388 ZLIB_LINK=" -lz"
28389 fi
28390
28391 fi
28392
28393 if test "x$ZLIB_LINK" = "x" ; then
28394 if test "$wxUSE_ZLIB" = "sys" ; then
28395 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28396 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28397 { (exit 1); exit 1; }; }
28398 else
28399 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28400 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28401 wxUSE_ZLIB=builtin
28402 fi
28403 else
28404 wxUSE_ZLIB=sys
28405 fi
28406 fi
28407 fi
28408
28409
28410 PNG_LINK=
28411 if test "$wxUSE_LIBPNG" != "no" ; then
28412 cat >>confdefs.h <<\_ACEOF
28413 #define wxUSE_LIBPNG 1
28414 _ACEOF
28415
28416
28417 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28418 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28419 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28420 wxUSE_LIBPNG=sys
28421 fi
28422
28423 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28424 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28425 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28426 wxUSE_LIBPNG=builtin
28427 fi
28428
28429 if test "$wxUSE_MGL" != 1 ; then
28430 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28431 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28432 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28433 if test "${ac_cv_header_png_h+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436 if test "$cross_compiling" = yes; then
28437 unset ac_cv_header_png_h
28438
28439 else
28440 cat >conftest.$ac_ext <<_ACEOF
28441 /* confdefs.h. */
28442 _ACEOF
28443 cat confdefs.h >>conftest.$ac_ext
28444 cat >>conftest.$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28446
28447 #include <png.h>
28448 #include <stdio.h>
28449
28450 int main()
28451 {
28452 FILE *f=fopen("conftestval", "w");
28453 if (!f) exit(1);
28454 fprintf(f, "%s",
28455 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28456 exit(0);
28457 }
28458
28459 _ACEOF
28460 rm -f conftest$ac_exeext
28461 if { (ac_try="$ac_link"
28462 case "(($ac_try" in
28463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28464 *) ac_try_echo=$ac_try;;
28465 esac
28466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28467 (eval "$ac_link") 2>&5
28468 ac_status=$?
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28471 { (case "(($ac_try" in
28472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28473 *) ac_try_echo=$ac_try;;
28474 esac
28475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28476 (eval "$ac_try") 2>&5
28477 ac_status=$?
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); }; }; then
28480 ac_cv_header_png_h=`cat conftestval`
28481 else
28482 echo "$as_me: program exited with status $ac_status" >&5
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28485
28486 ( exit $ac_status )
28487 ac_cv_header_png_h=no
28488 fi
28489 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28490 fi
28491
28492
28493
28494 fi
28495 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28496 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28497 { echo "$as_me:$LINENO: checking for png.h" >&5
28498 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28499 if test "${ac_cv_header_png_h+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 else
28502 cat >conftest.$ac_ext <<_ACEOF
28503 /* confdefs.h. */
28504 _ACEOF
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508
28509
28510 #include <png.h>
28511 _ACEOF
28512 rm -f conftest.$ac_objext
28513 if { (ac_try="$ac_compile"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28516 *) ac_try_echo=$ac_try;;
28517 esac
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_compile") 2>conftest.er1
28520 ac_status=$?
28521 grep -v '^ *+' conftest.er1 >conftest.err
28522 rm -f conftest.er1
28523 cat conftest.err >&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest.$ac_objext; then
28529 ac_cv_header_png_h=yes
28530 else
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28533
28534 ac_cv_header_png_h=no
28535 fi
28536
28537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28538 fi
28539 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28540 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28541
28542
28543
28544 if test "$ac_cv_header_png_h" = "yes"; then
28545 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28546 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28547 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28548 echo $ECHO_N "(cached) $ECHO_C" >&6
28549 else
28550 ac_check_lib_save_LIBS=$LIBS
28551 LIBS="-lpng -lz -lm $LIBS"
28552 cat >conftest.$ac_ext <<_ACEOF
28553 /* confdefs.h. */
28554 _ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558
28559 /* Override any GCC internal prototype to avoid an error.
28560 Use char because int might match the return type of a GCC
28561 builtin and then its argument prototype would still apply. */
28562 #ifdef __cplusplus
28563 extern "C"
28564 #endif
28565 char png_check_sig ();
28566 int
28567 main ()
28568 {
28569 return png_check_sig ();
28570 ;
28571 return 0;
28572 }
28573 _ACEOF
28574 rm -f conftest.$ac_objext conftest$ac_exeext
28575 if { (ac_try="$ac_link"
28576 case "(($ac_try" in
28577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28578 *) ac_try_echo=$ac_try;;
28579 esac
28580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28581 (eval "$ac_link") 2>conftest.er1
28582 ac_status=$?
28583 grep -v '^ *+' conftest.er1 >conftest.err
28584 rm -f conftest.er1
28585 cat conftest.err >&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } && {
28588 test -z "$ac_c_werror_flag" ||
28589 test ! -s conftest.err
28590 } && test -s conftest$ac_exeext &&
28591 $as_test_x conftest$ac_exeext; then
28592 ac_cv_lib_png_png_check_sig=yes
28593 else
28594 echo "$as_me: failed program was:" >&5
28595 sed 's/^/| /' conftest.$ac_ext >&5
28596
28597 ac_cv_lib_png_png_check_sig=no
28598 fi
28599
28600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28601 conftest$ac_exeext conftest.$ac_ext
28602 LIBS=$ac_check_lib_save_LIBS
28603 fi
28604 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28605 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28606 if test $ac_cv_lib_png_png_check_sig = yes; then
28607 PNG_LINK=" -lpng -lz"
28608 fi
28609
28610 fi
28611
28612 if test "x$PNG_LINK" = "x" ; then
28613 if test "$wxUSE_LIBPNG" = "sys" ; then
28614 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28615 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28616 { (exit 1); exit 1; }; }
28617 else
28618 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28619 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28620 wxUSE_LIBPNG=builtin
28621 fi
28622 else
28623 wxUSE_LIBPNG=sys
28624 fi
28625 fi
28626 fi
28627
28628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28629 fi
28630
28631
28632 JPEG_LINK=
28633 if test "$wxUSE_LIBJPEG" != "no" ; then
28634 cat >>confdefs.h <<\_ACEOF
28635 #define wxUSE_LIBJPEG 1
28636 _ACEOF
28637
28638
28639 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28640 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28641 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28642 wxUSE_LIBJPEG=sys
28643 fi
28644
28645 if test "$wxUSE_MGL" != 1 ; then
28646 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28647 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28648 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28649 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652 cat >conftest.$ac_ext <<_ACEOF
28653 /* confdefs.h. */
28654 _ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658
28659 #undef HAVE_STDLIB_H
28660 #include <stdio.h>
28661 #include <jpeglib.h>
28662
28663 int
28664 main ()
28665 {
28666
28667
28668 ;
28669 return 0;
28670 }
28671 _ACEOF
28672 rm -f conftest.$ac_objext
28673 if { (ac_try="$ac_compile"
28674 case "(($ac_try" in
28675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28676 *) ac_try_echo=$ac_try;;
28677 esac
28678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679 (eval "$ac_compile") 2>conftest.er1
28680 ac_status=$?
28681 grep -v '^ *+' conftest.er1 >conftest.err
28682 rm -f conftest.er1
28683 cat conftest.err >&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } && {
28686 test -z "$ac_c_werror_flag" ||
28687 test ! -s conftest.err
28688 } && test -s conftest.$ac_objext; then
28689 ac_cv_header_jpeglib_h=yes
28690 else
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.$ac_ext >&5
28693
28694 ac_cv_header_jpeglib_h=no
28695
28696 fi
28697
28698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28699
28700 fi
28701
28702 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28703 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28704
28705 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28706 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28707 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28708 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 else
28711 ac_check_lib_save_LIBS=$LIBS
28712 LIBS="-ljpeg $LIBS"
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h. */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h. */
28719
28720 /* Override any GCC internal prototype to avoid an error.
28721 Use char because int might match the return type of a GCC
28722 builtin and then its argument prototype would still apply. */
28723 #ifdef __cplusplus
28724 extern "C"
28725 #endif
28726 char jpeg_read_header ();
28727 int
28728 main ()
28729 {
28730 return jpeg_read_header ();
28731 ;
28732 return 0;
28733 }
28734 _ACEOF
28735 rm -f conftest.$ac_objext conftest$ac_exeext
28736 if { (ac_try="$ac_link"
28737 case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28740 esac
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_link") 2>conftest.er1
28743 ac_status=$?
28744 grep -v '^ *+' conftest.er1 >conftest.err
28745 rm -f conftest.er1
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } && {
28749 test -z "$ac_c_werror_flag" ||
28750 test ! -s conftest.err
28751 } && test -s conftest$ac_exeext &&
28752 $as_test_x conftest$ac_exeext; then
28753 ac_cv_lib_jpeg_jpeg_read_header=yes
28754 else
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28757
28758 ac_cv_lib_jpeg_jpeg_read_header=no
28759 fi
28760
28761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28762 conftest$ac_exeext conftest.$ac_ext
28763 LIBS=$ac_check_lib_save_LIBS
28764 fi
28765 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28766 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28767 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28768 JPEG_LINK=" -ljpeg"
28769 fi
28770
28771 fi
28772
28773 if test "x$JPEG_LINK" = "x" ; then
28774 if test "$wxUSE_LIBJPEG" = "sys" ; then
28775 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28776 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28777 { (exit 1); exit 1; }; }
28778 else
28779 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28780 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28781 wxUSE_LIBJPEG=builtin
28782 fi
28783 else
28784 wxUSE_LIBJPEG=sys
28785
28786 if test "$wxUSE_MSW" = 1; then
28787 { echo "$as_me:$LINENO: checking for boolean" >&5
28788 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28789 if test "${ac_cv_type_boolean+set}" = set; then
28790 echo $ECHO_N "(cached) $ECHO_C" >&6
28791 else
28792 cat >conftest.$ac_ext <<_ACEOF
28793 /* confdefs.h. */
28794 _ACEOF
28795 cat confdefs.h >>conftest.$ac_ext
28796 cat >>conftest.$ac_ext <<_ACEOF
28797 /* end confdefs.h. */
28798 #include <windows.h>
28799
28800 typedef boolean ac__type_new_;
28801 int
28802 main ()
28803 {
28804 if ((ac__type_new_ *) 0)
28805 return 0;
28806 if (sizeof (ac__type_new_))
28807 return 0;
28808 ;
28809 return 0;
28810 }
28811 _ACEOF
28812 rm -f conftest.$ac_objext
28813 if { (ac_try="$ac_compile"
28814 case "(($ac_try" in
28815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28816 *) ac_try_echo=$ac_try;;
28817 esac
28818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28819 (eval "$ac_compile") 2>conftest.er1
28820 ac_status=$?
28821 grep -v '^ *+' conftest.er1 >conftest.err
28822 rm -f conftest.er1
28823 cat conftest.err >&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } && {
28826 test -z "$ac_c_werror_flag" ||
28827 test ! -s conftest.err
28828 } && test -s conftest.$ac_objext; then
28829 ac_cv_type_boolean=yes
28830 else
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28833
28834 ac_cv_type_boolean=no
28835 fi
28836
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 fi
28839 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28840 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28841 if test $ac_cv_type_boolean = yes; then
28842
28843 cat >>confdefs.h <<_ACEOF
28844 #define HAVE_BOOLEAN 1
28845 _ACEOF
28846
28847
28848 { echo "$as_me:$LINENO: checking for boolean" >&5
28849 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28850 if test "${ac_cv_type_boolean+set}" = set; then
28851 echo $ECHO_N "(cached) $ECHO_C" >&6
28852 else
28853 cat >conftest.$ac_ext <<_ACEOF
28854 /* confdefs.h. */
28855 _ACEOF
28856 cat confdefs.h >>conftest.$ac_ext
28857 cat >>conftest.$ac_ext <<_ACEOF
28858 /* end confdefs.h. */
28859
28860 #undef HAVE_BOOLEAN
28861 #include <stdio.h>
28862 #include <jpeglib.h>
28863
28864
28865 typedef boolean ac__type_new_;
28866 int
28867 main ()
28868 {
28869 if ((ac__type_new_ *) 0)
28870 return 0;
28871 if (sizeof (ac__type_new_))
28872 return 0;
28873 ;
28874 return 0;
28875 }
28876 _ACEOF
28877 rm -f conftest.$ac_objext
28878 if { (ac_try="$ac_compile"
28879 case "(($ac_try" in
28880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28881 *) ac_try_echo=$ac_try;;
28882 esac
28883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28884 (eval "$ac_compile") 2>conftest.er1
28885 ac_status=$?
28886 grep -v '^ *+' conftest.er1 >conftest.err
28887 rm -f conftest.er1
28888 cat conftest.err >&5
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); } && {
28891 test -z "$ac_c_werror_flag" ||
28892 test ! -s conftest.err
28893 } && test -s conftest.$ac_objext; then
28894 ac_cv_type_boolean=yes
28895 else
28896 echo "$as_me: failed program was:" >&5
28897 sed 's/^/| /' conftest.$ac_ext >&5
28898
28899 ac_cv_type_boolean=no
28900 fi
28901
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903 fi
28904 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28905 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28906
28907 # The cast to long int works around a bug in the HP C Compiler
28908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28910 # This bug is HP SR number 8606223364.
28911 { echo "$as_me:$LINENO: checking size of boolean" >&5
28912 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28913 if test "${ac_cv_sizeof_boolean+set}" = set; then
28914 echo $ECHO_N "(cached) $ECHO_C" >&6
28915 else
28916 if test "$cross_compiling" = yes; then
28917 # Depending upon the size, compute the lo and hi bounds.
28918 cat >conftest.$ac_ext <<_ACEOF
28919 /* confdefs.h. */
28920 _ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28924
28925 #undef HAVE_BOOLEAN
28926 #include <stdio.h>
28927 #include <jpeglib.h>
28928
28929
28930 typedef boolean ac__type_sizeof_;
28931 int
28932 main ()
28933 {
28934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28935 test_array [0] = 0
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 ac_lo=0 ac_mid=0
28959 while :; do
28960 cat >conftest.$ac_ext <<_ACEOF
28961 /* confdefs.h. */
28962 _ACEOF
28963 cat confdefs.h >>conftest.$ac_ext
28964 cat >>conftest.$ac_ext <<_ACEOF
28965 /* end confdefs.h. */
28966
28967 #undef HAVE_BOOLEAN
28968 #include <stdio.h>
28969 #include <jpeglib.h>
28970
28971
28972 typedef boolean ac__type_sizeof_;
28973 int
28974 main ()
28975 {
28976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28977 test_array [0] = 0
28978
28979 ;
28980 return 0;
28981 }
28982 _ACEOF
28983 rm -f conftest.$ac_objext
28984 if { (ac_try="$ac_compile"
28985 case "(($ac_try" in
28986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28987 *) ac_try_echo=$ac_try;;
28988 esac
28989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28990 (eval "$ac_compile") 2>conftest.er1
28991 ac_status=$?
28992 grep -v '^ *+' conftest.er1 >conftest.err
28993 rm -f conftest.er1
28994 cat conftest.err >&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } && {
28997 test -z "$ac_c_werror_flag" ||
28998 test ! -s conftest.err
28999 } && test -s conftest.$ac_objext; then
29000 ac_hi=$ac_mid; break
29001 else
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 ac_lo=`expr $ac_mid + 1`
29006 if test $ac_lo -le $ac_mid; then
29007 ac_lo= ac_hi=
29008 break
29009 fi
29010 ac_mid=`expr 2 '*' $ac_mid + 1`
29011 fi
29012
29013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29014 done
29015 else
29016 echo "$as_me: failed program was:" >&5
29017 sed 's/^/| /' conftest.$ac_ext >&5
29018
29019 cat >conftest.$ac_ext <<_ACEOF
29020 /* confdefs.h. */
29021 _ACEOF
29022 cat confdefs.h >>conftest.$ac_ext
29023 cat >>conftest.$ac_ext <<_ACEOF
29024 /* end confdefs.h. */
29025
29026 #undef HAVE_BOOLEAN
29027 #include <stdio.h>
29028 #include <jpeglib.h>
29029
29030
29031 typedef boolean ac__type_sizeof_;
29032 int
29033 main ()
29034 {
29035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29036 test_array [0] = 0
29037
29038 ;
29039 return 0;
29040 }
29041 _ACEOF
29042 rm -f conftest.$ac_objext
29043 if { (ac_try="$ac_compile"
29044 case "(($ac_try" in
29045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29046 *) ac_try_echo=$ac_try;;
29047 esac
29048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29049 (eval "$ac_compile") 2>conftest.er1
29050 ac_status=$?
29051 grep -v '^ *+' conftest.er1 >conftest.err
29052 rm -f conftest.er1
29053 cat conftest.err >&5
29054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29055 (exit $ac_status); } && {
29056 test -z "$ac_c_werror_flag" ||
29057 test ! -s conftest.err
29058 } && test -s conftest.$ac_objext; then
29059 ac_hi=-1 ac_mid=-1
29060 while :; do
29061 cat >conftest.$ac_ext <<_ACEOF
29062 /* confdefs.h. */
29063 _ACEOF
29064 cat confdefs.h >>conftest.$ac_ext
29065 cat >>conftest.$ac_ext <<_ACEOF
29066 /* end confdefs.h. */
29067
29068 #undef HAVE_BOOLEAN
29069 #include <stdio.h>
29070 #include <jpeglib.h>
29071
29072
29073 typedef boolean ac__type_sizeof_;
29074 int
29075 main ()
29076 {
29077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29078 test_array [0] = 0
29079
29080 ;
29081 return 0;
29082 }
29083 _ACEOF
29084 rm -f conftest.$ac_objext
29085 if { (ac_try="$ac_compile"
29086 case "(($ac_try" in
29087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29088 *) ac_try_echo=$ac_try;;
29089 esac
29090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29091 (eval "$ac_compile") 2>conftest.er1
29092 ac_status=$?
29093 grep -v '^ *+' conftest.er1 >conftest.err
29094 rm -f conftest.er1
29095 cat conftest.err >&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); } && {
29098 test -z "$ac_c_werror_flag" ||
29099 test ! -s conftest.err
29100 } && test -s conftest.$ac_objext; then
29101 ac_lo=$ac_mid; break
29102 else
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29105
29106 ac_hi=`expr '(' $ac_mid ')' - 1`
29107 if test $ac_mid -le $ac_hi; then
29108 ac_lo= ac_hi=
29109 break
29110 fi
29111 ac_mid=`expr 2 '*' $ac_mid`
29112 fi
29113
29114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29115 done
29116 else
29117 echo "$as_me: failed program was:" >&5
29118 sed 's/^/| /' conftest.$ac_ext >&5
29119
29120 ac_lo= ac_hi=
29121 fi
29122
29123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29124 fi
29125
29126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29127 # Binary search between lo and hi bounds.
29128 while test "x$ac_lo" != "x$ac_hi"; do
29129 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29130 cat >conftest.$ac_ext <<_ACEOF
29131 /* confdefs.h. */
29132 _ACEOF
29133 cat confdefs.h >>conftest.$ac_ext
29134 cat >>conftest.$ac_ext <<_ACEOF
29135 /* end confdefs.h. */
29136
29137 #undef HAVE_BOOLEAN
29138 #include <stdio.h>
29139 #include <jpeglib.h>
29140
29141
29142 typedef boolean ac__type_sizeof_;
29143 int
29144 main ()
29145 {
29146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29147 test_array [0] = 0
29148
29149 ;
29150 return 0;
29151 }
29152 _ACEOF
29153 rm -f conftest.$ac_objext
29154 if { (ac_try="$ac_compile"
29155 case "(($ac_try" in
29156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29157 *) ac_try_echo=$ac_try;;
29158 esac
29159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29160 (eval "$ac_compile") 2>conftest.er1
29161 ac_status=$?
29162 grep -v '^ *+' conftest.er1 >conftest.err
29163 rm -f conftest.er1
29164 cat conftest.err >&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); } && {
29167 test -z "$ac_c_werror_flag" ||
29168 test ! -s conftest.err
29169 } && test -s conftest.$ac_objext; then
29170 ac_hi=$ac_mid
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29174
29175 ac_lo=`expr '(' $ac_mid ')' + 1`
29176 fi
29177
29178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29179 done
29180 case $ac_lo in
29181 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29182 '') if test "$ac_cv_type_boolean" = yes; then
29183 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29184 See \`config.log' for more details." >&5
29185 echo "$as_me: error: cannot compute sizeof (boolean)
29186 See \`config.log' for more details." >&2;}
29187 { (exit 77); exit 77; }; }
29188 else
29189 ac_cv_sizeof_boolean=0
29190 fi ;;
29191 esac
29192 else
29193 cat >conftest.$ac_ext <<_ACEOF
29194 /* confdefs.h. */
29195 _ACEOF
29196 cat confdefs.h >>conftest.$ac_ext
29197 cat >>conftest.$ac_ext <<_ACEOF
29198 /* end confdefs.h. */
29199
29200 #undef HAVE_BOOLEAN
29201 #include <stdio.h>
29202 #include <jpeglib.h>
29203
29204
29205 typedef boolean ac__type_sizeof_;
29206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29208 #include <stdio.h>
29209 #include <stdlib.h>
29210 int
29211 main ()
29212 {
29213
29214 FILE *f = fopen ("conftest.val", "w");
29215 if (! f)
29216 return 1;
29217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29218 {
29219 long int i = longval ();
29220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29221 return 1;
29222 fprintf (f, "%ld\n", i);
29223 }
29224 else
29225 {
29226 unsigned long int i = ulongval ();
29227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29228 return 1;
29229 fprintf (f, "%lu\n", i);
29230 }
29231 return ferror (f) || fclose (f) != 0;
29232
29233 ;
29234 return 0;
29235 }
29236 _ACEOF
29237 rm -f conftest$ac_exeext
29238 if { (ac_try="$ac_link"
29239 case "(($ac_try" in
29240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29241 *) ac_try_echo=$ac_try;;
29242 esac
29243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29244 (eval "$ac_link") 2>&5
29245 ac_status=$?
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29248 { (case "(($ac_try" in
29249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29250 *) ac_try_echo=$ac_try;;
29251 esac
29252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29253 (eval "$ac_try") 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; }; then
29257 ac_cv_sizeof_boolean=`cat conftest.val`
29258 else
29259 echo "$as_me: program exited with status $ac_status" >&5
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29262
29263 ( exit $ac_status )
29264 if test "$ac_cv_type_boolean" = yes; then
29265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29266 See \`config.log' for more details." >&5
29267 echo "$as_me: error: cannot compute sizeof (boolean)
29268 See \`config.log' for more details." >&2;}
29269 { (exit 77); exit 77; }; }
29270 else
29271 ac_cv_sizeof_boolean=0
29272 fi
29273 fi
29274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29275 fi
29276 rm -f conftest.val
29277 fi
29278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29279 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29280
29281
29282
29283 cat >>confdefs.h <<_ACEOF
29284 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29285 _ACEOF
29286
29287
29288 cat >>confdefs.h <<_ACEOF
29289 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29290 _ACEOF
29291
29292
29293 fi
29294
29295 fi
29296 fi
29297 fi
29298 fi
29299 fi
29300
29301
29302 TIFF_LINK=
29303 TIFF_PREREQ_LINKS=-lm
29304 if test "$wxUSE_LIBTIFF" != "no" ; then
29305 cat >>confdefs.h <<\_ACEOF
29306 #define wxUSE_LIBTIFF 1
29307 _ACEOF
29308
29309
29310 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29311 if test "$wxUSE_LIBJPEG" = "sys"; then
29312 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29313 fi
29314 if test "$wxUSE_ZLIB" = "sys"; then
29315 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29316 fi
29317 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29318 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29319 if test "${ac_cv_header_tiffio_h+set}" = set; then
29320 echo $ECHO_N "(cached) $ECHO_C" >&6
29321 else
29322 cat >conftest.$ac_ext <<_ACEOF
29323 /* confdefs.h. */
29324 _ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29328
29329
29330
29331 #include <tiffio.h>
29332 _ACEOF
29333 rm -f conftest.$ac_objext
29334 if { (ac_try="$ac_compile"
29335 case "(($ac_try" in
29336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29337 *) ac_try_echo=$ac_try;;
29338 esac
29339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29340 (eval "$ac_compile") 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } && {
29347 test -z "$ac_c_werror_flag" ||
29348 test ! -s conftest.err
29349 } && test -s conftest.$ac_objext; then
29350 ac_cv_header_tiffio_h=yes
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 ac_cv_header_tiffio_h=no
29356 fi
29357
29358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29359 fi
29360 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29361 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29362 if test $ac_cv_header_tiffio_h = yes; then
29363
29364 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29365 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29366 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29367 echo $ECHO_N "(cached) $ECHO_C" >&6
29368 else
29369 ac_check_lib_save_LIBS=$LIBS
29370 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29371 cat >conftest.$ac_ext <<_ACEOF
29372 /* confdefs.h. */
29373 _ACEOF
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29377
29378 /* Override any GCC internal prototype to avoid an error.
29379 Use char because int might match the return type of a GCC
29380 builtin and then its argument prototype would still apply. */
29381 #ifdef __cplusplus
29382 extern "C"
29383 #endif
29384 char TIFFError ();
29385 int
29386 main ()
29387 {
29388 return TIFFError ();
29389 ;
29390 return 0;
29391 }
29392 _ACEOF
29393 rm -f conftest.$ac_objext conftest$ac_exeext
29394 if { (ac_try="$ac_link"
29395 case "(($ac_try" in
29396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29397 *) ac_try_echo=$ac_try;;
29398 esac
29399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29400 (eval "$ac_link") 2>conftest.er1
29401 ac_status=$?
29402 grep -v '^ *+' conftest.er1 >conftest.err
29403 rm -f conftest.er1
29404 cat conftest.err >&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } && {
29407 test -z "$ac_c_werror_flag" ||
29408 test ! -s conftest.err
29409 } && test -s conftest$ac_exeext &&
29410 $as_test_x conftest$ac_exeext; then
29411 ac_cv_lib_tiff_TIFFError=yes
29412 else
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29415
29416 ac_cv_lib_tiff_TIFFError=no
29417 fi
29418
29419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29420 conftest$ac_exeext conftest.$ac_ext
29421 LIBS=$ac_check_lib_save_LIBS
29422 fi
29423 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29424 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29425 if test $ac_cv_lib_tiff_TIFFError = yes; then
29426 TIFF_LINK=" -ltiff"
29427 fi
29428
29429
29430 fi
29431
29432
29433
29434 if test "x$TIFF_LINK" = "x" ; then
29435 if test "$wxUSE_LIBTIFF" = "sys" ; then
29436 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29437 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29438 { (exit 1); exit 1; }; }
29439 else
29440 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29441 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29442 wxUSE_LIBTIFF=builtin
29443 fi
29444 else
29445 wxUSE_LIBTIFF=sys
29446 fi
29447 fi
29448 fi
29449
29450
29451 if test "$wxUSE_WCHAR_T" != "yes"; then
29452 if test "$wxUSE_EXPAT" != "no"; then
29453 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29454 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29455 wxUSE_EXPAT=no
29456 fi
29457 if test "$wxUSE_XML" != "no"; then
29458 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29459 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29460 wxUSE_XML=no
29461 fi
29462 fi
29463
29464 if test "$wxUSE_EXPAT" != "no"; then
29465 wxUSE_XML=yes
29466 cat >>confdefs.h <<\_ACEOF
29467 #define wxUSE_EXPAT 1
29468 _ACEOF
29469
29470 cat >>confdefs.h <<\_ACEOF
29471 #define wxUSE_XML 1
29472 _ACEOF
29473
29474
29475 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29476 { echo "$as_me:$LINENO: checking for expat.h" >&5
29477 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29478 if test "${ac_cv_header_expat_h+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29480 else
29481 cat >conftest.$ac_ext <<_ACEOF
29482 /* confdefs.h. */
29483 _ACEOF
29484 cat confdefs.h >>conftest.$ac_ext
29485 cat >>conftest.$ac_ext <<_ACEOF
29486 /* end confdefs.h. */
29487
29488
29489 #include <expat.h>
29490 _ACEOF
29491 rm -f conftest.$ac_objext
29492 if { (ac_try="$ac_compile"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29496 esac
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_compile") 2>conftest.er1
29499 ac_status=$?
29500 grep -v '^ *+' conftest.er1 >conftest.err
29501 rm -f conftest.er1
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest.$ac_objext; then
29508 ac_cv_header_expat_h=yes
29509 else
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.$ac_ext >&5
29512
29513 ac_cv_header_expat_h=no
29514 fi
29515
29516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29517 fi
29518 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29519 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29520 if test $ac_cv_header_expat_h = yes; then
29521 found_expat_h=1
29522 fi
29523
29524
29525 if test "x$found_expat_h" = "x1"; then
29526 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29527 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29528 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29529 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 else
29531
29532 ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538 cat >conftest.$ac_ext <<_ACEOF
29539 /* confdefs.h. */
29540 _ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544 #include <expat.h>
29545 int
29546 main ()
29547 {
29548
29549 ;
29550 return 0;
29551 }
29552 _ACEOF
29553 rm -f conftest.$ac_objext
29554 if { (ac_try="$ac_compile"
29555 case "(($ac_try" in
29556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29557 *) ac_try_echo=$ac_try;;
29558 esac
29559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29560 (eval "$ac_compile") 2>conftest.er1
29561 ac_status=$?
29562 grep -v '^ *+' conftest.er1 >conftest.err
29563 rm -f conftest.er1
29564 cat conftest.err >&5
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); } && {
29567 test -z "$ac_cxx_werror_flag" ||
29568 test ! -s conftest.err
29569 } && test -s conftest.$ac_objext; then
29570 wx_cv_expat_is_not_broken=yes
29571 else
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29574
29575 wx_cv_expat_is_not_broken=no
29576
29577 fi
29578
29579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29580 ac_ext=c
29581 ac_cpp='$CPP $CPPFLAGS'
29582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29585
29586
29587
29588 fi
29589 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29590 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29591 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29592 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29593 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29594 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29595 echo $ECHO_N "(cached) $ECHO_C" >&6
29596 else
29597 ac_check_lib_save_LIBS=$LIBS
29598 LIBS="-lexpat $LIBS"
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605
29606 /* Override any GCC internal prototype to avoid an error.
29607 Use char because int might match the return type of a GCC
29608 builtin and then its argument prototype would still apply. */
29609 #ifdef __cplusplus
29610 extern "C"
29611 #endif
29612 char XML_ParserCreate ();
29613 int
29614 main ()
29615 {
29616 return XML_ParserCreate ();
29617 ;
29618 return 0;
29619 }
29620 _ACEOF
29621 rm -f conftest.$ac_objext conftest$ac_exeext
29622 if { (ac_try="$ac_link"
29623 case "(($ac_try" in
29624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29625 *) ac_try_echo=$ac_try;;
29626 esac
29627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29628 (eval "$ac_link") 2>conftest.er1
29629 ac_status=$?
29630 grep -v '^ *+' conftest.er1 >conftest.err
29631 rm -f conftest.er1
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } && {
29635 test -z "$ac_c_werror_flag" ||
29636 test ! -s conftest.err
29637 } && test -s conftest$ac_exeext &&
29638 $as_test_x conftest$ac_exeext; then
29639 ac_cv_lib_expat_XML_ParserCreate=yes
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 ac_cv_lib_expat_XML_ParserCreate=no
29645 fi
29646
29647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29648 conftest$ac_exeext conftest.$ac_ext
29649 LIBS=$ac_check_lib_save_LIBS
29650 fi
29651 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29652 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29653 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29654 EXPAT_LINK=" -lexpat"
29655 fi
29656
29657 fi
29658 fi
29659 if test "x$EXPAT_LINK" = "x" ; then
29660 if test "$wxUSE_EXPAT" = "sys" ; then
29661 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29662 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29663 { (exit 1); exit 1; }; }
29664 else
29665 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29666 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29667 wxUSE_EXPAT=builtin
29668 fi
29669 else
29670 wxUSE_EXPAT=sys
29671 fi
29672 fi
29673 if test "$wxUSE_EXPAT" = "builtin" ; then
29674 subdirs="$subdirs src/expat"
29675
29676 fi
29677 fi
29678
29679
29680
29681 if test "$wxUSE_LIBMSPACK" != "no"; then
29682 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29683 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29684 if test "${ac_cv_header_mspack_h+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 else
29687 cat >conftest.$ac_ext <<_ACEOF
29688 /* confdefs.h. */
29689 _ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693
29694
29695 #include <mspack.h>
29696 _ACEOF
29697 rm -f conftest.$ac_objext
29698 if { (ac_try="$ac_compile"
29699 case "(($ac_try" in
29700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29701 *) ac_try_echo=$ac_try;;
29702 esac
29703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29704 (eval "$ac_compile") 2>conftest.er1
29705 ac_status=$?
29706 grep -v '^ *+' conftest.er1 >conftest.err
29707 rm -f conftest.er1
29708 cat conftest.err >&5
29709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29710 (exit $ac_status); } && {
29711 test -z "$ac_c_werror_flag" ||
29712 test ! -s conftest.err
29713 } && test -s conftest.$ac_objext; then
29714 ac_cv_header_mspack_h=yes
29715 else
29716 echo "$as_me: failed program was:" >&5
29717 sed 's/^/| /' conftest.$ac_ext >&5
29718
29719 ac_cv_header_mspack_h=no
29720 fi
29721
29722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 fi
29724 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29725 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29726 if test $ac_cv_header_mspack_h = yes; then
29727 found_mspack_h=1
29728 fi
29729
29730
29731 if test "x$found_mspack_h" = "x1"; then
29732 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29733 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29734 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29737 ac_check_lib_save_LIBS=$LIBS
29738 LIBS="-lmspack $LIBS"
29739 cat >conftest.$ac_ext <<_ACEOF
29740 /* confdefs.h. */
29741 _ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29745
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
29749 #ifdef __cplusplus
29750 extern "C"
29751 #endif
29752 char mspack_create_chm_decompressor ();
29753 int
29754 main ()
29755 {
29756 return mspack_create_chm_decompressor ();
29757 ;
29758 return 0;
29759 }
29760 _ACEOF
29761 rm -f conftest.$ac_objext conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29766 esac
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest$ac_exeext &&
29778 $as_test_x conftest$ac_exeext; then
29779 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29780 else
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29783
29784 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29785 fi
29786
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 LIBS=$ac_check_lib_save_LIBS
29790 fi
29791 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29792 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29793 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29794 MSPACK_LINK=" -lmspack"
29795 fi
29796
29797 fi
29798 if test "x$MSPACK_LINK" = "x" ; then
29799 wxUSE_LIBMSPACK=no
29800 fi
29801 fi
29802
29803 if test "$wxUSE_LIBMSPACK" != "no"; then
29804 cat >>confdefs.h <<\_ACEOF
29805 #define wxUSE_LIBMSPACK 1
29806 _ACEOF
29807
29808 fi
29809
29810
29811
29812 AFMINSTALL=
29813 WIN32INSTALL=
29814
29815 TOOLKIT=
29816 TOOLKIT_INCLUDE=
29817 WIDGET_SET=
29818
29819 if test "$USE_WIN32" = 1 ; then
29820 { echo "$as_me:$LINENO: checking for w32api.h" >&5
29821 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
29822 if test "${ac_cv_header_w32api_h+set}" = set; then
29823 echo $ECHO_N "(cached) $ECHO_C" >&6
29824 else
29825 cat >conftest.$ac_ext <<_ACEOF
29826 /* confdefs.h. */
29827 _ACEOF
29828 cat confdefs.h >>conftest.$ac_ext
29829 cat >>conftest.$ac_ext <<_ACEOF
29830 /* end confdefs.h. */
29831
29832
29833 #include <w32api.h>
29834 _ACEOF
29835 rm -f conftest.$ac_objext
29836 if { (ac_try="$ac_compile"
29837 case "(($ac_try" in
29838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29839 *) ac_try_echo=$ac_try;;
29840 esac
29841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29842 (eval "$ac_compile") 2>conftest.er1
29843 ac_status=$?
29844 grep -v '^ *+' conftest.er1 >conftest.err
29845 rm -f conftest.er1
29846 cat conftest.err >&5
29847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29848 (exit $ac_status); } && {
29849 test -z "$ac_c_werror_flag" ||
29850 test ! -s conftest.err
29851 } && test -s conftest.$ac_objext; then
29852 ac_cv_header_w32api_h=yes
29853 else
29854 echo "$as_me: failed program was:" >&5
29855 sed 's/^/| /' conftest.$ac_ext >&5
29856
29857 ac_cv_header_w32api_h=no
29858 fi
29859
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29861 fi
29862 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
29863 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
29864
29865
29866 { echo "$as_me:$LINENO: checking for windows.h" >&5
29867 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29868 if test "${ac_cv_header_windows_h+set}" = set; then
29869 echo $ECHO_N "(cached) $ECHO_C" >&6
29870 else
29871 cat >conftest.$ac_ext <<_ACEOF
29872 /* confdefs.h. */
29873 _ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29877
29878
29879 #include <windows.h>
29880 _ACEOF
29881 rm -f conftest.$ac_objext
29882 if { (ac_try="$ac_compile"
29883 case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29886 esac
29887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_compile") 2>conftest.er1
29889 ac_status=$?
29890 grep -v '^ *+' conftest.er1 >conftest.err
29891 rm -f conftest.er1
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); } && {
29895 test -z "$ac_c_werror_flag" ||
29896 test ! -s conftest.err
29897 } && test -s conftest.$ac_objext; then
29898 ac_cv_header_windows_h=yes
29899 else
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29902
29903 ac_cv_header_windows_h=no
29904 fi
29905
29906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29907 fi
29908 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29909 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29910 if test $ac_cv_header_windows_h = yes; then
29911 :
29912 else
29913
29914 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29915 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29916 { (exit 1); exit 1; }; }
29917
29918 fi
29919
29920
29921
29922 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29923
29924 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29925 LIBS="$LIBS -loleacc"
29926 fi
29927
29928 case "${host}" in
29929 *-*-cygwin* )
29930 LIBS="$LIBS -lkernel32 -luser32"
29931 esac
29932
29933 if test "$wxUSE_ODBC" = "sys" ; then
29934 wxUSE_ODBC = "yes"
29935 fi
29936 if test "$wxUSE_ODBC" = "yes" ; then
29937 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29938 cat >>confdefs.h <<\_ACEOF
29939 #define wxUSE_ODBC 1
29940 _ACEOF
29941
29942 fi
29943
29944 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29945 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29946
29947 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29948
29949 WIN32INSTALL=win32install
29950
29951 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29952 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29953 if test "${ac_cv_header_pbt_h+set}" = set; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29956 cat >conftest.$ac_ext <<_ACEOF
29957 /* confdefs.h. */
29958 _ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29962
29963
29964 #include <pbt.h>
29965 _ACEOF
29966 rm -f conftest.$ac_objext
29967 if { (ac_try="$ac_compile"
29968 case "(($ac_try" in
29969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29970 *) ac_try_echo=$ac_try;;
29971 esac
29972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29973 (eval "$ac_compile") 2>conftest.er1
29974 ac_status=$?
29975 grep -v '^ *+' conftest.er1 >conftest.err
29976 rm -f conftest.er1
29977 cat conftest.err >&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } && {
29980 test -z "$ac_c_werror_flag" ||
29981 test ! -s conftest.err
29982 } && test -s conftest.$ac_objext; then
29983 ac_cv_header_pbt_h=yes
29984 else
29985 echo "$as_me: failed program was:" >&5
29986 sed 's/^/| /' conftest.$ac_ext >&5
29987
29988 ac_cv_header_pbt_h=no
29989 fi
29990
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992 fi
29993 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29994 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29995 if test $ac_cv_header_pbt_h = yes; then
29996 :
29997 else
29998 cat >>confdefs.h <<\_ACEOF
29999 #define NEED_PBT_H 1
30000 _ACEOF
30001
30002 fi
30003
30004
30005 fi
30006
30007 if test "$wxUSE_GUI" = "yes"; then
30008 USE_GUI=1
30009
30010 GUI_TK_LIBRARY=
30011
30012 WXGTK12=
30013 WXGTK127=
30014 WXGTK20=
30015 WXGPE=
30016
30017 if test "$wxUSE_COCOA" = 1 ; then
30018 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30019 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30020 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30021 wxUSE_PRINTING_ARCHITECTURE=no
30022 fi
30023 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30024 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30025 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30026 wxUSE_DRAG_AND_DROP=no
30027 fi
30028 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30029 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30030 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30031 wxUSE_DRAGIMAGE=no
30032 fi
30033 fi
30034
30035 if test "$wxUSE_MSW" = 1 ; then
30036 TOOLKIT=MSW
30037 GUIDIST=MSW_DIST
30038
30039 case "${host}" in
30040 *-*-mingw32* )
30041 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30042 esac
30043 fi
30044
30045 if test "$wxUSE_GTK" = 1; then
30046 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30047 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30048
30049 gtk_version_cached=1
30050 if test "${wx_cv_lib_gtk+set}" = set; then
30051 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 else
30053
30054 gtk_version_cached=0
30055 { echo "$as_me:$LINENO: result: " >&5
30056 echo "${ECHO_T}" >&6; }
30057
30058 GTK_MODULES=
30059 if test "$wxUSE_THREADS" = "yes"; then
30060 GTK_MODULES=gthread
30061 fi
30062
30063 wx_cv_lib_gtk=
30064 if test "x$wxGTK_VERSION" != "x1"
30065 then
30066 case "${host}" in
30067 *-*-solaris2* )
30068 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30069 enable_gtktest=no
30070 fi
30071 esac
30072
30073 # Check whether --enable-gtktest was given.
30074 if test "${enable_gtktest+set}" = set; then
30075 enableval=$enable_gtktest;
30076 else
30077 enable_gtktest=yes
30078 fi
30079
30080
30081 pkg_config_args=gtk+-2.0
30082 for module in . $GTK_MODULES
30083 do
30084 case "$module" in
30085 gthread)
30086 pkg_config_args="$pkg_config_args gthread-2.0"
30087 ;;
30088 esac
30089 done
30090
30091 no_gtk=""
30092
30093 # Extract the first word of "pkg-config", so it can be a program name with args.
30094 set dummy pkg-config; ac_word=$2
30095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30097 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30099 else
30100 case $PKG_CONFIG in
30101 [\\/]* | ?:[\\/]*)
30102 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30103 ;;
30104 *)
30105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30106 for as_dir in $PATH
30107 do
30108 IFS=$as_save_IFS
30109 test -z "$as_dir" && as_dir=.
30110 for ac_exec_ext in '' $ac_executable_extensions; do
30111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30112 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30114 break 2
30115 fi
30116 done
30117 done
30118 IFS=$as_save_IFS
30119
30120 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30121 ;;
30122 esac
30123 fi
30124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30125 if test -n "$PKG_CONFIG"; then
30126 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30127 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30128 else
30129 { echo "$as_me:$LINENO: result: no" >&5
30130 echo "${ECHO_T}no" >&6; }
30131 fi
30132
30133
30134
30135 if test x$PKG_CONFIG != xno ; then
30136 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30137 :
30138 else
30139 echo "*** pkg-config too old; version 0.7 or better required."
30140 no_gtk=yes
30141 PKG_CONFIG=no
30142 fi
30143 else
30144 no_gtk=yes
30145 fi
30146
30147 min_gtk_version=2.0.0
30148 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30149 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30150
30151 if test x$PKG_CONFIG != xno ; then
30152 ## don't try to run the test against uninstalled libtool libs
30153 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30154 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30155 enable_gtktest=no
30156 fi
30157
30158 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30159 :
30160 else
30161 no_gtk=yes
30162 fi
30163 fi
30164
30165 if test x"$no_gtk" = x ; then
30166 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30167 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30168 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30170 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30172 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30174 if test "x$enable_gtktest" = "xyes" ; then
30175 ac_save_CFLAGS="$CFLAGS"
30176 ac_save_LIBS="$LIBS"
30177 CFLAGS="$CFLAGS $GTK_CFLAGS"
30178 LIBS="$GTK_LIBS $LIBS"
30179 rm -f conf.gtktest
30180 if test "$cross_compiling" = yes; then
30181 echo $ac_n "cross compiling; assumed OK... $ac_c"
30182 else
30183 cat >conftest.$ac_ext <<_ACEOF
30184 /* confdefs.h. */
30185 _ACEOF
30186 cat confdefs.h >>conftest.$ac_ext
30187 cat >>conftest.$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30189
30190 #include <gtk/gtk.h>
30191 #include <stdio.h>
30192 #include <stdlib.h>
30193
30194 int
30195 main ()
30196 {
30197 int major, minor, micro;
30198 char *tmp_version;
30199
30200 system ("touch conf.gtktest");
30201
30202 /* HP/UX 9 (%@#!) writes to sscanf strings */
30203 tmp_version = g_strdup("$min_gtk_version");
30204 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30205 printf("%s, bad version string\n", "$min_gtk_version");
30206 exit(1);
30207 }
30208
30209 if ((gtk_major_version != $gtk_config_major_version) ||
30210 (gtk_minor_version != $gtk_config_minor_version) ||
30211 (gtk_micro_version != $gtk_config_micro_version))
30212 {
30213 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30214 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30215 gtk_major_version, gtk_minor_version, gtk_micro_version);
30216 printf ("*** was found! If pkg-config was correct, then it is best\n");
30217 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30218 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30219 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30220 printf("*** required on your system.\n");
30221 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30222 printf("*** to point to the correct configuration files\n");
30223 }
30224 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30225 (gtk_minor_version != GTK_MINOR_VERSION) ||
30226 (gtk_micro_version != GTK_MICRO_VERSION))
30227 {
30228 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30229 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30230 printf("*** library (version %d.%d.%d)\n",
30231 gtk_major_version, gtk_minor_version, gtk_micro_version);
30232 }
30233 else
30234 {
30235 if ((gtk_major_version > major) ||
30236 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30237 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30238 {
30239 return 0;
30240 }
30241 else
30242 {
30243 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30244 gtk_major_version, gtk_minor_version, gtk_micro_version);
30245 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30246 major, minor, micro);
30247 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30248 printf("***\n");
30249 printf("*** If you have already installed a sufficiently new version, this error\n");
30250 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30251 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30252 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30253 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30254 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30255 printf("*** so that the correct libraries are found at run-time))\n");
30256 }
30257 }
30258 return 1;
30259 }
30260
30261 _ACEOF
30262 rm -f conftest$ac_exeext
30263 if { (ac_try="$ac_link"
30264 case "(($ac_try" in
30265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30266 *) ac_try_echo=$ac_try;;
30267 esac
30268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30269 (eval "$ac_link") 2>&5
30270 ac_status=$?
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30273 { (case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30276 esac
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_try") 2>&5
30279 ac_status=$?
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); }; }; then
30282 :
30283 else
30284 echo "$as_me: program exited with status $ac_status" >&5
30285 echo "$as_me: failed program was:" >&5
30286 sed 's/^/| /' conftest.$ac_ext >&5
30287
30288 ( exit $ac_status )
30289 no_gtk=yes
30290 fi
30291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30292 fi
30293
30294
30295 CFLAGS="$ac_save_CFLAGS"
30296 LIBS="$ac_save_LIBS"
30297 fi
30298 fi
30299 if test "x$no_gtk" = x ; then
30300 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30301 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30302 wx_cv_lib_gtk=2.0
30303 else
30304 { echo "$as_me:$LINENO: result: no" >&5
30305 echo "${ECHO_T}no" >&6; }
30306 if test "$PKG_CONFIG" = "no" ; then
30307 echo "*** A new enough version of pkg-config was not found."
30308 echo "*** See http://pkgconfig.sourceforge.net"
30309 else
30310 if test -f conf.gtktest ; then
30311 :
30312 else
30313 echo "*** Could not run GTK+ test program, checking why..."
30314 ac_save_CFLAGS="$CFLAGS"
30315 ac_save_LIBS="$LIBS"
30316 CFLAGS="$CFLAGS $GTK_CFLAGS"
30317 LIBS="$LIBS $GTK_LIBS"
30318 cat >conftest.$ac_ext <<_ACEOF
30319 /* confdefs.h. */
30320 _ACEOF
30321 cat confdefs.h >>conftest.$ac_ext
30322 cat >>conftest.$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30324
30325 #include <gtk/gtk.h>
30326 #include <stdio.h>
30327
30328 int
30329 main ()
30330 {
30331 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30332 ;
30333 return 0;
30334 }
30335 _ACEOF
30336 rm -f conftest.$ac_objext conftest$ac_exeext
30337 if { (ac_try="$ac_link"
30338 case "(($ac_try" in
30339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30340 *) ac_try_echo=$ac_try;;
30341 esac
30342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30343 (eval "$ac_link") 2>conftest.er1
30344 ac_status=$?
30345 grep -v '^ *+' conftest.er1 >conftest.err
30346 rm -f conftest.er1
30347 cat conftest.err >&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } && {
30350 test -z "$ac_c_werror_flag" ||
30351 test ! -s conftest.err
30352 } && test -s conftest$ac_exeext &&
30353 $as_test_x conftest$ac_exeext; then
30354 echo "*** The test program compiled, but did not run. This usually means"
30355 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30356 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30357 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30358 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30359 echo "*** is required on your system"
30360 echo "***"
30361 echo "*** If you have an old version installed, it is best to remove it, although"
30362 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30363 else
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30366
30367 echo "*** The test program failed to compile or link. See the file config.log for the"
30368 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30369 fi
30370
30371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30372 conftest$ac_exeext conftest.$ac_ext
30373 CFLAGS="$ac_save_CFLAGS"
30374 LIBS="$ac_save_LIBS"
30375 fi
30376 fi
30377 GTK_CFLAGS=""
30378 GTK_LIBS=""
30379 :
30380 fi
30381
30382
30383 rm -f conf.gtktest
30384
30385
30386 case "${host}" in
30387 *-*-solaris2* )
30388 if test "$wxUSE_SHARED" != "yes"; then
30389 GTK_LIBS="$GTK_LIBS -lX11"
30390 fi
30391 esac
30392 fi
30393
30394 if test -z "$wx_cv_lib_gtk"; then
30395 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30396
30397 # Check whether --with-gtk-prefix was given.
30398 if test "${with_gtk_prefix+set}" = set; then
30399 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30400 else
30401 gtk_config_prefix=""
30402 fi
30403
30404
30405 # Check whether --with-gtk-exec-prefix was given.
30406 if test "${with_gtk_exec_prefix+set}" = set; then
30407 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30408 else
30409 gtk_config_exec_prefix=""
30410 fi
30411
30412 # Check whether --enable-gtktest was given.
30413 if test "${enable_gtktest+set}" = set; then
30414 enableval=$enable_gtktest;
30415 else
30416 enable_gtktest=yes
30417 fi
30418
30419
30420 for module in . $GTK_MODULES
30421 do
30422 case "$module" in
30423 gthread)
30424 gtk_config_args="$gtk_config_args gthread"
30425 ;;
30426 esac
30427 done
30428
30429 if test x$gtk_config_exec_prefix != x ; then
30430 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30431 if test x${GTK_CONFIG+set} != xset ; then
30432 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30433 fi
30434 fi
30435 if test x$gtk_config_prefix != x ; then
30436 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30437 if test x${GTK_CONFIG+set} != xset ; then
30438 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30439 fi
30440 fi
30441
30442 # Extract the first word of "gtk-config", so it can be a program name with args.
30443 set dummy gtk-config; ac_word=$2
30444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30446 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 else
30449 case $GTK_CONFIG in
30450 [\\/]* | ?:[\\/]*)
30451 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30452 ;;
30453 *)
30454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30455 for as_dir in $PATH
30456 do
30457 IFS=$as_save_IFS
30458 test -z "$as_dir" && as_dir=.
30459 for ac_exec_ext in '' $ac_executable_extensions; do
30460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30461 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30463 break 2
30464 fi
30465 done
30466 done
30467 IFS=$as_save_IFS
30468
30469 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30470 ;;
30471 esac
30472 fi
30473 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30474 if test -n "$GTK_CONFIG"; then
30475 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30476 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30477 else
30478 { echo "$as_me:$LINENO: result: no" >&5
30479 echo "${ECHO_T}no" >&6; }
30480 fi
30481
30482
30483 min_gtk_version=1.2.7
30484 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30485 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30486 no_gtk=""
30487 if test "$GTK_CONFIG" = "no" ; then
30488 no_gtk=yes
30489 else
30490 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30491 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30492 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30494 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30496 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30498 if test "x$enable_gtktest" = "xyes" ; then
30499 ac_save_CFLAGS="$CFLAGS"
30500 ac_save_LIBS="$LIBS"
30501 CFLAGS="$CFLAGS $GTK_CFLAGS"
30502 LIBS="$GTK_LIBS $LIBS"
30503 rm -f conf.gtktest
30504 if test "$cross_compiling" = yes; then
30505 echo $ac_n "cross compiling; assumed OK... $ac_c"
30506 else
30507 cat >conftest.$ac_ext <<_ACEOF
30508 /* confdefs.h. */
30509 _ACEOF
30510 cat confdefs.h >>conftest.$ac_ext
30511 cat >>conftest.$ac_ext <<_ACEOF
30512 /* end confdefs.h. */
30513
30514 #include <gtk/gtk.h>
30515 #include <stdio.h>
30516 #include <stdlib.h>
30517
30518 int
30519 main ()
30520 {
30521 int major, minor, micro;
30522 char *tmp_version;
30523
30524 system ("touch conf.gtktest");
30525
30526 /* HP/UX 9 (%@#!) writes to sscanf strings */
30527 tmp_version = g_strdup("$min_gtk_version");
30528 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30529 printf("%s, bad version string\n", "$min_gtk_version");
30530 exit(1);
30531 }
30532
30533 if ((gtk_major_version != $gtk_config_major_version) ||
30534 (gtk_minor_version != $gtk_config_minor_version) ||
30535 (gtk_micro_version != $gtk_config_micro_version))
30536 {
30537 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30538 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30539 gtk_major_version, gtk_minor_version, gtk_micro_version);
30540 printf ("*** was found! If gtk-config was correct, then it is best\n");
30541 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30542 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30543 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30544 printf("*** required on your system.\n");
30545 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30546 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30547 printf("*** before re-running configure\n");
30548 }
30549 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30550 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30551 (gtk_minor_version != GTK_MINOR_VERSION) ||
30552 (gtk_micro_version != GTK_MICRO_VERSION))
30553 {
30554 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30555 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30556 printf("*** library (version %d.%d.%d)\n",
30557 gtk_major_version, gtk_minor_version, gtk_micro_version);
30558 }
30559 #endif /* defined (GTK_MAJOR_VERSION) ... */
30560 else
30561 {
30562 if ((gtk_major_version > major) ||
30563 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30564 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30565 {
30566 return 0;
30567 }
30568 else
30569 {
30570 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30571 gtk_major_version, gtk_minor_version, gtk_micro_version);
30572 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30573 major, minor, micro);
30574 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30575 printf("***\n");
30576 printf("*** If you have already installed a sufficiently new version, this error\n");
30577 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30578 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30579 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30580 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30581 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30582 printf("*** so that the correct libraries are found at run-time))\n");
30583 }
30584 }
30585 return 1;
30586 }
30587
30588 _ACEOF
30589 rm -f conftest$ac_exeext
30590 if { (ac_try="$ac_link"
30591 case "(($ac_try" in
30592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30593 *) ac_try_echo=$ac_try;;
30594 esac
30595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30596 (eval "$ac_link") 2>&5
30597 ac_status=$?
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30600 { (case "(($ac_try" in
30601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30602 *) ac_try_echo=$ac_try;;
30603 esac
30604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30605 (eval "$ac_try") 2>&5
30606 ac_status=$?
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; }; then
30609 :
30610 else
30611 echo "$as_me: program exited with status $ac_status" >&5
30612 echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.$ac_ext >&5
30614
30615 ( exit $ac_status )
30616 no_gtk=yes
30617 fi
30618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30619 fi
30620
30621
30622 CFLAGS="$ac_save_CFLAGS"
30623 LIBS="$ac_save_LIBS"
30624 fi
30625 fi
30626 if test "x$no_gtk" = x ; then
30627 { echo "$as_me:$LINENO: result: yes" >&5
30628 echo "${ECHO_T}yes" >&6; }
30629 wx_cv_lib_gtk=1.2.7
30630 else
30631 { echo "$as_me:$LINENO: result: no" >&5
30632 echo "${ECHO_T}no" >&6; }
30633 if test "$GTK_CONFIG" = "no" ; then
30634 echo "*** The gtk-config script installed by GTK could not be found"
30635 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30636 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30637 echo "*** full path to gtk-config."
30638 else
30639 if test -f conf.gtktest ; then
30640 :
30641 else
30642 echo "*** Could not run GTK test program, checking why..."
30643 CFLAGS="$CFLAGS $GTK_CFLAGS"
30644 LIBS="$LIBS $GTK_LIBS"
30645 cat >conftest.$ac_ext <<_ACEOF
30646 /* confdefs.h. */
30647 _ACEOF
30648 cat confdefs.h >>conftest.$ac_ext
30649 cat >>conftest.$ac_ext <<_ACEOF
30650 /* end confdefs.h. */
30651
30652 #include <gtk/gtk.h>
30653 #include <stdio.h>
30654
30655 int
30656 main ()
30657 {
30658 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30659 ;
30660 return 0;
30661 }
30662 _ACEOF
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (ac_try="$ac_link"
30665 case "(($ac_try" in
30666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30667 *) ac_try_echo=$ac_try;;
30668 esac
30669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30670 (eval "$ac_link") 2>conftest.er1
30671 ac_status=$?
30672 grep -v '^ *+' conftest.er1 >conftest.err
30673 rm -f conftest.er1
30674 cat conftest.err >&5
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); } && {
30677 test -z "$ac_c_werror_flag" ||
30678 test ! -s conftest.err
30679 } && test -s conftest$ac_exeext &&
30680 $as_test_x conftest$ac_exeext; then
30681 echo "*** The test program compiled, but did not run. This usually means"
30682 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30683 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30684 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30685 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30686 echo "*** is required on your system"
30687 echo "***"
30688 echo "*** If you have an old version installed, it is best to remove it, although"
30689 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30690 echo "***"
30691 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30692 echo "*** came with the system with the command"
30693 echo "***"
30694 echo "*** rpm --erase --nodeps gtk gtk-devel"
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30698
30699 echo "*** The test program failed to compile or link. See the file config.log for the"
30700 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30701 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30702 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30703 fi
30704
30705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30706 conftest$ac_exeext conftest.$ac_ext
30707 CFLAGS="$ac_save_CFLAGS"
30708 LIBS="$ac_save_LIBS"
30709 fi
30710 fi
30711 GTK_CFLAGS=""
30712 GTK_LIBS=""
30713 :
30714 fi
30715
30716
30717 rm -f conf.gtktest
30718
30719
30720 if test -z "$wx_cv_lib_gtk"; then
30721
30722 # Check whether --with-gtk-prefix was given.
30723 if test "${with_gtk_prefix+set}" = set; then
30724 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30725 else
30726 gtk_config_prefix=""
30727 fi
30728
30729
30730 # Check whether --with-gtk-exec-prefix was given.
30731 if test "${with_gtk_exec_prefix+set}" = set; then
30732 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30733 else
30734 gtk_config_exec_prefix=""
30735 fi
30736
30737 # Check whether --enable-gtktest was given.
30738 if test "${enable_gtktest+set}" = set; then
30739 enableval=$enable_gtktest;
30740 else
30741 enable_gtktest=yes
30742 fi
30743
30744
30745 for module in . $GTK_MODULES
30746 do
30747 case "$module" in
30748 gthread)
30749 gtk_config_args="$gtk_config_args gthread"
30750 ;;
30751 esac
30752 done
30753
30754 if test x$gtk_config_exec_prefix != x ; then
30755 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30756 if test x${GTK_CONFIG+set} != xset ; then
30757 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30758 fi
30759 fi
30760 if test x$gtk_config_prefix != x ; then
30761 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30762 if test x${GTK_CONFIG+set} != xset ; then
30763 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30764 fi
30765 fi
30766
30767 # Extract the first word of "gtk-config", so it can be a program name with args.
30768 set dummy gtk-config; ac_word=$2
30769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30771 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30772 echo $ECHO_N "(cached) $ECHO_C" >&6
30773 else
30774 case $GTK_CONFIG in
30775 [\\/]* | ?:[\\/]*)
30776 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30777 ;;
30778 *)
30779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30780 for as_dir in $PATH
30781 do
30782 IFS=$as_save_IFS
30783 test -z "$as_dir" && as_dir=.
30784 for ac_exec_ext in '' $ac_executable_extensions; do
30785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30786 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30788 break 2
30789 fi
30790 done
30791 done
30792 IFS=$as_save_IFS
30793
30794 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30795 ;;
30796 esac
30797 fi
30798 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30799 if test -n "$GTK_CONFIG"; then
30800 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30801 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30802 else
30803 { echo "$as_me:$LINENO: result: no" >&5
30804 echo "${ECHO_T}no" >&6; }
30805 fi
30806
30807
30808 min_gtk_version=1.2.3
30809 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30810 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30811 no_gtk=""
30812 if test "$GTK_CONFIG" = "no" ; then
30813 no_gtk=yes
30814 else
30815 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30816 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30817 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30818 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30819 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30820 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30821 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30822 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30823 if test "x$enable_gtktest" = "xyes" ; then
30824 ac_save_CFLAGS="$CFLAGS"
30825 ac_save_LIBS="$LIBS"
30826 CFLAGS="$CFLAGS $GTK_CFLAGS"
30827 LIBS="$GTK_LIBS $LIBS"
30828 rm -f conf.gtktest
30829 if test "$cross_compiling" = yes; then
30830 echo $ac_n "cross compiling; assumed OK... $ac_c"
30831 else
30832 cat >conftest.$ac_ext <<_ACEOF
30833 /* confdefs.h. */
30834 _ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838
30839 #include <gtk/gtk.h>
30840 #include <stdio.h>
30841 #include <stdlib.h>
30842
30843 int
30844 main ()
30845 {
30846 int major, minor, micro;
30847 char *tmp_version;
30848
30849 system ("touch conf.gtktest");
30850
30851 /* HP/UX 9 (%@#!) writes to sscanf strings */
30852 tmp_version = g_strdup("$min_gtk_version");
30853 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30854 printf("%s, bad version string\n", "$min_gtk_version");
30855 exit(1);
30856 }
30857
30858 if ((gtk_major_version != $gtk_config_major_version) ||
30859 (gtk_minor_version != $gtk_config_minor_version) ||
30860 (gtk_micro_version != $gtk_config_micro_version))
30861 {
30862 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30863 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30864 gtk_major_version, gtk_minor_version, gtk_micro_version);
30865 printf ("*** was found! If gtk-config was correct, then it is best\n");
30866 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30867 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30868 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30869 printf("*** required on your system.\n");
30870 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30871 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30872 printf("*** before re-running configure\n");
30873 }
30874 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30875 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30876 (gtk_minor_version != GTK_MINOR_VERSION) ||
30877 (gtk_micro_version != GTK_MICRO_VERSION))
30878 {
30879 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30880 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30881 printf("*** library (version %d.%d.%d)\n",
30882 gtk_major_version, gtk_minor_version, gtk_micro_version);
30883 }
30884 #endif /* defined (GTK_MAJOR_VERSION) ... */
30885 else
30886 {
30887 if ((gtk_major_version > major) ||
30888 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30889 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30890 {
30891 return 0;
30892 }
30893 else
30894 {
30895 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30896 gtk_major_version, gtk_minor_version, gtk_micro_version);
30897 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30898 major, minor, micro);
30899 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30900 printf("***\n");
30901 printf("*** If you have already installed a sufficiently new version, this error\n");
30902 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30903 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30904 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30905 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30906 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30907 printf("*** so that the correct libraries are found at run-time))\n");
30908 }
30909 }
30910 return 1;
30911 }
30912
30913 _ACEOF
30914 rm -f conftest$ac_exeext
30915 if { (ac_try="$ac_link"
30916 case "(($ac_try" in
30917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30918 *) ac_try_echo=$ac_try;;
30919 esac
30920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_link") 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30925 { (case "(($ac_try" in
30926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30927 *) ac_try_echo=$ac_try;;
30928 esac
30929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30930 (eval "$ac_try") 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; }; then
30934 :
30935 else
30936 echo "$as_me: program exited with status $ac_status" >&5
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30939
30940 ( exit $ac_status )
30941 no_gtk=yes
30942 fi
30943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30944 fi
30945
30946
30947 CFLAGS="$ac_save_CFLAGS"
30948 LIBS="$ac_save_LIBS"
30949 fi
30950 fi
30951 if test "x$no_gtk" = x ; then
30952 { echo "$as_me:$LINENO: result: yes" >&5
30953 echo "${ECHO_T}yes" >&6; }
30954 wx_cv_lib_gtk=1.2.3
30955 else
30956 { echo "$as_me:$LINENO: result: no" >&5
30957 echo "${ECHO_T}no" >&6; }
30958 if test "$GTK_CONFIG" = "no" ; then
30959 echo "*** The gtk-config script installed by GTK could not be found"
30960 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30961 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30962 echo "*** full path to gtk-config."
30963 else
30964 if test -f conf.gtktest ; then
30965 :
30966 else
30967 echo "*** Could not run GTK test program, checking why..."
30968 CFLAGS="$CFLAGS $GTK_CFLAGS"
30969 LIBS="$LIBS $GTK_LIBS"
30970 cat >conftest.$ac_ext <<_ACEOF
30971 /* confdefs.h. */
30972 _ACEOF
30973 cat confdefs.h >>conftest.$ac_ext
30974 cat >>conftest.$ac_ext <<_ACEOF
30975 /* end confdefs.h. */
30976
30977 #include <gtk/gtk.h>
30978 #include <stdio.h>
30979
30980 int
30981 main ()
30982 {
30983 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30984 ;
30985 return 0;
30986 }
30987 _ACEOF
30988 rm -f conftest.$ac_objext conftest$ac_exeext
30989 if { (ac_try="$ac_link"
30990 case "(($ac_try" in
30991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30992 *) ac_try_echo=$ac_try;;
30993 esac
30994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30995 (eval "$ac_link") 2>conftest.er1
30996 ac_status=$?
30997 grep -v '^ *+' conftest.er1 >conftest.err
30998 rm -f conftest.er1
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } && {
31002 test -z "$ac_c_werror_flag" ||
31003 test ! -s conftest.err
31004 } && test -s conftest$ac_exeext &&
31005 $as_test_x conftest$ac_exeext; then
31006 echo "*** The test program compiled, but did not run. This usually means"
31007 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31008 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31009 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31010 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31011 echo "*** is required on your system"
31012 echo "***"
31013 echo "*** If you have an old version installed, it is best to remove it, although"
31014 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31015 echo "***"
31016 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31017 echo "*** came with the system with the command"
31018 echo "***"
31019 echo "*** rpm --erase --nodeps gtk gtk-devel"
31020 else
31021 echo "$as_me: failed program was:" >&5
31022 sed 's/^/| /' conftest.$ac_ext >&5
31023
31024 echo "*** The test program failed to compile or link. See the file config.log for the"
31025 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31026 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31027 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31028 fi
31029
31030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31031 conftest$ac_exeext conftest.$ac_ext
31032 CFLAGS="$ac_save_CFLAGS"
31033 LIBS="$ac_save_LIBS"
31034 fi
31035 fi
31036 GTK_CFLAGS=""
31037 GTK_LIBS=""
31038 :
31039 fi
31040
31041
31042 rm -f conf.gtktest
31043
31044 fi
31045 fi
31046 fi
31047
31048 if test -z "$wx_cv_lib_gtk"; then
31049 wx_cv_lib_gtk=none
31050 else
31051 wx_cv_cflags_gtk=$GTK_CFLAGS
31052 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31053 fi
31054
31055
31056 fi
31057
31058
31059 if test "$gtk_version_cached" = 1; then
31060 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31061 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31062 fi
31063
31064 case "$wx_cv_lib_gtk" in
31065 2.0) WXGTK20=1
31066 TOOLKIT_VERSION=2
31067 ;;
31068 1.2.7) WXGTK127=1
31069 WXGTK12=1
31070 ;;
31071 1.2.3) WXGTK12=1
31072 ;;
31073 *) { { echo "$as_me:$LINENO: error:
31074 The development files for GTK+ were not found. For GTK+ 2, please
31075 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31076 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31077 and that the version is 1.2.3 or above. Also check that the
31078 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31079 --libs' are in the LD_LIBRARY_PATH or equivalent.
31080 " >&5
31081 echo "$as_me: error:
31082 The development files for GTK+ were not found. For GTK+ 2, please
31083 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31084 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31085 and that the version is 1.2.3 or above. Also check that the
31086 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31087 --libs' are in the LD_LIBRARY_PATH or equivalent.
31088 " >&2;}
31089 { (exit 1); exit 1; }; }
31090 ;;
31091 esac
31092
31093 if test "$WXGTK20" = 1; then
31094 save_CFLAGS="$CFLAGS"
31095 save_LIBS="$LIBS"
31096 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31097 LIBS="$LIBS $wx_cv_libs_gtk"
31098
31099 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31100 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31101 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 cat >conftest.$ac_ext <<_ACEOF
31105 /* confdefs.h. */
31106 _ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 #include <gtk/gtk.h>
31111
31112 int
31113 main ()
31114 {
31115 #ifndef gtk_icon_size_lookup
31116 (void) gtk_icon_size_lookup;
31117 #endif
31118
31119 ;
31120 return 0;
31121 }
31122 _ACEOF
31123 rm -f conftest.$ac_objext
31124 if { (ac_try="$ac_compile"
31125 case "(($ac_try" in
31126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31127 *) ac_try_echo=$ac_try;;
31128 esac
31129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31130 (eval "$ac_compile") 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } && {
31137 test -z "$ac_c_werror_flag" ||
31138 test ! -s conftest.err
31139 } && test -s conftest.$ac_objext; then
31140 ac_cv_have_decl_gtk_icon_size_lookup=yes
31141 else
31142 echo "$as_me: failed program was:" >&5
31143 sed 's/^/| /' conftest.$ac_ext >&5
31144
31145 ac_cv_have_decl_gtk_icon_size_lookup=no
31146 fi
31147
31148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31149 fi
31150 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31151 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31152 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31153
31154 cat >>confdefs.h <<_ACEOF
31155 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31156 _ACEOF
31157
31158
31159 else
31160 cat >>confdefs.h <<_ACEOF
31161 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31162 _ACEOF
31163
31164 cat >>confdefs.h <<\_ACEOF
31165 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31166 _ACEOF
31167
31168 fi
31169
31170
31171
31172
31173 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31174 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31175 cat >conftest.$ac_ext <<_ACEOF
31176 /* confdefs.h. */
31177 _ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h. */
31181
31182 #include <gtk/gtk.h>
31183
31184 int
31185 main ()
31186 {
31187
31188 #if !GTK_CHECK_VERSION(2,10,0)
31189 Not GTK+ 2.10
31190 #endif
31191
31192 ;
31193 return 0;
31194 }
31195 _ACEOF
31196 rm -f conftest.$ac_objext
31197 if { (ac_try="$ac_compile"
31198 case "(($ac_try" in
31199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31200 *) ac_try_echo=$ac_try;;
31201 esac
31202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31203 (eval "$ac_compile") 2>conftest.er1
31204 ac_status=$?
31205 grep -v '^ *+' conftest.er1 >conftest.err
31206 rm -f conftest.er1
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } && {
31210 test -z "$ac_c_werror_flag" ||
31211 test ! -s conftest.err
31212 } && test -s conftest.$ac_objext; then
31213
31214 cat >>confdefs.h <<\_ACEOF
31215 #define __WXGTK210__ 1
31216 _ACEOF
31217
31218 cat >>confdefs.h <<\_ACEOF
31219 #define __WXGTK26__ 1
31220 _ACEOF
31221
31222 cat >>confdefs.h <<\_ACEOF
31223 #define __WXGTK24__ 1
31224 _ACEOF
31225
31226 { echo "$as_me:$LINENO: result: yes" >&5
31227 echo "${ECHO_T}yes" >&6; }
31228 ac_wxgtk210=1
31229
31230 else
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.$ac_ext >&5
31233
31234
31235 { echo "$as_me:$LINENO: result: no" >&5
31236 echo "${ECHO_T}no" >&6; }
31237 ac_wxgtk210=0
31238
31239 fi
31240
31241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31242
31243 if test "$ac_wxgtk210" = 0; then
31244 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31245 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252
31253 #include <gtk/gtk.h>
31254
31255 int
31256 main ()
31257 {
31258
31259 #if !GTK_CHECK_VERSION(2,6,0)
31260 Not GTK+ 2.6
31261 #endif
31262
31263 ;
31264 return 0;
31265 }
31266 _ACEOF
31267 rm -f conftest.$ac_objext
31268 if { (ac_try="$ac_compile"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31272 esac
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_compile") 2>conftest.er1
31275 ac_status=$?
31276 grep -v '^ *+' conftest.er1 >conftest.err
31277 rm -f conftest.er1
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest.$ac_objext; then
31284
31285 cat >>confdefs.h <<\_ACEOF
31286 #define __WXGTK26__ 1
31287 _ACEOF
31288
31289 cat >>confdefs.h <<\_ACEOF
31290 #define __WXGTK24__ 1
31291 _ACEOF
31292
31293 { echo "$as_me:$LINENO: result: yes" >&5
31294 echo "${ECHO_T}yes" >&6; }
31295 ac_wxgtk26=1
31296
31297 else
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31300
31301
31302 { echo "$as_me:$LINENO: result: no" >&5
31303 echo "${ECHO_T}no" >&6; }
31304 ac_wxgtk26=0
31305
31306 fi
31307
31308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31309 fi
31310
31311 if test "$ac_wxgtk26" = 0; then
31312 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31313 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31314 cat >conftest.$ac_ext <<_ACEOF
31315 /* confdefs.h. */
31316 _ACEOF
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31320
31321 #include <gtk/gtk.h>
31322
31323 int
31324 main ()
31325 {
31326
31327 #if !GTK_CHECK_VERSION(2,4,0)
31328 Not GTK+ 2.4
31329 #endif
31330
31331 ;
31332 return 0;
31333 }
31334 _ACEOF
31335 rm -f conftest.$ac_objext
31336 if { (ac_try="$ac_compile"
31337 case "(($ac_try" in
31338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31339 *) ac_try_echo=$ac_try;;
31340 esac
31341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31342 (eval "$ac_compile") 2>conftest.er1
31343 ac_status=$?
31344 grep -v '^ *+' conftest.er1 >conftest.err
31345 rm -f conftest.er1
31346 cat conftest.err >&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } && {
31349 test -z "$ac_c_werror_flag" ||
31350 test ! -s conftest.err
31351 } && test -s conftest.$ac_objext; then
31352
31353 cat >>confdefs.h <<\_ACEOF
31354 #define __WXGTK24__ 1
31355 _ACEOF
31356
31357 { echo "$as_me:$LINENO: result: yes" >&5
31358 echo "${ECHO_T}yes" >&6; }
31359
31360 else
31361 echo "$as_me: failed program was:" >&5
31362 sed 's/^/| /' conftest.$ac_ext >&5
31363
31364
31365 { echo "$as_me:$LINENO: result: no" >&5
31366 echo "${ECHO_T}no" >&6; }
31367
31368 fi
31369
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31371 fi
31372
31373 CFLAGS="$save_CFLAGS"
31374 LIBS="$save_LIBS"
31375 else
31376 if test "$wxUSE_UNICODE" = "yes"; then
31377 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31378 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31379 wxUSE_UNICODE=no
31380 fi
31381
31382 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31383 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31384 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31385 echo $ECHO_N "(cached) $ECHO_C" >&6
31386 else
31387 ac_check_lib_save_LIBS=$LIBS
31388 LIBS="-lgdk $LIBS"
31389 cat >conftest.$ac_ext <<_ACEOF
31390 /* confdefs.h. */
31391 _ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h. */
31395
31396 /* Override any GCC internal prototype to avoid an error.
31397 Use char because int might match the return type of a GCC
31398 builtin and then its argument prototype would still apply. */
31399 #ifdef __cplusplus
31400 extern "C"
31401 #endif
31402 char gdk_im_open ();
31403 int
31404 main ()
31405 {
31406 return gdk_im_open ();
31407 ;
31408 return 0;
31409 }
31410 _ACEOF
31411 rm -f conftest.$ac_objext conftest$ac_exeext
31412 if { (ac_try="$ac_link"
31413 case "(($ac_try" in
31414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31415 *) ac_try_echo=$ac_try;;
31416 esac
31417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31418 (eval "$ac_link") 2>conftest.er1
31419 ac_status=$?
31420 grep -v '^ *+' conftest.er1 >conftest.err
31421 rm -f conftest.er1
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } && {
31425 test -z "$ac_c_werror_flag" ||
31426 test ! -s conftest.err
31427 } && test -s conftest$ac_exeext &&
31428 $as_test_x conftest$ac_exeext; then
31429 ac_cv_lib_gdk_gdk_im_open=yes
31430 else
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31433
31434 ac_cv_lib_gdk_gdk_im_open=no
31435 fi
31436
31437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31438 conftest$ac_exeext conftest.$ac_ext
31439 LIBS=$ac_check_lib_save_LIBS
31440 fi
31441 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31442 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31443 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31444 cat >>confdefs.h <<\_ACEOF
31445 #define HAVE_XIM 1
31446 _ACEOF
31447
31448 fi
31449
31450
31451 if test "$USE_DARWIN" != 1; then
31452
31453 for ac_func in poll
31454 do
31455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31458 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 else
31461 cat >conftest.$ac_ext <<_ACEOF
31462 /* confdefs.h. */
31463 _ACEOF
31464 cat confdefs.h >>conftest.$ac_ext
31465 cat >>conftest.$ac_ext <<_ACEOF
31466 /* end confdefs.h. */
31467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31469 #define $ac_func innocuous_$ac_func
31470
31471 /* System header to define __stub macros and hopefully few prototypes,
31472 which can conflict with char $ac_func (); below.
31473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31474 <limits.h> exists even on freestanding compilers. */
31475
31476 #ifdef __STDC__
31477 # include <limits.h>
31478 #else
31479 # include <assert.h>
31480 #endif
31481
31482 #undef $ac_func
31483
31484 /* Override any GCC internal prototype to avoid an error.
31485 Use char because int might match the return type of a GCC
31486 builtin and then its argument prototype would still apply. */
31487 #ifdef __cplusplus
31488 extern "C"
31489 #endif
31490 char $ac_func ();
31491 /* The GNU C library defines this for functions which it implements
31492 to always fail with ENOSYS. Some functions are actually named
31493 something starting with __ and the normal name is an alias. */
31494 #if defined __stub_$ac_func || defined __stub___$ac_func
31495 choke me
31496 #endif
31497
31498 int
31499 main ()
31500 {
31501 return $ac_func ();
31502 ;
31503 return 0;
31504 }
31505 _ACEOF
31506 rm -f conftest.$ac_objext conftest$ac_exeext
31507 if { (ac_try="$ac_link"
31508 case "(($ac_try" in
31509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31510 *) ac_try_echo=$ac_try;;
31511 esac
31512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31513 (eval "$ac_link") 2>conftest.er1
31514 ac_status=$?
31515 grep -v '^ *+' conftest.er1 >conftest.err
31516 rm -f conftest.er1
31517 cat conftest.err >&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); } && {
31520 test -z "$ac_c_werror_flag" ||
31521 test ! -s conftest.err
31522 } && test -s conftest$ac_exeext &&
31523 $as_test_x conftest$ac_exeext; then
31524 eval "$as_ac_var=yes"
31525 else
31526 echo "$as_me: failed program was:" >&5
31527 sed 's/^/| /' conftest.$ac_ext >&5
31528
31529 eval "$as_ac_var=no"
31530 fi
31531
31532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31533 conftest$ac_exeext conftest.$ac_ext
31534 fi
31535 ac_res=`eval echo '${'$as_ac_var'}'`
31536 { echo "$as_me:$LINENO: result: $ac_res" >&5
31537 echo "${ECHO_T}$ac_res" >&6; }
31538 if test `eval echo '${'$as_ac_var'}'` = yes; then
31539 cat >>confdefs.h <<_ACEOF
31540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31541 _ACEOF
31542
31543 fi
31544 done
31545
31546 fi
31547 fi
31548
31549 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31550 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31551
31552 AFMINSTALL=afminstall
31553 TOOLKIT=GTK
31554 GUIDIST=GTK_DIST
31555
31556 if test "$wxUSE_GPE" = "yes"; then
31557 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31558 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31559
31560 ac_find_libraries=
31561 for ac_dir in $SEARCH_LIB;
31562 do
31563 for ac_extension in a so sl dylib dll.a; do
31564 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31565 ac_find_libraries=$ac_dir
31566 break 2
31567 fi
31568 done
31569 done
31570
31571 if test "$ac_find_libraries" != "" ; then
31572
31573 if test "$ac_find_libraries" = "default location"; then
31574 ac_path_to_link=""
31575 else
31576 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31577 result=$?
31578 if test $result = 0; then
31579 ac_path_to_link=""
31580 else
31581 ac_path_to_link=" -L$ac_find_libraries"
31582 fi
31583 fi
31584
31585 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31586 WXGPE=1
31587 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31588 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31589 else
31590 { echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6; }
31592 fi
31593
31594 fi
31595 fi
31596
31597 if test "$wxUSE_MGL" = 1; then
31598 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31599 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31600 if test "x$MGL_ROOT" = x ; then
31601 { echo "$as_me:$LINENO: result: not found" >&5
31602 echo "${ECHO_T}not found" >&6; }
31603 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31604 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31605 { (exit 1); exit 1; }; }
31606 else
31607 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31608 echo "${ECHO_T}$MGL_ROOT" >&6; }
31609 fi
31610
31611 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31612 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31613 case "${host}" in
31614 *-*-linux* )
31615 if test "x$wxUSE_SHARED" = xyes ; then
31616 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31617 else
31618 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31619 fi
31620 ;;
31621 *-pc-msdosdjgpp )
31622 mgl_os_candidates="dos32/dj2"
31623 ;;
31624 *)
31625 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31626 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31627 { (exit 1); exit 1; }; }
31628 esac
31629
31630 mgl_lib_type=""
31631 mgl_os=""
31632
31633 for mgl_os_i in $mgl_os_candidates ; do
31634 if test "x$mgl_os" = x ; then
31635 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31636 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31637 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31638 mgl_lib_type=debug
31639 mgl_os=$mgl_os_i
31640 fi
31641 fi
31642 if test "x$mgl_lib_type" = x ; then
31643 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31644 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31645 mgl_lib_type=release
31646 mgl_os=$mgl_os_i
31647 fi
31648 fi
31649 fi
31650 done
31651
31652 if test "x$mgl_os" = x ; then
31653 { echo "$as_me:$LINENO: result: not found" >&5
31654 echo "${ECHO_T}not found" >&6; }
31655 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31656 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31657 { (exit 1); exit 1; }; }
31658 fi
31659 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31660 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31661
31662 wxUSE_UNIVERSAL="yes"
31663
31664 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31665 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31666
31667 AFMINSTALL=afminstall
31668 TOOLKIT=MGL
31669 GUIDIST=MGL_DIST
31670 fi
31671
31672 if test "$wxUSE_DFB" = 1; then
31673
31674
31675 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31676 if test -n "$ac_tool_prefix"; then
31677 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31678 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31681 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31682 echo $ECHO_N "(cached) $ECHO_C" >&6
31683 else
31684 case $PKG_CONFIG in
31685 [\\/]* | ?:[\\/]*)
31686 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31687 ;;
31688 *)
31689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31690 for as_dir in $PATH
31691 do
31692 IFS=$as_save_IFS
31693 test -z "$as_dir" && as_dir=.
31694 for ac_exec_ext in '' $ac_executable_extensions; do
31695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31696 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31698 break 2
31699 fi
31700 done
31701 done
31702 IFS=$as_save_IFS
31703
31704 ;;
31705 esac
31706 fi
31707 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31708 if test -n "$PKG_CONFIG"; then
31709 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31710 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31711 else
31712 { echo "$as_me:$LINENO: result: no" >&5
31713 echo "${ECHO_T}no" >&6; }
31714 fi
31715
31716
31717 fi
31718 if test -z "$ac_cv_path_PKG_CONFIG"; then
31719 ac_pt_PKG_CONFIG=$PKG_CONFIG
31720 # Extract the first word of "pkg-config", so it can be a program name with args.
31721 set dummy pkg-config; ac_word=$2
31722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31724 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31725 echo $ECHO_N "(cached) $ECHO_C" >&6
31726 else
31727 case $ac_pt_PKG_CONFIG in
31728 [\\/]* | ?:[\\/]*)
31729 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31730 ;;
31731 *)
31732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31733 for as_dir in $PATH
31734 do
31735 IFS=$as_save_IFS
31736 test -z "$as_dir" && as_dir=.
31737 for ac_exec_ext in '' $ac_executable_extensions; do
31738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31739 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31741 break 2
31742 fi
31743 done
31744 done
31745 IFS=$as_save_IFS
31746
31747 ;;
31748 esac
31749 fi
31750 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31751 if test -n "$ac_pt_PKG_CONFIG"; then
31752 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31753 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31754 else
31755 { echo "$as_me:$LINENO: result: no" >&5
31756 echo "${ECHO_T}no" >&6; }
31757 fi
31758
31759 if test "x$ac_pt_PKG_CONFIG" = x; then
31760 PKG_CONFIG=""
31761 else
31762 case $cross_compiling:$ac_tool_warned in
31763 yes:)
31764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31765 whose name does not start with the host triplet. If you think this
31766 configuration is useful to you, please write to autoconf@gnu.org." >&5
31767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31768 whose name does not start with the host triplet. If you think this
31769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31770 ac_tool_warned=yes ;;
31771 esac
31772 PKG_CONFIG=$ac_pt_PKG_CONFIG
31773 fi
31774 else
31775 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31776 fi
31777
31778 fi
31779 if test -n "$PKG_CONFIG"; then
31780 _pkg_min_version=0.9.0
31781 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31782 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31783 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31784 { echo "$as_me:$LINENO: result: yes" >&5
31785 echo "${ECHO_T}yes" >&6; }
31786 else
31787 { echo "$as_me:$LINENO: result: no" >&5
31788 echo "${ECHO_T}no" >&6; }
31789 PKG_CONFIG=""
31790 fi
31791
31792 fi
31793
31794
31795 pkg_failed=no
31796 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31797 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31798
31799 if test -n "$PKG_CONFIG"; then
31800 if test -n "$DIRECTFB_CFLAGS"; then
31801 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31802 else
31803 if test -n "$PKG_CONFIG" && \
31804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31805 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31806 ac_status=$?
31807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31808 (exit $ac_status); }; then
31809 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31810 else
31811 pkg_failed=yes
31812 fi
31813 fi
31814 else
31815 pkg_failed=untried
31816 fi
31817 if test -n "$PKG_CONFIG"; then
31818 if test -n "$DIRECTFB_LIBS"; then
31819 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31820 else
31821 if test -n "$PKG_CONFIG" && \
31822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31823 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31824 ac_status=$?
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; then
31827 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31828 else
31829 pkg_failed=yes
31830 fi
31831 fi
31832 else
31833 pkg_failed=untried
31834 fi
31835
31836
31837
31838 if test $pkg_failed = yes; then
31839
31840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31841 _pkg_short_errors_supported=yes
31842 else
31843 _pkg_short_errors_supported=no
31844 fi
31845 if test $_pkg_short_errors_supported = yes; then
31846 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31847 else
31848 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31849 fi
31850 # Put the nasty error message in config.log where it belongs
31851 echo "$DIRECTFB_PKG_ERRORS" >&5
31852
31853
31854 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31855 echo "$as_me: error: DirectFB not found." >&2;}
31856 { (exit 1); exit 1; }; }
31857
31858
31859 elif test $pkg_failed = untried; then
31860
31861 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31862 echo "$as_me: error: DirectFB not found." >&2;}
31863 { (exit 1); exit 1; }; }
31864
31865
31866 else
31867 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31868 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31869 { echo "$as_me:$LINENO: result: yes" >&5
31870 echo "${ECHO_T}yes" >&6; }
31871
31872 wxUSE_UNIVERSAL="yes"
31873 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31874 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31875 TOOLKIT=DFB
31876 GUIDIST=DFB_DIST
31877
31878 fi
31879 fi
31880
31881 if test "$wxUSE_MICROWIN" = 1; then
31882 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31883 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31884 if test "x$MICROWINDOWS" = x ; then
31885 { echo "$as_me:$LINENO: result: not found" >&5
31886 echo "${ECHO_T}not found" >&6; }
31887 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31888 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31889 { (exit 1); exit 1; }; }
31890 else
31891 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31892 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31893 fi
31894
31895 if test -f $MICROWINDOWS/lib/libmwin.a; then
31896 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31897 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31898 else
31899 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31900 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31901 { (exit 1); exit 1; }; }
31902 fi
31903
31904 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31905 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31906
31907 wxUSE_UNIVERSAL="yes"
31908
31909 AFMINSTALL=afminstall
31910 TOOLKIT=MICROWIN
31911 GUIDIST=MICROWIN_DIST
31912
31913 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31914 fi
31915
31916 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31917 { echo "$as_me:$LINENO: checking for X" >&5
31918 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31919
31920
31921 # Check whether --with-x was given.
31922 if test "${with_x+set}" = set; then
31923 withval=$with_x;
31924 fi
31925
31926 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31927 if test "x$with_x" = xno; then
31928 # The user explicitly disabled X.
31929 have_x=disabled
31930 else
31931 case $x_includes,$x_libraries in #(
31932 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31933 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31934 { (exit 1); exit 1; }; };; #(
31935 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31936 echo $ECHO_N "(cached) $ECHO_C" >&6
31937 else
31938 # One or both of the vars are not set, and there is no cached value.
31939 ac_x_includes=no ac_x_libraries=no
31940 rm -f -r conftest.dir
31941 if mkdir conftest.dir; then
31942 cd conftest.dir
31943 cat >Imakefile <<'_ACEOF'
31944 incroot:
31945 @echo incroot='${INCROOT}'
31946 usrlibdir:
31947 @echo usrlibdir='${USRLIBDIR}'
31948 libdir:
31949 @echo libdir='${LIBDIR}'
31950 _ACEOF
31951 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31952 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31953 for ac_var in incroot usrlibdir libdir; do
31954 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31955 done
31956 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31957 for ac_extension in a so sl; do
31958 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31959 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31960 ac_im_usrlibdir=$ac_im_libdir; break
31961 fi
31962 done
31963 # Screen out bogus values from the imake configuration. They are
31964 # bogus both because they are the default anyway, and because
31965 # using them would break gcc on systems where it needs fixed includes.
31966 case $ac_im_incroot in
31967 /usr/include) ac_x_includes= ;;
31968 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31969 esac
31970 case $ac_im_usrlibdir in
31971 /usr/lib | /lib) ;;
31972 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31973 esac
31974 fi
31975 cd ..
31976 rm -f -r conftest.dir
31977 fi
31978
31979 # Standard set of common directories for X headers.
31980 # Check X11 before X11Rn because it is often a symlink to the current release.
31981 ac_x_header_dirs='
31982 /usr/X11/include
31983 /usr/X11R6/include
31984 /usr/X11R5/include
31985 /usr/X11R4/include
31986
31987 /usr/include/X11
31988 /usr/include/X11R6
31989 /usr/include/X11R5
31990 /usr/include/X11R4
31991
31992 /usr/local/X11/include
31993 /usr/local/X11R6/include
31994 /usr/local/X11R5/include
31995 /usr/local/X11R4/include
31996
31997 /usr/local/include/X11
31998 /usr/local/include/X11R6
31999 /usr/local/include/X11R5
32000 /usr/local/include/X11R4
32001
32002 /usr/X386/include
32003 /usr/x386/include
32004 /usr/XFree86/include/X11
32005
32006 /usr/include
32007 /usr/local/include
32008 /usr/unsupported/include
32009 /usr/athena/include
32010 /usr/local/x11r5/include
32011 /usr/lpp/Xamples/include
32012
32013 /usr/openwin/include
32014 /usr/openwin/share/include'
32015
32016 if test "$ac_x_includes" = no; then
32017 # Guess where to find include files, by looking for Xlib.h.
32018 # First, try using that file with no special directory specified.
32019 cat >conftest.$ac_ext <<_ACEOF
32020 /* confdefs.h. */
32021 _ACEOF
32022 cat confdefs.h >>conftest.$ac_ext
32023 cat >>conftest.$ac_ext <<_ACEOF
32024 /* end confdefs.h. */
32025 #include <X11/Xlib.h>
32026 _ACEOF
32027 if { (ac_try="$ac_cpp conftest.$ac_ext"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32030 *) ac_try_echo=$ac_try;;
32031 esac
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32034 ac_status=$?
32035 grep -v '^ *+' conftest.er1 >conftest.err
32036 rm -f conftest.er1
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } >/dev/null && {
32040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32042 }; then
32043 # We can compile using X headers with no special include directory.
32044 ac_x_includes=
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 for ac_dir in $ac_x_header_dirs; do
32050 if test -r "$ac_dir/X11/Xlib.h"; then
32051 ac_x_includes=$ac_dir
32052 break
32053 fi
32054 done
32055 fi
32056
32057 rm -f conftest.err conftest.$ac_ext
32058 fi # $ac_x_includes = no
32059
32060 if test "$ac_x_libraries" = no; then
32061 # Check for the libraries.
32062 # See if we find them without any special options.
32063 # Don't add to $LIBS permanently.
32064 ac_save_LIBS=$LIBS
32065 LIBS="-lX11 $LIBS"
32066 cat >conftest.$ac_ext <<_ACEOF
32067 /* confdefs.h. */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072 #include <X11/Xlib.h>
32073 int
32074 main ()
32075 {
32076 XrmInitialize ()
32077 ;
32078 return 0;
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext conftest$ac_exeext
32082 if { (ac_try="$ac_link"
32083 case "(($ac_try" in
32084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32085 *) ac_try_echo=$ac_try;;
32086 esac
32087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32088 (eval "$ac_link") 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } && {
32095 test -z "$ac_c_werror_flag" ||
32096 test ! -s conftest.err
32097 } && test -s conftest$ac_exeext &&
32098 $as_test_x conftest$ac_exeext; then
32099 LIBS=$ac_save_LIBS
32100 # We can link X programs with no special library path.
32101 ac_x_libraries=
32102 else
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32105
32106 LIBS=$ac_save_LIBS
32107 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32108 do
32109 # Don't even attempt the hair of trying to link an X program!
32110 for ac_extension in a so sl; do
32111 if test -r "$ac_dir/libX11.$ac_extension"; then
32112 ac_x_libraries=$ac_dir
32113 break 2
32114 fi
32115 done
32116 done
32117 fi
32118
32119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32120 conftest$ac_exeext conftest.$ac_ext
32121 fi # $ac_x_libraries = no
32122
32123 case $ac_x_includes,$ac_x_libraries in #(
32124 no,* | *,no | *\'*)
32125 # Didn't find X, or a directory has "'" in its name.
32126 ac_cv_have_x="have_x=no";; #(
32127 *)
32128 # Record where we found X for the cache.
32129 ac_cv_have_x="have_x=yes\
32130 ac_x_includes='$ac_x_includes'\
32131 ac_x_libraries='$ac_x_libraries'"
32132 esac
32133 fi
32134 ;; #(
32135 *) have_x=yes;;
32136 esac
32137 eval "$ac_cv_have_x"
32138 fi # $with_x != no
32139
32140 if test "$have_x" != yes; then
32141 { echo "$as_me:$LINENO: result: $have_x" >&5
32142 echo "${ECHO_T}$have_x" >&6; }
32143 no_x=yes
32144 else
32145 # If each of the values was on the command line, it overrides each guess.
32146 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32147 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32148 # Update the cache value to reflect the command line values.
32149 ac_cv_have_x="have_x=yes\
32150 ac_x_includes='$x_includes'\
32151 ac_x_libraries='$x_libraries'"
32152 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32153 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32154 fi
32155
32156 if test "$no_x" = yes; then
32157 # Not all programs may use this symbol, but it does not hurt to define it.
32158
32159 cat >>confdefs.h <<\_ACEOF
32160 #define X_DISPLAY_MISSING 1
32161 _ACEOF
32162
32163 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32164 else
32165 if test -n "$x_includes"; then
32166 X_CFLAGS="$X_CFLAGS -I$x_includes"
32167 fi
32168
32169 # It would also be nice to do this for all -L options, not just this one.
32170 if test -n "$x_libraries"; then
32171 X_LIBS="$X_LIBS -L$x_libraries"
32172 # For Solaris; some versions of Sun CC require a space after -R and
32173 # others require no space. Words are not sufficient . . . .
32174 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32175 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32176 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32177 ac_xsave_c_werror_flag=$ac_c_werror_flag
32178 ac_c_werror_flag=yes
32179 cat >conftest.$ac_ext <<_ACEOF
32180 /* confdefs.h. */
32181 _ACEOF
32182 cat confdefs.h >>conftest.$ac_ext
32183 cat >>conftest.$ac_ext <<_ACEOF
32184 /* end confdefs.h. */
32185
32186 int
32187 main ()
32188 {
32189
32190 ;
32191 return 0;
32192 }
32193 _ACEOF
32194 rm -f conftest.$ac_objext conftest$ac_exeext
32195 if { (ac_try="$ac_link"
32196 case "(($ac_try" in
32197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32198 *) ac_try_echo=$ac_try;;
32199 esac
32200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32201 (eval "$ac_link") 2>conftest.er1
32202 ac_status=$?
32203 grep -v '^ *+' conftest.er1 >conftest.err
32204 rm -f conftest.er1
32205 cat conftest.err >&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); } && {
32208 test -z "$ac_c_werror_flag" ||
32209 test ! -s conftest.err
32210 } && test -s conftest$ac_exeext &&
32211 $as_test_x conftest$ac_exeext; then
32212 { echo "$as_me:$LINENO: result: no" >&5
32213 echo "${ECHO_T}no" >&6; }
32214 X_LIBS="$X_LIBS -R$x_libraries"
32215 else
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32218
32219 LIBS="$ac_xsave_LIBS -R $x_libraries"
32220 cat >conftest.$ac_ext <<_ACEOF
32221 /* confdefs.h. */
32222 _ACEOF
32223 cat confdefs.h >>conftest.$ac_ext
32224 cat >>conftest.$ac_ext <<_ACEOF
32225 /* end confdefs.h. */
32226
32227 int
32228 main ()
32229 {
32230
32231 ;
32232 return 0;
32233 }
32234 _ACEOF
32235 rm -f conftest.$ac_objext conftest$ac_exeext
32236 if { (ac_try="$ac_link"
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_link") 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_exeext &&
32252 $as_test_x conftest$ac_exeext; then
32253 { echo "$as_me:$LINENO: result: yes" >&5
32254 echo "${ECHO_T}yes" >&6; }
32255 X_LIBS="$X_LIBS -R $x_libraries"
32256 else
32257 echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32259
32260 { echo "$as_me:$LINENO: result: neither works" >&5
32261 echo "${ECHO_T}neither works" >&6; }
32262 fi
32263
32264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32265 conftest$ac_exeext conftest.$ac_ext
32266 fi
32267
32268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32269 conftest$ac_exeext conftest.$ac_ext
32270 ac_c_werror_flag=$ac_xsave_c_werror_flag
32271 LIBS=$ac_xsave_LIBS
32272 fi
32273
32274 # Check for system-dependent libraries X programs must link with.
32275 # Do this before checking for the system-independent R6 libraries
32276 # (-lICE), since we may need -lsocket or whatever for X linking.
32277
32278 if test "$ISC" = yes; then
32279 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32280 else
32281 # Martyn Johnson says this is needed for Ultrix, if the X
32282 # libraries were built with DECnet support. And Karl Berry says
32283 # the Alpha needs dnet_stub (dnet does not exist).
32284 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32285 cat >conftest.$ac_ext <<_ACEOF
32286 /* confdefs.h. */
32287 _ACEOF
32288 cat confdefs.h >>conftest.$ac_ext
32289 cat >>conftest.$ac_ext <<_ACEOF
32290 /* end confdefs.h. */
32291
32292 /* Override any GCC internal prototype to avoid an error.
32293 Use char because int might match the return type of a GCC
32294 builtin and then its argument prototype would still apply. */
32295 #ifdef __cplusplus
32296 extern "C"
32297 #endif
32298 char XOpenDisplay ();
32299 int
32300 main ()
32301 {
32302 return XOpenDisplay ();
32303 ;
32304 return 0;
32305 }
32306 _ACEOF
32307 rm -f conftest.$ac_objext conftest$ac_exeext
32308 if { (ac_try="$ac_link"
32309 case "(($ac_try" in
32310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32311 *) ac_try_echo=$ac_try;;
32312 esac
32313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32314 (eval "$ac_link") 2>conftest.er1
32315 ac_status=$?
32316 grep -v '^ *+' conftest.er1 >conftest.err
32317 rm -f conftest.er1
32318 cat conftest.err >&5
32319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32320 (exit $ac_status); } && {
32321 test -z "$ac_c_werror_flag" ||
32322 test ! -s conftest.err
32323 } && test -s conftest$ac_exeext &&
32324 $as_test_x conftest$ac_exeext; then
32325 :
32326 else
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.$ac_ext >&5
32329
32330 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32331 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32332 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 else
32335 ac_check_lib_save_LIBS=$LIBS
32336 LIBS="-ldnet $LIBS"
32337 cat >conftest.$ac_ext <<_ACEOF
32338 /* confdefs.h. */
32339 _ACEOF
32340 cat confdefs.h >>conftest.$ac_ext
32341 cat >>conftest.$ac_ext <<_ACEOF
32342 /* end confdefs.h. */
32343
32344 /* Override any GCC internal prototype to avoid an error.
32345 Use char because int might match the return type of a GCC
32346 builtin and then its argument prototype would still apply. */
32347 #ifdef __cplusplus
32348 extern "C"
32349 #endif
32350 char dnet_ntoa ();
32351 int
32352 main ()
32353 {
32354 return dnet_ntoa ();
32355 ;
32356 return 0;
32357 }
32358 _ACEOF
32359 rm -f conftest.$ac_objext conftest$ac_exeext
32360 if { (ac_try="$ac_link"
32361 case "(($ac_try" in
32362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32363 *) ac_try_echo=$ac_try;;
32364 esac
32365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366 (eval "$ac_link") 2>conftest.er1
32367 ac_status=$?
32368 grep -v '^ *+' conftest.er1 >conftest.err
32369 rm -f conftest.er1
32370 cat conftest.err >&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } && {
32373 test -z "$ac_c_werror_flag" ||
32374 test ! -s conftest.err
32375 } && test -s conftest$ac_exeext &&
32376 $as_test_x conftest$ac_exeext; then
32377 ac_cv_lib_dnet_dnet_ntoa=yes
32378 else
32379 echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.$ac_ext >&5
32381
32382 ac_cv_lib_dnet_dnet_ntoa=no
32383 fi
32384
32385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32386 conftest$ac_exeext conftest.$ac_ext
32387 LIBS=$ac_check_lib_save_LIBS
32388 fi
32389 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32390 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32391 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32392 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32393 fi
32394
32395 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32396 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32397 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32398 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 else
32401 ac_check_lib_save_LIBS=$LIBS
32402 LIBS="-ldnet_stub $LIBS"
32403 cat >conftest.$ac_ext <<_ACEOF
32404 /* confdefs.h. */
32405 _ACEOF
32406 cat confdefs.h >>conftest.$ac_ext
32407 cat >>conftest.$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32409
32410 /* Override any GCC internal prototype to avoid an error.
32411 Use char because int might match the return type of a GCC
32412 builtin and then its argument prototype would still apply. */
32413 #ifdef __cplusplus
32414 extern "C"
32415 #endif
32416 char dnet_ntoa ();
32417 int
32418 main ()
32419 {
32420 return dnet_ntoa ();
32421 ;
32422 return 0;
32423 }
32424 _ACEOF
32425 rm -f conftest.$ac_objext conftest$ac_exeext
32426 if { (ac_try="$ac_link"
32427 case "(($ac_try" in
32428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32429 *) ac_try_echo=$ac_try;;
32430 esac
32431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32432 (eval "$ac_link") 2>conftest.er1
32433 ac_status=$?
32434 grep -v '^ *+' conftest.er1 >conftest.err
32435 rm -f conftest.er1
32436 cat conftest.err >&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } && {
32439 test -z "$ac_c_werror_flag" ||
32440 test ! -s conftest.err
32441 } && test -s conftest$ac_exeext &&
32442 $as_test_x conftest$ac_exeext; then
32443 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32444 else
32445 echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.$ac_ext >&5
32447
32448 ac_cv_lib_dnet_stub_dnet_ntoa=no
32449 fi
32450
32451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32452 conftest$ac_exeext conftest.$ac_ext
32453 LIBS=$ac_check_lib_save_LIBS
32454 fi
32455 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32456 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32457 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32458 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32459 fi
32460
32461 fi
32462 fi
32463
32464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32465 conftest$ac_exeext conftest.$ac_ext
32466 LIBS="$ac_xsave_LIBS"
32467
32468 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32469 # to get the SysV transport functions.
32470 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32471 # needs -lnsl.
32472 # The nsl library prevents programs from opening the X display
32473 # on Irix 5.2, according to T.E. Dickey.
32474 # The functions gethostbyname, getservbyname, and inet_addr are
32475 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32476 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32477 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32478 if test "${ac_cv_func_gethostbyname+set}" = set; then
32479 echo $ECHO_N "(cached) $ECHO_C" >&6
32480 else
32481 cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h. */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32489 #define gethostbyname innocuous_gethostbyname
32490
32491 /* System header to define __stub macros and hopefully few prototypes,
32492 which can conflict with char gethostbyname (); below.
32493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32494 <limits.h> exists even on freestanding compilers. */
32495
32496 #ifdef __STDC__
32497 # include <limits.h>
32498 #else
32499 # include <assert.h>
32500 #endif
32501
32502 #undef gethostbyname
32503
32504 /* Override any GCC internal prototype to avoid an error.
32505 Use char because int might match the return type of a GCC
32506 builtin and then its argument prototype would still apply. */
32507 #ifdef __cplusplus
32508 extern "C"
32509 #endif
32510 char gethostbyname ();
32511 /* The GNU C library defines this for functions which it implements
32512 to always fail with ENOSYS. Some functions are actually named
32513 something starting with __ and the normal name is an alias. */
32514 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32515 choke me
32516 #endif
32517
32518 int
32519 main ()
32520 {
32521 return gethostbyname ();
32522 ;
32523 return 0;
32524 }
32525 _ACEOF
32526 rm -f conftest.$ac_objext conftest$ac_exeext
32527 if { (ac_try="$ac_link"
32528 case "(($ac_try" in
32529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32530 *) ac_try_echo=$ac_try;;
32531 esac
32532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32533 (eval "$ac_link") 2>conftest.er1
32534 ac_status=$?
32535 grep -v '^ *+' conftest.er1 >conftest.err
32536 rm -f conftest.er1
32537 cat conftest.err >&5
32538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32539 (exit $ac_status); } && {
32540 test -z "$ac_c_werror_flag" ||
32541 test ! -s conftest.err
32542 } && test -s conftest$ac_exeext &&
32543 $as_test_x conftest$ac_exeext; then
32544 ac_cv_func_gethostbyname=yes
32545 else
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.$ac_ext >&5
32548
32549 ac_cv_func_gethostbyname=no
32550 fi
32551
32552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32553 conftest$ac_exeext conftest.$ac_ext
32554 fi
32555 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32556 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32557
32558 if test $ac_cv_func_gethostbyname = no; then
32559 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32560 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32561 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32563 else
32564 ac_check_lib_save_LIBS=$LIBS
32565 LIBS="-lnsl $LIBS"
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572
32573 /* Override any GCC internal prototype to avoid an error.
32574 Use char because int might match the return type of a GCC
32575 builtin and then its argument prototype would still apply. */
32576 #ifdef __cplusplus
32577 extern "C"
32578 #endif
32579 char gethostbyname ();
32580 int
32581 main ()
32582 {
32583 return gethostbyname ();
32584 ;
32585 return 0;
32586 }
32587 _ACEOF
32588 rm -f conftest.$ac_objext conftest$ac_exeext
32589 if { (ac_try="$ac_link"
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_link") 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_exeext &&
32605 $as_test_x conftest$ac_exeext; then
32606 ac_cv_lib_nsl_gethostbyname=yes
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611 ac_cv_lib_nsl_gethostbyname=no
32612 fi
32613
32614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32615 conftest$ac_exeext conftest.$ac_ext
32616 LIBS=$ac_check_lib_save_LIBS
32617 fi
32618 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32619 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32620 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32622 fi
32623
32624 if test $ac_cv_lib_nsl_gethostbyname = no; then
32625 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32626 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32627 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32629 else
32630 ac_check_lib_save_LIBS=$LIBS
32631 LIBS="-lbsd $LIBS"
32632 cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h. */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32638
32639 /* Override any GCC internal prototype to avoid an error.
32640 Use char because int might match the return type of a GCC
32641 builtin and then its argument prototype would still apply. */
32642 #ifdef __cplusplus
32643 extern "C"
32644 #endif
32645 char gethostbyname ();
32646 int
32647 main ()
32648 {
32649 return gethostbyname ();
32650 ;
32651 return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (ac_try="$ac_link"
32656 case "(($ac_try" in
32657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32658 *) ac_try_echo=$ac_try;;
32659 esac
32660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32661 (eval "$ac_link") 2>conftest.er1
32662 ac_status=$?
32663 grep -v '^ *+' conftest.er1 >conftest.err
32664 rm -f conftest.er1
32665 cat conftest.err >&5
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); } && {
32668 test -z "$ac_c_werror_flag" ||
32669 test ! -s conftest.err
32670 } && test -s conftest$ac_exeext &&
32671 $as_test_x conftest$ac_exeext; then
32672 ac_cv_lib_bsd_gethostbyname=yes
32673 else
32674 echo "$as_me: failed program was:" >&5
32675 sed 's/^/| /' conftest.$ac_ext >&5
32676
32677 ac_cv_lib_bsd_gethostbyname=no
32678 fi
32679
32680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32681 conftest$ac_exeext conftest.$ac_ext
32682 LIBS=$ac_check_lib_save_LIBS
32683 fi
32684 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32685 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32686 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32688 fi
32689
32690 fi
32691 fi
32692
32693 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32694 # socket/setsockopt and other routines are undefined under SCO ODT
32695 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32696 # on later versions), says Simon Leinen: it contains gethostby*
32697 # variants that don't use the name server (or something). -lsocket
32698 # must be given before -lnsl if both are needed. We assume that
32699 # if connect needs -lnsl, so does gethostbyname.
32700 { echo "$as_me:$LINENO: checking for connect" >&5
32701 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32702 if test "${ac_cv_func_connect+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32704 else
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32713 #define connect innocuous_connect
32714
32715 /* System header to define __stub macros and hopefully few prototypes,
32716 which can conflict with char connect (); below.
32717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718 <limits.h> exists even on freestanding compilers. */
32719
32720 #ifdef __STDC__
32721 # include <limits.h>
32722 #else
32723 # include <assert.h>
32724 #endif
32725
32726 #undef connect
32727
32728 /* Override any GCC internal prototype to avoid an error.
32729 Use char because int might match the return type of a GCC
32730 builtin and then its argument prototype would still apply. */
32731 #ifdef __cplusplus
32732 extern "C"
32733 #endif
32734 char connect ();
32735 /* The GNU C library defines this for functions which it implements
32736 to always fail with ENOSYS. Some functions are actually named
32737 something starting with __ and the normal name is an alias. */
32738 #if defined __stub_connect || defined __stub___connect
32739 choke me
32740 #endif
32741
32742 int
32743 main ()
32744 {
32745 return connect ();
32746 ;
32747 return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (ac_try="$ac_link"
32752 case "(($ac_try" in
32753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32754 *) ac_try_echo=$ac_try;;
32755 esac
32756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32757 (eval "$ac_link") 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } && {
32764 test -z "$ac_c_werror_flag" ||
32765 test ! -s conftest.err
32766 } && test -s conftest$ac_exeext &&
32767 $as_test_x conftest$ac_exeext; then
32768 ac_cv_func_connect=yes
32769 else
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32772
32773 ac_cv_func_connect=no
32774 fi
32775
32776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32777 conftest$ac_exeext conftest.$ac_ext
32778 fi
32779 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32780 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32781
32782 if test $ac_cv_func_connect = no; then
32783 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32784 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32785 if test "${ac_cv_lib_socket_connect+set}" = set; then
32786 echo $ECHO_N "(cached) $ECHO_C" >&6
32787 else
32788 ac_check_lib_save_LIBS=$LIBS
32789 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32790 cat >conftest.$ac_ext <<_ACEOF
32791 /* confdefs.h. */
32792 _ACEOF
32793 cat confdefs.h >>conftest.$ac_ext
32794 cat >>conftest.$ac_ext <<_ACEOF
32795 /* end confdefs.h. */
32796
32797 /* Override any GCC internal prototype to avoid an error.
32798 Use char because int might match the return type of a GCC
32799 builtin and then its argument prototype would still apply. */
32800 #ifdef __cplusplus
32801 extern "C"
32802 #endif
32803 char connect ();
32804 int
32805 main ()
32806 {
32807 return connect ();
32808 ;
32809 return 0;
32810 }
32811 _ACEOF
32812 rm -f conftest.$ac_objext conftest$ac_exeext
32813 if { (ac_try="$ac_link"
32814 case "(($ac_try" in
32815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32816 *) ac_try_echo=$ac_try;;
32817 esac
32818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32819 (eval "$ac_link") 2>conftest.er1
32820 ac_status=$?
32821 grep -v '^ *+' conftest.er1 >conftest.err
32822 rm -f conftest.er1
32823 cat conftest.err >&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); } && {
32826 test -z "$ac_c_werror_flag" ||
32827 test ! -s conftest.err
32828 } && test -s conftest$ac_exeext &&
32829 $as_test_x conftest$ac_exeext; then
32830 ac_cv_lib_socket_connect=yes
32831 else
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.$ac_ext >&5
32834
32835 ac_cv_lib_socket_connect=no
32836 fi
32837
32838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32839 conftest$ac_exeext conftest.$ac_ext
32840 LIBS=$ac_check_lib_save_LIBS
32841 fi
32842 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32843 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32844 if test $ac_cv_lib_socket_connect = yes; then
32845 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32846 fi
32847
32848 fi
32849
32850 # Guillermo Gomez says -lposix is necessary on A/UX.
32851 { echo "$as_me:$LINENO: checking for remove" >&5
32852 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32853 if test "${ac_cv_func_remove+set}" = set; then
32854 echo $ECHO_N "(cached) $ECHO_C" >&6
32855 else
32856 cat >conftest.$ac_ext <<_ACEOF
32857 /* confdefs.h. */
32858 _ACEOF
32859 cat confdefs.h >>conftest.$ac_ext
32860 cat >>conftest.$ac_ext <<_ACEOF
32861 /* end confdefs.h. */
32862 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32864 #define remove innocuous_remove
32865
32866 /* System header to define __stub macros and hopefully few prototypes,
32867 which can conflict with char remove (); below.
32868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32869 <limits.h> exists even on freestanding compilers. */
32870
32871 #ifdef __STDC__
32872 # include <limits.h>
32873 #else
32874 # include <assert.h>
32875 #endif
32876
32877 #undef remove
32878
32879 /* Override any GCC internal prototype to avoid an error.
32880 Use char because int might match the return type of a GCC
32881 builtin and then its argument prototype would still apply. */
32882 #ifdef __cplusplus
32883 extern "C"
32884 #endif
32885 char remove ();
32886 /* The GNU C library defines this for functions which it implements
32887 to always fail with ENOSYS. Some functions are actually named
32888 something starting with __ and the normal name is an alias. */
32889 #if defined __stub_remove || defined __stub___remove
32890 choke me
32891 #endif
32892
32893 int
32894 main ()
32895 {
32896 return remove ();
32897 ;
32898 return 0;
32899 }
32900 _ACEOF
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (ac_try="$ac_link"
32903 case "(($ac_try" in
32904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32905 *) ac_try_echo=$ac_try;;
32906 esac
32907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 (eval "$ac_link") 2>conftest.er1
32909 ac_status=$?
32910 grep -v '^ *+' conftest.er1 >conftest.err
32911 rm -f conftest.er1
32912 cat conftest.err >&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } && {
32915 test -z "$ac_c_werror_flag" ||
32916 test ! -s conftest.err
32917 } && test -s conftest$ac_exeext &&
32918 $as_test_x conftest$ac_exeext; then
32919 ac_cv_func_remove=yes
32920 else
32921 echo "$as_me: failed program was:" >&5
32922 sed 's/^/| /' conftest.$ac_ext >&5
32923
32924 ac_cv_func_remove=no
32925 fi
32926
32927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32928 conftest$ac_exeext conftest.$ac_ext
32929 fi
32930 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32931 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32932
32933 if test $ac_cv_func_remove = no; then
32934 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32935 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32936 if test "${ac_cv_lib_posix_remove+set}" = set; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939 ac_check_lib_save_LIBS=$LIBS
32940 LIBS="-lposix $LIBS"
32941 cat >conftest.$ac_ext <<_ACEOF
32942 /* confdefs.h. */
32943 _ACEOF
32944 cat confdefs.h >>conftest.$ac_ext
32945 cat >>conftest.$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32947
32948 /* Override any GCC internal prototype to avoid an error.
32949 Use char because int might match the return type of a GCC
32950 builtin and then its argument prototype would still apply. */
32951 #ifdef __cplusplus
32952 extern "C"
32953 #endif
32954 char remove ();
32955 int
32956 main ()
32957 {
32958 return remove ();
32959 ;
32960 return 0;
32961 }
32962 _ACEOF
32963 rm -f conftest.$ac_objext conftest$ac_exeext
32964 if { (ac_try="$ac_link"
32965 case "(($ac_try" in
32966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32967 *) ac_try_echo=$ac_try;;
32968 esac
32969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32970 (eval "$ac_link") 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } && {
32977 test -z "$ac_c_werror_flag" ||
32978 test ! -s conftest.err
32979 } && test -s conftest$ac_exeext &&
32980 $as_test_x conftest$ac_exeext; then
32981 ac_cv_lib_posix_remove=yes
32982 else
32983 echo "$as_me: failed program was:" >&5
32984 sed 's/^/| /' conftest.$ac_ext >&5
32985
32986 ac_cv_lib_posix_remove=no
32987 fi
32988
32989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32990 conftest$ac_exeext conftest.$ac_ext
32991 LIBS=$ac_check_lib_save_LIBS
32992 fi
32993 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32994 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32995 if test $ac_cv_lib_posix_remove = yes; then
32996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32997 fi
32998
32999 fi
33000
33001 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33002 { echo "$as_me:$LINENO: checking for shmat" >&5
33003 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33004 if test "${ac_cv_func_shmat+set}" = set; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 else
33007 cat >conftest.$ac_ext <<_ACEOF
33008 /* confdefs.h. */
33009 _ACEOF
33010 cat confdefs.h >>conftest.$ac_ext
33011 cat >>conftest.$ac_ext <<_ACEOF
33012 /* end confdefs.h. */
33013 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define shmat innocuous_shmat
33016
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char shmat (); below.
33019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33020 <limits.h> exists even on freestanding compilers. */
33021
33022 #ifdef __STDC__
33023 # include <limits.h>
33024 #else
33025 # include <assert.h>
33026 #endif
33027
33028 #undef shmat
33029
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33033 #ifdef __cplusplus
33034 extern "C"
33035 #endif
33036 char shmat ();
33037 /* The GNU C library defines this for functions which it implements
33038 to always fail with ENOSYS. Some functions are actually named
33039 something starting with __ and the normal name is an alias. */
33040 #if defined __stub_shmat || defined __stub___shmat
33041 choke me
33042 #endif
33043
33044 int
33045 main ()
33046 {
33047 return shmat ();
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33057 esac
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070 ac_cv_func_shmat=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 ac_cv_func_shmat=no
33076 fi
33077
33078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33079 conftest$ac_exeext conftest.$ac_ext
33080 fi
33081 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33082 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33083
33084 if test $ac_cv_func_shmat = no; then
33085 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33086 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33087 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 else
33090 ac_check_lib_save_LIBS=$LIBS
33091 LIBS="-lipc $LIBS"
33092 cat >conftest.$ac_ext <<_ACEOF
33093 /* confdefs.h. */
33094 _ACEOF
33095 cat confdefs.h >>conftest.$ac_ext
33096 cat >>conftest.$ac_ext <<_ACEOF
33097 /* end confdefs.h. */
33098
33099 /* Override any GCC internal prototype to avoid an error.
33100 Use char because int might match the return type of a GCC
33101 builtin and then its argument prototype would still apply. */
33102 #ifdef __cplusplus
33103 extern "C"
33104 #endif
33105 char shmat ();
33106 int
33107 main ()
33108 {
33109 return shmat ();
33110 ;
33111 return 0;
33112 }
33113 _ACEOF
33114 rm -f conftest.$ac_objext conftest$ac_exeext
33115 if { (ac_try="$ac_link"
33116 case "(($ac_try" in
33117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33118 *) ac_try_echo=$ac_try;;
33119 esac
33120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33121 (eval "$ac_link") 2>conftest.er1
33122 ac_status=$?
33123 grep -v '^ *+' conftest.er1 >conftest.err
33124 rm -f conftest.er1
33125 cat conftest.err >&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } && {
33128 test -z "$ac_c_werror_flag" ||
33129 test ! -s conftest.err
33130 } && test -s conftest$ac_exeext &&
33131 $as_test_x conftest$ac_exeext; then
33132 ac_cv_lib_ipc_shmat=yes
33133 else
33134 echo "$as_me: failed program was:" >&5
33135 sed 's/^/| /' conftest.$ac_ext >&5
33136
33137 ac_cv_lib_ipc_shmat=no
33138 fi
33139
33140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33141 conftest$ac_exeext conftest.$ac_ext
33142 LIBS=$ac_check_lib_save_LIBS
33143 fi
33144 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33145 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33146 if test $ac_cv_lib_ipc_shmat = yes; then
33147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33148 fi
33149
33150 fi
33151 fi
33152
33153 # Check for libraries that X11R6 Xt/Xaw programs need.
33154 ac_save_LDFLAGS=$LDFLAGS
33155 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33156 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33157 # check for ICE first), but we must link in the order -lSM -lICE or
33158 # we get undefined symbols. So assume we have SM if we have ICE.
33159 # These have to be linked with before -lX11, unlike the other
33160 # libraries we check for below, so use a different variable.
33161 # John Interrante, Karl Berry
33162 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33163 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33164 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33166 else
33167 ac_check_lib_save_LIBS=$LIBS
33168 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33169 cat >conftest.$ac_ext <<_ACEOF
33170 /* confdefs.h. */
33171 _ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33175
33176 /* Override any GCC internal prototype to avoid an error.
33177 Use char because int might match the return type of a GCC
33178 builtin and then its argument prototype would still apply. */
33179 #ifdef __cplusplus
33180 extern "C"
33181 #endif
33182 char IceConnectionNumber ();
33183 int
33184 main ()
33185 {
33186 return IceConnectionNumber ();
33187 ;
33188 return 0;
33189 }
33190 _ACEOF
33191 rm -f conftest.$ac_objext conftest$ac_exeext
33192 if { (ac_try="$ac_link"
33193 case "(($ac_try" in
33194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33195 *) ac_try_echo=$ac_try;;
33196 esac
33197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33198 (eval "$ac_link") 2>conftest.er1
33199 ac_status=$?
33200 grep -v '^ *+' conftest.er1 >conftest.err
33201 rm -f conftest.er1
33202 cat conftest.err >&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } && {
33205 test -z "$ac_c_werror_flag" ||
33206 test ! -s conftest.err
33207 } && test -s conftest$ac_exeext &&
33208 $as_test_x conftest$ac_exeext; then
33209 ac_cv_lib_ICE_IceConnectionNumber=yes
33210 else
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33213
33214 ac_cv_lib_ICE_IceConnectionNumber=no
33215 fi
33216
33217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33218 conftest$ac_exeext conftest.$ac_ext
33219 LIBS=$ac_check_lib_save_LIBS
33220 fi
33221 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33222 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33223 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33224 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33225 fi
33226
33227 LDFLAGS=$ac_save_LDFLAGS
33228
33229 fi
33230
33231
33232 if test "$no_x" = "yes"; then
33233 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33234 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33235 { (exit 1); exit 1; }; }
33236 fi
33237
33238 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33239 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33240 AFMINSTALL=afminstall
33241 COMPILED_X_PROGRAM=0
33242
33243 fi
33244
33245 if test "$wxUSE_X11" = 1; then
33246 if test "$wxUSE_NANOX" = "yes"; then
33247 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33248 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33249 if test "x$MICROWIN" = x ; then
33250 { echo "$as_me:$LINENO: result: not found" >&5
33251 echo "${ECHO_T}not found" >&6; }
33252 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33253 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33254 { (exit 1); exit 1; }; }
33255 else
33256 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33257 echo "${ECHO_T}$MICROWIN" >&6; }
33258 cat >>confdefs.h <<\_ACEOF
33259 #define wxUSE_NANOX 1
33260 _ACEOF
33261
33262 fi
33263 fi
33264
33265 if test "$wxUSE_UNICODE" = "yes"; then
33266
33267
33268 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33269 if test -n "$ac_tool_prefix"; then
33270 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33271 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33276 else
33277 case $PKG_CONFIG in
33278 [\\/]* | ?:[\\/]*)
33279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33280 ;;
33281 *)
33282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33283 for as_dir in $PATH
33284 do
33285 IFS=$as_save_IFS
33286 test -z "$as_dir" && as_dir=.
33287 for ac_exec_ext in '' $ac_executable_extensions; do
33288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33291 break 2
33292 fi
33293 done
33294 done
33295 IFS=$as_save_IFS
33296
33297 ;;
33298 esac
33299 fi
33300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33301 if test -n "$PKG_CONFIG"; then
33302 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33303 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33304 else
33305 { echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6; }
33307 fi
33308
33309
33310 fi
33311 if test -z "$ac_cv_path_PKG_CONFIG"; then
33312 ac_pt_PKG_CONFIG=$PKG_CONFIG
33313 # Extract the first word of "pkg-config", so it can be a program name with args.
33314 set dummy pkg-config; ac_word=$2
33315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33317 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33319 else
33320 case $ac_pt_PKG_CONFIG in
33321 [\\/]* | ?:[\\/]*)
33322 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33323 ;;
33324 *)
33325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33326 for as_dir in $PATH
33327 do
33328 IFS=$as_save_IFS
33329 test -z "$as_dir" && as_dir=.
33330 for ac_exec_ext in '' $ac_executable_extensions; do
33331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33332 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33334 break 2
33335 fi
33336 done
33337 done
33338 IFS=$as_save_IFS
33339
33340 ;;
33341 esac
33342 fi
33343 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33344 if test -n "$ac_pt_PKG_CONFIG"; then
33345 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33346 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33347 else
33348 { echo "$as_me:$LINENO: result: no" >&5
33349 echo "${ECHO_T}no" >&6; }
33350 fi
33351
33352 if test "x$ac_pt_PKG_CONFIG" = x; then
33353 PKG_CONFIG=""
33354 else
33355 case $cross_compiling:$ac_tool_warned in
33356 yes:)
33357 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33358 whose name does not start with the host triplet. If you think this
33359 configuration is useful to you, please write to autoconf@gnu.org." >&5
33360 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33361 whose name does not start with the host triplet. If you think this
33362 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33363 ac_tool_warned=yes ;;
33364 esac
33365 PKG_CONFIG=$ac_pt_PKG_CONFIG
33366 fi
33367 else
33368 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33369 fi
33370
33371 fi
33372 if test -n "$PKG_CONFIG"; then
33373 _pkg_min_version=0.9.0
33374 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33375 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33376 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33377 { echo "$as_me:$LINENO: result: yes" >&5
33378 echo "${ECHO_T}yes" >&6; }
33379 else
33380 { echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6; }
33382 PKG_CONFIG=""
33383 fi
33384
33385 fi
33386
33387
33388 pkg_failed=no
33389 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33390 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33391
33392 if test -n "$PKG_CONFIG"; then
33393 if test -n "$PANGOX_CFLAGS"; then
33394 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33395 else
33396 if test -n "$PKG_CONFIG" && \
33397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33398 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33399 ac_status=$?
33400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401 (exit $ac_status); }; then
33402 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33403 else
33404 pkg_failed=yes
33405 fi
33406 fi
33407 else
33408 pkg_failed=untried
33409 fi
33410 if test -n "$PKG_CONFIG"; then
33411 if test -n "$PANGOX_LIBS"; then
33412 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33413 else
33414 if test -n "$PKG_CONFIG" && \
33415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33416 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; then
33420 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33421 else
33422 pkg_failed=yes
33423 fi
33424 fi
33425 else
33426 pkg_failed=untried
33427 fi
33428
33429
33430
33431 if test $pkg_failed = yes; then
33432
33433 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33434 _pkg_short_errors_supported=yes
33435 else
33436 _pkg_short_errors_supported=no
33437 fi
33438 if test $_pkg_short_errors_supported = yes; then
33439 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33440 else
33441 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33442 fi
33443 # Put the nasty error message in config.log where it belongs
33444 echo "$PANGOX_PKG_ERRORS" >&5
33445
33446
33447 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33448 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33449 { (exit 1); exit 1; }; }
33450
33451
33452 elif test $pkg_failed = untried; then
33453
33454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33456 { (exit 1); exit 1; }; }
33457
33458
33459 else
33460 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33461 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33462 { echo "$as_me:$LINENO: result: yes" >&5
33463 echo "${ECHO_T}yes" >&6; }
33464
33465 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33466 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33467 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33468
33469 fi
33470
33471 pkg_failed=no
33472 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33473 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33474
33475 if test -n "$PKG_CONFIG"; then
33476 if test -n "$PANGOFT2_CFLAGS"; then
33477 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33478 else
33479 if test -n "$PKG_CONFIG" && \
33480 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33481 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; then
33485 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33486 else
33487 pkg_failed=yes
33488 fi
33489 fi
33490 else
33491 pkg_failed=untried
33492 fi
33493 if test -n "$PKG_CONFIG"; then
33494 if test -n "$PANGOFT2_LIBS"; then
33495 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33496 else
33497 if test -n "$PKG_CONFIG" && \
33498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33499 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33500 ac_status=$?
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); }; then
33503 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33504 else
33505 pkg_failed=yes
33506 fi
33507 fi
33508 else
33509 pkg_failed=untried
33510 fi
33511
33512
33513
33514 if test $pkg_failed = yes; then
33515
33516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33517 _pkg_short_errors_supported=yes
33518 else
33519 _pkg_short_errors_supported=no
33520 fi
33521 if test $_pkg_short_errors_supported = yes; then
33522 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33523 else
33524 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33525 fi
33526 # Put the nasty error message in config.log where it belongs
33527 echo "$PANGOFT2_PKG_ERRORS" >&5
33528
33529
33530 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33531 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33532 wxUSE_PRINTING_ARCHITECTURE="no"
33533
33534
33535 elif test $pkg_failed = untried; then
33536
33537 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33538 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33539 wxUSE_PRINTING_ARCHITECTURE="no"
33540
33541
33542 else
33543 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33544 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33545 { echo "$as_me:$LINENO: result: yes" >&5
33546 echo "${ECHO_T}yes" >&6; }
33547
33548 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33549 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33551
33552 fi
33553
33554 pkg_failed=no
33555 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33556 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33557
33558 if test -n "$PKG_CONFIG"; then
33559 if test -n "$PANGOXFT_CFLAGS"; then
33560 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33561 else
33562 if test -n "$PKG_CONFIG" && \
33563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33564 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33565 ac_status=$?
33566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33567 (exit $ac_status); }; then
33568 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33569 else
33570 pkg_failed=yes
33571 fi
33572 fi
33573 else
33574 pkg_failed=untried
33575 fi
33576 if test -n "$PKG_CONFIG"; then
33577 if test -n "$PANGOXFT_LIBS"; then
33578 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33579 else
33580 if test -n "$PKG_CONFIG" && \
33581 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33582 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33583 ac_status=$?
33584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33585 (exit $ac_status); }; then
33586 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33587 else
33588 pkg_failed=yes
33589 fi
33590 fi
33591 else
33592 pkg_failed=untried
33593 fi
33594
33595
33596
33597 if test $pkg_failed = yes; then
33598
33599 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33600 _pkg_short_errors_supported=yes
33601 else
33602 _pkg_short_errors_supported=no
33603 fi
33604 if test $_pkg_short_errors_supported = yes; then
33605 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33606 else
33607 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33608 fi
33609 # Put the nasty error message in config.log where it belongs
33610 echo "$PANGOXFT_PKG_ERRORS" >&5
33611
33612
33613 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33614 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33615
33616
33617 elif test $pkg_failed = untried; then
33618
33619 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33620 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33621
33622
33623 else
33624 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33625 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33626 { echo "$as_me:$LINENO: result: yes" >&5
33627 echo "${ECHO_T}yes" >&6; }
33628
33629 cat >>confdefs.h <<\_ACEOF
33630 #define HAVE_PANGO_XFT 1
33631 _ACEOF
33632
33633 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33634 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33635 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33636
33637 fi
33638 save_LIBS="$LIBS"
33639 LIBS="$LIBS $PANGOX_LIBS"
33640
33641 for ac_func in pango_font_family_is_monospace
33642 do
33643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33647 echo $ECHO_N "(cached) $ECHO_C" >&6
33648 else
33649 cat >conftest.$ac_ext <<_ACEOF
33650 /* confdefs.h. */
33651 _ACEOF
33652 cat confdefs.h >>conftest.$ac_ext
33653 cat >>conftest.$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33657 #define $ac_func innocuous_$ac_func
33658
33659 /* System header to define __stub macros and hopefully few prototypes,
33660 which can conflict with char $ac_func (); below.
33661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33662 <limits.h> exists even on freestanding compilers. */
33663
33664 #ifdef __STDC__
33665 # include <limits.h>
33666 #else
33667 # include <assert.h>
33668 #endif
33669
33670 #undef $ac_func
33671
33672 /* Override any GCC internal prototype to avoid an error.
33673 Use char because int might match the return type of a GCC
33674 builtin and then its argument prototype would still apply. */
33675 #ifdef __cplusplus
33676 extern "C"
33677 #endif
33678 char $ac_func ();
33679 /* The GNU C library defines this for functions which it implements
33680 to always fail with ENOSYS. Some functions are actually named
33681 something starting with __ and the normal name is an alias. */
33682 #if defined __stub_$ac_func || defined __stub___$ac_func
33683 choke me
33684 #endif
33685
33686 int
33687 main ()
33688 {
33689 return $ac_func ();
33690 ;
33691 return 0;
33692 }
33693 _ACEOF
33694 rm -f conftest.$ac_objext conftest$ac_exeext
33695 if { (ac_try="$ac_link"
33696 case "(($ac_try" in
33697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33698 *) ac_try_echo=$ac_try;;
33699 esac
33700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33701 (eval "$ac_link") 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } && {
33708 test -z "$ac_c_werror_flag" ||
33709 test ! -s conftest.err
33710 } && test -s conftest$ac_exeext &&
33711 $as_test_x conftest$ac_exeext; then
33712 eval "$as_ac_var=yes"
33713 else
33714 echo "$as_me: failed program was:" >&5
33715 sed 's/^/| /' conftest.$ac_ext >&5
33716
33717 eval "$as_ac_var=no"
33718 fi
33719
33720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33721 conftest$ac_exeext conftest.$ac_ext
33722 fi
33723 ac_res=`eval echo '${'$as_ac_var'}'`
33724 { echo "$as_me:$LINENO: result: $ac_res" >&5
33725 echo "${ECHO_T}$ac_res" >&6; }
33726 if test `eval echo '${'$as_ac_var'}'` = yes; then
33727 cat >>confdefs.h <<_ACEOF
33728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33729 _ACEOF
33730
33731 fi
33732 done
33733
33734 LIBS="$save_LIBS"
33735 fi
33736
33737 wxUSE_UNIVERSAL="yes"
33738
33739 if test "$wxUSE_NANOX" = "yes"; then
33740 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33741 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"
33742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33743 else
33744 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33745 fi
33746
33747 TOOLKIT=X11
33748 GUIDIST=X11_DIST
33749 fi
33750
33751 if test "$wxUSE_MOTIF" = 1; then
33752 if test "$wxUSE_UNICODE" = "yes"; then
33753 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33754 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33755 { (exit 1); exit 1; }; }
33756 fi
33757
33758 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33759 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33760
33761 ac_find_includes=
33762 for ac_dir in $SEARCH_INCLUDE /usr/include;
33763 do
33764 if test -f "$ac_dir/Xm/Xm.h"; then
33765 ac_find_includes=$ac_dir
33766 break
33767 fi
33768 done
33769
33770 if test "$ac_find_includes" != "" ; then
33771 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33772 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33773
33774 if test "x$ac_find_includes" = "x/usr/include"; then
33775 ac_path_to_include=""
33776 else
33777 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33778 result=$?
33779 if test $result = 0; then
33780 ac_path_to_include=""
33781 else
33782 ac_path_to_include=" -I$ac_find_includes"
33783 fi
33784 fi
33785
33786 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33787 else
33788 save_CFLAGS=$CFLAGS
33789 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33790
33791 cat >conftest.$ac_ext <<_ACEOF
33792 /* confdefs.h. */
33793 _ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797
33798 #include <Xm/Xm.h>
33799
33800 int
33801 main ()
33802 {
33803
33804 int version;
33805 version = xmUseVersion;
33806
33807 ;
33808 return 0;
33809 }
33810 _ACEOF
33811 rm -f conftest.$ac_objext
33812 if { (ac_try="$ac_compile"
33813 case "(($ac_try" in
33814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33815 *) ac_try_echo=$ac_try;;
33816 esac
33817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33818 (eval "$ac_compile") 2>conftest.er1
33819 ac_status=$?
33820 grep -v '^ *+' conftest.er1 >conftest.err
33821 rm -f conftest.er1
33822 cat conftest.err >&5
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); } && {
33825 test -z "$ac_c_werror_flag" ||
33826 test ! -s conftest.err
33827 } && test -s conftest.$ac_objext; then
33828
33829 { echo "$as_me:$LINENO: result: found in default search path" >&5
33830 echo "${ECHO_T}found in default search path" >&6; }
33831 COMPILED_X_PROGRAM=1
33832
33833 else
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33836
33837
33838 { echo "$as_me:$LINENO: result: no" >&5
33839 echo "${ECHO_T}no" >&6; }
33840 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33841 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33842 { (exit 1); exit 1; }; }
33843
33844
33845 fi
33846
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848
33849 CFLAGS=$save_CFLAGS
33850 fi
33851
33852
33853 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33854 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33855
33856 ac_find_libraries=
33857 for ac_dir in $SEARCH_LIB;
33858 do
33859 for ac_extension in a so sl dylib dll.a; do
33860 if test -f "$ac_dir/libXm.$ac_extension"; then
33861 ac_find_libraries=$ac_dir
33862 break 2
33863 fi
33864 done
33865 done
33866
33867
33868 if test "x$ac_find_libraries" != "x" ; then
33869 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33870 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33871
33872
33873 if test "$ac_find_libraries" = "default location"; then
33874 ac_path_to_link=""
33875 else
33876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33877 result=$?
33878 if test $result = 0; then
33879 ac_path_to_link=""
33880 else
33881 ac_path_to_link=" -L$ac_find_libraries"
33882 fi
33883 fi
33884
33885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33886 else
33887 save_CFLAGS=$CFLAGS
33888 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33889 save_LIBS="$LIBS"
33890 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33891
33892 cat >conftest.$ac_ext <<_ACEOF
33893 /* confdefs.h. */
33894 _ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898
33899 #include <Xm/Xm.h>
33900
33901 int
33902 main ()
33903 {
33904
33905 int version;
33906 version = xmUseVersion;
33907
33908 ;
33909 return 0;
33910 }
33911 _ACEOF
33912 rm -f conftest.$ac_objext conftest$ac_exeext
33913 if { (ac_try="$ac_link"
33914 case "(($ac_try" in
33915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33916 *) ac_try_echo=$ac_try;;
33917 esac
33918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33919 (eval "$ac_link") 2>conftest.er1
33920 ac_status=$?
33921 grep -v '^ *+' conftest.er1 >conftest.err
33922 rm -f conftest.er1
33923 cat conftest.err >&5
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); } && {
33926 test -z "$ac_c_werror_flag" ||
33927 test ! -s conftest.err
33928 } && test -s conftest$ac_exeext &&
33929 $as_test_x conftest$ac_exeext; then
33930
33931 { echo "$as_me:$LINENO: result: found in default search path" >&5
33932 echo "${ECHO_T}found in default search path" >&6; }
33933 COMPILED_X_PROGRAM=1
33934
33935 else
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33938
33939
33940 { echo "$as_me:$LINENO: result: no" >&5
33941 echo "${ECHO_T}no" >&6; }
33942 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33943 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33944 { (exit 1); exit 1; }; }
33945
33946
33947 fi
33948
33949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33950 conftest$ac_exeext conftest.$ac_ext
33951
33952 CFLAGS=$save_CFLAGS
33953 LIBS="$save_LIBS"
33954 fi
33955
33956 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33957 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33958 libp_link=""
33959 libsm_ice_link=""
33960 libs_found=0
33961 for libp in "" " -lXp"; do
33962 if test "$libs_found" = "0"; then
33963 for libsm_ice in "" " -lSM -lICE"; do
33964 if test "$libs_found" = "0"; then
33965 save_LIBS="$LIBS"
33966 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33967 save_CFLAGS=$CFLAGS
33968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33969
33970 cat >conftest.$ac_ext <<_ACEOF
33971 /* confdefs.h. */
33972 _ACEOF
33973 cat confdefs.h >>conftest.$ac_ext
33974 cat >>conftest.$ac_ext <<_ACEOF
33975 /* end confdefs.h. */
33976
33977 #include <Xm/Xm.h>
33978 #include <Xm/List.h>
33979
33980 int
33981 main ()
33982 {
33983
33984 XmString string = NULL;
33985 Widget w = NULL;
33986 int position = 0;
33987 XmListAddItem(w, string, position);
33988
33989 ;
33990 return 0;
33991 }
33992 _ACEOF
33993 rm -f conftest.$ac_objext conftest$ac_exeext
33994 if { (ac_try="$ac_link"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33997 *) ac_try_echo=$ac_try;;
33998 esac
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_link") 2>conftest.er1
34001 ac_status=$?
34002 grep -v '^ *+' conftest.er1 >conftest.err
34003 rm -f conftest.er1
34004 cat conftest.err >&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest$ac_exeext &&
34010 $as_test_x conftest$ac_exeext; then
34011
34012 libp_link="$libp"
34013 libsm_ice_link="$libsm_ice"
34014 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34015 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34016 libs_found=1
34017
34018 else
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34021
34022
34023
34024 fi
34025
34026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34027 conftest$ac_exeext conftest.$ac_ext
34028
34029 LIBS="$save_LIBS"
34030 CFLAGS=$save_CFLAGS
34031 fi
34032 done
34033 fi
34034 done
34035
34036 if test "$libs_found" = "0"; then
34037 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34038 echo "${ECHO_T}can't find the right libraries" >&6; }
34039 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34040 echo "$as_me: error: can't link a simple motif program" >&2;}
34041 { (exit 1); exit 1; }; }
34042 fi
34043
34044 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34045 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34046 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34047 echo $ECHO_N "(cached) $ECHO_C" >&6
34048 else
34049 ac_check_lib_save_LIBS=$LIBS
34050 LIBS="-lSgm $LIBS"
34051 cat >conftest.$ac_ext <<_ACEOF
34052 /* confdefs.h. */
34053 _ACEOF
34054 cat confdefs.h >>conftest.$ac_ext
34055 cat >>conftest.$ac_ext <<_ACEOF
34056 /* end confdefs.h. */
34057
34058 /* Override any GCC internal prototype to avoid an error.
34059 Use char because int might match the return type of a GCC
34060 builtin and then its argument prototype would still apply. */
34061 #ifdef __cplusplus
34062 extern "C"
34063 #endif
34064 char SgCreateList ();
34065 int
34066 main ()
34067 {
34068 return SgCreateList ();
34069 ;
34070 return 0;
34071 }
34072 _ACEOF
34073 rm -f conftest.$ac_objext conftest$ac_exeext
34074 if { (ac_try="$ac_link"
34075 case "(($ac_try" in
34076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34077 *) ac_try_echo=$ac_try;;
34078 esac
34079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34080 (eval "$ac_link") 2>conftest.er1
34081 ac_status=$?
34082 grep -v '^ *+' conftest.er1 >conftest.err
34083 rm -f conftest.er1
34084 cat conftest.err >&5
34085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34086 (exit $ac_status); } && {
34087 test -z "$ac_c_werror_flag" ||
34088 test ! -s conftest.err
34089 } && test -s conftest$ac_exeext &&
34090 $as_test_x conftest$ac_exeext; then
34091 ac_cv_lib_Sgm_SgCreateList=yes
34092 else
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34095
34096 ac_cv_lib_Sgm_SgCreateList=no
34097 fi
34098
34099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34100 conftest$ac_exeext conftest.$ac_ext
34101 LIBS=$ac_check_lib_save_LIBS
34102 fi
34103 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34104 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34105 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34106 libsgm_link=" -lSgm"
34107 fi
34108
34109
34110 save_CFLAGS=$CFLAGS
34111 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34112
34113 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34114 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34115 if test "${wx_cv_lib_motif2+set}" = set; then
34116 echo $ECHO_N "(cached) $ECHO_C" >&6
34117 else
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124
34125 #include <Xm/Xm.h>
34126
34127 int
34128 main ()
34129 {
34130
34131 #if XmVersion < 2000
34132 Not Motif 2
34133 #endif
34134
34135 ;
34136 return 0;
34137 }
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (ac_try="$ac_compile"
34141 case "(($ac_try" in
34142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34143 *) ac_try_echo=$ac_try;;
34144 esac
34145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34146 (eval "$ac_compile") 2>conftest.er1
34147 ac_status=$?
34148 grep -v '^ *+' conftest.er1 >conftest.err
34149 rm -f conftest.er1
34150 cat conftest.err >&5
34151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34152 (exit $ac_status); } && {
34153 test -z "$ac_c_werror_flag" ||
34154 test ! -s conftest.err
34155 } && test -s conftest.$ac_objext; then
34156 wx_cv_lib_motif2="yes"
34157 else
34158 echo "$as_me: failed program was:" >&5
34159 sed 's/^/| /' conftest.$ac_ext >&5
34160
34161 wx_cv_lib_motif2="no"
34162 fi
34163
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 fi
34166 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34167 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34168 if test "$wx_cv_lib_motif2" = "yes"; then
34169 cat >>confdefs.h <<\_ACEOF
34170 #define __WXMOTIF20__ 1
34171 _ACEOF
34172
34173 else
34174 cat >>confdefs.h <<\_ACEOF
34175 #define __WXMOTIF20__ 0
34176 _ACEOF
34177
34178 fi
34179
34180 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34181 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34182 if test "${wx_cv_lib_lesstif+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185 cat >conftest.$ac_ext <<_ACEOF
34186 /* confdefs.h. */
34187 _ACEOF
34188 cat confdefs.h >>conftest.$ac_ext
34189 cat >>conftest.$ac_ext <<_ACEOF
34190 /* end confdefs.h. */
34191
34192 #include <Xm/Xm.h>
34193
34194 int
34195 main ()
34196 {
34197
34198 #if !defined(LesstifVersion) || LesstifVersion <= 0
34199 Not Lesstif
34200 #endif
34201
34202 ;
34203 return 0;
34204 }
34205 _ACEOF
34206 rm -f conftest.$ac_objext
34207 if { (ac_try="$ac_compile"
34208 case "(($ac_try" in
34209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34210 *) ac_try_echo=$ac_try;;
34211 esac
34212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34213 (eval "$ac_compile") 2>conftest.er1
34214 ac_status=$?
34215 grep -v '^ *+' conftest.er1 >conftest.err
34216 rm -f conftest.er1
34217 cat conftest.err >&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } && {
34220 test -z "$ac_c_werror_flag" ||
34221 test ! -s conftest.err
34222 } && test -s conftest.$ac_objext; then
34223 wx_cv_lib_lesstif="yes"
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228 wx_cv_lib_lesstif="no"
34229 fi
34230
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232
34233 fi
34234 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34235 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34236 if test "$wx_cv_lib_lesstif" = "yes"; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define __WXLESSTIF__ 1
34239 _ACEOF
34240
34241 else
34242 cat >>confdefs.h <<\_ACEOF
34243 #define __WXLESSTIF__ 0
34244 _ACEOF
34245
34246 fi
34247
34248 CFLAGS=$save_CFLAGS
34249
34250 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34251 TOOLKIT=MOTIF
34252 GUIDIST=MOTIF_DIST
34253 fi
34254
34255 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34256 if test "$wxUSE_LIBXPM" = "sys"; then
34257 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34258 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34259
34260 ac_find_libraries=
34261 for ac_dir in $SEARCH_LIB;
34262 do
34263 for ac_extension in a so sl dylib dll.a; do
34264 if test -f "$ac_dir/libXpm.$ac_extension"; then
34265 ac_find_libraries=$ac_dir
34266 break 2
34267 fi
34268 done
34269 done
34270
34271 if test "$ac_find_libraries" != "" ; then
34272
34273 if test "$ac_find_libraries" = "default location"; then
34274 ac_path_to_link=""
34275 else
34276 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34277 result=$?
34278 if test $result = 0; then
34279 ac_path_to_link=""
34280 else
34281 ac_path_to_link=" -L$ac_find_libraries"
34282 fi
34283 fi
34284
34285 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34286 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34287 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34288
34289 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34290 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34291 if test "${wx_cv_x11_xpm_h+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294
34295 save_CFLAGS=$CFLAGS
34296 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34297
34298 cat >conftest.$ac_ext <<_ACEOF
34299 /* confdefs.h. */
34300 _ACEOF
34301 cat confdefs.h >>conftest.$ac_ext
34302 cat >>conftest.$ac_ext <<_ACEOF
34303 /* end confdefs.h. */
34304
34305 #include <X11/xpm.h>
34306
34307 int
34308 main ()
34309 {
34310
34311 int version;
34312 version = XpmLibraryVersion();
34313
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34323 esac
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 wx_cv_x11_xpm_h=yes
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 wx_cv_x11_xpm_h=no
34341
34342 fi
34343
34344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34345
34346 CFLAGS=$save_CFLAGS
34347
34348
34349 fi
34350 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34351 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34352
34353 if test $wx_cv_x11_xpm_h = "yes"; then
34354 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34355 cat >>confdefs.h <<\_ACEOF
34356 #define wxHAVE_LIB_XPM 1
34357 _ACEOF
34358
34359 else
34360 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34361 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34362 fi
34363 fi
34364
34365 fi
34366
34367 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34368 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34369 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34370 echo $ECHO_N "(cached) $ECHO_C" >&6
34371 else
34372 ac_check_lib_save_LIBS=$LIBS
34373 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34374 cat >conftest.$ac_ext <<_ACEOF
34375 /* confdefs.h. */
34376 _ACEOF
34377 cat confdefs.h >>conftest.$ac_ext
34378 cat >>conftest.$ac_ext <<_ACEOF
34379 /* end confdefs.h. */
34380
34381 /* Override any GCC internal prototype to avoid an error.
34382 Use char because int might match the return type of a GCC
34383 builtin and then its argument prototype would still apply. */
34384 #ifdef __cplusplus
34385 extern "C"
34386 #endif
34387 char XShapeQueryExtension ();
34388 int
34389 main ()
34390 {
34391 return XShapeQueryExtension ();
34392 ;
34393 return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext conftest$ac_exeext
34397 if { (ac_try="$ac_link"
34398 case "(($ac_try" in
34399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34400 *) ac_try_echo=$ac_try;;
34401 esac
34402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34403 (eval "$ac_link") 2>conftest.er1
34404 ac_status=$?
34405 grep -v '^ *+' conftest.er1 >conftest.err
34406 rm -f conftest.er1
34407 cat conftest.err >&5
34408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34409 (exit $ac_status); } && {
34410 test -z "$ac_c_werror_flag" ||
34411 test ! -s conftest.err
34412 } && test -s conftest$ac_exeext &&
34413 $as_test_x conftest$ac_exeext; then
34414 ac_cv_lib_Xext_XShapeQueryExtension=yes
34415 else
34416 echo "$as_me: failed program was:" >&5
34417 sed 's/^/| /' conftest.$ac_ext >&5
34418
34419 ac_cv_lib_Xext_XShapeQueryExtension=no
34420 fi
34421
34422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34423 conftest$ac_exeext conftest.$ac_ext
34424 LIBS=$ac_check_lib_save_LIBS
34425 fi
34426 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34427 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34428 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34429
34430 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34431 wxHAVE_XEXT_LIB=1
34432
34433 fi
34434
34435
34436 if test "$wxHAVE_XEXT_LIB" = 1; then
34437 save_CFLAGS="$CFLAGS"
34438 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34439
34440 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34441 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34442 cat >conftest.$ac_ext <<_ACEOF
34443 /* confdefs.h. */
34444 _ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34448
34449 #include <X11/Xlib.h>
34450 #include <X11/extensions/shape.h>
34451
34452 int
34453 main ()
34454 {
34455
34456 int dummy1, dummy2;
34457 XShapeQueryExtension((Display*)NULL,
34458 (int*)NULL, (int*)NULL);
34459
34460 ;
34461 return 0;
34462 }
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (ac_try="$ac_compile"
34466 case "(($ac_try" in
34467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34468 *) ac_try_echo=$ac_try;;
34469 esac
34470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34471 (eval "$ac_compile") 2>conftest.er1
34472 ac_status=$?
34473 grep -v '^ *+' conftest.er1 >conftest.err
34474 rm -f conftest.er1
34475 cat conftest.err >&5
34476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34477 (exit $ac_status); } && {
34478 test -z "$ac_c_werror_flag" ||
34479 test ! -s conftest.err
34480 } && test -s conftest.$ac_objext; then
34481
34482 cat >>confdefs.h <<\_ACEOF
34483 #define HAVE_XSHAPE 1
34484 _ACEOF
34485
34486 { echo "$as_me:$LINENO: result: found" >&5
34487 echo "${ECHO_T}found" >&6; }
34488
34489 else
34490 echo "$as_me: failed program was:" >&5
34491 sed 's/^/| /' conftest.$ac_ext >&5
34492
34493
34494 { echo "$as_me:$LINENO: result: not found" >&5
34495 echo "${ECHO_T}not found" >&6; }
34496
34497 fi
34498
34499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34500 CFLAGS="$save_CFLAGS"
34501
34502 fi
34503 fi
34504
34505 if test "$wxUSE_MAC" = 1; then
34506 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34507 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34508 if test "$GCC" = yes; then
34509 { echo "$as_me:$LINENO: result: gcc" >&5
34510 echo "${ECHO_T}gcc" >&6; }
34511 CPPFLAGS_PASCAL="-fpascal-strings"
34512 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34513 { echo "$as_me:$LINENO: result: xlc" >&5
34514 echo "${ECHO_T}xlc" >&6; }
34515 CPPFLAGS_PASCAL="-qmacpstr"
34516 else
34517 { echo "$as_me:$LINENO: result: none" >&5
34518 echo "${ECHO_T}none" >&6; }
34519 fi
34520
34521 if test "x$wxUSE_UNIX" = "xyes"; then
34522 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34523 else
34524 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34525 fi
34526
34527 TOOLKIT=MAC
34528 GUIDIST=MACX_DIST
34529 WXBASEPORT="_carbon"
34530 fi
34531
34532 if test "$wxUSE_COCOA" = 1; then
34533 TOOLKIT=COCOA
34534 GUIDIST=COCOA_DIST
34535 fi
34536
34537 if test "$wxUSE_PM" = 1; then
34538 TOOLKIT=PM
34539 GUIDIST=PM_DIST
34540 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34541 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34542 if test "${wx_cv_spbcdata+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552
34553 #define INCL_PM
34554 #include <os2.h>
34555
34556 int
34557 main ()
34558 {
34559
34560 SPBCDATA test;
34561
34562 ;
34563 return 0;
34564 }
34565 _ACEOF
34566 rm -f conftest.$ac_objext
34567 if { (ac_try="$ac_compile"
34568 case "(($ac_try" in
34569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34570 *) ac_try_echo=$ac_try;;
34571 esac
34572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34573 (eval "$ac_compile") 2>conftest.er1
34574 ac_status=$?
34575 grep -v '^ *+' conftest.er1 >conftest.err
34576 rm -f conftest.er1
34577 cat conftest.err >&5
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); } && {
34580 test -z "$ac_c_werror_flag" ||
34581 test ! -s conftest.err
34582 } && test -s conftest.$ac_objext; then
34583 wx_cv_spbcdata=yes
34584 else
34585 echo "$as_me: failed program was:" >&5
34586 sed 's/^/| /' conftest.$ac_ext >&5
34587
34588 wx_cv_spbcdata=no
34589
34590 fi
34591
34592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34593
34594
34595 fi
34596 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34597 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34598
34599 if test $wx_cv_spbcdata = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define HAVE_SPBCDATA 1
34602 _ACEOF
34603
34604 fi
34605 fi
34606
34607 if test "$TOOLKIT" = "PM" ; then
34608 TOOLKIT_DIR="os2"
34609 else
34610 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34611 fi
34612
34613 if test "$wxUSE_UNIVERSAL" = "yes"; then
34614 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34615 WIDGET_SET=univ
34616 fi
34617
34618 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34619 DISTDIR="wx\$(TOOLKIT)"
34620 else
34621 USE_GUI=0
34622
34623 TOOLKIT_DIR="base"
34624
34625 if test "$USE_WIN32" = 1 ; then
34626 TOOLKIT="MSW"
34627 fi
34628
34629 GUIDIST="BASE_DIST"
34630 DISTDIR="wxBase"
34631 fi
34632
34633
34634
34635 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34636 if test "$TOOLKIT" = "DFB" ; then
34637 wxUSE_UNICODE_UTF8=yes
34638 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34639 wxUSE_UNICODE_UTF8=yes
34640 elif test "$USE_OS2" = "1" ; then
34641 wxUSE_UNICODE_UTF8=yes
34642 else
34643 wxUSE_UNICODE_UTF8=no
34644 fi
34645 fi
34646
34647
34648 if test "$wxUSE_GUI" = "yes"; then
34649 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34650 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
34651 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
34652 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
34653 echo $ECHO_N "(cached) $ECHO_C" >&6
34654 else
34655 cat >conftest.$ac_ext <<_ACEOF
34656 /* confdefs.h. */
34657 _ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661
34662
34663 #include <X11/Xlib.h>
34664 _ACEOF
34665 rm -f conftest.$ac_objext
34666 if { (ac_try="$ac_compile"
34667 case "(($ac_try" in
34668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34669 *) ac_try_echo=$ac_try;;
34670 esac
34671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34672 (eval "$ac_compile") 2>conftest.er1
34673 ac_status=$?
34674 grep -v '^ *+' conftest.er1 >conftest.err
34675 rm -f conftest.er1
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } && {
34679 test -z "$ac_c_werror_flag" ||
34680 test ! -s conftest.err
34681 } && test -s conftest.$ac_objext; then
34682 ac_cv_header_X11_Xlib_h=yes
34683 else
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.$ac_ext >&5
34686
34687 ac_cv_header_X11_Xlib_h=no
34688 fi
34689
34690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34691 fi
34692 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
34693 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
34694
34695
34696 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
34697 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
34698 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707
34708 #if HAVE_X11_XLIB_H
34709 #include <X11/Xlib.h>
34710 #endif
34711
34712
34713 #include <X11/XKBlib.h>
34714 _ACEOF
34715 rm -f conftest.$ac_objext
34716 if { (ac_try="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34720 esac
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34723 ac_status=$?
34724 grep -v '^ *+' conftest.er1 >conftest.err
34725 rm -f conftest.er1
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_header_X11_XKBlib_h=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 ac_cv_header_X11_XKBlib_h=no
34738 fi
34739
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 fi
34742 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
34743 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
34744
34745
34746 fi
34747 fi
34748
34749
34750
34751 IODBC_C_SRC=""
34752
34753
34754 if test "$TOOLKIT" != "MSW" ; then
34755
34756 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34757
34758 { echo "$as_me:$LINENO: checking for sql.h" >&5
34759 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34760 if test "${ac_cv_header_sql_h+set}" = set; then
34761 echo $ECHO_N "(cached) $ECHO_C" >&6
34762 else
34763 cat >conftest.$ac_ext <<_ACEOF
34764 /* confdefs.h. */
34765 _ACEOF
34766 cat confdefs.h >>conftest.$ac_ext
34767 cat >>conftest.$ac_ext <<_ACEOF
34768 /* end confdefs.h. */
34769
34770
34771 #include <sql.h>
34772 _ACEOF
34773 rm -f conftest.$ac_objext
34774 if { (ac_try="$ac_compile"
34775 case "(($ac_try" in
34776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34777 *) ac_try_echo=$ac_try;;
34778 esac
34779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34780 (eval "$ac_compile") 2>conftest.er1
34781 ac_status=$?
34782 grep -v '^ *+' conftest.er1 >conftest.err
34783 rm -f conftest.er1
34784 cat conftest.err >&5
34785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34786 (exit $ac_status); } && {
34787 test -z "$ac_c_werror_flag" ||
34788 test ! -s conftest.err
34789 } && test -s conftest.$ac_objext; then
34790 ac_cv_header_sql_h=yes
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795 ac_cv_header_sql_h=no
34796 fi
34797
34798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34799 fi
34800 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34801 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34802 if test $ac_cv_header_sql_h = yes; then
34803 found_sql_h=1
34804 fi
34805
34806
34807 if test "x$found_sql_h" = "x1" ; then
34808 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34809 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34810 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813 ac_check_lib_save_LIBS=$LIBS
34814 LIBS="-liodbc $LIBS"
34815 cat >conftest.$ac_ext <<_ACEOF
34816 /* confdefs.h. */
34817 _ACEOF
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821
34822 /* Override any GCC internal prototype to avoid an error.
34823 Use char because int might match the return type of a GCC
34824 builtin and then its argument prototype would still apply. */
34825 #ifdef __cplusplus
34826 extern "C"
34827 #endif
34828 char SQLAllocEnv ();
34829 int
34830 main ()
34831 {
34832 return SQLAllocEnv ();
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 rm -f conftest.$ac_objext conftest$ac_exeext
34838 if { (ac_try="$ac_link"
34839 case "(($ac_try" in
34840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34841 *) ac_try_echo=$ac_try;;
34842 esac
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_link") 2>conftest.er1
34845 ac_status=$?
34846 grep -v '^ *+' conftest.er1 >conftest.err
34847 rm -f conftest.er1
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && {
34851 test -z "$ac_c_werror_flag" ||
34852 test ! -s conftest.err
34853 } && test -s conftest$ac_exeext &&
34854 $as_test_x conftest$ac_exeext; then
34855 ac_cv_lib_iodbc_SQLAllocEnv=yes
34856 else
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34859
34860 ac_cv_lib_iodbc_SQLAllocEnv=no
34861 fi
34862
34863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34864 conftest$ac_exeext conftest.$ac_ext
34865 LIBS=$ac_check_lib_save_LIBS
34866 fi
34867 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34868 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34869 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34870 ODBC_LINK=" -liodbc"
34871 else
34872
34873 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34874 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34875 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34876 echo $ECHO_N "(cached) $ECHO_C" >&6
34877 else
34878 ac_check_lib_save_LIBS=$LIBS
34879 LIBS="-lunixodbc $LIBS"
34880 cat >conftest.$ac_ext <<_ACEOF
34881 /* confdefs.h. */
34882 _ACEOF
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34886
34887 /* Override any GCC internal prototype to avoid an error.
34888 Use char because int might match the return type of a GCC
34889 builtin and then its argument prototype would still apply. */
34890 #ifdef __cplusplus
34891 extern "C"
34892 #endif
34893 char SQLAllocEnv ();
34894 int
34895 main ()
34896 {
34897 return SQLAllocEnv ();
34898 ;
34899 return 0;
34900 }
34901 _ACEOF
34902 rm -f conftest.$ac_objext conftest$ac_exeext
34903 if { (ac_try="$ac_link"
34904 case "(($ac_try" in
34905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34906 *) ac_try_echo=$ac_try;;
34907 esac
34908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34909 (eval "$ac_link") 2>conftest.er1
34910 ac_status=$?
34911 grep -v '^ *+' conftest.er1 >conftest.err
34912 rm -f conftest.er1
34913 cat conftest.err >&5
34914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915 (exit $ac_status); } && {
34916 test -z "$ac_c_werror_flag" ||
34917 test ! -s conftest.err
34918 } && test -s conftest$ac_exeext &&
34919 $as_test_x conftest$ac_exeext; then
34920 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34924
34925 ac_cv_lib_unixodbc_SQLAllocEnv=no
34926 fi
34927
34928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34929 conftest$ac_exeext conftest.$ac_ext
34930 LIBS=$ac_check_lib_save_LIBS
34931 fi
34932 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34933 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34934 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34935 ODBC_LINK=" -lunixodbc"
34936 else
34937
34938 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34939 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34940 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34941 echo $ECHO_N "(cached) $ECHO_C" >&6
34942 else
34943 ac_check_lib_save_LIBS=$LIBS
34944 LIBS="-lodbc $LIBS"
34945 cat >conftest.$ac_ext <<_ACEOF
34946 /* confdefs.h. */
34947 _ACEOF
34948 cat confdefs.h >>conftest.$ac_ext
34949 cat >>conftest.$ac_ext <<_ACEOF
34950 /* end confdefs.h. */
34951
34952 /* Override any GCC internal prototype to avoid an error.
34953 Use char because int might match the return type of a GCC
34954 builtin and then its argument prototype would still apply. */
34955 #ifdef __cplusplus
34956 extern "C"
34957 #endif
34958 char SQLAllocEnv ();
34959 int
34960 main ()
34961 {
34962 return SQLAllocEnv ();
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 rm -f conftest.$ac_objext conftest$ac_exeext
34968 if { (ac_try="$ac_link"
34969 case "(($ac_try" in
34970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34971 *) ac_try_echo=$ac_try;;
34972 esac
34973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34974 (eval "$ac_link") 2>conftest.er1
34975 ac_status=$?
34976 grep -v '^ *+' conftest.er1 >conftest.err
34977 rm -f conftest.er1
34978 cat conftest.err >&5
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); } && {
34981 test -z "$ac_c_werror_flag" ||
34982 test ! -s conftest.err
34983 } && test -s conftest$ac_exeext &&
34984 $as_test_x conftest$ac_exeext; then
34985 ac_cv_lib_odbc_SQLAllocEnv=yes
34986 else
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34989
34990 ac_cv_lib_odbc_SQLAllocEnv=no
34991 fi
34992
34993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34994 conftest$ac_exeext conftest.$ac_ext
34995 LIBS=$ac_check_lib_save_LIBS
34996 fi
34997 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34998 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34999 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35000 ODBC_LINK=" -lodbc"
35001 fi
35002
35003
35004 fi
35005
35006
35007 fi
35008
35009 fi
35010 if test "x$ODBC_LINK" = "x" ; then
35011 if test "$wxUSE_ODBC" = "sys" ; then
35012 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35013 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35014 { (exit 1); exit 1; }; }
35015 else
35016 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35017 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35018 wxUSE_ODBC=builtin
35019 fi
35020 else
35021 wxUSE_ODBC=sys
35022 fi
35023 fi
35024
35025 if test "$wxUSE_ODBC" = "builtin" ; then
35026 cat >>confdefs.h <<\_ACEOF
35027 #define wxUSE_BUILTIN_IODBC 1
35028 _ACEOF
35029
35030 fi
35031 fi
35032
35033 if test "$wxUSE_ODBC" != "no" ; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define wxUSE_ODBC 1
35036 _ACEOF
35037
35038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35039
35040 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35041 fi
35042
35043
35044 if test "$wxUSE_DISPLAY" = "yes"; then
35045 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35046 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35047 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35048
35049 ac_find_libraries=
35050 for ac_dir in $SEARCH_LIB;
35051 do
35052 for ac_extension in a so sl dylib dll.a; do
35053 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35054 ac_find_libraries=$ac_dir
35055 break 2
35056 fi
35057 done
35058 done
35059
35060 if test "$ac_find_libraries" != "" ; then
35061
35062 if test "$ac_find_libraries" = "default location"; then
35063 ac_path_to_link=""
35064 else
35065 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35066 result=$?
35067 if test $result = 0; then
35068 ac_path_to_link=""
35069 else
35070 ac_path_to_link=" -L$ac_find_libraries"
35071 fi
35072 fi
35073
35074 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35075 LDFLAGS="$LDFLAGS $ac_path_to_link"
35076 fi
35077 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35078 { echo "$as_me:$LINENO: result: yes" >&5
35079 echo "${ECHO_T}yes" >&6; }
35080
35081 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35082 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35083
35084 ac_find_libraries=
35085 for ac_dir in $SEARCH_LIB;
35086 do
35087 for ac_extension in a so sl dylib dll.a; do
35088 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35089 ac_find_libraries=$ac_dir
35090 break 2
35091 fi
35092 done
35093 done
35094
35095 if test "$ac_find_libraries" != "" ; then
35096 { echo "$as_me:$LINENO: result: yes" >&5
35097 echo "${ECHO_T}yes" >&6; }
35098 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
35099 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
35100 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
35101 echo $ECHO_N "(cached) $ECHO_C" >&6
35102 else
35103 cat >conftest.$ac_ext <<_ACEOF
35104 /* confdefs.h. */
35105 _ACEOF
35106 cat confdefs.h >>conftest.$ac_ext
35107 cat >>conftest.$ac_ext <<_ACEOF
35108 /* end confdefs.h. */
35109
35110 #if HAVE_X11_XLIB_H
35111 #include <X11/Xlib.h>
35112 #endif
35113
35114
35115 #include <X11/extensions/xf86vmode.h>
35116 _ACEOF
35117 rm -f conftest.$ac_objext
35118 if { (ac_try="$ac_compile"
35119 case "(($ac_try" in
35120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35121 *) ac_try_echo=$ac_try;;
35122 esac
35123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35124 (eval "$ac_compile") 2>conftest.er1
35125 ac_status=$?
35126 grep -v '^ *+' conftest.er1 >conftest.err
35127 rm -f conftest.er1
35128 cat conftest.err >&5
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); } && {
35131 test -z "$ac_c_werror_flag" ||
35132 test ! -s conftest.err
35133 } && test -s conftest.$ac_objext; then
35134 ac_cv_header_X11_extensions_xf86vmode_h=yes
35135 else
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.$ac_ext >&5
35138
35139 ac_cv_header_X11_extensions_xf86vmode_h=no
35140 fi
35141
35142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35143 fi
35144 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
35145 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
35146 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
35147
35148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35149
35150 fi
35151
35152
35153 else
35154 { echo "$as_me:$LINENO: result: no" >&5
35155 echo "${ECHO_T}no" >&6; }
35156 fi
35157
35158 else
35159 { echo "$as_me:$LINENO: result: no" >&5
35160 echo "${ECHO_T}no" >&6; }
35161 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35162 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35163 wxUSE_DISPLAY="no"
35164 fi
35165 elif test "$wxUSE_MSW" = 1; then
35166 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35167 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35168 if test "${ac_cv_header_ddraw_h+set}" = set; then
35169 echo $ECHO_N "(cached) $ECHO_C" >&6
35170 else
35171 cat >conftest.$ac_ext <<_ACEOF
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177 #include <windows.h>
35178
35179 #include <ddraw.h>
35180 _ACEOF
35181 rm -f conftest.$ac_objext
35182 if { (ac_try="$ac_compile"
35183 case "(($ac_try" in
35184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35185 *) ac_try_echo=$ac_try;;
35186 esac
35187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35188 (eval "$ac_compile") 2>conftest.er1
35189 ac_status=$?
35190 grep -v '^ *+' conftest.er1 >conftest.err
35191 rm -f conftest.er1
35192 cat conftest.err >&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } && {
35195 test -z "$ac_c_werror_flag" ||
35196 test ! -s conftest.err
35197 } && test -s conftest.$ac_objext; then
35198 ac_cv_header_ddraw_h=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 ac_cv_header_ddraw_h=no
35204 fi
35205
35206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35207 fi
35208 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35209 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35210
35211
35212 fi
35213 fi
35214
35215 if test "$wxUSE_DETECT_SM" = "yes"; then
35216 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35217 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35218 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35219
35220 ac_find_libraries=
35221 for ac_dir in $SEARCH_LIB;
35222 do
35223 for ac_extension in a so sl dylib dll.a; do
35224 if test -f "$ac_dir/libSM.$ac_extension"; then
35225 ac_find_libraries=$ac_dir
35226 break 2
35227 fi
35228 done
35229 done
35230
35231 if test "$ac_find_libraries" != "" ; then
35232
35233 if test "$ac_find_libraries" = "default location"; then
35234 ac_path_to_link=""
35235 else
35236 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35237 result=$?
35238 if test $result = 0; then
35239 ac_path_to_link=""
35240 else
35241 ac_path_to_link=" -L$ac_find_libraries"
35242 fi
35243 fi
35244
35245 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35246 LDFLAGS="$LDFLAGS $ac_path_to_link"
35247 fi
35248 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35249 { echo "$as_me:$LINENO: result: yes" >&5
35250 echo "${ECHO_T}yes" >&6; }
35251 else
35252 { echo "$as_me:$LINENO: result: no" >&5
35253 echo "${ECHO_T}no" >&6; }
35254 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35255 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35256 wxUSE_DETECT_SM="no"
35257 fi
35258 else
35259 wxUSE_DETECT_SM="no"
35260 fi
35261 fi
35262
35263
35264
35265 USE_OPENGL=0
35266 if test "$wxUSE_OPENGL" = "yes"; then
35267 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35268 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35269 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35270 wxUSE_OPENGL="no"
35271 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35272 OPENGL_LIBS="-framework OpenGL -framework AGL"
35273 elif test "$wxUSE_MSW" = 1; then
35274 OPENGL_LIBS="-lopengl32 -lglu32"
35275 else
35276 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35277 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35278
35279 ac_find_includes=
35280 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35281 do
35282 if test -f "$ac_dir/GL/gl.h"; then
35283 ac_find_includes=$ac_dir
35284 break
35285 fi
35286 done
35287
35288 if test "$ac_find_includes" != "" ; then
35289 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35290 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35291
35292 if test "x$ac_find_includes" = "x/usr/include"; then
35293 ac_path_to_include=""
35294 else
35295 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35296 result=$?
35297 if test $result = 0; then
35298 ac_path_to_include=""
35299 else
35300 ac_path_to_include=" -I$ac_find_includes"
35301 fi
35302 fi
35303
35304 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35305 else
35306 { echo "$as_me:$LINENO: result: not found" >&5
35307 echo "${ECHO_T}not found" >&6; }
35308 fi
35309
35310 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35311 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35312 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 else
35315 cat >conftest.$ac_ext <<_ACEOF
35316 /* confdefs.h. */
35317 _ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321
35322
35323 #include <GL/gl.h>
35324 _ACEOF
35325 rm -f conftest.$ac_objext
35326 if { (ac_try="$ac_compile"
35327 case "(($ac_try" in
35328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35329 *) ac_try_echo=$ac_try;;
35330 esac
35331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35332 (eval "$ac_compile") 2>conftest.er1
35333 ac_status=$?
35334 grep -v '^ *+' conftest.er1 >conftest.err
35335 rm -f conftest.er1
35336 cat conftest.err >&5
35337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35338 (exit $ac_status); } && {
35339 test -z "$ac_c_werror_flag" ||
35340 test ! -s conftest.err
35341 } && test -s conftest.$ac_objext; then
35342 ac_cv_header_GL_gl_h=yes
35343 else
35344 echo "$as_me: failed program was:" >&5
35345 sed 's/^/| /' conftest.$ac_ext >&5
35346
35347 ac_cv_header_GL_gl_h=no
35348 fi
35349
35350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35351 fi
35352 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35353 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35354 if test $ac_cv_header_GL_gl_h = yes; then
35355
35356 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35357 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35358 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35359 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35360 echo $ECHO_N "(cached) $ECHO_C" >&6
35361 fi
35362 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35363 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35364 else
35365 # Is the header compilable?
35366 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35367 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35368 cat >conftest.$ac_ext <<_ACEOF
35369 /* confdefs.h. */
35370 _ACEOF
35371 cat confdefs.h >>conftest.$ac_ext
35372 cat >>conftest.$ac_ext <<_ACEOF
35373 /* end confdefs.h. */
35374 $ac_includes_default
35375 #include <GL/glu.h>
35376 _ACEOF
35377 rm -f conftest.$ac_objext
35378 if { (ac_try="$ac_compile"
35379 case "(($ac_try" in
35380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35381 *) ac_try_echo=$ac_try;;
35382 esac
35383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35384 (eval "$ac_compile") 2>conftest.er1
35385 ac_status=$?
35386 grep -v '^ *+' conftest.er1 >conftest.err
35387 rm -f conftest.er1
35388 cat conftest.err >&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } && {
35391 test -z "$ac_c_werror_flag" ||
35392 test ! -s conftest.err
35393 } && test -s conftest.$ac_objext; then
35394 ac_header_compiler=yes
35395 else
35396 echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35398
35399 ac_header_compiler=no
35400 fi
35401
35402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35403 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35404 echo "${ECHO_T}$ac_header_compiler" >&6; }
35405
35406 # Is the header present?
35407 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35408 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 #include <GL/glu.h>
35416 _ACEOF
35417 if { (ac_try="$ac_cpp conftest.$ac_ext"
35418 case "(($ac_try" in
35419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35420 *) ac_try_echo=$ac_try;;
35421 esac
35422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35424 ac_status=$?
35425 grep -v '^ *+' conftest.er1 >conftest.err
35426 rm -f conftest.er1
35427 cat conftest.err >&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } >/dev/null && {
35430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35431 test ! -s conftest.err
35432 }; then
35433 ac_header_preproc=yes
35434 else
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35437
35438 ac_header_preproc=no
35439 fi
35440
35441 rm -f conftest.err conftest.$ac_ext
35442 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35443 echo "${ECHO_T}$ac_header_preproc" >&6; }
35444
35445 # So? What about this header?
35446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35447 yes:no: )
35448 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35449 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35450 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35451 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35452 ac_header_preproc=yes
35453 ;;
35454 no:yes:* )
35455 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35456 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35457 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35458 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35459 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35460 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35461 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35462 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35463 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35464 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35465 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35466 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35467 ( cat <<\_ASBOX
35468 ## ----------------------------------------- ##
35469 ## Report this to wx-dev@lists.wxwidgets.org ##
35470 ## ----------------------------------------- ##
35471 _ASBOX
35472 ) | sed "s/^/$as_me: WARNING: /" >&2
35473 ;;
35474 esac
35475 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35476 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35477 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35478 echo $ECHO_N "(cached) $ECHO_C" >&6
35479 else
35480 ac_cv_header_GL_glu_h=$ac_header_preproc
35481 fi
35482 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35483 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35484
35485 fi
35486 if test $ac_cv_header_GL_glu_h = yes; then
35487
35488 found_gl=0
35489
35490 { echo "$as_me:$LINENO: checking for -lGL" >&5
35491 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35492
35493 ac_find_libraries=
35494 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35495 do
35496 for ac_extension in a so sl dylib dll.a; do
35497 if test -f "$ac_dir/libGL.$ac_extension"; then
35498 ac_find_libraries=$ac_dir
35499 break 2
35500 fi
35501 done
35502 done
35503
35504 if test "$ac_find_libraries" != "" ; then
35505 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35506 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35507
35508
35509 if test "$ac_find_libraries" = "default location"; then
35510 ac_path_to_link=""
35511 else
35512 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35513 result=$?
35514 if test $result = 0; then
35515 ac_path_to_link=""
35516 else
35517 ac_path_to_link=" -L$ac_find_libraries"
35518 fi
35519 fi
35520
35521 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35522 LDFLAGS_GL="$ac_path_to_link"
35523 fi
35524
35525 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35526 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35527
35528 ac_find_libraries=
35529 for ac_dir in $SEARCH_LIB;
35530 do
35531 for ac_extension in a so sl dylib dll.a; do
35532 if test -f "$ac_dir/libGLU.$ac_extension"; then
35533 ac_find_libraries=$ac_dir
35534 break 2
35535 fi
35536 done
35537 done
35538
35539 if test "$ac_find_libraries" != "" ; then
35540
35541 if test "$ac_find_libraries" = "default location"; then
35542 ac_path_to_link=""
35543 else
35544 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35545 result=$?
35546 if test $result = 0; then
35547 ac_path_to_link=""
35548 else
35549 ac_path_to_link=" -L$ac_find_libraries"
35550 fi
35551 fi
35552
35553 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35554 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35555 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35556 fi
35557
35558 found_gl=1
35559 OPENGL_LIBS="-lGL -lGLU"
35560 { echo "$as_me:$LINENO: result: yes" >&5
35561 echo "${ECHO_T}yes" >&6; }
35562 else
35563 { echo "$as_me:$LINENO: result: no" >&5
35564 echo "${ECHO_T}no" >&6; }
35565 fi
35566 else
35567 { echo "$as_me:$LINENO: result: no" >&5
35568 echo "${ECHO_T}no" >&6; }
35569 fi
35570
35571 if test "$found_gl" != 1; then
35572 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35573 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35574
35575 ac_find_libraries=
35576 for ac_dir in $SEARCH_LIB;
35577 do
35578 for ac_extension in a so sl dylib dll.a; do
35579 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35580 ac_find_libraries=$ac_dir
35581 break 2
35582 fi
35583 done
35584 done
35585
35586 if test "$ac_find_libraries" != "" ; then
35587
35588 if test "$ac_find_libraries" = "default location"; then
35589 ac_path_to_link=""
35590 else
35591 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35592 result=$?
35593 if test $result = 0; then
35594 ac_path_to_link=""
35595 else
35596 ac_path_to_link=" -L$ac_find_libraries"
35597 fi
35598 fi
35599
35600 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35601 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35602 { echo "$as_me:$LINENO: result: yes" >&5
35603 echo "${ECHO_T}yes" >&6; }
35604 else
35605 { echo "$as_me:$LINENO: result: no" >&5
35606 echo "${ECHO_T}no" >&6; }
35607 fi
35608 fi
35609
35610 fi
35611
35612
35613
35614 fi
35615
35616
35617
35618 if test "x$OPENGL_LIBS" = "x"; then
35619 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35620 echo "$as_me: error: OpenGL libraries not available" >&2;}
35621 { (exit 1); exit 1; }; }
35622 fi
35623 fi
35624
35625 if test "$wxUSE_OPENGL" = "yes"; then
35626 USE_OPENGL=1
35627 cat >>confdefs.h <<\_ACEOF
35628 #define wxUSE_OPENGL 1
35629 _ACEOF
35630
35631 cat >>confdefs.h <<\_ACEOF
35632 #define wxUSE_GLCANVAS 1
35633 _ACEOF
35634
35635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35636 fi
35637 fi
35638
35639
35640 if test -n "$TOOLKIT" ; then
35641 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35642 fi
35643
35644
35645
35646 if test "$wxUSE_SHARED" = "yes"; then
35647 case "${host}" in
35648 *-pc-msdosdjgpp )
35649 wxUSE_SHARED=no
35650 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35651 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35652 ;;
35653 esac
35654 fi
35655
35656 if test "$wxUSE_SHARED" = "yes"; then
35657
35658
35659 case "${host}" in
35660 *-*-cygwin* | *-*-mingw* )
35661 wx_cv_version_script=no
35662 ;;
35663
35664 *)
35665 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35666 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35667 if test "${wx_cv_version_script+set}" = set; then
35668 echo $ECHO_N "(cached) $ECHO_C" >&6
35669 else
35670
35671 echo "VER_1 { *; };" >conftest.sym
35672 echo "int main() { return 0; }" >conftest.cpp
35673
35674 if { ac_try='
35675 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35676 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35679 ac_status=$?
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; } ; then
35682 if test -s conftest.stderr ; then
35683 wx_cv_version_script=no
35684 else
35685 wx_cv_version_script=yes
35686 fi
35687 else
35688 wx_cv_version_script=no
35689 fi
35690
35691 if test $wx_cv_version_script = yes
35692 then
35693 echo "struct B { virtual ~B() { } }; \
35694 struct D : public B { }; \
35695 void F() { D d; }" > conftest.cpp
35696
35697 if { ac_try='
35698 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35699 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35702 ac_status=$?
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; } &&
35705 { ac_try='
35706 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35707 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35709 (eval $ac_try) 2>&5
35710 ac_status=$?
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); }; }
35713 then
35714 if { ac_try='
35715 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35716 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35718 (eval $ac_try) 2>&5
35719 ac_status=$?
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); }; }
35722 then
35723 wx_cv_version_script=yes
35724 else
35725 wx_cv_version_script=no
35726 fi
35727 fi
35728 fi
35729
35730 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35731 rm -f conftest1.output conftest2.output conftest3.output
35732
35733 fi
35734 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35735 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35736
35737 if test $wx_cv_version_script = yes ; then
35738 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35739 fi
35740 ;;
35741 esac
35742
35743
35744 if test "$wxUSE_VISIBILITY" != "no"; then
35745
35746
35747 if test -n "$GCC"; then
35748 CFLAGS_VISIBILITY="-fvisibility=hidden"
35749 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35750 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35751 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35752 if test "${wx_cv_cc_visibility+set}" = set; then
35753 echo $ECHO_N "(cached) $ECHO_C" >&6
35754 else
35755
35756 wx_save_CXXFLAGS="$CXXFLAGS"
35757 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35758 ac_ext=cpp
35759 ac_cpp='$CXXCPP $CPPFLAGS'
35760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35763
35764 cat >conftest.$ac_ext <<_ACEOF
35765 /* confdefs.h. */
35766 _ACEOF
35767 cat confdefs.h >>conftest.$ac_ext
35768 cat >>conftest.$ac_ext <<_ACEOF
35769 /* end confdefs.h. */
35770
35771 /* we need gcc >= 4.0, older versions with visibility support
35772 didn't have class visibility: */
35773 #if defined(__GNUC__) && __GNUC__ < 4
35774 error this gcc is too old;
35775 #endif
35776
35777 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35778 extern __attribute__((__visibility__("default"))) int exportedvar;
35779 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35780 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35781 class __attribute__((__visibility__("default"))) Foo {
35782 Foo() {}
35783 };
35784
35785 int
35786 main ()
35787 {
35788
35789 ;
35790 return 0;
35791 }
35792 _ACEOF
35793 rm -f conftest.$ac_objext
35794 if { (ac_try="$ac_compile"
35795 case "(($ac_try" in
35796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35797 *) ac_try_echo=$ac_try;;
35798 esac
35799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35800 (eval "$ac_compile") 2>conftest.er1
35801 ac_status=$?
35802 grep -v '^ *+' conftest.er1 >conftest.err
35803 rm -f conftest.er1
35804 cat conftest.err >&5
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); } && {
35807 test -z "$ac_cxx_werror_flag" ||
35808 test ! -s conftest.err
35809 } && test -s conftest.$ac_objext; then
35810 wx_cv_cc_visibility=yes
35811 else
35812 echo "$as_me: failed program was:" >&5
35813 sed 's/^/| /' conftest.$ac_ext >&5
35814
35815 wx_cv_cc_visibility=no
35816 fi
35817
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35819 ac_ext=c
35820 ac_cpp='$CPP $CPPFLAGS'
35821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35824
35825 CXXFLAGS="$wx_save_CXXFLAGS"
35826 fi
35827
35828 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35829 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35830 if test $wx_cv_cc_visibility = yes; then
35831 cat >>confdefs.h <<\_ACEOF
35832 #define HAVE_VISIBILITY 1
35833 _ACEOF
35834
35835 else
35836 CFLAGS_VISIBILITY=""
35837 CXXFLAGS_VISIBILITY=""
35838 fi
35839
35840
35841 fi
35842
35843 fi
35844
35845 if test "x$SUNCXX" = xyes; then
35846 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35847 WXCONFIG_RPATH="-R\$libdir"
35848 else
35849 case "${host}" in
35850 *-*-linux* | *-*-gnu* )
35851 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35852 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35853 ;;
35854
35855 *-*-solaris2* )
35856
35857 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35858
35859 saveLdflags="$LDFLAGS"
35860 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35861 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35862 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35863 cat >conftest.$ac_ext <<_ACEOF
35864 /* confdefs.h. */
35865 _ACEOF
35866 cat confdefs.h >>conftest.$ac_ext
35867 cat >>conftest.$ac_ext <<_ACEOF
35868 /* end confdefs.h. */
35869
35870 int
35871 main ()
35872 {
35873
35874 ;
35875 return 0;
35876 }
35877 _ACEOF
35878 rm -f conftest.$ac_objext conftest$ac_exeext
35879 if { (ac_try="$ac_link"
35880 case "(($ac_try" in
35881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35882 *) ac_try_echo=$ac_try;;
35883 esac
35884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35885 (eval "$ac_link") 2>conftest.er1
35886 ac_status=$?
35887 grep -v '^ *+' conftest.er1 >conftest.err
35888 rm -f conftest.er1
35889 cat conftest.err >&5
35890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35891 (exit $ac_status); } && {
35892 test -z "$ac_c_werror_flag" ||
35893 test ! -s conftest.err
35894 } && test -s conftest$ac_exeext &&
35895 $as_test_x conftest$ac_exeext; then
35896
35897 { echo "$as_me:$LINENO: result: yes" >&5
35898 echo "${ECHO_T}yes" >&6; }
35899 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35900 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35901
35902 else
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.$ac_ext >&5
35905
35906
35907 { echo "$as_me:$LINENO: result: no" >&5
35908 echo "${ECHO_T}no" >&6; }
35909 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35910 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35911 LDFLAGS="$saveLdflags -Wl,-R,/"
35912 cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h. */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918
35919 int
35920 main ()
35921 {
35922
35923 ;
35924 return 0;
35925 }
35926 _ACEOF
35927 rm -f conftest.$ac_objext conftest$ac_exeext
35928 if { (ac_try="$ac_link"
35929 case "(($ac_try" in
35930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35931 *) ac_try_echo=$ac_try;;
35932 esac
35933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35934 (eval "$ac_link") 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } && {
35941 test -z "$ac_c_werror_flag" ||
35942 test ! -s conftest.err
35943 } && test -s conftest$ac_exeext &&
35944 $as_test_x conftest$ac_exeext; then
35945
35946 { echo "$as_me:$LINENO: result: yes" >&5
35947 echo "${ECHO_T}yes" >&6; }
35948 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35949 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35950
35951 else
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35954
35955
35956 { echo "$as_me:$LINENO: result: no" >&5
35957 echo "${ECHO_T}no" >&6; }
35958
35959 fi
35960
35961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35962 conftest$ac_exeext conftest.$ac_ext
35963
35964 fi
35965
35966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35967 conftest$ac_exeext conftest.$ac_ext
35968 LDFLAGS="$saveLdflags"
35969 ;;
35970
35971 *-*-darwin* )
35972 install_name_tool=`which install_name_tool`
35973 if test "$install_name_tool" -a -x "$install_name_tool"; then
35974 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35975 cat <<EOF >change-install-names
35976 #!/bin/sh
35977 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35978 inst_cmd="install_name_tool "
35979 for i in \${libnames} ; do
35980 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35981 done
35982 \${inst_cmd} \${3}
35983 EOF
35984 chmod +x change-install-names
35985 fi
35986 ;;
35987
35988 *-*-cygwin* | *-*-mingw32* )
35989 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35990 ;;
35991
35992 *-*-hpux* )
35993 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35994 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35995 ;;
35996
35997 esac
35998 fi
35999
36000 if test $wxUSE_RPATH = "no"; then
36001 SAMPLES_RPATH_FLAG=''
36002 SAMPLES_RPATH_POSTLINK=''
36003 WXCONFIG_RPATH=''
36004 fi
36005
36006 SHARED=1
36007
36008 else
36009
36010 config_linkage_component="-static"
36011 SHARED=0
36012
36013 fi
36014
36015
36016 UNICODE=0
36017 lib_unicode_suffix=
36018 WX_CHARTYPE="ansi"
36019 if test "$wxUSE_UNICODE" = "yes"; then
36020 lib_unicode_suffix=u
36021 WX_CHARTYPE="unicode"
36022 UNICODE=1
36023 fi
36024
36025 lib_debug_suffix=
36026 WX_DEBUGTYPE="release"
36027 DEBUG_FLAG=0
36028 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36029 lib_debug_suffix=d
36030 WX_DEBUGTYPE="debug"
36031 DEBUG_FLAG=1
36032 fi
36033
36034 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36035 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36036
36037 DEBUG_INFO=0
36038 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36039 DEBUG_INFO=1
36040 fi
36041
36042 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36043
36044 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36045
36046 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36047
36048 if test "$cross_compiling" = "yes"; then
36049 HOST_SUFFIX="-$host_alias"
36050 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36051 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36052 fi
36053
36054 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36055 if test "${TOOLKIT_DIR}" = "os2"; then
36056 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36057 else
36058 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36059 fi
36060
36061
36062
36063 if test "$wxUSE_COCOA" = 1; then
36064
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36070
36071 ac_ext=m
36072
36073 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36074 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081 #include <AppKit/NSEvent.h>
36082 #include <CoreFoundation/CoreFoundation.h>
36083
36084 int
36085 main ()
36086 {
36087
36088 ;
36089 return 0;
36090 }
36091 _ACEOF
36092 rm -f conftest.$ac_objext
36093 if { (ac_try="$ac_compile"
36094 case "(($ac_try" in
36095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36096 *) ac_try_echo=$ac_try;;
36097 esac
36098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36099 (eval "$ac_compile") 2>conftest.er1
36100 ac_status=$?
36101 grep -v '^ *+' conftest.er1 >conftest.err
36102 rm -f conftest.er1
36103 cat conftest.err >&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } && {
36106 test -z "$ac_c_werror_flag" ||
36107 test ! -s conftest.err
36108 } && test -s conftest.$ac_objext; then
36109 { echo "$as_me:$LINENO: result: no" >&5
36110 echo "${ECHO_T}no" >&6; }
36111 else
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36114
36115 { echo "$as_me:$LINENO: result: yes" >&5
36116 echo "${ECHO_T}yes" >&6; }
36117 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36118 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36119 cat >conftest.$ac_ext <<_ACEOF
36120 /* confdefs.h. */
36121 _ACEOF
36122 cat confdefs.h >>conftest.$ac_ext
36123 cat >>conftest.$ac_ext <<_ACEOF
36124 /* end confdefs.h. */
36125 #define __Point__ 1
36126 #include <AppKit/NSEvent.h>
36127 #include <CoreFoundation/CoreFoundation.h>
36128
36129 int
36130 main ()
36131 {
36132
36133 ;
36134 return 0;
36135 }
36136 _ACEOF
36137 rm -f conftest.$ac_objext
36138 if { (ac_try="$ac_compile"
36139 case "(($ac_try" in
36140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36141 *) ac_try_echo=$ac_try;;
36142 esac
36143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36144 (eval "$ac_compile") 2>conftest.er1
36145 ac_status=$?
36146 grep -v '^ *+' conftest.er1 >conftest.err
36147 rm -f conftest.er1
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } && {
36151 test -z "$ac_c_werror_flag" ||
36152 test ! -s conftest.err
36153 } && test -s conftest.$ac_objext; then
36154 { echo "$as_me:$LINENO: result: yes" >&5
36155 echo "${ECHO_T}yes" >&6; }
36156 cat >>confdefs.h <<\_ACEOF
36157 #define __Point__ 1
36158 _ACEOF
36159
36160
36161 else
36162 echo "$as_me: failed program was:" >&5
36163 sed 's/^/| /' conftest.$ac_ext >&5
36164
36165 { { echo "$as_me:$LINENO: error: no
36166 See \`config.log' for more details." >&5
36167 echo "$as_me: error: no
36168 See \`config.log' for more details." >&2;}
36169 { (exit 1); exit 1; }; }
36170
36171 fi
36172
36173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36174
36175 fi
36176
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36183
36184 fi
36185
36186 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36187 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36188 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36189
36190 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36191
36192 # Extract the first word of "Rez", so it can be a program name with args.
36193 set dummy Rez; ac_word=$2
36194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36196 if test "${ac_cv_prog_REZ+set}" = set; then
36197 echo $ECHO_N "(cached) $ECHO_C" >&6
36198 else
36199 if test -n "$REZ"; then
36200 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36201 else
36202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36203 for as_dir in $PATH
36204 do
36205 IFS=$as_save_IFS
36206 test -z "$as_dir" && as_dir=.
36207 for ac_exec_ext in '' $ac_executable_extensions; do
36208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36209 ac_cv_prog_REZ="Rez"
36210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36211 break 2
36212 fi
36213 done
36214 done
36215 IFS=$as_save_IFS
36216
36217 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36218 fi
36219 fi
36220 REZ=$ac_cv_prog_REZ
36221 if test -n "$REZ"; then
36222 { echo "$as_me:$LINENO: result: $REZ" >&5
36223 echo "${ECHO_T}$REZ" >&6; }
36224 else
36225 { echo "$as_me:$LINENO: result: no" >&5
36226 echo "${ECHO_T}no" >&6; }
36227 fi
36228
36229
36230 # Extract the first word of "DeRez", so it can be a program name with args.
36231 set dummy DeRez; ac_word=$2
36232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36234 if test "${ac_cv_prog_DEREZ+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237 if test -n "$DEREZ"; then
36238 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36239 else
36240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36241 for as_dir in $PATH
36242 do
36243 IFS=$as_save_IFS
36244 test -z "$as_dir" && as_dir=.
36245 for ac_exec_ext in '' $ac_executable_extensions; do
36246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36247 ac_cv_prog_DEREZ="DeRez"
36248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36249 break 2
36250 fi
36251 done
36252 done
36253 IFS=$as_save_IFS
36254
36255 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36256 fi
36257 fi
36258 DEREZ=$ac_cv_prog_DEREZ
36259 if test -n "$DEREZ"; then
36260 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36261 echo "${ECHO_T}$DEREZ" >&6; }
36262 else
36263 { echo "$as_me:$LINENO: result: no" >&5
36264 echo "${ECHO_T}no" >&6; }
36265 fi
36266
36267
36268 # Extract the first word of "SetFile", so it can be a program name with args.
36269 set dummy SetFile; ac_word=$2
36270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36272 if test "${ac_cv_prog_SETFILE+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36274 else
36275 if test -n "$SETFILE"; then
36276 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36277 else
36278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36279 for as_dir in $PATH
36280 do
36281 IFS=$as_save_IFS
36282 test -z "$as_dir" && as_dir=.
36283 for ac_exec_ext in '' $ac_executable_extensions; do
36284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36285 ac_cv_prog_SETFILE="SetFile"
36286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36287 break 2
36288 fi
36289 done
36290 done
36291 IFS=$as_save_IFS
36292
36293 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36294 fi
36295 fi
36296 SETFILE=$ac_cv_prog_SETFILE
36297 if test -n "$SETFILE"; then
36298 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36299 echo "${ECHO_T}$SETFILE" >&6; }
36300 else
36301 { echo "$as_me:$LINENO: result: no" >&5
36302 echo "${ECHO_T}no" >&6; }
36303 fi
36304
36305
36306
36307 MACSETFILE="\$(SETFILE)"
36308
36309 if test "$wxUSE_MAC" = 1; then
36310 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36311 RESCOMP="$REZ"
36312 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36313 else
36314 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36315 RESCOMP="echo -n \| $REZ"
36316 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36317 fi
36318
36319 else
36320 MACSETFILE="@true"
36321
36322 if test "$wxUSE_PM" = 1; then
36323 RESCOMP="emxbind"
36324 WXCONFIG_RESFLAGS="-ep"
36325
36326 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36327 else
36328 POSTLINK_COMMAND="@true"
36329 fi
36330
36331 fi
36332
36333
36334
36335 { echo "$as_me:$LINENO: checking for mode_t" >&5
36336 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36337 if test "${ac_cv_type_mode_t+set}" = set; then
36338 echo $ECHO_N "(cached) $ECHO_C" >&6
36339 else
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 $ac_includes_default
36347 typedef mode_t ac__type_new_;
36348 int
36349 main ()
36350 {
36351 if ((ac__type_new_ *) 0)
36352 return 0;
36353 if (sizeof (ac__type_new_))
36354 return 0;
36355 ;
36356 return 0;
36357 }
36358 _ACEOF
36359 rm -f conftest.$ac_objext
36360 if { (ac_try="$ac_compile"
36361 case "(($ac_try" in
36362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36363 *) ac_try_echo=$ac_try;;
36364 esac
36365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36366 (eval "$ac_compile") 2>conftest.er1
36367 ac_status=$?
36368 grep -v '^ *+' conftest.er1 >conftest.err
36369 rm -f conftest.er1
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } && {
36373 test -z "$ac_c_werror_flag" ||
36374 test ! -s conftest.err
36375 } && test -s conftest.$ac_objext; then
36376 ac_cv_type_mode_t=yes
36377 else
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36380
36381 ac_cv_type_mode_t=no
36382 fi
36383
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385 fi
36386 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36387 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36388 if test $ac_cv_type_mode_t = yes; then
36389 :
36390 else
36391
36392 cat >>confdefs.h <<_ACEOF
36393 #define mode_t int
36394 _ACEOF
36395
36396 fi
36397
36398 { echo "$as_me:$LINENO: checking for off_t" >&5
36399 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36400 if test "${ac_cv_type_off_t+set}" = set; then
36401 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 else
36403 cat >conftest.$ac_ext <<_ACEOF
36404 /* confdefs.h. */
36405 _ACEOF
36406 cat confdefs.h >>conftest.$ac_ext
36407 cat >>conftest.$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 $ac_includes_default
36410 typedef off_t ac__type_new_;
36411 int
36412 main ()
36413 {
36414 if ((ac__type_new_ *) 0)
36415 return 0;
36416 if (sizeof (ac__type_new_))
36417 return 0;
36418 ;
36419 return 0;
36420 }
36421 _ACEOF
36422 rm -f conftest.$ac_objext
36423 if { (ac_try="$ac_compile"
36424 case "(($ac_try" in
36425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36426 *) ac_try_echo=$ac_try;;
36427 esac
36428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36429 (eval "$ac_compile") 2>conftest.er1
36430 ac_status=$?
36431 grep -v '^ *+' conftest.er1 >conftest.err
36432 rm -f conftest.er1
36433 cat conftest.err >&5
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); } && {
36436 test -z "$ac_c_werror_flag" ||
36437 test ! -s conftest.err
36438 } && test -s conftest.$ac_objext; then
36439 ac_cv_type_off_t=yes
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36443
36444 ac_cv_type_off_t=no
36445 fi
36446
36447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36448 fi
36449 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36450 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36451 if test $ac_cv_type_off_t = yes; then
36452 :
36453 else
36454
36455 cat >>confdefs.h <<_ACEOF
36456 #define off_t long int
36457 _ACEOF
36458
36459 fi
36460
36461 { echo "$as_me:$LINENO: checking for pid_t" >&5
36462 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36463 if test "${ac_cv_type_pid_t+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466 cat >conftest.$ac_ext <<_ACEOF
36467 /* confdefs.h. */
36468 _ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472 $ac_includes_default
36473 typedef pid_t ac__type_new_;
36474 int
36475 main ()
36476 {
36477 if ((ac__type_new_ *) 0)
36478 return 0;
36479 if (sizeof (ac__type_new_))
36480 return 0;
36481 ;
36482 return 0;
36483 }
36484 _ACEOF
36485 rm -f conftest.$ac_objext
36486 if { (ac_try="$ac_compile"
36487 case "(($ac_try" in
36488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36489 *) ac_try_echo=$ac_try;;
36490 esac
36491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36492 (eval "$ac_compile") 2>conftest.er1
36493 ac_status=$?
36494 grep -v '^ *+' conftest.er1 >conftest.err
36495 rm -f conftest.er1
36496 cat conftest.err >&5
36497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36498 (exit $ac_status); } && {
36499 test -z "$ac_c_werror_flag" ||
36500 test ! -s conftest.err
36501 } && test -s conftest.$ac_objext; then
36502 ac_cv_type_pid_t=yes
36503 else
36504 echo "$as_me: failed program was:" >&5
36505 sed 's/^/| /' conftest.$ac_ext >&5
36506
36507 ac_cv_type_pid_t=no
36508 fi
36509
36510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36511 fi
36512 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36513 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36514 if test $ac_cv_type_pid_t = yes; then
36515 :
36516 else
36517
36518 cat >>confdefs.h <<_ACEOF
36519 #define pid_t int
36520 _ACEOF
36521
36522 fi
36523
36524 { echo "$as_me:$LINENO: checking for size_t" >&5
36525 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36526 if test "${ac_cv_type_size_t+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 $ac_includes_default
36536 typedef size_t ac__type_new_;
36537 int
36538 main ()
36539 {
36540 if ((ac__type_new_ *) 0)
36541 return 0;
36542 if (sizeof (ac__type_new_))
36543 return 0;
36544 ;
36545 return 0;
36546 }
36547 _ACEOF
36548 rm -f conftest.$ac_objext
36549 if { (ac_try="$ac_compile"
36550 case "(($ac_try" in
36551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36552 *) ac_try_echo=$ac_try;;
36553 esac
36554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36555 (eval "$ac_compile") 2>conftest.er1
36556 ac_status=$?
36557 grep -v '^ *+' conftest.er1 >conftest.err
36558 rm -f conftest.er1
36559 cat conftest.err >&5
36560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36561 (exit $ac_status); } && {
36562 test -z "$ac_c_werror_flag" ||
36563 test ! -s conftest.err
36564 } && test -s conftest.$ac_objext; then
36565 ac_cv_type_size_t=yes
36566 else
36567 echo "$as_me: failed program was:" >&5
36568 sed 's/^/| /' conftest.$ac_ext >&5
36569
36570 ac_cv_type_size_t=no
36571 fi
36572
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36574 fi
36575 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36576 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36577 if test $ac_cv_type_size_t = yes; then
36578 :
36579 else
36580
36581 cat >>confdefs.h <<_ACEOF
36582 #define size_t unsigned int
36583 _ACEOF
36584
36585 fi
36586
36587 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36588 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36589 if test "${ac_cv_type_uid_t+set}" = set; then
36590 echo $ECHO_N "(cached) $ECHO_C" >&6
36591 else
36592 cat >conftest.$ac_ext <<_ACEOF
36593 /* confdefs.h. */
36594 _ACEOF
36595 cat confdefs.h >>conftest.$ac_ext
36596 cat >>conftest.$ac_ext <<_ACEOF
36597 /* end confdefs.h. */
36598 #include <sys/types.h>
36599
36600 _ACEOF
36601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36602 $EGREP "uid_t" >/dev/null 2>&1; then
36603 ac_cv_type_uid_t=yes
36604 else
36605 ac_cv_type_uid_t=no
36606 fi
36607 rm -f conftest*
36608
36609 fi
36610 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36611 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36612 if test $ac_cv_type_uid_t = no; then
36613
36614 cat >>confdefs.h <<\_ACEOF
36615 #define uid_t int
36616 _ACEOF
36617
36618
36619 cat >>confdefs.h <<\_ACEOF
36620 #define gid_t int
36621 _ACEOF
36622
36623 fi
36624
36625
36626 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36627 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36628 if test "${ac_cv_type_ssize_t+set}" = set; then
36629 echo $ECHO_N "(cached) $ECHO_C" >&6
36630 else
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h. */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h. */
36637 $ac_includes_default
36638 typedef ssize_t ac__type_new_;
36639 int
36640 main ()
36641 {
36642 if ((ac__type_new_ *) 0)
36643 return 0;
36644 if (sizeof (ac__type_new_))
36645 return 0;
36646 ;
36647 return 0;
36648 }
36649 _ACEOF
36650 rm -f conftest.$ac_objext
36651 if { (ac_try="$ac_compile"
36652 case "(($ac_try" in
36653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36654 *) ac_try_echo=$ac_try;;
36655 esac
36656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36657 (eval "$ac_compile") 2>conftest.er1
36658 ac_status=$?
36659 grep -v '^ *+' conftest.er1 >conftest.err
36660 rm -f conftest.er1
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } && {
36664 test -z "$ac_c_werror_flag" ||
36665 test ! -s conftest.err
36666 } && test -s conftest.$ac_objext; then
36667 ac_cv_type_ssize_t=yes
36668 else
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36671
36672 ac_cv_type_ssize_t=no
36673 fi
36674
36675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36676 fi
36677 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36678 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36679 if test $ac_cv_type_ssize_t = yes; then
36680
36681 cat >>confdefs.h <<_ACEOF
36682 #define HAVE_SSIZE_T 1
36683 _ACEOF
36684
36685
36686 fi
36687
36688
36689 ac_ext=cpp
36690 ac_cpp='$CXXCPP $CPPFLAGS'
36691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36694 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36695 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36696 if test "${wx_cv_size_t_is_uint+set}" = set; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699
36700 cat >conftest.$ac_ext <<_ACEOF
36701 /* confdefs.h. */
36702 _ACEOF
36703 cat confdefs.h >>conftest.$ac_ext
36704 cat >>conftest.$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706 #include <stddef.h>
36707 int
36708 main ()
36709 {
36710
36711 return 0; }
36712
36713 struct Foo { void foo(size_t); void foo(unsigned int); };
36714
36715 int bar() {
36716
36717 ;
36718 return 0;
36719 }
36720 _ACEOF
36721 rm -f conftest.$ac_objext
36722 if { (ac_try="$ac_compile"
36723 case "(($ac_try" in
36724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36725 *) ac_try_echo=$ac_try;;
36726 esac
36727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36728 (eval "$ac_compile") 2>conftest.er1
36729 ac_status=$?
36730 grep -v '^ *+' conftest.er1 >conftest.err
36731 rm -f conftest.er1
36732 cat conftest.err >&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } && {
36735 test -z "$ac_cxx_werror_flag" ||
36736 test ! -s conftest.err
36737 } && test -s conftest.$ac_objext; then
36738 wx_cv_size_t_is_uint=no
36739 else
36740 echo "$as_me: failed program was:" >&5
36741 sed 's/^/| /' conftest.$ac_ext >&5
36742
36743 wx_cv_size_t_is_uint=yes
36744
36745 fi
36746
36747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36748
36749
36750 fi
36751 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36752 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36753
36754 if test "$wx_cv_size_t_is_uint" = "yes"; then
36755 cat >>confdefs.h <<\_ACEOF
36756 #define wxSIZE_T_IS_UINT 1
36757 _ACEOF
36758
36759 else
36760 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36761 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36762 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36763 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 else
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771 #include <stddef.h>
36772 int
36773 main ()
36774 {
36775
36776 return 0; }
36777
36778 struct Foo { void foo(size_t); void foo(unsigned long); };
36779
36780 int bar() {
36781
36782 ;
36783 return 0;
36784 }
36785 _ACEOF
36786 rm -f conftest.$ac_objext
36787 if { (ac_try="$ac_compile"
36788 case "(($ac_try" in
36789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36790 *) ac_try_echo=$ac_try;;
36791 esac
36792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36793 (eval "$ac_compile") 2>conftest.er1
36794 ac_status=$?
36795 grep -v '^ *+' conftest.er1 >conftest.err
36796 rm -f conftest.er1
36797 cat conftest.err >&5
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); } && {
36800 test -z "$ac_cxx_werror_flag" ||
36801 test ! -s conftest.err
36802 } && test -s conftest.$ac_objext; then
36803 wx_cv_size_t_is_ulong=no
36804 else
36805 echo "$as_me: failed program was:" >&5
36806 sed 's/^/| /' conftest.$ac_ext >&5
36807
36808 wx_cv_size_t_is_ulong=yes
36809
36810 fi
36811
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813
36814 fi
36815 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36816 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36817
36818 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36819 cat >>confdefs.h <<\_ACEOF
36820 #define wxSIZE_T_IS_ULONG 1
36821 _ACEOF
36822
36823 fi
36824 fi
36825
36826 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36827 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36828 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36829 echo $ECHO_N "(cached) $ECHO_C" >&6
36830 else
36831 cat >conftest.$ac_ext <<_ACEOF
36832 /* confdefs.h. */
36833 _ACEOF
36834 cat confdefs.h >>conftest.$ac_ext
36835 cat >>conftest.$ac_ext <<_ACEOF
36836 /* end confdefs.h. */
36837 #include <wchar.h>
36838 int
36839 main ()
36840 {
36841
36842 return 0; }
36843
36844 struct Foo { void foo(wchar_t);
36845 void foo(unsigned short);
36846 void foo(unsigned int);
36847 void foo(unsigned long); };
36848
36849 int bar() {
36850
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 rm -f conftest.$ac_objext
36856 if { (ac_try="$ac_compile"
36857 case "(($ac_try" in
36858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36859 *) ac_try_echo=$ac_try;;
36860 esac
36861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36862 (eval "$ac_compile") 2>conftest.er1
36863 ac_status=$?
36864 grep -v '^ *+' conftest.er1 >conftest.err
36865 rm -f conftest.er1
36866 cat conftest.err >&5
36867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36868 (exit $ac_status); } && {
36869 test -z "$ac_cxx_werror_flag" ||
36870 test ! -s conftest.err
36871 } && test -s conftest.$ac_objext; then
36872 wx_cv_wchar_t_is_separate_type=yes
36873 else
36874 echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36876
36877 wx_cv_wchar_t_is_separate_type=no
36878
36879 fi
36880
36881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36882
36883 fi
36884 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36885 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36886
36887 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define wxWCHAR_T_IS_REAL_TYPE 1
36890 _ACEOF
36891
36892 else
36893 cat >>confdefs.h <<\_ACEOF
36894 #define wxWCHAR_T_IS_REAL_TYPE 0
36895 _ACEOF
36896
36897 fi
36898
36899 ac_ext=c
36900 ac_cpp='$CPP $CPPFLAGS'
36901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36904
36905
36906 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36907 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36908 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 else
36911
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918 #include <pwd.h>
36919 int
36920 main ()
36921 {
36922
36923 char *p;
36924 struct passwd *pw;
36925 p = pw->pw_gecos;
36926
36927 ;
36928 return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext
36932 if { (ac_try="$ac_compile"
36933 case "(($ac_try" in
36934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36935 *) ac_try_echo=$ac_try;;
36936 esac
36937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36938 (eval "$ac_compile") 2>conftest.er1
36939 ac_status=$?
36940 grep -v '^ *+' conftest.er1 >conftest.err
36941 rm -f conftest.er1
36942 cat conftest.err >&5
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); } && {
36945 test -z "$ac_c_werror_flag" ||
36946 test ! -s conftest.err
36947 } && test -s conftest.$ac_objext; then
36948
36949 wx_cv_struct_pw_gecos=yes
36950
36951 else
36952 echo "$as_me: failed program was:" >&5
36953 sed 's/^/| /' conftest.$ac_ext >&5
36954
36955
36956 wx_cv_struct_pw_gecos=no
36957
36958
36959 fi
36960
36961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36962
36963
36964 fi
36965 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36966 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36967
36968 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36969 cat >>confdefs.h <<\_ACEOF
36970 #define HAVE_PW_GECOS 1
36971 _ACEOF
36972
36973 fi
36974
36975
36976 if test "$wxUSE_WCHAR_T" = "yes"; then
36977 cat >>confdefs.h <<\_ACEOF
36978 #define wxUSE_WCHAR_T 1
36979 _ACEOF
36980
36981
36982 WCSLEN_FOUND=0
36983 WCHAR_LINK=
36984
36985 for ac_func in wcslen
36986 do
36987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36988 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36991 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 else
36993 cat >conftest.$ac_ext <<_ACEOF
36994 /* confdefs.h. */
36995 _ACEOF
36996 cat confdefs.h >>conftest.$ac_ext
36997 cat >>conftest.$ac_ext <<_ACEOF
36998 /* end confdefs.h. */
36999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37001 #define $ac_func innocuous_$ac_func
37002
37003 /* System header to define __stub macros and hopefully few prototypes,
37004 which can conflict with char $ac_func (); below.
37005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37006 <limits.h> exists even on freestanding compilers. */
37007
37008 #ifdef __STDC__
37009 # include <limits.h>
37010 #else
37011 # include <assert.h>
37012 #endif
37013
37014 #undef $ac_func
37015
37016 /* Override any GCC internal prototype to avoid an error.
37017 Use char because int might match the return type of a GCC
37018 builtin and then its argument prototype would still apply. */
37019 #ifdef __cplusplus
37020 extern "C"
37021 #endif
37022 char $ac_func ();
37023 /* The GNU C library defines this for functions which it implements
37024 to always fail with ENOSYS. Some functions are actually named
37025 something starting with __ and the normal name is an alias. */
37026 #if defined __stub_$ac_func || defined __stub___$ac_func
37027 choke me
37028 #endif
37029
37030 int
37031 main ()
37032 {
37033 return $ac_func ();
37034 ;
37035 return 0;
37036 }
37037 _ACEOF
37038 rm -f conftest.$ac_objext conftest$ac_exeext
37039 if { (ac_try="$ac_link"
37040 case "(($ac_try" in
37041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37042 *) ac_try_echo=$ac_try;;
37043 esac
37044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37045 (eval "$ac_link") 2>conftest.er1
37046 ac_status=$?
37047 grep -v '^ *+' conftest.er1 >conftest.err
37048 rm -f conftest.er1
37049 cat conftest.err >&5
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); } && {
37052 test -z "$ac_c_werror_flag" ||
37053 test ! -s conftest.err
37054 } && test -s conftest$ac_exeext &&
37055 $as_test_x conftest$ac_exeext; then
37056 eval "$as_ac_var=yes"
37057 else
37058 echo "$as_me: failed program was:" >&5
37059 sed 's/^/| /' conftest.$ac_ext >&5
37060
37061 eval "$as_ac_var=no"
37062 fi
37063
37064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37065 conftest$ac_exeext conftest.$ac_ext
37066 fi
37067 ac_res=`eval echo '${'$as_ac_var'}'`
37068 { echo "$as_me:$LINENO: result: $ac_res" >&5
37069 echo "${ECHO_T}$ac_res" >&6; }
37070 if test `eval echo '${'$as_ac_var'}'` = yes; then
37071 cat >>confdefs.h <<_ACEOF
37072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37073 _ACEOF
37074 WCSLEN_FOUND=1
37075 fi
37076 done
37077
37078
37079 if test "$WCSLEN_FOUND" = 0; then
37080 if test "$TOOLKIT" = "MSW"; then
37081 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37082 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37083 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37084 echo $ECHO_N "(cached) $ECHO_C" >&6
37085 else
37086 ac_check_lib_save_LIBS=$LIBS
37087 LIBS="-lmsvcrt $LIBS"
37088 cat >conftest.$ac_ext <<_ACEOF
37089 /* confdefs.h. */
37090 _ACEOF
37091 cat confdefs.h >>conftest.$ac_ext
37092 cat >>conftest.$ac_ext <<_ACEOF
37093 /* end confdefs.h. */
37094
37095 /* Override any GCC internal prototype to avoid an error.
37096 Use char because int might match the return type of a GCC
37097 builtin and then its argument prototype would still apply. */
37098 #ifdef __cplusplus
37099 extern "C"
37100 #endif
37101 char wcslen ();
37102 int
37103 main ()
37104 {
37105 return wcslen ();
37106 ;
37107 return 0;
37108 }
37109 _ACEOF
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (ac_try="$ac_link"
37112 case "(($ac_try" in
37113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37114 *) ac_try_echo=$ac_try;;
37115 esac
37116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_link") 2>conftest.er1
37118 ac_status=$?
37119 grep -v '^ *+' conftest.er1 >conftest.err
37120 rm -f conftest.er1
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_c_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest$ac_exeext &&
37127 $as_test_x conftest$ac_exeext; then
37128 ac_cv_lib_msvcrt_wcslen=yes
37129 else
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37132
37133 ac_cv_lib_msvcrt_wcslen=no
37134 fi
37135
37136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37137 conftest$ac_exeext conftest.$ac_ext
37138 LIBS=$ac_check_lib_save_LIBS
37139 fi
37140 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37141 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37142 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37143 WCHAR_OK=1
37144 fi
37145
37146 else
37147 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37148 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37149 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37151 else
37152 ac_check_lib_save_LIBS=$LIBS
37153 LIBS="-lw $LIBS"
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160
37161 /* Override any GCC internal prototype to avoid an error.
37162 Use char because int might match the return type of a GCC
37163 builtin and then its argument prototype would still apply. */
37164 #ifdef __cplusplus
37165 extern "C"
37166 #endif
37167 char wcslen ();
37168 int
37169 main ()
37170 {
37171 return wcslen ();
37172 ;
37173 return 0;
37174 }
37175 _ACEOF
37176 rm -f conftest.$ac_objext conftest$ac_exeext
37177 if { (ac_try="$ac_link"
37178 case "(($ac_try" in
37179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37180 *) ac_try_echo=$ac_try;;
37181 esac
37182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37183 (eval "$ac_link") 2>conftest.er1
37184 ac_status=$?
37185 grep -v '^ *+' conftest.er1 >conftest.err
37186 rm -f conftest.er1
37187 cat conftest.err >&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); } && {
37190 test -z "$ac_c_werror_flag" ||
37191 test ! -s conftest.err
37192 } && test -s conftest$ac_exeext &&
37193 $as_test_x conftest$ac_exeext; then
37194 ac_cv_lib_w_wcslen=yes
37195 else
37196 echo "$as_me: failed program was:" >&5
37197 sed 's/^/| /' conftest.$ac_ext >&5
37198
37199 ac_cv_lib_w_wcslen=no
37200 fi
37201
37202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37203 conftest$ac_exeext conftest.$ac_ext
37204 LIBS=$ac_check_lib_save_LIBS
37205 fi
37206 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37207 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37208 if test $ac_cv_lib_w_wcslen = yes; then
37209
37210 WCHAR_LINK=" -lw"
37211 WCSLEN_FOUND=1
37212
37213 fi
37214
37215 fi
37216 fi
37217
37218 if test "$WCSLEN_FOUND" = 1; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define HAVE_WCSLEN 1
37221 _ACEOF
37222
37223 fi
37224
37225
37226 for ac_func in wcsdup
37227 do
37228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37231 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37232 echo $ECHO_N "(cached) $ECHO_C" >&6
37233 else
37234 cat >conftest.$ac_ext <<_ACEOF
37235 /* confdefs.h. */
37236 _ACEOF
37237 cat confdefs.h >>conftest.$ac_ext
37238 cat >>conftest.$ac_ext <<_ACEOF
37239 /* end confdefs.h. */
37240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37242 #define $ac_func innocuous_$ac_func
37243
37244 /* System header to define __stub macros and hopefully few prototypes,
37245 which can conflict with char $ac_func (); below.
37246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37247 <limits.h> exists even on freestanding compilers. */
37248
37249 #ifdef __STDC__
37250 # include <limits.h>
37251 #else
37252 # include <assert.h>
37253 #endif
37254
37255 #undef $ac_func
37256
37257 /* Override any GCC internal prototype to avoid an error.
37258 Use char because int might match the return type of a GCC
37259 builtin and then its argument prototype would still apply. */
37260 #ifdef __cplusplus
37261 extern "C"
37262 #endif
37263 char $ac_func ();
37264 /* The GNU C library defines this for functions which it implements
37265 to always fail with ENOSYS. Some functions are actually named
37266 something starting with __ and the normal name is an alias. */
37267 #if defined __stub_$ac_func || defined __stub___$ac_func
37268 choke me
37269 #endif
37270
37271 int
37272 main ()
37273 {
37274 return $ac_func ();
37275 ;
37276 return 0;
37277 }
37278 _ACEOF
37279 rm -f conftest.$ac_objext conftest$ac_exeext
37280 if { (ac_try="$ac_link"
37281 case "(($ac_try" in
37282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37283 *) ac_try_echo=$ac_try;;
37284 esac
37285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37286 (eval "$ac_link") 2>conftest.er1
37287 ac_status=$?
37288 grep -v '^ *+' conftest.er1 >conftest.err
37289 rm -f conftest.er1
37290 cat conftest.err >&5
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); } && {
37293 test -z "$ac_c_werror_flag" ||
37294 test ! -s conftest.err
37295 } && test -s conftest$ac_exeext &&
37296 $as_test_x conftest$ac_exeext; then
37297 eval "$as_ac_var=yes"
37298 else
37299 echo "$as_me: failed program was:" >&5
37300 sed 's/^/| /' conftest.$ac_ext >&5
37301
37302 eval "$as_ac_var=no"
37303 fi
37304
37305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37306 conftest$ac_exeext conftest.$ac_ext
37307 fi
37308 ac_res=`eval echo '${'$as_ac_var'}'`
37309 { echo "$as_me:$LINENO: result: $ac_res" >&5
37310 echo "${ECHO_T}$ac_res" >&6; }
37311 if test `eval echo '${'$as_ac_var'}'` = yes; then
37312 cat >>confdefs.h <<_ACEOF
37313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37314 _ACEOF
37315
37316 fi
37317 done
37318
37319
37320 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37321 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37322 fi
37323
37324 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37325 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37326 if test "${ac_cv_type_mbstate_t+set}" = set; then
37327 echo $ECHO_N "(cached) $ECHO_C" >&6
37328 else
37329 cat >conftest.$ac_ext <<_ACEOF
37330 /* confdefs.h. */
37331 _ACEOF
37332 cat confdefs.h >>conftest.$ac_ext
37333 cat >>conftest.$ac_ext <<_ACEOF
37334 /* end confdefs.h. */
37335 #include <wchar.h>
37336
37337 typedef mbstate_t ac__type_new_;
37338 int
37339 main ()
37340 {
37341 if ((ac__type_new_ *) 0)
37342 return 0;
37343 if (sizeof (ac__type_new_))
37344 return 0;
37345 ;
37346 return 0;
37347 }
37348 _ACEOF
37349 rm -f conftest.$ac_objext
37350 if { (ac_try="$ac_compile"
37351 case "(($ac_try" in
37352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37353 *) ac_try_echo=$ac_try;;
37354 esac
37355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37356 (eval "$ac_compile") 2>conftest.er1
37357 ac_status=$?
37358 grep -v '^ *+' conftest.er1 >conftest.err
37359 rm -f conftest.er1
37360 cat conftest.err >&5
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); } && {
37363 test -z "$ac_c_werror_flag" ||
37364 test ! -s conftest.err
37365 } && test -s conftest.$ac_objext; then
37366 ac_cv_type_mbstate_t=yes
37367 else
37368 echo "$as_me: failed program was:" >&5
37369 sed 's/^/| /' conftest.$ac_ext >&5
37370
37371 ac_cv_type_mbstate_t=no
37372 fi
37373
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 fi
37376 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37377 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37378 if test $ac_cv_type_mbstate_t = yes; then
37379
37380 cat >>confdefs.h <<_ACEOF
37381 #define HAVE_MBSTATE_T 1
37382 _ACEOF
37383
37384
37385 for ac_func in wcsrtombs
37386 do
37387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393 cat >conftest.$ac_ext <<_ACEOF
37394 /* confdefs.h. */
37395 _ACEOF
37396 cat confdefs.h >>conftest.$ac_ext
37397 cat >>conftest.$ac_ext <<_ACEOF
37398 /* end confdefs.h. */
37399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37401 #define $ac_func innocuous_$ac_func
37402
37403 /* System header to define __stub macros and hopefully few prototypes,
37404 which can conflict with char $ac_func (); below.
37405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37406 <limits.h> exists even on freestanding compilers. */
37407
37408 #ifdef __STDC__
37409 # include <limits.h>
37410 #else
37411 # include <assert.h>
37412 #endif
37413
37414 #undef $ac_func
37415
37416 /* Override any GCC internal prototype to avoid an error.
37417 Use char because int might match the return type of a GCC
37418 builtin and then its argument prototype would still apply. */
37419 #ifdef __cplusplus
37420 extern "C"
37421 #endif
37422 char $ac_func ();
37423 /* The GNU C library defines this for functions which it implements
37424 to always fail with ENOSYS. Some functions are actually named
37425 something starting with __ and the normal name is an alias. */
37426 #if defined __stub_$ac_func || defined __stub___$ac_func
37427 choke me
37428 #endif
37429
37430 int
37431 main ()
37432 {
37433 return $ac_func ();
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 rm -f conftest.$ac_objext conftest$ac_exeext
37439 if { (ac_try="$ac_link"
37440 case "(($ac_try" in
37441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37442 *) ac_try_echo=$ac_try;;
37443 esac
37444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37445 (eval "$ac_link") 2>conftest.er1
37446 ac_status=$?
37447 grep -v '^ *+' conftest.er1 >conftest.err
37448 rm -f conftest.er1
37449 cat conftest.err >&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); } && {
37452 test -z "$ac_c_werror_flag" ||
37453 test ! -s conftest.err
37454 } && test -s conftest$ac_exeext &&
37455 $as_test_x conftest$ac_exeext; then
37456 eval "$as_ac_var=yes"
37457 else
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37460
37461 eval "$as_ac_var=no"
37462 fi
37463
37464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37465 conftest$ac_exeext conftest.$ac_ext
37466 fi
37467 ac_res=`eval echo '${'$as_ac_var'}'`
37468 { echo "$as_me:$LINENO: result: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h <<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37473 _ACEOF
37474
37475 fi
37476 done
37477
37478 fi
37479
37480 else
37481 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37482 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37483 fi
37484
37485
37486
37487 for ac_func in snprintf vsnprintf
37488 do
37489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37490 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37492 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37493 echo $ECHO_N "(cached) $ECHO_C" >&6
37494 else
37495 cat >conftest.$ac_ext <<_ACEOF
37496 /* confdefs.h. */
37497 _ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37503 #define $ac_func innocuous_$ac_func
37504
37505 /* System header to define __stub macros and hopefully few prototypes,
37506 which can conflict with char $ac_func (); below.
37507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37508 <limits.h> exists even on freestanding compilers. */
37509
37510 #ifdef __STDC__
37511 # include <limits.h>
37512 #else
37513 # include <assert.h>
37514 #endif
37515
37516 #undef $ac_func
37517
37518 /* Override any GCC internal prototype to avoid an error.
37519 Use char because int might match the return type of a GCC
37520 builtin and then its argument prototype would still apply. */
37521 #ifdef __cplusplus
37522 extern "C"
37523 #endif
37524 char $ac_func ();
37525 /* The GNU C library defines this for functions which it implements
37526 to always fail with ENOSYS. Some functions are actually named
37527 something starting with __ and the normal name is an alias. */
37528 #if defined __stub_$ac_func || defined __stub___$ac_func
37529 choke me
37530 #endif
37531
37532 int
37533 main ()
37534 {
37535 return $ac_func ();
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 rm -f conftest.$ac_objext conftest$ac_exeext
37541 if { (ac_try="$ac_link"
37542 case "(($ac_try" in
37543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37544 *) ac_try_echo=$ac_try;;
37545 esac
37546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37547 (eval "$ac_link") 2>conftest.er1
37548 ac_status=$?
37549 grep -v '^ *+' conftest.er1 >conftest.err
37550 rm -f conftest.er1
37551 cat conftest.err >&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } && {
37554 test -z "$ac_c_werror_flag" ||
37555 test ! -s conftest.err
37556 } && test -s conftest$ac_exeext &&
37557 $as_test_x conftest$ac_exeext; then
37558 eval "$as_ac_var=yes"
37559 else
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.$ac_ext >&5
37562
37563 eval "$as_ac_var=no"
37564 fi
37565
37566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37567 conftest$ac_exeext conftest.$ac_ext
37568 fi
37569 ac_res=`eval echo '${'$as_ac_var'}'`
37570 { echo "$as_me:$LINENO: result: $ac_res" >&5
37571 echo "${ECHO_T}$ac_res" >&6; }
37572 if test `eval echo '${'$as_ac_var'}'` = yes; then
37573 cat >>confdefs.h <<_ACEOF
37574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37575 _ACEOF
37576
37577 fi
37578 done
37579
37580
37581 if test "$ac_cv_func_vsnprintf" = "yes"; then
37582 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37583 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37584 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588 cat >conftest.$ac_ext <<_ACEOF
37589 /* confdefs.h. */
37590 _ACEOF
37591 cat confdefs.h >>conftest.$ac_ext
37592 cat >>conftest.$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37594
37595 #include <stdio.h>
37596 #include <stdarg.h>
37597 #ifdef __MSL__
37598 #if __MSL__ >= 0x6000
37599 namespace std {}
37600 using namespace std;
37601 #endif
37602 #endif
37603
37604 int
37605 main ()
37606 {
37607
37608 char *buf;
37609 va_list ap;
37610 vsnprintf(buf, 10u, "%s", ap);
37611
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (ac_try="$ac_compile"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37621 esac
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_compile") 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_c_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest.$ac_objext; then
37633 wx_cv_func_vsnprintf_decl=yes
37634 else
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37637
37638 wx_cv_func_vsnprintf_decl=no
37639
37640 fi
37641
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643
37644
37645 fi
37646 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37647 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37648
37649 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37650 cat >>confdefs.h <<\_ACEOF
37651 #define HAVE_VSNPRINTF_DECL 1
37652 _ACEOF
37653
37654
37655 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37656 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37657 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37658 echo $ECHO_N "(cached) $ECHO_C" >&6
37659 else
37660
37661 cat >conftest.$ac_ext <<_ACEOF
37662 /* confdefs.h. */
37663 _ACEOF
37664 cat confdefs.h >>conftest.$ac_ext
37665 cat >>conftest.$ac_ext <<_ACEOF
37666 /* end confdefs.h. */
37667
37668 #include <stdio.h>
37669 #include <stdarg.h>
37670 #ifdef __MSL__
37671 #if __MSL__ >= 0x6000
37672 namespace std {}
37673 using namespace std;
37674 #endif
37675 #endif
37676
37677 int
37678 main ()
37679 {
37680
37681 char *buf;
37682 va_list ap;
37683 const char *fmt = "%s";
37684 vsnprintf(buf, 10u, fmt, ap);
37685
37686 ;
37687 return 0;
37688 }
37689 _ACEOF
37690 rm -f conftest.$ac_objext
37691 if { (ac_try="$ac_compile"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694 *) ac_try_echo=$ac_try;;
37695 esac
37696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37697 (eval "$ac_compile") 2>conftest.er1
37698 ac_status=$?
37699 grep -v '^ *+' conftest.er1 >conftest.err
37700 rm -f conftest.er1
37701 cat conftest.err >&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); } && {
37704 test -z "$ac_c_werror_flag" ||
37705 test ! -s conftest.err
37706 } && test -s conftest.$ac_objext; then
37707 wx_cv_func_broken_vsnprintf_decl=no
37708 else
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37711
37712 wx_cv_func_broken_vsnprintf_decl=yes
37713
37714 fi
37715
37716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37717
37718
37719 fi
37720 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37721 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37722
37723 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37724 cat >>confdefs.h <<\_ACEOF
37725 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37726 _ACEOF
37727
37728 fi
37729 fi
37730 fi
37731
37732 if test "$ac_cv_func_snprintf" = "yes"; then
37733 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37734 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37735 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37736 echo $ECHO_N "(cached) $ECHO_C" >&6
37737 else
37738
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745
37746 #include <stdio.h>
37747 #include <stdarg.h>
37748 #ifdef __MSL__
37749 #if __MSL__ >= 0x6000
37750 namespace std {}
37751 using namespace std;
37752 #endif
37753 #endif
37754
37755 int
37756 main ()
37757 {
37758
37759 char *buf;
37760 snprintf(buf, 10u, "%s", "wx");
37761
37762 ;
37763 return 0;
37764 }
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (ac_try="$ac_compile"
37768 case "(($ac_try" in
37769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37770 *) ac_try_echo=$ac_try;;
37771 esac
37772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37773 (eval "$ac_compile") 2>conftest.er1
37774 ac_status=$?
37775 grep -v '^ *+' conftest.er1 >conftest.err
37776 rm -f conftest.er1
37777 cat conftest.err >&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); } && {
37780 test -z "$ac_c_werror_flag" ||
37781 test ! -s conftest.err
37782 } && test -s conftest.$ac_objext; then
37783 wx_cv_func_snprintf_decl=yes
37784 else
37785 echo "$as_me: failed program was:" >&5
37786 sed 's/^/| /' conftest.$ac_ext >&5
37787
37788 wx_cv_func_snprintf_decl=no
37789
37790 fi
37791
37792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37793
37794
37795 fi
37796 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37797 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37798
37799 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37800 cat >>confdefs.h <<\_ACEOF
37801 #define HAVE_SNPRINTF_DECL 1
37802 _ACEOF
37803
37804
37805 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37806 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37807 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37809 else
37810
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817
37818 #include <stdio.h>
37819 #include <stdarg.h>
37820 #ifdef __MSL__
37821 #if __MSL__ >= 0x6000
37822 namespace std {}
37823 using namespace std;
37824 #endif
37825 #endif
37826
37827 int
37828 main ()
37829 {
37830
37831 char *buf;
37832 const char *fmt = "%s";
37833 snprintf(buf, 10u, fmt, "wx");
37834
37835 ;
37836 return 0;
37837 }
37838 _ACEOF
37839 rm -f conftest.$ac_objext
37840 if { (ac_try="$ac_compile"
37841 case "(($ac_try" in
37842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37843 *) ac_try_echo=$ac_try;;
37844 esac
37845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37846 (eval "$ac_compile") 2>conftest.er1
37847 ac_status=$?
37848 grep -v '^ *+' conftest.er1 >conftest.err
37849 rm -f conftest.er1
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } && {
37853 test -z "$ac_c_werror_flag" ||
37854 test ! -s conftest.err
37855 } && test -s conftest.$ac_objext; then
37856 wx_cv_func_broken_snprintf_decl=no
37857 else
37858 echo "$as_me: failed program was:" >&5
37859 sed 's/^/| /' conftest.$ac_ext >&5
37860
37861 wx_cv_func_broken_snprintf_decl=yes
37862
37863 fi
37864
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866
37867
37868 fi
37869 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37870 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37871
37872 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE_BROKEN_SNPRINTF_DECL 1
37875 _ACEOF
37876
37877 fi
37878 fi
37879
37880 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37881
37882 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37883 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37884 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 else
37887
37888 if test "$cross_compiling" = yes; then
37889
37890 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37891 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37892 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37893 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37894 wx_cv_func_snprintf_pos_params=no
37895
37896
37897 else
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904
37905 #include <stdio.h>
37906
37907 int main (void)
37908 {
37909 char buffer[128];
37910 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37911 if (strcmp ("2 3 1", buffer) == 0)
37912 exit (0);
37913 exit (1);
37914 }
37915
37916 _ACEOF
37917 rm -f conftest$ac_exeext
37918 if { (ac_try="$ac_link"
37919 case "(($ac_try" in
37920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37921 *) ac_try_echo=$ac_try;;
37922 esac
37923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37924 (eval "$ac_link") 2>&5
37925 ac_status=$?
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37928 { (case "(($ac_try" in
37929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37930 *) ac_try_echo=$ac_try;;
37931 esac
37932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37933 (eval "$ac_try") 2>&5
37934 ac_status=$?
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 wx_cv_func_snprintf_pos_params=no
37938 else
37939 echo "$as_me: program exited with status $ac_status" >&5
37940 echo "$as_me: failed program was:" >&5
37941 sed 's/^/| /' conftest.$ac_ext >&5
37942
37943 ( exit $ac_status )
37944 wx_cv_func_snprintf_pos_params=yes
37945 fi
37946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37947 fi
37948
37949
37950
37951
37952 fi
37953 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37954 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37955
37956 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37957 cat >>confdefs.h <<\_ACEOF
37958 #define HAVE_UNIX98_PRINTF 1
37959 _ACEOF
37960
37961 fi
37962 fi
37963 fi
37964
37965 if test "$wxUSE_UNICODE" = yes; then
37966
37967
37968 for ac_func in swprintf
37969 do
37970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37971 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37973 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37984 #define $ac_func innocuous_$ac_func
37985
37986 /* System header to define __stub macros and hopefully few prototypes,
37987 which can conflict with char $ac_func (); below.
37988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989 <limits.h> exists even on freestanding compilers. */
37990
37991 #ifdef __STDC__
37992 # include <limits.h>
37993 #else
37994 # include <assert.h>
37995 #endif
37996
37997 #undef $ac_func
37998
37999 /* Override any GCC internal prototype to avoid an error.
38000 Use char because int might match the return type of a GCC
38001 builtin and then its argument prototype would still apply. */
38002 #ifdef __cplusplus
38003 extern "C"
38004 #endif
38005 char $ac_func ();
38006 /* The GNU C library defines this for functions which it implements
38007 to always fail with ENOSYS. Some functions are actually named
38008 something starting with __ and the normal name is an alias. */
38009 #if defined __stub_$ac_func || defined __stub___$ac_func
38010 choke me
38011 #endif
38012
38013 int
38014 main ()
38015 {
38016 return $ac_func ();
38017 ;
38018 return 0;
38019 }
38020 _ACEOF
38021 rm -f conftest.$ac_objext conftest$ac_exeext
38022 if { (ac_try="$ac_link"
38023 case "(($ac_try" in
38024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38025 *) ac_try_echo=$ac_try;;
38026 esac
38027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38028 (eval "$ac_link") 2>conftest.er1
38029 ac_status=$?
38030 grep -v '^ *+' conftest.er1 >conftest.err
38031 rm -f conftest.er1
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } && {
38035 test -z "$ac_c_werror_flag" ||
38036 test ! -s conftest.err
38037 } && test -s conftest$ac_exeext &&
38038 $as_test_x conftest$ac_exeext; then
38039 eval "$as_ac_var=yes"
38040 else
38041 echo "$as_me: failed program was:" >&5
38042 sed 's/^/| /' conftest.$ac_ext >&5
38043
38044 eval "$as_ac_var=no"
38045 fi
38046
38047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38048 conftest$ac_exeext conftest.$ac_ext
38049 fi
38050 ac_res=`eval echo '${'$as_ac_var'}'`
38051 { echo "$as_me:$LINENO: result: $ac_res" >&5
38052 echo "${ECHO_T}$ac_res" >&6; }
38053 if test `eval echo '${'$as_ac_var'}'` = yes; then
38054 cat >>confdefs.h <<_ACEOF
38055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38056 _ACEOF
38057
38058 fi
38059 done
38060
38061
38062 if test "$ac_cv_func_swprintf" = "yes"; then
38063 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38064 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38065 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38066 echo $ECHO_N "(cached) $ECHO_C" >&6
38067 else
38068
38069 cat >conftest.$ac_ext <<_ACEOF
38070 /* confdefs.h. */
38071 _ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38075
38076 #include <stdio.h>
38077 #include <stdarg.h>
38078 #include <wchar.h>
38079
38080 int
38081 main ()
38082 {
38083
38084 wchar_t *buf;
38085 const wchar_t *fmt = L"test";
38086 swprintf(buf, 10u, fmt);
38087
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 rm -f conftest.$ac_objext
38093 if { (ac_try="$ac_compile"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_compile") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest.$ac_objext; then
38109 wx_cv_func_broken_swprintf_decl=no
38110 else
38111 echo "$as_me: failed program was:" >&5
38112 sed 's/^/| /' conftest.$ac_ext >&5
38113
38114 wx_cv_func_broken_swprintf_decl=yes
38115
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38119
38120
38121 fi
38122 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38123 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38124
38125 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38126 cat >>confdefs.h <<\_ACEOF
38127 #define HAVE_BROKEN_SWPRINTF_DECL 1
38128 _ACEOF
38129
38130 fi
38131 fi
38132
38133 wchar_headers="#include <stdio.h>
38134 #include <wchar.h>"
38135 case "${host}" in
38136 *-*-solaris2* )
38137 { echo "$as_me:$LINENO: checking for widec.h" >&5
38138 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
38139 if test "${ac_cv_header_widec_h+set}" = set; then
38140 echo $ECHO_N "(cached) $ECHO_C" >&6
38141 else
38142 cat >conftest.$ac_ext <<_ACEOF
38143 /* confdefs.h. */
38144 _ACEOF
38145 cat confdefs.h >>conftest.$ac_ext
38146 cat >>conftest.$ac_ext <<_ACEOF
38147 /* end confdefs.h. */
38148 $ac_includes_default
38149
38150 #include <widec.h>
38151 _ACEOF
38152 rm -f conftest.$ac_objext
38153 if { (ac_try="$ac_compile"
38154 case "(($ac_try" in
38155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38156 *) ac_try_echo=$ac_try;;
38157 esac
38158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38159 (eval "$ac_compile") 2>conftest.er1
38160 ac_status=$?
38161 grep -v '^ *+' conftest.er1 >conftest.err
38162 rm -f conftest.er1
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } && {
38166 test -z "$ac_c_werror_flag" ||
38167 test ! -s conftest.err
38168 } && test -s conftest.$ac_objext; then
38169 ac_cv_header_widec_h=yes
38170 else
38171 echo "$as_me: failed program was:" >&5
38172 sed 's/^/| /' conftest.$ac_ext >&5
38173
38174 ac_cv_header_widec_h=no
38175 fi
38176
38177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38178 fi
38179 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
38180 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
38181
38182
38183 if test "$ac_cv_header_widec_h" = "yes"; then
38184 wchar_headers="$wchar_headers
38185 #include <widec.h>"
38186 fi
38187 esac
38188
38189
38190 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38191 do
38192 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38193 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38194 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 else
38197
38198 cat >conftest.$ac_ext <<_ACEOF
38199
38200 /* confdefs.h. */
38201 _ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38205
38206 $wchar_headers
38207 $ac_includes_default
38208
38209 int
38210 main ()
38211 {
38212
38213 #ifndef $wx_func
38214 &$wx_func;
38215 #endif
38216
38217
38218 ;
38219 return 0;
38220 }
38221
38222 _ACEOF
38223 rm -f conftest.$ac_objext conftest$ac_exeext
38224 if { (ac_try="$ac_link"
38225 case "(($ac_try" in
38226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38227 *) ac_try_echo=$ac_try;;
38228 esac
38229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38230 (eval "$ac_link") 2>conftest.er1
38231 ac_status=$?
38232 grep -v '^ *+' conftest.er1 >conftest.err
38233 rm -f conftest.er1
38234 cat conftest.err >&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && {
38237 test -z "$ac_c_werror_flag" ||
38238 test ! -s conftest.err
38239 } && test -s conftest$ac_exeext &&
38240 $as_test_x conftest$ac_exeext; then
38241 eval wx_cv_func_$wx_func=yes
38242 else
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38245
38246 eval wx_cv_func_$wx_func=no
38247 fi
38248
38249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38250 conftest$ac_exeext conftest.$ac_ext
38251
38252 fi
38253 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38254 { echo "$as_me:$LINENO: result: $ac_res" >&5
38255 echo "${ECHO_T}$ac_res" >&6; }
38256
38257 if eval test \$wx_cv_func_$wx_func = yes
38258 then
38259 cat >>confdefs.h <<_ACEOF
38260 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38261 _ACEOF
38262
38263
38264 else
38265 :
38266
38267 fi
38268 done
38269
38270
38271 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38272 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38273 cat >conftest.$ac_ext <<_ACEOF
38274 /* confdefs.h. */
38275 _ACEOF
38276 cat confdefs.h >>conftest.$ac_ext
38277 cat >>conftest.$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38279 #include <wchar.h>
38280 int
38281 main ()
38282 {
38283 &_vsnwprintf;
38284 ;
38285 return 0;
38286 }
38287 _ACEOF
38288 rm -f conftest.$ac_objext
38289 if { (ac_try="$ac_compile"
38290 case "(($ac_try" in
38291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38292 *) ac_try_echo=$ac_try;;
38293 esac
38294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38295 (eval "$ac_compile") 2>conftest.er1
38296 ac_status=$?
38297 grep -v '^ *+' conftest.er1 >conftest.err
38298 rm -f conftest.er1
38299 cat conftest.err >&5
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); } && {
38302 test -z "$ac_c_werror_flag" ||
38303 test ! -s conftest.err
38304 } && test -s conftest.$ac_objext; then
38305 { echo "$as_me:$LINENO: result: yes" >&5
38306 echo "${ECHO_T}yes" >&6; }
38307 cat >>confdefs.h <<\_ACEOF
38308 #define HAVE__VSNWPRINTF 1
38309 _ACEOF
38310
38311 else
38312 echo "$as_me: failed program was:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38314
38315 { echo "$as_me:$LINENO: result: no" >&5
38316 echo "${ECHO_T}no" >&6; }
38317 fi
38318
38319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38320 fi
38321
38322 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38323
38324 for wx_func in fnmatch
38325 do
38326 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38327 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38328 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 else
38331
38332 cat >conftest.$ac_ext <<_ACEOF
38333
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339
38340 #include <fnmatch.h>
38341 $ac_includes_default
38342
38343 int
38344 main ()
38345 {
38346
38347 #ifndef $wx_func
38348 &$wx_func;
38349 #endif
38350
38351
38352 ;
38353 return 0;
38354 }
38355
38356 _ACEOF
38357 rm -f conftest.$ac_objext conftest$ac_exeext
38358 if { (ac_try="$ac_link"
38359 case "(($ac_try" in
38360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38361 *) ac_try_echo=$ac_try;;
38362 esac
38363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38364 (eval "$ac_link") 2>conftest.er1
38365 ac_status=$?
38366 grep -v '^ *+' conftest.er1 >conftest.err
38367 rm -f conftest.er1
38368 cat conftest.err >&5
38369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38370 (exit $ac_status); } && {
38371 test -z "$ac_c_werror_flag" ||
38372 test ! -s conftest.err
38373 } && test -s conftest$ac_exeext &&
38374 $as_test_x conftest$ac_exeext; then
38375 eval wx_cv_func_$wx_func=yes
38376 else
38377 echo "$as_me: failed program was:" >&5
38378 sed 's/^/| /' conftest.$ac_ext >&5
38379
38380 eval wx_cv_func_$wx_func=no
38381 fi
38382
38383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38384 conftest$ac_exeext conftest.$ac_ext
38385
38386 fi
38387 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38388 { echo "$as_me:$LINENO: result: $ac_res" >&5
38389 echo "${ECHO_T}$ac_res" >&6; }
38390
38391 if eval test \$wx_cv_func_$wx_func = yes
38392 then
38393 cat >>confdefs.h <<_ACEOF
38394 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38395 _ACEOF
38396
38397
38398 else
38399 :
38400
38401 fi
38402 done
38403
38404 fi
38405
38406 if test "$wxUSE_FILE" = "yes"; then
38407
38408 for wx_func in fsync
38409 do
38410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415
38416 cat >conftest.$ac_ext <<_ACEOF
38417
38418 /* confdefs.h. */
38419 _ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38423
38424
38425 $ac_includes_default
38426
38427 int
38428 main ()
38429 {
38430
38431 #ifndef $wx_func
38432 &$wx_func;
38433 #endif
38434
38435
38436 ;
38437 return 0;
38438 }
38439
38440 _ACEOF
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38445 *) ac_try_echo=$ac_try;;
38446 esac
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38449 ac_status=$?
38450 grep -v '^ *+' conftest.er1 >conftest.err
38451 rm -f conftest.er1
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest$ac_exeext &&
38458 $as_test_x conftest$ac_exeext; then
38459 eval wx_cv_func_$wx_func=yes
38460 else
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38463
38464 eval wx_cv_func_$wx_func=no
38465 fi
38466
38467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38468 conftest$ac_exeext conftest.$ac_ext
38469
38470 fi
38471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38472 { echo "$as_me:$LINENO: result: $ac_res" >&5
38473 echo "${ECHO_T}$ac_res" >&6; }
38474
38475 if eval test \$wx_cv_func_$wx_func = yes
38476 then
38477 cat >>confdefs.h <<_ACEOF
38478 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38479 _ACEOF
38480
38481
38482 else
38483 :
38484
38485 fi
38486 done
38487
38488 fi
38489
38490 ac_ext=cpp
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38495
38496
38497 for wx_func in round
38498 do
38499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38502 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 else
38504
38505 cat >conftest.$ac_ext <<_ACEOF
38506
38507 /* confdefs.h. */
38508 _ACEOF
38509 cat confdefs.h >>conftest.$ac_ext
38510 cat >>conftest.$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38512
38513 #include <math.h>
38514 $ac_includes_default
38515
38516 int
38517 main ()
38518 {
38519
38520 #ifndef $wx_func
38521 &$wx_func;
38522 #endif
38523
38524
38525 ;
38526 return 0;
38527 }
38528
38529 _ACEOF
38530 rm -f conftest.$ac_objext conftest$ac_exeext
38531 if { (ac_try="$ac_link"
38532 case "(($ac_try" in
38533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38534 *) ac_try_echo=$ac_try;;
38535 esac
38536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38537 (eval "$ac_link") 2>conftest.er1
38538 ac_status=$?
38539 grep -v '^ *+' conftest.er1 >conftest.err
38540 rm -f conftest.er1
38541 cat conftest.err >&5
38542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543 (exit $ac_status); } && {
38544 test -z "$ac_cxx_werror_flag" ||
38545 test ! -s conftest.err
38546 } && test -s conftest$ac_exeext &&
38547 $as_test_x conftest$ac_exeext; then
38548 eval wx_cv_func_$wx_func=yes
38549 else
38550 echo "$as_me: failed program was:" >&5
38551 sed 's/^/| /' conftest.$ac_ext >&5
38552
38553 eval wx_cv_func_$wx_func=no
38554 fi
38555
38556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38557 conftest$ac_exeext conftest.$ac_ext
38558
38559 fi
38560 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38561 { echo "$as_me:$LINENO: result: $ac_res" >&5
38562 echo "${ECHO_T}$ac_res" >&6; }
38563
38564 if eval test \$wx_cv_func_$wx_func = yes
38565 then
38566 cat >>confdefs.h <<_ACEOF
38567 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38568 _ACEOF
38569
38570
38571 else
38572 :
38573
38574 fi
38575 done
38576
38577 ac_ext=c
38578 ac_cpp='$CPP $CPPFLAGS'
38579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38582
38583
38584 if test "$TOOLKIT" != "MSW"; then
38585
38586
38587
38588
38589
38590 # Check whether --with-libiconv-prefix was given.
38591 if test "${with_libiconv_prefix+set}" = set; then
38592 withval=$with_libiconv_prefix;
38593 for dir in `echo "$withval" | tr : ' '`; do
38594 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38595 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38596 done
38597
38598 fi
38599
38600
38601 { echo "$as_me:$LINENO: checking for iconv" >&5
38602 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38603 if test "${am_cv_func_iconv+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 else
38606
38607 am_cv_func_iconv="no, consider installing GNU libiconv"
38608 am_cv_lib_iconv=no
38609 cat >conftest.$ac_ext <<_ACEOF
38610 /* confdefs.h. */
38611 _ACEOF
38612 cat confdefs.h >>conftest.$ac_ext
38613 cat >>conftest.$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615 #include <stdlib.h>
38616 #include <iconv.h>
38617 int
38618 main ()
38619 {
38620 iconv_t cd = iconv_open("","");
38621 iconv(cd,NULL,NULL,NULL,NULL);
38622 iconv_close(cd);
38623 ;
38624 return 0;
38625 }
38626 _ACEOF
38627 rm -f conftest.$ac_objext conftest$ac_exeext
38628 if { (ac_try="$ac_link"
38629 case "(($ac_try" in
38630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38631 *) ac_try_echo=$ac_try;;
38632 esac
38633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38634 (eval "$ac_link") 2>conftest.er1
38635 ac_status=$?
38636 grep -v '^ *+' conftest.er1 >conftest.err
38637 rm -f conftest.er1
38638 cat conftest.err >&5
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); } && {
38641 test -z "$ac_c_werror_flag" ||
38642 test ! -s conftest.err
38643 } && test -s conftest$ac_exeext &&
38644 $as_test_x conftest$ac_exeext; then
38645 am_cv_func_iconv=yes
38646 else
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38649
38650
38651 fi
38652
38653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38654 conftest$ac_exeext conftest.$ac_ext
38655 if test "$am_cv_func_iconv" != yes; then
38656 am_save_LIBS="$LIBS"
38657 LIBS="$LIBS -liconv"
38658 cat >conftest.$ac_ext <<_ACEOF
38659 /* confdefs.h. */
38660 _ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38664 #include <stdlib.h>
38665 #include <iconv.h>
38666 int
38667 main ()
38668 {
38669 iconv_t cd = iconv_open("","");
38670 iconv(cd,NULL,NULL,NULL,NULL);
38671 iconv_close(cd);
38672 ;
38673 return 0;
38674 }
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (ac_try="$ac_link"
38678 case "(($ac_try" in
38679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38680 *) ac_try_echo=$ac_try;;
38681 esac
38682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38683 (eval "$ac_link") 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } && {
38690 test -z "$ac_c_werror_flag" ||
38691 test ! -s conftest.err
38692 } && test -s conftest$ac_exeext &&
38693 $as_test_x conftest$ac_exeext; then
38694 am_cv_lib_iconv=yes
38695 am_cv_func_iconv=yes
38696 else
38697 echo "$as_me: failed program was:" >&5
38698 sed 's/^/| /' conftest.$ac_ext >&5
38699
38700
38701 fi
38702
38703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38704 conftest$ac_exeext conftest.$ac_ext
38705 LIBS="$am_save_LIBS"
38706 fi
38707
38708 fi
38709 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38710 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38711 if test "$am_cv_func_iconv" = yes; then
38712
38713 cat >>confdefs.h <<\_ACEOF
38714 #define HAVE_ICONV 1
38715 _ACEOF
38716
38717 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38718 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38719 if test "${wx_cv_func_iconv_const+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38721 else
38722 cat >conftest.$ac_ext <<_ACEOF
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728
38729 #include <stdlib.h>
38730 #include <iconv.h>
38731 extern
38732 #ifdef __cplusplus
38733 "C"
38734 #endif
38735 #if defined(__STDC__) || defined(__cplusplus)
38736 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38737 #else
38738 size_t iconv();
38739 #endif
38740
38741 int
38742 main ()
38743 {
38744
38745 ;
38746 return 0;
38747 }
38748 _ACEOF
38749 rm -f conftest.$ac_objext
38750 if { (ac_try="$ac_compile"
38751 case "(($ac_try" in
38752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38753 *) ac_try_echo=$ac_try;;
38754 esac
38755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38756 (eval "$ac_compile") 2>conftest.er1
38757 ac_status=$?
38758 grep -v '^ *+' conftest.er1 >conftest.err
38759 rm -f conftest.er1
38760 cat conftest.err >&5
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); } && {
38763 test -z "$ac_c_werror_flag" ||
38764 test ! -s conftest.err
38765 } && test -s conftest.$ac_objext; then
38766 wx_cv_func_iconv_const="no"
38767 else
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.$ac_ext >&5
38770
38771 wx_cv_func_iconv_const="yes"
38772
38773 fi
38774
38775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38776
38777 fi
38778 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38779 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38780
38781 iconv_const=
38782 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38783 iconv_const="const"
38784 fi
38785
38786
38787 cat >>confdefs.h <<_ACEOF
38788 #define ICONV_CONST $iconv_const
38789 _ACEOF
38790
38791 fi
38792 LIBICONV=
38793 if test "$am_cv_lib_iconv" = yes; then
38794 LIBICONV="-liconv"
38795 fi
38796
38797
38798 LIBS="$LIBICONV $LIBS"
38799
38800 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38801
38802 for ac_func in sigaction
38803 do
38804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38805 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38807 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38808 echo $ECHO_N "(cached) $ECHO_C" >&6
38809 else
38810 cat >conftest.$ac_ext <<_ACEOF
38811 /* confdefs.h. */
38812 _ACEOF
38813 cat confdefs.h >>conftest.$ac_ext
38814 cat >>conftest.$ac_ext <<_ACEOF
38815 /* end confdefs.h. */
38816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38818 #define $ac_func innocuous_$ac_func
38819
38820 /* System header to define __stub macros and hopefully few prototypes,
38821 which can conflict with char $ac_func (); below.
38822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38823 <limits.h> exists even on freestanding compilers. */
38824
38825 #ifdef __STDC__
38826 # include <limits.h>
38827 #else
38828 # include <assert.h>
38829 #endif
38830
38831 #undef $ac_func
38832
38833 /* Override any GCC internal prototype to avoid an error.
38834 Use char because int might match the return type of a GCC
38835 builtin and then its argument prototype would still apply. */
38836 #ifdef __cplusplus
38837 extern "C"
38838 #endif
38839 char $ac_func ();
38840 /* The GNU C library defines this for functions which it implements
38841 to always fail with ENOSYS. Some functions are actually named
38842 something starting with __ and the normal name is an alias. */
38843 #if defined __stub_$ac_func || defined __stub___$ac_func
38844 choke me
38845 #endif
38846
38847 int
38848 main ()
38849 {
38850 return $ac_func ();
38851 ;
38852 return 0;
38853 }
38854 _ACEOF
38855 rm -f conftest.$ac_objext conftest$ac_exeext
38856 if { (ac_try="$ac_link"
38857 case "(($ac_try" in
38858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38859 *) ac_try_echo=$ac_try;;
38860 esac
38861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38862 (eval "$ac_link") 2>conftest.er1
38863 ac_status=$?
38864 grep -v '^ *+' conftest.er1 >conftest.err
38865 rm -f conftest.er1
38866 cat conftest.err >&5
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); } && {
38869 test -z "$ac_c_werror_flag" ||
38870 test ! -s conftest.err
38871 } && test -s conftest$ac_exeext &&
38872 $as_test_x conftest$ac_exeext; then
38873 eval "$as_ac_var=yes"
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38877
38878 eval "$as_ac_var=no"
38879 fi
38880
38881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38882 conftest$ac_exeext conftest.$ac_ext
38883 fi
38884 ac_res=`eval echo '${'$as_ac_var'}'`
38885 { echo "$as_me:$LINENO: result: $ac_res" >&5
38886 echo "${ECHO_T}$ac_res" >&6; }
38887 if test `eval echo '${'$as_ac_var'}'` = yes; then
38888 cat >>confdefs.h <<_ACEOF
38889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38890 _ACEOF
38891
38892 fi
38893 done
38894
38895
38896 if test "$ac_cv_func_sigaction" = "no"; then
38897 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38898 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38899 wxUSE_ON_FATAL_EXCEPTION=no
38900 fi
38901
38902 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38903 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38904 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38905 if test "${wx_cv_type_sa_handler+set}" = set; then
38906 echo $ECHO_N "(cached) $ECHO_C" >&6
38907 else
38908
38909 ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914
38915 cat >conftest.$ac_ext <<_ACEOF
38916 /* confdefs.h. */
38917 _ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921 #include <signal.h>
38922 int
38923 main ()
38924 {
38925
38926 extern void testSigHandler(int);
38927
38928 struct sigaction sa;
38929 sa.sa_handler = testSigHandler;
38930
38931 ;
38932 return 0;
38933 }
38934 _ACEOF
38935 rm -f conftest.$ac_objext
38936 if { (ac_try="$ac_compile"
38937 case "(($ac_try" in
38938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38939 *) ac_try_echo=$ac_try;;
38940 esac
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_compile") 2>conftest.er1
38943 ac_status=$?
38944 grep -v '^ *+' conftest.er1 >conftest.err
38945 rm -f conftest.er1
38946 cat conftest.err >&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } && {
38949 test -z "$ac_cxx_werror_flag" ||
38950 test ! -s conftest.err
38951 } && test -s conftest.$ac_objext; then
38952
38953 wx_cv_type_sa_handler=int
38954
38955 else
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38958
38959
38960 wx_cv_type_sa_handler=void
38961
38962 fi
38963
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38965 ac_ext=c
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970
38971
38972 fi
38973 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38974 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38975
38976 cat >>confdefs.h <<_ACEOF
38977 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38978 _ACEOF
38979
38980 fi
38981 fi
38982
38983 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38984 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38985 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38986 if test "${wx_cv_func_backtrace+set}" = set; then
38987 echo $ECHO_N "(cached) $ECHO_C" >&6
38988 else
38989
38990 ac_ext=cpp
38991 ac_cpp='$CXXCPP $CPPFLAGS'
38992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38995
38996 cat >conftest.$ac_ext <<_ACEOF
38997 /* confdefs.h. */
38998 _ACEOF
38999 cat confdefs.h >>conftest.$ac_ext
39000 cat >>conftest.$ac_ext <<_ACEOF
39001 /* end confdefs.h. */
39002 #include <execinfo.h>
39003 int
39004 main ()
39005 {
39006
39007 void *trace[1];
39008 char **messages;
39009
39010 backtrace(trace, 1);
39011 messages = backtrace_symbols(trace, 1);
39012
39013 ;
39014 return 0;
39015 }
39016 _ACEOF
39017 rm -f conftest.$ac_objext
39018 if { (ac_try="$ac_compile"
39019 case "(($ac_try" in
39020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39021 *) ac_try_echo=$ac_try;;
39022 esac
39023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39024 (eval "$ac_compile") 2>conftest.er1
39025 ac_status=$?
39026 grep -v '^ *+' conftest.er1 >conftest.err
39027 rm -f conftest.er1
39028 cat conftest.err >&5
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); } && {
39031 test -z "$ac_cxx_werror_flag" ||
39032 test ! -s conftest.err
39033 } && test -s conftest.$ac_objext; then
39034 wx_cv_func_backtrace=yes
39035 else
39036 echo "$as_me: failed program was:" >&5
39037 sed 's/^/| /' conftest.$ac_ext >&5
39038
39039 wx_cv_func_backtrace=no
39040
39041 fi
39042
39043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39044 ac_ext=c
39045 ac_cpp='$CPP $CPPFLAGS'
39046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39049
39050
39051
39052 fi
39053 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39054 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39055
39056
39057 if test "$wx_cv_func_backtrace" = "no"; then
39058 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39059 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39060 wxUSE_STACKWALKER=no
39061 else
39062 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39063 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39064 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39066 else
39067
39068 ac_ext=cpp
39069 ac_cpp='$CXXCPP $CPPFLAGS'
39070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39073
39074 cat >conftest.$ac_ext <<_ACEOF
39075 /* confdefs.h. */
39076 _ACEOF
39077 cat confdefs.h >>conftest.$ac_ext
39078 cat >>conftest.$ac_ext <<_ACEOF
39079 /* end confdefs.h. */
39080 #include <cxxabi.h>
39081 int
39082 main ()
39083 {
39084
39085 int rc;
39086 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39087
39088 ;
39089 return 0;
39090 }
39091 _ACEOF
39092 rm -f conftest.$ac_objext conftest$ac_exeext
39093 if { (ac_try="$ac_link"
39094 case "(($ac_try" in
39095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39096 *) ac_try_echo=$ac_try;;
39097 esac
39098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39099 (eval "$ac_link") 2>conftest.er1
39100 ac_status=$?
39101 grep -v '^ *+' conftest.er1 >conftest.err
39102 rm -f conftest.er1
39103 cat conftest.err >&5
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); } && {
39106 test -z "$ac_cxx_werror_flag" ||
39107 test ! -s conftest.err
39108 } && test -s conftest$ac_exeext &&
39109 $as_test_x conftest$ac_exeext; then
39110 wx_cv_func_cxa_demangle=yes
39111 else
39112 echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39114
39115 wx_cv_func_cxa_demangle=no
39116
39117 fi
39118
39119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39120 conftest$ac_exeext conftest.$ac_ext
39121 ac_ext=c
39122 ac_cpp='$CPP $CPPFLAGS'
39123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39126
39127
39128
39129 fi
39130 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39131 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39132
39133 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define HAVE_CXA_DEMANGLE 1
39136 _ACEOF
39137
39138 fi
39139 fi
39140 fi
39141
39142 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39143 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39144 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39145 wxUSE_STACKWALKER=no
39146 fi
39147
39148
39149
39150
39151 for ac_func in mkstemp mktemp
39152 do
39153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39158 else
39159 cat >conftest.$ac_ext <<_ACEOF
39160 /* confdefs.h. */
39161 _ACEOF
39162 cat confdefs.h >>conftest.$ac_ext
39163 cat >>conftest.$ac_ext <<_ACEOF
39164 /* end confdefs.h. */
39165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39167 #define $ac_func innocuous_$ac_func
39168
39169 /* System header to define __stub macros and hopefully few prototypes,
39170 which can conflict with char $ac_func (); below.
39171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39172 <limits.h> exists even on freestanding compilers. */
39173
39174 #ifdef __STDC__
39175 # include <limits.h>
39176 #else
39177 # include <assert.h>
39178 #endif
39179
39180 #undef $ac_func
39181
39182 /* Override any GCC internal prototype to avoid an error.
39183 Use char because int might match the return type of a GCC
39184 builtin and then its argument prototype would still apply. */
39185 #ifdef __cplusplus
39186 extern "C"
39187 #endif
39188 char $ac_func ();
39189 /* The GNU C library defines this for functions which it implements
39190 to always fail with ENOSYS. Some functions are actually named
39191 something starting with __ and the normal name is an alias. */
39192 #if defined __stub_$ac_func || defined __stub___$ac_func
39193 choke me
39194 #endif
39195
39196 int
39197 main ()
39198 {
39199 return $ac_func ();
39200 ;
39201 return 0;
39202 }
39203 _ACEOF
39204 rm -f conftest.$ac_objext conftest$ac_exeext
39205 if { (ac_try="$ac_link"
39206 case "(($ac_try" in
39207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39208 *) ac_try_echo=$ac_try;;
39209 esac
39210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39211 (eval "$ac_link") 2>conftest.er1
39212 ac_status=$?
39213 grep -v '^ *+' conftest.er1 >conftest.err
39214 rm -f conftest.er1
39215 cat conftest.err >&5
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); } && {
39218 test -z "$ac_c_werror_flag" ||
39219 test ! -s conftest.err
39220 } && test -s conftest$ac_exeext &&
39221 $as_test_x conftest$ac_exeext; then
39222 eval "$as_ac_var=yes"
39223 else
39224 echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.$ac_ext >&5
39226
39227 eval "$as_ac_var=no"
39228 fi
39229
39230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39231 conftest$ac_exeext conftest.$ac_ext
39232 fi
39233 ac_res=`eval echo '${'$as_ac_var'}'`
39234 { echo "$as_me:$LINENO: result: $ac_res" >&5
39235 echo "${ECHO_T}$ac_res" >&6; }
39236 if test `eval echo '${'$as_ac_var'}'` = yes; then
39237 cat >>confdefs.h <<_ACEOF
39238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39239 _ACEOF
39240 break
39241 fi
39242 done
39243
39244
39245 { echo "$as_me:$LINENO: checking for statfs" >&5
39246 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39247 if test "${wx_cv_func_statfs+set}" = set; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39249 else
39250 cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h. */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39256
39257 #if defined(__BSD__)
39258 #include <sys/param.h>
39259 #include <sys/mount.h>
39260 #else
39261 #include <sys/vfs.h>
39262 #endif
39263
39264 int
39265 main ()
39266 {
39267
39268 long l;
39269 struct statfs fs;
39270 statfs("/", &fs);
39271 l = fs.f_bsize;
39272 l += fs.f_blocks;
39273 l += fs.f_bavail;
39274
39275 ;
39276 return 0;
39277 }
39278 _ACEOF
39279 rm -f conftest.$ac_objext
39280 if { (ac_try="$ac_compile"
39281 case "(($ac_try" in
39282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39283 *) ac_try_echo=$ac_try;;
39284 esac
39285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39286 (eval "$ac_compile") 2>conftest.er1
39287 ac_status=$?
39288 grep -v '^ *+' conftest.er1 >conftest.err
39289 rm -f conftest.er1
39290 cat conftest.err >&5
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); } && {
39293 test -z "$ac_c_werror_flag" ||
39294 test ! -s conftest.err
39295 } && test -s conftest.$ac_objext; then
39296 wx_cv_func_statfs=yes
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 wx_cv_func_statfs=no
39302
39303 fi
39304
39305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39306
39307 fi
39308 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39309 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39310
39311 if test "$wx_cv_func_statfs" = "yes"; then
39312 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39313 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39314 if test "${wx_cv_func_statfs_decl+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317 ac_ext=cpp
39318 ac_cpp='$CXXCPP $CPPFLAGS'
39319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39322
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329
39330 #if defined(__BSD__)
39331 #include <sys/param.h>
39332 #include <sys/mount.h>
39333 #else
39334 #include <sys/vfs.h>
39335 #endif
39336
39337 int
39338 main ()
39339 {
39340
39341 struct statfs fs;
39342 statfs("", &fs);
39343
39344 ;
39345 return 0;
39346 }
39347 _ACEOF
39348 rm -f conftest.$ac_objext
39349 if { (ac_try="$ac_compile"
39350 case "(($ac_try" in
39351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39352 *) ac_try_echo=$ac_try;;
39353 esac
39354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39355 (eval "$ac_compile") 2>conftest.er1
39356 ac_status=$?
39357 grep -v '^ *+' conftest.er1 >conftest.err
39358 rm -f conftest.er1
39359 cat conftest.err >&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } && {
39362 test -z "$ac_cxx_werror_flag" ||
39363 test ! -s conftest.err
39364 } && test -s conftest.$ac_objext; then
39365 wx_cv_func_statfs_decl=yes
39366 else
39367 echo "$as_me: failed program was:" >&5
39368 sed 's/^/| /' conftest.$ac_ext >&5
39369
39370 wx_cv_func_statfs_decl=no
39371
39372 fi
39373
39374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39375 ac_ext=c
39376 ac_cpp='$CPP $CPPFLAGS'
39377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39380
39381
39382 fi
39383 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39384 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39385
39386 if test "$wx_cv_func_statfs_decl" = "yes"; then
39387 cat >>confdefs.h <<\_ACEOF
39388 #define HAVE_STATFS_DECL 1
39389 _ACEOF
39390
39391 fi
39392
39393 wx_cv_type_statvfs_t="struct statfs"
39394 cat >>confdefs.h <<\_ACEOF
39395 #define HAVE_STATFS 1
39396 _ACEOF
39397
39398 else
39399 { echo "$as_me:$LINENO: checking for statvfs" >&5
39400 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39401 if test "${wx_cv_func_statvfs+set}" = set; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 else
39404 cat >conftest.$ac_ext <<_ACEOF
39405 /* confdefs.h. */
39406 _ACEOF
39407 cat confdefs.h >>conftest.$ac_ext
39408 cat >>conftest.$ac_ext <<_ACEOF
39409 /* end confdefs.h. */
39410
39411 #include <stddef.h>
39412 #include <sys/statvfs.h>
39413
39414 int
39415 main ()
39416 {
39417
39418 statvfs("/", NULL);
39419
39420 ;
39421 return 0;
39422 }
39423 _ACEOF
39424 rm -f conftest.$ac_objext
39425 if { (ac_try="$ac_compile"
39426 case "(($ac_try" in
39427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39428 *) ac_try_echo=$ac_try;;
39429 esac
39430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39431 (eval "$ac_compile") 2>conftest.er1
39432 ac_status=$?
39433 grep -v '^ *+' conftest.er1 >conftest.err
39434 rm -f conftest.er1
39435 cat conftest.err >&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } && {
39438 test -z "$ac_c_werror_flag" ||
39439 test ! -s conftest.err
39440 } && test -s conftest.$ac_objext; then
39441 wx_cv_func_statvfs=yes
39442 else
39443 echo "$as_me: failed program was:" >&5
39444 sed 's/^/| /' conftest.$ac_ext >&5
39445
39446 wx_cv_func_statvfs=no
39447
39448 fi
39449
39450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39451
39452 fi
39453 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39454 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39455
39456 if test "$wx_cv_func_statvfs" = "yes"; then
39457 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39458 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39459 if test "${wx_cv_type_statvfs_t+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462 ac_ext=cpp
39463 ac_cpp='$CXXCPP $CPPFLAGS'
39464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39467
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h. */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474
39475 #include <sys/statvfs.h>
39476
39477 int
39478 main ()
39479 {
39480
39481 long l;
39482 statvfs_t fs;
39483 statvfs("/", &fs);
39484 l = fs.f_bsize;
39485 l += fs.f_blocks;
39486 l += fs.f_bavail;
39487
39488 ;
39489 return 0;
39490 }
39491 _ACEOF
39492 rm -f conftest.$ac_objext
39493 if { (ac_try="$ac_compile"
39494 case "(($ac_try" in
39495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39496 *) ac_try_echo=$ac_try;;
39497 esac
39498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39499 (eval "$ac_compile") 2>conftest.er1
39500 ac_status=$?
39501 grep -v '^ *+' conftest.er1 >conftest.err
39502 rm -f conftest.er1
39503 cat conftest.err >&5
39504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39505 (exit $ac_status); } && {
39506 test -z "$ac_cxx_werror_flag" ||
39507 test ! -s conftest.err
39508 } && test -s conftest.$ac_objext; then
39509 wx_cv_type_statvfs_t=statvfs_t
39510 else
39511 echo "$as_me: failed program was:" >&5
39512 sed 's/^/| /' conftest.$ac_ext >&5
39513
39514
39515 cat >conftest.$ac_ext <<_ACEOF
39516 /* confdefs.h. */
39517 _ACEOF
39518 cat confdefs.h >>conftest.$ac_ext
39519 cat >>conftest.$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521
39522 #include <sys/statvfs.h>
39523
39524 int
39525 main ()
39526 {
39527
39528 long l;
39529 struct statvfs fs;
39530 statvfs("/", &fs);
39531 l = fs.f_bsize;
39532 l += fs.f_blocks;
39533 l += fs.f_bavail;
39534
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 rm -f conftest.$ac_objext
39540 if { (ac_try="$ac_compile"
39541 case "(($ac_try" in
39542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39543 *) ac_try_echo=$ac_try;;
39544 esac
39545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39546 (eval "$ac_compile") 2>conftest.er1
39547 ac_status=$?
39548 grep -v '^ *+' conftest.er1 >conftest.err
39549 rm -f conftest.er1
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } && {
39553 test -z "$ac_cxx_werror_flag" ||
39554 test ! -s conftest.err
39555 } && test -s conftest.$ac_objext; then
39556 wx_cv_type_statvfs_t="struct statvfs"
39557 else
39558 echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39560
39561 wx_cv_type_statvfs_t="unknown"
39562
39563 fi
39564
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566
39567
39568 fi
39569
39570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571 ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576
39577
39578 fi
39579 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39580 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39581
39582 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39583 cat >>confdefs.h <<\_ACEOF
39584 #define HAVE_STATVFS 1
39585 _ACEOF
39586
39587 fi
39588 else
39589 wx_cv_type_statvfs_t="unknown"
39590 fi
39591 fi
39592
39593 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39594 cat >>confdefs.h <<_ACEOF
39595 #define WX_STATFS_T $wx_cv_type_statvfs_t
39596 _ACEOF
39597
39598 else
39599 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39600 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39601 fi
39602
39603 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39604
39605
39606 for ac_func in fcntl flock
39607 do
39608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39609 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39612 echo $ECHO_N "(cached) $ECHO_C" >&6
39613 else
39614 cat >conftest.$ac_ext <<_ACEOF
39615 /* confdefs.h. */
39616 _ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39622 #define $ac_func innocuous_$ac_func
39623
39624 /* System header to define __stub macros and hopefully few prototypes,
39625 which can conflict with char $ac_func (); below.
39626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39627 <limits.h> exists even on freestanding compilers. */
39628
39629 #ifdef __STDC__
39630 # include <limits.h>
39631 #else
39632 # include <assert.h>
39633 #endif
39634
39635 #undef $ac_func
39636
39637 /* Override any GCC internal prototype to avoid an error.
39638 Use char because int might match the return type of a GCC
39639 builtin and then its argument prototype would still apply. */
39640 #ifdef __cplusplus
39641 extern "C"
39642 #endif
39643 char $ac_func ();
39644 /* The GNU C library defines this for functions which it implements
39645 to always fail with ENOSYS. Some functions are actually named
39646 something starting with __ and the normal name is an alias. */
39647 #if defined __stub_$ac_func || defined __stub___$ac_func
39648 choke me
39649 #endif
39650
39651 int
39652 main ()
39653 {
39654 return $ac_func ();
39655 ;
39656 return 0;
39657 }
39658 _ACEOF
39659 rm -f conftest.$ac_objext conftest$ac_exeext
39660 if { (ac_try="$ac_link"
39661 case "(($ac_try" in
39662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39663 *) ac_try_echo=$ac_try;;
39664 esac
39665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39666 (eval "$ac_link") 2>conftest.er1
39667 ac_status=$?
39668 grep -v '^ *+' conftest.er1 >conftest.err
39669 rm -f conftest.er1
39670 cat conftest.err >&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); } && {
39673 test -z "$ac_c_werror_flag" ||
39674 test ! -s conftest.err
39675 } && test -s conftest$ac_exeext &&
39676 $as_test_x conftest$ac_exeext; then
39677 eval "$as_ac_var=yes"
39678 else
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.$ac_ext >&5
39681
39682 eval "$as_ac_var=no"
39683 fi
39684
39685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39686 conftest$ac_exeext conftest.$ac_ext
39687 fi
39688 ac_res=`eval echo '${'$as_ac_var'}'`
39689 { echo "$as_me:$LINENO: result: $ac_res" >&5
39690 echo "${ECHO_T}$ac_res" >&6; }
39691 if test `eval echo '${'$as_ac_var'}'` = yes; then
39692 cat >>confdefs.h <<_ACEOF
39693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39694 _ACEOF
39695 break
39696 fi
39697 done
39698
39699
39700 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39701 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39702 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39703 wxUSE_SNGLINST_CHECKER=no
39704 fi
39705 fi
39706
39707
39708 for ac_func in timegm
39709 do
39710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39713 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39725
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39730
39731 #ifdef __STDC__
39732 # include <limits.h>
39733 #else
39734 # include <assert.h>
39735 #endif
39736
39737 #undef $ac_func
39738
39739 /* Override any GCC internal prototype to avoid an error.
39740 Use char because int might match the return type of a GCC
39741 builtin and then its argument prototype would still apply. */
39742 #ifdef __cplusplus
39743 extern "C"
39744 #endif
39745 char $ac_func ();
39746 /* The GNU C library defines this for functions which it implements
39747 to always fail with ENOSYS. Some functions are actually named
39748 something starting with __ and the normal name is an alias. */
39749 #if defined __stub_$ac_func || defined __stub___$ac_func
39750 choke me
39751 #endif
39752
39753 int
39754 main ()
39755 {
39756 return $ac_func ();
39757 ;
39758 return 0;
39759 }
39760 _ACEOF
39761 rm -f conftest.$ac_objext conftest$ac_exeext
39762 if { (ac_try="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39765 *) ac_try_echo=$ac_try;;
39766 esac
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39769 ac_status=$?
39770 grep -v '^ *+' conftest.er1 >conftest.err
39771 rm -f conftest.er1
39772 cat conftest.err >&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest$ac_exeext &&
39778 $as_test_x conftest$ac_exeext; then
39779 eval "$as_ac_var=yes"
39780 else
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39783
39784 eval "$as_ac_var=no"
39785 fi
39786
39787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39788 conftest$ac_exeext conftest.$ac_ext
39789 fi
39790 ac_res=`eval echo '${'$as_ac_var'}'`
39791 { echo "$as_me:$LINENO: result: $ac_res" >&5
39792 echo "${ECHO_T}$ac_res" >&6; }
39793 if test `eval echo '${'$as_ac_var'}'` = yes; then
39794 cat >>confdefs.h <<_ACEOF
39795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39796 _ACEOF
39797
39798 fi
39799 done
39800
39801
39802
39803
39804 for ac_func in putenv setenv
39805 do
39806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39807 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39809 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 else
39812 cat >conftest.$ac_ext <<_ACEOF
39813 /* confdefs.h. */
39814 _ACEOF
39815 cat confdefs.h >>conftest.$ac_ext
39816 cat >>conftest.$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39820 #define $ac_func innocuous_$ac_func
39821
39822 /* System header to define __stub macros and hopefully few prototypes,
39823 which can conflict with char $ac_func (); below.
39824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39825 <limits.h> exists even on freestanding compilers. */
39826
39827 #ifdef __STDC__
39828 # include <limits.h>
39829 #else
39830 # include <assert.h>
39831 #endif
39832
39833 #undef $ac_func
39834
39835 /* Override any GCC internal prototype to avoid an error.
39836 Use char because int might match the return type of a GCC
39837 builtin and then its argument prototype would still apply. */
39838 #ifdef __cplusplus
39839 extern "C"
39840 #endif
39841 char $ac_func ();
39842 /* The GNU C library defines this for functions which it implements
39843 to always fail with ENOSYS. Some functions are actually named
39844 something starting with __ and the normal name is an alias. */
39845 #if defined __stub_$ac_func || defined __stub___$ac_func
39846 choke me
39847 #endif
39848
39849 int
39850 main ()
39851 {
39852 return $ac_func ();
39853 ;
39854 return 0;
39855 }
39856 _ACEOF
39857 rm -f conftest.$ac_objext conftest$ac_exeext
39858 if { (ac_try="$ac_link"
39859 case "(($ac_try" in
39860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39861 *) ac_try_echo=$ac_try;;
39862 esac
39863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39864 (eval "$ac_link") 2>conftest.er1
39865 ac_status=$?
39866 grep -v '^ *+' conftest.er1 >conftest.err
39867 rm -f conftest.er1
39868 cat conftest.err >&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } && {
39871 test -z "$ac_c_werror_flag" ||
39872 test ! -s conftest.err
39873 } && test -s conftest$ac_exeext &&
39874 $as_test_x conftest$ac_exeext; then
39875 eval "$as_ac_var=yes"
39876 else
39877 echo "$as_me: failed program was:" >&5
39878 sed 's/^/| /' conftest.$ac_ext >&5
39879
39880 eval "$as_ac_var=no"
39881 fi
39882
39883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39884 conftest$ac_exeext conftest.$ac_ext
39885 fi
39886 ac_res=`eval echo '${'$as_ac_var'}'`
39887 { echo "$as_me:$LINENO: result: $ac_res" >&5
39888 echo "${ECHO_T}$ac_res" >&6; }
39889 if test `eval echo '${'$as_ac_var'}'` = yes; then
39890 cat >>confdefs.h <<_ACEOF
39891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39892 _ACEOF
39893 break
39894 fi
39895 done
39896
39897
39898 HAVE_SOME_SLEEP_FUNC=0
39899 if test "$USE_BEOS" = 1; then
39900 cat >>confdefs.h <<\_ACEOF
39901 #define HAVE_SLEEP 1
39902 _ACEOF
39903
39904 HAVE_SOME_SLEEP_FUNC=1
39905 fi
39906
39907 if test "$USE_DARWIN" = 1; then
39908 cat >>confdefs.h <<\_ACEOF
39909 #define HAVE_USLEEP 1
39910 _ACEOF
39911
39912 HAVE_SOME_SLEEP_FUNC=1
39913 fi
39914
39915 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39916 POSIX4_LINK=
39917
39918 for ac_func in nanosleep
39919 do
39920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39923 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39924 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 else
39926 cat >conftest.$ac_ext <<_ACEOF
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39934 #define $ac_func innocuous_$ac_func
39935
39936 /* System header to define __stub macros and hopefully few prototypes,
39937 which can conflict with char $ac_func (); below.
39938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39939 <limits.h> exists even on freestanding compilers. */
39940
39941 #ifdef __STDC__
39942 # include <limits.h>
39943 #else
39944 # include <assert.h>
39945 #endif
39946
39947 #undef $ac_func
39948
39949 /* Override any GCC internal prototype to avoid an error.
39950 Use char because int might match the return type of a GCC
39951 builtin and then its argument prototype would still apply. */
39952 #ifdef __cplusplus
39953 extern "C"
39954 #endif
39955 char $ac_func ();
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined __stub_$ac_func || defined __stub___$ac_func
39960 choke me
39961 #endif
39962
39963 int
39964 main ()
39965 {
39966 return $ac_func ();
39967 ;
39968 return 0;
39969 }
39970 _ACEOF
39971 rm -f conftest.$ac_objext conftest$ac_exeext
39972 if { (ac_try="$ac_link"
39973 case "(($ac_try" in
39974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39975 *) ac_try_echo=$ac_try;;
39976 esac
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_link") 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest$ac_exeext &&
39988 $as_test_x conftest$ac_exeext; then
39989 eval "$as_ac_var=yes"
39990 else
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39993
39994 eval "$as_ac_var=no"
39995 fi
39996
39997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39998 conftest$ac_exeext conftest.$ac_ext
39999 fi
40000 ac_res=`eval echo '${'$as_ac_var'}'`
40001 { echo "$as_me:$LINENO: result: $ac_res" >&5
40002 echo "${ECHO_T}$ac_res" >&6; }
40003 if test `eval echo '${'$as_ac_var'}'` = yes; then
40004 cat >>confdefs.h <<_ACEOF
40005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40006 _ACEOF
40007 cat >>confdefs.h <<\_ACEOF
40008 #define HAVE_NANOSLEEP 1
40009 _ACEOF
40010
40011 else
40012
40013 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40014 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40015 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 else
40018 ac_check_lib_save_LIBS=$LIBS
40019 LIBS="-lposix4 $LIBS"
40020 cat >conftest.$ac_ext <<_ACEOF
40021 /* confdefs.h. */
40022 _ACEOF
40023 cat confdefs.h >>conftest.$ac_ext
40024 cat >>conftest.$ac_ext <<_ACEOF
40025 /* end confdefs.h. */
40026
40027 /* Override any GCC internal prototype to avoid an error.
40028 Use char because int might match the return type of a GCC
40029 builtin and then its argument prototype would still apply. */
40030 #ifdef __cplusplus
40031 extern "C"
40032 #endif
40033 char nanosleep ();
40034 int
40035 main ()
40036 {
40037 return nanosleep ();
40038 ;
40039 return 0;
40040 }
40041 _ACEOF
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40047 esac
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40050 ac_status=$?
40051 grep -v '^ *+' conftest.er1 >conftest.err
40052 rm -f conftest.er1
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_c_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest$ac_exeext &&
40059 $as_test_x conftest$ac_exeext; then
40060 ac_cv_lib_posix4_nanosleep=yes
40061 else
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40064
40065 ac_cv_lib_posix4_nanosleep=no
40066 fi
40067
40068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40069 conftest$ac_exeext conftest.$ac_ext
40070 LIBS=$ac_check_lib_save_LIBS
40071 fi
40072 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40073 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40074 if test $ac_cv_lib_posix4_nanosleep = yes; then
40075
40076 cat >>confdefs.h <<\_ACEOF
40077 #define HAVE_NANOSLEEP 1
40078 _ACEOF
40079
40080 POSIX4_LINK=" -lposix4"
40081
40082 else
40083
40084
40085 for wx_func in usleep
40086 do
40087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40089 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 else
40092
40093 cat >conftest.$ac_ext <<_ACEOF
40094
40095 /* confdefs.h. */
40096 _ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100
40101
40102 $ac_includes_default
40103
40104 int
40105 main ()
40106 {
40107
40108 #ifndef $wx_func
40109 &$wx_func;
40110 #endif
40111
40112
40113 ;
40114 return 0;
40115 }
40116
40117 _ACEOF
40118 rm -f conftest.$ac_objext conftest$ac_exeext
40119 if { (ac_try="$ac_link"
40120 case "(($ac_try" in
40121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40122 *) ac_try_echo=$ac_try;;
40123 esac
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_link") 2>conftest.er1
40126 ac_status=$?
40127 grep -v '^ *+' conftest.er1 >conftest.err
40128 rm -f conftest.er1
40129 cat conftest.err >&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest$ac_exeext &&
40135 $as_test_x conftest$ac_exeext; then
40136 eval wx_cv_func_$wx_func=yes
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141 eval wx_cv_func_$wx_func=no
40142 fi
40143
40144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40145 conftest$ac_exeext conftest.$ac_ext
40146
40147 fi
40148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40149 { echo "$as_me:$LINENO: result: $ac_res" >&5
40150 echo "${ECHO_T}$ac_res" >&6; }
40151
40152 if eval test \$wx_cv_func_$wx_func = yes
40153 then
40154 cat >>confdefs.h <<_ACEOF
40155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40156 _ACEOF
40157
40158
40159 else
40160 :
40161 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40162 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40163
40164 fi
40165 done
40166
40167
40168
40169 fi
40170
40171
40172
40173 fi
40174 done
40175
40176 fi
40177
40178
40179 for wx_func in uname
40180 do
40181 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40182 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40183 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40184 echo $ECHO_N "(cached) $ECHO_C" >&6
40185 else
40186
40187 cat >conftest.$ac_ext <<_ACEOF
40188
40189 /* confdefs.h. */
40190 _ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40194
40195 #include <sys/utsname.h>
40196 $ac_includes_default
40197
40198 int
40199 main ()
40200 {
40201
40202 #ifndef $wx_func
40203 &$wx_func;
40204 #endif
40205
40206
40207 ;
40208 return 0;
40209 }
40210
40211 _ACEOF
40212 rm -f conftest.$ac_objext conftest$ac_exeext
40213 if { (ac_try="$ac_link"
40214 case "(($ac_try" in
40215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40216 *) ac_try_echo=$ac_try;;
40217 esac
40218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40219 (eval "$ac_link") 2>conftest.er1
40220 ac_status=$?
40221 grep -v '^ *+' conftest.er1 >conftest.err
40222 rm -f conftest.er1
40223 cat conftest.err >&5
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); } && {
40226 test -z "$ac_c_werror_flag" ||
40227 test ! -s conftest.err
40228 } && test -s conftest$ac_exeext &&
40229 $as_test_x conftest$ac_exeext; then
40230 eval wx_cv_func_$wx_func=yes
40231 else
40232 echo "$as_me: failed program was:" >&5
40233 sed 's/^/| /' conftest.$ac_ext >&5
40234
40235 eval wx_cv_func_$wx_func=no
40236 fi
40237
40238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40239 conftest$ac_exeext conftest.$ac_ext
40240
40241 fi
40242 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40243 { echo "$as_me:$LINENO: result: $ac_res" >&5
40244 echo "${ECHO_T}$ac_res" >&6; }
40245
40246 if eval test \$wx_cv_func_$wx_func = yes
40247 then
40248 cat >>confdefs.h <<_ACEOF
40249 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40250 _ACEOF
40251
40252
40253 else
40254 :
40255
40256 fi
40257 done
40258
40259 if test "$wx_cv_func_uname" != yes; then
40260
40261 for wx_func in gethostname
40262 do
40263 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40265 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40266 echo $ECHO_N "(cached) $ECHO_C" >&6
40267 else
40268
40269 cat >conftest.$ac_ext <<_ACEOF
40270
40271 /* confdefs.h. */
40272 _ACEOF
40273 cat confdefs.h >>conftest.$ac_ext
40274 cat >>conftest.$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40276
40277
40278 $ac_includes_default
40279
40280 int
40281 main ()
40282 {
40283
40284 #ifndef $wx_func
40285 &$wx_func;
40286 #endif
40287
40288
40289 ;
40290 return 0;
40291 }
40292
40293 _ACEOF
40294 rm -f conftest.$ac_objext conftest$ac_exeext
40295 if { (ac_try="$ac_link"
40296 case "(($ac_try" in
40297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40298 *) ac_try_echo=$ac_try;;
40299 esac
40300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40301 (eval "$ac_link") 2>conftest.er1
40302 ac_status=$?
40303 grep -v '^ *+' conftest.er1 >conftest.err
40304 rm -f conftest.er1
40305 cat conftest.err >&5
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); } && {
40308 test -z "$ac_c_werror_flag" ||
40309 test ! -s conftest.err
40310 } && test -s conftest$ac_exeext &&
40311 $as_test_x conftest$ac_exeext; then
40312 eval wx_cv_func_$wx_func=yes
40313 else
40314 echo "$as_me: failed program was:" >&5
40315 sed 's/^/| /' conftest.$ac_ext >&5
40316
40317 eval wx_cv_func_$wx_func=no
40318 fi
40319
40320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40321 conftest$ac_exeext conftest.$ac_ext
40322
40323 fi
40324 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40325 { echo "$as_me:$LINENO: result: $ac_res" >&5
40326 echo "${ECHO_T}$ac_res" >&6; }
40327
40328 if eval test \$wx_cv_func_$wx_func = yes
40329 then
40330 cat >>confdefs.h <<_ACEOF
40331 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40332 _ACEOF
40333
40334
40335 else
40336 :
40337
40338 fi
40339 done
40340
40341 fi
40342
40343
40344 for wx_func in strtok_r
40345 do
40346 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40347 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40348 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40349 echo $ECHO_N "(cached) $ECHO_C" >&6
40350 else
40351
40352 cat >conftest.$ac_ext <<_ACEOF
40353
40354 /* confdefs.h. */
40355 _ACEOF
40356 cat confdefs.h >>conftest.$ac_ext
40357 cat >>conftest.$ac_ext <<_ACEOF
40358 /* end confdefs.h. */
40359
40360 #define _REENTRANT
40361 $ac_includes_default
40362
40363 int
40364 main ()
40365 {
40366
40367 #ifndef $wx_func
40368 &$wx_func;
40369 #endif
40370
40371
40372 ;
40373 return 0;
40374 }
40375
40376 _ACEOF
40377 rm -f conftest.$ac_objext conftest$ac_exeext
40378 if { (ac_try="$ac_link"
40379 case "(($ac_try" in
40380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40381 *) ac_try_echo=$ac_try;;
40382 esac
40383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40384 (eval "$ac_link") 2>conftest.er1
40385 ac_status=$?
40386 grep -v '^ *+' conftest.er1 >conftest.err
40387 rm -f conftest.er1
40388 cat conftest.err >&5
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); } && {
40391 test -z "$ac_c_werror_flag" ||
40392 test ! -s conftest.err
40393 } && test -s conftest$ac_exeext &&
40394 $as_test_x conftest$ac_exeext; then
40395 eval wx_cv_func_$wx_func=yes
40396 else
40397 echo "$as_me: failed program was:" >&5
40398 sed 's/^/| /' conftest.$ac_ext >&5
40399
40400 eval wx_cv_func_$wx_func=no
40401 fi
40402
40403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40404 conftest$ac_exeext conftest.$ac_ext
40405
40406 fi
40407 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40408 { echo "$as_me:$LINENO: result: $ac_res" >&5
40409 echo "${ECHO_T}$ac_res" >&6; }
40410
40411 if eval test \$wx_cv_func_$wx_func = yes
40412 then
40413 cat >>confdefs.h <<_ACEOF
40414 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40415 _ACEOF
40416
40417
40418 else
40419 :
40420
40421 fi
40422 done
40423
40424
40425 INET_LINK=
40426
40427 for ac_func in inet_addr
40428 do
40429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40430 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40432 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435 cat >conftest.$ac_ext <<_ACEOF
40436 /* confdefs.h. */
40437 _ACEOF
40438 cat confdefs.h >>conftest.$ac_ext
40439 cat >>conftest.$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40443 #define $ac_func innocuous_$ac_func
40444
40445 /* System header to define __stub macros and hopefully few prototypes,
40446 which can conflict with char $ac_func (); below.
40447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40448 <limits.h> exists even on freestanding compilers. */
40449
40450 #ifdef __STDC__
40451 # include <limits.h>
40452 #else
40453 # include <assert.h>
40454 #endif
40455
40456 #undef $ac_func
40457
40458 /* Override any GCC internal prototype to avoid an error.
40459 Use char because int might match the return type of a GCC
40460 builtin and then its argument prototype would still apply. */
40461 #ifdef __cplusplus
40462 extern "C"
40463 #endif
40464 char $ac_func ();
40465 /* The GNU C library defines this for functions which it implements
40466 to always fail with ENOSYS. Some functions are actually named
40467 something starting with __ and the normal name is an alias. */
40468 #if defined __stub_$ac_func || defined __stub___$ac_func
40469 choke me
40470 #endif
40471
40472 int
40473 main ()
40474 {
40475 return $ac_func ();
40476 ;
40477 return 0;
40478 }
40479 _ACEOF
40480 rm -f conftest.$ac_objext conftest$ac_exeext
40481 if { (ac_try="$ac_link"
40482 case "(($ac_try" in
40483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40484 *) ac_try_echo=$ac_try;;
40485 esac
40486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40487 (eval "$ac_link") 2>conftest.er1
40488 ac_status=$?
40489 grep -v '^ *+' conftest.er1 >conftest.err
40490 rm -f conftest.er1
40491 cat conftest.err >&5
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); } && {
40494 test -z "$ac_c_werror_flag" ||
40495 test ! -s conftest.err
40496 } && test -s conftest$ac_exeext &&
40497 $as_test_x conftest$ac_exeext; then
40498 eval "$as_ac_var=yes"
40499 else
40500 echo "$as_me: failed program was:" >&5
40501 sed 's/^/| /' conftest.$ac_ext >&5
40502
40503 eval "$as_ac_var=no"
40504 fi
40505
40506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40507 conftest$ac_exeext conftest.$ac_ext
40508 fi
40509 ac_res=`eval echo '${'$as_ac_var'}'`
40510 { echo "$as_me:$LINENO: result: $ac_res" >&5
40511 echo "${ECHO_T}$ac_res" >&6; }
40512 if test `eval echo '${'$as_ac_var'}'` = yes; then
40513 cat >>confdefs.h <<_ACEOF
40514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40515 _ACEOF
40516 cat >>confdefs.h <<\_ACEOF
40517 #define HAVE_INET_ADDR 1
40518 _ACEOF
40519
40520 else
40521
40522 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40523 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40524 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40525 echo $ECHO_N "(cached) $ECHO_C" >&6
40526 else
40527 ac_check_lib_save_LIBS=$LIBS
40528 LIBS="-lnsl $LIBS"
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535
40536 /* Override any GCC internal prototype to avoid an error.
40537 Use char because int might match the return type of a GCC
40538 builtin and then its argument prototype would still apply. */
40539 #ifdef __cplusplus
40540 extern "C"
40541 #endif
40542 char inet_addr ();
40543 int
40544 main ()
40545 {
40546 return inet_addr ();
40547 ;
40548 return 0;
40549 }
40550 _ACEOF
40551 rm -f conftest.$ac_objext conftest$ac_exeext
40552 if { (ac_try="$ac_link"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40556 esac
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_link") 2>conftest.er1
40559 ac_status=$?
40560 grep -v '^ *+' conftest.er1 >conftest.err
40561 rm -f conftest.er1
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest$ac_exeext &&
40568 $as_test_x conftest$ac_exeext; then
40569 ac_cv_lib_nsl_inet_addr=yes
40570 else
40571 echo "$as_me: failed program was:" >&5
40572 sed 's/^/| /' conftest.$ac_ext >&5
40573
40574 ac_cv_lib_nsl_inet_addr=no
40575 fi
40576
40577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40578 conftest$ac_exeext conftest.$ac_ext
40579 LIBS=$ac_check_lib_save_LIBS
40580 fi
40581 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40582 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40583 if test $ac_cv_lib_nsl_inet_addr = yes; then
40584 INET_LINK="nsl"
40585 else
40586
40587 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40588 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40589 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40591 else
40592 ac_check_lib_save_LIBS=$LIBS
40593 LIBS="-lresolv $LIBS"
40594 cat >conftest.$ac_ext <<_ACEOF
40595 /* confdefs.h. */
40596 _ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600
40601 /* Override any GCC internal prototype to avoid an error.
40602 Use char because int might match the return type of a GCC
40603 builtin and then its argument prototype would still apply. */
40604 #ifdef __cplusplus
40605 extern "C"
40606 #endif
40607 char inet_addr ();
40608 int
40609 main ()
40610 {
40611 return inet_addr ();
40612 ;
40613 return 0;
40614 }
40615 _ACEOF
40616 rm -f conftest.$ac_objext conftest$ac_exeext
40617 if { (ac_try="$ac_link"
40618 case "(($ac_try" in
40619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40621 esac
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_link") 2>conftest.er1
40624 ac_status=$?
40625 grep -v '^ *+' conftest.er1 >conftest.err
40626 rm -f conftest.er1
40627 cat conftest.err >&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); } && {
40630 test -z "$ac_c_werror_flag" ||
40631 test ! -s conftest.err
40632 } && test -s conftest$ac_exeext &&
40633 $as_test_x conftest$ac_exeext; then
40634 ac_cv_lib_resolv_inet_addr=yes
40635 else
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40638
40639 ac_cv_lib_resolv_inet_addr=no
40640 fi
40641
40642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40643 conftest$ac_exeext conftest.$ac_ext
40644 LIBS=$ac_check_lib_save_LIBS
40645 fi
40646 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40647 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40648 if test $ac_cv_lib_resolv_inet_addr = yes; then
40649 INET_LINK="resolv"
40650 else
40651
40652 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40653 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40654 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40657 ac_check_lib_save_LIBS=$LIBS
40658 LIBS="-lsocket $LIBS"
40659 cat >conftest.$ac_ext <<_ACEOF
40660 /* confdefs.h. */
40661 _ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665
40666 /* Override any GCC internal prototype to avoid an error.
40667 Use char because int might match the return type of a GCC
40668 builtin and then its argument prototype would still apply. */
40669 #ifdef __cplusplus
40670 extern "C"
40671 #endif
40672 char inet_addr ();
40673 int
40674 main ()
40675 {
40676 return inet_addr ();
40677 ;
40678 return 0;
40679 }
40680 _ACEOF
40681 rm -f conftest.$ac_objext conftest$ac_exeext
40682 if { (ac_try="$ac_link"
40683 case "(($ac_try" in
40684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40685 *) ac_try_echo=$ac_try;;
40686 esac
40687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40688 (eval "$ac_link") 2>conftest.er1
40689 ac_status=$?
40690 grep -v '^ *+' conftest.er1 >conftest.err
40691 rm -f conftest.er1
40692 cat conftest.err >&5
40693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40694 (exit $ac_status); } && {
40695 test -z "$ac_c_werror_flag" ||
40696 test ! -s conftest.err
40697 } && test -s conftest$ac_exeext &&
40698 $as_test_x conftest$ac_exeext; then
40699 ac_cv_lib_socket_inet_addr=yes
40700 else
40701 echo "$as_me: failed program was:" >&5
40702 sed 's/^/| /' conftest.$ac_ext >&5
40703
40704 ac_cv_lib_socket_inet_addr=no
40705 fi
40706
40707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40708 conftest$ac_exeext conftest.$ac_ext
40709 LIBS=$ac_check_lib_save_LIBS
40710 fi
40711 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40712 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40713 if test $ac_cv_lib_socket_inet_addr = yes; then
40714 INET_LINK="socket"
40715
40716 fi
40717
40718
40719
40720 fi
40721
40722
40723
40724 fi
40725
40726
40727
40728 fi
40729 done
40730
40731
40732
40733 for ac_func in inet_aton
40734 do
40735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40739 echo $ECHO_N "(cached) $ECHO_C" >&6
40740 else
40741 cat >conftest.$ac_ext <<_ACEOF
40742 /* confdefs.h. */
40743 _ACEOF
40744 cat confdefs.h >>conftest.$ac_ext
40745 cat >>conftest.$ac_ext <<_ACEOF
40746 /* end confdefs.h. */
40747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40749 #define $ac_func innocuous_$ac_func
40750
40751 /* System header to define __stub macros and hopefully few prototypes,
40752 which can conflict with char $ac_func (); below.
40753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40754 <limits.h> exists even on freestanding compilers. */
40755
40756 #ifdef __STDC__
40757 # include <limits.h>
40758 #else
40759 # include <assert.h>
40760 #endif
40761
40762 #undef $ac_func
40763
40764 /* Override any GCC internal prototype to avoid an error.
40765 Use char because int might match the return type of a GCC
40766 builtin and then its argument prototype would still apply. */
40767 #ifdef __cplusplus
40768 extern "C"
40769 #endif
40770 char $ac_func ();
40771 /* The GNU C library defines this for functions which it implements
40772 to always fail with ENOSYS. Some functions are actually named
40773 something starting with __ and the normal name is an alias. */
40774 #if defined __stub_$ac_func || defined __stub___$ac_func
40775 choke me
40776 #endif
40777
40778 int
40779 main ()
40780 {
40781 return $ac_func ();
40782 ;
40783 return 0;
40784 }
40785 _ACEOF
40786 rm -f conftest.$ac_objext conftest$ac_exeext
40787 if { (ac_try="$ac_link"
40788 case "(($ac_try" in
40789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40790 *) ac_try_echo=$ac_try;;
40791 esac
40792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40793 (eval "$ac_link") 2>conftest.er1
40794 ac_status=$?
40795 grep -v '^ *+' conftest.er1 >conftest.err
40796 rm -f conftest.er1
40797 cat conftest.err >&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } && {
40800 test -z "$ac_c_werror_flag" ||
40801 test ! -s conftest.err
40802 } && test -s conftest$ac_exeext &&
40803 $as_test_x conftest$ac_exeext; then
40804 eval "$as_ac_var=yes"
40805 else
40806 echo "$as_me: failed program was:" >&5
40807 sed 's/^/| /' conftest.$ac_ext >&5
40808
40809 eval "$as_ac_var=no"
40810 fi
40811
40812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40813 conftest$ac_exeext conftest.$ac_ext
40814 fi
40815 ac_res=`eval echo '${'$as_ac_var'}'`
40816 { echo "$as_me:$LINENO: result: $ac_res" >&5
40817 echo "${ECHO_T}$ac_res" >&6; }
40818 if test `eval echo '${'$as_ac_var'}'` = yes; then
40819 cat >>confdefs.h <<_ACEOF
40820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40821 _ACEOF
40822 cat >>confdefs.h <<\_ACEOF
40823 #define HAVE_INET_ATON 1
40824 _ACEOF
40825
40826 else
40827
40828 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40829 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40830 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40831 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40833 else
40834 ac_check_lib_save_LIBS=$LIBS
40835 LIBS="-l$INET_LINK $LIBS"
40836 cat >conftest.$ac_ext <<_ACEOF
40837 /* confdefs.h. */
40838 _ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842
40843 /* Override any GCC internal prototype to avoid an error.
40844 Use char because int might match the return type of a GCC
40845 builtin and then its argument prototype would still apply. */
40846 #ifdef __cplusplus
40847 extern "C"
40848 #endif
40849 char inet_aton ();
40850 int
40851 main ()
40852 {
40853 return inet_aton ();
40854 ;
40855 return 0;
40856 }
40857 _ACEOF
40858 rm -f conftest.$ac_objext conftest$ac_exeext
40859 if { (ac_try="$ac_link"
40860 case "(($ac_try" in
40861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40862 *) ac_try_echo=$ac_try;;
40863 esac
40864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40865 (eval "$ac_link") 2>conftest.er1
40866 ac_status=$?
40867 grep -v '^ *+' conftest.er1 >conftest.err
40868 rm -f conftest.er1
40869 cat conftest.err >&5
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); } && {
40872 test -z "$ac_c_werror_flag" ||
40873 test ! -s conftest.err
40874 } && test -s conftest$ac_exeext &&
40875 $as_test_x conftest$ac_exeext; then
40876 eval "$as_ac_Lib=yes"
40877 else
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40880
40881 eval "$as_ac_Lib=no"
40882 fi
40883
40884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40885 conftest$ac_exeext conftest.$ac_ext
40886 LIBS=$ac_check_lib_save_LIBS
40887 fi
40888 ac_res=`eval echo '${'$as_ac_Lib'}'`
40889 { echo "$as_me:$LINENO: result: $ac_res" >&5
40890 echo "${ECHO_T}$ac_res" >&6; }
40891 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40892 cat >>confdefs.h <<\_ACEOF
40893 #define HAVE_INET_ATON 1
40894 _ACEOF
40895
40896 fi
40897
40898
40899 fi
40900 done
40901
40902
40903 if test "x$INET_LINK" != "x"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define HAVE_INET_ADDR 1
40906 _ACEOF
40907
40908 INET_LINK=" -l$INET_LINK"
40909 fi
40910
40911
40912 for wx_func in fdopen
40913 do
40914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40916 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40917 echo $ECHO_N "(cached) $ECHO_C" >&6
40918 else
40919
40920 cat >conftest.$ac_ext <<_ACEOF
40921
40922 /* confdefs.h. */
40923 _ACEOF
40924 cat confdefs.h >>conftest.$ac_ext
40925 cat >>conftest.$ac_ext <<_ACEOF
40926 /* end confdefs.h. */
40927
40928
40929 $ac_includes_default
40930
40931 int
40932 main ()
40933 {
40934
40935 #ifndef $wx_func
40936 &$wx_func;
40937 #endif
40938
40939
40940 ;
40941 return 0;
40942 }
40943
40944 _ACEOF
40945 rm -f conftest.$ac_objext conftest$ac_exeext
40946 if { (ac_try="$ac_link"
40947 case "(($ac_try" in
40948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40949 *) ac_try_echo=$ac_try;;
40950 esac
40951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40952 (eval "$ac_link") 2>conftest.er1
40953 ac_status=$?
40954 grep -v '^ *+' conftest.er1 >conftest.err
40955 rm -f conftest.er1
40956 cat conftest.err >&5
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); } && {
40959 test -z "$ac_c_werror_flag" ||
40960 test ! -s conftest.err
40961 } && test -s conftest$ac_exeext &&
40962 $as_test_x conftest$ac_exeext; then
40963 eval wx_cv_func_$wx_func=yes
40964 else
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968 eval wx_cv_func_$wx_func=no
40969 fi
40970
40971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40972 conftest$ac_exeext conftest.$ac_ext
40973
40974 fi
40975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40976 { echo "$as_me:$LINENO: result: $ac_res" >&5
40977 echo "${ECHO_T}$ac_res" >&6; }
40978
40979 if eval test \$wx_cv_func_$wx_func = yes
40980 then
40981 cat >>confdefs.h <<_ACEOF
40982 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40983 _ACEOF
40984
40985
40986 else
40987 :
40988
40989 fi
40990 done
40991
40992
40993 fi
40994
40995
40996
40997 cat >confcache <<\_ACEOF
40998 # This file is a shell script that caches the results of configure
40999 # tests run on this system so they can be shared between configure
41000 # scripts and configure runs, see configure's option --config-cache.
41001 # It is not useful on other systems. If it contains results you don't
41002 # want to keep, you may remove or edit it.
41003 #
41004 # config.status only pays attention to the cache file if you give it
41005 # the --recheck option to rerun configure.
41006 #
41007 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41008 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41009 # following values.
41010
41011 _ACEOF
41012
41013 # The following way of writing the cache mishandles newlines in values,
41014 # but we know of no workaround that is simple, portable, and efficient.
41015 # So, we kill variables containing newlines.
41016 # Ultrix sh set writes to stderr and can't be redirected directly,
41017 # and sets the high bit in the cache file unless we assign to the vars.
41018 (
41019 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41020 eval ac_val=\$$ac_var
41021 case $ac_val in #(
41022 *${as_nl}*)
41023 case $ac_var in #(
41024 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41025 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41026 esac
41027 case $ac_var in #(
41028 _ | IFS | as_nl) ;; #(
41029 *) $as_unset $ac_var ;;
41030 esac ;;
41031 esac
41032 done
41033
41034 (set) 2>&1 |
41035 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41036 *${as_nl}ac_space=\ *)
41037 # `set' does not quote correctly, so add quotes (double-quote
41038 # substitution turns \\\\ into \\, and sed turns \\ into \).
41039 sed -n \
41040 "s/'/'\\\\''/g;
41041 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41042 ;; #(
41043 *)
41044 # `set' quotes correctly as required by POSIX, so do not add quotes.
41045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41046 ;;
41047 esac |
41048 sort
41049 ) |
41050 sed '
41051 /^ac_cv_env_/b end
41052 t clear
41053 :clear
41054 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41055 t end
41056 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41057 :end' >>confcache
41058 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41059 if test -w "$cache_file"; then
41060 test "x$cache_file" != "x/dev/null" &&
41061 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41062 echo "$as_me: updating cache $cache_file" >&6;}
41063 cat confcache >$cache_file
41064 else
41065 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41066 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41067 fi
41068 fi
41069 rm -f confcache
41070
41071
41072 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41073
41074
41075 THREADS_LINK=
41076 THREADS_CFLAGS=
41077
41078 if test "$wxUSE_THREADS" = "yes" ; then
41079 if test "$USE_BEOS" = 1; then
41080 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41081 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41082 wxUSE_THREADS="no"
41083 fi
41084 fi
41085
41086 if test "$wxUSE_THREADS" = "yes" ; then
41087
41088
41089 THREAD_OPTS="-pthread"
41090 if test "x$SUNCXX" = xyes; then
41091 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41092 fi
41093
41094 case "${host}" in
41095 *-*-solaris2* | *-*-sunos4* )
41096 if test "x$GCC" = "xyes"; then
41097 THREAD_OPTS="-pthreads $THREAD_OPTS"
41098 fi
41099 ;;
41100 *-*-freebsd*)
41101 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41102 ;;
41103 *-*-darwin* | *-*-cygwin* )
41104 THREAD_OPTS=""
41105 ;;
41106 *-*-aix*)
41107 THREAD_OPTS="pthreads"
41108 ;;
41109 *-hp-hpux* )
41110 if test "x$GCC" = "xyes"; then
41111 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41112 THREAD_OPTS=""
41113 else
41114 THREAD_OPTS="-mt"
41115 fi
41116 ;;
41117
41118 *-*-irix* )
41119 if test "x$GCC" = "xyes"; then
41120 THREAD_OPTS=""
41121 fi
41122 ;;
41123
41124 *-*-*UnixWare*)
41125 if test "x$GCC" != "xyes"; then
41126 THREAD_OPTS="-Ethread"
41127 fi
41128 ;;
41129 esac
41130
41131 THREAD_OPTS="$THREAD_OPTS pthread none"
41132
41133 THREADS_OK=no
41134 for flag in $THREAD_OPTS; do
41135 case $flag in
41136 none)
41137 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41138 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41139 ;;
41140
41141 -*)
41142 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41143 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41144 THREADS_CFLAGS="$flag"
41145 ;;
41146
41147 *)
41148 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41149 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41150 THREADS_LINK="-l$flag"
41151 ;;
41152 esac
41153
41154 save_LIBS="$LIBS"
41155 save_CFLAGS="$CFLAGS"
41156 LIBS="$THREADS_LINK $LIBS"
41157 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41158
41159 cat >conftest.$ac_ext <<_ACEOF
41160 /* confdefs.h. */
41161 _ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 #include <pthread.h>
41166 int
41167 main ()
41168 {
41169 pthread_create(0,0,0,0);
41170 ;
41171 return 0;
41172 }
41173 _ACEOF
41174 rm -f conftest.$ac_objext conftest$ac_exeext
41175 if { (ac_try="$ac_link"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41178 *) ac_try_echo=$ac_try;;
41179 esac
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_link") 2>conftest.er1
41182 ac_status=$?
41183 grep -v '^ *+' conftest.er1 >conftest.err
41184 rm -f conftest.er1
41185 cat conftest.err >&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_c_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest$ac_exeext &&
41191 $as_test_x conftest$ac_exeext; then
41192 THREADS_OK=yes
41193 else
41194 echo "$as_me: failed program was:" >&5
41195 sed 's/^/| /' conftest.$ac_ext >&5
41196
41197
41198 fi
41199
41200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41201 conftest$ac_exeext conftest.$ac_ext
41202
41203 LIBS="$save_LIBS"
41204 CFLAGS="$save_CFLAGS"
41205
41206 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41207 echo "${ECHO_T}$THREADS_OK" >&6; }
41208 if test "x$THREADS_OK" = "xyes"; then
41209 break;
41210 fi
41211
41212 THREADS_LINK=""
41213 THREADS_CFLAGS=""
41214 done
41215
41216 if test "x$THREADS_OK" != "xyes"; then
41217 wxUSE_THREADS=no
41218 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41219 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41220 else
41221 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41222 LIBS="$THREADS_LINK $LIBS"
41223
41224 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41225 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41226 flag=no
41227 case "${host}" in
41228 *-aix*)
41229 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41230 flag="-D_THREAD_SAFE"
41231 ;;
41232 *-freebsd*)
41233 flag="-D_THREAD_SAFE"
41234 ;;
41235 *-hp-hpux* )
41236 flag="-D_REENTRANT"
41237 if test "x$GCC" != "xyes"; then
41238 flag="$flag -D_RWSTD_MULTI_THREAD"
41239 fi
41240 ;;
41241 *solaris* | alpha*-osf*)
41242 flag="-D_REENTRANT"
41243 ;;
41244 esac
41245 { echo "$as_me:$LINENO: result: ${flag}" >&5
41246 echo "${ECHO_T}${flag}" >&6; }
41247 if test "x$flag" != xno; then
41248 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41249 fi
41250
41251 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41252 fi
41253 fi
41254
41255 if test "$wxUSE_THREADS" = "yes" ; then
41256
41257 for ac_func in thr_setconcurrency
41258 do
41259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41263 echo $ECHO_N "(cached) $ECHO_C" >&6
41264 else
41265 cat >conftest.$ac_ext <<_ACEOF
41266 /* confdefs.h. */
41267 _ACEOF
41268 cat confdefs.h >>conftest.$ac_ext
41269 cat >>conftest.$ac_ext <<_ACEOF
41270 /* end confdefs.h. */
41271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41273 #define $ac_func innocuous_$ac_func
41274
41275 /* System header to define __stub macros and hopefully few prototypes,
41276 which can conflict with char $ac_func (); below.
41277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41278 <limits.h> exists even on freestanding compilers. */
41279
41280 #ifdef __STDC__
41281 # include <limits.h>
41282 #else
41283 # include <assert.h>
41284 #endif
41285
41286 #undef $ac_func
41287
41288 /* Override any GCC internal prototype to avoid an error.
41289 Use char because int might match the return type of a GCC
41290 builtin and then its argument prototype would still apply. */
41291 #ifdef __cplusplus
41292 extern "C"
41293 #endif
41294 char $ac_func ();
41295 /* The GNU C library defines this for functions which it implements
41296 to always fail with ENOSYS. Some functions are actually named
41297 something starting with __ and the normal name is an alias. */
41298 #if defined __stub_$ac_func || defined __stub___$ac_func
41299 choke me
41300 #endif
41301
41302 int
41303 main ()
41304 {
41305 return $ac_func ();
41306 ;
41307 return 0;
41308 }
41309 _ACEOF
41310 rm -f conftest.$ac_objext conftest$ac_exeext
41311 if { (ac_try="$ac_link"
41312 case "(($ac_try" in
41313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41314 *) ac_try_echo=$ac_try;;
41315 esac
41316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41317 (eval "$ac_link") 2>conftest.er1
41318 ac_status=$?
41319 grep -v '^ *+' conftest.er1 >conftest.err
41320 rm -f conftest.er1
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } && {
41324 test -z "$ac_c_werror_flag" ||
41325 test ! -s conftest.err
41326 } && test -s conftest$ac_exeext &&
41327 $as_test_x conftest$ac_exeext; then
41328 eval "$as_ac_var=yes"
41329 else
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333 eval "$as_ac_var=no"
41334 fi
41335
41336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41337 conftest$ac_exeext conftest.$ac_ext
41338 fi
41339 ac_res=`eval echo '${'$as_ac_var'}'`
41340 { echo "$as_me:$LINENO: result: $ac_res" >&5
41341 echo "${ECHO_T}$ac_res" >&6; }
41342 if test `eval echo '${'$as_ac_var'}'` = yes; then
41343 cat >>confdefs.h <<_ACEOF
41344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41345 _ACEOF
41346
41347 fi
41348 done
41349
41350
41351 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41352 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41353 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41355 else
41356
41357 ac_ext=cpp
41358 ac_cpp='$CXXCPP $CPPFLAGS'
41359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41362
41363 cat >conftest.$ac_ext <<_ACEOF
41364 /* confdefs.h. */
41365 _ACEOF
41366 cat confdefs.h >>conftest.$ac_ext
41367 cat >>conftest.$ac_ext <<_ACEOF
41368 /* end confdefs.h. */
41369 #include <pthread.h>
41370 void ThreadCleanupFunc(void *p);
41371
41372 int
41373 main ()
41374 {
41375
41376 void *p;
41377 pthread_cleanup_push(ThreadCleanupFunc, p);
41378 pthread_cleanup_pop(0);
41379
41380 ;
41381 return 0;
41382 }
41383 _ACEOF
41384 rm -f conftest.$ac_objext
41385 if { (ac_try="$ac_compile"
41386 case "(($ac_try" in
41387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41388 *) ac_try_echo=$ac_try;;
41389 esac
41390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41391 (eval "$ac_compile") 2>conftest.er1
41392 ac_status=$?
41393 grep -v '^ *+' conftest.er1 >conftest.err
41394 rm -f conftest.er1
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } && {
41398 test -z "$ac_cxx_werror_flag" ||
41399 test ! -s conftest.err
41400 } && test -s conftest.$ac_objext; then
41401
41402 wx_cv_func_pthread_cleanup=yes
41403
41404 else
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.$ac_ext >&5
41407
41408
41409 wx_cv_func_pthread_cleanup=no
41410
41411
41412 fi
41413
41414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41415 ac_ext=c
41416 ac_cpp='$CPP $CPPFLAGS'
41417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41420
41421
41422 fi
41423 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41424 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41425 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41426 cat >>confdefs.h <<\_ACEOF
41427 #define wxHAVE_PTHREAD_CLEANUP 1
41428 _ACEOF
41429
41430 fi
41431
41432 { echo "$as_me:$LINENO: checking for sched.h" >&5
41433 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
41434 if test "${ac_cv_header_sched_h+set}" = set; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41436 else
41437 cat >conftest.$ac_ext <<_ACEOF
41438 /* confdefs.h. */
41439 _ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443 $ac_includes_default
41444
41445 #include <sched.h>
41446 _ACEOF
41447 rm -f conftest.$ac_objext
41448 if { (ac_try="$ac_compile"
41449 case "(($ac_try" in
41450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41451 *) ac_try_echo=$ac_try;;
41452 esac
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_compile") 2>conftest.er1
41455 ac_status=$?
41456 grep -v '^ *+' conftest.er1 >conftest.err
41457 rm -f conftest.er1
41458 cat conftest.err >&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_c_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest.$ac_objext; then
41464 ac_cv_header_sched_h=yes
41465 else
41466 echo "$as_me: failed program was:" >&5
41467 sed 's/^/| /' conftest.$ac_ext >&5
41468
41469 ac_cv_header_sched_h=no
41470 fi
41471
41472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41473 fi
41474 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
41475 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
41476
41477
41478 if test "$ac_cv_header_sched_h" = "yes"; then
41479 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41480 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41481 if test "${ac_cv_func_sched_yield+set}" = set; then
41482 echo $ECHO_N "(cached) $ECHO_C" >&6
41483 else
41484 cat >conftest.$ac_ext <<_ACEOF
41485 /* confdefs.h. */
41486 _ACEOF
41487 cat confdefs.h >>conftest.$ac_ext
41488 cat >>conftest.$ac_ext <<_ACEOF
41489 /* end confdefs.h. */
41490 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41492 #define sched_yield innocuous_sched_yield
41493
41494 /* System header to define __stub macros and hopefully few prototypes,
41495 which can conflict with char sched_yield (); below.
41496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41497 <limits.h> exists even on freestanding compilers. */
41498
41499 #ifdef __STDC__
41500 # include <limits.h>
41501 #else
41502 # include <assert.h>
41503 #endif
41504
41505 #undef sched_yield
41506
41507 /* Override any GCC internal prototype to avoid an error.
41508 Use char because int might match the return type of a GCC
41509 builtin and then its argument prototype would still apply. */
41510 #ifdef __cplusplus
41511 extern "C"
41512 #endif
41513 char sched_yield ();
41514 /* The GNU C library defines this for functions which it implements
41515 to always fail with ENOSYS. Some functions are actually named
41516 something starting with __ and the normal name is an alias. */
41517 #if defined __stub_sched_yield || defined __stub___sched_yield
41518 choke me
41519 #endif
41520
41521 int
41522 main ()
41523 {
41524 return sched_yield ();
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_func_sched_yield=yes
41548 else
41549 echo "$as_me: failed program was:" >&5
41550 sed 's/^/| /' conftest.$ac_ext >&5
41551
41552 ac_cv_func_sched_yield=no
41553 fi
41554
41555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41556 conftest$ac_exeext conftest.$ac_ext
41557 fi
41558 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41559 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41560 if test $ac_cv_func_sched_yield = yes; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define HAVE_SCHED_YIELD 1
41563 _ACEOF
41564
41565 else
41566
41567 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41568 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41569 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41570 echo $ECHO_N "(cached) $ECHO_C" >&6
41571 else
41572 ac_check_lib_save_LIBS=$LIBS
41573 LIBS="-lposix4 $LIBS"
41574 cat >conftest.$ac_ext <<_ACEOF
41575 /* confdefs.h. */
41576 _ACEOF
41577 cat confdefs.h >>conftest.$ac_ext
41578 cat >>conftest.$ac_ext <<_ACEOF
41579 /* end confdefs.h. */
41580
41581 /* Override any GCC internal prototype to avoid an error.
41582 Use char because int might match the return type of a GCC
41583 builtin and then its argument prototype would still apply. */
41584 #ifdef __cplusplus
41585 extern "C"
41586 #endif
41587 char sched_yield ();
41588 int
41589 main ()
41590 {
41591 return sched_yield ();
41592 ;
41593 return 0;
41594 }
41595 _ACEOF
41596 rm -f conftest.$ac_objext conftest$ac_exeext
41597 if { (ac_try="$ac_link"
41598 case "(($ac_try" in
41599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41600 *) ac_try_echo=$ac_try;;
41601 esac
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_link") 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_c_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest$ac_exeext &&
41613 $as_test_x conftest$ac_exeext; then
41614 ac_cv_lib_posix4_sched_yield=yes
41615 else
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41618
41619 ac_cv_lib_posix4_sched_yield=no
41620 fi
41621
41622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41623 conftest$ac_exeext conftest.$ac_ext
41624 LIBS=$ac_check_lib_save_LIBS
41625 fi
41626 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41627 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41628 if test $ac_cv_lib_posix4_sched_yield = yes; then
41629 cat >>confdefs.h <<\_ACEOF
41630 #define HAVE_SCHED_YIELD 1
41631 _ACEOF
41632 POSIX4_LINK=" -lposix4"
41633 else
41634 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41635 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41636
41637 fi
41638
41639
41640
41641 fi
41642
41643 fi
41644
41645 HAVE_PRIOR_FUNCS=0
41646 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41647 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41648 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41649 echo $ECHO_N "(cached) $ECHO_C" >&6
41650 else
41651 cat >conftest.$ac_ext <<_ACEOF
41652 /* confdefs.h. */
41653 _ACEOF
41654 cat confdefs.h >>conftest.$ac_ext
41655 cat >>conftest.$ac_ext <<_ACEOF
41656 /* end confdefs.h. */
41657 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41659 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41660
41661 /* System header to define __stub macros and hopefully few prototypes,
41662 which can conflict with char pthread_attr_getschedpolicy (); below.
41663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41664 <limits.h> exists even on freestanding compilers. */
41665
41666 #ifdef __STDC__
41667 # include <limits.h>
41668 #else
41669 # include <assert.h>
41670 #endif
41671
41672 #undef pthread_attr_getschedpolicy
41673
41674 /* Override any GCC internal prototype to avoid an error.
41675 Use char because int might match the return type of a GCC
41676 builtin and then its argument prototype would still apply. */
41677 #ifdef __cplusplus
41678 extern "C"
41679 #endif
41680 char pthread_attr_getschedpolicy ();
41681 /* The GNU C library defines this for functions which it implements
41682 to always fail with ENOSYS. Some functions are actually named
41683 something starting with __ and the normal name is an alias. */
41684 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41685 choke me
41686 #endif
41687
41688 int
41689 main ()
41690 {
41691 return pthread_attr_getschedpolicy ();
41692 ;
41693 return 0;
41694 }
41695 _ACEOF
41696 rm -f conftest.$ac_objext conftest$ac_exeext
41697 if { (ac_try="$ac_link"
41698 case "(($ac_try" in
41699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41700 *) ac_try_echo=$ac_try;;
41701 esac
41702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41703 (eval "$ac_link") 2>conftest.er1
41704 ac_status=$?
41705 grep -v '^ *+' conftest.er1 >conftest.err
41706 rm -f conftest.er1
41707 cat conftest.err >&5
41708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41709 (exit $ac_status); } && {
41710 test -z "$ac_c_werror_flag" ||
41711 test ! -s conftest.err
41712 } && test -s conftest$ac_exeext &&
41713 $as_test_x conftest$ac_exeext; then
41714 ac_cv_func_pthread_attr_getschedpolicy=yes
41715 else
41716 echo "$as_me: failed program was:" >&5
41717 sed 's/^/| /' conftest.$ac_ext >&5
41718
41719 ac_cv_func_pthread_attr_getschedpolicy=no
41720 fi
41721
41722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41723 conftest$ac_exeext conftest.$ac_ext
41724 fi
41725 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41726 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41727 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41728 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41729 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41730 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 else
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41741 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41742
41743 /* System header to define __stub macros and hopefully few prototypes,
41744 which can conflict with char pthread_attr_setschedparam (); below.
41745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41746 <limits.h> exists even on freestanding compilers. */
41747
41748 #ifdef __STDC__
41749 # include <limits.h>
41750 #else
41751 # include <assert.h>
41752 #endif
41753
41754 #undef pthread_attr_setschedparam
41755
41756 /* Override any GCC internal prototype to avoid an error.
41757 Use char because int might match the return type of a GCC
41758 builtin and then its argument prototype would still apply. */
41759 #ifdef __cplusplus
41760 extern "C"
41761 #endif
41762 char pthread_attr_setschedparam ();
41763 /* The GNU C library defines this for functions which it implements
41764 to always fail with ENOSYS. Some functions are actually named
41765 something starting with __ and the normal name is an alias. */
41766 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41767 choke me
41768 #endif
41769
41770 int
41771 main ()
41772 {
41773 return pthread_attr_setschedparam ();
41774 ;
41775 return 0;
41776 }
41777 _ACEOF
41778 rm -f conftest.$ac_objext conftest$ac_exeext
41779 if { (ac_try="$ac_link"
41780 case "(($ac_try" in
41781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41782 *) ac_try_echo=$ac_try;;
41783 esac
41784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41785 (eval "$ac_link") 2>conftest.er1
41786 ac_status=$?
41787 grep -v '^ *+' conftest.er1 >conftest.err
41788 rm -f conftest.er1
41789 cat conftest.err >&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } && {
41792 test -z "$ac_c_werror_flag" ||
41793 test ! -s conftest.err
41794 } && test -s conftest$ac_exeext &&
41795 $as_test_x conftest$ac_exeext; then
41796 ac_cv_func_pthread_attr_setschedparam=yes
41797 else
41798 echo "$as_me: failed program was:" >&5
41799 sed 's/^/| /' conftest.$ac_ext >&5
41800
41801 ac_cv_func_pthread_attr_setschedparam=no
41802 fi
41803
41804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41805 conftest$ac_exeext conftest.$ac_ext
41806 fi
41807 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41808 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41809 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41810 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41811 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41812 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41813 echo $ECHO_N "(cached) $ECHO_C" >&6
41814 else
41815 cat >conftest.$ac_ext <<_ACEOF
41816 /* confdefs.h. */
41817 _ACEOF
41818 cat confdefs.h >>conftest.$ac_ext
41819 cat >>conftest.$ac_ext <<_ACEOF
41820 /* end confdefs.h. */
41821 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41823 #define sched_get_priority_max innocuous_sched_get_priority_max
41824
41825 /* System header to define __stub macros and hopefully few prototypes,
41826 which can conflict with char sched_get_priority_max (); below.
41827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41828 <limits.h> exists even on freestanding compilers. */
41829
41830 #ifdef __STDC__
41831 # include <limits.h>
41832 #else
41833 # include <assert.h>
41834 #endif
41835
41836 #undef sched_get_priority_max
41837
41838 /* Override any GCC internal prototype to avoid an error.
41839 Use char because int might match the return type of a GCC
41840 builtin and then its argument prototype would still apply. */
41841 #ifdef __cplusplus
41842 extern "C"
41843 #endif
41844 char sched_get_priority_max ();
41845 /* The GNU C library defines this for functions which it implements
41846 to always fail with ENOSYS. Some functions are actually named
41847 something starting with __ and the normal name is an alias. */
41848 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41849 choke me
41850 #endif
41851
41852 int
41853 main ()
41854 {
41855 return sched_get_priority_max ();
41856 ;
41857 return 0;
41858 }
41859 _ACEOF
41860 rm -f conftest.$ac_objext conftest$ac_exeext
41861 if { (ac_try="$ac_link"
41862 case "(($ac_try" in
41863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41864 *) ac_try_echo=$ac_try;;
41865 esac
41866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41867 (eval "$ac_link") 2>conftest.er1
41868 ac_status=$?
41869 grep -v '^ *+' conftest.er1 >conftest.err
41870 rm -f conftest.er1
41871 cat conftest.err >&5
41872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41873 (exit $ac_status); } && {
41874 test -z "$ac_c_werror_flag" ||
41875 test ! -s conftest.err
41876 } && test -s conftest$ac_exeext &&
41877 $as_test_x conftest$ac_exeext; then
41878 ac_cv_func_sched_get_priority_max=yes
41879 else
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41882
41883 ac_cv_func_sched_get_priority_max=no
41884 fi
41885
41886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41887 conftest$ac_exeext conftest.$ac_ext
41888 fi
41889 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41890 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41891 if test $ac_cv_func_sched_get_priority_max = yes; then
41892 HAVE_PRIOR_FUNCS=1
41893 else
41894 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41895 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41896 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 else
41899 ac_check_lib_save_LIBS=$LIBS
41900 LIBS="-lposix4 $LIBS"
41901 cat >conftest.$ac_ext <<_ACEOF
41902 /* confdefs.h. */
41903 _ACEOF
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41907
41908 /* Override any GCC internal prototype to avoid an error.
41909 Use char because int might match the return type of a GCC
41910 builtin and then its argument prototype would still apply. */
41911 #ifdef __cplusplus
41912 extern "C"
41913 #endif
41914 char sched_get_priority_max ();
41915 int
41916 main ()
41917 {
41918 return sched_get_priority_max ();
41919 ;
41920 return 0;
41921 }
41922 _ACEOF
41923 rm -f conftest.$ac_objext conftest$ac_exeext
41924 if { (ac_try="$ac_link"
41925 case "(($ac_try" in
41926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41927 *) ac_try_echo=$ac_try;;
41928 esac
41929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41930 (eval "$ac_link") 2>conftest.er1
41931 ac_status=$?
41932 grep -v '^ *+' conftest.er1 >conftest.err
41933 rm -f conftest.er1
41934 cat conftest.err >&5
41935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41936 (exit $ac_status); } && {
41937 test -z "$ac_c_werror_flag" ||
41938 test ! -s conftest.err
41939 } && test -s conftest$ac_exeext &&
41940 $as_test_x conftest$ac_exeext; then
41941 ac_cv_lib_posix4_sched_get_priority_max=yes
41942 else
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41945
41946 ac_cv_lib_posix4_sched_get_priority_max=no
41947 fi
41948
41949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41950 conftest$ac_exeext conftest.$ac_ext
41951 LIBS=$ac_check_lib_save_LIBS
41952 fi
41953 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41954 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41955 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41956
41957 HAVE_PRIOR_FUNCS=1
41958 POSIX4_LINK=" -lposix4"
41959
41960 fi
41961
41962
41963 fi
41964
41965
41966 fi
41967
41968
41969 fi
41970
41971
41972 if test "$HAVE_PRIOR_FUNCS" = 1; then
41973 cat >>confdefs.h <<\_ACEOF
41974 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41975 _ACEOF
41976
41977 else
41978 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41979 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41980 fi
41981
41982 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41983 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41984 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41986 else
41987 cat >conftest.$ac_ext <<_ACEOF
41988 /* confdefs.h. */
41989 _ACEOF
41990 cat confdefs.h >>conftest.$ac_ext
41991 cat >>conftest.$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41995 #define pthread_cancel innocuous_pthread_cancel
41996
41997 /* System header to define __stub macros and hopefully few prototypes,
41998 which can conflict with char pthread_cancel (); below.
41999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42000 <limits.h> exists even on freestanding compilers. */
42001
42002 #ifdef __STDC__
42003 # include <limits.h>
42004 #else
42005 # include <assert.h>
42006 #endif
42007
42008 #undef pthread_cancel
42009
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42013 #ifdef __cplusplus
42014 extern "C"
42015 #endif
42016 char pthread_cancel ();
42017 /* The GNU C library defines this for functions which it implements
42018 to always fail with ENOSYS. Some functions are actually named
42019 something starting with __ and the normal name is an alias. */
42020 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42021 choke me
42022 #endif
42023
42024 int
42025 main ()
42026 {
42027 return pthread_cancel ();
42028 ;
42029 return 0;
42030 }
42031 _ACEOF
42032 rm -f conftest.$ac_objext conftest$ac_exeext
42033 if { (ac_try="$ac_link"
42034 case "(($ac_try" in
42035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42036 *) ac_try_echo=$ac_try;;
42037 esac
42038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42039 (eval "$ac_link") 2>conftest.er1
42040 ac_status=$?
42041 grep -v '^ *+' conftest.er1 >conftest.err
42042 rm -f conftest.er1
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } && {
42046 test -z "$ac_c_werror_flag" ||
42047 test ! -s conftest.err
42048 } && test -s conftest$ac_exeext &&
42049 $as_test_x conftest$ac_exeext; then
42050 ac_cv_func_pthread_cancel=yes
42051 else
42052 echo "$as_me: failed program was:" >&5
42053 sed 's/^/| /' conftest.$ac_ext >&5
42054
42055 ac_cv_func_pthread_cancel=no
42056 fi
42057
42058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42059 conftest$ac_exeext conftest.$ac_ext
42060 fi
42061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42062 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42063 if test $ac_cv_func_pthread_cancel = yes; then
42064 cat >>confdefs.h <<\_ACEOF
42065 #define HAVE_PTHREAD_CANCEL 1
42066 _ACEOF
42067
42068 else
42069 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42070 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42071 fi
42072
42073
42074 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42075 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42076 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42078 else
42079 cat >conftest.$ac_ext <<_ACEOF
42080 /* confdefs.h. */
42081 _ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42087 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42088
42089 /* System header to define __stub macros and hopefully few prototypes,
42090 which can conflict with char pthread_mutex_timedlock (); below.
42091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42092 <limits.h> exists even on freestanding compilers. */
42093
42094 #ifdef __STDC__
42095 # include <limits.h>
42096 #else
42097 # include <assert.h>
42098 #endif
42099
42100 #undef pthread_mutex_timedlock
42101
42102 /* Override any GCC internal prototype to avoid an error.
42103 Use char because int might match the return type of a GCC
42104 builtin and then its argument prototype would still apply. */
42105 #ifdef __cplusplus
42106 extern "C"
42107 #endif
42108 char pthread_mutex_timedlock ();
42109 /* The GNU C library defines this for functions which it implements
42110 to always fail with ENOSYS. Some functions are actually named
42111 something starting with __ and the normal name is an alias. */
42112 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42113 choke me
42114 #endif
42115
42116 int
42117 main ()
42118 {
42119 return pthread_mutex_timedlock ();
42120 ;
42121 return 0;
42122 }
42123 _ACEOF
42124 rm -f conftest.$ac_objext conftest$ac_exeext
42125 if { (ac_try="$ac_link"
42126 case "(($ac_try" in
42127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42128 *) ac_try_echo=$ac_try;;
42129 esac
42130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42131 (eval "$ac_link") 2>conftest.er1
42132 ac_status=$?
42133 grep -v '^ *+' conftest.er1 >conftest.err
42134 rm -f conftest.er1
42135 cat conftest.err >&5
42136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42137 (exit $ac_status); } && {
42138 test -z "$ac_c_werror_flag" ||
42139 test ! -s conftest.err
42140 } && test -s conftest$ac_exeext &&
42141 $as_test_x conftest$ac_exeext; then
42142 ac_cv_func_pthread_mutex_timedlock=yes
42143 else
42144 echo "$as_me: failed program was:" >&5
42145 sed 's/^/| /' conftest.$ac_ext >&5
42146
42147 ac_cv_func_pthread_mutex_timedlock=no
42148 fi
42149
42150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42151 conftest$ac_exeext conftest.$ac_ext
42152 fi
42153 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42154 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42155 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42156 cat >>confdefs.h <<\_ACEOF
42157 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42158 _ACEOF
42159
42160 else
42161 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42162 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42163 fi
42164
42165
42166 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42167 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42168 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42169 echo $ECHO_N "(cached) $ECHO_C" >&6
42170 else
42171 cat >conftest.$ac_ext <<_ACEOF
42172 /* confdefs.h. */
42173 _ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42177 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42179 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42180
42181 /* System header to define __stub macros and hopefully few prototypes,
42182 which can conflict with char pthread_attr_setstacksize (); below.
42183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42184 <limits.h> exists even on freestanding compilers. */
42185
42186 #ifdef __STDC__
42187 # include <limits.h>
42188 #else
42189 # include <assert.h>
42190 #endif
42191
42192 #undef pthread_attr_setstacksize
42193
42194 /* Override any GCC internal prototype to avoid an error.
42195 Use char because int might match the return type of a GCC
42196 builtin and then its argument prototype would still apply. */
42197 #ifdef __cplusplus
42198 extern "C"
42199 #endif
42200 char pthread_attr_setstacksize ();
42201 /* The GNU C library defines this for functions which it implements
42202 to always fail with ENOSYS. Some functions are actually named
42203 something starting with __ and the normal name is an alias. */
42204 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42205 choke me
42206 #endif
42207
42208 int
42209 main ()
42210 {
42211 return pthread_attr_setstacksize ();
42212 ;
42213 return 0;
42214 }
42215 _ACEOF
42216 rm -f conftest.$ac_objext conftest$ac_exeext
42217 if { (ac_try="$ac_link"
42218 case "(($ac_try" in
42219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42220 *) ac_try_echo=$ac_try;;
42221 esac
42222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42223 (eval "$ac_link") 2>conftest.er1
42224 ac_status=$?
42225 grep -v '^ *+' conftest.er1 >conftest.err
42226 rm -f conftest.er1
42227 cat conftest.err >&5
42228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42229 (exit $ac_status); } && {
42230 test -z "$ac_c_werror_flag" ||
42231 test ! -s conftest.err
42232 } && test -s conftest$ac_exeext &&
42233 $as_test_x conftest$ac_exeext; then
42234 ac_cv_func_pthread_attr_setstacksize=yes
42235 else
42236 echo "$as_me: failed program was:" >&5
42237 sed 's/^/| /' conftest.$ac_ext >&5
42238
42239 ac_cv_func_pthread_attr_setstacksize=no
42240 fi
42241
42242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42243 conftest$ac_exeext conftest.$ac_ext
42244 fi
42245 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42246 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42247 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42248 cat >>confdefs.h <<\_ACEOF
42249 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42250 _ACEOF
42251
42252 fi
42253
42254
42255
42256 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42257 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42258 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42259 echo $ECHO_N "(cached) $ECHO_C" >&6
42260 else
42261
42262 cat >conftest.$ac_ext <<_ACEOF
42263 /* confdefs.h. */
42264 _ACEOF
42265 cat confdefs.h >>conftest.$ac_ext
42266 cat >>conftest.$ac_ext <<_ACEOF
42267 /* end confdefs.h. */
42268 #include <pthread.h>
42269 int
42270 main ()
42271 {
42272
42273 pthread_mutexattr_t attr;
42274 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42275
42276 ;
42277 return 0;
42278 }
42279 _ACEOF
42280 rm -f conftest.$ac_objext
42281 if { (ac_try="$ac_compile"
42282 case "(($ac_try" in
42283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42284 *) ac_try_echo=$ac_try;;
42285 esac
42286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42287 (eval "$ac_compile") 2>conftest.er1
42288 ac_status=$?
42289 grep -v '^ *+' conftest.er1 >conftest.err
42290 rm -f conftest.er1
42291 cat conftest.err >&5
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); } && {
42294 test -z "$ac_c_werror_flag" ||
42295 test ! -s conftest.err
42296 } && test -s conftest.$ac_objext; then
42297 wx_cv_type_pthread_mutexattr_t=yes
42298 else
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.$ac_ext >&5
42301
42302 wx_cv_type_pthread_mutexattr_t=no
42303
42304 fi
42305
42306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42307
42308 fi
42309 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42310 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42311
42312 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42313 cat >>confdefs.h <<\_ACEOF
42314 #define HAVE_PTHREAD_MUTEXATTR_T 1
42315 _ACEOF
42316
42317
42318 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42319 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42320 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42321 echo $ECHO_N "(cached) $ECHO_C" >&6
42322 else
42323
42324 cat >conftest.$ac_ext <<_ACEOF
42325 /* confdefs.h. */
42326 _ACEOF
42327 cat confdefs.h >>conftest.$ac_ext
42328 cat >>conftest.$ac_ext <<_ACEOF
42329 /* end confdefs.h. */
42330 #include <pthread.h>
42331 int
42332 main ()
42333 {
42334
42335 pthread_mutexattr_t attr;
42336 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42337
42338 ;
42339 return 0;
42340 }
42341 _ACEOF
42342 rm -f conftest.$ac_objext
42343 if { (ac_try="$ac_compile"
42344 case "(($ac_try" in
42345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42346 *) ac_try_echo=$ac_try;;
42347 esac
42348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42349 (eval "$ac_compile") 2>conftest.er1
42350 ac_status=$?
42351 grep -v '^ *+' conftest.er1 >conftest.err
42352 rm -f conftest.er1
42353 cat conftest.err >&5
42354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355 (exit $ac_status); } && {
42356 test -z "$ac_c_werror_flag" ||
42357 test ! -s conftest.err
42358 } && test -s conftest.$ac_objext; then
42359 wx_cv_func_pthread_mutexattr_settype_decl=yes
42360 else
42361 echo "$as_me: failed program was:" >&5
42362 sed 's/^/| /' conftest.$ac_ext >&5
42363
42364 wx_cv_func_pthread_mutexattr_settype_decl=no
42365
42366 fi
42367
42368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42369
42370 fi
42371 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42372 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42373 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42374 cat >>confdefs.h <<\_ACEOF
42375 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42376 _ACEOF
42377
42378 fi
42379 else
42380 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42381 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42382 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42383 echo $ECHO_N "(cached) $ECHO_C" >&6
42384 else
42385
42386 cat >conftest.$ac_ext <<_ACEOF
42387 /* confdefs.h. */
42388 _ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 #include <pthread.h>
42393 int
42394 main ()
42395 {
42396
42397 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42398
42399 ;
42400 return 0;
42401 }
42402 _ACEOF
42403 rm -f conftest.$ac_objext
42404 if { (ac_try="$ac_compile"
42405 case "(($ac_try" in
42406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42407 *) ac_try_echo=$ac_try;;
42408 esac
42409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42410 (eval "$ac_compile") 2>conftest.er1
42411 ac_status=$?
42412 grep -v '^ *+' conftest.er1 >conftest.err
42413 rm -f conftest.er1
42414 cat conftest.err >&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); } && {
42417 test -z "$ac_c_werror_flag" ||
42418 test ! -s conftest.err
42419 } && test -s conftest.$ac_objext; then
42420
42421 wx_cv_type_pthread_rec_mutex_init=yes
42422
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427
42428 wx_cv_type_pthread_rec_mutex_init=no
42429
42430
42431 fi
42432
42433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42434
42435 fi
42436 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42437 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42438 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42439 cat >>confdefs.h <<\_ACEOF
42440 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42441 _ACEOF
42442
42443 else
42444 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42445 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42446 fi
42447 fi
42448 fi
42449
42450 else
42451 if test "$wxUSE_THREADS" = "yes" ; then
42452 case "${host}" in
42453 *-*-mingw32* )
42454 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42455 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42456 if test "${wx_cv_cflags_mthread+set}" = set; then
42457 echo $ECHO_N "(cached) $ECHO_C" >&6
42458 else
42459
42460 CFLAGS_OLD="$CFLAGS"
42461 CFLAGS="-mthreads $CFLAGS"
42462 cat >conftest.$ac_ext <<_ACEOF
42463 /* confdefs.h. */
42464 _ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468
42469 int
42470 main ()
42471 {
42472
42473 ;
42474 return 0;
42475 }
42476 _ACEOF
42477 rm -f conftest.$ac_objext
42478 if { (ac_try="$ac_compile"
42479 case "(($ac_try" in
42480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42481 *) ac_try_echo=$ac_try;;
42482 esac
42483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42484 (eval "$ac_compile") 2>conftest.er1
42485 ac_status=$?
42486 grep -v '^ *+' conftest.er1 >conftest.err
42487 rm -f conftest.er1
42488 cat conftest.err >&5
42489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42490 (exit $ac_status); } && {
42491 test -z "$ac_c_werror_flag" ||
42492 test ! -s conftest.err
42493 } && test -s conftest.$ac_objext; then
42494 wx_cv_cflags_mthread=yes
42495 else
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.$ac_ext >&5
42498
42499 wx_cv_cflags_mthread=no
42500
42501 fi
42502
42503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42504
42505
42506 fi
42507 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42508 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42509
42510 if test "$wx_cv_cflags_mthread" = "yes"; then
42511 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42512 LDFLAGS="$LDFLAGS -mthreads"
42513 else
42514 CFLAGS="$CFLAGS_OLD"
42515 fi
42516 ;;
42517 *-pc-os2*emx )
42518 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42519 LDFLAGS="$LDFLAGS -Zmt"
42520 ;;
42521 esac
42522 fi
42523 fi
42524
42525 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42526 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42527 if test "${ac_cv_func_localtime_r+set}" = set; then
42528 echo $ECHO_N "(cached) $ECHO_C" >&6
42529 else
42530 cat >conftest.$ac_ext <<_ACEOF
42531 /* confdefs.h. */
42532 _ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42538 #define localtime_r innocuous_localtime_r
42539
42540 /* System header to define __stub macros and hopefully few prototypes,
42541 which can conflict with char localtime_r (); below.
42542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42543 <limits.h> exists even on freestanding compilers. */
42544
42545 #ifdef __STDC__
42546 # include <limits.h>
42547 #else
42548 # include <assert.h>
42549 #endif
42550
42551 #undef localtime_r
42552
42553 /* Override any GCC internal prototype to avoid an error.
42554 Use char because int might match the return type of a GCC
42555 builtin and then its argument prototype would still apply. */
42556 #ifdef __cplusplus
42557 extern "C"
42558 #endif
42559 char localtime_r ();
42560 /* The GNU C library defines this for functions which it implements
42561 to always fail with ENOSYS. Some functions are actually named
42562 something starting with __ and the normal name is an alias. */
42563 #if defined __stub_localtime_r || defined __stub___localtime_r
42564 choke me
42565 #endif
42566
42567 int
42568 main ()
42569 {
42570 return localtime_r ();
42571 ;
42572 return 0;
42573 }
42574 _ACEOF
42575 rm -f conftest.$ac_objext conftest$ac_exeext
42576 if { (ac_try="$ac_link"
42577 case "(($ac_try" in
42578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42579 *) ac_try_echo=$ac_try;;
42580 esac
42581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42582 (eval "$ac_link") 2>conftest.er1
42583 ac_status=$?
42584 grep -v '^ *+' conftest.er1 >conftest.err
42585 rm -f conftest.er1
42586 cat conftest.err >&5
42587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42588 (exit $ac_status); } && {
42589 test -z "$ac_c_werror_flag" ||
42590 test ! -s conftest.err
42591 } && test -s conftest$ac_exeext &&
42592 $as_test_x conftest$ac_exeext; then
42593 ac_cv_func_localtime_r=yes
42594 else
42595 echo "$as_me: failed program was:" >&5
42596 sed 's/^/| /' conftest.$ac_ext >&5
42597
42598 ac_cv_func_localtime_r=no
42599 fi
42600
42601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42602 conftest$ac_exeext conftest.$ac_ext
42603 fi
42604 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42605 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42606 if test $ac_cv_func_localtime_r = yes; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_LOCALTIME_R 1
42609 _ACEOF
42610
42611 fi
42612
42613 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42614 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42615 if test "${ac_cv_func_gmtime_r+set}" = set; then
42616 echo $ECHO_N "(cached) $ECHO_C" >&6
42617 else
42618 cat >conftest.$ac_ext <<_ACEOF
42619 /* confdefs.h. */
42620 _ACEOF
42621 cat confdefs.h >>conftest.$ac_ext
42622 cat >>conftest.$ac_ext <<_ACEOF
42623 /* end confdefs.h. */
42624 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42626 #define gmtime_r innocuous_gmtime_r
42627
42628 /* System header to define __stub macros and hopefully few prototypes,
42629 which can conflict with char gmtime_r (); below.
42630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42631 <limits.h> exists even on freestanding compilers. */
42632
42633 #ifdef __STDC__
42634 # include <limits.h>
42635 #else
42636 # include <assert.h>
42637 #endif
42638
42639 #undef gmtime_r
42640
42641 /* Override any GCC internal prototype to avoid an error.
42642 Use char because int might match the return type of a GCC
42643 builtin and then its argument prototype would still apply. */
42644 #ifdef __cplusplus
42645 extern "C"
42646 #endif
42647 char gmtime_r ();
42648 /* The GNU C library defines this for functions which it implements
42649 to always fail with ENOSYS. Some functions are actually named
42650 something starting with __ and the normal name is an alias. */
42651 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42652 choke me
42653 #endif
42654
42655 int
42656 main ()
42657 {
42658 return gmtime_r ();
42659 ;
42660 return 0;
42661 }
42662 _ACEOF
42663 rm -f conftest.$ac_objext conftest$ac_exeext
42664 if { (ac_try="$ac_link"
42665 case "(($ac_try" in
42666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42667 *) ac_try_echo=$ac_try;;
42668 esac
42669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42670 (eval "$ac_link") 2>conftest.er1
42671 ac_status=$?
42672 grep -v '^ *+' conftest.er1 >conftest.err
42673 rm -f conftest.er1
42674 cat conftest.err >&5
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); } && {
42677 test -z "$ac_c_werror_flag" ||
42678 test ! -s conftest.err
42679 } && test -s conftest$ac_exeext &&
42680 $as_test_x conftest$ac_exeext; then
42681 ac_cv_func_gmtime_r=yes
42682 else
42683 echo "$as_me: failed program was:" >&5
42684 sed 's/^/| /' conftest.$ac_ext >&5
42685
42686 ac_cv_func_gmtime_r=no
42687 fi
42688
42689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42690 conftest$ac_exeext conftest.$ac_ext
42691 fi
42692 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42693 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42694 if test $ac_cv_func_gmtime_r = yes; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define HAVE_GMTIME_R 1
42697 _ACEOF
42698
42699 fi
42700
42701 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42702 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42703 if test "${ac_cv_func_readdir_r+set}" = set; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 else
42706 cat >conftest.$ac_ext <<_ACEOF
42707 /* confdefs.h. */
42708 _ACEOF
42709 cat confdefs.h >>conftest.$ac_ext
42710 cat >>conftest.$ac_ext <<_ACEOF
42711 /* end confdefs.h. */
42712 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42714 #define readdir_r innocuous_readdir_r
42715
42716 /* System header to define __stub macros and hopefully few prototypes,
42717 which can conflict with char readdir_r (); below.
42718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42719 <limits.h> exists even on freestanding compilers. */
42720
42721 #ifdef __STDC__
42722 # include <limits.h>
42723 #else
42724 # include <assert.h>
42725 #endif
42726
42727 #undef readdir_r
42728
42729 /* Override any GCC internal prototype to avoid an error.
42730 Use char because int might match the return type of a GCC
42731 builtin and then its argument prototype would still apply. */
42732 #ifdef __cplusplus
42733 extern "C"
42734 #endif
42735 char readdir_r ();
42736 /* The GNU C library defines this for functions which it implements
42737 to always fail with ENOSYS. Some functions are actually named
42738 something starting with __ and the normal name is an alias. */
42739 #if defined __stub_readdir_r || defined __stub___readdir_r
42740 choke me
42741 #endif
42742
42743 int
42744 main ()
42745 {
42746 return readdir_r ();
42747 ;
42748 return 0;
42749 }
42750 _ACEOF
42751 rm -f conftest.$ac_objext conftest$ac_exeext
42752 if { (ac_try="$ac_link"
42753 case "(($ac_try" in
42754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42755 *) ac_try_echo=$ac_try;;
42756 esac
42757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42758 (eval "$ac_link") 2>conftest.er1
42759 ac_status=$?
42760 grep -v '^ *+' conftest.er1 >conftest.err
42761 rm -f conftest.er1
42762 cat conftest.err >&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } && {
42765 test -z "$ac_c_werror_flag" ||
42766 test ! -s conftest.err
42767 } && test -s conftest$ac_exeext &&
42768 $as_test_x conftest$ac_exeext; then
42769 ac_cv_func_readdir_r=yes
42770 else
42771 echo "$as_me: failed program was:" >&5
42772 sed 's/^/| /' conftest.$ac_ext >&5
42773
42774 ac_cv_func_readdir_r=no
42775 fi
42776
42777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42778 conftest$ac_exeext conftest.$ac_ext
42779 fi
42780 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42781 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42782 if test $ac_cv_func_readdir_r = yes; then
42783 cat >>confdefs.h <<\_ACEOF
42784 #define HAVE_READDIR_R 1
42785 _ACEOF
42786
42787 fi
42788
42789
42790
42791
42792 ac_ext=c
42793 ac_cpp='$CPP $CPPFLAGS'
42794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42797
42798 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42799 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42800
42801 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 else
42804
42805
42806 ################################################################
42807
42808 ac_cv_func_which_gethostbyname_r=unknown
42809
42810 #
42811 # ONE ARGUMENT (sanity check)
42812 #
42813
42814 # This should fail, as there is no variant of gethostbyname_r() that takes
42815 # a single argument. If it actually compiles, then we can assume that
42816 # netdb.h is not declaring the function, and the compiler is thereby
42817 # assuming an implicit prototype. In which case, we're out of luck.
42818 #
42819 cat >conftest.$ac_ext <<_ACEOF
42820 /* confdefs.h. */
42821 _ACEOF
42822 cat confdefs.h >>conftest.$ac_ext
42823 cat >>conftest.$ac_ext <<_ACEOF
42824 /* end confdefs.h. */
42825 #include <netdb.h>
42826 int
42827 main ()
42828 {
42829
42830 char *name = "www.gnu.org";
42831 (void)gethostbyname_r(name) /* ; */
42832
42833 ;
42834 return 0;
42835 }
42836 _ACEOF
42837 rm -f conftest.$ac_objext
42838 if { (ac_try="$ac_compile"
42839 case "(($ac_try" in
42840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42841 *) ac_try_echo=$ac_try;;
42842 esac
42843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42844 (eval "$ac_compile") 2>conftest.er1
42845 ac_status=$?
42846 grep -v '^ *+' conftest.er1 >conftest.err
42847 rm -f conftest.er1
42848 cat conftest.err >&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); } && {
42851 test -z "$ac_c_werror_flag" ||
42852 test ! -s conftest.err
42853 } && test -s conftest.$ac_objext; then
42854 ac_cv_func_which_gethostbyname_r=no
42855 else
42856 echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42858
42859
42860 fi
42861
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863
42864 #
42865 # SIX ARGUMENTS
42866 # (e.g. Linux)
42867 #
42868
42869 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42870
42871 cat >conftest.$ac_ext <<_ACEOF
42872 /* confdefs.h. */
42873 _ACEOF
42874 cat confdefs.h >>conftest.$ac_ext
42875 cat >>conftest.$ac_ext <<_ACEOF
42876 /* end confdefs.h. */
42877 #include <netdb.h>
42878 int
42879 main ()
42880 {
42881
42882 char *name = "www.gnu.org";
42883 struct hostent ret, *retp;
42884 char buf[1024];
42885 int buflen = 1024;
42886 int my_h_errno;
42887 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42888
42889 ;
42890 return 0;
42891 }
42892 _ACEOF
42893 rm -f conftest.$ac_objext
42894 if { (ac_try="$ac_compile"
42895 case "(($ac_try" in
42896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42897 *) ac_try_echo=$ac_try;;
42898 esac
42899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42900 (eval "$ac_compile") 2>conftest.er1
42901 ac_status=$?
42902 grep -v '^ *+' conftest.er1 >conftest.err
42903 rm -f conftest.er1
42904 cat conftest.err >&5
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); } && {
42907 test -z "$ac_c_werror_flag" ||
42908 test ! -s conftest.err
42909 } && test -s conftest.$ac_objext; then
42910 ac_cv_func_which_gethostbyname_r=six
42911 else
42912 echo "$as_me: failed program was:" >&5
42913 sed 's/^/| /' conftest.$ac_ext >&5
42914
42915
42916 fi
42917
42918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42919
42920 fi
42921
42922 #
42923 # FIVE ARGUMENTS
42924 # (e.g. Solaris)
42925 #
42926
42927 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42928
42929 cat >conftest.$ac_ext <<_ACEOF
42930 /* confdefs.h. */
42931 _ACEOF
42932 cat confdefs.h >>conftest.$ac_ext
42933 cat >>conftest.$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42935 #include <netdb.h>
42936 int
42937 main ()
42938 {
42939
42940 char *name = "www.gnu.org";
42941 struct hostent ret;
42942 char buf[1024];
42943 int buflen = 1024;
42944 int my_h_errno;
42945 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42946
42947 ;
42948 return 0;
42949 }
42950 _ACEOF
42951 rm -f conftest.$ac_objext
42952 if { (ac_try="$ac_compile"
42953 case "(($ac_try" in
42954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42955 *) ac_try_echo=$ac_try;;
42956 esac
42957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42958 (eval "$ac_compile") 2>conftest.er1
42959 ac_status=$?
42960 grep -v '^ *+' conftest.er1 >conftest.err
42961 rm -f conftest.er1
42962 cat conftest.err >&5
42963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42964 (exit $ac_status); } && {
42965 test -z "$ac_c_werror_flag" ||
42966 test ! -s conftest.err
42967 } && test -s conftest.$ac_objext; then
42968 ac_cv_func_which_gethostbyname_r=five
42969 else
42970 echo "$as_me: failed program was:" >&5
42971 sed 's/^/| /' conftest.$ac_ext >&5
42972
42973
42974 fi
42975
42976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42977
42978 fi
42979
42980 #
42981 # THREE ARGUMENTS
42982 # (e.g. AIX, HP-UX, Tru64)
42983 #
42984
42985 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42986
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993 #include <netdb.h>
42994 int
42995 main ()
42996 {
42997
42998 char *name = "www.gnu.org";
42999 struct hostent ret;
43000 struct hostent_data data;
43001 (void)gethostbyname_r(name, &ret, &data) /* ; */
43002
43003 ;
43004 return 0;
43005 }
43006 _ACEOF
43007 rm -f conftest.$ac_objext
43008 if { (ac_try="$ac_compile"
43009 case "(($ac_try" in
43010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43011 *) ac_try_echo=$ac_try;;
43012 esac
43013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43014 (eval "$ac_compile") 2>conftest.er1
43015 ac_status=$?
43016 grep -v '^ *+' conftest.er1 >conftest.err
43017 rm -f conftest.er1
43018 cat conftest.err >&5
43019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020 (exit $ac_status); } && {
43021 test -z "$ac_c_werror_flag" ||
43022 test ! -s conftest.err
43023 } && test -s conftest.$ac_objext; then
43024 ac_cv_func_which_gethostbyname_r=three
43025 else
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.$ac_ext >&5
43028
43029
43030 fi
43031
43032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43033
43034 fi
43035
43036 ################################################################
43037
43038
43039 fi
43040
43041 case "$ac_cv_func_which_gethostbyname_r" in
43042 three)
43043 { echo "$as_me:$LINENO: result: three" >&5
43044 echo "${ECHO_T}three" >&6; }
43045 cat >>confdefs.h <<\_ACEOF
43046 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43047 _ACEOF
43048
43049 ;;
43050
43051 five)
43052 { echo "$as_me:$LINENO: result: five" >&5
43053 echo "${ECHO_T}five" >&6; }
43054 cat >>confdefs.h <<\_ACEOF
43055 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43056 _ACEOF
43057
43058 ;;
43059
43060 six)
43061 { echo "$as_me:$LINENO: result: six" >&5
43062 echo "${ECHO_T}six" >&6; }
43063 cat >>confdefs.h <<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43065 _ACEOF
43066
43067 ;;
43068
43069 no)
43070 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43071 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43072 ;;
43073
43074 unknown)
43075 { echo "$as_me:$LINENO: result: can't tell" >&5
43076 echo "${ECHO_T}can't tell" >&6; }
43077 ;;
43078
43079 *)
43080 { { echo "$as_me:$LINENO: error: internal error" >&5
43081 echo "$as_me: error: internal error" >&2;}
43082 { (exit 1); exit 1; }; }
43083 ;;
43084 esac
43085
43086 ac_ext=c
43087 ac_cpp='$CPP $CPPFLAGS'
43088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43091
43092
43093
43094 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43095 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43096 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43097 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43098 if test "${ac_cv_func_gethostbyname+set}" = set; then
43099 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 else
43101 cat >conftest.$ac_ext <<_ACEOF
43102 /* confdefs.h. */
43103 _ACEOF
43104 cat confdefs.h >>conftest.$ac_ext
43105 cat >>conftest.$ac_ext <<_ACEOF
43106 /* end confdefs.h. */
43107 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43109 #define gethostbyname innocuous_gethostbyname
43110
43111 /* System header to define __stub macros and hopefully few prototypes,
43112 which can conflict with char gethostbyname (); below.
43113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43114 <limits.h> exists even on freestanding compilers. */
43115
43116 #ifdef __STDC__
43117 # include <limits.h>
43118 #else
43119 # include <assert.h>
43120 #endif
43121
43122 #undef gethostbyname
43123
43124 /* Override any GCC internal prototype to avoid an error.
43125 Use char because int might match the return type of a GCC
43126 builtin and then its argument prototype would still apply. */
43127 #ifdef __cplusplus
43128 extern "C"
43129 #endif
43130 char gethostbyname ();
43131 /* The GNU C library defines this for functions which it implements
43132 to always fail with ENOSYS. Some functions are actually named
43133 something starting with __ and the normal name is an alias. */
43134 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43135 choke me
43136 #endif
43137
43138 int
43139 main ()
43140 {
43141 return gethostbyname ();
43142 ;
43143 return 0;
43144 }
43145 _ACEOF
43146 rm -f conftest.$ac_objext conftest$ac_exeext
43147 if { (ac_try="$ac_link"
43148 case "(($ac_try" in
43149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43150 *) ac_try_echo=$ac_try;;
43151 esac
43152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43153 (eval "$ac_link") 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } && {
43160 test -z "$ac_c_werror_flag" ||
43161 test ! -s conftest.err
43162 } && test -s conftest$ac_exeext &&
43163 $as_test_x conftest$ac_exeext; then
43164 ac_cv_func_gethostbyname=yes
43165 else
43166 echo "$as_me: failed program was:" >&5
43167 sed 's/^/| /' conftest.$ac_ext >&5
43168
43169 ac_cv_func_gethostbyname=no
43170 fi
43171
43172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43173 conftest$ac_exeext conftest.$ac_ext
43174 fi
43175 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43176 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43177 if test $ac_cv_func_gethostbyname = yes; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define HAVE_GETHOSTBYNAME 1
43180 _ACEOF
43181
43182 fi
43183
43184 fi
43185
43186 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43187 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43189 echo $ECHO_N "(cached) $ECHO_C" >&6
43190 else
43191
43192 ac_ext=cpp
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43197
43198
43199 cat >conftest.$ac_ext <<_ACEOF
43200 /* confdefs.h. */
43201 _ACEOF
43202 cat confdefs.h >>conftest.$ac_ext
43203 cat >>conftest.$ac_ext <<_ACEOF
43204 /* end confdefs.h. */
43205 #include <netdb.h>
43206 int
43207 main ()
43208 {
43209
43210 char *name;
43211 char *proto;
43212 struct servent *se, *res;
43213 char buffer[2048];
43214 int buflen = 2048;
43215 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43216
43217 ;
43218 return 0;
43219 }
43220 _ACEOF
43221 rm -f conftest.$ac_objext
43222 if { (ac_try="$ac_compile"
43223 case "(($ac_try" in
43224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43225 *) ac_try_echo=$ac_try;;
43226 esac
43227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43228 (eval "$ac_compile") 2>conftest.er1
43229 ac_status=$?
43230 grep -v '^ *+' conftest.er1 >conftest.err
43231 rm -f conftest.er1
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } && {
43235 test -z "$ac_cxx_werror_flag" ||
43236 test ! -s conftest.err
43237 } && test -s conftest.$ac_objext; then
43238 ac_cv_func_which_getservbyname_r=six
43239 else
43240 echo "$as_me: failed program was:" >&5
43241 sed 's/^/| /' conftest.$ac_ext >&5
43242
43243
43244 cat >conftest.$ac_ext <<_ACEOF
43245 /* confdefs.h. */
43246 _ACEOF
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43250 #include <netdb.h>
43251 int
43252 main ()
43253 {
43254
43255 char *name;
43256 char *proto;
43257 struct servent *se;
43258 char buffer[2048];
43259 int buflen = 2048;
43260 (void) getservbyname_r(name, proto, se, buffer, buflen)
43261
43262 ;
43263 return 0;
43264 }
43265 _ACEOF
43266 rm -f conftest.$ac_objext
43267 if { (ac_try="$ac_compile"
43268 case "(($ac_try" in
43269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43270 *) ac_try_echo=$ac_try;;
43271 esac
43272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43273 (eval "$ac_compile") 2>conftest.er1
43274 ac_status=$?
43275 grep -v '^ *+' conftest.er1 >conftest.err
43276 rm -f conftest.er1
43277 cat conftest.err >&5
43278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43279 (exit $ac_status); } && {
43280 test -z "$ac_cxx_werror_flag" ||
43281 test ! -s conftest.err
43282 } && test -s conftest.$ac_objext; then
43283 ac_cv_func_which_getservbyname_r=five
43284 else
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43287
43288
43289 cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h. */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43295 #include <netdb.h>
43296 int
43297 main ()
43298 {
43299
43300 char *name;
43301 char *proto;
43302 struct servent *se;
43303 struct servent_data data;
43304 (void) getservbyname_r(name, proto, se, &data);
43305
43306 ;
43307 return 0;
43308 }
43309 _ACEOF
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43314 *) ac_try_echo=$ac_try;;
43315 esac
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43318 ac_status=$?
43319 grep -v '^ *+' conftest.er1 >conftest.err
43320 rm -f conftest.er1
43321 cat conftest.err >&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.$ac_objext; then
43327 ac_cv_func_which_getservbyname_r=four
43328 else
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43331
43332 ac_cv_func_which_getservbyname_r=no
43333
43334 fi
43335
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337
43338
43339 fi
43340
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342
43343
43344 fi
43345
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347 ac_ext=c
43348 ac_cpp='$CPP $CPPFLAGS'
43349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352
43353
43354
43355 fi
43356 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43357 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43358
43359 if test $ac_cv_func_which_getservbyname_r = six; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43362 _ACEOF
43363
43364 elif test $ac_cv_func_which_getservbyname_r = five; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43367 _ACEOF
43368
43369 elif test $ac_cv_func_which_getservbyname_r = four; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43372 _ACEOF
43373
43374 fi
43375
43376
43377 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43378 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43379
43380 for ac_func in getservbyname
43381 do
43382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43386 echo $ECHO_N "(cached) $ECHO_C" >&6
43387 else
43388 cat >conftest.$ac_ext <<_ACEOF
43389 /* confdefs.h. */
43390 _ACEOF
43391 cat confdefs.h >>conftest.$ac_ext
43392 cat >>conftest.$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43396 #define $ac_func innocuous_$ac_func
43397
43398 /* System header to define __stub macros and hopefully few prototypes,
43399 which can conflict with char $ac_func (); below.
43400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43401 <limits.h> exists even on freestanding compilers. */
43402
43403 #ifdef __STDC__
43404 # include <limits.h>
43405 #else
43406 # include <assert.h>
43407 #endif
43408
43409 #undef $ac_func
43410
43411 /* Override any GCC internal prototype to avoid an error.
43412 Use char because int might match the return type of a GCC
43413 builtin and then its argument prototype would still apply. */
43414 #ifdef __cplusplus
43415 extern "C"
43416 #endif
43417 char $ac_func ();
43418 /* The GNU C library defines this for functions which it implements
43419 to always fail with ENOSYS. Some functions are actually named
43420 something starting with __ and the normal name is an alias. */
43421 #if defined __stub_$ac_func || defined __stub___$ac_func
43422 choke me
43423 #endif
43424
43425 int
43426 main ()
43427 {
43428 return $ac_func ();
43429 ;
43430 return 0;
43431 }
43432 _ACEOF
43433 rm -f conftest.$ac_objext conftest$ac_exeext
43434 if { (ac_try="$ac_link"
43435 case "(($ac_try" in
43436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43437 *) ac_try_echo=$ac_try;;
43438 esac
43439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43440 (eval "$ac_link") 2>conftest.er1
43441 ac_status=$?
43442 grep -v '^ *+' conftest.er1 >conftest.err
43443 rm -f conftest.er1
43444 cat conftest.err >&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); } && {
43447 test -z "$ac_c_werror_flag" ||
43448 test ! -s conftest.err
43449 } && test -s conftest$ac_exeext &&
43450 $as_test_x conftest$ac_exeext; then
43451 eval "$as_ac_var=yes"
43452 else
43453 echo "$as_me: failed program was:" >&5
43454 sed 's/^/| /' conftest.$ac_ext >&5
43455
43456 eval "$as_ac_var=no"
43457 fi
43458
43459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43460 conftest$ac_exeext conftest.$ac_ext
43461 fi
43462 ac_res=`eval echo '${'$as_ac_var'}'`
43463 { echo "$as_me:$LINENO: result: $ac_res" >&5
43464 echo "${ECHO_T}$ac_res" >&6; }
43465 if test `eval echo '${'$as_ac_var'}'` = yes; then
43466 cat >>confdefs.h <<_ACEOF
43467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43468 _ACEOF
43469 cat >>confdefs.h <<\_ACEOF
43470 #define HAVE_GETSERVBYNAME 1
43471 _ACEOF
43472
43473 fi
43474 done
43475
43476 fi
43477
43478 if test "$wxUSE_THREADS" = "yes"; then
43479 cat >>confdefs.h <<\_ACEOF
43480 #define wxUSE_THREADS 1
43481 _ACEOF
43482
43483
43484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43485 else
43486 if test "$wx_cv_func_strtok_r" = "yes"; then
43487 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43488 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43489 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43491 { echo "$as_me:$LINENO: result: yes" >&5
43492 echo "${ECHO_T}yes" >&6; }
43493 else
43494 { echo "$as_me:$LINENO: result: no" >&5
43495 echo "${ECHO_T}no" >&6; }
43496 fi
43497 fi
43498 fi
43499
43500 if test "$WXGTK20" = 1 ; then
43501 cat >>confdefs.h <<_ACEOF
43502 #define __WXGTK20__ $WXGTK20
43503 _ACEOF
43504
43505 WXGTK12=1
43506 fi
43507
43508 if test "$WXGTK12" = 1 ; then
43509 cat >>confdefs.h <<_ACEOF
43510 #define __WXGTK12__ $WXGTK12
43511 _ACEOF
43512
43513 fi
43514
43515 if test "$WXGTK127" = 1 ; then
43516 cat >>confdefs.h <<_ACEOF
43517 #define __WXGTK127__ $WXGTK127
43518 _ACEOF
43519
43520 fi
43521
43522 if test "$WXGPE" = 1 ; then
43523 cat >>confdefs.h <<_ACEOF
43524 #define __WXGPE__ $WXGPE
43525 _ACEOF
43526
43527 fi
43528
43529 DEBUG_CFLAGS=
43530 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43531 DEBUG_CFLAGS="-g"
43532 wxUSE_OPTIMISE=no
43533 fi
43534
43535 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43536 wxUSE_DEBUG_INFO=yes
43537 if test "$GCC" = yes; then
43538 DEBUG_CFLAGS="-ggdb"
43539 fi
43540 fi
43541
43542 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43543 cat >>confdefs.h <<\_ACEOF
43544 #define WXDEBUG 1
43545 _ACEOF
43546
43547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43548 else
43549 if test "$wxUSE_GTK" = 1 ; then
43550 if test "x$wxGTK_VERSION" = "x1" ; then
43551 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43552 fi
43553 fi
43554 fi
43555
43556 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_MEMORY_TRACING 1
43559 _ACEOF
43560
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43563 _ACEOF
43564
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_DEBUG_NEW_ALWAYS 1
43567 _ACEOF
43568
43569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43570 fi
43571
43572 if test "$wxUSE_DMALLOC" = "yes" ; then
43573 DMALLOC_LIBS="-ldmallocthcxx"
43574 fi
43575
43576 PROFILE_FLAGS=
43577 if test "$wxUSE_PROFILE" = "yes" ; then
43578 PROFILE_FLAGS=" -pg"
43579 fi
43580
43581 if test "$GCC" = "yes" ; then
43582 if test "$wxUSE_NO_RTTI" = "yes" ; then
43583 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43584 fi
43585 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43586 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43587 fi
43588 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43589 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43590 fi
43591
43592 case "${host}" in
43593 powerpc*-*-aix* )
43594 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43595 ;;
43596 *-hppa* )
43597 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43598 ;;
43599 esac
43600 fi
43601
43602 OPTIMISE_CFLAGS=
43603 if test "$wxUSE_OPTIMISE" = "no" ; then
43604 if test "$GCC" = yes ; then
43605 OPTIMISE_CFLAGS="-O0"
43606 fi
43607 else
43608 if test "$GCC" = yes ; then
43609 case "${host}" in
43610 *-pc-os2_emx | *-pc-os2-emx )
43611 OPTIMISE_CFLAGS="-O2"
43612 ;;
43613 *)
43614 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43615 ;;
43616 esac
43617 else
43618 OPTIMISE_CFLAGS="-O"
43619 fi
43620 fi
43621
43622
43623 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define WXWIN_COMPATIBILITY_2_6 1
43626 _ACEOF
43627
43628
43629 WXWIN_COMPATIBILITY_2_8="yes"
43630 fi
43631
43632 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define WXWIN_COMPATIBILITY_2_8 1
43635 _ACEOF
43636
43637 fi
43638
43639
43640 if test "$wxUSE_GUI" = "yes"; then
43641 cat >>confdefs.h <<\_ACEOF
43642 #define wxUSE_GUI 1
43643 _ACEOF
43644
43645
43646 fi
43647
43648
43649 if test "$wxUSE_UNIX" = "yes"; then
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_UNIX 1
43652 _ACEOF
43653
43654 fi
43655
43656
43657 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43658
43659 HAVE_DL_FUNCS=0
43660 HAVE_SHL_FUNCS=0
43661 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43662 if test "$USE_DARWIN" = 1; then
43663 HAVE_DL_FUNCS=1
43664 elif test "$USE_DOS" = 1; then
43665 HAVE_DL_FUNCS=0
43666 else
43667
43668 for ac_func in dlopen
43669 do
43670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h. */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43684 #define $ac_func innocuous_$ac_func
43685
43686 /* System header to define __stub macros and hopefully few prototypes,
43687 which can conflict with char $ac_func (); below.
43688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43689 <limits.h> exists even on freestanding compilers. */
43690
43691 #ifdef __STDC__
43692 # include <limits.h>
43693 #else
43694 # include <assert.h>
43695 #endif
43696
43697 #undef $ac_func
43698
43699 /* Override any GCC internal prototype to avoid an error.
43700 Use char because int might match the return type of a GCC
43701 builtin and then its argument prototype would still apply. */
43702 #ifdef __cplusplus
43703 extern "C"
43704 #endif
43705 char $ac_func ();
43706 /* The GNU C library defines this for functions which it implements
43707 to always fail with ENOSYS. Some functions are actually named
43708 something starting with __ and the normal name is an alias. */
43709 #if defined __stub_$ac_func || defined __stub___$ac_func
43710 choke me
43711 #endif
43712
43713 int
43714 main ()
43715 {
43716 return $ac_func ();
43717 ;
43718 return 0;
43719 }
43720 _ACEOF
43721 rm -f conftest.$ac_objext conftest$ac_exeext
43722 if { (ac_try="$ac_link"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43726 esac
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_link") 2>conftest.er1
43729 ac_status=$?
43730 grep -v '^ *+' conftest.er1 >conftest.err
43731 rm -f conftest.er1
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_c_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest$ac_exeext &&
43738 $as_test_x conftest$ac_exeext; then
43739 eval "$as_ac_var=yes"
43740 else
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 eval "$as_ac_var=no"
43745 fi
43746
43747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43748 conftest$ac_exeext conftest.$ac_ext
43749 fi
43750 ac_res=`eval echo '${'$as_ac_var'}'`
43751 { echo "$as_me:$LINENO: result: $ac_res" >&5
43752 echo "${ECHO_T}$ac_res" >&6; }
43753 if test `eval echo '${'$as_ac_var'}'` = yes; then
43754 cat >>confdefs.h <<_ACEOF
43755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43756 _ACEOF
43757
43758 cat >>confdefs.h <<\_ACEOF
43759 #define HAVE_DLOPEN 1
43760 _ACEOF
43761
43762 HAVE_DL_FUNCS=1
43763
43764 else
43765
43766 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43767 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43768 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43769 echo $ECHO_N "(cached) $ECHO_C" >&6
43770 else
43771 ac_check_lib_save_LIBS=$LIBS
43772 LIBS="-ldl $LIBS"
43773 cat >conftest.$ac_ext <<_ACEOF
43774 /* confdefs.h. */
43775 _ACEOF
43776 cat confdefs.h >>conftest.$ac_ext
43777 cat >>conftest.$ac_ext <<_ACEOF
43778 /* end confdefs.h. */
43779
43780 /* Override any GCC internal prototype to avoid an error.
43781 Use char because int might match the return type of a GCC
43782 builtin and then its argument prototype would still apply. */
43783 #ifdef __cplusplus
43784 extern "C"
43785 #endif
43786 char dlopen ();
43787 int
43788 main ()
43789 {
43790 return dlopen ();
43791 ;
43792 return 0;
43793 }
43794 _ACEOF
43795 rm -f conftest.$ac_objext conftest$ac_exeext
43796 if { (ac_try="$ac_link"
43797 case "(($ac_try" in
43798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43799 *) ac_try_echo=$ac_try;;
43800 esac
43801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43802 (eval "$ac_link") 2>conftest.er1
43803 ac_status=$?
43804 grep -v '^ *+' conftest.er1 >conftest.err
43805 rm -f conftest.er1
43806 cat conftest.err >&5
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); } && {
43809 test -z "$ac_c_werror_flag" ||
43810 test ! -s conftest.err
43811 } && test -s conftest$ac_exeext &&
43812 $as_test_x conftest$ac_exeext; then
43813 ac_cv_lib_dl_dlopen=yes
43814 else
43815 echo "$as_me: failed program was:" >&5
43816 sed 's/^/| /' conftest.$ac_ext >&5
43817
43818 ac_cv_lib_dl_dlopen=no
43819 fi
43820
43821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43822 conftest$ac_exeext conftest.$ac_ext
43823 LIBS=$ac_check_lib_save_LIBS
43824 fi
43825 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43826 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43827 if test $ac_cv_lib_dl_dlopen = yes; then
43828
43829 cat >>confdefs.h <<\_ACEOF
43830 #define HAVE_DLOPEN 1
43831 _ACEOF
43832
43833 HAVE_DL_FUNCS=1
43834 DL_LINK=" -ldl$DL_LINK"
43835
43836 else
43837
43838
43839 for ac_func in shl_load
43840 do
43841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43845 echo $ECHO_N "(cached) $ECHO_C" >&6
43846 else
43847 cat >conftest.$ac_ext <<_ACEOF
43848 /* confdefs.h. */
43849 _ACEOF
43850 cat confdefs.h >>conftest.$ac_ext
43851 cat >>conftest.$ac_ext <<_ACEOF
43852 /* end confdefs.h. */
43853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43855 #define $ac_func innocuous_$ac_func
43856
43857 /* System header to define __stub macros and hopefully few prototypes,
43858 which can conflict with char $ac_func (); below.
43859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43860 <limits.h> exists even on freestanding compilers. */
43861
43862 #ifdef __STDC__
43863 # include <limits.h>
43864 #else
43865 # include <assert.h>
43866 #endif
43867
43868 #undef $ac_func
43869
43870 /* Override any GCC internal prototype to avoid an error.
43871 Use char because int might match the return type of a GCC
43872 builtin and then its argument prototype would still apply. */
43873 #ifdef __cplusplus
43874 extern "C"
43875 #endif
43876 char $ac_func ();
43877 /* The GNU C library defines this for functions which it implements
43878 to always fail with ENOSYS. Some functions are actually named
43879 something starting with __ and the normal name is an alias. */
43880 #if defined __stub_$ac_func || defined __stub___$ac_func
43881 choke me
43882 #endif
43883
43884 int
43885 main ()
43886 {
43887 return $ac_func ();
43888 ;
43889 return 0;
43890 }
43891 _ACEOF
43892 rm -f conftest.$ac_objext conftest$ac_exeext
43893 if { (ac_try="$ac_link"
43894 case "(($ac_try" in
43895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43896 *) ac_try_echo=$ac_try;;
43897 esac
43898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43899 (eval "$ac_link") 2>conftest.er1
43900 ac_status=$?
43901 grep -v '^ *+' conftest.er1 >conftest.err
43902 rm -f conftest.er1
43903 cat conftest.err >&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); } && {
43906 test -z "$ac_c_werror_flag" ||
43907 test ! -s conftest.err
43908 } && test -s conftest$ac_exeext &&
43909 $as_test_x conftest$ac_exeext; then
43910 eval "$as_ac_var=yes"
43911 else
43912 echo "$as_me: failed program was:" >&5
43913 sed 's/^/| /' conftest.$ac_ext >&5
43914
43915 eval "$as_ac_var=no"
43916 fi
43917
43918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43919 conftest$ac_exeext conftest.$ac_ext
43920 fi
43921 ac_res=`eval echo '${'$as_ac_var'}'`
43922 { echo "$as_me:$LINENO: result: $ac_res" >&5
43923 echo "${ECHO_T}$ac_res" >&6; }
43924 if test `eval echo '${'$as_ac_var'}'` = yes; then
43925 cat >>confdefs.h <<_ACEOF
43926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43927 _ACEOF
43928
43929 cat >>confdefs.h <<\_ACEOF
43930 #define HAVE_SHL_LOAD 1
43931 _ACEOF
43932
43933 HAVE_SHL_FUNCS=1
43934
43935 else
43936
43937 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43938 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43939 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43940 echo $ECHO_N "(cached) $ECHO_C" >&6
43941 else
43942 ac_check_lib_save_LIBS=$LIBS
43943 LIBS="-lshl_load $LIBS"
43944 cat >conftest.$ac_ext <<_ACEOF
43945 /* confdefs.h. */
43946 _ACEOF
43947 cat confdefs.h >>conftest.$ac_ext
43948 cat >>conftest.$ac_ext <<_ACEOF
43949 /* end confdefs.h. */
43950
43951 /* Override any GCC internal prototype to avoid an error.
43952 Use char because int might match the return type of a GCC
43953 builtin and then its argument prototype would still apply. */
43954 #ifdef __cplusplus
43955 extern "C"
43956 #endif
43957 char dld ();
43958 int
43959 main ()
43960 {
43961 return dld ();
43962 ;
43963 return 0;
43964 }
43965 _ACEOF
43966 rm -f conftest.$ac_objext conftest$ac_exeext
43967 if { (ac_try="$ac_link"
43968 case "(($ac_try" in
43969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43970 *) ac_try_echo=$ac_try;;
43971 esac
43972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43973 (eval "$ac_link") 2>conftest.er1
43974 ac_status=$?
43975 grep -v '^ *+' conftest.er1 >conftest.err
43976 rm -f conftest.er1
43977 cat conftest.err >&5
43978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43979 (exit $ac_status); } && {
43980 test -z "$ac_c_werror_flag" ||
43981 test ! -s conftest.err
43982 } && test -s conftest$ac_exeext &&
43983 $as_test_x conftest$ac_exeext; then
43984 ac_cv_lib_shl_load_dld=yes
43985 else
43986 echo "$as_me: failed program was:" >&5
43987 sed 's/^/| /' conftest.$ac_ext >&5
43988
43989 ac_cv_lib_shl_load_dld=no
43990 fi
43991
43992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43993 conftest$ac_exeext conftest.$ac_ext
43994 LIBS=$ac_check_lib_save_LIBS
43995 fi
43996 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43997 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43998 if test $ac_cv_lib_shl_load_dld = yes; then
43999
44000 HAVE_SHL_FUNCS=1
44001 DL_LINK=" -ldld$DL_LINK"
44002
44003 fi
44004
44005
44006 fi
44007 done
44008
44009
44010 fi
44011
44012
44013 fi
44014 done
44015
44016
44017 if test "$HAVE_DL_FUNCS" = 1; then
44018
44019 for ac_func in dlerror
44020 do
44021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44024 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44025 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 else
44027 cat >conftest.$ac_ext <<_ACEOF
44028 /* confdefs.h. */
44029 _ACEOF
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h. */
44033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44035 #define $ac_func innocuous_$ac_func
44036
44037 /* System header to define __stub macros and hopefully few prototypes,
44038 which can conflict with char $ac_func (); below.
44039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44040 <limits.h> exists even on freestanding compilers. */
44041
44042 #ifdef __STDC__
44043 # include <limits.h>
44044 #else
44045 # include <assert.h>
44046 #endif
44047
44048 #undef $ac_func
44049
44050 /* Override any GCC internal prototype to avoid an error.
44051 Use char because int might match the return type of a GCC
44052 builtin and then its argument prototype would still apply. */
44053 #ifdef __cplusplus
44054 extern "C"
44055 #endif
44056 char $ac_func ();
44057 /* The GNU C library defines this for functions which it implements
44058 to always fail with ENOSYS. Some functions are actually named
44059 something starting with __ and the normal name is an alias. */
44060 #if defined __stub_$ac_func || defined __stub___$ac_func
44061 choke me
44062 #endif
44063
44064 int
44065 main ()
44066 {
44067 return $ac_func ();
44068 ;
44069 return 0;
44070 }
44071 _ACEOF
44072 rm -f conftest.$ac_objext conftest$ac_exeext
44073 if { (ac_try="$ac_link"
44074 case "(($ac_try" in
44075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44076 *) ac_try_echo=$ac_try;;
44077 esac
44078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44079 (eval "$ac_link") 2>conftest.er1
44080 ac_status=$?
44081 grep -v '^ *+' conftest.er1 >conftest.err
44082 rm -f conftest.er1
44083 cat conftest.err >&5
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); } && {
44086 test -z "$ac_c_werror_flag" ||
44087 test ! -s conftest.err
44088 } && test -s conftest$ac_exeext &&
44089 $as_test_x conftest$ac_exeext; then
44090 eval "$as_ac_var=yes"
44091 else
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.$ac_ext >&5
44094
44095 eval "$as_ac_var=no"
44096 fi
44097
44098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44099 conftest$ac_exeext conftest.$ac_ext
44100 fi
44101 ac_res=`eval echo '${'$as_ac_var'}'`
44102 { echo "$as_me:$LINENO: result: $ac_res" >&5
44103 echo "${ECHO_T}$ac_res" >&6; }
44104 if test `eval echo '${'$as_ac_var'}'` = yes; then
44105 cat >>confdefs.h <<_ACEOF
44106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44107 _ACEOF
44108 cat >>confdefs.h <<\_ACEOF
44109 #define HAVE_DLERROR 1
44110 _ACEOF
44111
44112 else
44113
44114 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44115 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44116 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44117 echo $ECHO_N "(cached) $ECHO_C" >&6
44118 else
44119 ac_check_lib_save_LIBS=$LIBS
44120 LIBS="-ldl $LIBS"
44121 cat >conftest.$ac_ext <<_ACEOF
44122 /* confdefs.h. */
44123 _ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44127
44128 /* Override any GCC internal prototype to avoid an error.
44129 Use char because int might match the return type of a GCC
44130 builtin and then its argument prototype would still apply. */
44131 #ifdef __cplusplus
44132 extern "C"
44133 #endif
44134 char dlerror ();
44135 int
44136 main ()
44137 {
44138 return dlerror ();
44139 ;
44140 return 0;
44141 }
44142 _ACEOF
44143 rm -f conftest.$ac_objext conftest$ac_exeext
44144 if { (ac_try="$ac_link"
44145 case "(($ac_try" in
44146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44147 *) ac_try_echo=$ac_try;;
44148 esac
44149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44150 (eval "$ac_link") 2>conftest.er1
44151 ac_status=$?
44152 grep -v '^ *+' conftest.er1 >conftest.err
44153 rm -f conftest.er1
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } && {
44157 test -z "$ac_c_werror_flag" ||
44158 test ! -s conftest.err
44159 } && test -s conftest$ac_exeext &&
44160 $as_test_x conftest$ac_exeext; then
44161 ac_cv_lib_dl_dlerror=yes
44162 else
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44165
44166 ac_cv_lib_dl_dlerror=no
44167 fi
44168
44169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44170 conftest$ac_exeext conftest.$ac_ext
44171 LIBS=$ac_check_lib_save_LIBS
44172 fi
44173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44174 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44175 if test $ac_cv_lib_dl_dlerror = yes; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define HAVE_DLERROR 1
44178 _ACEOF
44179
44180 fi
44181
44182
44183
44184 fi
44185 done
44186
44187 fi
44188 fi
44189
44190 if test "$HAVE_DL_FUNCS" = 0; then
44191 if test "$HAVE_SHL_FUNCS" = 0; then
44192 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44193 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44194 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44195 wxUSE_DYNAMIC_LOADER=no
44196 wxUSE_DYNLIB_CLASS=no
44197 else
44198 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44199 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44200 fi
44201 fi
44202 fi
44203 fi
44204 fi
44205
44206 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_DYNAMIC_LOADER 1
44209 _ACEOF
44210
44211 fi
44212 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_DYNLIB_CLASS 1
44215 _ACEOF
44216
44217 fi
44218
44219
44220
44221 if test "$wxUSE_PLUGINS" = "yes" ; then
44222 if test "$wxUSE_SHARED" = "no" ; then
44223 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44224 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44225 wxUSE_PLUGINS=no
44226 fi
44227 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44228 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44229 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44230 wxUSE_PLUGINS=no
44231 fi
44232 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44233 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44234 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44235 wxUSE_PLUGINS=no
44236 fi
44237 if test "$wxUSE_PLUGINS" = "yes" ; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define wxUSE_PLUGINS 1
44240 _ACEOF
44241
44242 fi
44243 fi
44244
44245
44246 if test "$wxUSE_STL" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_STL 1
44249 _ACEOF
44250
44251 fi
44252
44253 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44254 cat >>confdefs.h <<\_ACEOF
44255 #define wxUSE_EXTENDED_RTTI 1
44256 _ACEOF
44257
44258 fi
44259
44260 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_APPLE_IEEE 1
44263 _ACEOF
44264
44265 fi
44266
44267 if test "$wxUSE_TIMER" = "yes"; then
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_TIMER 1
44270 _ACEOF
44271
44272 fi
44273
44274 if test "$USE_UNIX" = "1" ; then
44275 if test "$wxUSE_MGL" != 1; then
44276 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44277 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44278 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44279 echo $ECHO_N "(cached) $ECHO_C" >&6
44280 else
44281
44282 cat >conftest.$ac_ext <<_ACEOF
44283 /* confdefs.h. */
44284 _ACEOF
44285 cat confdefs.h >>conftest.$ac_ext
44286 cat >>conftest.$ac_ext <<_ACEOF
44287 /* end confdefs.h. */
44288
44289 #include <sys/ioctl.h>
44290 #include <sys/soundcard.h>
44291
44292 int
44293 main ()
44294 {
44295
44296 ioctl(0, SNDCTL_DSP_SPEED, 0);
44297
44298 ;
44299 return 0;
44300 }
44301 _ACEOF
44302 rm -f conftest.$ac_objext conftest$ac_exeext
44303 if { (ac_try="$ac_link"
44304 case "(($ac_try" in
44305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44306 *) ac_try_echo=$ac_try;;
44307 esac
44308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44309 (eval "$ac_link") 2>conftest.er1
44310 ac_status=$?
44311 grep -v '^ *+' conftest.er1 >conftest.err
44312 rm -f conftest.er1
44313 cat conftest.err >&5
44314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315 (exit $ac_status); } && {
44316 test -z "$ac_c_werror_flag" ||
44317 test ! -s conftest.err
44318 } && test -s conftest$ac_exeext &&
44319 $as_test_x conftest$ac_exeext; then
44320 ac_cv_header_sys_soundcard=yes
44321 else
44322 echo "$as_me: failed program was:" >&5
44323 sed 's/^/| /' conftest.$ac_ext >&5
44324
44325
44326 saveLibs="$LIBS"
44327 LIBS="$saveLibs -lossaudio"
44328 cat >conftest.$ac_ext <<_ACEOF
44329 /* confdefs.h. */
44330 _ACEOF
44331 cat confdefs.h >>conftest.$ac_ext
44332 cat >>conftest.$ac_ext <<_ACEOF
44333 /* end confdefs.h. */
44334
44335 #include <sys/ioctl.h>
44336 #include <sys/soundcard.h>
44337
44338 int
44339 main ()
44340 {
44341
44342 ioctl(0, SNDCTL_DSP_SPEED, 0);
44343
44344 ;
44345 return 0;
44346 }
44347 _ACEOF
44348 rm -f conftest.$ac_objext conftest$ac_exeext
44349 if { (ac_try="$ac_link"
44350 case "(($ac_try" in
44351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44352 *) ac_try_echo=$ac_try;;
44353 esac
44354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44355 (eval "$ac_link") 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } && {
44362 test -z "$ac_c_werror_flag" ||
44363 test ! -s conftest.err
44364 } && test -s conftest$ac_exeext &&
44365 $as_test_x conftest$ac_exeext; then
44366 ac_cv_header_sys_soundcard=yes
44367 else
44368 echo "$as_me: failed program was:" >&5
44369 sed 's/^/| /' conftest.$ac_ext >&5
44370
44371
44372 LIBS="$saveLibs"
44373 ac_cv_header_sys_soundcard=no
44374
44375
44376 fi
44377
44378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44379 conftest$ac_exeext conftest.$ac_ext
44380
44381
44382 fi
44383
44384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44385 conftest$ac_exeext conftest.$ac_ext
44386
44387 fi
44388 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44389 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44390 fi
44391
44392 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define HAVE_SYS_SOUNDCARD_H 1
44395 _ACEOF
44396
44397 fi
44398 fi
44399
44400 WITH_PLUGIN_SDL=0
44401 if test "$wxUSE_SOUND" = "yes"; then
44402 if test "$USE_UNIX" = "1" ; then
44403 if test "$wxUSE_LIBSDL" != "no"; then
44404
44405 # Check whether --with-sdl-prefix was given.
44406 if test "${with_sdl_prefix+set}" = set; then
44407 withval=$with_sdl_prefix; sdl_prefix="$withval"
44408 else
44409 sdl_prefix=""
44410 fi
44411
44412
44413 # Check whether --with-sdl-exec-prefix was given.
44414 if test "${with_sdl_exec_prefix+set}" = set; then
44415 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44416 else
44417 sdl_exec_prefix=""
44418 fi
44419
44420 # Check whether --enable-sdltest was given.
44421 if test "${enable_sdltest+set}" = set; then
44422 enableval=$enable_sdltest;
44423 else
44424 enable_sdltest=yes
44425 fi
44426
44427
44428 if test x$sdl_exec_prefix != x ; then
44429 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44430 if test x${SDL_CONFIG+set} != xset ; then
44431 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44432 fi
44433 fi
44434 if test x$sdl_prefix != x ; then
44435 sdl_args="$sdl_args --prefix=$sdl_prefix"
44436 if test x${SDL_CONFIG+set} != xset ; then
44437 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44438 fi
44439 fi
44440
44441 if test "x$prefix" != xNONE; then
44442 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44443 fi
44444 # Extract the first word of "sdl-config", so it can be a program name with args.
44445 set dummy sdl-config; ac_word=$2
44446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44448 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44449 echo $ECHO_N "(cached) $ECHO_C" >&6
44450 else
44451 case $SDL_CONFIG in
44452 [\\/]* | ?:[\\/]*)
44453 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44454 ;;
44455 *)
44456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44457 for as_dir in $PATH
44458 do
44459 IFS=$as_save_IFS
44460 test -z "$as_dir" && as_dir=.
44461 for ac_exec_ext in '' $ac_executable_extensions; do
44462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44463 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44465 break 2
44466 fi
44467 done
44468 done
44469 IFS=$as_save_IFS
44470
44471 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44472 ;;
44473 esac
44474 fi
44475 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44476 if test -n "$SDL_CONFIG"; then
44477 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44478 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44479 else
44480 { echo "$as_me:$LINENO: result: no" >&5
44481 echo "${ECHO_T}no" >&6; }
44482 fi
44483
44484
44485 min_sdl_version=1.2.0
44486 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44487 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44488 no_sdl=""
44489 if test "$SDL_CONFIG" = "no" ; then
44490 no_sdl=yes
44491 else
44492 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44493 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44494
44495 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44497 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44498 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44499 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44500 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44501 if test "x$enable_sdltest" = "xyes" ; then
44502 ac_save_CFLAGS="$CFLAGS"
44503 ac_save_CXXFLAGS="$CXXFLAGS"
44504 ac_save_LIBS="$LIBS"
44505 CFLAGS="$CFLAGS $SDL_CFLAGS"
44506 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44507 LIBS="$LIBS $SDL_LIBS"
44508 rm -f conf.sdltest
44509 if test "$cross_compiling" = yes; then
44510 echo $ac_n "cross compiling; assumed OK... $ac_c"
44511 else
44512 cat >conftest.$ac_ext <<_ACEOF
44513 /* confdefs.h. */
44514 _ACEOF
44515 cat confdefs.h >>conftest.$ac_ext
44516 cat >>conftest.$ac_ext <<_ACEOF
44517 /* end confdefs.h. */
44518
44519 #include <stdio.h>
44520 #include <stdlib.h>
44521 #include <string.h>
44522 #include "SDL.h"
44523
44524 char*
44525 my_strdup (char *str)
44526 {
44527 char *new_str;
44528
44529 if (str)
44530 {
44531 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44532 strcpy (new_str, str);
44533 }
44534 else
44535 new_str = NULL;
44536
44537 return new_str;
44538 }
44539
44540 int main (int argc, char *argv[])
44541 {
44542 int major, minor, micro;
44543 char *tmp_version;
44544
44545 /* This hangs on some systems (?)
44546 system ("touch conf.sdltest");
44547 */
44548 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44549
44550 /* HP/UX 9 (%@#!) writes to sscanf strings */
44551 tmp_version = my_strdup("$min_sdl_version");
44552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44553 printf("%s, bad version string\n", "$min_sdl_version");
44554 exit(1);
44555 }
44556
44557 if (($sdl_major_version > major) ||
44558 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44559 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44560 {
44561 return 0;
44562 }
44563 else
44564 {
44565 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44566 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44567 printf("*** best to upgrade to the required version.\n");
44568 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44569 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44570 printf("*** config.cache before re-running configure\n");
44571 return 1;
44572 }
44573 }
44574
44575
44576 _ACEOF
44577 rm -f conftest$ac_exeext
44578 if { (ac_try="$ac_link"
44579 case "(($ac_try" in
44580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44581 *) ac_try_echo=$ac_try;;
44582 esac
44583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44584 (eval "$ac_link") 2>&5
44585 ac_status=$?
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44588 { (case "(($ac_try" in
44589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44590 *) ac_try_echo=$ac_try;;
44591 esac
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_try") 2>&5
44594 ac_status=$?
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); }; }; then
44597 :
44598 else
44599 echo "$as_me: program exited with status $ac_status" >&5
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44602
44603 ( exit $ac_status )
44604 no_sdl=yes
44605 fi
44606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44607 fi
44608
44609
44610 CFLAGS="$ac_save_CFLAGS"
44611 CXXFLAGS="$ac_save_CXXFLAGS"
44612 LIBS="$ac_save_LIBS"
44613 fi
44614 fi
44615 if test "x$no_sdl" = x ; then
44616 { echo "$as_me:$LINENO: result: yes" >&5
44617 echo "${ECHO_T}yes" >&6; }
44618
44619 EXTRALIBS_SDL="$SDL_LIBS"
44620 CFLAGS="$SDL_CFLAGS $CFLAGS"
44621 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_LIBSDL 1
44624 _ACEOF
44625
44626
44627 else
44628 { echo "$as_me:$LINENO: result: no" >&5
44629 echo "${ECHO_T}no" >&6; }
44630 if test "$SDL_CONFIG" = "no" ; then
44631 echo "*** The sdl-config script installed by SDL could not be found"
44632 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44633 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44634 echo "*** full path to sdl-config."
44635 else
44636 if test -f conf.sdltest ; then
44637 :
44638 else
44639 echo "*** Could not run SDL test program, checking why..."
44640 CFLAGS="$CFLAGS $SDL_CFLAGS"
44641 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44642 LIBS="$LIBS $SDL_LIBS"
44643 cat >conftest.$ac_ext <<_ACEOF
44644 /* confdefs.h. */
44645 _ACEOF
44646 cat confdefs.h >>conftest.$ac_ext
44647 cat >>conftest.$ac_ext <<_ACEOF
44648 /* end confdefs.h. */
44649
44650 #include <stdio.h>
44651 #include "SDL.h"
44652
44653 int main(int argc, char *argv[])
44654 { return 0; }
44655 #undef main
44656 #define main K_and_R_C_main
44657
44658 int
44659 main ()
44660 {
44661 return 0;
44662 ;
44663 return 0;
44664 }
44665 _ACEOF
44666 rm -f conftest.$ac_objext conftest$ac_exeext
44667 if { (ac_try="$ac_link"
44668 case "(($ac_try" in
44669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44670 *) ac_try_echo=$ac_try;;
44671 esac
44672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44673 (eval "$ac_link") 2>conftest.er1
44674 ac_status=$?
44675 grep -v '^ *+' conftest.er1 >conftest.err
44676 rm -f conftest.er1
44677 cat conftest.err >&5
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); } && {
44680 test -z "$ac_c_werror_flag" ||
44681 test ! -s conftest.err
44682 } && test -s conftest$ac_exeext &&
44683 $as_test_x conftest$ac_exeext; then
44684 echo "*** The test program compiled, but did not run. This usually means"
44685 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44686 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44687 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44688 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44689 echo "*** is required on your system"
44690 echo "***"
44691 echo "*** If you have an old version installed, it is best to remove it, although"
44692 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44693 else
44694 echo "$as_me: failed program was:" >&5
44695 sed 's/^/| /' conftest.$ac_ext >&5
44696
44697 echo "*** The test program failed to compile or link. See the file config.log for the"
44698 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44699 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44700 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44701 fi
44702
44703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44704 conftest$ac_exeext conftest.$ac_ext
44705 CFLAGS="$ac_save_CFLAGS"
44706 CXXFLAGS="$ac_save_CXXFLAGS"
44707 LIBS="$ac_save_LIBS"
44708 fi
44709 fi
44710 SDL_CFLAGS=""
44711 SDL_LIBS=""
44712 wxUSE_LIBSDL="no"
44713 fi
44714
44715
44716 rm -f conf.sdltest
44717
44718 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44719 WITH_PLUGIN_SDL=1
44720 fi
44721 fi
44722 else
44723 if test "$wxUSE_MGL" = 1; then
44724 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44725 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44726 wxUSE_SOUND="no"
44727 fi
44728 fi
44729 fi
44730
44731 if test "$wxUSE_SOUND" = "yes"; then
44732 cat >>confdefs.h <<\_ACEOF
44733 #define wxUSE_SOUND 1
44734 _ACEOF
44735
44736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44737 fi
44738
44739 if test "$WXGTK20" = 1; then
44740
44741
44742 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44743 if test -n "$ac_tool_prefix"; then
44744 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44745 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44748 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44749 echo $ECHO_N "(cached) $ECHO_C" >&6
44750 else
44751 case $PKG_CONFIG in
44752 [\\/]* | ?:[\\/]*)
44753 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44754 ;;
44755 *)
44756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44757 for as_dir in $PATH
44758 do
44759 IFS=$as_save_IFS
44760 test -z "$as_dir" && as_dir=.
44761 for ac_exec_ext in '' $ac_executable_extensions; do
44762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44763 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44765 break 2
44766 fi
44767 done
44768 done
44769 IFS=$as_save_IFS
44770
44771 ;;
44772 esac
44773 fi
44774 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44775 if test -n "$PKG_CONFIG"; then
44776 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44777 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44778 else
44779 { echo "$as_me:$LINENO: result: no" >&5
44780 echo "${ECHO_T}no" >&6; }
44781 fi
44782
44783
44784 fi
44785 if test -z "$ac_cv_path_PKG_CONFIG"; then
44786 ac_pt_PKG_CONFIG=$PKG_CONFIG
44787 # Extract the first word of "pkg-config", so it can be a program name with args.
44788 set dummy pkg-config; ac_word=$2
44789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44791 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44792 echo $ECHO_N "(cached) $ECHO_C" >&6
44793 else
44794 case $ac_pt_PKG_CONFIG in
44795 [\\/]* | ?:[\\/]*)
44796 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44797 ;;
44798 *)
44799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44800 for as_dir in $PATH
44801 do
44802 IFS=$as_save_IFS
44803 test -z "$as_dir" && as_dir=.
44804 for ac_exec_ext in '' $ac_executable_extensions; do
44805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44806 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44808 break 2
44809 fi
44810 done
44811 done
44812 IFS=$as_save_IFS
44813
44814 ;;
44815 esac
44816 fi
44817 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44818 if test -n "$ac_pt_PKG_CONFIG"; then
44819 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44820 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44821 else
44822 { echo "$as_me:$LINENO: result: no" >&5
44823 echo "${ECHO_T}no" >&6; }
44824 fi
44825
44826 if test "x$ac_pt_PKG_CONFIG" = x; then
44827 PKG_CONFIG=""
44828 else
44829 case $cross_compiling:$ac_tool_warned in
44830 yes:)
44831 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44832 whose name does not start with the host triplet. If you think this
44833 configuration is useful to you, please write to autoconf@gnu.org." >&5
44834 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44835 whose name does not start with the host triplet. If you think this
44836 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44837 ac_tool_warned=yes ;;
44838 esac
44839 PKG_CONFIG=$ac_pt_PKG_CONFIG
44840 fi
44841 else
44842 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44843 fi
44844
44845 fi
44846 if test -n "$PKG_CONFIG"; then
44847 _pkg_min_version=0.9.0
44848 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44849 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44851 { echo "$as_me:$LINENO: result: yes" >&5
44852 echo "${ECHO_T}yes" >&6; }
44853 else
44854 { echo "$as_me:$LINENO: result: no" >&5
44855 echo "${ECHO_T}no" >&6; }
44856 PKG_CONFIG=""
44857 fi
44858
44859 fi
44860
44861 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44862 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44863
44864
44865 pkg_failed=no
44866 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44867 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44868
44869 if test -n "$PKG_CONFIG"; then
44870 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44871 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44872 else
44873 if test -n "$PKG_CONFIG" && \
44874 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44875 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44876 ac_status=$?
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); }; then
44879 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44880 else
44881 pkg_failed=yes
44882 fi
44883 fi
44884 else
44885 pkg_failed=untried
44886 fi
44887 if test -n "$PKG_CONFIG"; then
44888 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44889 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44890 else
44891 if test -n "$PKG_CONFIG" && \
44892 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44893 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44894 ac_status=$?
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; then
44897 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44898 else
44899 pkg_failed=yes
44900 fi
44901 fi
44902 else
44903 pkg_failed=untried
44904 fi
44905
44906
44907
44908 if test $pkg_failed = yes; then
44909
44910 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44911 _pkg_short_errors_supported=yes
44912 else
44913 _pkg_short_errors_supported=no
44914 fi
44915 if test $_pkg_short_errors_supported = yes; then
44916 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44917 else
44918 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44919 fi
44920 # Put the nasty error message in config.log where it belongs
44921 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44922
44923
44924 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44925 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44926 wxUSE_LIBGNOMEPRINT="no"
44927
44928
44929 elif test $pkg_failed = untried; then
44930
44931 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44932 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44933 wxUSE_LIBGNOMEPRINT="no"
44934
44935
44936 else
44937 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44938 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44939 { echo "$as_me:$LINENO: result: yes" >&5
44940 echo "${ECHO_T}yes" >&6; }
44941
44942 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44943 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_LIBGNOMEPRINT 1
44946 _ACEOF
44947
44948
44949 fi
44950 fi
44951 fi
44952
44953 if test "$wxUSE_MIMETYPE" = "yes" ; then
44954 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44955
44956
44957 pkg_failed=no
44958 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44959 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44960
44961 if test -n "$PKG_CONFIG"; then
44962 if test -n "$GNOMEVFS_CFLAGS"; then
44963 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44964 else
44965 if test -n "$PKG_CONFIG" && \
44966 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44967 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; then
44971 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44972 else
44973 pkg_failed=yes
44974 fi
44975 fi
44976 else
44977 pkg_failed=untried
44978 fi
44979 if test -n "$PKG_CONFIG"; then
44980 if test -n "$GNOMEVFS_LIBS"; then
44981 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44982 else
44983 if test -n "$PKG_CONFIG" && \
44984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44985 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44986 ac_status=$?
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); }; then
44989 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44990 else
44991 pkg_failed=yes
44992 fi
44993 fi
44994 else
44995 pkg_failed=untried
44996 fi
44997
44998
44999
45000 if test $pkg_failed = yes; then
45001
45002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45003 _pkg_short_errors_supported=yes
45004 else
45005 _pkg_short_errors_supported=no
45006 fi
45007 if test $_pkg_short_errors_supported = yes; then
45008 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45009 else
45010 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45011 fi
45012 # Put the nasty error message in config.log where it belongs
45013 echo "$GNOMEVFS_PKG_ERRORS" >&5
45014
45015
45016 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45017 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45018 wxUSE_LIBGNOMEVFS="no"
45019
45020
45021 elif test $pkg_failed = untried; then
45022
45023 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45024 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45025 wxUSE_LIBGNOMEVFS="no"
45026
45027
45028 else
45029 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45030 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45031 { echo "$as_me:$LINENO: result: yes" >&5
45032 echo "${ECHO_T}yes" >&6; }
45033
45034 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45035 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_LIBGNOMEVFS 1
45038 _ACEOF
45039
45040
45041 fi
45042 fi
45043 fi
45044
45045 if test "$wxUSE_LIBHILDON" = "yes" ; then
45046
45047 pkg_failed=no
45048 { echo "$as_me:$LINENO: checking for HILDON" >&5
45049 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45050
45051 if test -n "$PKG_CONFIG"; then
45052 if test -n "$HILDON_CFLAGS"; then
45053 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45054 else
45055 if test -n "$PKG_CONFIG" && \
45056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45057 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45058 ac_status=$?
45059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45060 (exit $ac_status); }; then
45061 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45062 else
45063 pkg_failed=yes
45064 fi
45065 fi
45066 else
45067 pkg_failed=untried
45068 fi
45069 if test -n "$PKG_CONFIG"; then
45070 if test -n "$HILDON_LIBS"; then
45071 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45072 else
45073 if test -n "$PKG_CONFIG" && \
45074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45075 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45076 ac_status=$?
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); }; then
45079 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45080 else
45081 pkg_failed=yes
45082 fi
45083 fi
45084 else
45085 pkg_failed=untried
45086 fi
45087
45088
45089
45090 if test $pkg_failed = yes; then
45091
45092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45093 _pkg_short_errors_supported=yes
45094 else
45095 _pkg_short_errors_supported=no
45096 fi
45097 if test $_pkg_short_errors_supported = yes; then
45098 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45099 else
45100 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45101 fi
45102 # Put the nasty error message in config.log where it belongs
45103 echo "$HILDON_PKG_ERRORS" >&5
45104
45105
45106 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45107 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45108 wxUSE_LIBHILDON="no"
45109
45110
45111 elif test $pkg_failed = untried; then
45112
45113 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45114 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45115 wxUSE_LIBHILDON="no"
45116
45117
45118 else
45119 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45120 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45121 { echo "$as_me:$LINENO: result: yes" >&5
45122 echo "${ECHO_T}yes" >&6; }
45123
45124 EXTRALIBS_HILDON="$HILDON_LIBS"
45125 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45126 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LIBHILDON 1
45129 _ACEOF
45130
45131
45132 fi
45133 fi
45134 fi
45135
45136 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_CMDLINE_PARSER 1
45139 _ACEOF
45140
45141 fi
45142
45143 if test "$wxUSE_STOPWATCH" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_STOPWATCH 1
45146 _ACEOF
45147
45148 fi
45149
45150 if test "$wxUSE_DATETIME" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_DATETIME 1
45153 _ACEOF
45154
45155 fi
45156
45157 if test "$wxUSE_FILE" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_FILE 1
45160 _ACEOF
45161
45162 fi
45163
45164 if test "$wxUSE_FFILE" = "yes"; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_FFILE 1
45167 _ACEOF
45168
45169 fi
45170
45171 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45172 if test "$wxUSE_STREAMS" != yes; then
45173 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45174 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45175 wxUSE_ARCHIVE_STREAMS=no
45176 else
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_ARCHIVE_STREAMS 1
45179 _ACEOF
45180
45181 fi
45182 fi
45183
45184 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45185 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45186 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45187 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45188 elif test "$wxUSE_ZLIB" = "no"; then
45189 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45190 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45191 else
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_ZIPSTREAM 1
45194 _ACEOF
45195
45196 fi
45197 fi
45198
45199 if test "$wxUSE_TARSTREAM" = "yes"; then
45200 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45201 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45202 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45203 else
45204 cat >>confdefs.h <<\_ACEOF
45205 #define wxUSE_TARSTREAM 1
45206 _ACEOF
45207
45208 fi
45209 fi
45210
45211 if test "$wxUSE_FILESYSTEM" = "yes"; then
45212 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45213 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45214 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45215 wxUSE_FILESYSTEM=no
45216 else
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_FILESYSTEM 1
45219 _ACEOF
45220
45221 fi
45222 fi
45223
45224 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45225 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45226 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45227 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45228 else
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_FS_ARCHIVE 1
45231 _ACEOF
45232
45233 fi
45234 fi
45235
45236 if test "$wxUSE_FS_ZIP" = "yes"; then
45237 if test "$wxUSE_FS_ARCHIVE" != yes; then
45238 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45239 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45240 else
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_FS_ZIP 1
45243 _ACEOF
45244
45245 fi
45246 fi
45247
45248 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45249 if test "$USE_UNIX" != 1; then
45250 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45251 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45252 wxUSE_ON_FATAL_EXCEPTION=no
45253 else
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_ON_FATAL_EXCEPTION 1
45256 _ACEOF
45257
45258 fi
45259 fi
45260
45261 if test "$wxUSE_STACKWALKER" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_STACKWALKER 1
45264 _ACEOF
45265
45266 fi
45267
45268 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45269 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45270 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45271 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45272 wxUSE_DEBUGREPORT=no
45273 else
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_DEBUGREPORT 1
45276 _ACEOF
45277
45278 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45280 fi
45281 fi
45282 fi
45283
45284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_SNGLINST_CHECKER 1
45287 _ACEOF
45288
45289 fi
45290
45291 if test "$wxUSE_BUSYINFO" = "yes"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_BUSYINFO 1
45294 _ACEOF
45295
45296 fi
45297
45298 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_STD_IOSTREAM 1
45301 _ACEOF
45302
45303 fi
45304
45305 if test "$wxUSE_STD_STRING" = "yes"; then
45306 cat >>confdefs.h <<\_ACEOF
45307 #define wxUSE_STD_STRING 1
45308 _ACEOF
45309
45310 fi
45311
45312 if test "$wxUSE_STDPATHS" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_STDPATHS 1
45315 _ACEOF
45316
45317 fi
45318
45319 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_TEXTBUFFER 1
45322 _ACEOF
45323
45324 fi
45325
45326 if test "$wxUSE_TEXTFILE" = "yes"; then
45327 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45328 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45329 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45330 else
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_TEXTFILE 1
45333 _ACEOF
45334
45335 fi
45336 fi
45337
45338 if test "$wxUSE_CONFIG" = "yes" ; then
45339 if test "$wxUSE_TEXTFILE" != "yes"; then
45340 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45341 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45342 else
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_CONFIG 1
45345 _ACEOF
45346
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_CONFIG_NATIVE 1
45349 _ACEOF
45350
45351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45352 fi
45353 fi
45354
45355 if test "$wxUSE_INTL" = "yes" ; then
45356 if test "$wxUSE_FILE" != "yes"; then
45357 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45358 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45359 else
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_INTL 1
45362 _ACEOF
45363
45364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45365 GUIDIST="$GUIDIST INTL_DIST"
45366 fi
45367 fi
45368
45369 if test "$wxUSE_LOG" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_LOG 1
45372 _ACEOF
45373
45374
45375 if test "$wxUSE_LOGGUI" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_LOGGUI 1
45378 _ACEOF
45379
45380 fi
45381
45382 if test "$wxUSE_LOGWINDOW" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_LOGWINDOW 1
45385 _ACEOF
45386
45387 fi
45388
45389 if test "$wxUSE_LOGDIALOG" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_LOG_DIALOG 1
45392 _ACEOF
45393
45394 fi
45395
45396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45397 fi
45398
45399 if test "$wxUSE_LONGLONG" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_LONGLONG 1
45402 _ACEOF
45403
45404 fi
45405
45406 if test "$wxUSE_GEOMETRY" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_GEOMETRY 1
45409 _ACEOF
45410
45411 fi
45412
45413 if test "$wxUSE_BASE64" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_BASE64 1
45416 _ACEOF
45417
45418 fi
45419
45420 if test "$wxUSE_STREAMS" = "yes" ; then
45421 cat >>confdefs.h <<\_ACEOF
45422 #define wxUSE_STREAMS 1
45423 _ACEOF
45424
45425 fi
45426
45427 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define wxUSE_PRINTF_POS_PARAMS 1
45430 _ACEOF
45431
45432 fi
45433
45434 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_OBJC_UNIQUIFYING 1
45437 _ACEOF
45438
45439 fi
45440
45441
45442 if test "$wxUSE_DATETIME" = "yes"; then
45443 { echo "$as_me:$LINENO: checking for strptime" >&5
45444 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45445 if test "${ac_cv_func_strptime+set}" = set; then
45446 echo $ECHO_N "(cached) $ECHO_C" >&6
45447 else
45448 cat >conftest.$ac_ext <<_ACEOF
45449 /* confdefs.h. */
45450 _ACEOF
45451 cat confdefs.h >>conftest.$ac_ext
45452 cat >>conftest.$ac_ext <<_ACEOF
45453 /* end confdefs.h. */
45454 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45456 #define strptime innocuous_strptime
45457
45458 /* System header to define __stub macros and hopefully few prototypes,
45459 which can conflict with char strptime (); below.
45460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45461 <limits.h> exists even on freestanding compilers. */
45462
45463 #ifdef __STDC__
45464 # include <limits.h>
45465 #else
45466 # include <assert.h>
45467 #endif
45468
45469 #undef strptime
45470
45471 /* Override any GCC internal prototype to avoid an error.
45472 Use char because int might match the return type of a GCC
45473 builtin and then its argument prototype would still apply. */
45474 #ifdef __cplusplus
45475 extern "C"
45476 #endif
45477 char strptime ();
45478 /* The GNU C library defines this for functions which it implements
45479 to always fail with ENOSYS. Some functions are actually named
45480 something starting with __ and the normal name is an alias. */
45481 #if defined __stub_strptime || defined __stub___strptime
45482 choke me
45483 #endif
45484
45485 int
45486 main ()
45487 {
45488 return strptime ();
45489 ;
45490 return 0;
45491 }
45492 _ACEOF
45493 rm -f conftest.$ac_objext conftest$ac_exeext
45494 if { (ac_try="$ac_link"
45495 case "(($ac_try" in
45496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45497 *) ac_try_echo=$ac_try;;
45498 esac
45499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45500 (eval "$ac_link") 2>conftest.er1
45501 ac_status=$?
45502 grep -v '^ *+' conftest.er1 >conftest.err
45503 rm -f conftest.er1
45504 cat conftest.err >&5
45505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45506 (exit $ac_status); } && {
45507 test -z "$ac_c_werror_flag" ||
45508 test ! -s conftest.err
45509 } && test -s conftest$ac_exeext &&
45510 $as_test_x conftest$ac_exeext; then
45511 ac_cv_func_strptime=yes
45512 else
45513 echo "$as_me: failed program was:" >&5
45514 sed 's/^/| /' conftest.$ac_ext >&5
45515
45516 ac_cv_func_strptime=no
45517 fi
45518
45519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45520 conftest$ac_exeext conftest.$ac_ext
45521 fi
45522 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45523 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45524
45525 if test "$ac_cv_func_strptime" = "yes"; then
45526 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45527 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45528 if test "${wx_cv_func_strptime_decl+set}" = set; then
45529 echo $ECHO_N "(cached) $ECHO_C" >&6
45530 else
45531
45532 ac_ext=cpp
45533 ac_cpp='$CXXCPP $CPPFLAGS'
45534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45537
45538 cat >conftest.$ac_ext <<_ACEOF
45539 /* confdefs.h. */
45540 _ACEOF
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45544
45545 #include <time.h>
45546
45547 int
45548 main ()
45549 {
45550
45551 struct tm t;
45552 strptime("foo", "bar", &t);
45553
45554 ;
45555 return 0;
45556 }
45557 _ACEOF
45558 rm -f conftest.$ac_objext
45559 if { (ac_try="$ac_compile"
45560 case "(($ac_try" in
45561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45562 *) ac_try_echo=$ac_try;;
45563 esac
45564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45565 (eval "$ac_compile") 2>conftest.er1
45566 ac_status=$?
45567 grep -v '^ *+' conftest.er1 >conftest.err
45568 rm -f conftest.er1
45569 cat conftest.err >&5
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); } && {
45572 test -z "$ac_cxx_werror_flag" ||
45573 test ! -s conftest.err
45574 } && test -s conftest.$ac_objext; then
45575 wx_cv_func_strptime_decl=yes
45576 else
45577 echo "$as_me: failed program was:" >&5
45578 sed 's/^/| /' conftest.$ac_ext >&5
45579
45580 wx_cv_func_strptime_decl=no
45581
45582 fi
45583
45584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45585 ac_ext=c
45586 ac_cpp='$CPP $CPPFLAGS'
45587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45590
45591
45592
45593 fi
45594 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45595 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45596 fi
45597 if test "$wx_cv_func_strptime_decl" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define HAVE_STRPTIME_DECL 1
45600 _ACEOF
45601
45602 else
45603 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45604 fi
45605 if test "$ac_cv_func_strptime" = "yes"; then
45606 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45607 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
45608 if test "${wx_cv_func_strptime_ok+set}" = set; then
45609 echo $ECHO_N "(cached) $ECHO_C" >&6
45610 else
45611 if test "$cross_compiling" = yes; then
45612 wx_cv_func_strptime_ok=no
45613
45614 else
45615 cat >conftest.$ac_ext <<_ACEOF
45616
45617 #include <stdlib.h>
45618 #include <time.h>
45619 #include "confdefs.h"
45620
45621 $wx_strptime_decl
45622
45623 int main()
45624 {
45625 struct tm t;
45626 return !!strptime("", "%x", &t);
45627 }
45628
45629 _ACEOF
45630 rm -f conftest$ac_exeext
45631 if { (ac_try="$ac_link"
45632 case "(($ac_try" in
45633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45634 *) ac_try_echo=$ac_try;;
45635 esac
45636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45637 (eval "$ac_link") 2>&5
45638 ac_status=$?
45639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45641 { (case "(($ac_try" in
45642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45643 *) ac_try_echo=$ac_try;;
45644 esac
45645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45646 (eval "$ac_try") 2>&5
45647 ac_status=$?
45648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45649 (exit $ac_status); }; }; then
45650 wx_cv_func_strptime_ok=yes
45651 else
45652 echo "$as_me: program exited with status $ac_status" >&5
45653 echo "$as_me: failed program was:" >&5
45654 sed 's/^/| /' conftest.$ac_ext >&5
45655
45656 ( exit $ac_status )
45657 wx_cv_func_strptime_ok=no
45658 fi
45659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45660 fi
45661
45662
45663
45664 fi
45665 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45666 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
45667
45668 if test "$wx_cv_func_strptime_ok" = "yes"; then
45669 cat >>confdefs.h <<\_ACEOF
45670 #define HAVE_STRPTIME 1
45671 _ACEOF
45672
45673 fi
45674 fi
45675
45676 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45677 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45678 if test "${wx_cv_var_timezone+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45680 else
45681
45682 ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45687
45688 cat >conftest.$ac_ext <<_ACEOF
45689 /* confdefs.h. */
45690 _ACEOF
45691 cat confdefs.h >>conftest.$ac_ext
45692 cat >>conftest.$ac_ext <<_ACEOF
45693 /* end confdefs.h. */
45694
45695 #include <time.h>
45696
45697 int
45698 main ()
45699 {
45700
45701 int tz;
45702 tz = timezone;
45703
45704 ;
45705 return 0;
45706 }
45707 _ACEOF
45708 rm -f conftest.$ac_objext
45709 if { (ac_try="$ac_compile"
45710 case "(($ac_try" in
45711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45712 *) ac_try_echo=$ac_try;;
45713 esac
45714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45715 (eval "$ac_compile") 2>conftest.er1
45716 ac_status=$?
45717 grep -v '^ *+' conftest.er1 >conftest.err
45718 rm -f conftest.er1
45719 cat conftest.err >&5
45720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721 (exit $ac_status); } && {
45722 test -z "$ac_cxx_werror_flag" ||
45723 test ! -s conftest.err
45724 } && test -s conftest.$ac_objext; then
45725
45726 wx_cv_var_timezone=timezone
45727
45728 else
45729 echo "$as_me: failed program was:" >&5
45730 sed 's/^/| /' conftest.$ac_ext >&5
45731
45732
45733 cat >conftest.$ac_ext <<_ACEOF
45734 /* confdefs.h. */
45735 _ACEOF
45736 cat confdefs.h >>conftest.$ac_ext
45737 cat >>conftest.$ac_ext <<_ACEOF
45738 /* end confdefs.h. */
45739
45740 #include <time.h>
45741
45742 int
45743 main ()
45744 {
45745
45746 int tz;
45747 tz = _timezone;
45748
45749 ;
45750 return 0;
45751 }
45752 _ACEOF
45753 rm -f conftest.$ac_objext
45754 if { (ac_try="$ac_compile"
45755 case "(($ac_try" in
45756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45757 *) ac_try_echo=$ac_try;;
45758 esac
45759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45760 (eval "$ac_compile") 2>conftest.er1
45761 ac_status=$?
45762 grep -v '^ *+' conftest.er1 >conftest.err
45763 rm -f conftest.er1
45764 cat conftest.err >&5
45765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45766 (exit $ac_status); } && {
45767 test -z "$ac_cxx_werror_flag" ||
45768 test ! -s conftest.err
45769 } && test -s conftest.$ac_objext; then
45770
45771 wx_cv_var_timezone=_timezone
45772
45773 else
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45776
45777
45778 cat >conftest.$ac_ext <<_ACEOF
45779 /* confdefs.h. */
45780 _ACEOF
45781 cat confdefs.h >>conftest.$ac_ext
45782 cat >>conftest.$ac_ext <<_ACEOF
45783 /* end confdefs.h. */
45784
45785 #include <time.h>
45786
45787 int
45788 main ()
45789 {
45790
45791 int tz;
45792 tz = __timezone;
45793
45794 ;
45795 return 0;
45796 }
45797 _ACEOF
45798 rm -f conftest.$ac_objext
45799 if { (ac_try="$ac_compile"
45800 case "(($ac_try" in
45801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45802 *) ac_try_echo=$ac_try;;
45803 esac
45804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45805 (eval "$ac_compile") 2>conftest.er1
45806 ac_status=$?
45807 grep -v '^ *+' conftest.er1 >conftest.err
45808 rm -f conftest.er1
45809 cat conftest.err >&5
45810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45811 (exit $ac_status); } && {
45812 test -z "$ac_cxx_werror_flag" ||
45813 test ! -s conftest.err
45814 } && test -s conftest.$ac_objext; then
45815
45816 wx_cv_var_timezone=__timezone
45817
45818 else
45819 echo "$as_me: failed program was:" >&5
45820 sed 's/^/| /' conftest.$ac_ext >&5
45821
45822
45823 if test "$USE_DOS" = 0 ; then
45824 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45825 echo "$as_me: WARNING: no timezone variable" >&2;}
45826 fi
45827
45828
45829 fi
45830
45831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45832
45833
45834 fi
45835
45836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45837
45838
45839 fi
45840
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45847
45848
45849
45850 fi
45851 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45852 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45853
45854 if test "x$wx_cv_var_timezone" != x ; then
45855 cat >>confdefs.h <<_ACEOF
45856 #define WX_TIMEZONE $wx_cv_var_timezone
45857 _ACEOF
45858
45859 fi
45860
45861
45862 for ac_func in localtime
45863 do
45864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45865 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45867 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 else
45870 cat >conftest.$ac_ext <<_ACEOF
45871 /* confdefs.h. */
45872 _ACEOF
45873 cat confdefs.h >>conftest.$ac_ext
45874 cat >>conftest.$ac_ext <<_ACEOF
45875 /* end confdefs.h. */
45876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45878 #define $ac_func innocuous_$ac_func
45879
45880 /* System header to define __stub macros and hopefully few prototypes,
45881 which can conflict with char $ac_func (); below.
45882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45883 <limits.h> exists even on freestanding compilers. */
45884
45885 #ifdef __STDC__
45886 # include <limits.h>
45887 #else
45888 # include <assert.h>
45889 #endif
45890
45891 #undef $ac_func
45892
45893 /* Override any GCC internal prototype to avoid an error.
45894 Use char because int might match the return type of a GCC
45895 builtin and then its argument prototype would still apply. */
45896 #ifdef __cplusplus
45897 extern "C"
45898 #endif
45899 char $ac_func ();
45900 /* The GNU C library defines this for functions which it implements
45901 to always fail with ENOSYS. Some functions are actually named
45902 something starting with __ and the normal name is an alias. */
45903 #if defined __stub_$ac_func || defined __stub___$ac_func
45904 choke me
45905 #endif
45906
45907 int
45908 main ()
45909 {
45910 return $ac_func ();
45911 ;
45912 return 0;
45913 }
45914 _ACEOF
45915 rm -f conftest.$ac_objext conftest$ac_exeext
45916 if { (ac_try="$ac_link"
45917 case "(($ac_try" in
45918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45919 *) ac_try_echo=$ac_try;;
45920 esac
45921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45922 (eval "$ac_link") 2>conftest.er1
45923 ac_status=$?
45924 grep -v '^ *+' conftest.er1 >conftest.err
45925 rm -f conftest.er1
45926 cat conftest.err >&5
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); } && {
45929 test -z "$ac_c_werror_flag" ||
45930 test ! -s conftest.err
45931 } && test -s conftest$ac_exeext &&
45932 $as_test_x conftest$ac_exeext; then
45933 eval "$as_ac_var=yes"
45934 else
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45937
45938 eval "$as_ac_var=no"
45939 fi
45940
45941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45942 conftest$ac_exeext conftest.$ac_ext
45943 fi
45944 ac_res=`eval echo '${'$as_ac_var'}'`
45945 { echo "$as_me:$LINENO: result: $ac_res" >&5
45946 echo "${ECHO_T}$ac_res" >&6; }
45947 if test `eval echo '${'$as_ac_var'}'` = yes; then
45948 cat >>confdefs.h <<_ACEOF
45949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45950 _ACEOF
45951
45952 fi
45953 done
45954
45955
45956 if test "$ac_cv_func_localtime" = "yes"; then
45957 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45958 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45959 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45960 echo $ECHO_N "(cached) $ECHO_C" >&6
45961 else
45962
45963 cat >conftest.$ac_ext <<_ACEOF
45964 /* confdefs.h. */
45965 _ACEOF
45966 cat confdefs.h >>conftest.$ac_ext
45967 cat >>conftest.$ac_ext <<_ACEOF
45968 /* end confdefs.h. */
45969
45970 #include <time.h>
45971
45972 int
45973 main ()
45974 {
45975
45976 struct tm tm;
45977 tm.tm_gmtoff++;
45978
45979 ;
45980 return 0;
45981 }
45982 _ACEOF
45983 rm -f conftest.$ac_objext
45984 if { (ac_try="$ac_compile"
45985 case "(($ac_try" in
45986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45987 *) ac_try_echo=$ac_try;;
45988 esac
45989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45990 (eval "$ac_compile") 2>conftest.er1
45991 ac_status=$?
45992 grep -v '^ *+' conftest.er1 >conftest.err
45993 rm -f conftest.er1
45994 cat conftest.err >&5
45995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996 (exit $ac_status); } && {
45997 test -z "$ac_c_werror_flag" ||
45998 test ! -s conftest.err
45999 } && test -s conftest.$ac_objext; then
46000
46001 wx_cv_struct_tm_has_gmtoff=yes
46002
46003 else
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46006
46007 wx_cv_struct_tm_has_gmtoff=no
46008
46009 fi
46010
46011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46012
46013 fi
46014 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46015 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46016 fi
46017
46018 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46019 cat >>confdefs.h <<\_ACEOF
46020 #define WX_GMTOFF_IN_TM 1
46021 _ACEOF
46022
46023 fi
46024
46025
46026
46027 for ac_func in gettimeofday ftime
46028 do
46029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46030 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46033 echo $ECHO_N "(cached) $ECHO_C" >&6
46034 else
46035 cat >conftest.$ac_ext <<_ACEOF
46036 /* confdefs.h. */
46037 _ACEOF
46038 cat confdefs.h >>conftest.$ac_ext
46039 cat >>conftest.$ac_ext <<_ACEOF
46040 /* end confdefs.h. */
46041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46043 #define $ac_func innocuous_$ac_func
46044
46045 /* System header to define __stub macros and hopefully few prototypes,
46046 which can conflict with char $ac_func (); below.
46047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46048 <limits.h> exists even on freestanding compilers. */
46049
46050 #ifdef __STDC__
46051 # include <limits.h>
46052 #else
46053 # include <assert.h>
46054 #endif
46055
46056 #undef $ac_func
46057
46058 /* Override any GCC internal prototype to avoid an error.
46059 Use char because int might match the return type of a GCC
46060 builtin and then its argument prototype would still apply. */
46061 #ifdef __cplusplus
46062 extern "C"
46063 #endif
46064 char $ac_func ();
46065 /* The GNU C library defines this for functions which it implements
46066 to always fail with ENOSYS. Some functions are actually named
46067 something starting with __ and the normal name is an alias. */
46068 #if defined __stub_$ac_func || defined __stub___$ac_func
46069 choke me
46070 #endif
46071
46072 int
46073 main ()
46074 {
46075 return $ac_func ();
46076 ;
46077 return 0;
46078 }
46079 _ACEOF
46080 rm -f conftest.$ac_objext conftest$ac_exeext
46081 if { (ac_try="$ac_link"
46082 case "(($ac_try" in
46083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46084 *) ac_try_echo=$ac_try;;
46085 esac
46086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46087 (eval "$ac_link") 2>conftest.er1
46088 ac_status=$?
46089 grep -v '^ *+' conftest.er1 >conftest.err
46090 rm -f conftest.er1
46091 cat conftest.err >&5
46092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46093 (exit $ac_status); } && {
46094 test -z "$ac_c_werror_flag" ||
46095 test ! -s conftest.err
46096 } && test -s conftest$ac_exeext &&
46097 $as_test_x conftest$ac_exeext; then
46098 eval "$as_ac_var=yes"
46099 else
46100 echo "$as_me: failed program was:" >&5
46101 sed 's/^/| /' conftest.$ac_ext >&5
46102
46103 eval "$as_ac_var=no"
46104 fi
46105
46106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46107 conftest$ac_exeext conftest.$ac_ext
46108 fi
46109 ac_res=`eval echo '${'$as_ac_var'}'`
46110 { echo "$as_me:$LINENO: result: $ac_res" >&5
46111 echo "${ECHO_T}$ac_res" >&6; }
46112 if test `eval echo '${'$as_ac_var'}'` = yes; then
46113 cat >>confdefs.h <<_ACEOF
46114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46115 _ACEOF
46116 break
46117 fi
46118 done
46119
46120
46121 if test "$ac_cv_func_gettimeofday" = "yes"; then
46122 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46123 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46124 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46125 echo $ECHO_N "(cached) $ECHO_C" >&6
46126 else
46127
46128 cat >conftest.$ac_ext <<_ACEOF
46129 /* confdefs.h. */
46130 _ACEOF
46131 cat confdefs.h >>conftest.$ac_ext
46132 cat >>conftest.$ac_ext <<_ACEOF
46133 /* end confdefs.h. */
46134
46135 #include <sys/time.h>
46136 #include <unistd.h>
46137
46138 int
46139 main ()
46140 {
46141
46142 struct timeval tv;
46143 gettimeofday(&tv, NULL);
46144
46145 ;
46146 return 0;
46147 }
46148 _ACEOF
46149 rm -f conftest.$ac_objext
46150 if { (ac_try="$ac_compile"
46151 case "(($ac_try" in
46152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46153 *) ac_try_echo=$ac_try;;
46154 esac
46155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46156 (eval "$ac_compile") 2>conftest.er1
46157 ac_status=$?
46158 grep -v '^ *+' conftest.er1 >conftest.err
46159 rm -f conftest.er1
46160 cat conftest.err >&5
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); } && {
46163 test -z "$ac_c_werror_flag" ||
46164 test ! -s conftest.err
46165 } && test -s conftest.$ac_objext; then
46166 wx_cv_func_gettimeofday_has_2_args=yes
46167 else
46168 echo "$as_me: failed program was:" >&5
46169 sed 's/^/| /' conftest.$ac_ext >&5
46170
46171 cat >conftest.$ac_ext <<_ACEOF
46172 /* confdefs.h. */
46173 _ACEOF
46174 cat confdefs.h >>conftest.$ac_ext
46175 cat >>conftest.$ac_ext <<_ACEOF
46176 /* end confdefs.h. */
46177
46178 #include <sys/time.h>
46179 #include <unistd.h>
46180
46181 int
46182 main ()
46183 {
46184
46185 struct timeval tv;
46186 gettimeofday(&tv);
46187
46188 ;
46189 return 0;
46190 }
46191 _ACEOF
46192 rm -f conftest.$ac_objext
46193 if { (ac_try="$ac_compile"
46194 case "(($ac_try" in
46195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46196 *) ac_try_echo=$ac_try;;
46197 esac
46198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46199 (eval "$ac_compile") 2>conftest.er1
46200 ac_status=$?
46201 grep -v '^ *+' conftest.er1 >conftest.err
46202 rm -f conftest.er1
46203 cat conftest.err >&5
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); } && {
46206 test -z "$ac_c_werror_flag" ||
46207 test ! -s conftest.err
46208 } && test -s conftest.$ac_objext; then
46209 wx_cv_func_gettimeofday_has_2_args=no
46210 else
46211 echo "$as_me: failed program was:" >&5
46212 sed 's/^/| /' conftest.$ac_ext >&5
46213
46214
46215 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46216 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46217 wx_cv_func_gettimeofday_has_2_args=unknown
46218
46219
46220 fi
46221
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223
46224 fi
46225
46226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46227
46228 fi
46229 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46230 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46231
46232 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define WX_GETTIMEOFDAY_NO_TZ 1
46235 _ACEOF
46236
46237 fi
46238 fi
46239
46240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46241 fi
46242
46243
46244 if test "$wxUSE_SOCKETS" = "yes"; then
46245 if test "$wxUSE_MGL" = "1"; then
46246 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46247 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46248 wxUSE_SOCKETS="no"
46249 fi
46250 fi
46251
46252 if test "$wxUSE_SOCKETS" = "yes"; then
46253 if test "$TOOLKIT" != "MSW"; then
46254 { echo "$as_me:$LINENO: checking for socket" >&5
46255 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46256 if test "${ac_cv_func_socket+set}" = set; then
46257 echo $ECHO_N "(cached) $ECHO_C" >&6
46258 else
46259 cat >conftest.$ac_ext <<_ACEOF
46260 /* confdefs.h. */
46261 _ACEOF
46262 cat confdefs.h >>conftest.$ac_ext
46263 cat >>conftest.$ac_ext <<_ACEOF
46264 /* end confdefs.h. */
46265 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46267 #define socket innocuous_socket
46268
46269 /* System header to define __stub macros and hopefully few prototypes,
46270 which can conflict with char socket (); below.
46271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46272 <limits.h> exists even on freestanding compilers. */
46273
46274 #ifdef __STDC__
46275 # include <limits.h>
46276 #else
46277 # include <assert.h>
46278 #endif
46279
46280 #undef socket
46281
46282 /* Override any GCC internal prototype to avoid an error.
46283 Use char because int might match the return type of a GCC
46284 builtin and then its argument prototype would still apply. */
46285 #ifdef __cplusplus
46286 extern "C"
46287 #endif
46288 char socket ();
46289 /* The GNU C library defines this for functions which it implements
46290 to always fail with ENOSYS. Some functions are actually named
46291 something starting with __ and the normal name is an alias. */
46292 #if defined __stub_socket || defined __stub___socket
46293 choke me
46294 #endif
46295
46296 int
46297 main ()
46298 {
46299 return socket ();
46300 ;
46301 return 0;
46302 }
46303 _ACEOF
46304 rm -f conftest.$ac_objext conftest$ac_exeext
46305 if { (ac_try="$ac_link"
46306 case "(($ac_try" in
46307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46308 *) ac_try_echo=$ac_try;;
46309 esac
46310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46311 (eval "$ac_link") 2>conftest.er1
46312 ac_status=$?
46313 grep -v '^ *+' conftest.er1 >conftest.err
46314 rm -f conftest.er1
46315 cat conftest.err >&5
46316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46317 (exit $ac_status); } && {
46318 test -z "$ac_c_werror_flag" ||
46319 test ! -s conftest.err
46320 } && test -s conftest$ac_exeext &&
46321 $as_test_x conftest$ac_exeext; then
46322 ac_cv_func_socket=yes
46323 else
46324 echo "$as_me: failed program was:" >&5
46325 sed 's/^/| /' conftest.$ac_ext >&5
46326
46327 ac_cv_func_socket=no
46328 fi
46329
46330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46331 conftest$ac_exeext conftest.$ac_ext
46332 fi
46333 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46334 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46335 if test $ac_cv_func_socket = yes; then
46336 :
46337 else
46338
46339 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46340 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46341 if test "${ac_cv_lib_socket_socket+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46344 ac_check_lib_save_LIBS=$LIBS
46345 LIBS="-lsocket $LIBS"
46346 cat >conftest.$ac_ext <<_ACEOF
46347 /* confdefs.h. */
46348 _ACEOF
46349 cat confdefs.h >>conftest.$ac_ext
46350 cat >>conftest.$ac_ext <<_ACEOF
46351 /* end confdefs.h. */
46352
46353 /* Override any GCC internal prototype to avoid an error.
46354 Use char because int might match the return type of a GCC
46355 builtin and then its argument prototype would still apply. */
46356 #ifdef __cplusplus
46357 extern "C"
46358 #endif
46359 char socket ();
46360 int
46361 main ()
46362 {
46363 return socket ();
46364 ;
46365 return 0;
46366 }
46367 _ACEOF
46368 rm -f conftest.$ac_objext conftest$ac_exeext
46369 if { (ac_try="$ac_link"
46370 case "(($ac_try" in
46371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46372 *) ac_try_echo=$ac_try;;
46373 esac
46374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46375 (eval "$ac_link") 2>conftest.er1
46376 ac_status=$?
46377 grep -v '^ *+' conftest.er1 >conftest.err
46378 rm -f conftest.er1
46379 cat conftest.err >&5
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); } && {
46382 test -z "$ac_c_werror_flag" ||
46383 test ! -s conftest.err
46384 } && test -s conftest$ac_exeext &&
46385 $as_test_x conftest$ac_exeext; then
46386 ac_cv_lib_socket_socket=yes
46387 else
46388 echo "$as_me: failed program was:" >&5
46389 sed 's/^/| /' conftest.$ac_ext >&5
46390
46391 ac_cv_lib_socket_socket=no
46392 fi
46393
46394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46395 conftest$ac_exeext conftest.$ac_ext
46396 LIBS=$ac_check_lib_save_LIBS
46397 fi
46398 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46399 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46400 if test $ac_cv_lib_socket_socket = yes; then
46401 if test "$INET_LINK" != " -lsocket"; then
46402 INET_LINK="$INET_LINK -lsocket"
46403 fi
46404 else
46405
46406 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46407 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46408 wxUSE_SOCKETS=no
46409
46410
46411 fi
46412
46413
46414
46415 fi
46416
46417 fi
46418 fi
46419
46420 if test "$wxUSE_SOCKETS" = "yes" ; then
46421 if test "$TOOLKIT" != "MSW"; then
46422 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46423 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46424 if test "${wx_cv_type_getsockname3+set}" = set; then
46425 echo $ECHO_N "(cached) $ECHO_C" >&6
46426 else
46427
46428 ac_ext=cpp
46429 ac_cpp='$CXXCPP $CPPFLAGS'
46430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46433
46434 cat >conftest.$ac_ext <<_ACEOF
46435 /* confdefs.h. */
46436 _ACEOF
46437 cat confdefs.h >>conftest.$ac_ext
46438 cat >>conftest.$ac_ext <<_ACEOF
46439 /* end confdefs.h. */
46440
46441 #include <sys/types.h>
46442 #include <sys/socket.h>
46443
46444 int
46445 main ()
46446 {
46447
46448 socklen_t len;
46449 getsockname(0, 0, &len);
46450
46451 ;
46452 return 0;
46453 }
46454 _ACEOF
46455 rm -f conftest.$ac_objext
46456 if { (ac_try="$ac_compile"
46457 case "(($ac_try" in
46458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46459 *) ac_try_echo=$ac_try;;
46460 esac
46461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46462 (eval "$ac_compile") 2>conftest.er1
46463 ac_status=$?
46464 grep -v '^ *+' conftest.er1 >conftest.err
46465 rm -f conftest.er1
46466 cat conftest.err >&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); } && {
46469 test -z "$ac_cxx_werror_flag" ||
46470 test ! -s conftest.err
46471 } && test -s conftest.$ac_objext; then
46472 wx_cv_type_getsockname3=socklen_t
46473 else
46474 echo "$as_me: failed program was:" >&5
46475 sed 's/^/| /' conftest.$ac_ext >&5
46476
46477
46478 CFLAGS_OLD="$CFLAGS"
46479 if test "$GCC" = yes ; then
46480 CFLAGS="-Werror $CFLAGS"
46481 fi
46482
46483 cat >conftest.$ac_ext <<_ACEOF
46484 /* confdefs.h. */
46485 _ACEOF
46486 cat confdefs.h >>conftest.$ac_ext
46487 cat >>conftest.$ac_ext <<_ACEOF
46488 /* end confdefs.h. */
46489
46490 #include <sys/types.h>
46491 #include <sys/socket.h>
46492
46493 int
46494 main ()
46495 {
46496
46497 size_t len;
46498 getsockname(0, 0, &len);
46499
46500 ;
46501 return 0;
46502 }
46503 _ACEOF
46504 rm -f conftest.$ac_objext
46505 if { (ac_try="$ac_compile"
46506 case "(($ac_try" in
46507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46508 *) ac_try_echo=$ac_try;;
46509 esac
46510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46511 (eval "$ac_compile") 2>conftest.er1
46512 ac_status=$?
46513 grep -v '^ *+' conftest.er1 >conftest.err
46514 rm -f conftest.er1
46515 cat conftest.err >&5
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); } && {
46518 test -z "$ac_cxx_werror_flag" ||
46519 test ! -s conftest.err
46520 } && test -s conftest.$ac_objext; then
46521 wx_cv_type_getsockname3=size_t
46522 else
46523 echo "$as_me: failed program was:" >&5
46524 sed 's/^/| /' conftest.$ac_ext >&5
46525
46526 cat >conftest.$ac_ext <<_ACEOF
46527 /* confdefs.h. */
46528 _ACEOF
46529 cat confdefs.h >>conftest.$ac_ext
46530 cat >>conftest.$ac_ext <<_ACEOF
46531 /* end confdefs.h. */
46532
46533 #include <sys/types.h>
46534 #include <sys/socket.h>
46535
46536 int
46537 main ()
46538 {
46539
46540 int len;
46541 getsockname(0, 0, &len);
46542
46543 ;
46544 return 0;
46545 }
46546 _ACEOF
46547 rm -f conftest.$ac_objext
46548 if { (ac_try="$ac_compile"
46549 case "(($ac_try" in
46550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46551 *) ac_try_echo=$ac_try;;
46552 esac
46553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46554 (eval "$ac_compile") 2>conftest.er1
46555 ac_status=$?
46556 grep -v '^ *+' conftest.er1 >conftest.err
46557 rm -f conftest.er1
46558 cat conftest.err >&5
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); } && {
46561 test -z "$ac_cxx_werror_flag" ||
46562 test ! -s conftest.err
46563 } && test -s conftest.$ac_objext; then
46564 wx_cv_type_getsockname3=int
46565 else
46566 echo "$as_me: failed program was:" >&5
46567 sed 's/^/| /' conftest.$ac_ext >&5
46568
46569 wx_cv_type_getsockname3=unknown
46570
46571 fi
46572
46573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46574
46575 fi
46576
46577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46578
46579 CFLAGS="$CFLAGS_OLD"
46580
46581
46582 fi
46583
46584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46585 ac_ext=c
46586 ac_cpp='$CPP $CPPFLAGS'
46587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46590
46591
46592 fi
46593 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46594 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46595
46596 if test "$wx_cv_type_getsockname3" = "unknown"; then
46597 wxUSE_SOCKETS=no
46598 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46599 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46600 else
46601 cat >>confdefs.h <<_ACEOF
46602 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46603 _ACEOF
46604
46605 fi
46606 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46607 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46608 if test "${wx_cv_type_getsockopt5+set}" = set; then
46609 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 else
46611
46612 ac_ext=cpp
46613 ac_cpp='$CXXCPP $CPPFLAGS'
46614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617
46618 cat >conftest.$ac_ext <<_ACEOF
46619 /* confdefs.h. */
46620 _ACEOF
46621 cat confdefs.h >>conftest.$ac_ext
46622 cat >>conftest.$ac_ext <<_ACEOF
46623 /* end confdefs.h. */
46624
46625 #include <sys/types.h>
46626 #include <sys/socket.h>
46627
46628 int
46629 main ()
46630 {
46631
46632 socklen_t len;
46633 getsockopt(0, 0, 0, 0, &len);
46634
46635 ;
46636 return 0;
46637 }
46638 _ACEOF
46639 rm -f conftest.$ac_objext
46640 if { (ac_try="$ac_compile"
46641 case "(($ac_try" in
46642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46643 *) ac_try_echo=$ac_try;;
46644 esac
46645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46646 (eval "$ac_compile") 2>conftest.er1
46647 ac_status=$?
46648 grep -v '^ *+' conftest.er1 >conftest.err
46649 rm -f conftest.er1
46650 cat conftest.err >&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); } && {
46653 test -z "$ac_cxx_werror_flag" ||
46654 test ! -s conftest.err
46655 } && test -s conftest.$ac_objext; then
46656 wx_cv_type_getsockopt5=socklen_t
46657 else
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.$ac_ext >&5
46660
46661
46662 cat >conftest.$ac_ext <<_ACEOF
46663 /* confdefs.h. */
46664 _ACEOF
46665 cat confdefs.h >>conftest.$ac_ext
46666 cat >>conftest.$ac_ext <<_ACEOF
46667 /* end confdefs.h. */
46668
46669 #include <sys/types.h>
46670 #include <sys/socket.h>
46671
46672 int
46673 main ()
46674 {
46675
46676 size_t len;
46677 getsockopt(0, 0, 0, 0, &len);
46678
46679 ;
46680 return 0;
46681 }
46682 _ACEOF
46683 rm -f conftest.$ac_objext
46684 if { (ac_try="$ac_compile"
46685 case "(($ac_try" in
46686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46687 *) ac_try_echo=$ac_try;;
46688 esac
46689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46690 (eval "$ac_compile") 2>conftest.er1
46691 ac_status=$?
46692 grep -v '^ *+' conftest.er1 >conftest.err
46693 rm -f conftest.er1
46694 cat conftest.err >&5
46695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46696 (exit $ac_status); } && {
46697 test -z "$ac_cxx_werror_flag" ||
46698 test ! -s conftest.err
46699 } && test -s conftest.$ac_objext; then
46700 wx_cv_type_getsockopt5=size_t
46701 else
46702 echo "$as_me: failed program was:" >&5
46703 sed 's/^/| /' conftest.$ac_ext >&5
46704
46705 cat >conftest.$ac_ext <<_ACEOF
46706 /* confdefs.h. */
46707 _ACEOF
46708 cat confdefs.h >>conftest.$ac_ext
46709 cat >>conftest.$ac_ext <<_ACEOF
46710 /* end confdefs.h. */
46711
46712 #include <sys/types.h>
46713 #include <sys/socket.h>
46714
46715 int
46716 main ()
46717 {
46718
46719 int len;
46720 getsockopt(0, 0, 0, 0, &len);
46721
46722 ;
46723 return 0;
46724 }
46725 _ACEOF
46726 rm -f conftest.$ac_objext
46727 if { (ac_try="$ac_compile"
46728 case "(($ac_try" in
46729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46730 *) ac_try_echo=$ac_try;;
46731 esac
46732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46733 (eval "$ac_compile") 2>conftest.er1
46734 ac_status=$?
46735 grep -v '^ *+' conftest.er1 >conftest.err
46736 rm -f conftest.er1
46737 cat conftest.err >&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); } && {
46740 test -z "$ac_cxx_werror_flag" ||
46741 test ! -s conftest.err
46742 } && test -s conftest.$ac_objext; then
46743 wx_cv_type_getsockopt5=int
46744 else
46745 echo "$as_me: failed program was:" >&5
46746 sed 's/^/| /' conftest.$ac_ext >&5
46747
46748 wx_cv_type_getsockopt5=unknown
46749
46750 fi
46751
46752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46753
46754 fi
46755
46756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46757
46758
46759 fi
46760
46761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46762 ac_ext=c
46763 ac_cpp='$CPP $CPPFLAGS'
46764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46767
46768
46769 fi
46770 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46771 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46772
46773 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46774 wxUSE_SOCKETS=no
46775 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46776 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46777 else
46778 cat >>confdefs.h <<_ACEOF
46779 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46780 _ACEOF
46781
46782 fi
46783 fi
46784 fi
46785
46786 if test "$wxUSE_SOCKETS" = "yes" ; then
46787 cat >>confdefs.h <<\_ACEOF
46788 #define wxUSE_SOCKETS 1
46789 _ACEOF
46790
46791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46792 fi
46793
46794 if test "$wxUSE_PROTOCOL" = "yes"; then
46795 if test "$wxUSE_SOCKETS" != "yes"; then
46796 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46797 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46798 wxUSE_PROTOCOL=no
46799 fi
46800 fi
46801
46802 if test "$wxUSE_PROTOCOL" = "yes"; then
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_PROTOCOL 1
46805 _ACEOF
46806
46807
46808 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_PROTOCOL_HTTP 1
46811 _ACEOF
46812
46813 fi
46814 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46815 cat >>confdefs.h <<\_ACEOF
46816 #define wxUSE_PROTOCOL_FTP 1
46817 _ACEOF
46818
46819 fi
46820 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46821 cat >>confdefs.h <<\_ACEOF
46822 #define wxUSE_PROTOCOL_FILE 1
46823 _ACEOF
46824
46825 fi
46826 else
46827 if test "$wxUSE_FS_INET" = "yes"; then
46828 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46829 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46830 wxUSE_FS_INET="no"
46831 fi
46832 fi
46833
46834 if test "$wxUSE_URL" = "yes"; then
46835 if test "$wxUSE_PROTOCOL" != "yes"; then
46836 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46837 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46838 wxUSE_URL=no
46839 fi
46840 if test "$wxUSE_URL" = "yes"; then
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_URL 1
46843 _ACEOF
46844
46845 fi
46846 fi
46847
46848 if test "$wxUSE_VARIANT" = "yes"; then
46849 cat >>confdefs.h <<\_ACEOF
46850 #define wxUSE_VARIANT 1
46851 _ACEOF
46852
46853 fi
46854
46855 if test "$wxUSE_FS_INET" = "yes"; then
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_FS_INET 1
46858 _ACEOF
46859
46860 fi
46861
46862
46863 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46864 wxUSE_JOYSTICK=no
46865
46866 if test "$TOOLKIT" = "MSW"; then
46867 wxUSE_JOYSTICK=yes
46868
46869 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46870 if test "$USE_DARWIN" = 1; then
46871 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46872 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46873 ac_ext=cpp
46874 ac_cpp='$CXXCPP $CPPFLAGS'
46875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46878
46879 cat >conftest.$ac_ext <<_ACEOF
46880 /* confdefs.h. */
46881 _ACEOF
46882 cat confdefs.h >>conftest.$ac_ext
46883 cat >>conftest.$ac_ext <<_ACEOF
46884 /* end confdefs.h. */
46885 #include <IOKit/hid/IOHIDLib.h>
46886 int
46887 main ()
46888 {
46889 IOHIDQueueInterface *qi = NULL;
46890 IOHIDCallbackFunction cb = NULL;
46891 qi->setEventCallout(NULL, cb, NULL, NULL);
46892 ;
46893 return 0;
46894 }
46895 _ACEOF
46896 rm -f conftest.$ac_objext
46897 if { (ac_try="$ac_compile"
46898 case "(($ac_try" in
46899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46900 *) ac_try_echo=$ac_try;;
46901 esac
46902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46903 (eval "$ac_compile") 2>conftest.er1
46904 ac_status=$?
46905 grep -v '^ *+' conftest.er1 >conftest.err
46906 rm -f conftest.er1
46907 cat conftest.err >&5
46908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46909 (exit $ac_status); } && {
46910 test -z "$ac_cxx_werror_flag" ||
46911 test ! -s conftest.err
46912 } && test -s conftest.$ac_objext; then
46913 wxUSE_JOYSTICK=yes
46914
46915 else
46916 echo "$as_me: failed program was:" >&5
46917 sed 's/^/| /' conftest.$ac_ext >&5
46918
46919
46920 fi
46921
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46923 ac_ext=c
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46928
46929 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46930 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46931 fi
46932
46933 else
46934 if test "$wxUSE_MGL" != "1"; then
46935 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46936 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46937 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46938 echo $ECHO_N "(cached) $ECHO_C" >&6
46939 else
46940 cat >conftest.$ac_ext <<_ACEOF
46941 /* confdefs.h. */
46942 _ACEOF
46943 cat confdefs.h >>conftest.$ac_ext
46944 cat >>conftest.$ac_ext <<_ACEOF
46945 /* end confdefs.h. */
46946 $ac_includes_default
46947
46948 #include <linux/joystick.h>
46949 _ACEOF
46950 rm -f conftest.$ac_objext
46951 if { (ac_try="$ac_compile"
46952 case "(($ac_try" in
46953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46954 *) ac_try_echo=$ac_try;;
46955 esac
46956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46957 (eval "$ac_compile") 2>conftest.er1
46958 ac_status=$?
46959 grep -v '^ *+' conftest.er1 >conftest.err
46960 rm -f conftest.er1
46961 cat conftest.err >&5
46962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46963 (exit $ac_status); } && {
46964 test -z "$ac_c_werror_flag" ||
46965 test ! -s conftest.err
46966 } && test -s conftest.$ac_objext; then
46967 ac_cv_header_linux_joystick_h=yes
46968 else
46969 echo "$as_me: failed program was:" >&5
46970 sed 's/^/| /' conftest.$ac_ext >&5
46971
46972 ac_cv_header_linux_joystick_h=no
46973 fi
46974
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 fi
46977 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46978 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46979 if test $ac_cv_header_linux_joystick_h = yes; then
46980 wxUSE_JOYSTICK=yes
46981 fi
46982
46983
46984 fi
46985 fi
46986
46987 if test "$wxUSE_JOYSTICK" = "yes"; then
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_JOYSTICK 1
46990 _ACEOF
46991
46992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46993 else
46994 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46995 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46996 fi
46997 fi
46998
46999
47000
47001 if test "$wxUSE_FONTMAP" = "yes" ; then
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_FONTMAP 1
47004 _ACEOF
47005
47006 fi
47007
47008 if test "$wxUSE_UNICODE" = "yes" ; then
47009 cat >>confdefs.h <<\_ACEOF
47010 #define wxUSE_UNICODE 1
47011 _ACEOF
47012
47013
47014 if test "$USE_WIN32" != 1; then
47015 wxUSE_UNICODE_MSLU=no
47016 fi
47017
47018 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47019 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47020 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47021 if test "${ac_cv_lib_unicows_main+set}" = set; then
47022 echo $ECHO_N "(cached) $ECHO_C" >&6
47023 else
47024 ac_check_lib_save_LIBS=$LIBS
47025 LIBS="-lunicows $LIBS"
47026 cat >conftest.$ac_ext <<_ACEOF
47027 /* confdefs.h. */
47028 _ACEOF
47029 cat confdefs.h >>conftest.$ac_ext
47030 cat >>conftest.$ac_ext <<_ACEOF
47031 /* end confdefs.h. */
47032
47033
47034 int
47035 main ()
47036 {
47037 return main ();
47038 ;
47039 return 0;
47040 }
47041 _ACEOF
47042 rm -f conftest.$ac_objext conftest$ac_exeext
47043 if { (ac_try="$ac_link"
47044 case "(($ac_try" in
47045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47046 *) ac_try_echo=$ac_try;;
47047 esac
47048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47049 (eval "$ac_link") 2>conftest.er1
47050 ac_status=$?
47051 grep -v '^ *+' conftest.er1 >conftest.err
47052 rm -f conftest.er1
47053 cat conftest.err >&5
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); } && {
47056 test -z "$ac_c_werror_flag" ||
47057 test ! -s conftest.err
47058 } && test -s conftest$ac_exeext &&
47059 $as_test_x conftest$ac_exeext; then
47060 ac_cv_lib_unicows_main=yes
47061 else
47062 echo "$as_me: failed program was:" >&5
47063 sed 's/^/| /' conftest.$ac_ext >&5
47064
47065 ac_cv_lib_unicows_main=no
47066 fi
47067
47068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47069 conftest$ac_exeext conftest.$ac_ext
47070 LIBS=$ac_check_lib_save_LIBS
47071 fi
47072 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47073 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47074 if test $ac_cv_lib_unicows_main = yes; then
47075
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_UNICODE_MSLU 1
47078 _ACEOF
47079
47080
47081 else
47082
47083 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47084 Applications will only run on Windows NT/2000/XP!" >&5
47085 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47086 Applications will only run on Windows NT/2000/XP!" >&2;}
47087 wxUSE_UNICODE_MSLU=no
47088
47089 fi
47090
47091 fi
47092 fi
47093
47094 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47095 cat >>confdefs.h <<\_ACEOF
47096 #define wxUSE_UNICODE_UTF8 1
47097 _ACEOF
47098
47099
47100 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_UTF8_LOCALE_ONLY 1
47103 _ACEOF
47104
47105 fi
47106 fi
47107
47108 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_EXPERIMENTAL_PRINTF 1
47111 _ACEOF
47112
47113 fi
47114
47115
47116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_CONSTRAINTS 1
47119 _ACEOF
47120
47121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47122 fi
47123
47124 if test "$wxUSE_MDI" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_MDI 1
47127 _ACEOF
47128
47129
47130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_MDI_ARCHITECTURE 1
47133 _ACEOF
47134
47135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47136 fi
47137 fi
47138
47139 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47140 cat >>confdefs.h <<\_ACEOF
47141 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47142 _ACEOF
47143
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47145 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47147 fi
47148 fi
47149
47150 if test "$wxUSE_HELP" = "yes"; then
47151 cat >>confdefs.h <<\_ACEOF
47152 #define wxUSE_HELP 1
47153 _ACEOF
47154
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47156
47157 if test "$wxUSE_MSW" = 1; then
47158 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_MS_HTML_HELP 1
47161 _ACEOF
47162
47163 fi
47164 fi
47165
47166 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47167 if test "$wxUSE_HTML" = "yes"; then
47168 cat >>confdefs.h <<\_ACEOF
47169 #define wxUSE_WXHTML_HELP 1
47170 _ACEOF
47171
47172 else
47173 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47174 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47175 wxUSE_WXHTML_HELP=no
47176 fi
47177 fi
47178 fi
47179
47180 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47181 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47182 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47183 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47184 else
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_PRINTING_ARCHITECTURE 1
47187 _ACEOF
47188
47189 fi
47190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47191 fi
47192
47193 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_POSTSCRIPT 1
47196 _ACEOF
47197
47198 fi
47199
47200 cat >>confdefs.h <<\_ACEOF
47201 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47202 _ACEOF
47203
47204
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_NORMALIZED_PS_FONTS 1
47207 _ACEOF
47208
47209
47210 if test "$wxUSE_SVG" = "yes"; then
47211 cat >>confdefs.h <<\_ACEOF
47212 #define wxUSE_SVG 1
47213 _ACEOF
47214
47215 fi
47216
47217
47218 if test "$wxUSE_METAFILE" = "yes"; then
47219 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47220 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47221 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47222 wxUSE_METAFILE=no
47223 fi
47224 fi
47225
47226
47227 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47228 -o "$wxUSE_CLIPBOARD" = "yes" \
47229 -o "$wxUSE_OLE" = "yes" \
47230 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47231 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47232 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47233 if test "${ac_cv_header_ole2_h+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47235 else
47236 cat >conftest.$ac_ext <<_ACEOF
47237 /* confdefs.h. */
47238 _ACEOF
47239 cat confdefs.h >>conftest.$ac_ext
47240 cat >>conftest.$ac_ext <<_ACEOF
47241 /* end confdefs.h. */
47242
47243
47244 #include <ole2.h>
47245 _ACEOF
47246 rm -f conftest.$ac_objext
47247 if { (ac_try="$ac_compile"
47248 case "(($ac_try" in
47249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47250 *) ac_try_echo=$ac_try;;
47251 esac
47252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47253 (eval "$ac_compile") 2>conftest.er1
47254 ac_status=$?
47255 grep -v '^ *+' conftest.er1 >conftest.err
47256 rm -f conftest.er1
47257 cat conftest.err >&5
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); } && {
47260 test -z "$ac_c_werror_flag" ||
47261 test ! -s conftest.err
47262 } && test -s conftest.$ac_objext; then
47263 ac_cv_header_ole2_h=yes
47264 else
47265 echo "$as_me: failed program was:" >&5
47266 sed 's/^/| /' conftest.$ac_ext >&5
47267
47268 ac_cv_header_ole2_h=no
47269 fi
47270
47271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47272 fi
47273 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47274 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47275
47276
47277
47278 if test "$ac_cv_header_ole2_h" = "yes" ; then
47279 if test "$GCC" = yes ; then
47280 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47281 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47282 cat >conftest.$ac_ext <<_ACEOF
47283 /* confdefs.h. */
47284 _ACEOF
47285 cat confdefs.h >>conftest.$ac_ext
47286 cat >>conftest.$ac_ext <<_ACEOF
47287 /* end confdefs.h. */
47288 #include <windows.h>
47289 #include <ole2.h>
47290 int
47291 main ()
47292 {
47293
47294 ;
47295 return 0;
47296 }
47297 _ACEOF
47298 rm -f conftest.$ac_objext
47299 if { (ac_try="$ac_compile"
47300 case "(($ac_try" in
47301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47302 *) ac_try_echo=$ac_try;;
47303 esac
47304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47305 (eval "$ac_compile") 2>conftest.er1
47306 ac_status=$?
47307 grep -v '^ *+' conftest.er1 >conftest.err
47308 rm -f conftest.er1
47309 cat conftest.err >&5
47310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47311 (exit $ac_status); } && {
47312 test -z "$ac_c_werror_flag" ||
47313 test ! -s conftest.err
47314 } && test -s conftest.$ac_objext; then
47315 { echo "$as_me:$LINENO: result: no" >&5
47316 echo "${ECHO_T}no" >&6; }
47317 else
47318 echo "$as_me: failed program was:" >&5
47319 sed 's/^/| /' conftest.$ac_ext >&5
47320
47321 { echo "$as_me:$LINENO: result: yes" >&5
47322 echo "${ECHO_T}yes" >&6; }
47323 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47324 fi
47325
47326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47327 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47328 if test "$wxUSE_OLE" = "yes" ; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_OLE 1
47331 _ACEOF
47332
47333 cat >>confdefs.h <<\_ACEOF
47334 #define wxUSE_OLE_AUTOMATION 1
47335 _ACEOF
47336
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_ACTIVEX 1
47339 _ACEOF
47340
47341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47342 fi
47343 fi
47344
47345 if test "$wxUSE_DATAOBJ" = "yes" ; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_DATAOBJ 1
47348 _ACEOF
47349
47350 fi
47351 else
47352 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47353 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47354
47355 wxUSE_CLIPBOARD=no
47356 wxUSE_DRAG_AND_DROP=no
47357 wxUSE_DATAOBJ=no
47358 wxUSE_OLE=no
47359 fi
47360
47361 if test "$wxUSE_METAFILE" = "yes"; then
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_METAFILE 1
47364 _ACEOF
47365
47366
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_ENH_METAFILE 1
47369 _ACEOF
47370
47371 fi
47372 fi
47373
47374 if test "$wxUSE_IPC" = "yes"; then
47375 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47376 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47377 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47378 wxUSE_IPC=no
47379 fi
47380
47381 if test "$wxUSE_IPC" = "yes"; then
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_IPC 1
47384 _ACEOF
47385
47386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47387 fi
47388 fi
47389
47390 if test "$wxUSE_DATAOBJ" = "yes"; then
47391 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47392 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47393 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47394 wxUSE_DATAOBJ=no
47395 else
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_DATAOBJ 1
47398 _ACEOF
47399
47400 fi
47401 else
47402 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47403 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47404 wxUSE_CLIPBOARD=no
47405 wxUSE_DRAG_AND_DROP=no
47406 fi
47407
47408 if test "$wxUSE_CLIPBOARD" = "yes"; then
47409 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47410 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47411 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47412 wxUSE_CLIPBOARD=no
47413 fi
47414
47415 if test "$wxUSE_CLIPBOARD" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_CLIPBOARD 1
47418 _ACEOF
47419
47420 fi
47421 fi
47422
47423 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47424 if test "$wxUSE_GTK" = 1; then
47425 if test "$WXGTK12" != 1; then
47426 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47427 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47428 wxUSE_DRAG_AND_DROP=no
47429 fi
47430 fi
47431
47432 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47433 "$wxUSE_DFB" = 1; then
47434 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47435 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47436 wxUSE_DRAG_AND_DROP=no
47437 fi
47438
47439 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_DRAG_AND_DROP 1
47442 _ACEOF
47443
47444 fi
47445
47446 fi
47447
47448 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47450 fi
47451
47452 if test "$wxUSE_SPLINES" = "yes" ; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_SPLINES 1
47455 _ACEOF
47456
47457 fi
47458
47459 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_MOUSEWHEEL 1
47462 _ACEOF
47463
47464 fi
47465
47466
47467 USES_CONTROLS=0
47468 if test "$wxUSE_CONTROLS" = "yes"; then
47469 USES_CONTROLS=1
47470 fi
47471
47472 if test "$wxUSE_ACCEL" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_ACCEL 1
47475 _ACEOF
47476
47477 USES_CONTROLS=1
47478 fi
47479
47480 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_ANIMATIONCTRL 1
47483 _ACEOF
47484
47485 USES_CONTROLS=1
47486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47487 fi
47488
47489 if test "$wxUSE_BUTTON" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_BUTTON 1
47492 _ACEOF
47493
47494 USES_CONTROLS=1
47495 fi
47496
47497 if test "$wxUSE_BMPBUTTON" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_BMPBUTTON 1
47500 _ACEOF
47501
47502 USES_CONTROLS=1
47503 fi
47504
47505 if test "$wxUSE_CALCTRL" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_CALENDARCTRL 1
47508 _ACEOF
47509
47510 USES_CONTROLS=1
47511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47512 fi
47513
47514 if test "$wxUSE_CARET" = "yes"; then
47515 cat >>confdefs.h <<\_ACEOF
47516 #define wxUSE_CARET 1
47517 _ACEOF
47518
47519 USES_CONTROLS=1
47520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47521 fi
47522
47523 if test "$wxUSE_COLLPANE" = "yes"; then
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_COLLPANE 1
47526 _ACEOF
47527
47528 USES_CONTROLS=1
47529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47530 fi
47531
47532 if test "$wxUSE_COMBOBOX" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_COMBOBOX 1
47535 _ACEOF
47536
47537 USES_CONTROLS=1
47538 fi
47539
47540 if test "$wxUSE_COMBOCTRL" = "yes"; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_COMBOCTRL 1
47543 _ACEOF
47544
47545 USES_CONTROLS=1
47546 fi
47547
47548 if test "$wxUSE_CHOICE" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_CHOICE 1
47551 _ACEOF
47552
47553 USES_CONTROLS=1
47554 fi
47555
47556 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_CHOICEBOOK 1
47559 _ACEOF
47560
47561 USES_CONTROLS=1
47562 fi
47563
47564 if test "$wxUSE_CHECKBOX" = "yes"; then
47565 cat >>confdefs.h <<\_ACEOF
47566 #define wxUSE_CHECKBOX 1
47567 _ACEOF
47568
47569 USES_CONTROLS=1
47570 fi
47571
47572 if test "$wxUSE_CHECKLST" = "yes"; then
47573 cat >>confdefs.h <<\_ACEOF
47574 #define wxUSE_CHECKLISTBOX 1
47575 _ACEOF
47576
47577 USES_CONTROLS=1
47578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47579 fi
47580
47581 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_COLOURPICKERCTRL 1
47584 _ACEOF
47585
47586 USES_CONTROLS=1
47587 fi
47588
47589 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47590 cat >>confdefs.h <<\_ACEOF
47591 #define wxUSE_DATEPICKCTRL 1
47592 _ACEOF
47593
47594 USES_CONTROLS=1
47595 fi
47596
47597 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_DIRPICKERCTRL 1
47600 _ACEOF
47601
47602 USES_CONTROLS=1
47603 fi
47604
47605 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_FILEPICKERCTRL 1
47608 _ACEOF
47609
47610 USES_CONTROLS=1
47611 fi
47612
47613 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47614 cat >>confdefs.h <<\_ACEOF
47615 #define wxUSE_FONTPICKERCTRL 1
47616 _ACEOF
47617
47618 USES_CONTROLS=1
47619 fi
47620
47621 if test "$wxUSE_DISPLAY" = "yes"; then
47622 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47623 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47624 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47625 wxUSE_DISPLAY=no
47626 else
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_DISPLAY 1
47629 _ACEOF
47630
47631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47632 fi
47633 fi
47634
47635 if test "$wxUSE_DETECT_SM" = "yes"; then
47636 cat >>confdefs.h <<\_ACEOF
47637 #define wxUSE_DETECT_SM 1
47638 _ACEOF
47639
47640 fi
47641
47642 if test "$wxUSE_GAUGE" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_GAUGE 1
47645 _ACEOF
47646
47647 USES_CONTROLS=1
47648 fi
47649
47650 if test "$wxUSE_GRID" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_GRID 1
47653 _ACEOF
47654
47655 USES_CONTROLS=1
47656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47657 fi
47658
47659 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_HYPERLINKCTRL 1
47662 _ACEOF
47663
47664 USES_CONTROLS=1
47665 fi
47666
47667 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_BITMAPCOMBOBOX 1
47670 _ACEOF
47671
47672 USES_CONTROLS=1
47673 fi
47674
47675 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47676 cat >>confdefs.h <<\_ACEOF
47677 #define wxUSE_DATAVIEWCTRL 1
47678 _ACEOF
47679
47680 USES_CONTROLS=1
47681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47682 fi
47683
47684 if test "$wxUSE_IMAGLIST" = "yes"; then
47685 cat >>confdefs.h <<\_ACEOF
47686 #define wxUSE_IMAGLIST 1
47687 _ACEOF
47688
47689 fi
47690
47691 if test "$wxUSE_LISTBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_LISTBOOK 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 fi
47698
47699 if test "$wxUSE_LISTBOX" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_LISTBOX 1
47702 _ACEOF
47703
47704 USES_CONTROLS=1
47705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47706 fi
47707
47708 if test "$wxUSE_LISTCTRL" = "yes"; then
47709 if test "$wxUSE_IMAGLIST" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_LISTCTRL 1
47712 _ACEOF
47713
47714 USES_CONTROLS=1
47715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47716 else
47717 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47718 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47719 fi
47720 fi
47721
47722 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_EDITABLELISTBOX 1
47725 _ACEOF
47726
47727 USES_CONTROLS=1
47728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47729 fi
47730
47731 if test "$wxUSE_NOTEBOOK" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_NOTEBOOK 1
47734 _ACEOF
47735
47736 USES_CONTROLS=1
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47738 fi
47739
47740 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_ODCOMBOBOX 1
47743 _ACEOF
47744
47745 USES_CONTROLS=1
47746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47747 fi
47748
47749
47750 if test "$wxUSE_RADIOBOX" = "yes"; then
47751 cat >>confdefs.h <<\_ACEOF
47752 #define wxUSE_RADIOBOX 1
47753 _ACEOF
47754
47755 USES_CONTROLS=1
47756 fi
47757
47758 if test "$wxUSE_RADIOBTN" = "yes"; then
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_RADIOBTN 1
47761 _ACEOF
47762
47763 USES_CONTROLS=1
47764 fi
47765
47766 if test "$wxUSE_SASH" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_SASH 1
47769 _ACEOF
47770
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47772 fi
47773
47774 if test "$wxUSE_SCROLLBAR" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_SCROLLBAR 1
47777 _ACEOF
47778
47779 USES_CONTROLS=1
47780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47781 fi
47782
47783 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47784 cat >>confdefs.h <<\_ACEOF
47785 #define wxUSE_SEARCHCTRL 1
47786 _ACEOF
47787
47788 USES_CONTROLS=1
47789 fi
47790
47791 if test "$wxUSE_SLIDER" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_SLIDER 1
47794 _ACEOF
47795
47796 USES_CONTROLS=1
47797 fi
47798
47799 if test "$wxUSE_SPINBTN" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_SPINBTN 1
47802 _ACEOF
47803
47804 USES_CONTROLS=1
47805 fi
47806
47807 if test "$wxUSE_SPINCTRL" = "yes"; then
47808 cat >>confdefs.h <<\_ACEOF
47809 #define wxUSE_SPINCTRL 1
47810 _ACEOF
47811
47812 USES_CONTROLS=1
47813 fi
47814
47815 if test "$wxUSE_SPLITTER" = "yes"; then
47816 cat >>confdefs.h <<\_ACEOF
47817 #define wxUSE_SPLITTER 1
47818 _ACEOF
47819
47820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47821 fi
47822
47823 if test "$wxUSE_STATBMP" = "yes"; then
47824 cat >>confdefs.h <<\_ACEOF
47825 #define wxUSE_STATBMP 1
47826 _ACEOF
47827
47828 USES_CONTROLS=1
47829 fi
47830
47831 if test "$wxUSE_STATBOX" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_STATBOX 1
47834 _ACEOF
47835
47836 USES_CONTROLS=1
47837 fi
47838
47839 if test "$wxUSE_STATTEXT" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_STATTEXT 1
47842 _ACEOF
47843
47844 USES_CONTROLS=1
47845 fi
47846
47847 if test "$wxUSE_STATLINE" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_STATLINE 1
47850 _ACEOF
47851
47852 USES_CONTROLS=1
47853 fi
47854
47855 if test "$wxUSE_STATUSBAR" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_NATIVE_STATUSBAR 1
47858 _ACEOF
47859
47860 cat >>confdefs.h <<\_ACEOF
47861 #define wxUSE_STATUSBAR 1
47862 _ACEOF
47863
47864 USES_CONTROLS=1
47865
47866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47867 fi
47868
47869 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_TAB_DIALOG 1
47872 _ACEOF
47873
47874 fi
47875
47876 if test "$wxUSE_TEXTCTRL" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_TEXTCTRL 1
47879 _ACEOF
47880
47881 USES_CONTROLS=1
47882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47883 fi
47884
47885 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47886 if test "$wxUSE_COCOA" = 1 ; then
47887 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47888 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47889 wxUSE_TOGGLEBTN=no
47890 fi
47891
47892 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_TOGGLEBTN 1
47895 _ACEOF
47896
47897 USES_CONTROLS=1
47898 fi
47899 fi
47900
47901 if test "$wxUSE_TOOLBAR" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_TOOLBAR 1
47904 _ACEOF
47905
47906 USES_CONTROLS=1
47907
47908 if test "$wxUSE_UNIVERSAL" = "yes"; then
47909 wxUSE_TOOLBAR_NATIVE="no"
47910 else
47911 wxUSE_TOOLBAR_NATIVE="yes"
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_TOOLBAR_NATIVE 1
47914 _ACEOF
47915
47916 fi
47917
47918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47919 fi
47920
47921 if test "$wxUSE_TOOLTIPS" = "yes"; then
47922 if test "$wxUSE_MOTIF" = 1; then
47923 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47924 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47925 else
47926 if test "$wxUSE_UNIVERSAL" = "yes"; then
47927 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47928 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47929 else
47930 cat >>confdefs.h <<\_ACEOF
47931 #define wxUSE_TOOLTIPS 1
47932 _ACEOF
47933
47934 fi
47935 fi
47936 fi
47937
47938 if test "$wxUSE_TREEBOOK" = "yes"; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_TREEBOOK 1
47941 _ACEOF
47942
47943 USES_CONTROLS=1
47944 fi
47945
47946 if test "$wxUSE_TOOLBOOK" = "yes"; then
47947 cat >>confdefs.h <<\_ACEOF
47948 #define wxUSE_TOOLBOOK 1
47949 _ACEOF
47950
47951 USES_CONTROLS=1
47952 fi
47953
47954 if test "$wxUSE_TREECTRL" = "yes"; then
47955 if test "$wxUSE_IMAGLIST" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_TREECTRL 1
47958 _ACEOF
47959
47960 USES_CONTROLS=1
47961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47962 else
47963 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47964 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47965 fi
47966 fi
47967
47968 if test "$wxUSE_POPUPWIN" = "yes"; then
47969 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47970 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47971 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47972 else
47973 if test "$wxUSE_PM" = 1; then
47974 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47975 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47976 else
47977 cat >>confdefs.h <<\_ACEOF
47978 #define wxUSE_POPUPWIN 1
47979 _ACEOF
47980
47981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47982
47983 USES_CONTROLS=1
47984 fi
47985 fi
47986 fi
47987
47988 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47989 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47990 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47991 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47992 else
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_DIALUP_MANAGER 1
47995 _ACEOF
47996
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47998 fi
47999 fi
48000
48001 if test "$wxUSE_TIPWINDOW" = "yes"; then
48002 if test "$wxUSE_PM" = 1; then
48003 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48004 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48005 else
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_TIPWINDOW 1
48008 _ACEOF
48009
48010 fi
48011 fi
48012
48013 if test "$USES_CONTROLS" = 1; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define wxUSE_CONTROLS 1
48016 _ACEOF
48017
48018 fi
48019
48020
48021 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48022 cat >>confdefs.h <<\_ACEOF
48023 #define wxUSE_ACCESSIBILITY 1
48024 _ACEOF
48025
48026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48027 fi
48028
48029 if test "$wxUSE_DC_CACHEING" = "yes"; then
48030 cat >>confdefs.h <<\_ACEOF
48031 #define wxUSE_DC_CACHEING 1
48032 _ACEOF
48033
48034 fi
48035
48036 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48037 cat >>confdefs.h <<\_ACEOF
48038 #define wxUSE_DRAGIMAGE 1
48039 _ACEOF
48040
48041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48042 fi
48043
48044 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48045 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48046 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48047 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48048 else
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_EXCEPTIONS 1
48051 _ACEOF
48052
48053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48054 fi
48055 fi
48056
48057 USE_HTML=0
48058 if test "$wxUSE_HTML" = "yes"; then
48059 cat >>confdefs.h <<\_ACEOF
48060 #define wxUSE_HTML 1
48061 _ACEOF
48062
48063 USE_HTML=1
48064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48065 if test "$wxUSE_MAC" = 1; then
48066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48067 fi
48068 fi
48069 if test "$wxUSE_WEBKIT" = "yes"; then
48070 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48071 old_CPPFLAGS="$CPPFLAGS"
48072 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48073 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48074 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48075 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48076 echo $ECHO_N "(cached) $ECHO_C" >&6
48077 else
48078 cat >conftest.$ac_ext <<_ACEOF
48079 /* confdefs.h. */
48080 _ACEOF
48081 cat confdefs.h >>conftest.$ac_ext
48082 cat >>conftest.$ac_ext <<_ACEOF
48083 /* end confdefs.h. */
48084
48085 #include <Carbon/Carbon.h>
48086 #include <WebKit/WebKit.h>
48087
48088
48089 #include <WebKit/HIWebView.h>
48090 _ACEOF
48091 rm -f conftest.$ac_objext
48092 if { (ac_try="$ac_compile"
48093 case "(($ac_try" in
48094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48095 *) ac_try_echo=$ac_try;;
48096 esac
48097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48098 (eval "$ac_compile") 2>conftest.er1
48099 ac_status=$?
48100 grep -v '^ *+' conftest.er1 >conftest.err
48101 rm -f conftest.er1
48102 cat conftest.err >&5
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); } && {
48105 test -z "$ac_c_werror_flag" ||
48106 test ! -s conftest.err
48107 } && test -s conftest.$ac_objext; then
48108 ac_cv_header_WebKit_HIWebView_h=yes
48109 else
48110 echo "$as_me: failed program was:" >&5
48111 sed 's/^/| /' conftest.$ac_ext >&5
48112
48113 ac_cv_header_WebKit_HIWebView_h=no
48114 fi
48115
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 fi
48118 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48119 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48120 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48121
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_WEBKIT 1
48124 _ACEOF
48125
48126 WEBKIT_LINK="-framework WebKit"
48127
48128 else
48129
48130 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48131 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48132 wxUSE_WEBKIT=no
48133
48134 fi
48135
48136
48137 CPPFLAGS="$old_CPPFLAGS"
48138 elif test "$wxUSE_COCOA" = 1; then
48139 cat >>confdefs.h <<\_ACEOF
48140 #define wxUSE_WEBKIT 1
48141 _ACEOF
48142
48143 else
48144 wxUSE_WEBKIT=no
48145 fi
48146 fi
48147
48148 USE_XRC=0
48149 if test "$wxUSE_XRC" = "yes"; then
48150 if test "$wxUSE_XML" != "yes"; then
48151 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48152 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48153 wxUSE_XRC=no
48154 else
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_XRC 1
48157 _ACEOF
48158
48159 USE_XRC=1
48160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48161 fi
48162 fi
48163
48164 USE_AUI=0
48165 if test "$wxUSE_AUI" = "yes"; then
48166 cat >>confdefs.h <<\_ACEOF
48167 #define wxUSE_AUI 1
48168 _ACEOF
48169
48170 USE_AUI=1
48171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48172 fi
48173
48174 USE_STC=0
48175 if test "$wxUSE_STC" = "yes"; then
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_STC 1
48178 _ACEOF
48179
48180 USE_STC=1
48181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48182 fi
48183
48184 if test "$wxUSE_MENUS" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_MENUS 1
48187 _ACEOF
48188
48189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48190 fi
48191
48192 if test "$wxUSE_METAFILE" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_METAFILE 1
48195 _ACEOF
48196
48197 fi
48198
48199 if test "$wxUSE_MIMETYPE" = "yes"; then
48200 cat >>confdefs.h <<\_ACEOF
48201 #define wxUSE_MIMETYPE 1
48202 _ACEOF
48203
48204 fi
48205
48206 if test "$wxUSE_MINIFRAME" = "yes"; then
48207 cat >>confdefs.h <<\_ACEOF
48208 #define wxUSE_MINIFRAME 1
48209 _ACEOF
48210
48211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48212 fi
48213
48214 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48215 cat >>confdefs.h <<\_ACEOF
48216 #define wxUSE_SYSTEM_OPTIONS 1
48217 _ACEOF
48218
48219 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
48220 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
48221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48222 fi
48223 fi
48224
48225
48226 if test "$wxUSE_VALIDATORS" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_VALIDATORS 1
48229 _ACEOF
48230
48231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48232 fi
48233
48234 if test "$wxUSE_PALETTE" = "yes" ; then
48235 if test "$wxUSE_DFB" = 1; then
48236 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48237 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48238 wxUSE_PALETTE=no
48239 else
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_PALETTE 1
48242 _ACEOF
48243
48244 fi
48245 fi
48246
48247 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48248 LIBS=" -lunicows $LIBS"
48249 fi
48250
48251 USE_RICHTEXT=0
48252 if test "$wxUSE_RICHTEXT" = "yes"; then
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_RICHTEXT 1
48255 _ACEOF
48256
48257 USE_RICHTEXT=1
48258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48259 fi
48260
48261
48262 if test "$wxUSE_IMAGE" = "yes" ; then
48263 cat >>confdefs.h <<\_ACEOF
48264 #define wxUSE_IMAGE 1
48265 _ACEOF
48266
48267
48268 if test "$wxUSE_GIF" = "yes" ; then
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_GIF 1
48271 _ACEOF
48272
48273 fi
48274
48275 if test "$wxUSE_PCX" = "yes" ; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_PCX 1
48278 _ACEOF
48279
48280 fi
48281
48282 if test "$wxUSE_TGA" = "yes" ; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_TGA 1
48285 _ACEOF
48286
48287 fi
48288
48289 if test "$wxUSE_IFF" = "yes" ; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_IFF 1
48292 _ACEOF
48293
48294 fi
48295
48296 if test "$wxUSE_PNM" = "yes" ; then
48297 cat >>confdefs.h <<\_ACEOF
48298 #define wxUSE_PNM 1
48299 _ACEOF
48300
48301 fi
48302
48303 if test "$wxUSE_XPM" = "yes" ; then
48304 cat >>confdefs.h <<\_ACEOF
48305 #define wxUSE_XPM 1
48306 _ACEOF
48307
48308 fi
48309
48310 if test "$wxUSE_ICO_CUR" = "yes" ; then
48311 cat >>confdefs.h <<\_ACEOF
48312 #define wxUSE_ICO_CUR 1
48313 _ACEOF
48314
48315 fi
48316 fi
48317
48318
48319 if test "$wxUSE_ABOUTDLG" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_ABOUTDLG 1
48322 _ACEOF
48323
48324 fi
48325
48326 if test "$wxUSE_CHOICEDLG" = "yes"; then
48327 cat >>confdefs.h <<\_ACEOF
48328 #define wxUSE_CHOICEDLG 1
48329 _ACEOF
48330
48331 fi
48332
48333 if test "$wxUSE_COLOURDLG" = "yes"; then
48334 cat >>confdefs.h <<\_ACEOF
48335 #define wxUSE_COLOURDLG 1
48336 _ACEOF
48337
48338 fi
48339
48340 if test "$wxUSE_FILEDLG" = "yes"; then
48341 cat >>confdefs.h <<\_ACEOF
48342 #define wxUSE_FILEDLG 1
48343 _ACEOF
48344
48345 fi
48346
48347 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_FINDREPLDLG 1
48350 _ACEOF
48351
48352 fi
48353
48354 if test "$wxUSE_FONTDLG" = "yes"; then
48355 cat >>confdefs.h <<\_ACEOF
48356 #define wxUSE_FONTDLG 1
48357 _ACEOF
48358
48359 fi
48360
48361 if test "$wxUSE_DIRDLG" = "yes"; then
48362 if test "$wxUSE_TREECTRL" != "yes"; then
48363 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48364 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48365 else
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_DIRDLG 1
48368 _ACEOF
48369
48370 fi
48371 fi
48372
48373 if test "$wxUSE_MSGDLG" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_MSGDLG 1
48376 _ACEOF
48377
48378 fi
48379
48380 if test "$wxUSE_NUMBERDLG" = "yes"; then
48381 cat >>confdefs.h <<\_ACEOF
48382 #define wxUSE_NUMBERDLG 1
48383 _ACEOF
48384
48385 fi
48386
48387 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48388 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48389 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48390 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48391 else
48392 cat >>confdefs.h <<\_ACEOF
48393 #define wxUSE_PROGRESSDLG 1
48394 _ACEOF
48395
48396 fi
48397 fi
48398
48399 if test "$wxUSE_SPLASH" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_SPLASH 1
48402 _ACEOF
48403
48404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48405 fi
48406
48407 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48408 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48409 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48410 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48411 else
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_STARTUP_TIPS 1
48414 _ACEOF
48415
48416 fi
48417 fi
48418
48419 if test "$wxUSE_TEXTDLG" = "yes"; then
48420 cat >>confdefs.h <<\_ACEOF
48421 #define wxUSE_TEXTDLG 1
48422 _ACEOF
48423
48424 fi
48425
48426 if test "$wxUSE_WIZARDDLG" = "yes"; then
48427 cat >>confdefs.h <<\_ACEOF
48428 #define wxUSE_WIZARDDLG 1
48429 _ACEOF
48430
48431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48432 fi
48433
48434
48435 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48436 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48437 cat >>confdefs.h <<\_ACEOF
48438 #define wxUSE_GRAPHICS_CONTEXT 1
48439 _ACEOF
48440
48441 elif test "$wxUSE_GTK" != 1; then
48442 cat >>confdefs.h <<\_ACEOF
48443 #define wxUSE_GRAPHICS_CONTEXT 1
48444 _ACEOF
48445
48446 else
48447
48448 pkg_failed=no
48449 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48450 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48451
48452 if test -n "$PKG_CONFIG"; then
48453 if test -n "$CAIRO_CFLAGS"; then
48454 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48455 else
48456 if test -n "$PKG_CONFIG" && \
48457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48458 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48459 ac_status=$?
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); }; then
48462 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48463 else
48464 pkg_failed=yes
48465 fi
48466 fi
48467 else
48468 pkg_failed=untried
48469 fi
48470 if test -n "$PKG_CONFIG"; then
48471 if test -n "$CAIRO_LIBS"; then
48472 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48473 else
48474 if test -n "$PKG_CONFIG" && \
48475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48476 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48477 ac_status=$?
48478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48479 (exit $ac_status); }; then
48480 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48481 else
48482 pkg_failed=yes
48483 fi
48484 fi
48485 else
48486 pkg_failed=untried
48487 fi
48488
48489
48490
48491 if test $pkg_failed = yes; then
48492
48493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48494 _pkg_short_errors_supported=yes
48495 else
48496 _pkg_short_errors_supported=no
48497 fi
48498 if test $_pkg_short_errors_supported = yes; then
48499 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48500 else
48501 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48502 fi
48503 # Put the nasty error message in config.log where it belongs
48504 echo "$CAIRO_PKG_ERRORS" >&5
48505
48506 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48507 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48508
48509 elif test $pkg_failed = untried; then
48510 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48511 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48512
48513 else
48514 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48515 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48516 { echo "$as_me:$LINENO: result: yes" >&5
48517 echo "${ECHO_T}yes" >&6; }
48518 cat >>confdefs.h <<\_ACEOF
48519 #define wxUSE_GRAPHICS_CONTEXT 1
48520 _ACEOF
48521
48522 fi
48523 fi
48524 fi
48525
48526
48527 USE_MEDIA=0
48528
48529 if test "$wxUSE_MEDIACTRL" = "yes"; then
48530 USE_MEDIA=1
48531
48532 if test "$wxUSE_GTK" = 1; then
48533 wxUSE_GSTREAMER="no"
48534
48535 GST_VERSION_MAJOR=0
48536 GST_VERSION_MINOR=10
48537 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48538
48539 if test "$wxUSE_GSTREAMER8" = "no"; then
48540
48541 pkg_failed=no
48542 { echo "$as_me:$LINENO: checking for GST" >&5
48543 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48544
48545 if test -n "$PKG_CONFIG"; then
48546 if test -n "$GST_CFLAGS"; then
48547 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48548 else
48549 if test -n "$PKG_CONFIG" && \
48550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48551 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48552 ac_status=$?
48553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48554 (exit $ac_status); }; then
48555 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48556 else
48557 pkg_failed=yes
48558 fi
48559 fi
48560 else
48561 pkg_failed=untried
48562 fi
48563 if test -n "$PKG_CONFIG"; then
48564 if test -n "$GST_LIBS"; then
48565 pkg_cv_GST_LIBS="$GST_LIBS"
48566 else
48567 if test -n "$PKG_CONFIG" && \
48568 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48569 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48570 ac_status=$?
48571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48572 (exit $ac_status); }; then
48573 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48574 else
48575 pkg_failed=yes
48576 fi
48577 fi
48578 else
48579 pkg_failed=untried
48580 fi
48581
48582
48583
48584 if test $pkg_failed = yes; then
48585
48586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48587 _pkg_short_errors_supported=yes
48588 else
48589 _pkg_short_errors_supported=no
48590 fi
48591 if test $_pkg_short_errors_supported = yes; then
48592 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48593 else
48594 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48595 fi
48596 # Put the nasty error message in config.log where it belongs
48597 echo "$GST_PKG_ERRORS" >&5
48598
48599
48600 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48601 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48602 GST_VERSION_MINOR=8
48603
48604
48605 elif test $pkg_failed = untried; then
48606
48607 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48608 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48609 GST_VERSION_MINOR=8
48610
48611
48612 else
48613 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48614 GST_LIBS=$pkg_cv_GST_LIBS
48615 { echo "$as_me:$LINENO: result: yes" >&5
48616 echo "${ECHO_T}yes" >&6; }
48617
48618 wxUSE_GSTREAMER="yes"
48619 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48620
48621 fi
48622 else
48623 GST_VERSION_MINOR=8
48624 fi
48625
48626 if test $GST_VERSION_MINOR = "8"; then
48627 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48628
48629 pkg_failed=no
48630 { echo "$as_me:$LINENO: checking for GST" >&5
48631 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48632
48633 if test -n "$PKG_CONFIG"; then
48634 if test -n "$GST_CFLAGS"; then
48635 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48636 else
48637 if test -n "$PKG_CONFIG" && \
48638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48639 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48640 ac_status=$?
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; then
48643 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48644 else
48645 pkg_failed=yes
48646 fi
48647 fi
48648 else
48649 pkg_failed=untried
48650 fi
48651 if test -n "$PKG_CONFIG"; then
48652 if test -n "$GST_LIBS"; then
48653 pkg_cv_GST_LIBS="$GST_LIBS"
48654 else
48655 if test -n "$PKG_CONFIG" && \
48656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48657 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48658 ac_status=$?
48659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48660 (exit $ac_status); }; then
48661 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48662 else
48663 pkg_failed=yes
48664 fi
48665 fi
48666 else
48667 pkg_failed=untried
48668 fi
48669
48670
48671
48672 if test $pkg_failed = yes; then
48673
48674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48675 _pkg_short_errors_supported=yes
48676 else
48677 _pkg_short_errors_supported=no
48678 fi
48679 if test $_pkg_short_errors_supported = yes; then
48680 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48681 else
48682 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48683 fi
48684 # Put the nasty error message in config.log where it belongs
48685 echo "$GST_PKG_ERRORS" >&5
48686
48687
48688 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48689 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48690
48691 elif test $pkg_failed = untried; then
48692
48693 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48694 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48695
48696 else
48697 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48698 GST_LIBS=$pkg_cv_GST_LIBS
48699 { echo "$as_me:$LINENO: result: yes" >&5
48700 echo "${ECHO_T}yes" >&6; }
48701 wxUSE_GSTREAMER="yes"
48702 fi
48703 fi
48704
48705
48706 if test "$wxUSE_GSTREAMER" = "yes"; then
48707 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48708 LIBS="$GST_LIBS $LIBS"
48709
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_GSTREAMER 1
48712 _ACEOF
48713
48714 else
48715 USE_MEDIA=0
48716 fi
48717 fi
48718
48719 if test $USE_MEDIA = 1; then
48720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48721 cat >>confdefs.h <<\_ACEOF
48722 #define wxUSE_MEDIACTRL 1
48723 _ACEOF
48724
48725 fi
48726 fi
48727
48728
48729 if test "$cross_compiling" = "yes"; then
48730 OSINFO="\"$host\""
48731 else
48732 OSINFO=`uname -s -r -m`
48733 OSINFO="\"$OSINFO\""
48734 fi
48735
48736 cat >>confdefs.h <<_ACEOF
48737 #define WXWIN_OS_DESCRIPTION $OSINFO
48738 _ACEOF
48739
48740
48741
48742 if test "x$prefix" != "xNONE"; then
48743 wxPREFIX=$prefix
48744 else
48745 wxPREFIX=$ac_default_prefix
48746 fi
48747
48748 cat >>confdefs.h <<_ACEOF
48749 #define wxINSTALL_PREFIX "$wxPREFIX"
48750 _ACEOF
48751
48752
48753
48754
48755 STD_BASE_LIBS="base"
48756 STD_GUI_LIBS=""
48757 BUILT_WX_LIBS="base"
48758 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48759
48760 if test "$wxUSE_SOCKETS" = "yes" ; then
48761 STD_BASE_LIBS="net $STD_BASE_LIBS"
48762 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48763 fi
48764 if test "$wxUSE_ODBC" != "no" ; then
48765 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48766 fi
48767 if test "$wxUSE_XML" = "yes" ; then
48768 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48769 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48770 fi
48771
48772 if test "$wxUSE_GUI" = "yes"; then
48773 STD_GUI_LIBS="adv core"
48774 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48775
48776 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48777 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48778 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48779 fi
48780 if test "$wxUSE_ODBC" != "no" ; then
48781 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48782 fi
48783 if test "$wxUSE_HTML" = "yes" ; then
48784 STD_GUI_LIBS="html $STD_GUI_LIBS"
48785 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48786 fi
48787 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48788 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48789 fi
48790 if test "$wxUSE_OPENGL" = "yes" ; then
48791 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48792 fi
48793 if test "$wxUSE_AUI" = "yes" ; then
48794 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48795 fi
48796 if test "$wxUSE_STC" = "yes" ; then
48797 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48798 fi
48799 if test "$wxUSE_XRC" = "yes" ; then
48800 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48801 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48802 fi
48803 fi
48804
48805
48806
48807
48808
48809
48810
48811
48812 if test "$wxUSE_MAC" = 1 ; then
48813 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48814 if test "$USE_DARWIN" = 1; then
48815 LDFLAGS="$LDFLAGS -framework QuickTime"
48816 else
48817 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48818 fi
48819 fi
48820 if test "$USE_DARWIN" = 1; then
48821 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48822 else
48823 LDFLAGS="$LDFLAGS -lCarbonLib"
48824 fi
48825 fi
48826 if test "$wxUSE_COCOA" = 1 ; then
48827 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48828 if test "$wxUSE_MEDIACTRL" = "yes"; then
48829 LDFLAGS="$LDFLAGS -framework QuickTime"
48830 fi
48831 fi
48832 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48833 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48834 fi
48835
48836 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48837
48838 if test "$wxUSE_GUI" = "yes"; then
48839
48840
48841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48842 dynamic erase event exec font image minimal mobile \
48843 mobile/wxedit mobile/styles propsize render \
48844 rotate shaped svg taborder vscroll widgets"
48845
48846 if test "$wxUSE_MONOLITHIC" != "yes"; then
48847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48848 fi
48849 if test "$TOOLKIT" = "MSW"; then
48850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48851 if test "$wxUSE_UNIVERSAL" != "yes"; then
48852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48853 fi
48854 fi
48855 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48857 fi
48858 else
48859 SAMPLES_SUBDIRS="console"
48860 fi
48861
48862
48863 if test "x$INTELCC" = "xyes" ; then
48864 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48865 elif test "$GCC" = yes ; then
48866 CWARNINGS="-Wall -Wundef"
48867 fi
48868
48869 if test "x$INTELCXX" = "xyes" ; then
48870 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48871 elif test "$GXX" = yes ; then
48872 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48873 fi
48874
48875
48876 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48877 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48878
48879
48880 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48881 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48882 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48883 $CPPFLAGS `
48884
48885 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48886 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48887 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48888
48889 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48890
48891
48892 if test "x$MWCC" = "xyes"; then
48893
48894 CC="$CC -cwd source -I-"
48895 CXX="$CXX -cwd source -I-"
48896 fi
48897
48898
48899 LIBS=`echo $LIBS`
48900 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48901 EXTRALIBS_XML="$EXPAT_LINK"
48902 EXTRALIBS_HTML="$MSPACK_LINK"
48903 EXTRALIBS_ODBC="$ODBC_LINK"
48904 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48905 if test "$wxUSE_GUI" = "yes"; then
48906 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48907 fi
48908 if test "$wxUSE_OPENGL" = "yes"; then
48909 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48910 fi
48911
48912 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48913
48914 WXCONFIG_LIBS="$LIBS"
48915
48916 if test "$wxUSE_REGEX" = "builtin" ; then
48917 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48918 fi
48919 if test "$wxUSE_EXPAT" = "builtin" ; then
48920 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48921 fi
48922 if test "$wxUSE_ODBC" = "builtin" ; then
48923 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48924 fi
48925 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48926 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48927 fi
48928 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48929 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48930 fi
48931 if test "$wxUSE_LIBPNG" = "builtin" ; then
48932 wxconfig_3rdparty="png $wxconfig_3rdparty"
48933 fi
48934 if test "$wxUSE_ZLIB" = "builtin" ; then
48935 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48936 fi
48937
48938 for i in $wxconfig_3rdparty ; do
48939 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48940 done
48941
48942
48943 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48944 WXUNIV=1
48945
48946 case "$wxUNIV_THEMES" in
48947 ''|all)
48948 cat >>confdefs.h <<\_ACEOF
48949 #define wxUSE_ALL_THEMES 1
48950 _ACEOF
48951
48952 ;;
48953
48954 *)
48955 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48956 cat >>confdefs.h <<_ACEOF
48957 #define wxUSE_THEME_$t 1
48958 _ACEOF
48959
48960 done
48961 esac
48962 else
48963 WXUNIV=0
48964 fi
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974 if test $wxUSE_MONOLITHIC = "yes" ; then
48975 MONOLITHIC=1
48976 else
48977 MONOLITHIC=0
48978 fi
48979
48980 if test $wxUSE_PLUGINS = "yes" ; then
48981 USE_PLUGINS=1
48982 else
48983 USE_PLUGINS=0
48984 fi
48985
48986 if test $wxUSE_ODBC != "no" ; then
48987 USE_ODBC=1
48988 else
48989 USE_ODBC=0
48990 fi
48991
48992 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48993 USE_QA=1
48994 else
48995 USE_QA=0
48996 fi
48997
48998 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48999 OFFICIAL_BUILD=1
49000 else
49001 OFFICIAL_BUILD=0
49002 fi
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49030
49031
49032
49033
49034
49035
49036
49037
49038 case "$TOOLKIT" in
49039 GTK)
49040 TOOLKIT_DESC="GTK+"
49041 if test "$WXGTK20" = 1; then
49042 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49043 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49044 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49045 fi
49046 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49047 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49048 fi
49049 if test "$wxUSE_LIBHILDON" = "yes"; then
49050 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49051 fi
49052
49053 if test "$TOOLKIT_EXTRA" != ""; then
49054 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49055 fi
49056 fi
49057 ;;
49058
49059 ?*)
49060 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49061 ;;
49062
49063 *)
49064 TOOLKIT_DESC="base only"
49065 ;;
49066 esac
49067
49068 if test "$wxUSE_WINE" = "yes"; then
49069 BAKEFILE_FORCE_PLATFORM=win32
49070 fi
49071
49072 if test "$wxUSE_MAC" = 1 ; then
49073 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49074 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49075 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49076 else
49077 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49078 fi
49079 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49080 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49081 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49082 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49083 bk_use_pch=no
49084 fi
49085 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49086 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49087 fi
49088
49089 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49090 then
49091 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49092 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49093 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49094 echo $ECHO_N "(cached) $ECHO_C" >&6
49095 else
49096
49097 echo '#include <stdio.h>
49098 const wchar_t test_var[] = L"awidetest";' > conftest.h
49099
49100 echo '#include "conftest.h"
49101 int main()
49102 {
49103 printf("%ls", test_var);
49104 return 0;
49105 }' > conftest.cpp
49106
49107 wx_cv_gcc_pch_bug="pch not supported"
49108
49109 if $CXX conftest.h >/dev/null 2>&1
49110 then
49111 wx_cv_gcc_pch_bug=
49112
49113 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49114 then
49115 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49116 grep awidetest >/dev/null
49117 then
49118 wx_cv_gcc_pch_bug=no
49119 else
49120 wx_cv_gcc_pch_bug=yes
49121 fi
49122 fi
49123 fi
49124
49125 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49126
49127 fi
49128 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49129 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49130
49131 if test "$wx_cv_gcc_pch_bug" = yes; then
49132 bk_use_pch=no
49133 fi
49134 fi
49135
49136
49137
49138
49139 if test "x$BAKEFILE_HOST" = "x"; then
49140 if test "x${host}" = "x" ; then
49141 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49142 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49143 { (exit 1); exit 1; }; }
49144 fi
49145
49146 BAKEFILE_HOST="${host}"
49147 fi
49148
49149 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49150
49151 if test -n "$ac_tool_prefix"; then
49152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49156 if test "${ac_cv_prog_RANLIB+set}" = set; then
49157 echo $ECHO_N "(cached) $ECHO_C" >&6
49158 else
49159 if test -n "$RANLIB"; then
49160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49161 else
49162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49163 for as_dir in $PATH
49164 do
49165 IFS=$as_save_IFS
49166 test -z "$as_dir" && as_dir=.
49167 for ac_exec_ext in '' $ac_executable_extensions; do
49168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49171 break 2
49172 fi
49173 done
49174 done
49175 IFS=$as_save_IFS
49176
49177 fi
49178 fi
49179 RANLIB=$ac_cv_prog_RANLIB
49180 if test -n "$RANLIB"; then
49181 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49182 echo "${ECHO_T}$RANLIB" >&6; }
49183 else
49184 { echo "$as_me:$LINENO: result: no" >&5
49185 echo "${ECHO_T}no" >&6; }
49186 fi
49187
49188
49189 fi
49190 if test -z "$ac_cv_prog_RANLIB"; then
49191 ac_ct_RANLIB=$RANLIB
49192 # Extract the first word of "ranlib", so it can be a program name with args.
49193 set dummy ranlib; ac_word=$2
49194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49199 if test -n "$ac_ct_RANLIB"; then
49200 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49201 else
49202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49203 for as_dir in $PATH
49204 do
49205 IFS=$as_save_IFS
49206 test -z "$as_dir" && as_dir=.
49207 for ac_exec_ext in '' $ac_executable_extensions; do
49208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49209 ac_cv_prog_ac_ct_RANLIB="ranlib"
49210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49211 break 2
49212 fi
49213 done
49214 done
49215 IFS=$as_save_IFS
49216
49217 fi
49218 fi
49219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49220 if test -n "$ac_ct_RANLIB"; then
49221 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49222 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49223 else
49224 { echo "$as_me:$LINENO: result: no" >&5
49225 echo "${ECHO_T}no" >&6; }
49226 fi
49227
49228 if test "x$ac_ct_RANLIB" = x; then
49229 RANLIB=":"
49230 else
49231 case $cross_compiling:$ac_tool_warned in
49232 yes:)
49233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49234 whose name does not start with the host triplet. If you think this
49235 configuration is useful to you, please write to autoconf@gnu.org." >&5
49236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49237 whose name does not start with the host triplet. If you think this
49238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49239 ac_tool_warned=yes ;;
49240 esac
49241 RANLIB=$ac_ct_RANLIB
49242 fi
49243 else
49244 RANLIB="$ac_cv_prog_RANLIB"
49245 fi
49246
49247 # Find a good install program. We prefer a C program (faster),
49248 # so one script is as good as another. But avoid the broken or
49249 # incompatible versions:
49250 # SysV /etc/install, /usr/sbin/install
49251 # SunOS /usr/etc/install
49252 # IRIX /sbin/install
49253 # AIX /bin/install
49254 # AmigaOS /C/install, which installs bootblocks on floppy discs
49255 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49256 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49257 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49258 # OS/2's system install, which has a completely different semantic
49259 # ./install, which can be erroneously created by make from ./install.sh.
49260 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49262 if test -z "$INSTALL"; then
49263 if test "${ac_cv_path_install+set}" = set; then
49264 echo $ECHO_N "(cached) $ECHO_C" >&6
49265 else
49266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49267 for as_dir in $PATH
49268 do
49269 IFS=$as_save_IFS
49270 test -z "$as_dir" && as_dir=.
49271 # Account for people who put trailing slashes in PATH elements.
49272 case $as_dir/ in
49273 ./ | .// | /cC/* | \
49274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49275 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49276 /usr/ucb/* ) ;;
49277 *)
49278 # OSF1 and SCO ODT 3.0 have their own names for install.
49279 # Don't use installbsd from OSF since it installs stuff as root
49280 # by default.
49281 for ac_prog in ginstall scoinst install; do
49282 for ac_exec_ext in '' $ac_executable_extensions; do
49283 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49284 if test $ac_prog = install &&
49285 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49286 # AIX install. It has an incompatible calling convention.
49287 :
49288 elif test $ac_prog = install &&
49289 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49290 # program-specific install script used by HP pwplus--don't use.
49291 :
49292 else
49293 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49294 break 3
49295 fi
49296 fi
49297 done
49298 done
49299 ;;
49300 esac
49301 done
49302 IFS=$as_save_IFS
49303
49304
49305 fi
49306 if test "${ac_cv_path_install+set}" = set; then
49307 INSTALL=$ac_cv_path_install
49308 else
49309 # As a last resort, use the slow shell script. Don't cache a
49310 # value for INSTALL within a source directory, because that will
49311 # break other packages using the cache if that directory is
49312 # removed, or if the value is a relative name.
49313 INSTALL=$ac_install_sh
49314 fi
49315 fi
49316 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49317 echo "${ECHO_T}$INSTALL" >&6; }
49318
49319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49320 # It thinks the first close brace ends the variable substitution.
49321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49322
49323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49324
49325 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49326
49327 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49328 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49329 LN_S=$as_ln_s
49330 if test "$LN_S" = "ln -s"; then
49331 { echo "$as_me:$LINENO: result: yes" >&5
49332 echo "${ECHO_T}yes" >&6; }
49333 else
49334 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49335 echo "${ECHO_T}no, using $LN_S" >&6; }
49336 fi
49337
49338
49339 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49340 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49341 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49342 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49343 echo $ECHO_N "(cached) $ECHO_C" >&6
49344 else
49345 cat >conftest.make <<\_ACEOF
49346 SHELL = /bin/sh
49347 all:
49348 @echo '@@@%%%=$(MAKE)=@@@%%%'
49349 _ACEOF
49350 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49351 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49352 *@@@%%%=?*=@@@%%%*)
49353 eval ac_cv_prog_make_${ac_make}_set=yes;;
49354 *)
49355 eval ac_cv_prog_make_${ac_make}_set=no;;
49356 esac
49357 rm -f conftest.make
49358 fi
49359 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49360 { echo "$as_me:$LINENO: result: yes" >&5
49361 echo "${ECHO_T}yes" >&6; }
49362 SET_MAKE=
49363 else
49364 { echo "$as_me:$LINENO: result: no" >&5
49365 echo "${ECHO_T}no" >&6; }
49366 SET_MAKE="MAKE=${MAKE-make}"
49367 fi
49368
49369
49370
49371 if test "x$SUNCXX" = "xyes"; then
49372 AR=$CXX
49373 AROPTIONS="-xar -o"
49374
49375 elif test "x$SGICC" = "xyes"; then
49376 AR=$CXX
49377 AROPTIONS="-ar -o"
49378
49379 else
49380 if test -n "$ac_tool_prefix"; then
49381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49382 set dummy ${ac_tool_prefix}ar; ac_word=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_AR+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388 if test -n "$AR"; then
49389 ac_cv_prog_AR="$AR" # Let the user override the test.
49390 else
49391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49392 for as_dir in $PATH
49393 do
49394 IFS=$as_save_IFS
49395 test -z "$as_dir" && as_dir=.
49396 for ac_exec_ext in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_AR="${ac_tool_prefix}ar"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49400 break 2
49401 fi
49402 done
49403 done
49404 IFS=$as_save_IFS
49405
49406 fi
49407 fi
49408 AR=$ac_cv_prog_AR
49409 if test -n "$AR"; then
49410 { echo "$as_me:$LINENO: result: $AR" >&5
49411 echo "${ECHO_T}$AR" >&6; }
49412 else
49413 { echo "$as_me:$LINENO: result: no" >&5
49414 echo "${ECHO_T}no" >&6; }
49415 fi
49416
49417
49418 fi
49419 if test -z "$ac_cv_prog_AR"; then
49420 ac_ct_AR=$AR
49421 # Extract the first word of "ar", so it can be a program name with args.
49422 set dummy ar; ac_word=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49427 else
49428 if test -n "$ac_ct_AR"; then
49429 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49430 else
49431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49432 for as_dir in $PATH
49433 do
49434 IFS=$as_save_IFS
49435 test -z "$as_dir" && as_dir=.
49436 for ac_exec_ext in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_ac_ct_AR="ar"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 break 2
49441 fi
49442 done
49443 done
49444 IFS=$as_save_IFS
49445
49446 fi
49447 fi
49448 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49449 if test -n "$ac_ct_AR"; then
49450 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49451 echo "${ECHO_T}$ac_ct_AR" >&6; }
49452 else
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49455 fi
49456
49457 if test "x$ac_ct_AR" = x; then
49458 AR="ar"
49459 else
49460 case $cross_compiling:$ac_tool_warned in
49461 yes:)
49462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&5
49465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49468 ac_tool_warned=yes ;;
49469 esac
49470 AR=$ac_ct_AR
49471 fi
49472 else
49473 AR="$ac_cv_prog_AR"
49474 fi
49475
49476 AROPTIONS=rcu
49477 fi
49478
49479
49480 if test -n "$ac_tool_prefix"; then
49481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49482 set dummy ${ac_tool_prefix}strip; ac_word=$2
49483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49485 if test "${ac_cv_prog_STRIP+set}" = set; then
49486 echo $ECHO_N "(cached) $ECHO_C" >&6
49487 else
49488 if test -n "$STRIP"; then
49489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49490 else
49491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49492 for as_dir in $PATH
49493 do
49494 IFS=$as_save_IFS
49495 test -z "$as_dir" && as_dir=.
49496 for ac_exec_ext in '' $ac_executable_extensions; do
49497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49500 break 2
49501 fi
49502 done
49503 done
49504 IFS=$as_save_IFS
49505
49506 fi
49507 fi
49508 STRIP=$ac_cv_prog_STRIP
49509 if test -n "$STRIP"; then
49510 { echo "$as_me:$LINENO: result: $STRIP" >&5
49511 echo "${ECHO_T}$STRIP" >&6; }
49512 else
49513 { echo "$as_me:$LINENO: result: no" >&5
49514 echo "${ECHO_T}no" >&6; }
49515 fi
49516
49517
49518 fi
49519 if test -z "$ac_cv_prog_STRIP"; then
49520 ac_ct_STRIP=$STRIP
49521 # Extract the first word of "strip", so it can be a program name with args.
49522 set dummy strip; ac_word=$2
49523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49525 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49526 echo $ECHO_N "(cached) $ECHO_C" >&6
49527 else
49528 if test -n "$ac_ct_STRIP"; then
49529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49530 else
49531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49532 for as_dir in $PATH
49533 do
49534 IFS=$as_save_IFS
49535 test -z "$as_dir" && as_dir=.
49536 for ac_exec_ext in '' $ac_executable_extensions; do
49537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49538 ac_cv_prog_ac_ct_STRIP="strip"
49539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49540 break 2
49541 fi
49542 done
49543 done
49544 IFS=$as_save_IFS
49545
49546 fi
49547 fi
49548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49549 if test -n "$ac_ct_STRIP"; then
49550 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49551 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49552 else
49553 { echo "$as_me:$LINENO: result: no" >&5
49554 echo "${ECHO_T}no" >&6; }
49555 fi
49556
49557 if test "x$ac_ct_STRIP" = x; then
49558 STRIP=":"
49559 else
49560 case $cross_compiling:$ac_tool_warned in
49561 yes:)
49562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49563 whose name does not start with the host triplet. If you think this
49564 configuration is useful to you, please write to autoconf@gnu.org." >&5
49565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49566 whose name does not start with the host triplet. If you think this
49567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49568 ac_tool_warned=yes ;;
49569 esac
49570 STRIP=$ac_ct_STRIP
49571 fi
49572 else
49573 STRIP="$ac_cv_prog_STRIP"
49574 fi
49575
49576 if test -n "$ac_tool_prefix"; then
49577 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49578 set dummy ${ac_tool_prefix}nm; ac_word=$2
49579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49581 if test "${ac_cv_prog_NM+set}" = set; then
49582 echo $ECHO_N "(cached) $ECHO_C" >&6
49583 else
49584 if test -n "$NM"; then
49585 ac_cv_prog_NM="$NM" # Let the user override the test.
49586 else
49587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49588 for as_dir in $PATH
49589 do
49590 IFS=$as_save_IFS
49591 test -z "$as_dir" && as_dir=.
49592 for ac_exec_ext in '' $ac_executable_extensions; do
49593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49594 ac_cv_prog_NM="${ac_tool_prefix}nm"
49595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49596 break 2
49597 fi
49598 done
49599 done
49600 IFS=$as_save_IFS
49601
49602 fi
49603 fi
49604 NM=$ac_cv_prog_NM
49605 if test -n "$NM"; then
49606 { echo "$as_me:$LINENO: result: $NM" >&5
49607 echo "${ECHO_T}$NM" >&6; }
49608 else
49609 { echo "$as_me:$LINENO: result: no" >&5
49610 echo "${ECHO_T}no" >&6; }
49611 fi
49612
49613
49614 fi
49615 if test -z "$ac_cv_prog_NM"; then
49616 ac_ct_NM=$NM
49617 # Extract the first word of "nm", so it can be a program name with args.
49618 set dummy nm; ac_word=$2
49619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49621 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49622 echo $ECHO_N "(cached) $ECHO_C" >&6
49623 else
49624 if test -n "$ac_ct_NM"; then
49625 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49626 else
49627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49628 for as_dir in $PATH
49629 do
49630 IFS=$as_save_IFS
49631 test -z "$as_dir" && as_dir=.
49632 for ac_exec_ext in '' $ac_executable_extensions; do
49633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49634 ac_cv_prog_ac_ct_NM="nm"
49635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49636 break 2
49637 fi
49638 done
49639 done
49640 IFS=$as_save_IFS
49641
49642 fi
49643 fi
49644 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49645 if test -n "$ac_ct_NM"; then
49646 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49647 echo "${ECHO_T}$ac_ct_NM" >&6; }
49648 else
49649 { echo "$as_me:$LINENO: result: no" >&5
49650 echo "${ECHO_T}no" >&6; }
49651 fi
49652
49653 if test "x$ac_ct_NM" = x; then
49654 NM=":"
49655 else
49656 case $cross_compiling:$ac_tool_warned in
49657 yes:)
49658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49659 whose name does not start with the host triplet. If you think this
49660 configuration is useful to you, please write to autoconf@gnu.org." >&5
49661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49662 whose name does not start with the host triplet. If you think this
49663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49664 ac_tool_warned=yes ;;
49665 esac
49666 NM=$ac_ct_NM
49667 fi
49668 else
49669 NM="$ac_cv_prog_NM"
49670 fi
49671
49672
49673 case ${BAKEFILE_HOST} in
49674 *-hp-hpux* )
49675 INSTALL_DIR="mkdir -p"
49676 ;;
49677 * )
49678 INSTALL_DIR='$(INSTALL) -d'
49679 ;;
49680 esac
49681
49682
49683 LDFLAGS_GUI=
49684 case ${BAKEFILE_HOST} in
49685 *-*-cygwin* | *-*-mingw32* )
49686 LDFLAGS_GUI="-mwindows"
49687 esac
49688
49689
49690 fi
49691
49692 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49693 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49694 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49695 echo $ECHO_N "(cached) $ECHO_C" >&6
49696 else
49697
49698 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49699 egrep -s GNU > /dev/null); then
49700 bakefile_cv_prog_makeisgnu="yes"
49701 else
49702 bakefile_cv_prog_makeisgnu="no"
49703 fi
49704
49705 fi
49706 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49707 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49708
49709 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49710 IF_GNU_MAKE=""
49711 else
49712 IF_GNU_MAKE="#"
49713 fi
49714
49715
49716
49717 PLATFORM_UNIX=0
49718 PLATFORM_WIN32=0
49719 PLATFORM_MSDOS=0
49720 PLATFORM_MAC=0
49721 PLATFORM_MACOS=0
49722 PLATFORM_MACOSX=0
49723 PLATFORM_OS2=0
49724 PLATFORM_BEOS=0
49725
49726 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49727 case "${BAKEFILE_HOST}" in
49728 *-*-mingw32* )
49729 PLATFORM_WIN32=1
49730 ;;
49731 *-pc-msdosdjgpp )
49732 PLATFORM_MSDOS=1
49733 ;;
49734 *-pc-os2_emx | *-pc-os2-emx )
49735 PLATFORM_OS2=1
49736 ;;
49737 *-*-darwin* )
49738 PLATFORM_MAC=1
49739 PLATFORM_MACOSX=1
49740 ;;
49741 *-*-beos* )
49742 PLATFORM_BEOS=1
49743 ;;
49744 powerpc-apple-macos* )
49745 PLATFORM_MAC=1
49746 PLATFORM_MACOS=1
49747 ;;
49748 * )
49749 PLATFORM_UNIX=1
49750 ;;
49751 esac
49752 else
49753 case "$BAKEFILE_FORCE_PLATFORM" in
49754 win32 )
49755 PLATFORM_WIN32=1
49756 ;;
49757 msdos )
49758 PLATFORM_MSDOS=1
49759 ;;
49760 os2 )
49761 PLATFORM_OS2=1
49762 ;;
49763 darwin )
49764 PLATFORM_MAC=1
49765 PLATFORM_MACOSX=1
49766 ;;
49767 unix )
49768 PLATFORM_UNIX=1
49769 ;;
49770 beos )
49771 PLATFORM_BEOS=1
49772 ;;
49773 * )
49774 ;;
49775 esac
49776 fi
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788 # Check whether --enable-omf was given.
49789 if test "${enable_omf+set}" = set; then
49790 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49791 fi
49792
49793
49794 case "${BAKEFILE_HOST}" in
49795 *-*-darwin* )
49796 if test "x$GCC" = "xyes"; then
49797 CFLAGS="$CFLAGS -fno-common"
49798 CXXFLAGS="$CXXFLAGS -fno-common"
49799 fi
49800 if test "x$XLCC" = "xyes"; then
49801 CFLAGS="$CFLAGS -qnocommon"
49802 CXXFLAGS="$CXXFLAGS -qnocommon"
49803 fi
49804 ;;
49805
49806 *-pc-os2_emx | *-pc-os2-emx )
49807 if test "x$bk_os2_use_omf" = "xyes" ; then
49808 AR=emxomfar
49809 RANLIB=:
49810 LDFLAGS="-Zomf $LDFLAGS"
49811 CFLAGS="-Zomf $CFLAGS"
49812 CXXFLAGS="-Zomf $CXXFLAGS"
49813 OS2_LIBEXT="lib"
49814 else
49815 OS2_LIBEXT="a"
49816 fi
49817 ;;
49818
49819 i*86-*-beos* )
49820 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49821 ;;
49822 esac
49823
49824
49825 SO_SUFFIX="so"
49826 SO_SUFFIX_MODULE="so"
49827 EXEEXT=""
49828 LIBPREFIX="lib"
49829 LIBEXT=".a"
49830 DLLPREFIX="lib"
49831 DLLPREFIX_MODULE=""
49832 DLLIMP_SUFFIX=""
49833 dlldir="$libdir"
49834
49835 case "${BAKEFILE_HOST}" in
49836 *-hp-hpux* )
49837 SO_SUFFIX="sl"
49838 SO_SUFFIX_MODULE="sl"
49839 ;;
49840 *-*-aix* )
49841 SO_SUFFIX="a"
49842 SO_SUFFIX_MODULE="a"
49843 ;;
49844 *-*-cygwin* )
49845 SO_SUFFIX="dll"
49846 SO_SUFFIX_MODULE="dll"
49847 DLLIMP_SUFFIX="dll.a"
49848 EXEEXT=".exe"
49849 DLLPREFIX="cyg"
49850 dlldir="$bindir"
49851 ;;
49852 *-*-mingw32* )
49853 SO_SUFFIX="dll"
49854 SO_SUFFIX_MODULE="dll"
49855 DLLIMP_SUFFIX="dll.a"
49856 EXEEXT=".exe"
49857 DLLPREFIX=""
49858 dlldir="$bindir"
49859 ;;
49860 *-pc-msdosdjgpp )
49861 EXEEXT=".exe"
49862 DLLPREFIX=""
49863 dlldir="$bindir"
49864 ;;
49865 *-pc-os2_emx | *-pc-os2-emx )
49866 SO_SUFFIX="dll"
49867 SO_SUFFIX_MODULE="dll"
49868 DLLIMP_SUFFIX=$OS2_LIBEXT
49869 EXEEXT=".exe"
49870 DLLPREFIX=""
49871 LIBPREFIX=""
49872 LIBEXT=".$OS2_LIBEXT"
49873 dlldir="$bindir"
49874 ;;
49875 *-*-darwin* )
49876 SO_SUFFIX="dylib"
49877 SO_SUFFIX_MODULE="bundle"
49878 ;;
49879 esac
49880
49881 if test "x$DLLIMP_SUFFIX" = "x" ; then
49882 DLLIMP_SUFFIX="$SO_SUFFIX"
49883 fi
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896 PIC_FLAG=""
49897 if test "x$GCC" = "xyes"; then
49898 PIC_FLAG="-fPIC"
49899 fi
49900
49901 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49902 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49903 WINDOWS_IMPLIB=0
49904
49905 case "${BAKEFILE_HOST}" in
49906 *-hp-hpux* )
49907 if test "x$GCC" != "xyes"; then
49908 LDFLAGS="$LDFLAGS -L/usr/lib"
49909
49910 SHARED_LD_CC="${CC} -b -o"
49911 SHARED_LD_CXX="${CXX} -b -o"
49912 PIC_FLAG="+Z"
49913 fi
49914 ;;
49915
49916 *-*-linux* )
49917 if test "$INTELCC" = "yes"; then
49918 PIC_FLAG="-KPIC"
49919 elif test "x$SUNCXX" = "xyes"; then
49920 SHARED_LD_CC="${CC} -G -o"
49921 SHARED_LD_CXX="${CXX} -G -o"
49922 PIC_FLAG="-KPIC"
49923 fi
49924 ;;
49925
49926 *-*-solaris2* )
49927 if test "x$SUNCXX" = xyes ; then
49928 SHARED_LD_CC="${CC} -G -o"
49929 SHARED_LD_CXX="${CXX} -G -o"
49930 PIC_FLAG="-KPIC"
49931 fi
49932 ;;
49933
49934 *-*-darwin* )
49935
49936 D='$'
49937 cat <<EOF >shared-ld-sh
49938 #!/bin/sh
49939 #-----------------------------------------------------------------------------
49940 #-- Name: distrib/mac/shared-ld-sh
49941 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49942 #-- Author: Gilles Depeyrot
49943 #-- Copyright: (c) 2002 Gilles Depeyrot
49944 #-- Licence: any use permitted
49945 #-----------------------------------------------------------------------------
49946
49947 verbose=0
49948 args=""
49949 objects=""
49950 linking_flag="-dynamiclib"
49951 ldargs="-r -keep_private_externs -nostdlib"
49952
49953 while test ${D}# -gt 0; do
49954 case ${D}1 in
49955
49956 -v)
49957 verbose=1
49958 ;;
49959
49960 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49961 # collect these options and values
49962 args="${D}{args} ${D}1 ${D}2"
49963 shift
49964 ;;
49965
49966 -s|-Wl,*)
49967 # collect these load args
49968 ldargs="${D}{ldargs} ${D}1"
49969 ;;
49970
49971 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49972 # collect these options
49973 args="${D}{args} ${D}1"
49974 ;;
49975
49976 -dynamiclib|-bundle)
49977 linking_flag="${D}1"
49978 ;;
49979
49980 -*)
49981 echo "shared-ld: unhandled option '${D}1'"
49982 exit 1
49983 ;;
49984
49985 *.o | *.a | *.dylib)
49986 # collect object files
49987 objects="${D}{objects} ${D}1"
49988 ;;
49989
49990 *)
49991 echo "shared-ld: unhandled argument '${D}1'"
49992 exit 1
49993 ;;
49994
49995 esac
49996 shift
49997 done
49998
49999 status=0
50000
50001 #
50002 # Link one module containing all the others
50003 #
50004 if test ${D}{verbose} = 1; then
50005 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50006 fi
50007 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50008 status=${D}?
50009
50010 #
50011 # Link the shared library from the single module created, but only if the
50012 # previous command didn't fail:
50013 #
50014 if test ${D}{status} = 0; then
50015 if test ${D}{verbose} = 1; then
50016 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50017 fi
50018 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50019 status=${D}?
50020 fi
50021
50022 #
50023 # Remove intermediate module
50024 #
50025 rm -f master.${D}${D}.o
50026
50027 exit ${D}status
50028 EOF
50029
50030 chmod +x shared-ld-sh
50031
50032 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50033 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50034
50035
50036 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50037 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50038 if test "${bakefile_cv_gcc31+set}" = set; then
50039 echo $ECHO_N "(cached) $ECHO_C" >&6
50040 else
50041
50042 cat >conftest.$ac_ext <<_ACEOF
50043 /* confdefs.h. */
50044 _ACEOF
50045 cat confdefs.h >>conftest.$ac_ext
50046 cat >>conftest.$ac_ext <<_ACEOF
50047 /* end confdefs.h. */
50048
50049 int
50050 main ()
50051 {
50052
50053 #if (__GNUC__ < 3) || \
50054 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50055 This is old gcc
50056 #endif
50057
50058 ;
50059 return 0;
50060 }
50061 _ACEOF
50062 rm -f conftest.$ac_objext
50063 if { (ac_try="$ac_compile"
50064 case "(($ac_try" in
50065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50066 *) ac_try_echo=$ac_try;;
50067 esac
50068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50069 (eval "$ac_compile") 2>conftest.er1
50070 ac_status=$?
50071 grep -v '^ *+' conftest.er1 >conftest.err
50072 rm -f conftest.er1
50073 cat conftest.err >&5
50074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50075 (exit $ac_status); } && {
50076 test -z "$ac_c_werror_flag" ||
50077 test ! -s conftest.err
50078 } && test -s conftest.$ac_objext; then
50079
50080 bakefile_cv_gcc31=yes
50081
50082 else
50083 echo "$as_me: failed program was:" >&5
50084 sed 's/^/| /' conftest.$ac_ext >&5
50085
50086
50087 bakefile_cv_gcc31=no
50088
50089
50090 fi
50091
50092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50093
50094 fi
50095 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50096 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50097 if test "$bakefile_cv_gcc31" = "no"; then
50098 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50099 SHARED_LD_CXX="$SHARED_LD_CC"
50100 else
50101 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50102 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50103 fi
50104
50105 if test "x$GCC" == "xyes"; then
50106 PIC_FLAG="-dynamic -fPIC"
50107 fi
50108 if test "x$XLCC" = "xyes"; then
50109 PIC_FLAG="-dynamic -DPIC"
50110 fi
50111 ;;
50112
50113 *-*-aix* )
50114 if test "x$GCC" = "xyes"; then
50115 PIC_FLAG=""
50116
50117 case "${BAKEFILE_HOST}" in
50118 *-*-aix5* )
50119 LD_EXPFULL="-Wl,-bexpfull"
50120 ;;
50121 esac
50122
50123 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50124 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50125 else
50126 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50127 set dummy makeC++SharedLib; ac_word=$2
50128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50130 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50131 echo $ECHO_N "(cached) $ECHO_C" >&6
50132 else
50133 if test -n "$AIX_CXX_LD"; then
50134 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50135 else
50136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50137 for as_dir in $PATH
50138 do
50139 IFS=$as_save_IFS
50140 test -z "$as_dir" && as_dir=.
50141 for ac_exec_ext in '' $ac_executable_extensions; do
50142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50143 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50145 break 2
50146 fi
50147 done
50148 done
50149 IFS=$as_save_IFS
50150
50151 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50152 fi
50153 fi
50154 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50155 if test -n "$AIX_CXX_LD"; then
50156 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50157 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50158 else
50159 { echo "$as_me:$LINENO: result: no" >&5
50160 echo "${ECHO_T}no" >&6; }
50161 fi
50162
50163
50164 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50165 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50166 fi
50167 ;;
50168
50169 *-*-beos* )
50170 SHARED_LD_CC="${LD} -nostart -o"
50171 SHARED_LD_CXX="${LD} -nostart -o"
50172 ;;
50173
50174 *-*-irix* )
50175 if test "x$GCC" != "xyes"; then
50176 PIC_FLAG="-KPIC"
50177 fi
50178 ;;
50179
50180 *-*-cygwin* | *-*-mingw32* )
50181 PIC_FLAG=""
50182 SHARED_LD_CC="\$(CC) -shared -o"
50183 SHARED_LD_CXX="\$(CXX) -shared -o"
50184 WINDOWS_IMPLIB=1
50185 ;;
50186
50187 *-pc-os2_emx | *-pc-os2-emx )
50188 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50189 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50190 PIC_FLAG=""
50191
50192 D='$'
50193 cat <<EOF >dllar.sh
50194 #!/bin/sh
50195 #
50196 # dllar - a tool to build both a .dll and an .a file
50197 # from a set of object (.o) files for EMX/OS2.
50198 #
50199 # Written by Andrew Zabolotny, bit@freya.etu.ru
50200 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50201 #
50202 # This script will accept a set of files on the command line.
50203 # All the public symbols from the .o files will be exported into
50204 # a .DEF file, then linker will be run (through gcc) against them to
50205 # build a shared library consisting of all given .o files. All libraries
50206 # (.a) will be first decompressed into component .o files then act as
50207 # described above. You can optionally give a description (-d "description")
50208 # which will be put into .DLL. To see the list of accepted options (as well
50209 # as command-line format) simply run this program without options. The .DLL
50210 # is built to be imported by name (there is no guarantee that new versions
50211 # of the library you build will have same ordinals for same symbols).
50212 #
50213 # dllar is free software; you can redistribute it and/or modify
50214 # it under the terms of the GNU General Public License as published by
50215 # the Free Software Foundation; either version 2, or (at your option)
50216 # any later version.
50217 #
50218 # dllar is distributed in the hope that it will be useful,
50219 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50220 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50221 # GNU General Public License for more details.
50222 #
50223 # You should have received a copy of the GNU General Public License
50224 # along with dllar; see the file COPYING. If not, write to the Free
50225 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50226 # 02111-1307, USA.
50227
50228 # To successfuly run this program you will need:
50229 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50230 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50231 # - gcc
50232 # (used to build the .dll)
50233 # - emxexp
50234 # (used to create .def file from .o files)
50235 # - emximp
50236 # (used to create .a file from .def file)
50237 # - GNU text utilites (cat, sort, uniq)
50238 # used to process emxexp output
50239 # - GNU file utilities (mv, rm)
50240 # - GNU sed
50241 # - lxlite (optional, see flag below)
50242 # (used for general .dll cleanup)
50243 #
50244
50245 flag_USE_LXLITE=1;
50246
50247 #
50248 # helper functions
50249 # basnam, variant of basename, which does _not_ remove the path, _iff_
50250 # second argument (suffix to remove) is given
50251 basnam(){
50252 case ${D}# in
50253 1)
50254 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50255 ;;
50256 2)
50257 echo ${D}1 | sed 's/'${D}2'${D}//'
50258 ;;
50259 *)
50260 echo "error in basnam ${D}*"
50261 exit 8
50262 ;;
50263 esac
50264 }
50265
50266 # Cleanup temporary files and output
50267 CleanUp() {
50268 cd ${D}curDir
50269 for i in ${D}inputFiles ; do
50270 case ${D}i in
50271 *!)
50272 rm -rf \`basnam ${D}i !\`
50273 ;;
50274 *)
50275 ;;
50276 esac
50277 done
50278
50279 # Kill result in case of failure as there is just to many stupid make/nmake
50280 # things out there which doesn't do this.
50281 if [ ${D}# -eq 0 ]; then
50282 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50283 fi
50284 }
50285
50286 # Print usage and exit script with rc=1.
50287 PrintHelp() {
50288 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50289 echo ' [-name-mangler-script script.sh]'
50290 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50291 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50292 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50293 echo ' [*.o] [*.a]'
50294 echo '*> "output_file" should have no extension.'
50295 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50296 echo ' The import library name is derived from this and is set to "name".a,'
50297 echo ' unless overridden by -import'
50298 echo '*> "importlib_name" should have no extension.'
50299 echo ' If it has the .o, or .a extension, it is automatically removed.'
50300 echo ' This name is used as the import library name and may be longer and'
50301 echo ' more descriptive than the DLL name which has to follow the old '
50302 echo ' 8.3 convention of FAT.'
50303 echo '*> "script.sh may be given to override the output_file name by a'
50304 echo ' different name. It is mainly useful if the regular make process'
50305 echo ' of some package does not take into account OS/2 restriction of'
50306 echo ' DLL name lengths. It takes the importlib name as input and is'
50307 echo ' supposed to procude a shorter name as output. The script should'
50308 echo ' expect to get importlib_name without extension and should produce'
50309 echo ' a (max.) 8 letter name without extension.'
50310 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50311 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50312 echo ' These flags will be put at the start of GCC command line.'
50313 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50314 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50315 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50316 echo ' If the last character of a symbol is "*", all symbols beginning'
50317 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50318 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50319 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50320 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50321 echo ' C runtime DLLs.'
50322 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50323 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50324 echo ' unchanged to GCC at the end of command line.'
50325 echo '*> If you create a DLL from a library and you do not specify -o,'
50326 echo ' the basename for DLL and import library will be set to library name,'
50327 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50328 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50329 echo ' library will be renamed into gcc_s.a.'
50330 echo '--------'
50331 echo 'Example:'
50332 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50333 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50334 CleanUp
50335 exit 1
50336 }
50337
50338 # Execute a command.
50339 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50340 # @Uses Whatever CleanUp() uses.
50341 doCommand() {
50342 echo "${D}*"
50343 eval ${D}*
50344 rcCmd=${D}?
50345
50346 if [ ${D}rcCmd -ne 0 ]; then
50347 echo "command failed, exit code="${D}rcCmd
50348 CleanUp
50349 exit ${D}rcCmd
50350 fi
50351 }
50352
50353 # main routine
50354 # setup globals
50355 cmdLine=${D}*
50356 outFile=""
50357 outimpFile=""
50358 inputFiles=""
50359 renameScript=""
50360 description=""
50361 CC=gcc.exe
50362 CFLAGS="-s -Zcrtdll"
50363 EXTRA_CFLAGS=""
50364 EXPORT_BY_ORDINALS=0
50365 exclude_symbols=""
50366 library_flags=""
50367 curDir=\`pwd\`
50368 curDirS=curDir
50369 case ${D}curDirS in
50370 */)
50371 ;;
50372 *)
50373 curDirS=${D}{curDirS}"/"
50374 ;;
50375 esac
50376 # Parse commandline
50377 libsToLink=0
50378 omfLinking=0
50379 while [ ${D}1 ]; do
50380 case ${D}1 in
50381 -ord*)
50382 EXPORT_BY_ORDINALS=1;
50383 ;;
50384 -o*)
50385 shift
50386 outFile=${D}1
50387 ;;
50388 -i*)
50389 shift
50390 outimpFile=${D}1
50391 ;;
50392 -name-mangler-script)
50393 shift
50394 renameScript=${D}1
50395 ;;
50396 -d*)
50397 shift
50398 description=${D}1
50399 ;;
50400 -f*)
50401 shift
50402 CFLAGS=${D}1
50403 ;;
50404 -c*)
50405 shift
50406 CC=${D}1
50407 ;;
50408 -h*)
50409 PrintHelp
50410 ;;
50411 -ex*)
50412 shift
50413 exclude_symbols=${D}{exclude_symbols}${D}1" "
50414 ;;
50415 -libf*)
50416 shift
50417 library_flags=${D}{library_flags}${D}1" "
50418 ;;
50419 -nocrt*)
50420 CFLAGS="-s"
50421 ;;
50422 -nolxl*)
50423 flag_USE_LXLITE=0
50424 ;;
50425 -* | /*)
50426 case ${D}1 in
50427 -L* | -l*)
50428 libsToLink=1
50429 ;;
50430 -Zomf)
50431 omfLinking=1
50432 ;;
50433 *)
50434 ;;
50435 esac
50436 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50437 ;;
50438 *.dll)
50439 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50440 if [ ${D}omfLinking -eq 1 ]; then
50441 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50442 else
50443 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50444 fi
50445 ;;
50446 *)
50447 found=0;
50448 if [ ${D}libsToLink -ne 0 ]; then
50449 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50450 else
50451 for file in ${D}1 ; do
50452 if [ -f ${D}file ]; then
50453 inputFiles="${D}{inputFiles} ${D}file"
50454 found=1
50455 fi
50456 done
50457 if [ ${D}found -eq 0 ]; then
50458 echo "ERROR: No file(s) found: "${D}1
50459 exit 8
50460 fi
50461 fi
50462 ;;
50463 esac
50464 shift
50465 done # iterate cmdline words
50466
50467 #
50468 if [ -z "${D}inputFiles" ]; then
50469 echo "dllar: no input files"
50470 PrintHelp
50471 fi
50472
50473 # Now extract all .o files from .a files
50474 newInputFiles=""
50475 for file in ${D}inputFiles ; do
50476 case ${D}file in
50477 *.a | *.lib)
50478 case ${D}file in
50479 *.a)
50480 suffix=".a"
50481 AR="ar"
50482 ;;
50483 *.lib)
50484 suffix=".lib"
50485 AR="emxomfar"
50486 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50487 ;;
50488 *)
50489 ;;
50490 esac
50491 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50492 mkdir ${D}dirname
50493 if [ ${D}? -ne 0 ]; then
50494 echo "Failed to create subdirectory ./${D}dirname"
50495 CleanUp
50496 exit 8;
50497 fi
50498 # Append '!' to indicate archive
50499 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50500 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50501 cd ${D}curDir
50502 found=0;
50503 for subfile in ${D}dirname/*.o* ; do
50504 if [ -f ${D}subfile ]; then
50505 found=1
50506 if [ -s ${D}subfile ]; then
50507 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50508 newInputFiles="${D}newInputFiles ${D}subfile"
50509 fi
50510 fi
50511 done
50512 if [ ${D}found -eq 0 ]; then
50513 echo "WARNING: there are no files in archive \\'${D}file\\'"
50514 fi
50515 ;;
50516 *)
50517 newInputFiles="${D}{newInputFiles} ${D}file"
50518 ;;
50519 esac
50520 done
50521 inputFiles="${D}newInputFiles"
50522
50523 # Output filename(s).
50524 do_backup=0;
50525 if [ -z ${D}outFile ]; then
50526 do_backup=1;
50527 set outFile ${D}inputFiles; outFile=${D}2
50528 fi
50529
50530 # If it is an archive, remove the '!' and the '_%' suffixes
50531 case ${D}outFile in
50532 *_%!)
50533 outFile=\`basnam ${D}outFile _%!\`
50534 ;;
50535 *)
50536 ;;
50537 esac
50538 case ${D}outFile in
50539 *.dll)
50540 outFile=\`basnam ${D}outFile .dll\`
50541 ;;
50542 *.DLL)
50543 outFile=\`basnam ${D}outFile .DLL\`
50544 ;;
50545 *.o)
50546 outFile=\`basnam ${D}outFile .o\`
50547 ;;
50548 *.obj)
50549 outFile=\`basnam ${D}outFile .obj\`
50550 ;;
50551 *.a)
50552 outFile=\`basnam ${D}outFile .a\`
50553 ;;
50554 *.lib)
50555 outFile=\`basnam ${D}outFile .lib\`
50556 ;;
50557 *)
50558 ;;
50559 esac
50560 case ${D}outimpFile in
50561 *.a)
50562 outimpFile=\`basnam ${D}outimpFile .a\`
50563 ;;
50564 *.lib)
50565 outimpFile=\`basnam ${D}outimpFile .lib\`
50566 ;;
50567 *)
50568 ;;
50569 esac
50570 if [ -z ${D}outimpFile ]; then
50571 outimpFile=${D}outFile
50572 fi
50573 defFile="${D}{outFile}.def"
50574 arcFile="${D}{outimpFile}.a"
50575 arcFile2="${D}{outimpFile}.lib"
50576
50577 #create ${D}dllFile as something matching 8.3 restrictions,
50578 if [ -z ${D}renameScript ] ; then
50579 dllFile="${D}outFile"
50580 else
50581 dllFile=\`${D}renameScript ${D}outimpFile\`
50582 fi
50583
50584 if [ ${D}do_backup -ne 0 ] ; then
50585 if [ -f ${D}arcFile ] ; then
50586 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50587 fi
50588 if [ -f ${D}arcFile2 ] ; then
50589 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50590 fi
50591 fi
50592
50593 # Extract public symbols from all the object files.
50594 tmpdefFile=${D}{defFile}_%
50595 rm -f ${D}tmpdefFile
50596 for file in ${D}inputFiles ; do
50597 case ${D}file in
50598 *!)
50599 ;;
50600 *)
50601 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50602 ;;
50603 esac
50604 done
50605
50606 # Create the def file.
50607 rm -f ${D}defFile
50608 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50609 dllFile="${D}{dllFile}.dll"
50610 if [ ! -z ${D}description ]; then
50611 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50612 fi
50613 echo "EXPORTS" >> ${D}defFile
50614
50615 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50616 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50617
50618 # Checks if the export is ok or not.
50619 for word in ${D}exclude_symbols; do
50620 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50621 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50622 done
50623
50624
50625 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50626 sed "=" < ${D}tmpdefFile | \\
50627 sed '
50628 N
50629 : loop
50630 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50631 t loop
50632 ' > ${D}{tmpdefFile}%
50633 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50634 else
50635 rm -f ${D}{tmpdefFile}%
50636 fi
50637 cat ${D}tmpdefFile >> ${D}defFile
50638 rm -f ${D}tmpdefFile
50639
50640 # Do linking, create implib, and apply lxlite.
50641 gccCmdl="";
50642 for file in ${D}inputFiles ; do
50643 case ${D}file in
50644 *!)
50645 ;;
50646 *)
50647 gccCmdl="${D}gccCmdl ${D}file"
50648 ;;
50649 esac
50650 done
50651 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50652 touch "${D}{outFile}.dll"
50653
50654 doCommand "emximp -o ${D}arcFile ${D}defFile"
50655 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50656 add_flags="";
50657 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50658 add_flags="-ynd"
50659 fi
50660 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50661 fi
50662 doCommand "emxomf -s -l ${D}arcFile"
50663
50664 # Successful exit.
50665 CleanUp 1
50666 exit 0
50667 EOF
50668
50669 chmod +x dllar.sh
50670 ;;
50671
50672 powerpc-apple-macos* | \
50673 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50674 *-*-mirbsd* | \
50675 *-*-sunos4* | \
50676 *-*-osf* | \
50677 *-*-dgux5* | \
50678 *-*-sysv5* | \
50679 *-pc-msdosdjgpp )
50680 ;;
50681
50682 *)
50683 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50684 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50685 { (exit 1); exit 1; }; }
50686 esac
50687
50688 if test "x$PIC_FLAG" != "x" ; then
50689 PIC_FLAG="$PIC_FLAG -DPIC"
50690 fi
50691
50692 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50693 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50694 fi
50695 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50696 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50697 fi
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707 USE_SOVERSION=0
50708 USE_SOVERLINUX=0
50709 USE_SOVERSOLARIS=0
50710 USE_SOVERCYGWIN=0
50711 USE_SOSYMLINKS=0
50712 USE_MACVERSION=0
50713 SONAME_FLAG=
50714
50715 case "${BAKEFILE_HOST}" in
50716 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50717 if test "x$SUNCXX" = "xyes"; then
50718 SONAME_FLAG="-h "
50719 else
50720 SONAME_FLAG="-Wl,-soname,"
50721 fi
50722 USE_SOVERSION=1
50723 USE_SOVERLINUX=1
50724 USE_SOSYMLINKS=1
50725 ;;
50726
50727 *-*-solaris2* )
50728 SONAME_FLAG="-h "
50729 USE_SOVERSION=1
50730 USE_SOVERSOLARIS=1
50731 USE_SOSYMLINKS=1
50732 ;;
50733
50734 *-*-darwin* )
50735 USE_MACVERSION=1
50736 USE_SOVERSION=1
50737 USE_SOSYMLINKS=1
50738 ;;
50739
50740 *-*-cygwin* )
50741 USE_SOVERSION=1
50742 USE_SOVERCYGWIN=1
50743 ;;
50744 esac
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755 # Check whether --enable-dependency-tracking was given.
50756 if test "${enable_dependency_tracking+set}" = set; then
50757 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50758 fi
50759
50760
50761 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50762 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50763
50764 BK_DEPS=""
50765 if test "x$bk_use_trackdeps" = "xno" ; then
50766 DEPS_TRACKING=0
50767 { echo "$as_me:$LINENO: result: disabled" >&5
50768 echo "${ECHO_T}disabled" >&6; }
50769 else
50770 DEPS_TRACKING=1
50771
50772 if test "x$GCC" = "xyes"; then
50773 DEPSMODE=gcc
50774 case "${BAKEFILE_HOST}" in
50775 *-*-darwin* )
50776 DEPSFLAG="-no-cpp-precomp -MMD"
50777 ;;
50778 * )
50779 DEPSFLAG="-MMD"
50780 ;;
50781 esac
50782 { echo "$as_me:$LINENO: result: gcc" >&5
50783 echo "${ECHO_T}gcc" >&6; }
50784 elif test "x$MWCC" = "xyes"; then
50785 DEPSMODE=mwcc
50786 DEPSFLAG="-MM"
50787 { echo "$as_me:$LINENO: result: mwcc" >&5
50788 echo "${ECHO_T}mwcc" >&6; }
50789 elif test "x$SUNCC" = "xyes"; then
50790 DEPSMODE=unixcc
50791 DEPSFLAG="-xM1"
50792 { echo "$as_me:$LINENO: result: Sun cc" >&5
50793 echo "${ECHO_T}Sun cc" >&6; }
50794 elif test "x$SGICC" = "xyes"; then
50795 DEPSMODE=unixcc
50796 DEPSFLAG="-M"
50797 { echo "$as_me:$LINENO: result: SGI cc" >&5
50798 echo "${ECHO_T}SGI cc" >&6; }
50799 elif test "x$HPCC" = "xyes"; then
50800 DEPSMODE=unixcc
50801 DEPSFLAG="+make"
50802 { echo "$as_me:$LINENO: result: HP cc" >&5
50803 echo "${ECHO_T}HP cc" >&6; }
50804 elif test "x$COMPAQCC" = "xyes"; then
50805 DEPSMODE=gcc
50806 DEPSFLAG="-MD"
50807 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50808 echo "${ECHO_T}Compaq cc" >&6; }
50809 else
50810 DEPS_TRACKING=0
50811 { echo "$as_me:$LINENO: result: none" >&5
50812 echo "${ECHO_T}none" >&6; }
50813 fi
50814
50815 if test $DEPS_TRACKING = 1 ; then
50816
50817 D='$'
50818 cat <<EOF >bk-deps
50819 #!/bin/sh
50820
50821 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50822 # script. It is used to track C/C++ files dependencies in portable way.
50823 #
50824 # Permission is given to use this file in any way.
50825
50826 DEPSMODE=${DEPSMODE}
50827 DEPSDIR=.deps
50828 DEPSFLAG="${DEPSFLAG}"
50829
50830 mkdir -p ${D}DEPSDIR
50831
50832 if test ${D}DEPSMODE = gcc ; then
50833 ${D}* ${D}{DEPSFLAG}
50834 status=${D}?
50835 if test ${D}{status} != 0 ; then
50836 exit ${D}{status}
50837 fi
50838 # move created file to the location we want it in:
50839 while test ${D}# -gt 0; do
50840 case "${D}1" in
50841 -o )
50842 shift
50843 objfile=${D}1
50844 ;;
50845 -* )
50846 ;;
50847 * )
50848 srcfile=${D}1
50849 ;;
50850 esac
50851 shift
50852 done
50853 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50854 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50855 if test -f ${D}depfile ; then
50856 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50857 rm -f ${D}depfile
50858 else
50859 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50860 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50861 if test ! -f ${D}depfile ; then
50862 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50863 depfile="${D}objfile.d"
50864 fi
50865 if test -f ${D}depfile ; then
50866 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50867 rm -f ${D}depfile
50868 fi
50869 fi
50870 exit 0
50871 elif test ${D}DEPSMODE = mwcc ; then
50872 ${D}* || exit ${D}?
50873 # Run mwcc again with -MM and redirect into the dep file we want
50874 # NOTE: We can't use shift here because we need ${D}* to be valid
50875 prevarg=
50876 for arg in ${D}* ; do
50877 if test "${D}prevarg" = "-o"; then
50878 objfile=${D}arg
50879 else
50880 case "${D}arg" in
50881 -* )
50882 ;;
50883 * )
50884 srcfile=${D}arg
50885 ;;
50886 esac
50887 fi
50888 prevarg="${D}arg"
50889 done
50890 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50891 exit 0
50892 elif test ${D}DEPSMODE = unixcc; then
50893 ${D}* || exit ${D}?
50894 # Run compiler again with deps flag and redirect into the dep file.
50895 # It doesn't work if the '-o FILE' option is used, but without it the
50896 # dependency file will contain the wrong name for the object. So it is
50897 # removed from the command line, and the dep file is fixed with sed.
50898 cmd=""
50899 while test ${D}# -gt 0; do
50900 case "${D}1" in
50901 -o )
50902 shift
50903 objfile=${D}1
50904 ;;
50905 * )
50906 eval arg${D}#=\\${D}1
50907 cmd="${D}cmd \\${D}arg${D}#"
50908 ;;
50909 esac
50910 shift
50911 done
50912 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50913 exit 0
50914 else
50915 ${D}*
50916 exit ${D}?
50917 fi
50918 EOF
50919
50920 chmod +x bk-deps
50921 BK_DEPS="`pwd`/bk-deps"
50922 fi
50923 fi
50924
50925
50926
50927
50928
50929 case ${BAKEFILE_HOST} in
50930 *-*-cygwin* | *-*-mingw32* )
50931 if test -n "$ac_tool_prefix"; then
50932 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50933 set dummy ${ac_tool_prefix}windres; ac_word=$2
50934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50936 if test "${ac_cv_prog_WINDRES+set}" = set; then
50937 echo $ECHO_N "(cached) $ECHO_C" >&6
50938 else
50939 if test -n "$WINDRES"; then
50940 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50941 else
50942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50943 for as_dir in $PATH
50944 do
50945 IFS=$as_save_IFS
50946 test -z "$as_dir" && as_dir=.
50947 for ac_exec_ext in '' $ac_executable_extensions; do
50948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50949 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50951 break 2
50952 fi
50953 done
50954 done
50955 IFS=$as_save_IFS
50956
50957 fi
50958 fi
50959 WINDRES=$ac_cv_prog_WINDRES
50960 if test -n "$WINDRES"; then
50961 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50962 echo "${ECHO_T}$WINDRES" >&6; }
50963 else
50964 { echo "$as_me:$LINENO: result: no" >&5
50965 echo "${ECHO_T}no" >&6; }
50966 fi
50967
50968
50969 fi
50970 if test -z "$ac_cv_prog_WINDRES"; then
50971 ac_ct_WINDRES=$WINDRES
50972 # Extract the first word of "windres", so it can be a program name with args.
50973 set dummy windres; ac_word=$2
50974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50976 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50977 echo $ECHO_N "(cached) $ECHO_C" >&6
50978 else
50979 if test -n "$ac_ct_WINDRES"; then
50980 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50981 else
50982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50983 for as_dir in $PATH
50984 do
50985 IFS=$as_save_IFS
50986 test -z "$as_dir" && as_dir=.
50987 for ac_exec_ext in '' $ac_executable_extensions; do
50988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50989 ac_cv_prog_ac_ct_WINDRES="windres"
50990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50991 break 2
50992 fi
50993 done
50994 done
50995 IFS=$as_save_IFS
50996
50997 fi
50998 fi
50999 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51000 if test -n "$ac_ct_WINDRES"; then
51001 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51002 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51003 else
51004 { echo "$as_me:$LINENO: result: no" >&5
51005 echo "${ECHO_T}no" >&6; }
51006 fi
51007
51008 if test "x$ac_ct_WINDRES" = x; then
51009 WINDRES=""
51010 else
51011 case $cross_compiling:$ac_tool_warned in
51012 yes:)
51013 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51014 whose name does not start with the host triplet. If you think this
51015 configuration is useful to you, please write to autoconf@gnu.org." >&5
51016 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51017 whose name does not start with the host triplet. If you think this
51018 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51019 ac_tool_warned=yes ;;
51020 esac
51021 WINDRES=$ac_ct_WINDRES
51022 fi
51023 else
51024 WINDRES="$ac_cv_prog_WINDRES"
51025 fi
51026
51027 ;;
51028
51029 *-*-darwin* | powerpc-apple-macos* )
51030 # Extract the first word of "Rez", so it can be a program name with args.
51031 set dummy Rez; ac_word=$2
51032 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51034 if test "${ac_cv_prog_REZ+set}" = set; then
51035 echo $ECHO_N "(cached) $ECHO_C" >&6
51036 else
51037 if test -n "$REZ"; then
51038 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51039 else
51040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51041 for as_dir in $PATH
51042 do
51043 IFS=$as_save_IFS
51044 test -z "$as_dir" && as_dir=.
51045 for ac_exec_ext in '' $ac_executable_extensions; do
51046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51047 ac_cv_prog_REZ="Rez"
51048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51049 break 2
51050 fi
51051 done
51052 done
51053 IFS=$as_save_IFS
51054
51055 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51056 fi
51057 fi
51058 REZ=$ac_cv_prog_REZ
51059 if test -n "$REZ"; then
51060 { echo "$as_me:$LINENO: result: $REZ" >&5
51061 echo "${ECHO_T}$REZ" >&6; }
51062 else
51063 { echo "$as_me:$LINENO: result: no" >&5
51064 echo "${ECHO_T}no" >&6; }
51065 fi
51066
51067
51068 # Extract the first word of "SetFile", so it can be a program name with args.
51069 set dummy SetFile; ac_word=$2
51070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51072 if test "${ac_cv_prog_SETFILE+set}" = set; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51074 else
51075 if test -n "$SETFILE"; then
51076 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51077 else
51078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51079 for as_dir in $PATH
51080 do
51081 IFS=$as_save_IFS
51082 test -z "$as_dir" && as_dir=.
51083 for ac_exec_ext in '' $ac_executable_extensions; do
51084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51085 ac_cv_prog_SETFILE="SetFile"
51086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51087 break 2
51088 fi
51089 done
51090 done
51091 IFS=$as_save_IFS
51092
51093 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51094 fi
51095 fi
51096 SETFILE=$ac_cv_prog_SETFILE
51097 if test -n "$SETFILE"; then
51098 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51099 echo "${ECHO_T}$SETFILE" >&6; }
51100 else
51101 { echo "$as_me:$LINENO: result: no" >&5
51102 echo "${ECHO_T}no" >&6; }
51103 fi
51104
51105
51106 ;;
51107 esac
51108
51109
51110
51111
51112
51113
51114 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51115
51116
51117 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51118
51119
51120
51121 # Check whether --enable-precomp-headers was given.
51122 if test "${enable_precomp_headers+set}" = set; then
51123 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51124 fi
51125
51126
51127 GCC_PCH=0
51128 ICC_PCH=0
51129 USE_PCH=0
51130 BK_MAKE_PCH=""
51131
51132 case ${BAKEFILE_HOST} in
51133 *-*-cygwin* )
51134 bk_use_pch="no"
51135 ;;
51136 esac
51137
51138 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51139 if test "x$GCC" = "xyes"; then
51140 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51141 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51142 cat >conftest.$ac_ext <<_ACEOF
51143 /* confdefs.h. */
51144 _ACEOF
51145 cat confdefs.h >>conftest.$ac_ext
51146 cat >>conftest.$ac_ext <<_ACEOF
51147 /* end confdefs.h. */
51148
51149 int
51150 main ()
51151 {
51152
51153 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51154 There is no PCH support
51155 #endif
51156 #if (__GNUC__ < 3)
51157 There is no PCH support
51158 #endif
51159 #if (__GNUC__ == 3) && \
51160 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51161 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51162 ( defined(__INTEL_COMPILER) )
51163 There is no PCH support
51164 #endif
51165
51166 ;
51167 return 0;
51168 }
51169 _ACEOF
51170 rm -f conftest.$ac_objext
51171 if { (ac_try="$ac_compile"
51172 case "(($ac_try" in
51173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51174 *) ac_try_echo=$ac_try;;
51175 esac
51176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51177 (eval "$ac_compile") 2>conftest.er1
51178 ac_status=$?
51179 grep -v '^ *+' conftest.er1 >conftest.err
51180 rm -f conftest.er1
51181 cat conftest.err >&5
51182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183 (exit $ac_status); } && {
51184 test -z "$ac_c_werror_flag" ||
51185 test ! -s conftest.err
51186 } && test -s conftest.$ac_objext; then
51187
51188 { echo "$as_me:$LINENO: result: yes" >&5
51189 echo "${ECHO_T}yes" >&6; }
51190 GCC_PCH=1
51191
51192 else
51193 echo "$as_me: failed program was:" >&5
51194 sed 's/^/| /' conftest.$ac_ext >&5
51195
51196
51197 cat >conftest.$ac_ext <<_ACEOF
51198 /* confdefs.h. */
51199 _ACEOF
51200 cat confdefs.h >>conftest.$ac_ext
51201 cat >>conftest.$ac_ext <<_ACEOF
51202 /* end confdefs.h. */
51203
51204 int
51205 main ()
51206 {
51207
51208 #if !defined(__INTEL_COMPILER) || \
51209 (__INTEL_COMPILER < 800)
51210 There is no PCH support
51211 #endif
51212
51213 ;
51214 return 0;
51215 }
51216 _ACEOF
51217 rm -f conftest.$ac_objext
51218 if { (ac_try="$ac_compile"
51219 case "(($ac_try" in
51220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51221 *) ac_try_echo=$ac_try;;
51222 esac
51223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51224 (eval "$ac_compile") 2>conftest.er1
51225 ac_status=$?
51226 grep -v '^ *+' conftest.er1 >conftest.err
51227 rm -f conftest.er1
51228 cat conftest.err >&5
51229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51230 (exit $ac_status); } && {
51231 test -z "$ac_c_werror_flag" ||
51232 test ! -s conftest.err
51233 } && test -s conftest.$ac_objext; then
51234
51235 { echo "$as_me:$LINENO: result: yes" >&5
51236 echo "${ECHO_T}yes" >&6; }
51237 ICC_PCH=1
51238
51239 else
51240 echo "$as_me: failed program was:" >&5
51241 sed 's/^/| /' conftest.$ac_ext >&5
51242
51243
51244 { echo "$as_me:$LINENO: result: no" >&5
51245 echo "${ECHO_T}no" >&6; }
51246
51247 fi
51248
51249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51250
51251 fi
51252
51253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51254 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51255 USE_PCH=1
51256
51257 D='$'
51258 cat <<EOF >bk-make-pch
51259 #!/bin/sh
51260
51261 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51262 # script. It is used to generated precompiled headers.
51263 #
51264 # Permission is given to use this file in any way.
51265
51266 outfile="${D}{1}"
51267 header="${D}{2}"
51268 shift
51269 shift
51270
51271 compiler=""
51272 headerfile=""
51273
51274 while test ${D}{#} -gt 0; do
51275 add_to_cmdline=1
51276 case "${D}{1}" in
51277 -I* )
51278 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51279 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51280 headerfile="${D}{incdir}/${D}{header}"
51281 fi
51282 ;;
51283 -use-pch|-use_pch )
51284 shift
51285 add_to_cmdline=0
51286 ;;
51287 esac
51288 if test ${D}add_to_cmdline = 1 ; then
51289 compiler="${D}{compiler} ${D}{1}"
51290 fi
51291 shift
51292 done
51293
51294 if test "x${D}{headerfile}" = "x" ; then
51295 echo "error: can't find header ${D}{header} in include paths" >&2
51296 else
51297 if test -f ${D}{outfile} ; then
51298 rm -f ${D}{outfile}
51299 else
51300 mkdir -p \`dirname ${D}{outfile}\`
51301 fi
51302 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51303 mkdir -p .deps
51304 if test "x${GCC_PCH}" = "x1" ; then
51305 # can do this because gcc is >= 3.4:
51306 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51307 elif test "x${ICC_PCH}" = "x1" ; then
51308 filename=pch_gen-${D}${D}
51309 file=${D}{filename}.c
51310 dfile=${D}{filename}.d
51311 cat > ${D}file <<EOT
51312 #include "${D}header"
51313 EOT
51314 # using -MF icc complains about differing command lines in creation/use
51315 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51316 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51317 rm -f ${D}file ${D}dfile ${D}{filename}.o
51318 fi
51319 exit ${D}{?}
51320 fi
51321 EOF
51322
51323 chmod +x bk-make-pch
51324 BK_MAKE_PCH="`pwd`/bk-make-pch"
51325 fi
51326 fi
51327 fi
51328
51329
51330
51331
51332
51333 COND_BUILD_DEBUG="#"
51334 if test "x$BUILD" = "xdebug" ; then
51335 COND_BUILD_DEBUG=""
51336 fi
51337
51338 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51339 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51340 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51341 fi
51342
51343 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51344 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51345 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51346 fi
51347
51348 COND_BUILD_DEBUG_UNICODE_0="#"
51349 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51350 COND_BUILD_DEBUG_UNICODE_0=""
51351 fi
51352
51353 COND_BUILD_DEBUG_UNICODE_1="#"
51354 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51355 COND_BUILD_DEBUG_UNICODE_1=""
51356 fi
51357
51358 COND_BUILD_RELEASE="#"
51359 if test "x$BUILD" = "xrelease" ; then
51360 COND_BUILD_RELEASE=""
51361 fi
51362
51363 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51364 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51365 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51366 fi
51367
51368 COND_BUILD_RELEASE_UNICODE_0="#"
51369 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51370 COND_BUILD_RELEASE_UNICODE_0=""
51371 fi
51372
51373 COND_BUILD_RELEASE_UNICODE_1="#"
51374 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51375 COND_BUILD_RELEASE_UNICODE_1=""
51376 fi
51377
51378 COND_DEBUG_FLAG_1="#"
51379 if test "x$DEBUG_FLAG" = "x1" ; then
51380 COND_DEBUG_FLAG_1=""
51381 fi
51382
51383 COND_DEBUG_INFO_0="#"
51384 if test "x$DEBUG_INFO" = "x0" ; then
51385 COND_DEBUG_INFO_0=""
51386 fi
51387
51388 COND_DEBUG_INFO_1="#"
51389 if test "x$DEBUG_INFO" = "x1" ; then
51390 COND_DEBUG_INFO_1=""
51391 fi
51392
51393 COND_DEPS_TRACKING_0="#"
51394 if test "x$DEPS_TRACKING" = "x0" ; then
51395 COND_DEPS_TRACKING_0=""
51396 fi
51397
51398 COND_DEPS_TRACKING_1="#"
51399 if test "x$DEPS_TRACKING" = "x1" ; then
51400 COND_DEPS_TRACKING_1=""
51401 fi
51402
51403 COND_GCC_PCH_1="#"
51404 if test "x$GCC_PCH" = "x1" ; then
51405 COND_GCC_PCH_1=""
51406 fi
51407
51408 COND_ICC_PCH_1="#"
51409 if test "x$ICC_PCH" = "x1" ; then
51410 COND_ICC_PCH_1=""
51411 fi
51412
51413 COND_MONOLITHIC_0="#"
51414 if test "x$MONOLITHIC" = "x0" ; then
51415 COND_MONOLITHIC_0=""
51416 fi
51417
51418 COND_MONOLITHIC_0_SHARED_0="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51420 COND_MONOLITHIC_0_SHARED_0=""
51421 fi
51422
51423 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51426 fi
51427
51428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51431 fi
51432
51433 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51436 fi
51437
51438 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51441 fi
51442
51443 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51446 fi
51447
51448 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51451 fi
51452
51453 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51456 fi
51457
51458 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51461 fi
51462
51463 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51466 fi
51467
51468 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51470 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51471 fi
51472
51473 COND_MONOLITHIC_0_SHARED_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51475 COND_MONOLITHIC_0_SHARED_1=""
51476 fi
51477
51478 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51480 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51481 fi
51482
51483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51485 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51486 fi
51487
51488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51490 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51491 fi
51492
51493 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51495 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51496 fi
51497
51498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51501 fi
51502
51503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51506 fi
51507
51508 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51510 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51511 fi
51512
51513 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51515 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51516 fi
51517
51518 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51520 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51521 fi
51522
51523 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51524 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51525 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51526 fi
51527
51528 COND_MONOLITHIC_0_USE_AUI_1="#"
51529 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51530 COND_MONOLITHIC_0_USE_AUI_1=""
51531 fi
51532
51533 COND_MONOLITHIC_0_USE_GUI_1="#"
51534 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51535 COND_MONOLITHIC_0_USE_GUI_1=""
51536 fi
51537
51538 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51539 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51540 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51541 fi
51542
51543 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51544 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51545 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51546 fi
51547
51548 COND_MONOLITHIC_0_USE_HTML_1="#"
51549 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51550 COND_MONOLITHIC_0_USE_HTML_1=""
51551 fi
51552
51553 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51554 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51555 COND_MONOLITHIC_0_USE_MEDIA_1=""
51556 fi
51557
51558 COND_MONOLITHIC_0_USE_ODBC_1="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51560 COND_MONOLITHIC_0_USE_ODBC_1=""
51561 fi
51562
51563 COND_MONOLITHIC_0_USE_QA_1="#"
51564 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51565 COND_MONOLITHIC_0_USE_QA_1=""
51566 fi
51567
51568 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51569 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51570 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51571 fi
51572
51573 COND_MONOLITHIC_0_USE_STC_1="#"
51574 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51575 COND_MONOLITHIC_0_USE_STC_1=""
51576 fi
51577
51578 COND_MONOLITHIC_0_USE_XRC_1="#"
51579 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51580 COND_MONOLITHIC_0_USE_XRC_1=""
51581 fi
51582
51583 COND_MONOLITHIC_1="#"
51584 if test "x$MONOLITHIC" = "x1" ; then
51585 COND_MONOLITHIC_1=""
51586 fi
51587
51588 COND_MONOLITHIC_1_SHARED_0="#"
51589 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51590 COND_MONOLITHIC_1_SHARED_0=""
51591 fi
51592
51593 COND_MONOLITHIC_1_SHARED_1="#"
51594 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51595 COND_MONOLITHIC_1_SHARED_1=""
51596 fi
51597
51598 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51599 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51600 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51601 fi
51602
51603 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51604 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51605 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51606 fi
51607
51608 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51609 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51610 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51611 fi
51612
51613 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51614 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51615 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51616 fi
51617
51618 COND_PLATFORM_MACOSX_1="#"
51619 if test "x$PLATFORM_MACOSX" = "x1" ; then
51620 COND_PLATFORM_MACOSX_1=""
51621 fi
51622
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51625 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51626 fi
51627
51628 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51630 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51631 fi
51632
51633 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51635 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51636 fi
51637
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51641 fi
51642
51643 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51645 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51646 fi
51647
51648 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51650 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51651 fi
51652
51653 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51655 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51656 fi
51657
51658 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51659 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51660 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51661 fi
51662
51663 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51664 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51665 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51666 fi
51667
51668 COND_PLATFORM_MACOS_1="#"
51669 if test "x$PLATFORM_MACOS" = "x1" ; then
51670 COND_PLATFORM_MACOS_1=""
51671 fi
51672
51673 COND_PLATFORM_MAC_1="#"
51674 if test "x$PLATFORM_MAC" = "x1" ; then
51675 COND_PLATFORM_MAC_1=""
51676 fi
51677
51678 COND_PLATFORM_MSDOS_0="#"
51679 if test "x$PLATFORM_MSDOS" = "x0" ; then
51680 COND_PLATFORM_MSDOS_0=""
51681 fi
51682
51683 COND_PLATFORM_MSDOS_1="#"
51684 if test "x$PLATFORM_MSDOS" = "x1" ; then
51685 COND_PLATFORM_MSDOS_1=""
51686 fi
51687
51688 COND_PLATFORM_OS2_1="#"
51689 if test "x$PLATFORM_OS2" = "x1" ; then
51690 COND_PLATFORM_OS2_1=""
51691 fi
51692
51693 COND_PLATFORM_UNIX_0="#"
51694 if test "x$PLATFORM_UNIX" = "x0" ; then
51695 COND_PLATFORM_UNIX_0=""
51696 fi
51697
51698 COND_PLATFORM_UNIX_1="#"
51699 if test "x$PLATFORM_UNIX" = "x1" ; then
51700 COND_PLATFORM_UNIX_1=""
51701 fi
51702
51703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51706 fi
51707
51708 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51709 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51710 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51711 fi
51712
51713 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51715 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51716 fi
51717
51718 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51719 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51720 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51721 fi
51722
51723 COND_PLATFORM_WIN32_0="#"
51724 if test "x$PLATFORM_WIN32" = "x0" ; then
51725 COND_PLATFORM_WIN32_0=""
51726 fi
51727
51728 COND_PLATFORM_WIN32_1="#"
51729 if test "x$PLATFORM_WIN32" = "x1" ; then
51730 COND_PLATFORM_WIN32_1=""
51731 fi
51732
51733 COND_SHARED_0="#"
51734 if test "x$SHARED" = "x0" ; then
51735 COND_SHARED_0=""
51736 fi
51737
51738 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51741 fi
51742
51743 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51745 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51746 fi
51747
51748 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51751 fi
51752
51753 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51755 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51756 fi
51757
51758 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51760 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51761 fi
51762
51763 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51766 fi
51767
51768 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51770 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51771 fi
51772
51773 COND_SHARED_0_USE_STC_1="#"
51774 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51775 COND_SHARED_0_USE_STC_1=""
51776 fi
51777
51778 COND_SHARED_0_USE_XRC_1="#"
51779 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51780 COND_SHARED_0_USE_XRC_1=""
51781 fi
51782
51783 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51784 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51785 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51786 fi
51787
51788 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51789 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51790 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51791 fi
51792
51793 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51794 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51795 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51796 fi
51797
51798 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51799 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51800 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51801 fi
51802
51803 COND_SHARED_1="#"
51804 if test "x$SHARED" = "x1" ; then
51805 COND_SHARED_1=""
51806 fi
51807
51808 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51809 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51810 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51811 fi
51812
51813 COND_SHARED_1_USE_XRC_1="#"
51814 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51815 COND_SHARED_1_USE_XRC_1=""
51816 fi
51817
51818 COND_TOOLKIT_="#"
51819 if test "x$TOOLKIT" = "x" ; then
51820 COND_TOOLKIT_=""
51821 fi
51822
51823 COND_TOOLKIT_COCOA="#"
51824 if test "x$TOOLKIT" = "xCOCOA" ; then
51825 COND_TOOLKIT_COCOA=""
51826 fi
51827
51828 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51829 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51830 COND_TOOLKIT_COCOA_USE_GUI_1=""
51831 fi
51832
51833 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51834 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51835 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51836 fi
51837
51838 COND_TOOLKIT_DFB="#"
51839 if test "x$TOOLKIT" = "xDFB" ; then
51840 COND_TOOLKIT_DFB=""
51841 fi
51842
51843 COND_TOOLKIT_DFB_USE_GUI_1="#"
51844 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51845 COND_TOOLKIT_DFB_USE_GUI_1=""
51846 fi
51847
51848 COND_TOOLKIT_GTK="#"
51849 if test "x$TOOLKIT" = "xGTK" ; then
51850 COND_TOOLKIT_GTK=""
51851 fi
51852
51853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51856 fi
51857
51858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51861 fi
51862
51863 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51865 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51866 fi
51867
51868 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51869 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51870 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51871 fi
51872
51873 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51874 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51875 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51876 fi
51877
51878 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51879 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51880 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51881 fi
51882
51883 COND_TOOLKIT_GTK_USE_GUI_1="#"
51884 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51885 COND_TOOLKIT_GTK_USE_GUI_1=""
51886 fi
51887
51888 COND_TOOLKIT_MAC="#"
51889 if test "x$TOOLKIT" = "xMAC" ; then
51890 COND_TOOLKIT_MAC=""
51891 fi
51892
51893 COND_TOOLKIT_MAC_USE_GUI_1="#"
51894 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51895 COND_TOOLKIT_MAC_USE_GUI_1=""
51896 fi
51897
51898 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51899 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51900 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51901 fi
51902
51903 COND_TOOLKIT_MGL="#"
51904 if test "x$TOOLKIT" = "xMGL" ; then
51905 COND_TOOLKIT_MGL=""
51906 fi
51907
51908 COND_TOOLKIT_MGL_USE_GUI_1="#"
51909 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51910 COND_TOOLKIT_MGL_USE_GUI_1=""
51911 fi
51912
51913 COND_TOOLKIT_MOTIF="#"
51914 if test "x$TOOLKIT" = "xMOTIF" ; then
51915 COND_TOOLKIT_MOTIF=""
51916 fi
51917
51918 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51919 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51920 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51921 fi
51922
51923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51924 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51926 fi
51927
51928 COND_TOOLKIT_MSW="#"
51929 if test "x$TOOLKIT" = "xMSW" ; then
51930 COND_TOOLKIT_MSW=""
51931 fi
51932
51933 COND_TOOLKIT_MSW_USE_GUI_1="#"
51934 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51935 COND_TOOLKIT_MSW_USE_GUI_1=""
51936 fi
51937
51938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51939 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51940 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51941 fi
51942
51943 COND_TOOLKIT_MSW_WXUNIV_0="#"
51944 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51945 COND_TOOLKIT_MSW_WXUNIV_0=""
51946 fi
51947
51948 COND_TOOLKIT_PM="#"
51949 if test "x$TOOLKIT" = "xPM" ; then
51950 COND_TOOLKIT_PM=""
51951 fi
51952
51953 COND_TOOLKIT_PM_USE_GUI_1="#"
51954 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51955 COND_TOOLKIT_PM_USE_GUI_1=""
51956 fi
51957
51958 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51959 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51961 fi
51962
51963 COND_TOOLKIT_WINCE="#"
51964 if test "x$TOOLKIT" = "xWINCE" ; then
51965 COND_TOOLKIT_WINCE=""
51966 fi
51967
51968 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51969 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51970 COND_TOOLKIT_WINCE_USE_GUI_1=""
51971 fi
51972
51973 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51974 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51975 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51976 fi
51977
51978 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51979 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51980 COND_TOOLKIT_WINCE_WXUNIV_0=""
51981 fi
51982
51983 COND_TOOLKIT_X11="#"
51984 if test "x$TOOLKIT" = "xX11" ; then
51985 COND_TOOLKIT_X11=""
51986 fi
51987
51988 COND_TOOLKIT_X11_USE_GUI_1="#"
51989 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51990 COND_TOOLKIT_X11_USE_GUI_1=""
51991 fi
51992
51993 COND_UNICODE_1="#"
51994 if test "x$UNICODE" = "x1" ; then
51995 COND_UNICODE_1=""
51996 fi
51997
51998 COND_USE_EXCEPTIONS_0="#"
51999 if test "x$USE_EXCEPTIONS" = "x0" ; then
52000 COND_USE_EXCEPTIONS_0=""
52001 fi
52002
52003 COND_USE_EXCEPTIONS_1="#"
52004 if test "x$USE_EXCEPTIONS" = "x1" ; then
52005 COND_USE_EXCEPTIONS_1=""
52006 fi
52007
52008 COND_USE_GUI_0="#"
52009 if test "x$USE_GUI" = "x0" ; then
52010 COND_USE_GUI_0=""
52011 fi
52012
52013 COND_USE_GUI_1="#"
52014 if test "x$USE_GUI" = "x1" ; then
52015 COND_USE_GUI_1=""
52016 fi
52017
52018 COND_USE_GUI_1_USE_OPENGL_1="#"
52019 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52020 COND_USE_GUI_1_USE_OPENGL_1=""
52021 fi
52022
52023 COND_USE_GUI_1_WXUNIV_0="#"
52024 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52025 COND_USE_GUI_1_WXUNIV_0=""
52026 fi
52027
52028 COND_USE_GUI_1_WXUNIV_1="#"
52029 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52030 COND_USE_GUI_1_WXUNIV_1=""
52031 fi
52032
52033 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52034 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52035 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52036 fi
52037
52038 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52040 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52041 fi
52042
52043 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52044 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52045 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52046 fi
52047
52048 COND_USE_ODBC_1="#"
52049 if test "x$USE_ODBC" = "x1" ; then
52050 COND_USE_ODBC_1=""
52051 fi
52052
52053 COND_USE_OPENGL_1="#"
52054 if test "x$USE_OPENGL" = "x1" ; then
52055 COND_USE_OPENGL_1=""
52056 fi
52057
52058 COND_USE_PCH_1="#"
52059 if test "x$USE_PCH" = "x1" ; then
52060 COND_USE_PCH_1=""
52061 fi
52062
52063 COND_USE_PLUGINS_0="#"
52064 if test "x$USE_PLUGINS" = "x0" ; then
52065 COND_USE_PLUGINS_0=""
52066 fi
52067
52068 COND_USE_RTTI_0="#"
52069 if test "x$USE_RTTI" = "x0" ; then
52070 COND_USE_RTTI_0=""
52071 fi
52072
52073 COND_USE_RTTI_1="#"
52074 if test "x$USE_RTTI" = "x1" ; then
52075 COND_USE_RTTI_1=""
52076 fi
52077
52078 COND_USE_SOSYMLINKS_1="#"
52079 if test "x$USE_SOSYMLINKS" = "x1" ; then
52080 COND_USE_SOSYMLINKS_1=""
52081 fi
52082
52083 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52084 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52085 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52086 fi
52087
52088 COND_USE_SOVERLINUX_1="#"
52089 if test "x$USE_SOVERLINUX" = "x1" ; then
52090 COND_USE_SOVERLINUX_1=""
52091 fi
52092
52093 COND_USE_SOVERSION_0="#"
52094 if test "x$USE_SOVERSION" = "x0" ; then
52095 COND_USE_SOVERSION_0=""
52096 fi
52097
52098 COND_USE_SOVERSOLARIS_1="#"
52099 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52100 COND_USE_SOVERSOLARIS_1=""
52101 fi
52102
52103 COND_USE_STC_1="#"
52104 if test "x$USE_STC" = "x1" ; then
52105 COND_USE_STC_1=""
52106 fi
52107
52108 COND_USE_THREADS_0="#"
52109 if test "x$USE_THREADS" = "x0" ; then
52110 COND_USE_THREADS_0=""
52111 fi
52112
52113 COND_USE_THREADS_1="#"
52114 if test "x$USE_THREADS" = "x1" ; then
52115 COND_USE_THREADS_1=""
52116 fi
52117
52118 COND_USE_XRC_1="#"
52119 if test "x$USE_XRC" = "x1" ; then
52120 COND_USE_XRC_1=""
52121 fi
52122
52123 COND_WINDOWS_IMPLIB_1="#"
52124 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52125 COND_WINDOWS_IMPLIB_1=""
52126 fi
52127
52128 COND_WITH_PLUGIN_SDL_1="#"
52129 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52130 COND_WITH_PLUGIN_SDL_1=""
52131 fi
52132
52133 COND_WXUNIV_0="#"
52134 if test "x$WXUNIV" = "x0" ; then
52135 COND_WXUNIV_0=""
52136 fi
52137
52138 COND_WXUNIV_1="#"
52139 if test "x$WXUNIV" = "x1" ; then
52140 COND_WXUNIV_1=""
52141 fi
52142
52143 COND_WXUSE_EXPAT_BUILTIN="#"
52144 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52145 COND_WXUSE_EXPAT_BUILTIN=""
52146 fi
52147
52148 COND_WXUSE_LIBJPEG_BUILTIN="#"
52149 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52150 COND_WXUSE_LIBJPEG_BUILTIN=""
52151 fi
52152
52153 COND_WXUSE_LIBPNG_BUILTIN="#"
52154 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52155 COND_WXUSE_LIBPNG_BUILTIN=""
52156 fi
52157
52158 COND_WXUSE_LIBTIFF_BUILTIN="#"
52159 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52160 COND_WXUSE_LIBTIFF_BUILTIN=""
52161 fi
52162
52163 COND_WXUSE_ODBC_BUILTIN="#"
52164 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52165 COND_WXUSE_ODBC_BUILTIN=""
52166 fi
52167
52168 COND_WXUSE_REGEX_BUILTIN="#"
52169 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52170 COND_WXUSE_REGEX_BUILTIN=""
52171 fi
52172
52173 COND_WXUSE_ZLIB_BUILTIN="#"
52174 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52175 COND_WXUSE_ZLIB_BUILTIN=""
52176 fi
52177
52178
52179
52180 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52181 { { 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
52182 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;}
52183 { (exit 1); exit 1; }; }
52184 fi
52185
52186 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52187 { { 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
52188 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;}
52189 { (exit 1); exit 1; }; }
52190 fi
52191
52192
52193 if test $GCC_PCH = 1
52194 then
52195 if test "$wx_cv_gcc_pch_bug" = yes; then
52196 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52197 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52198 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52199 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52200 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52201 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52202 fi
52203
52204 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52205 fi
52206
52207
52208 if test "$wxUSE_MAC" = 1 ; then
52209 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52210 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52211 mv temp bk-deps
52212 chmod +x bk-deps
52213 fi
52214 fi
52215
52216 if test "$wxUSE_SHARED" = "yes"; then
52217
52218 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52219 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52220
52221 case "${host}" in
52222 *-pc-os2_emx | *-pc-os2-emx )
52223 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52224 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52225 cp -p ${srcdir}/src/os2/dllnames.sh .
52226 cp -p ${srcdir}/src/os2/dllar.sh .
52227 ;;
52228 esac
52229 else
52230
52231 EXE_LINKER="$CXX -o"
52232
52233 fi
52234 if test "$wxUSE_OMF" = "yes"; then
52235 case "${host}" in
52236 *-pc-os2_emx | *-pc-os2-emx )
52237 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52238 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52239 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52240 ;;
52241 esac
52242 fi
52243
52244 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52245
52246
52247 case "${host}" in
52248 *-*-solaris2* )
52249 if "$GCC" = yes; then
52250 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52251 LIBS=`echo $LIBS | sed 's/-mt//'`
52252 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52253 fi
52254 ;;
52255
52256 *-*-linux* )
52257 if test "x$SUNCXX" = xyes; then
52258 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52259 LIBS=`echo $LIBS | sed 's/-pthread//'`
52260 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52261 fi
52262 ;;
52263 esac
52264
52265 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52266 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52267
52268 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329
52330 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52331 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52332 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52333 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52334 echo $ECHO_N "(cached) $ECHO_C" >&6
52335 else
52336 cat >conftest.make <<\_ACEOF
52337 SHELL = /bin/sh
52338 all:
52339 @echo '@@@%%%=$(MAKE)=@@@%%%'
52340 _ACEOF
52341 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52342 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52343 *@@@%%%=?*=@@@%%%*)
52344 eval ac_cv_prog_make_${ac_make}_set=yes;;
52345 *)
52346 eval ac_cv_prog_make_${ac_make}_set=no;;
52347 esac
52348 rm -f conftest.make
52349 fi
52350 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52351 { echo "$as_me:$LINENO: result: yes" >&5
52352 echo "${ECHO_T}yes" >&6; }
52353 SET_MAKE=
52354 else
52355 { echo "$as_me:$LINENO: result: no" >&5
52356 echo "${ECHO_T}no" >&6; }
52357 SET_MAKE="MAKE=${MAKE-make}"
52358 fi
52359
52360
52361
52362 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52363
52364
52365 if test "$USE_WIN32" = 1; then
52366 ac_config_commands="$ac_config_commands
52367 rcdefs.h
52368 "
52369
52370 fi
52371
52372 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52373
52374
52375 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52376
52377
52378 if test "$wx_cv_version_script" = "yes"; then
52379 ac_config_files="$ac_config_files version-script"
52380
52381 fi
52382 ac_config_files="$ac_config_files Makefile"
52383
52384
52385 ac_config_commands="$ac_config_commands wx-config"
52386
52387
52388
52389 if test "$wxWITH_SUBDIRS" != "no"; then
52390 if test "$wxUSE_GUI" = "yes"; then
52391 SUBDIRS="samples demos utils"
52392 else SUBDIRS="samples utils"
52393 fi
52394
52395
52396
52397 # Check whether --with-cppunit-prefix was given.
52398 if test "${with_cppunit_prefix+set}" = set; then
52399 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52400 else
52401 cppunit_config_prefix=""
52402 fi
52403
52404
52405 # Check whether --with-cppunit-exec-prefix was given.
52406 if test "${with_cppunit_exec_prefix+set}" = set; then
52407 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52408 else
52409 cppunit_config_exec_prefix=""
52410 fi
52411
52412
52413 if test x$cppunit_config_exec_prefix != x ; then
52414 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52415 if test x${CPPUNIT_CONFIG+set} != xset ; then
52416 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52417 fi
52418 fi
52419 if test x$cppunit_config_prefix != x ; then
52420 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52421 if test x${CPPUNIT_CONFIG+set} != xset ; then
52422 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52423 fi
52424 fi
52425
52426 # Extract the first word of "cppunit-config", so it can be a program name with args.
52427 set dummy cppunit-config; ac_word=$2
52428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52430 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52431 echo $ECHO_N "(cached) $ECHO_C" >&6
52432 else
52433 case $CPPUNIT_CONFIG in
52434 [\\/]* | ?:[\\/]*)
52435 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52436 ;;
52437 *)
52438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52439 for as_dir in $PATH
52440 do
52441 IFS=$as_save_IFS
52442 test -z "$as_dir" && as_dir=.
52443 for ac_exec_ext in '' $ac_executable_extensions; do
52444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52445 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52447 break 2
52448 fi
52449 done
52450 done
52451 IFS=$as_save_IFS
52452
52453 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52454 ;;
52455 esac
52456 fi
52457 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52458 if test -n "$CPPUNIT_CONFIG"; then
52459 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52460 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52461 else
52462 { echo "$as_me:$LINENO: result: no" >&5
52463 echo "${ECHO_T}no" >&6; }
52464 fi
52465
52466
52467 cppunit_version_min=1.8.0
52468
52469 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52470 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52471 no_cppunit=""
52472 if test "$CPPUNIT_CONFIG" = "no" ; then
52473 { echo "$as_me:$LINENO: result: no" >&5
52474 echo "${ECHO_T}no" >&6; }
52475 no_cppunit=yes
52476 else
52477 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52478 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52479 cppunit_version=`$CPPUNIT_CONFIG --version`
52480
52481 cppunit_major_version=`echo $cppunit_version | \
52482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52483 cppunit_minor_version=`echo $cppunit_version | \
52484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52485 cppunit_micro_version=`echo $cppunit_version | \
52486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52487
52488 cppunit_major_min=`echo $cppunit_version_min | \
52489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52490 cppunit_minor_min=`echo $cppunit_version_min | \
52491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52492 cppunit_micro_min=`echo $cppunit_version_min | \
52493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52494
52495 cppunit_version_proper=`expr \
52496 $cppunit_major_version \> $cppunit_major_min \| \
52497 $cppunit_major_version \= $cppunit_major_min \& \
52498 $cppunit_minor_version \> $cppunit_minor_min \| \
52499 $cppunit_major_version \= $cppunit_major_min \& \
52500 $cppunit_minor_version \= $cppunit_minor_min \& \
52501 $cppunit_micro_version \>= $cppunit_micro_min `
52502
52503 if test "$cppunit_version_proper" = "1" ; then
52504 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52505 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52506 else
52507 { echo "$as_me:$LINENO: result: no" >&5
52508 echo "${ECHO_T}no" >&6; }
52509 no_cppunit=yes
52510 fi
52511 fi
52512
52513 if test "x$no_cppunit" = x ; then
52514 SUBDIRS="$SUBDIRS tests"
52515 else
52516 CPPUNIT_CFLAGS=""
52517 CPPUNIT_LIBS=""
52518 :
52519 fi
52520
52521
52522
52523
52524
52525 for subdir in `echo $SUBDIRS`; do
52526 if test -d ${srcdir}/${subdir} ; then
52527 if test "$wxUSE_GUI" = "yes"; then
52528 if test ${subdir} = "samples"; then
52529 makefiles="samples/Makefile.in $makefiles"
52530 for sample in `echo $SAMPLES_SUBDIRS`; do
52531 if test -d $srcdir/samples/$sample; then
52532 makefiles="samples/$sample/Makefile.in $makefiles"
52533 fi
52534 done
52535 else
52536 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52537 eval "disabled=\$$disabled_var"
52538 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52539 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52540 fi
52541 else if test ${subdir} = "samples"; then
52542 makefiles="samples/Makefile.in samples/console/Makefile.in"
52543 elif test ${subdir} = "utils"; then
52544 makefiles=""
52545 for util in HelpGen tex2rtf ; do
52546 if test -d $srcdir/utils/$util ; then
52547 makefiles="utils/$util/Makefile.in \
52548 utils/$util/src/Makefile.in \
52549 $makefiles"
52550 fi
52551 done
52552 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52553 fi
52554 fi
52555
52556 for mkin in $makefiles ; do
52557 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52558 ac_config_files="$ac_config_files $mk"
52559
52560 done
52561 fi
52562 done
52563 fi
52564 cat >confcache <<\_ACEOF
52565 # This file is a shell script that caches the results of configure
52566 # tests run on this system so they can be shared between configure
52567 # scripts and configure runs, see configure's option --config-cache.
52568 # It is not useful on other systems. If it contains results you don't
52569 # want to keep, you may remove or edit it.
52570 #
52571 # config.status only pays attention to the cache file if you give it
52572 # the --recheck option to rerun configure.
52573 #
52574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52576 # following values.
52577
52578 _ACEOF
52579
52580 # The following way of writing the cache mishandles newlines in values,
52581 # but we know of no workaround that is simple, portable, and efficient.
52582 # So, we kill variables containing newlines.
52583 # Ultrix sh set writes to stderr and can't be redirected directly,
52584 # and sets the high bit in the cache file unless we assign to the vars.
52585 (
52586 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52587 eval ac_val=\$$ac_var
52588 case $ac_val in #(
52589 *${as_nl}*)
52590 case $ac_var in #(
52591 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52593 esac
52594 case $ac_var in #(
52595 _ | IFS | as_nl) ;; #(
52596 *) $as_unset $ac_var ;;
52597 esac ;;
52598 esac
52599 done
52600
52601 (set) 2>&1 |
52602 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52603 *${as_nl}ac_space=\ *)
52604 # `set' does not quote correctly, so add quotes (double-quote
52605 # substitution turns \\\\ into \\, and sed turns \\ into \).
52606 sed -n \
52607 "s/'/'\\\\''/g;
52608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52609 ;; #(
52610 *)
52611 # `set' quotes correctly as required by POSIX, so do not add quotes.
52612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52613 ;;
52614 esac |
52615 sort
52616 ) |
52617 sed '
52618 /^ac_cv_env_/b end
52619 t clear
52620 :clear
52621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52622 t end
52623 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52624 :end' >>confcache
52625 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52626 if test -w "$cache_file"; then
52627 test "x$cache_file" != "x/dev/null" &&
52628 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52629 echo "$as_me: updating cache $cache_file" >&6;}
52630 cat confcache >$cache_file
52631 else
52632 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52633 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52634 fi
52635 fi
52636 rm -f confcache
52637
52638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52639 # Let make expand exec_prefix.
52640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52641
52642 DEFS=-DHAVE_CONFIG_H
52643
52644 ac_libobjs=
52645 ac_ltlibobjs=
52646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52647 # 1. Remove the extension, and $U if already installed.
52648 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52649 ac_i=`echo "$ac_i" | sed "$ac_script"`
52650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52651 # will be set to the directory where LIBOBJS objects are built.
52652 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52653 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52654 done
52655 LIBOBJS=$ac_libobjs
52656
52657 LTLIBOBJS=$ac_ltlibobjs
52658
52659
52660
52661 : ${CONFIG_STATUS=./config.status}
52662 ac_clean_files_save=$ac_clean_files
52663 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52664 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52665 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52666 cat >$CONFIG_STATUS <<_ACEOF
52667 #! $SHELL
52668 # Generated by $as_me.
52669 # Run this file to recreate the current configuration.
52670 # Compiler output produced by configure, useful for debugging
52671 # configure, is in config.log if it exists.
52672
52673 debug=false
52674 ac_cs_recheck=false
52675 ac_cs_silent=false
52676 SHELL=\${CONFIG_SHELL-$SHELL}
52677 _ACEOF
52678
52679 cat >>$CONFIG_STATUS <<\_ACEOF
52680 ## --------------------- ##
52681 ## M4sh Initialization. ##
52682 ## --------------------- ##
52683
52684 # Be more Bourne compatible
52685 DUALCASE=1; export DUALCASE # for MKS sh
52686 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52687 emulate sh
52688 NULLCMD=:
52689 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52690 # is contrary to our usage. Disable this feature.
52691 alias -g '${1+"$@"}'='"$@"'
52692 setopt NO_GLOB_SUBST
52693 else
52694 case `(set -o) 2>/dev/null` in
52695 *posix*) set -o posix ;;
52696 esac
52697
52698 fi
52699
52700
52701
52702
52703 # PATH needs CR
52704 # Avoid depending upon Character Ranges.
52705 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52706 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52707 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52708 as_cr_digits='0123456789'
52709 as_cr_alnum=$as_cr_Letters$as_cr_digits
52710
52711 # The user is always right.
52712 if test "${PATH_SEPARATOR+set}" != set; then
52713 echo "#! /bin/sh" >conf$$.sh
52714 echo "exit 0" >>conf$$.sh
52715 chmod +x conf$$.sh
52716 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52717 PATH_SEPARATOR=';'
52718 else
52719 PATH_SEPARATOR=:
52720 fi
52721 rm -f conf$$.sh
52722 fi
52723
52724 # Support unset when possible.
52725 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52726 as_unset=unset
52727 else
52728 as_unset=false
52729 fi
52730
52731
52732 # IFS
52733 # We need space, tab and new line, in precisely that order. Quoting is
52734 # there to prevent editors from complaining about space-tab.
52735 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52736 # splitting by setting IFS to empty value.)
52737 as_nl='
52738 '
52739 IFS=" "" $as_nl"
52740
52741 # Find who we are. Look in the path if we contain no directory separator.
52742 case $0 in
52743 *[\\/]* ) as_myself=$0 ;;
52744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52745 for as_dir in $PATH
52746 do
52747 IFS=$as_save_IFS
52748 test -z "$as_dir" && as_dir=.
52749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52750 done
52751 IFS=$as_save_IFS
52752
52753 ;;
52754 esac
52755 # We did not find ourselves, most probably we were run as `sh COMMAND'
52756 # in which case we are not to be found in the path.
52757 if test "x$as_myself" = x; then
52758 as_myself=$0
52759 fi
52760 if test ! -f "$as_myself"; then
52761 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52762 { (exit 1); exit 1; }
52763 fi
52764
52765 # Work around bugs in pre-3.0 UWIN ksh.
52766 for as_var in ENV MAIL MAILPATH
52767 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52768 done
52769 PS1='$ '
52770 PS2='> '
52771 PS4='+ '
52772
52773 # NLS nuisances.
52774 for as_var in \
52775 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52776 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52777 LC_TELEPHONE LC_TIME
52778 do
52779 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52780 eval $as_var=C; export $as_var
52781 else
52782 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52783 fi
52784 done
52785
52786 # Required to use basename.
52787 if expr a : '\(a\)' >/dev/null 2>&1 &&
52788 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52789 as_expr=expr
52790 else
52791 as_expr=false
52792 fi
52793
52794 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52795 as_basename=basename
52796 else
52797 as_basename=false
52798 fi
52799
52800
52801 # Name of the executable.
52802 as_me=`$as_basename -- "$0" ||
52803 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52804 X"$0" : 'X\(//\)$' \| \
52805 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52806 echo X/"$0" |
52807 sed '/^.*\/\([^/][^/]*\)\/*$/{
52808 s//\1/
52809 q
52810 }
52811 /^X\/\(\/\/\)$/{
52812 s//\1/
52813 q
52814 }
52815 /^X\/\(\/\).*/{
52816 s//\1/
52817 q
52818 }
52819 s/.*/./; q'`
52820
52821 # CDPATH.
52822 $as_unset CDPATH
52823
52824
52825
52826 as_lineno_1=$LINENO
52827 as_lineno_2=$LINENO
52828 test "x$as_lineno_1" != "x$as_lineno_2" &&
52829 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52830
52831 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52832 # uniformly replaced by the line number. The first 'sed' inserts a
52833 # line-number line after each line using $LINENO; the second 'sed'
52834 # does the real work. The second script uses 'N' to pair each
52835 # line-number line with the line containing $LINENO, and appends
52836 # trailing '-' during substitution so that $LINENO is not a special
52837 # case at line end.
52838 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52839 # scripts with optimization help from Paolo Bonzini. Blame Lee
52840 # E. McMahon (1931-1989) for sed's syntax. :-)
52841 sed -n '
52842 p
52843 /[$]LINENO/=
52844 ' <$as_myself |
52845 sed '
52846 s/[$]LINENO.*/&-/
52847 t lineno
52848 b
52849 :lineno
52850 N
52851 :loop
52852 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52853 t loop
52854 s/-\n.*//
52855 ' >$as_me.lineno &&
52856 chmod +x "$as_me.lineno" ||
52857 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52858 { (exit 1); exit 1; }; }
52859
52860 # Don't try to exec as it changes $[0], causing all sort of problems
52861 # (the dirname of $[0] is not the place where we might find the
52862 # original and so on. Autoconf is especially sensitive to this).
52863 . "./$as_me.lineno"
52864 # Exit status is that of the last command.
52865 exit
52866 }
52867
52868
52869 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52870 as_dirname=dirname
52871 else
52872 as_dirname=false
52873 fi
52874
52875 ECHO_C= ECHO_N= ECHO_T=
52876 case `echo -n x` in
52877 -n*)
52878 case `echo 'x\c'` in
52879 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52880 *) ECHO_C='\c';;
52881 esac;;
52882 *)
52883 ECHO_N='-n';;
52884 esac
52885
52886 if expr a : '\(a\)' >/dev/null 2>&1 &&
52887 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52888 as_expr=expr
52889 else
52890 as_expr=false
52891 fi
52892
52893 rm -f conf$$ conf$$.exe conf$$.file
52894 if test -d conf$$.dir; then
52895 rm -f conf$$.dir/conf$$.file
52896 else
52897 rm -f conf$$.dir
52898 mkdir conf$$.dir
52899 fi
52900 echo >conf$$.file
52901 if ln -s conf$$.file conf$$ 2>/dev/null; then
52902 as_ln_s='ln -s'
52903 # ... but there are two gotchas:
52904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52906 # In both cases, we have to default to `cp -p'.
52907 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52908 as_ln_s='cp -p'
52909 elif ln conf$$.file conf$$ 2>/dev/null; then
52910 as_ln_s=ln
52911 else
52912 as_ln_s='cp -p'
52913 fi
52914 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52915 rmdir conf$$.dir 2>/dev/null
52916
52917 if mkdir -p . 2>/dev/null; then
52918 as_mkdir_p=:
52919 else
52920 test -d ./-p && rmdir ./-p
52921 as_mkdir_p=false
52922 fi
52923
52924 if test -x / >/dev/null 2>&1; then
52925 as_test_x='test -x'
52926 else
52927 if ls -dL / >/dev/null 2>&1; then
52928 as_ls_L_option=L
52929 else
52930 as_ls_L_option=
52931 fi
52932 as_test_x='
52933 eval sh -c '\''
52934 if test -d "$1"; then
52935 test -d "$1/.";
52936 else
52937 case $1 in
52938 -*)set "./$1";;
52939 esac;
52940 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52941 ???[sx]*):;;*)false;;esac;fi
52942 '\'' sh
52943 '
52944 fi
52945 as_executable_p=$as_test_x
52946
52947 # Sed expression to map a string onto a valid CPP name.
52948 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52949
52950 # Sed expression to map a string onto a valid variable name.
52951 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52952
52953
52954 exec 6>&1
52955
52956 # Save the log message, to keep $[0] and so on meaningful, and to
52957 # report actual input values of CONFIG_FILES etc. instead of their
52958 # values after options handling.
52959 ac_log="
52960 This file was extended by wxWidgets $as_me 2.9.0, which was
52961 generated by GNU Autoconf 2.61. Invocation command line was
52962
52963 CONFIG_FILES = $CONFIG_FILES
52964 CONFIG_HEADERS = $CONFIG_HEADERS
52965 CONFIG_LINKS = $CONFIG_LINKS
52966 CONFIG_COMMANDS = $CONFIG_COMMANDS
52967 $ $0 $@
52968
52969 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52970 "
52971
52972 _ACEOF
52973
52974 cat >>$CONFIG_STATUS <<_ACEOF
52975 # Files that config.status was made for.
52976 config_files="$ac_config_files"
52977 config_headers="$ac_config_headers"
52978 config_commands="$ac_config_commands"
52979
52980 _ACEOF
52981
52982 cat >>$CONFIG_STATUS <<\_ACEOF
52983 ac_cs_usage="\
52984 \`$as_me' instantiates files from templates according to the
52985 current configuration.
52986
52987 Usage: $0 [OPTIONS] [FILE]...
52988
52989 -h, --help print this help, then exit
52990 -V, --version print version number and configuration settings, then exit
52991 -q, --quiet do not print progress messages
52992 -d, --debug don't remove temporary files
52993 --recheck update $as_me by reconfiguring in the same conditions
52994 --file=FILE[:TEMPLATE]
52995 instantiate the configuration file FILE
52996 --header=FILE[:TEMPLATE]
52997 instantiate the configuration header FILE
52998
52999 Configuration files:
53000 $config_files
53001
53002 Configuration headers:
53003 $config_headers
53004
53005 Configuration commands:
53006 $config_commands
53007
53008 Report bugs to <bug-autoconf@gnu.org>."
53009
53010 _ACEOF
53011 cat >>$CONFIG_STATUS <<_ACEOF
53012 ac_cs_version="\\
53013 wxWidgets config.status 2.9.0
53014 configured by $0, generated by GNU Autoconf 2.61,
53015 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53016
53017 Copyright (C) 2006 Free Software Foundation, Inc.
53018 This config.status script is free software; the Free Software Foundation
53019 gives unlimited permission to copy, distribute and modify it."
53020
53021 ac_pwd='$ac_pwd'
53022 srcdir='$srcdir'
53023 INSTALL='$INSTALL'
53024 _ACEOF
53025
53026 cat >>$CONFIG_STATUS <<\_ACEOF
53027 # If no file are specified by the user, then we need to provide default
53028 # value. By we need to know if files were specified by the user.
53029 ac_need_defaults=:
53030 while test $# != 0
53031 do
53032 case $1 in
53033 --*=*)
53034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53035 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53036 ac_shift=:
53037 ;;
53038 *)
53039 ac_option=$1
53040 ac_optarg=$2
53041 ac_shift=shift
53042 ;;
53043 esac
53044
53045 case $ac_option in
53046 # Handling of the options.
53047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53048 ac_cs_recheck=: ;;
53049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53050 echo "$ac_cs_version"; exit ;;
53051 --debug | --debu | --deb | --de | --d | -d )
53052 debug=: ;;
53053 --file | --fil | --fi | --f )
53054 $ac_shift
53055 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53056 ac_need_defaults=false;;
53057 --header | --heade | --head | --hea )
53058 $ac_shift
53059 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53060 ac_need_defaults=false;;
53061 --he | --h)
53062 # Conflict between --help and --header
53063 { echo "$as_me: error: ambiguous option: $1
53064 Try \`$0 --help' for more information." >&2
53065 { (exit 1); exit 1; }; };;
53066 --help | --hel | -h )
53067 echo "$ac_cs_usage"; exit ;;
53068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53070 ac_cs_silent=: ;;
53071
53072 # This is an error.
53073 -*) { echo "$as_me: error: unrecognized option: $1
53074 Try \`$0 --help' for more information." >&2
53075 { (exit 1); exit 1; }; } ;;
53076
53077 *) ac_config_targets="$ac_config_targets $1"
53078 ac_need_defaults=false ;;
53079
53080 esac
53081 shift
53082 done
53083
53084 ac_configure_extra_args=
53085
53086 if $ac_cs_silent; then
53087 exec 6>/dev/null
53088 ac_configure_extra_args="$ac_configure_extra_args --silent"
53089 fi
53090
53091 _ACEOF
53092 cat >>$CONFIG_STATUS <<_ACEOF
53093 if \$ac_cs_recheck; then
53094 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53095 CONFIG_SHELL=$SHELL
53096 export CONFIG_SHELL
53097 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53098 fi
53099
53100 _ACEOF
53101 cat >>$CONFIG_STATUS <<\_ACEOF
53102 exec 5>>config.log
53103 {
53104 echo
53105 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53106 ## Running $as_me. ##
53107 _ASBOX
53108 echo "$ac_log"
53109 } >&5
53110
53111 _ACEOF
53112 cat >>$CONFIG_STATUS <<_ACEOF
53113 #
53114 # INIT-COMMANDS
53115 #
53116
53117 CPP="$CPP"
53118 infile="$srcdir/include/wx/msw/genrcdefs.h"
53119 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53120
53121
53122 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53123 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53124 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53125 LN_S="${LN_S}"
53126
53127
53128 _ACEOF
53129
53130 cat >>$CONFIG_STATUS <<\_ACEOF
53131
53132 # Handling of arguments.
53133 for ac_config_target in $ac_config_targets
53134 do
53135 case $ac_config_target in
53136 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53137 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53138 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53139 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53140 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53141 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53142 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53143 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53144
53145 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53146 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53147 { (exit 1); exit 1; }; };;
53148 esac
53149 done
53150
53151
53152 # If the user did not use the arguments to specify the items to instantiate,
53153 # then the envvar interface is used. Set only those that are not.
53154 # We use the long form for the default assignment because of an extremely
53155 # bizarre bug on SunOS 4.1.3.
53156 if $ac_need_defaults; then
53157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53158 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53159 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53160 fi
53161
53162 # Have a temporary directory for convenience. Make it in the build tree
53163 # simply because there is no reason against having it here, and in addition,
53164 # creating and moving files from /tmp can sometimes cause problems.
53165 # Hook for its removal unless debugging.
53166 # Note that there is a small window in which the directory will not be cleaned:
53167 # after its creation but before its name has been assigned to `$tmp'.
53168 $debug ||
53169 {
53170 tmp=
53171 trap 'exit_status=$?
53172 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53173 ' 0
53174 trap '{ (exit 1); exit 1; }' 1 2 13 15
53175 }
53176 # Create a (secure) tmp directory for tmp files.
53177
53178 {
53179 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53180 test -n "$tmp" && test -d "$tmp"
53181 } ||
53182 {
53183 tmp=./conf$$-$RANDOM
53184 (umask 077 && mkdir "$tmp")
53185 } ||
53186 {
53187 echo "$me: cannot create a temporary directory in ." >&2
53188 { (exit 1); exit 1; }
53189 }
53190
53191 #
53192 # Set up the sed scripts for CONFIG_FILES section.
53193 #
53194
53195 # No need to generate the scripts if there are no CONFIG_FILES.
53196 # This happens for instance when ./config.status config.h
53197 if test -n "$CONFIG_FILES"; then
53198
53199 _ACEOF
53200
53201
53202
53203 ac_delim='%!_!# '
53204 for ac_last_try in false false false false false :; do
53205 cat >conf$$subs.sed <<_ACEOF
53206 SHELL!$SHELL$ac_delim
53207 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53208 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53209 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53210 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53211 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53212 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53213 exec_prefix!$exec_prefix$ac_delim
53214 prefix!$prefix$ac_delim
53215 program_transform_name!$program_transform_name$ac_delim
53216 bindir!$bindir$ac_delim
53217 sbindir!$sbindir$ac_delim
53218 libexecdir!$libexecdir$ac_delim
53219 datarootdir!$datarootdir$ac_delim
53220 datadir!$datadir$ac_delim
53221 sysconfdir!$sysconfdir$ac_delim
53222 sharedstatedir!$sharedstatedir$ac_delim
53223 localstatedir!$localstatedir$ac_delim
53224 includedir!$includedir$ac_delim
53225 oldincludedir!$oldincludedir$ac_delim
53226 docdir!$docdir$ac_delim
53227 infodir!$infodir$ac_delim
53228 htmldir!$htmldir$ac_delim
53229 dvidir!$dvidir$ac_delim
53230 pdfdir!$pdfdir$ac_delim
53231 psdir!$psdir$ac_delim
53232 libdir!$libdir$ac_delim
53233 localedir!$localedir$ac_delim
53234 mandir!$mandir$ac_delim
53235 DEFS!$DEFS$ac_delim
53236 ECHO_C!$ECHO_C$ac_delim
53237 ECHO_N!$ECHO_N$ac_delim
53238 ECHO_T!$ECHO_T$ac_delim
53239 LIBS!$LIBS$ac_delim
53240 build_alias!$build_alias$ac_delim
53241 host_alias!$host_alias$ac_delim
53242 target_alias!$target_alias$ac_delim
53243 build!$build$ac_delim
53244 build_cpu!$build_cpu$ac_delim
53245 build_vendor!$build_vendor$ac_delim
53246 build_os!$build_os$ac_delim
53247 host!$host$ac_delim
53248 host_cpu!$host_cpu$ac_delim
53249 host_vendor!$host_vendor$ac_delim
53250 host_os!$host_os$ac_delim
53251 target!$target$ac_delim
53252 target_cpu!$target_cpu$ac_delim
53253 target_vendor!$target_vendor$ac_delim
53254 target_os!$target_os$ac_delim
53255 wx_top_builddir!$wx_top_builddir$ac_delim
53256 CC!$CC$ac_delim
53257 CFLAGS!$CFLAGS$ac_delim
53258 LDFLAGS!$LDFLAGS$ac_delim
53259 CPPFLAGS!$CPPFLAGS$ac_delim
53260 ac_ct_CC!$ac_ct_CC$ac_delim
53261 EXEEXT!$EXEEXT$ac_delim
53262 OBJEXT!$OBJEXT$ac_delim
53263 CPP!$CPP$ac_delim
53264 GREP!$GREP$ac_delim
53265 EGREP!$EGREP$ac_delim
53266 CXX!$CXX$ac_delim
53267 CXXFLAGS!$CXXFLAGS$ac_delim
53268 ac_ct_CXX!$ac_ct_CXX$ac_delim
53269 RANLIB!$RANLIB$ac_delim
53270 AR!$AR$ac_delim
53271 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53272 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53273 INSTALL_DATA!$INSTALL_DATA$ac_delim
53274 STRIP!$STRIP$ac_delim
53275 WINDRES!$WINDRES$ac_delim
53276 DLLTOOL!$DLLTOOL$ac_delim
53277 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53278 LN_S!$LN_S$ac_delim
53279 subdirs!$subdirs$ac_delim
53280 PKG_CONFIG!$PKG_CONFIG$ac_delim
53281 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53282 GTK_LIBS!$GTK_LIBS$ac_delim
53283 GTK_CONFIG!$GTK_CONFIG$ac_delim
53284 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53285 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53286 XMKMF!$XMKMF$ac_delim
53287 X_CFLAGS!$X_CFLAGS$ac_delim
53288 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53289 X_LIBS!$X_LIBS$ac_delim
53290 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53291 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53292 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53293 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53294 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53295 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53296 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53297 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53298 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53299 REZ!$REZ$ac_delim
53300 DEREZ!$DEREZ$ac_delim
53301 SETFILE!$SETFILE$ac_delim
53302 LIBICONV!$LIBICONV$ac_delim
53303 _ACEOF
53304
53305 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53306 break
53307 elif $ac_last_try; then
53308 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53309 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53310 { (exit 1); exit 1; }; }
53311 else
53312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53313 fi
53314 done
53315
53316 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53317 if test -n "$ac_eof"; then
53318 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53319 ac_eof=`expr $ac_eof + 1`
53320 fi
53321
53322 cat >>$CONFIG_STATUS <<_ACEOF
53323 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53325 _ACEOF
53326 sed '
53327 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53328 s/^/s,@/; s/!/@,|#_!!_#|/
53329 :n
53330 t n
53331 s/'"$ac_delim"'$/,g/; t
53332 s/$/\\/; p
53333 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53334 ' >>$CONFIG_STATUS <conf$$subs.sed
53335 rm -f conf$$subs.sed
53336 cat >>$CONFIG_STATUS <<_ACEOF
53337 CEOF$ac_eof
53338 _ACEOF
53339
53340
53341 ac_delim='%!_!# '
53342 for ac_last_try in false false false false false :; do
53343 cat >conf$$subs.sed <<_ACEOF
53344 SDL_CONFIG!$SDL_CONFIG$ac_delim
53345 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53346 SDL_LIBS!$SDL_LIBS$ac_delim
53347 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53348 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53349 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53350 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53351 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53352 HILDON_LIBS!$HILDON_LIBS$ac_delim
53353 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53354 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53355 GST_CFLAGS!$GST_CFLAGS$ac_delim
53356 GST_LIBS!$GST_LIBS$ac_delim
53357 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53358 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53359 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53360 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53361 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53362 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53363 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53364 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53365 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53366 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53367 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53368 VENDOR!$VENDOR$ac_delim
53369 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53370 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53371 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53372 WXUNIV!$WXUNIV$ac_delim
53373 MONOLITHIC!$MONOLITHIC$ac_delim
53374 USE_PLUGINS!$USE_PLUGINS$ac_delim
53375 CXXWARNINGS!$CXXWARNINGS$ac_delim
53376 EXTRALIBS!$EXTRALIBS$ac_delim
53377 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53378 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53379 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53380 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53381 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53382 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53383 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53384 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53385 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53386 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53387 UNICODE!$UNICODE$ac_delim
53388 BUILD!$BUILD$ac_delim
53389 DEBUG_INFO!$DEBUG_INFO$ac_delim
53390 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53391 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53392 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53393 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53394 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53395 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53396 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53397 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53398 SET_MAKE!$SET_MAKE$ac_delim
53399 MAKE_SET!$MAKE_SET$ac_delim
53400 AROPTIONS!$AROPTIONS$ac_delim
53401 NM!$NM$ac_delim
53402 INSTALL_DIR!$INSTALL_DIR$ac_delim
53403 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53404 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53405 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53406 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53407 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53408 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53409 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53410 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53411 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53412 SO_SUFFIX!$SO_SUFFIX$ac_delim
53413 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53414 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53415 LIBPREFIX!$LIBPREFIX$ac_delim
53416 LIBEXT!$LIBEXT$ac_delim
53417 DLLPREFIX!$DLLPREFIX$ac_delim
53418 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53419 dlldir!$dlldir$ac_delim
53420 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53421 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53422 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53423 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53424 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53425 PIC_FLAG!$PIC_FLAG$ac_delim
53426 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53427 USE_SOVERSION!$USE_SOVERSION$ac_delim
53428 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53429 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53430 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53431 USE_MACVERSION!$USE_MACVERSION$ac_delim
53432 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53433 SONAME_FLAG!$SONAME_FLAG$ac_delim
53434 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53435 BK_DEPS!$BK_DEPS$ac_delim
53436 GCC_PCH!$GCC_PCH$ac_delim
53437 ICC_PCH!$ICC_PCH$ac_delim
53438 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53439 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53440 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53441 _ACEOF
53442
53443 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53444 break
53445 elif $ac_last_try; then
53446 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53447 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53448 { (exit 1); exit 1; }; }
53449 else
53450 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53451 fi
53452 done
53453
53454 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53455 if test -n "$ac_eof"; then
53456 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53457 ac_eof=`expr $ac_eof + 1`
53458 fi
53459
53460 cat >>$CONFIG_STATUS <<_ACEOF
53461 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53462 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53463 _ACEOF
53464 sed '
53465 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53466 s/^/s,@/; s/!/@,|#_!!_#|/
53467 :n
53468 t n
53469 s/'"$ac_delim"'$/,g/; t
53470 s/$/\\/; p
53471 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53472 ' >>$CONFIG_STATUS <conf$$subs.sed
53473 rm -f conf$$subs.sed
53474 cat >>$CONFIG_STATUS <<_ACEOF
53475 CEOF$ac_eof
53476 _ACEOF
53477
53478
53479 ac_delim='%!_!# '
53480 for ac_last_try in false false false false false :; do
53481 cat >conf$$subs.sed <<_ACEOF
53482 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53483 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53484 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53485 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53486 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53487 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53488 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53489 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53490 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53491 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53492 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53493 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53494 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53495 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53496 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53497 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53498 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53499 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53501 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53503 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53504 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53505 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53506 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53507 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53508 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53509 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53511 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53513 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53514 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53515 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53516 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53517 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53518 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53519 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53520 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53521 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53522 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53523 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53524 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53525 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53526 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53527 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53528 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53529 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53530 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53531 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53532 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53533 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53534 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53535 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53536 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53537 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53538 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53539 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53540 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53541 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53542 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53543 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53544 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53545 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53546 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53547 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53548 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53549 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53550 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53551 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53552 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53553 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53554 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53555 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53556 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53557 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53558 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53559 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53560 COND_SHARED_0!$COND_SHARED_0$ac_delim
53561 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53562 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53563 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53564 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53565 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53566 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53567 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53568 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53569 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53570 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53571 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53572 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53573 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53574 COND_SHARED_1!$COND_SHARED_1$ac_delim
53575 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53576 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53577 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53578 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53579 _ACEOF
53580
53581 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53582 break
53583 elif $ac_last_try; then
53584 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53585 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53586 { (exit 1); exit 1; }; }
53587 else
53588 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53589 fi
53590 done
53591
53592 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53593 if test -n "$ac_eof"; then
53594 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53595 ac_eof=`expr $ac_eof + 1`
53596 fi
53597
53598 cat >>$CONFIG_STATUS <<_ACEOF
53599 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53601 _ACEOF
53602 sed '
53603 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53604 s/^/s,@/; s/!/@,|#_!!_#|/
53605 :n
53606 t n
53607 s/'"$ac_delim"'$/,g/; t
53608 s/$/\\/; p
53609 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53610 ' >>$CONFIG_STATUS <conf$$subs.sed
53611 rm -f conf$$subs.sed
53612 cat >>$CONFIG_STATUS <<_ACEOF
53613 CEOF$ac_eof
53614 _ACEOF
53615
53616
53617 ac_delim='%!_!# '
53618 for ac_last_try in false false false false false :; do
53619 cat >conf$$subs.sed <<_ACEOF
53620 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53621 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53622 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53623 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53624 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53625 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53626 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53627 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53628 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53629 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53630 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53631 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53632 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53633 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53634 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53635 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53636 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53637 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53638 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53639 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53640 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53641 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53642 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53643 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53644 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53645 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53646 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53647 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53648 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53649 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53650 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53651 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53652 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53653 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53654 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53655 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53656 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53657 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53658 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53659 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53660 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53661 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53662 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53663 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53664 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53665 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53666 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53667 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53668 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53669 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53670 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53671 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53672 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53673 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53674 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53675 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53676 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53677 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53678 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53679 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53680 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53681 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53682 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53683 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53684 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53685 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53686 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53687 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53688 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53689 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53690 SHARED!$SHARED$ac_delim
53691 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53692 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53693 USE_GUI!$USE_GUI$ac_delim
53694 AFMINSTALL!$AFMINSTALL$ac_delim
53695 WIN32INSTALL!$WIN32INSTALL$ac_delim
53696 TOOLKIT!$TOOLKIT$ac_delim
53697 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53698 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53699 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53700 cross_compiling!$cross_compiling$ac_delim
53701 WIDGET_SET!$WIDGET_SET$ac_delim
53702 WX_RELEASE!$WX_RELEASE$ac_delim
53703 WX_VERSION!$WX_VERSION$ac_delim
53704 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53705 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53706 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53707 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53708 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53709 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53710 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53711 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53712 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53713 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53714 EXE_LINKER!$EXE_LINKER$ac_delim
53715 GUIDIST!$GUIDIST$ac_delim
53716 DISTDIR!$DISTDIR$ac_delim
53717 _ACEOF
53718
53719 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53720 break
53721 elif $ac_last_try; then
53722 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53723 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53724 { (exit 1); exit 1; }; }
53725 else
53726 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53727 fi
53728 done
53729
53730 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53731 if test -n "$ac_eof"; then
53732 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53733 ac_eof=`expr $ac_eof + 1`
53734 fi
53735
53736 cat >>$CONFIG_STATUS <<_ACEOF
53737 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53739 _ACEOF
53740 sed '
53741 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53742 s/^/s,@/; s/!/@,|#_!!_#|/
53743 :n
53744 t n
53745 s/'"$ac_delim"'$/,g/; t
53746 s/$/\\/; p
53747 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53748 ' >>$CONFIG_STATUS <conf$$subs.sed
53749 rm -f conf$$subs.sed
53750 cat >>$CONFIG_STATUS <<_ACEOF
53751 CEOF$ac_eof
53752 _ACEOF
53753
53754
53755 ac_delim='%!_!# '
53756 for ac_last_try in false false false false false :; do
53757 cat >conf$$subs.sed <<_ACEOF
53758 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53759 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53760 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53761 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53762 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53763 RESCOMP!$RESCOMP$ac_delim
53764 RESFLAGS!$RESFLAGS$ac_delim
53765 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53766 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53767 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53768 LIBWXMACRES!$LIBWXMACRES$ac_delim
53769 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53770 MACSETFILE!$MACSETFILE$ac_delim
53771 GCC!$GCC$ac_delim
53772 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53773 LIBOBJS!$LIBOBJS$ac_delim
53774 LTLIBOBJS!$LTLIBOBJS$ac_delim
53775 _ACEOF
53776
53777 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
53778 break
53779 elif $ac_last_try; then
53780 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53781 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53782 { (exit 1); exit 1; }; }
53783 else
53784 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53785 fi
53786 done
53787
53788 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53789 if test -n "$ac_eof"; then
53790 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53791 ac_eof=`expr $ac_eof + 1`
53792 fi
53793
53794 cat >>$CONFIG_STATUS <<_ACEOF
53795 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53796 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53797 _ACEOF
53798 sed '
53799 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53800 s/^/s,@/; s/!/@,|#_!!_#|/
53801 :n
53802 t n
53803 s/'"$ac_delim"'$/,g/; t
53804 s/$/\\/; p
53805 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53806 ' >>$CONFIG_STATUS <conf$$subs.sed
53807 rm -f conf$$subs.sed
53808 cat >>$CONFIG_STATUS <<_ACEOF
53809 :end
53810 s/|#_!!_#|//g
53811 CEOF$ac_eof
53812 _ACEOF
53813
53814
53815 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53816 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53817 # trailing colons and then remove the whole line if VPATH becomes empty
53818 # (actually we leave an empty line to preserve line numbers).
53819 if test "x$srcdir" = x.; then
53820 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53821 s/:*\$(srcdir):*/:/
53822 s/:*\${srcdir}:*/:/
53823 s/:*@srcdir@:*/:/
53824 s/^\([^=]*=[ ]*\):*/\1/
53825 s/:*$//
53826 s/^[^=]*=[ ]*$//
53827 }'
53828 fi
53829
53830 cat >>$CONFIG_STATUS <<\_ACEOF
53831 fi # test -n "$CONFIG_FILES"
53832
53833
53834 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53835 do
53836 case $ac_tag in
53837 :[FHLC]) ac_mode=$ac_tag; continue;;
53838 esac
53839 case $ac_mode$ac_tag in
53840 :[FHL]*:*);;
53841 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53842 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53843 { (exit 1); exit 1; }; };;
53844 :[FH]-) ac_tag=-:-;;
53845 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53846 esac
53847 ac_save_IFS=$IFS
53848 IFS=:
53849 set x $ac_tag
53850 IFS=$ac_save_IFS
53851 shift
53852 ac_file=$1
53853 shift
53854
53855 case $ac_mode in
53856 :L) ac_source=$1;;
53857 :[FH])
53858 ac_file_inputs=
53859 for ac_f
53860 do
53861 case $ac_f in
53862 -) ac_f="$tmp/stdin";;
53863 *) # Look for the file first in the build tree, then in the source tree
53864 # (if the path is not absolute). The absolute path cannot be DOS-style,
53865 # because $ac_f cannot contain `:'.
53866 test -f "$ac_f" ||
53867 case $ac_f in
53868 [\\/$]*) false;;
53869 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53870 esac ||
53871 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53872 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53873 { (exit 1); exit 1; }; };;
53874 esac
53875 ac_file_inputs="$ac_file_inputs $ac_f"
53876 done
53877
53878 # Let's still pretend it is `configure' which instantiates (i.e., don't
53879 # use $as_me), people would be surprised to read:
53880 # /* config.h. Generated by config.status. */
53881 configure_input="Generated from "`IFS=:
53882 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53883 if test x"$ac_file" != x-; then
53884 configure_input="$ac_file. $configure_input"
53885 { echo "$as_me:$LINENO: creating $ac_file" >&5
53886 echo "$as_me: creating $ac_file" >&6;}
53887 fi
53888
53889 case $ac_tag in
53890 *:-:* | *:-) cat >"$tmp/stdin";;
53891 esac
53892 ;;
53893 esac
53894
53895 ac_dir=`$as_dirname -- "$ac_file" ||
53896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53897 X"$ac_file" : 'X\(//\)[^/]' \| \
53898 X"$ac_file" : 'X\(//\)$' \| \
53899 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53900 echo X"$ac_file" |
53901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53902 s//\1/
53903 q
53904 }
53905 /^X\(\/\/\)[^/].*/{
53906 s//\1/
53907 q
53908 }
53909 /^X\(\/\/\)$/{
53910 s//\1/
53911 q
53912 }
53913 /^X\(\/\).*/{
53914 s//\1/
53915 q
53916 }
53917 s/.*/./; q'`
53918 { as_dir="$ac_dir"
53919 case $as_dir in #(
53920 -*) as_dir=./$as_dir;;
53921 esac
53922 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53923 as_dirs=
53924 while :; do
53925 case $as_dir in #(
53926 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53927 *) as_qdir=$as_dir;;
53928 esac
53929 as_dirs="'$as_qdir' $as_dirs"
53930 as_dir=`$as_dirname -- "$as_dir" ||
53931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53932 X"$as_dir" : 'X\(//\)[^/]' \| \
53933 X"$as_dir" : 'X\(//\)$' \| \
53934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53935 echo X"$as_dir" |
53936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53937 s//\1/
53938 q
53939 }
53940 /^X\(\/\/\)[^/].*/{
53941 s//\1/
53942 q
53943 }
53944 /^X\(\/\/\)$/{
53945 s//\1/
53946 q
53947 }
53948 /^X\(\/\).*/{
53949 s//\1/
53950 q
53951 }
53952 s/.*/./; q'`
53953 test -d "$as_dir" && break
53954 done
53955 test -z "$as_dirs" || eval "mkdir $as_dirs"
53956 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53957 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53958 { (exit 1); exit 1; }; }; }
53959 ac_builddir=.
53960
53961 case "$ac_dir" in
53962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53963 *)
53964 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53965 # A ".." for each directory in $ac_dir_suffix.
53966 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53967 case $ac_top_builddir_sub in
53968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53970 esac ;;
53971 esac
53972 ac_abs_top_builddir=$ac_pwd
53973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53974 # for backward compatibility:
53975 ac_top_builddir=$ac_top_build_prefix
53976
53977 case $srcdir in
53978 .) # We are building in place.
53979 ac_srcdir=.
53980 ac_top_srcdir=$ac_top_builddir_sub
53981 ac_abs_top_srcdir=$ac_pwd ;;
53982 [\\/]* | ?:[\\/]* ) # Absolute name.
53983 ac_srcdir=$srcdir$ac_dir_suffix;
53984 ac_top_srcdir=$srcdir
53985 ac_abs_top_srcdir=$srcdir ;;
53986 *) # Relative name.
53987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53988 ac_top_srcdir=$ac_top_build_prefix$srcdir
53989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53990 esac
53991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53992
53993
53994 case $ac_mode in
53995 :F)
53996 #
53997 # CONFIG_FILE
53998 #
53999
54000 case $INSTALL in
54001 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54002 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54003 esac
54004 _ACEOF
54005
54006 cat >>$CONFIG_STATUS <<\_ACEOF
54007 # If the template does not know about datarootdir, expand it.
54008 # FIXME: This hack should be removed a few years after 2.60.
54009 ac_datarootdir_hack=; ac_datarootdir_seen=
54010
54011 case `sed -n '/datarootdir/ {
54012 p
54013 q
54014 }
54015 /@datadir@/p
54016 /@docdir@/p
54017 /@infodir@/p
54018 /@localedir@/p
54019 /@mandir@/p
54020 ' $ac_file_inputs` in
54021 *datarootdir*) ac_datarootdir_seen=yes;;
54022 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54023 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54024 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54025 _ACEOF
54026 cat >>$CONFIG_STATUS <<_ACEOF
54027 ac_datarootdir_hack='
54028 s&@datadir@&$datadir&g
54029 s&@docdir@&$docdir&g
54030 s&@infodir@&$infodir&g
54031 s&@localedir@&$localedir&g
54032 s&@mandir@&$mandir&g
54033 s&\\\${datarootdir}&$datarootdir&g' ;;
54034 esac
54035 _ACEOF
54036
54037 # Neutralize VPATH when `$srcdir' = `.'.
54038 # Shell code in configure.ac might set extrasub.
54039 # FIXME: do we really want to maintain this feature?
54040 cat >>$CONFIG_STATUS <<_ACEOF
54041 sed "$ac_vpsub
54042 $extrasub
54043 _ACEOF
54044 cat >>$CONFIG_STATUS <<\_ACEOF
54045 :t
54046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54047 s&@configure_input@&$configure_input&;t t
54048 s&@top_builddir@&$ac_top_builddir_sub&;t t
54049 s&@srcdir@&$ac_srcdir&;t t
54050 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54051 s&@top_srcdir@&$ac_top_srcdir&;t t
54052 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54053 s&@builddir@&$ac_builddir&;t t
54054 s&@abs_builddir@&$ac_abs_builddir&;t t
54055 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54056 s&@INSTALL@&$ac_INSTALL&;t t
54057 $ac_datarootdir_hack
54058 " $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
54059
54060 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54061 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54062 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54063 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54064 which seems to be undefined. Please make sure it is defined." >&5
54065 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54066 which seems to be undefined. Please make sure it is defined." >&2;}
54067
54068 rm -f "$tmp/stdin"
54069 case $ac_file in
54070 -) cat "$tmp/out"; rm -f "$tmp/out";;
54071 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54072 esac
54073 ;;
54074 :H)
54075 #
54076 # CONFIG_HEADER
54077 #
54078 _ACEOF
54079
54080 # Transform confdefs.h into a sed script `conftest.defines', that
54081 # substitutes the proper values into config.h.in to produce config.h.
54082 rm -f conftest.defines conftest.tail
54083 # First, append a space to every undef/define line, to ease matching.
54084 echo 's/$/ /' >conftest.defines
54085 # Then, protect against being on the right side of a sed subst, or in
54086 # an unquoted here document, in config.status. If some macros were
54087 # called several times there might be several #defines for the same
54088 # symbol, which is useless. But do not sort them, since the last
54089 # AC_DEFINE must be honored.
54090 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54091 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54092 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54093 # PARAMS is the parameter list in the macro definition--in most cases, it's
54094 # just an empty string.
54095 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54096 ac_dB='\\)[ (].*,\\1define\\2'
54097 ac_dC=' '
54098 ac_dD=' ,'
54099
54100 uniq confdefs.h |
54101 sed -n '
54102 t rset
54103 :rset
54104 s/^[ ]*#[ ]*define[ ][ ]*//
54105 t ok
54106 d
54107 :ok
54108 s/[\\&,]/\\&/g
54109 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54110 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54111 ' >>conftest.defines
54112
54113 # Remove the space that was appended to ease matching.
54114 # Then replace #undef with comments. This is necessary, for
54115 # example, in the case of _POSIX_SOURCE, which is predefined and required
54116 # on some systems where configure will not decide to define it.
54117 # (The regexp can be short, since the line contains either #define or #undef.)
54118 echo 's/ $//
54119 s,^[ #]*u.*,/* & */,' >>conftest.defines
54120
54121 # Break up conftest.defines:
54122 ac_max_sed_lines=50
54123
54124 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54125 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54126 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54127 # et cetera.
54128 ac_in='$ac_file_inputs'
54129 ac_out='"$tmp/out1"'
54130 ac_nxt='"$tmp/out2"'
54131
54132 while :
54133 do
54134 # Write a here document:
54135 cat >>$CONFIG_STATUS <<_ACEOF
54136 # First, check the format of the line:
54137 cat >"\$tmp/defines.sed" <<\\CEOF
54138 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54139 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54140 b
54141 :def
54142 _ACEOF
54143 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54144 echo 'CEOF
54145 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54146 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54147 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54148 grep . conftest.tail >/dev/null || break
54149 rm -f conftest.defines
54150 mv conftest.tail conftest.defines
54151 done
54152 rm -f conftest.defines conftest.tail
54153
54154 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54155 cat >>$CONFIG_STATUS <<\_ACEOF
54156 if test x"$ac_file" != x-; then
54157 echo "/* $configure_input */" >"$tmp/config.h"
54158 cat "$ac_result" >>"$tmp/config.h"
54159 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54160 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54161 echo "$as_me: $ac_file is unchanged" >&6;}
54162 else
54163 rm -f $ac_file
54164 mv "$tmp/config.h" $ac_file
54165 fi
54166 else
54167 echo "/* $configure_input */"
54168 cat "$ac_result"
54169 fi
54170 rm -f "$tmp/out12"
54171 ;;
54172
54173 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54174 echo "$as_me: executing $ac_file commands" >&6;}
54175 ;;
54176 esac
54177
54178
54179 case $ac_file$ac_mode in
54180 "rcdefs.h":C)
54181 mkdir -p $outdir &&
54182 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54183 ;;
54184 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54185 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54186 "wx-config":C) rm -f wx-config
54187 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54188 ;;
54189
54190 esac
54191 done # for ac_tag
54192
54193
54194 { (exit 0); exit 0; }
54195 _ACEOF
54196 chmod +x $CONFIG_STATUS
54197 ac_clean_files=$ac_clean_files_save
54198
54199
54200 # configure is writing to config.log, and then calls config.status.
54201 # config.status does its own redirection, appending to config.log.
54202 # Unfortunately, on DOS this fails, as config.log is still kept open
54203 # by configure, so config.status won't be able to write to it; its
54204 # output is simply discarded. So we exec the FD to /dev/null,
54205 # effectively closing config.log, so it can be properly (re)opened and
54206 # appended to by config.status. When coming back to configure, we
54207 # need to make the FD available again.
54208 if test "$no_create" != yes; then
54209 ac_cs_success=:
54210 ac_config_status_args=
54211 test "$silent" = yes &&
54212 ac_config_status_args="$ac_config_status_args --quiet"
54213 exec 5>/dev/null
54214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54215 exec 5>>config.log
54216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54217 # would make configure fail if this is the last instruction.
54218 $ac_cs_success || { (exit 1); exit 1; }
54219 fi
54220
54221 #
54222 # CONFIG_SUBDIRS section.
54223 #
54224 if test "$no_recursion" != yes; then
54225
54226 # Remove --cache-file and --srcdir arguments so they do not pile up.
54227 ac_sub_configure_args=
54228 ac_prev=
54229 eval "set x $ac_configure_args"
54230 shift
54231 for ac_arg
54232 do
54233 if test -n "$ac_prev"; then
54234 ac_prev=
54235 continue
54236 fi
54237 case $ac_arg in
54238 -cache-file | --cache-file | --cache-fil | --cache-fi \
54239 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54240 ac_prev=cache_file ;;
54241 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54242 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54243 | --c=*)
54244 ;;
54245 --config-cache | -C)
54246 ;;
54247 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54248 ac_prev=srcdir ;;
54249 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54250 ;;
54251 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54252 ac_prev=prefix ;;
54253 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54254 ;;
54255 *)
54256 case $ac_arg in
54257 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54258 esac
54259 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54260 esac
54261 done
54262
54263 # Always prepend --prefix to ensure using the same prefix
54264 # in subdir configurations.
54265 ac_arg="--prefix=$prefix"
54266 case $ac_arg in
54267 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54268 esac
54269 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54270
54271 # Pass --silent
54272 if test "$silent" = yes; then
54273 ac_sub_configure_args="--silent $ac_sub_configure_args"
54274 fi
54275
54276 ac_popdir=`pwd`
54277 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54278
54279 # Do not complain, so a configure script can configure whichever
54280 # parts of a large source tree are present.
54281 test -d "$srcdir/$ac_dir" || continue
54282
54283 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54284 echo "$as_me:$LINENO: $ac_msg" >&5
54285 echo "$ac_msg" >&6
54286 { as_dir="$ac_dir"
54287 case $as_dir in #(
54288 -*) as_dir=./$as_dir;;
54289 esac
54290 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54291 as_dirs=
54292 while :; do
54293 case $as_dir in #(
54294 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54295 *) as_qdir=$as_dir;;
54296 esac
54297 as_dirs="'$as_qdir' $as_dirs"
54298 as_dir=`$as_dirname -- "$as_dir" ||
54299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54300 X"$as_dir" : 'X\(//\)[^/]' \| \
54301 X"$as_dir" : 'X\(//\)$' \| \
54302 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54303 echo X"$as_dir" |
54304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54305 s//\1/
54306 q
54307 }
54308 /^X\(\/\/\)[^/].*/{
54309 s//\1/
54310 q
54311 }
54312 /^X\(\/\/\)$/{
54313 s//\1/
54314 q
54315 }
54316 /^X\(\/\).*/{
54317 s//\1/
54318 q
54319 }
54320 s/.*/./; q'`
54321 test -d "$as_dir" && break
54322 done
54323 test -z "$as_dirs" || eval "mkdir $as_dirs"
54324 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54325 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54326 { (exit 1); exit 1; }; }; }
54327 ac_builddir=.
54328
54329 case "$ac_dir" in
54330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54331 *)
54332 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54333 # A ".." for each directory in $ac_dir_suffix.
54334 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54335 case $ac_top_builddir_sub in
54336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54338 esac ;;
54339 esac
54340 ac_abs_top_builddir=$ac_pwd
54341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54342 # for backward compatibility:
54343 ac_top_builddir=$ac_top_build_prefix
54344
54345 case $srcdir in
54346 .) # We are building in place.
54347 ac_srcdir=.
54348 ac_top_srcdir=$ac_top_builddir_sub
54349 ac_abs_top_srcdir=$ac_pwd ;;
54350 [\\/]* | ?:[\\/]* ) # Absolute name.
54351 ac_srcdir=$srcdir$ac_dir_suffix;
54352 ac_top_srcdir=$srcdir
54353 ac_abs_top_srcdir=$srcdir ;;
54354 *) # Relative name.
54355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54356 ac_top_srcdir=$ac_top_build_prefix$srcdir
54357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54358 esac
54359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54360
54361
54362 cd "$ac_dir"
54363
54364 # Check for guested configure; otherwise get Cygnus style configure.
54365 if test -f "$ac_srcdir/configure.gnu"; then
54366 ac_sub_configure=$ac_srcdir/configure.gnu
54367 elif test -f "$ac_srcdir/configure"; then
54368 ac_sub_configure=$ac_srcdir/configure
54369 elif test -f "$ac_srcdir/configure.in"; then
54370 # This should be Cygnus configure.
54371 ac_sub_configure=$ac_aux_dir/configure
54372 else
54373 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54375 ac_sub_configure=
54376 fi
54377
54378 # The recursion is here.
54379 if test -n "$ac_sub_configure"; then
54380 # Make the cache file name correct relative to the subdirectory.
54381 case $cache_file in
54382 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54383 *) # Relative name.
54384 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54385 esac
54386
54387 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54388 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54389 # The eval makes quoting arguments work.
54390 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54391 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54392 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54393 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54394 { (exit 1); exit 1; }; }
54395 fi
54396
54397 cd "$ac_popdir"
54398 done
54399 fi
54400
54401
54402 echo
54403 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54404 echo ""
54405 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54406 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54407
54408 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54409 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54410 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54411 if test "$wxUSE_UNICODE" = "yes"; then
54412 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54413 echo " (using UTF-8)"
54414 else
54415 echo " (using wchar_t)"
54416 fi
54417 else
54418 echo
54419 fi
54420
54421 echo " What level of wxWidgets compatibility should be enabled?"
54422 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54423 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54424
54425 echo " Which libraries should wxWidgets use?"
54426 echo " jpeg ${wxUSE_LIBJPEG-none}"
54427 echo " png ${wxUSE_LIBPNG-none}"
54428 echo " regex ${wxUSE_REGEX}"
54429 echo " tiff ${wxUSE_LIBTIFF-none}"
54430 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54431 echo " xpm ${wxUSE_LIBXPM-none}"
54432 fi
54433 echo " zlib ${wxUSE_ZLIB}"
54434 echo " odbc ${wxUSE_ODBC}"
54435 echo " expat ${wxUSE_EXPAT}"
54436 echo " libmspack ${wxUSE_LIBMSPACK}"
54437 echo " sdl ${wxUSE_LIBSDL}"
54438
54439 echo ""
54440