]> git.saurik.com Git - wxWidgets.git/blob - configure
define CreateEventLoop() even if wxUSE_CONSOLE_EVENTLOOP == 0 (because it's declared...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47607 2007-07-21 01:42:58Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 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-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-snglinst use wxSingleInstanceChecker class
1713 --enable-stdpaths use wxStandardPaths class
1714 --enable-stopwatch use wxStopWatch class
1715 --enable-streams use wxStream etc classes
1716 --enable-sysoptions use wxSystemOptions
1717 --enable-tarstream use wxTar streams
1718 --enable-textbuf use wxTextBuffer class
1719 --enable-textfile use wxTextFile class
1720 --enable-timer use wxTimer class
1721 --enable-sound use wxSound class
1722 --enable-mediactrl use wxMediaCtrl class
1723 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1724 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1725 --enable-zipstream use wxZip streams
1726 --enable-url use wxURL class
1727 --enable-variant use wxVariant class
1728 --enable-protocol use wxProtocol class
1729 --enable-protocol-http HTTP support in wxProtocol
1730 --enable-protocol-ftp FTP support in wxProtocol
1731 --enable-protocol-file FILE support in wxProtocol
1732 --enable-threads use threads
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-printarch use printing architecture
1743 --enable-mdi use multiple document interface architecture
1744 --enable-mdidoc use docview architecture with MDI
1745 --enable-loggui use standard GUI logger
1746 --enable-logwin use wxLogWindow
1747 --enable-logdialog use wxLogDialog
1748 --enable-webkit use wxWebKitCtrl (Mac)
1749 --enable-richtext use wxRichTextCtrl
1750 --enable-graphics_ctx use graphics context 2D drawing API
1751 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1752 --enable-svg use wxSVGFileDC device context
1753 --enable-clipboard use wxClipboard class
1754 --enable-dnd use Drag'n'Drop classes
1755 --enable-metafile use win32 metafiles
1756 --disable-controls disable compilation of all standard controls
1757 --enable-accel use accelerators
1758 --enable-animatectrl use wxAnimationCtrl class
1759 --enable-button use wxButton class
1760 --enable-bmpbutton use wxBitmapButton class
1761 --enable-bmpcombobox use wxBitmapComboBox class
1762 --enable-calendar use wxCalendarCtrl class
1763 --enable-caret use wxCaret class
1764 --enable-checkbox use wxCheckBox class
1765 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1766 --enable-choice use wxChoice class
1767 --enable-choicebook use wxChoicebook class
1768 --enable-collpane use wxCollapsiblePane class
1769 --enable-colourpicker use wxColourPickerCtrl class
1770 --enable-combobox use wxComboBox class
1771 --enable-comboctrl use wxComboCtrl class
1772 --enable-datepick use wxDatePickerCtrl class
1773 --enable-dirpicker use wxDirPickerCtrl class
1774 --enable-display use wxDisplay class
1775 --enable-detect_sm use code to detect X11 session manager
1776 --enable-editablebox use wxEditableListBox class
1777 --enable-filepicker use wxFilePickerCtrl class
1778 --enable-fontpicker use wxFontPickerCtrl class
1779 --enable-gauge use wxGauge class
1780 --enable-grid use wxGrid class
1781 --enable-dataviewctrl use wxDataViewCtrl class
1782 --enable-hyperlink use wxHyperlinkCtrl class
1783 --enable-imaglist use wxImageList class
1784 --enable-listbook use wxListbook class
1785 --enable-listbox use wxListBox class
1786 --enable-listctrl use wxListCtrl class
1787 --enable-notebook use wxNotebook class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-icocur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1851 --disable-largefile omit support for large files
1852 --disable-gtktest do not try to compile and run a test GTK+ program
1853 --disable-gtktest Do not try to compile and run a test GTK program
1854 --disable-sdltest Do not try to compile and run a test SDL program
1855 --enable-omf use OMF object format (OS/2)
1856 --disable-dependency-tracking
1857 don't use dependency tracking even if the compiler
1858 can
1859 --disable-precomp-headers
1860 don't use precompiled headers even if compiler can
1861
1862 Optional Packages:
1863 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1865 --without-subdirs don't generate makefiles for samples/demos/...
1866 --with-flavour=NAME specify a name to identify this build
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1869 --with-motif use Motif/Lesstif
1870 --with-mac use Mac OS X
1871 --with-cocoa use Cocoa
1872 --with-wine use Wine
1873 --with-msw use MS-Windows
1874 --with-pm use OS/2 Presentation Manager
1875 --with-mgl use SciTech MGL
1876 --with-directfb use DirectFB
1877 --with-microwin use MicroWindows
1878 --with-x11 use X11
1879 --with-libpng use libpng (PNG image format)
1880 --with-libjpeg use libjpeg (JPEG file format)
1881 --with-libtiff use libtiff (TIFF file format)
1882 --with-libxpm use libxpm (XPM file format)
1883 --with-libmspack use libmspack (CHM help files loading)
1884 --without-gnomeprint don't use GNOME printing libraries
1885 --with-gnomevfs use GNOME VFS for associating MIME types
1886 --with-hildon use Hildon framework for Nokia 770
1887 --with-opengl use OpenGL (or Mesa)
1888 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1889 --with-sdl use SDL for audio on Unix
1890 --with-regex enable support for wxRegEx class
1891 --with-zlib use zlib for LZW compression
1892 --with-odbc use the IODBC and wxODBC classes
1893 --with-expat enable XML support using expat parser
1894 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1895 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1896 --with-x use the X Window System
1897 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1898 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1899 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1900 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1901 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1902
1903 Some influential environment variables:
1904 CC C compiler command
1905 CFLAGS C compiler flags
1906 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1907 nonstandard directory <lib dir>
1908 LIBS libraries to pass to the linker, e.g. -l<library>
1909 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1910 you have headers in a nonstandard directory <include dir>
1911 CPP C preprocessor
1912 CXX C++ compiler command
1913 CXXFLAGS C++ compiler flags
1914 PKG_CONFIG path to pkg-config utility
1915 DIRECTFB_CFLAGS
1916 C compiler flags for DIRECTFB, overriding pkg-config
1917 DIRECTFB_LIBS
1918 linker flags for DIRECTFB, overriding pkg-config
1919 XMKMF Path to xmkmf, Makefile generator for X Window System
1920 PANGOX_CFLAGS
1921 C compiler flags for PANGOX, overriding pkg-config
1922 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1923 PANGOFT2_CFLAGS
1924 C compiler flags for PANGOFT2, overriding pkg-config
1925 PANGOFT2_LIBS
1926 linker flags for PANGOFT2, overriding pkg-config
1927 PANGOXFT_CFLAGS
1928 C compiler flags for PANGOXFT, overriding pkg-config
1929 PANGOXFT_LIBS
1930 linker flags for PANGOXFT, overriding pkg-config
1931 LIBGNOMEPRINTUI_CFLAGS
1932 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1933 LIBGNOMEPRINTUI_LIBS
1934 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1935 GNOMEVFS_CFLAGS
1936 C compiler flags for GNOMEVFS, overriding pkg-config
1937 GNOMEVFS_LIBS
1938 linker flags for GNOMEVFS, overriding pkg-config
1939 HILDON_CFLAGS
1940 C compiler flags for HILDON, overriding pkg-config
1941 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1942 CAIRO_CFLAGS
1943 C compiler flags for CAIRO, overriding pkg-config
1944 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1945 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1946 GST_LIBS linker flags for GST, overriding pkg-config
1947
1948 Use these variables to override the choices made by `configure' or to help
1949 it to find libraries and programs with nonstandard names/locations.
1950
1951 Report bugs to <wx-dev@lists.wxwidgets.org>.
1952 _ACEOF
1953 ac_status=$?
1954 fi
1955
1956 if test "$ac_init_help" = "recursive"; then
1957 # If there are subdirs, report their specific --help.
1958 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1959 test -d "$ac_dir" || continue
1960 ac_builddir=.
1961
1962 case "$ac_dir" in
1963 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1964 *)
1965 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1966 # A ".." for each directory in $ac_dir_suffix.
1967 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1968 case $ac_top_builddir_sub in
1969 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1970 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1971 esac ;;
1972 esac
1973 ac_abs_top_builddir=$ac_pwd
1974 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1975 # for backward compatibility:
1976 ac_top_builddir=$ac_top_build_prefix
1977
1978 case $srcdir in
1979 .) # We are building in place.
1980 ac_srcdir=.
1981 ac_top_srcdir=$ac_top_builddir_sub
1982 ac_abs_top_srcdir=$ac_pwd ;;
1983 [\\/]* | ?:[\\/]* ) # Absolute name.
1984 ac_srcdir=$srcdir$ac_dir_suffix;
1985 ac_top_srcdir=$srcdir
1986 ac_abs_top_srcdir=$srcdir ;;
1987 *) # Relative name.
1988 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1989 ac_top_srcdir=$ac_top_build_prefix$srcdir
1990 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1991 esac
1992 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1993
1994 cd "$ac_dir" || { ac_status=$?; continue; }
1995 # Check for guested configure.
1996 if test -f "$ac_srcdir/configure.gnu"; then
1997 echo &&
1998 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1999 elif test -f "$ac_srcdir/configure"; then
2000 echo &&
2001 $SHELL "$ac_srcdir/configure" --help=recursive
2002 else
2003 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2004 fi || ac_status=$?
2005 cd "$ac_pwd" || { ac_status=$?; break; }
2006 done
2007 fi
2008
2009 test -n "$ac_init_help" && exit $ac_status
2010 if $ac_init_version; then
2011 cat <<\_ACEOF
2012 wxWidgets configure 2.9.0
2013 generated by GNU Autoconf 2.61
2014
2015 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2016 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2017 This configure script is free software; the Free Software Foundation
2018 gives unlimited permission to copy, distribute and modify it.
2019 _ACEOF
2020 exit
2021 fi
2022 cat >config.log <<_ACEOF
2023 This file contains any messages produced by compilers while
2024 running configure, to aid debugging if configure makes a mistake.
2025
2026 It was created by wxWidgets $as_me 2.9.0, which was
2027 generated by GNU Autoconf 2.61. Invocation command line was
2028
2029 $ $0 $@
2030
2031 _ACEOF
2032 exec 5>>config.log
2033 {
2034 cat <<_ASUNAME
2035 ## --------- ##
2036 ## Platform. ##
2037 ## --------- ##
2038
2039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044
2045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2047
2048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2055
2056 _ASUNAME
2057
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2060 do
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 echo "PATH: $as_dir"
2064 done
2065 IFS=$as_save_IFS
2066
2067 } >&5
2068
2069 cat >&5 <<_ACEOF
2070
2071
2072 ## ----------- ##
2073 ## Core tests. ##
2074 ## ----------- ##
2075
2076 _ACEOF
2077
2078
2079 # Keep a trace of the command line.
2080 # Strip out --no-create and --no-recursion so they do not pile up.
2081 # Strip out --silent because we don't want to record it for future runs.
2082 # Also quote any args containing shell meta-characters.
2083 # Make two passes to allow for proper duplicate-argument suppression.
2084 ac_configure_args=
2085 ac_configure_args0=
2086 ac_configure_args1=
2087 ac_must_keep_next=false
2088 for ac_pass in 1 2
2089 do
2090 for ac_arg
2091 do
2092 case $ac_arg in
2093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095 | -silent | --silent | --silen | --sile | --sil)
2096 continue ;;
2097 *\'*)
2098 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099 esac
2100 case $ac_pass in
2101 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2102 2)
2103 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2104 if test $ac_must_keep_next = true; then
2105 ac_must_keep_next=false # Got value, back to normal.
2106 else
2107 case $ac_arg in
2108 *=* | --config-cache | -C | -disable-* | --disable-* \
2109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111 | -with-* | --with-* | -without-* | --without-* | --x)
2112 case "$ac_configure_args0 " in
2113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114 esac
2115 ;;
2116 -* ) ac_must_keep_next=true ;;
2117 esac
2118 fi
2119 ac_configure_args="$ac_configure_args '$ac_arg'"
2120 ;;
2121 esac
2122 done
2123 done
2124 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2125 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2126
2127 # When interrupted or exit'd, cleanup temporary files, and complete
2128 # config.log. We remove comments because anyway the quotes in there
2129 # would cause problems or look ugly.
2130 # WARNING: Use '\'' to represent an apostrophe within the trap.
2131 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132 trap 'exit_status=$?
2133 # Save into config.log some information that might help in debugging.
2134 {
2135 echo
2136
2137 cat <<\_ASBOX
2138 ## ---------------- ##
2139 ## Cache variables. ##
2140 ## ---------------- ##
2141 _ASBOX
2142 echo
2143 # The following way of writing the cache mishandles newlines in values,
2144 (
2145 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2146 eval ac_val=\$$ac_var
2147 case $ac_val in #(
2148 *${as_nl}*)
2149 case $ac_var in #(
2150 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2151 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2152 esac
2153 case $ac_var in #(
2154 _ | IFS | as_nl) ;; #(
2155 *) $as_unset $ac_var ;;
2156 esac ;;
2157 esac
2158 done
2159 (set) 2>&1 |
2160 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2161 *${as_nl}ac_space=\ *)
2162 sed -n \
2163 "s/'\''/'\''\\\\'\'''\''/g;
2164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2165 ;; #(
2166 *)
2167 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2168 ;;
2169 esac |
2170 sort
2171 )
2172 echo
2173
2174 cat <<\_ASBOX
2175 ## ----------------- ##
2176 ## Output variables. ##
2177 ## ----------------- ##
2178 _ASBOX
2179 echo
2180 for ac_var in $ac_subst_vars
2181 do
2182 eval ac_val=\$$ac_var
2183 case $ac_val in
2184 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2185 esac
2186 echo "$ac_var='\''$ac_val'\''"
2187 done | sort
2188 echo
2189
2190 if test -n "$ac_subst_files"; then
2191 cat <<\_ASBOX
2192 ## ------------------- ##
2193 ## File substitutions. ##
2194 ## ------------------- ##
2195 _ASBOX
2196 echo
2197 for ac_var in $ac_subst_files
2198 do
2199 eval ac_val=\$$ac_var
2200 case $ac_val in
2201 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2202 esac
2203 echo "$ac_var='\''$ac_val'\''"
2204 done | sort
2205 echo
2206 fi
2207
2208 if test -s confdefs.h; then
2209 cat <<\_ASBOX
2210 ## ----------- ##
2211 ## confdefs.h. ##
2212 ## ----------- ##
2213 _ASBOX
2214 echo
2215 cat confdefs.h
2216 echo
2217 fi
2218 test "$ac_signal" != 0 &&
2219 echo "$as_me: caught signal $ac_signal"
2220 echo "$as_me: exit $exit_status"
2221 } >&5
2222 rm -f core *.core core.conftest.* &&
2223 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2224 exit $exit_status
2225 ' 0
2226 for ac_signal in 1 2 13 15; do
2227 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2228 done
2229 ac_signal=0
2230
2231 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2232 rm -f -r conftest* confdefs.h
2233
2234 # Predefined preprocessor variables.
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_NAME "$PACKAGE_NAME"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 _ACEOF
2244
2245
2246 cat >>confdefs.h <<_ACEOF
2247 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2248 _ACEOF
2249
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2258 _ACEOF
2259
2260
2261 # Let the site file select an alternate cache file if it wants to.
2262 # Prefer explicitly selected file to automatically selected ones.
2263 if test -n "$CONFIG_SITE"; then
2264 set x "$CONFIG_SITE"
2265 elif test "x$prefix" != xNONE; then
2266 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2267 else
2268 set x "$ac_default_prefix/share/config.site" \
2269 "$ac_default_prefix/etc/config.site"
2270 fi
2271 shift
2272 for ac_site_file
2273 do
2274 if test -r "$ac_site_file"; then
2275 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2276 echo "$as_me: loading site script $ac_site_file" >&6;}
2277 sed 's/^/| /' "$ac_site_file" >&5
2278 . "$ac_site_file"
2279 fi
2280 done
2281
2282 if test -r "$cache_file"; then
2283 # Some versions of bash will fail to source /dev/null (special
2284 # files actually), so we avoid doing that.
2285 if test -f "$cache_file"; then
2286 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2287 echo "$as_me: loading cache $cache_file" >&6;}
2288 case $cache_file in
2289 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2290 *) . "./$cache_file";;
2291 esac
2292 fi
2293 else
2294 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2295 echo "$as_me: creating cache $cache_file" >&6;}
2296 >$cache_file
2297 fi
2298
2299 # Check that the precious variables saved in the cache have kept the same
2300 # value.
2301 ac_cache_corrupted=false
2302 for ac_var in $ac_precious_vars; do
2303 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2304 eval ac_new_set=\$ac_env_${ac_var}_set
2305 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2306 eval ac_new_val=\$ac_env_${ac_var}_value
2307 case $ac_old_set,$ac_new_set in
2308 set,)
2309 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2310 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2311 ac_cache_corrupted=: ;;
2312 ,set)
2313 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2314 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2315 ac_cache_corrupted=: ;;
2316 ,);;
2317 *)
2318 if test "x$ac_old_val" != "x$ac_new_val"; then
2319 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2320 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2321 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2322 echo "$as_me: former value: $ac_old_val" >&2;}
2323 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2324 echo "$as_me: current value: $ac_new_val" >&2;}
2325 ac_cache_corrupted=:
2326 fi;;
2327 esac
2328 # Pass precious variables to config.status.
2329 if test "$ac_new_set" = set; then
2330 case $ac_new_val in
2331 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2332 *) ac_arg=$ac_var=$ac_new_val ;;
2333 esac
2334 case " $ac_configure_args " in
2335 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2336 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2337 esac
2338 fi
2339 done
2340 if $ac_cache_corrupted; then
2341 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2342 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2343 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2344 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2345 { (exit 1); exit 1; }; }
2346 fi
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372 ac_ext=c
2373 ac_cpp='$CPP $CPPFLAGS'
2374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377
2378
2379
2380
2381
2382 ac_aux_dir=
2383 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2384 if test -f "$ac_dir/install-sh"; then
2385 ac_aux_dir=$ac_dir
2386 ac_install_sh="$ac_aux_dir/install-sh -c"
2387 break
2388 elif test -f "$ac_dir/install.sh"; then
2389 ac_aux_dir=$ac_dir
2390 ac_install_sh="$ac_aux_dir/install.sh -c"
2391 break
2392 elif test -f "$ac_dir/shtool"; then
2393 ac_aux_dir=$ac_dir
2394 ac_install_sh="$ac_aux_dir/shtool install -c"
2395 break
2396 fi
2397 done
2398 if test -z "$ac_aux_dir"; then
2399 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2400 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2401 { (exit 1); exit 1; }; }
2402 fi
2403
2404 # These three variables are undocumented and unsupported,
2405 # and are intended to be withdrawn in a future Autoconf release.
2406 # They can cause serious problems if a builder's source tree is in a directory
2407 # whose full name contains unusual characters.
2408 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2409 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2410 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2411
2412
2413 # Make sure we can run config.sub.
2414 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2415 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2416 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2417 { (exit 1); exit 1; }; }
2418
2419 { echo "$as_me:$LINENO: checking build system type" >&5
2420 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2421 if test "${ac_cv_build+set}" = set; then
2422 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 else
2424 ac_build_alias=$build_alias
2425 test "x$ac_build_alias" = x &&
2426 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2427 test "x$ac_build_alias" = x &&
2428 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2429 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2430 { (exit 1); exit 1; }; }
2431 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2432 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2433 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2434 { (exit 1); exit 1; }; }
2435
2436 fi
2437 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2438 echo "${ECHO_T}$ac_cv_build" >&6; }
2439 case $ac_cv_build in
2440 *-*-*) ;;
2441 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2442 echo "$as_me: error: invalid value of canonical build" >&2;}
2443 { (exit 1); exit 1; }; };;
2444 esac
2445 build=$ac_cv_build
2446 ac_save_IFS=$IFS; IFS='-'
2447 set x $ac_cv_build
2448 shift
2449 build_cpu=$1
2450 build_vendor=$2
2451 shift; shift
2452 # Remember, the first character of IFS is used to create $*,
2453 # except with old shells:
2454 build_os=$*
2455 IFS=$ac_save_IFS
2456 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2457
2458
2459 { echo "$as_me:$LINENO: checking host system type" >&5
2460 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2461 if test "${ac_cv_host+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2463 else
2464 if test "x$host_alias" = x; then
2465 ac_cv_host=$ac_cv_build
2466 else
2467 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2468 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2469 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2470 { (exit 1); exit 1; }; }
2471 fi
2472
2473 fi
2474 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2475 echo "${ECHO_T}$ac_cv_host" >&6; }
2476 case $ac_cv_host in
2477 *-*-*) ;;
2478 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2479 echo "$as_me: error: invalid value of canonical host" >&2;}
2480 { (exit 1); exit 1; }; };;
2481 esac
2482 host=$ac_cv_host
2483 ac_save_IFS=$IFS; IFS='-'
2484 set x $ac_cv_host
2485 shift
2486 host_cpu=$1
2487 host_vendor=$2
2488 shift; shift
2489 # Remember, the first character of IFS is used to create $*,
2490 # except with old shells:
2491 host_os=$*
2492 IFS=$ac_save_IFS
2493 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2494
2495
2496 { echo "$as_me:$LINENO: checking target system type" >&5
2497 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2498 if test "${ac_cv_target+set}" = set; then
2499 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 else
2501 if test "x$target_alias" = x; then
2502 ac_cv_target=$ac_cv_host
2503 else
2504 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2505 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2506 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2507 { (exit 1); exit 1; }; }
2508 fi
2509
2510 fi
2511 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2512 echo "${ECHO_T}$ac_cv_target" >&6; }
2513 case $ac_cv_target in
2514 *-*-*) ;;
2515 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2516 echo "$as_me: error: invalid value of canonical target" >&2;}
2517 { (exit 1); exit 1; }; };;
2518 esac
2519 target=$ac_cv_target
2520 ac_save_IFS=$IFS; IFS='-'
2521 set x $ac_cv_target
2522 shift
2523 target_cpu=$1
2524 target_vendor=$2
2525 shift; shift
2526 # Remember, the first character of IFS is used to create $*,
2527 # except with old shells:
2528 target_os=$*
2529 IFS=$ac_save_IFS
2530 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2531
2532
2533 # The aliases save the names the user supplied, while $host etc.
2534 # will get canonicalized.
2535 test -n "$target_alias" &&
2536 test "$program_prefix$program_suffix$program_transform_name" = \
2537 NONENONEs,x,x, &&
2538 program_prefix=${target_alias}-
2539
2540
2541
2542 wx_major_version_number=2
2543 wx_minor_version_number=9
2544 wx_release_number=0
2545 wx_subrelease_number=0
2546
2547 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2548 WX_VERSION=$WX_RELEASE.$wx_release_number
2549 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2550
2551 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2552
2553
2554 wx_top_builddir="`pwd`"
2555
2556
2557
2558
2559 USE_UNIX=1
2560 USE_OS2=0
2561 USE_WIN32=0
2562 USE_DOS=0
2563 USE_BEOS=0
2564 USE_MAC=0
2565
2566 USE_AIX=
2567 USE_BSD= USE_DARWIN= USE_FREEBSD=
2568 USE_GNU= USE_HPUX=
2569 USE_LINUX=
2570 USE_NETBSD=
2571 USE_OPENBSD=
2572 USE_OSF= USE_SGI=
2573 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2574 USE_ULTRIX=
2575 USE_UNIXWARE=
2576
2577 USE_ALPHA=
2578
2579 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2580
2581 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2582
2583 DEFAULT_wxUSE_COCOA=0
2584 DEFAULT_wxUSE_GTK=0
2585 DEFAULT_wxUSE_MAC=0
2586 DEFAULT_wxUSE_MGL=0
2587 DEFAULT_wxUSE_MICROWIN=0
2588 DEFAULT_wxUSE_MOTIF=0
2589 DEFAULT_wxUSE_MSW=0
2590 DEFAULT_wxUSE_PM=0
2591 DEFAULT_wxUSE_X11=0
2592 DEFAULT_wxUSE_DFB=0
2593
2594 DEFAULT_DEFAULT_wxUSE_COCOA=0
2595 DEFAULT_DEFAULT_wxUSE_GTK=0
2596 DEFAULT_DEFAULT_wxUSE_MAC=0
2597 DEFAULT_DEFAULT_wxUSE_MGL=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_MSW=0
2601 DEFAULT_DEFAULT_wxUSE_PM=0
2602 DEFAULT_DEFAULT_wxUSE_X11=0
2603 DEFAULT_DEFAULT_wxUSE_DFB=0
2604
2605 PROGRAM_EXT=
2606 SO_SUFFIX=so
2607 SAMPLES_RPATH_FLAG=
2608 SAMPLES_RPATH_POSTLINK=
2609
2610 DEFAULT_STD_FLAG=yes
2611
2612 case "${host}" in
2613 *-hp-hpux* )
2614 USE_HPUX=1
2615 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2616 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2617 SO_SUFFIX=sl
2618 cat >>confdefs.h <<\_ACEOF
2619 #define __HPUX__ 1
2620 _ACEOF
2621
2622
2623 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2624 ;;
2625 *-*-linux* )
2626 USE_LINUX=1
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __LINUX__ 1
2629 _ACEOF
2630
2631 TMP=`uname -m`
2632 if test "x$TMP" = "xalpha"; then
2633 USE_ALPHA=1
2634 cat >>confdefs.h <<\_ACEOF
2635 #define __ALPHA__ 1
2636 _ACEOF
2637
2638 fi
2639 DEFAULT_DEFAULT_wxUSE_GTK=1
2640 ;;
2641 *-*-gnu* | *-*-k*bsd*-gnu )
2642 USE_GNU=1
2643 TMP=`uname -m`
2644 if test "x$TMP" = "xalpha"; then
2645 USE_ALPHA=1
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __ALPHA__ 1
2648 _ACEOF
2649
2650 fi
2651 DEFAULT_DEFAULT_wxUSE_GTK=1
2652 ;;
2653 *-*-irix5* | *-*-irix6* )
2654 USE_SGI=1
2655 USE_SVR4=1
2656 cat >>confdefs.h <<\_ACEOF
2657 #define __SGI__ 1
2658 _ACEOF
2659
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SVR4__ 1
2662 _ACEOF
2663
2664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2665 ;;
2666 *-*-solaris2* )
2667 USE_SUN=1
2668 USE_SOLARIS=1
2669 USE_SVR4=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __SUN__ 1
2672 _ACEOF
2673
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SOLARIS__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SVR4__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2683 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2684 ;;
2685 *-*-sunos4* )
2686 USE_SUN=1
2687 USE_SUNOS=1
2688 USE_BSD=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SUN__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SUNOS__ 1
2695 _ACEOF
2696
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __BSD__ 1
2699 _ACEOF
2700
2701 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2702 ;;
2703 *-*-freebsd*)
2704 USE_BSD=1
2705 USE_FREEBSD=1
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __FREEBSD__ 1
2708 _ACEOF
2709
2710 cat >>confdefs.h <<\_ACEOF
2711 #define __BSD__ 1
2712 _ACEOF
2713
2714 DEFAULT_DEFAULT_wxUSE_GTK=1
2715 ;;
2716 *-*-openbsd*|*-*-mirbsd*)
2717 USE_BSD=1
2718 USE_OPENBSD=1
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __OPENBSD__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __BSD__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_GTK=1
2728 ;;
2729 *-*-netbsd*)
2730 USE_BSD=1
2731 USE_NETBSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __NETBSD__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __BSD__ 1
2738 _ACEOF
2739
2740 DEFAULT_DEFAULT_wxUSE_GTK=1
2741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2742
2743 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2744 ;;
2745 *-*-osf* )
2746 USE_ALPHA=1
2747 USE_OSF=1
2748 cat >>confdefs.h <<\_ACEOF
2749 #define __ALPHA__ 1
2750 _ACEOF
2751
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __OSF__ 1
2754 _ACEOF
2755
2756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2757 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2758 ;;
2759 *-*-dgux5* )
2760 USE_ALPHA=1
2761 USE_SVR4=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __ALPHA__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __SVR4__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 ;;
2772 *-*-sysv5* )
2773 USE_SYSV=1
2774 USE_SVR4=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SYSV__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SVR4__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2784 ;;
2785 *-*-aix* )
2786 USE_AIX=1
2787 USE_SYSV=1
2788 USE_SVR4=1
2789 SO_SUFFIX=a
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __AIX__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SYSV__ 1
2796 _ACEOF
2797
2798 cat >>confdefs.h <<\_ACEOF
2799 #define __SVR4__ 1
2800 _ACEOF
2801
2802 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2803 ;;
2804
2805 *-*-*UnixWare*)
2806 USE_SYSV=1
2807 USE_SVR4=1
2808 USE_UNIXWARE=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __UNIXWARE__ 1
2811 _ACEOF
2812
2813 ;;
2814
2815 *-*-cygwin* | *-*-mingw32* )
2816 SO_SUFFIX=dll
2817 PROGRAM_EXT=".exe"
2818 DEFAULT_DEFAULT_wxUSE_MSW=1
2819 ;;
2820
2821 *-pc-msdosdjgpp )
2822 USE_UNIX=0
2823 USE_DOS=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __DOS__ 1
2826 _ACEOF
2827
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_MGL=1
2830 ;;
2831
2832 *-pc-os2_emx | *-pc-os2-emx )
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __EMX__ 1
2835 _ACEOF
2836
2837 USE_OS2=1
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __OS2__ 1
2840 _ACEOF
2841
2842 PROGRAM_EXT=".exe"
2843 DEFAULT_DEFAULT_wxUSE_PM=1
2844 CXX=gcc
2845 LDFLAGS="$LDFLAGS -Zcrtdll"
2846 ac_executable_extensions=".exe"
2847 export ac_executable_extensions
2848 ac_save_IFS="$IFS"
2849 IFS='\\'
2850 ac_TEMP_PATH=
2851 for ac_dir in $PATH; do
2852 IFS=$ac_save_IFS
2853 if test -z "$ac_TEMP_PATH"; then
2854 ac_TEMP_PATH="$ac_dir"
2855 else
2856 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2857 fi
2858 done
2859 export PATH="$ac_TEMP_PATH"
2860 unset ac_TEMP_PATH
2861 DEFAULT_STD_FLAG=no
2862 ;;
2863
2864 *-*-darwin* )
2865 USE_BSD=1
2866 USE_DARWIN=1
2867 SO_SUFFIX=dylib
2868 cat >>confdefs.h <<\_ACEOF
2869 #define __BSD__ 1
2870 _ACEOF
2871
2872 cat >>confdefs.h <<\_ACEOF
2873 #define __DARWIN__ 1
2874 _ACEOF
2875
2876 cat >>confdefs.h <<\_ACEOF
2877 #define TARGET_CARBON 1
2878 _ACEOF
2879
2880 DEFAULT_DEFAULT_wxUSE_MAC=1
2881 DEFAULT_STD_FLAG=no
2882 ;;
2883 powerpc-apple-macos* )
2884 USE_UNIX=0
2885 ac_cv_c_bigendian=yes
2886 SO_SUFFIX=shlib
2887 DEFAULT_DEFAULT_wxUSE_MAC=1
2888 DEFAULT_STD_FLAG=no
2889 ;;
2890
2891 *-*-beos* )
2892 USE_BEOS=1
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __BEOS__ 1
2895 _ACEOF
2896
2897 ;;
2898
2899 *)
2900 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2901 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2902 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2903 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2904
2905 DEFAULT_DEFAULT_wxUSE_X11=1
2906 DEFAULT_wxUSE_SHARED=no
2907 esac
2908
2909
2910
2911
2912 wx_arg_cache_file="configarg.cache"
2913 echo "loading argument cache $wx_arg_cache_file"
2914 rm -f ${wx_arg_cache_file}.tmp
2915 touch ${wx_arg_cache_file}.tmp
2916 touch ${wx_arg_cache_file}
2917
2918
2919 DEFAULT_wxUSE_ALL_FEATURES=yes
2920
2921 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2922 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2923
2924 DEFAULT_wxUSE_DMALLOC=no
2925 DEFAULT_wxUSE_LIBGNOMEVFS=no
2926 DEFAULT_wxUSE_LIBHILDON=no
2927 DEFAULT_wxUSE_LIBMSPACK=no
2928 DEFAULT_wxUSE_LIBSDL=no
2929 DEFAULT_wxUSE_ODBC=no
2930 DEFAULT_wxUSE_OPENGL=no
2931
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_DATAVIEWCTRL=no
2934 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2935 DEFAULT_wxUSE_MEDIACTRL=no
2936 DEFAULT_wxUSE_TAB_DIALOG=no
2937
2938 DEFAULT_wxUSE_UNICODE_UTF8=auto
2939 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2940
2941 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2942
2943 DEFAULT_wxUSE_GTK2=yes
2944
2945 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2946
2947
2948 for toolkit in `echo $ALL_TOOLKITS`; do
2949 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2950 if test "x$LINE" != "x" ; then
2951 has_toolkit_in_cache=1
2952 eval "DEFAULT_$LINE"
2953 eval "CACHE_$toolkit=1"
2954
2955 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2956 if test "x$LINE" != "x" ; then
2957 eval "DEFAULT_$LINE"
2958 fi
2959 fi
2960 done
2961
2962
2963
2964
2965
2966 enablestring=disable
2967 defaultval=
2968 if test -z "$defaultval"; then
2969 if test x"$enablestring" = xdisable; then
2970 defaultval=yes
2971 else
2972 defaultval=no
2973 fi
2974 fi
2975
2976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2977 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2978 no_cache=0
2979 # Check whether --enable-gui was given.
2980 if test "${enable_gui+set}" = set; then
2981 enableval=$enable_gui;
2982 if test "$enableval" = yes; then
2983 wx_cv_use_gui='wxUSE_GUI=yes'
2984 else
2985 wx_cv_use_gui='wxUSE_GUI=no'
2986 fi
2987
2988 else
2989
2990 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x ; then
2992 eval "DEFAULT_$LINE"
2993 else
2994 no_cache=1
2995 fi
2996
2997 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2998
2999 fi
3000
3001
3002 eval "$wx_cv_use_gui"
3003 if test "$no_cache" != 1; then
3004 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3005 fi
3006
3007 if test x"$enablestring" = xdisable; then
3008 if test $wxUSE_GUI = yes; then
3009 result=no
3010 else
3011 result=yes
3012 fi
3013 else
3014 result=$wxUSE_GUI
3015 fi
3016
3017 { echo "$as_me:$LINENO: result: $result" >&5
3018 echo "${ECHO_T}$result" >&6; }
3019
3020
3021 enablestring=
3022 defaultval=
3023 if test -z "$defaultval"; then
3024 if test x"$enablestring" = xdisable; then
3025 defaultval=yes
3026 else
3027 defaultval=no
3028 fi
3029 fi
3030
3031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3032 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3033 no_cache=0
3034 # Check whether --enable-monolithic was given.
3035 if test "${enable_monolithic+set}" = set; then
3036 enableval=$enable_monolithic;
3037 if test "$enableval" = yes; then
3038 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3039 else
3040 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3041 fi
3042
3043 else
3044
3045 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3048 else
3049 no_cache=1
3050 fi
3051
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3053
3054 fi
3055
3056
3057 eval "$wx_cv_use_monolithic"
3058 if test "$no_cache" != 1; then
3059 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3060 fi
3061
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3064 result=no
3065 else
3066 result=yes
3067 fi
3068 else
3069 result=$wxUSE_MONOLITHIC
3070 fi
3071
3072 { echo "$as_me:$LINENO: result: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3074
3075
3076 enablestring=
3077 defaultval=
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3080 defaultval=yes
3081 else
3082 defaultval=no
3083 fi
3084 fi
3085
3086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3088 no_cache=0
3089 # Check whether --enable-plugins was given.
3090 if test "${enable_plugins+set}" = set; then
3091 enableval=$enable_plugins;
3092 if test "$enableval" = yes; then
3093 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3094 else
3095 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3096 fi
3097
3098 else
3099
3100 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x ; then
3102 eval "DEFAULT_$LINE"
3103 else
3104 no_cache=1
3105 fi
3106
3107 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3108
3109 fi
3110
3111
3112 eval "$wx_cv_use_plugins"
3113 if test "$no_cache" != 1; then
3114 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3115 fi
3116
3117 if test x"$enablestring" = xdisable; then
3118 if test $wxUSE_PLUGINS = yes; then
3119 result=no
3120 else
3121 result=yes
3122 fi
3123 else
3124 result=$wxUSE_PLUGINS
3125 fi
3126
3127 { echo "$as_me:$LINENO: result: $result" >&5
3128 echo "${ECHO_T}$result" >&6; }
3129
3130
3131 withstring=without
3132 defaultval=$wxUSE_ALL_FEATURES
3133 if test -z "$defaultval"; then
3134 if test x"$withstring" = xwithout; then
3135 defaultval=yes
3136 else
3137 defaultval=no
3138 fi
3139 fi
3140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3141 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3142 no_cache=0
3143
3144 # Check whether --with-subdirs was given.
3145 if test "${with_subdirs+set}" = set; then
3146 withval=$with_subdirs;
3147 if test "$withval" = yes; then
3148 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3149 else
3150 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3151 fi
3152
3153 else
3154
3155 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3158 else
3159 no_cache=1
3160 fi
3161
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3163
3164 fi
3165
3166
3167 eval "$wx_cv_use_subdirs"
3168 if test "$no_cache" != 1; then
3169 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3170 fi
3171
3172 if test x"$withstring" = xwithout; then
3173 if test $wxWITH_SUBDIRS = yes; then
3174 result=no
3175 else
3176 result=yes
3177 fi
3178 else
3179 result=$wxWITH_SUBDIRS
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185
3186 # Check whether --with-flavour was given.
3187 if test "${with_flavour+set}" = set; then
3188 withval=$with_flavour; WX_FLAVOUR="$withval"
3189 fi
3190
3191
3192 enablestring=
3193 defaultval=
3194 if test -z "$defaultval"; then
3195 if test x"$enablestring" = xdisable; then
3196 defaultval=yes
3197 else
3198 defaultval=no
3199 fi
3200 fi
3201
3202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3203 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3204 no_cache=0
3205 # Check whether --enable-official_build was given.
3206 if test "${enable_official_build+set}" = set; then
3207 enableval=$enable_official_build;
3208 if test "$enableval" = yes; then
3209 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3210 else
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3212 fi
3213
3214 else
3215
3216 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x ; then
3218 eval "DEFAULT_$LINE"
3219 else
3220 no_cache=1
3221 fi
3222
3223 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3224
3225 fi
3226
3227
3228 eval "$wx_cv_use_official_build"
3229 if test "$no_cache" != 1; then
3230 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3231 fi
3232
3233 if test x"$enablestring" = xdisable; then
3234 if test $wxUSE_OFFICIAL_BUILD = yes; then
3235 result=no
3236 else
3237 result=yes
3238 fi
3239 else
3240 result=$wxUSE_OFFICIAL_BUILD
3241 fi
3242
3243 { echo "$as_me:$LINENO: result: $result" >&5
3244 echo "${ECHO_T}$result" >&6; }
3245
3246 # Check whether --enable-vendor was given.
3247 if test "${enable_vendor+set}" = set; then
3248 enableval=$enable_vendor; VENDOR="$enableval"
3249 fi
3250
3251 if test "x$VENDOR" = "x"; then
3252 VENDOR="custom"
3253 fi
3254
3255
3256 enablestring=disable
3257 defaultval=
3258 if test -z "$defaultval"; then
3259 if test x"$enablestring" = xdisable; then
3260 defaultval=yes
3261 else
3262 defaultval=no
3263 fi
3264 fi
3265
3266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3267 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3268 no_cache=0
3269 # Check whether --enable-all-features was given.
3270 if test "${enable_all_features+set}" = set; then
3271 enableval=$enable_all_features;
3272 if test "$enableval" = yes; then
3273 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3274 else
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3276 fi
3277
3278 else
3279
3280 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x ; then
3282 eval "DEFAULT_$LINE"
3283 else
3284 no_cache=1
3285 fi
3286
3287 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3288
3289 fi
3290
3291
3292 eval "$wx_cv_use_all_features"
3293 if test "$no_cache" != 1; then
3294 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3295 fi
3296
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_ALL_FEATURES = yes; then
3299 result=no
3300 else
3301 result=yes
3302 fi
3303 else
3304 result=$wxUSE_ALL_FEATURES
3305 fi
3306
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3309
3310
3311
3312 if test "$wxUSE_GUI" = "yes"; then
3313
3314
3315 enablestring=
3316 defaultval=
3317 if test -z "$defaultval"; then
3318 if test x"$enablestring" = xdisable; then
3319 defaultval=yes
3320 else
3321 defaultval=no
3322 fi
3323 fi
3324
3325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3326 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3327 no_cache=0
3328 # Check whether --enable-universal was given.
3329 if test "${enable_universal+set}" = set; then
3330 enableval=$enable_universal;
3331 if test "$enableval" = yes; then
3332 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3333 else
3334 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3335 fi
3336
3337 else
3338
3339 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x ; then
3341 eval "DEFAULT_$LINE"
3342 else
3343 no_cache=1
3344 fi
3345
3346 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3347
3348 fi
3349
3350
3351 eval "$wx_cv_use_universal"
3352 if test "$no_cache" != 1; then
3353 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3354 fi
3355
3356 if test x"$enablestring" = xdisable; then
3357 if test $wxUSE_UNIVERSAL = yes; then
3358 result=no
3359 else
3360 result=yes
3361 fi
3362 else
3363 result=$wxUSE_UNIVERSAL
3364 fi
3365
3366 { echo "$as_me:$LINENO: result: $result" >&5
3367 echo "${ECHO_T}$result" >&6; }
3368
3369 if test "$wxUSE_UNIVERSAL" = "yes"; then
3370
3371 # Check whether --with-themes was given.
3372 if test "${with_themes+set}" = set; then
3373 withval=$with_themes; wxUNIV_THEMES="$withval"
3374 fi
3375
3376 fi
3377
3378
3379 # Check whether --with-gtk was given.
3380 if test "${with_gtk+set}" = set; then
3381 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-motif was given.
3386 if test "${with_motif+set}" = set; then
3387 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-mac was given.
3392 if test "${with_mac+set}" = set; then
3393 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-cocoa was given.
3398 if test "${with_cocoa+set}" = set; then
3399 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-wine was given.
3404 if test "${with_wine+set}" = set; then
3405 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3406 fi
3407
3408
3409 # Check whether --with-msw was given.
3410 if test "${with_msw+set}" = set; then
3411 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3412 fi
3413
3414
3415 # Check whether --with-pm was given.
3416 if test "${with_pm+set}" = set; then
3417 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-mgl was given.
3422 if test "${with_mgl+set}" = set; then
3423 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-directfb was given.
3428 if test "${with_directfb+set}" = set; then
3429 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-microwin was given.
3434 if test "${with_microwin+set}" = set; then
3435 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-x11 was given.
3440 if test "${with_x11+set}" = set; then
3441 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 enablestring=
3446 defaultval=
3447 if test -z "$defaultval"; then
3448 if test x"$enablestring" = xdisable; then
3449 defaultval=yes
3450 else
3451 defaultval=no
3452 fi
3453 fi
3454
3455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3456 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3457 no_cache=0
3458 # Check whether --enable-nanox was given.
3459 if test "${enable_nanox+set}" = set; then
3460 enableval=$enable_nanox;
3461 if test "$enableval" = yes; then
3462 wx_cv_use_nanox='wxUSE_NANOX=yes'
3463 else
3464 wx_cv_use_nanox='wxUSE_NANOX=no'
3465 fi
3466
3467 else
3468
3469 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3472 else
3473 no_cache=1
3474 fi
3475
3476 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3477
3478 fi
3479
3480
3481 eval "$wx_cv_use_nanox"
3482 if test "$no_cache" != 1; then
3483 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3484 fi
3485
3486 if test x"$enablestring" = xdisable; then
3487 if test $wxUSE_NANOX = yes; then
3488 result=no
3489 else
3490 result=yes
3491 fi
3492 else
3493 result=$wxUSE_NANOX
3494 fi
3495
3496 { echo "$as_me:$LINENO: result: $result" >&5
3497 echo "${ECHO_T}$result" >&6; }
3498
3499
3500 # Check whether --enable-gtk2 was given.
3501 if test "${enable_gtk2+set}" = set; then
3502 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3503 fi
3504
3505
3506 enablestring=
3507 defaultval=
3508 if test -z "$defaultval"; then
3509 if test x"$enablestring" = xdisable; then
3510 defaultval=yes
3511 else
3512 defaultval=no
3513 fi
3514 fi
3515
3516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3518 no_cache=0
3519 # Check whether --enable-gpe was given.
3520 if test "${enable_gpe+set}" = set; then
3521 enableval=$enable_gpe;
3522 if test "$enableval" = yes; then
3523 wx_cv_use_gpe='wxUSE_GPE=yes'
3524 else
3525 wx_cv_use_gpe='wxUSE_GPE=no'
3526 fi
3527
3528 else
3529
3530 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x ; then
3532 eval "DEFAULT_$LINE"
3533 else
3534 no_cache=1
3535 fi
3536
3537 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3538
3539 fi
3540
3541
3542 eval "$wx_cv_use_gpe"
3543 if test "$no_cache" != 1; then
3544 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test x"$enablestring" = xdisable; then
3548 if test $wxUSE_GPE = yes; then
3549 result=no
3550 else
3551 result=yes
3552 fi
3553 else
3554 result=$wxUSE_GPE
3555 fi
3556
3557 { echo "$as_me:$LINENO: result: $result" >&5
3558 echo "${ECHO_T}$result" >&6; }
3559
3560
3561
3562
3563 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3564 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3565 no_cache=0
3566
3567 # Check whether --with-libpng was given.
3568 if test "${with_libpng+set}" = set; then
3569 withval=$with_libpng;
3570 if test "$withval" = yes; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3572 elif test "$withval" = no; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3574 elif test "$withval" = sys; then
3575 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3576 elif test "$withval" = builtin; then
3577 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3578 else
3579 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3580 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3581 { (exit 1); exit 1; }; }
3582 fi
3583
3584 else
3585
3586 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x ; then
3588 eval "DEFAULT_$LINE"
3589 else
3590 no_cache=1
3591 fi
3592
3593 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3594
3595 fi
3596
3597
3598 eval "$wx_cv_use_libpng"
3599 if test "$no_cache" != 1; then
3600 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3601 fi
3602
3603 if test "$wxUSE_LIBPNG" = yes; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 elif test "$wxUSE_LIBPNG" = no; then
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3609 elif test "$wxUSE_LIBPNG" = sys; then
3610 { echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6; }
3612 elif test "$wxUSE_LIBPNG" = builtin; then
3613 { echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6; }
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621
3622 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3623 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3624 no_cache=0
3625
3626 # Check whether --with-libjpeg was given.
3627 if test "${with_libjpeg+set}" = set; then
3628 withval=$with_libjpeg;
3629 if test "$withval" = yes; then
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3631 elif test "$withval" = no; then
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3633 elif test "$withval" = sys; then
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3635 elif test "$withval" = builtin; then
3636 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3637 else
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3641 fi
3642
3643 else
3644
3645 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x ; then
3647 eval "DEFAULT_$LINE"
3648 else
3649 no_cache=1
3650 fi
3651
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3653
3654 fi
3655
3656
3657 eval "$wx_cv_use_libjpeg"
3658 if test "$no_cache" != 1; then
3659 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3660 fi
3661
3662 if test "$wxUSE_LIBJPEG" = yes; then
3663 { echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6; }
3665 elif test "$wxUSE_LIBJPEG" = no; then
3666 { echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6; }
3668 elif test "$wxUSE_LIBJPEG" = sys; then
3669 { echo "$as_me:$LINENO: result: system version" >&5
3670 echo "${ECHO_T}system version" >&6; }
3671 elif test "$wxUSE_LIBJPEG" = builtin; then
3672 { echo "$as_me:$LINENO: result: builtin version" >&5
3673 echo "${ECHO_T}builtin version" >&6; }
3674 else
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3678 fi
3679
3680
3681 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3682 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3683 no_cache=0
3684
3685 # Check whether --with-libtiff was given.
3686 if test "${with_libtiff+set}" = set; then
3687 withval=$with_libtiff;
3688 if test "$withval" = yes; then
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3690 elif test "$withval" = no; then
3691 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3692 elif test "$withval" = sys; then
3693 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3694 elif test "$withval" = builtin; then
3695 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3696 else
3697 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3698 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3699 { (exit 1); exit 1; }; }
3700 fi
3701
3702 else
3703
3704 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x ; then
3706 eval "DEFAULT_$LINE"
3707 else
3708 no_cache=1
3709 fi
3710
3711 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3712
3713 fi
3714
3715
3716 eval "$wx_cv_use_libtiff"
3717 if test "$no_cache" != 1; then
3718 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_LIBTIFF" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = no; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = sys; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBTIFF" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3741 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742 no_cache=0
3743
3744 # Check whether --with-libxpm was given.
3745 if test "${with_libxpm+set}" = set; then
3746 withval=$with_libxpm;
3747 if test "$withval" = yes; then
3748 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3749 elif test "$withval" = no; then
3750 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3751 elif test "$withval" = sys; then
3752 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3753 elif test "$withval" = builtin; then
3754 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3755 else
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3759 fi
3760
3761 else
3762
3763 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x ; then
3765 eval "DEFAULT_$LINE"
3766 else
3767 no_cache=1
3768 fi
3769
3770 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3771
3772 fi
3773
3774
3775 eval "$wx_cv_use_libxpm"
3776 if test "$no_cache" != 1; then
3777 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3778 fi
3779
3780 if test "$wxUSE_LIBXPM" = yes; then
3781 { echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6; }
3783 elif test "$wxUSE_LIBXPM" = no; then
3784 { echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6; }
3786 elif test "$wxUSE_LIBXPM" = sys; then
3787 { echo "$as_me:$LINENO: result: system version" >&5
3788 echo "${ECHO_T}system version" >&6; }
3789 elif test "$wxUSE_LIBXPM" = builtin; then
3790 { echo "$as_me:$LINENO: result: builtin version" >&5
3791 echo "${ECHO_T}builtin version" >&6; }
3792 else
3793 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3794 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3795 { (exit 1); exit 1; }; }
3796 fi
3797
3798
3799 withstring=
3800 defaultval=$wxUSE_ALL_FEATURES
3801 if test -z "$defaultval"; then
3802 if test x"$withstring" = xwithout; then
3803 defaultval=yes
3804 else
3805 defaultval=no
3806 fi
3807 fi
3808 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3809 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3810 no_cache=0
3811
3812 # Check whether --with-libmspack was given.
3813 if test "${with_libmspack+set}" = set; then
3814 withval=$with_libmspack;
3815 if test "$withval" = yes; then
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3817 else
3818 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3819 fi
3820
3821 else
3822
3823 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3826 else
3827 no_cache=1
3828 fi
3829
3830 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3831
3832 fi
3833
3834
3835 eval "$wx_cv_use_libmspack"
3836 if test "$no_cache" != 1; then
3837 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3838 fi
3839
3840 if test x"$withstring" = xwithout; then
3841 if test $wxUSE_LIBMSPACK = yes; then
3842 result=no
3843 else
3844 result=yes
3845 fi
3846 else
3847 result=$wxUSE_LIBMSPACK
3848 fi
3849
3850 { echo "$as_me:$LINENO: result: $result" >&5
3851 echo "${ECHO_T}$result" >&6; }
3852
3853
3854 withstring=without
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3858 defaultval=yes
3859 else
3860 defaultval=no
3861 fi
3862 fi
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3865 no_cache=0
3866
3867 # Check whether --with-gnomeprint was given.
3868 if test "${with_gnomeprint+set}" = set; then
3869 withval=$with_gnomeprint;
3870 if test "$withval" = yes; then
3871 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3872 else
3873 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3874 fi
3875
3876 else
3877
3878 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x ; then
3880 eval "DEFAULT_$LINE"
3881 else
3882 no_cache=1
3883 fi
3884
3885 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3886
3887 fi
3888
3889
3890 eval "$wx_cv_use_gnomeprint"
3891 if test "$no_cache" != 1; then
3892 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test x"$withstring" = xwithout; then
3896 if test $wxUSE_LIBGNOMEPRINT = yes; then
3897 result=no
3898 else
3899 result=yes
3900 fi
3901 else
3902 result=$wxUSE_LIBGNOMEPRINT
3903 fi
3904
3905 { echo "$as_me:$LINENO: result: $result" >&5
3906 echo "${ECHO_T}$result" >&6; }
3907
3908
3909 withstring=
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3913 defaultval=yes
3914 else
3915 defaultval=no
3916 fi
3917 fi
3918 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3919 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3920 no_cache=0
3921
3922 # Check whether --with-gnomevfs was given.
3923 if test "${with_gnomevfs+set}" = set; then
3924 withval=$with_gnomevfs;
3925 if test "$withval" = yes; then
3926 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3927 else
3928 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3929 fi
3930
3931 else
3932
3933 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 else
3937 no_cache=1
3938 fi
3939
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3941
3942 fi
3943
3944
3945 eval "$wx_cv_use_gnomevfs"
3946 if test "$no_cache" != 1; then
3947 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3948 fi
3949
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_LIBGNOMEVFS = yes; then
3952 result=no
3953 else
3954 result=yes
3955 fi
3956 else
3957 result=$wxUSE_LIBGNOMEVFS
3958 fi
3959
3960 { echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6; }
3962
3963
3964 withstring=
3965 defaultval=$wxUSE_ALL_FEATURES
3966 if test -z "$defaultval"; then
3967 if test x"$withstring" = xwithout; then
3968 defaultval=yes
3969 else
3970 defaultval=no
3971 fi
3972 fi
3973 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3974 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3975 no_cache=0
3976
3977 # Check whether --with-hildon was given.
3978 if test "${with_hildon+set}" = set; then
3979 withval=$with_hildon;
3980 if test "$withval" = yes; then
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3982 else
3983 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3984 fi
3985
3986 else
3987
3988 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3989 if test "x$LINE" != x ; then
3990 eval "DEFAULT_$LINE"
3991 else
3992 no_cache=1
3993 fi
3994
3995 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3996
3997 fi
3998
3999
4000 eval "$wx_cv_use_hildon"
4001 if test "$no_cache" != 1; then
4002 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4003 fi
4004
4005 if test x"$withstring" = xwithout; then
4006 if test $wxUSE_LIBHILDON = yes; then
4007 result=no
4008 else
4009 result=yes
4010 fi
4011 else
4012 result=$wxUSE_LIBHILDON
4013 fi
4014
4015 { echo "$as_me:$LINENO: result: $result" >&5
4016 echo "${ECHO_T}$result" >&6; }
4017
4018
4019 withstring=
4020 defaultval=$wxUSE_ALL_FEATURES
4021 if test -z "$defaultval"; then
4022 if test x"$withstring" = xwithout; then
4023 defaultval=yes
4024 else
4025 defaultval=no
4026 fi
4027 fi
4028 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4029 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4030 no_cache=0
4031
4032 # Check whether --with-opengl was given.
4033 if test "${with_opengl+set}" = set; then
4034 withval=$with_opengl;
4035 if test "$withval" = yes; then
4036 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4037 else
4038 wx_cv_use_opengl='wxUSE_OPENGL=no'
4039 fi
4040
4041 else
4042
4043 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x ; then
4045 eval "DEFAULT_$LINE"
4046 else
4047 no_cache=1
4048 fi
4049
4050 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4051
4052 fi
4053
4054
4055 eval "$wx_cv_use_opengl"
4056 if test "$no_cache" != 1; then
4057 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4058 fi
4059
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_OPENGL = yes; then
4062 result=no
4063 else
4064 result=yes
4065 fi
4066 else
4067 result=$wxUSE_OPENGL
4068 fi
4069
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4072
4073
4074 fi
4075
4076
4077 withstring=
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4081 defaultval=yes
4082 else
4083 defaultval=no
4084 fi
4085 fi
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4088 no_cache=0
4089
4090 # Check whether --with-dmalloc was given.
4091 if test "${with_dmalloc+set}" = set; then
4092 withval=$with_dmalloc;
4093 if test "$withval" = yes; then
4094 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4095 else
4096 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4109
4110 fi
4111
4112
4113 eval "$wx_cv_use_dmalloc"
4114 if test "$no_cache" != 1; then
4115 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4116 fi
4117
4118 if test x"$withstring" = xwithout; then
4119 if test $wxUSE_DMALLOC = yes; then
4120 result=no
4121 else
4122 result=yes
4123 fi
4124 else
4125 result=$wxUSE_DMALLOC
4126 fi
4127
4128 { echo "$as_me:$LINENO: result: $result" >&5
4129 echo "${ECHO_T}$result" >&6; }
4130
4131
4132 withstring=
4133 defaultval=$wxUSE_ALL_FEATURES
4134 if test -z "$defaultval"; then
4135 if test x"$withstring" = xwithout; then
4136 defaultval=yes
4137 else
4138 defaultval=no
4139 fi
4140 fi
4141 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4142 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4143 no_cache=0
4144
4145 # Check whether --with-sdl was given.
4146 if test "${with_sdl+set}" = set; then
4147 withval=$with_sdl;
4148 if test "$withval" = yes; then
4149 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4150 else
4151 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4152 fi
4153
4154 else
4155
4156 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4159 else
4160 no_cache=1
4161 fi
4162
4163 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4164
4165 fi
4166
4167
4168 eval "$wx_cv_use_sdl"
4169 if test "$no_cache" != 1; then
4170 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4171 fi
4172
4173 if test x"$withstring" = xwithout; then
4174 if test $wxUSE_LIBSDL = yes; then
4175 result=no
4176 else
4177 result=yes
4178 fi
4179 else
4180 result=$wxUSE_LIBSDL
4181 fi
4182
4183 { echo "$as_me:$LINENO: result: $result" >&5
4184 echo "${ECHO_T}$result" >&6; }
4185
4186
4187 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4188 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189 no_cache=0
4190
4191 # Check whether --with-regex was given.
4192 if test "${with_regex+set}" = set; then
4193 withval=$with_regex;
4194 if test "$withval" = yes; then
4195 wx_cv_use_regex='wxUSE_REGEX=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_regex='wxUSE_REGEX=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_regex='wxUSE_REGEX=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_regex='wxUSE_REGEX=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4218
4219 fi
4220
4221
4222 eval "$wx_cv_use_regex"
4223 if test "$no_cache" != 1; then
4224 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_REGEX" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 elif test "$wxUSE_REGEX" = no; then
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4233 elif test "$wxUSE_REGEX" = sys; then
4234 { echo "$as_me:$LINENO: result: system version" >&5
4235 echo "${ECHO_T}system version" >&6; }
4236 elif test "$wxUSE_REGEX" = builtin; then
4237 { echo "$as_me:$LINENO: result: builtin version" >&5
4238 echo "${ECHO_T}builtin version" >&6; }
4239 else
4240 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4241 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4242 { (exit 1); exit 1; }; }
4243 fi
4244
4245
4246 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4247 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4248 no_cache=0
4249
4250 # Check whether --with-zlib was given.
4251 if test "${with_zlib+set}" = set; then
4252 withval=$with_zlib;
4253 if test "$withval" = yes; then
4254 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4255 elif test "$withval" = no; then
4256 wx_cv_use_zlib='wxUSE_ZLIB=no'
4257 elif test "$withval" = sys; then
4258 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4259 elif test "$withval" = builtin; then
4260 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4261 else
4262 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4263 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4264 { (exit 1); exit 1; }; }
4265 fi
4266
4267 else
4268
4269 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4272 else
4273 no_cache=1
4274 fi
4275
4276 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4277
4278 fi
4279
4280
4281 eval "$wx_cv_use_zlib"
4282 if test "$no_cache" != 1; then
4283 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test "$wxUSE_ZLIB" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_ZLIB" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_ZLIB" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_ZLIB" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304
4305 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4306 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4307 no_cache=0
4308
4309 # Check whether --with-odbc was given.
4310 if test "${with_odbc+set}" = set; then
4311 withval=$with_odbc;
4312 if test "$withval" = yes; then
4313 wx_cv_use_odbc='wxUSE_ODBC=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_odbc='wxUSE_ODBC=no'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_odbc='wxUSE_ODBC=sys'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326 else
4327
4328 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4336
4337 fi
4338
4339
4340 eval "$wx_cv_use_odbc"
4341 if test "$no_cache" != 1; then
4342 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4343 fi
4344
4345 if test "$wxUSE_ODBC" = yes; then
4346 { echo "$as_me:$LINENO: result: yes" >&5
4347 echo "${ECHO_T}yes" >&6; }
4348 elif test "$wxUSE_ODBC" = no; then
4349 { echo "$as_me:$LINENO: result: no" >&5
4350 echo "${ECHO_T}no" >&6; }
4351 elif test "$wxUSE_ODBC" = sys; then
4352 { echo "$as_me:$LINENO: result: system version" >&5
4353 echo "${ECHO_T}system version" >&6; }
4354 elif test "$wxUSE_ODBC" = builtin; then
4355 { echo "$as_me:$LINENO: result: builtin version" >&5
4356 echo "${ECHO_T}builtin version" >&6; }
4357 else
4358 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4359 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4360 { (exit 1); exit 1; }; }
4361 fi
4362
4363
4364 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4365 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4366 no_cache=0
4367
4368 # Check whether --with-expat was given.
4369 if test "${with_expat+set}" = set; then
4370 withval=$with_expat;
4371 if test "$withval" = yes; then
4372 wx_cv_use_expat='wxUSE_EXPAT=yes'
4373 elif test "$withval" = no; then
4374 wx_cv_use_expat='wxUSE_EXPAT=no'
4375 elif test "$withval" = sys; then
4376 wx_cv_use_expat='wxUSE_EXPAT=sys'
4377 elif test "$withval" = builtin; then
4378 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385 else
4386
4387 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x ; then
4389 eval "DEFAULT_$LINE"
4390 else
4391 no_cache=1
4392 fi
4393
4394 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4395
4396 fi
4397
4398
4399 eval "$wx_cv_use_expat"
4400 if test "$no_cache" != 1; then
4401 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_EXPAT" = yes; then
4405 { echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6; }
4407 elif test "$wxUSE_EXPAT" = no; then
4408 { echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6; }
4410 elif test "$wxUSE_EXPAT" = sys; then
4411 { echo "$as_me:$LINENO: result: system version" >&5
4412 echo "${ECHO_T}system version" >&6; }
4413 elif test "$wxUSE_EXPAT" = builtin; then
4414 { echo "$as_me:$LINENO: result: builtin version" >&5
4415 echo "${ECHO_T}builtin version" >&6; }
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421
4422
4423
4424
4425 enablestring=disable
4426 defaultval=
4427 if test -z "$defaultval"; then
4428 if test x"$enablestring" = xdisable; then
4429 defaultval=yes
4430 else
4431 defaultval=no
4432 fi
4433 fi
4434
4435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4437 no_cache=0
4438 # Check whether --enable-shared was given.
4439 if test "${enable_shared+set}" = set; then
4440 enableval=$enable_shared;
4441 if test "$enableval" = yes; then
4442 wx_cv_use_shared='wxUSE_SHARED=yes'
4443 else
4444 wx_cv_use_shared='wxUSE_SHARED=no'
4445 fi
4446
4447 else
4448
4449 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x ; then
4451 eval "DEFAULT_$LINE"
4452 else
4453 no_cache=1
4454 fi
4455
4456 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4457
4458 fi
4459
4460
4461 eval "$wx_cv_use_shared"
4462 if test "$no_cache" != 1; then
4463 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test x"$enablestring" = xdisable; then
4467 if test $wxUSE_SHARED = yes; then
4468 result=no
4469 else
4470 result=yes
4471 fi
4472 else
4473 result=$wxUSE_SHARED
4474 fi
4475
4476 { echo "$as_me:$LINENO: result: $result" >&5
4477 echo "${ECHO_T}$result" >&6; }
4478
4479
4480 enablestring=disable
4481 defaultval=
4482 if test -z "$defaultval"; then
4483 if test x"$enablestring" = xdisable; then
4484 defaultval=yes
4485 else
4486 defaultval=no
4487 fi
4488 fi
4489
4490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4491 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4492 no_cache=0
4493 # Check whether --enable-optimise was given.
4494 if test "${enable_optimise+set}" = set; then
4495 enableval=$enable_optimise;
4496 if test "$enableval" = yes; then
4497 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4498 else
4499 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4512
4513 fi
4514
4515
4516 eval "$wx_cv_use_optimise"
4517 if test "$no_cache" != 1; then
4518 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4519 fi
4520
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_OPTIMISE = yes; then
4523 result=no
4524 else
4525 result=yes
4526 fi
4527 else
4528 result=$wxUSE_OPTIMISE
4529 fi
4530
4531 { echo "$as_me:$LINENO: result: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4533
4534
4535 enablestring=
4536 defaultval=
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4539 defaultval=yes
4540 else
4541 defaultval=no
4542 fi
4543 fi
4544
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4547 no_cache=0
4548 # Check whether --enable-debug was given.
4549 if test "${enable_debug+set}" = set; then
4550 enableval=$enable_debug;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_debug='wxUSE_DEBUG=yes'
4553 else
4554 wx_cv_use_debug='wxUSE_DEBUG=no'
4555 fi
4556
4557 else
4558
4559 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4562 else
4563 no_cache=1
4564 fi
4565
4566 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4567
4568 fi
4569
4570
4571 eval "$wx_cv_use_debug"
4572 if test "$no_cache" != 1; then
4573 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test x"$enablestring" = xdisable; then
4577 if test $wxUSE_DEBUG = yes; then
4578 result=no
4579 else
4580 result=yes
4581 fi
4582 else
4583 result=$wxUSE_DEBUG
4584 fi
4585
4586 { echo "$as_me:$LINENO: result: $result" >&5
4587 echo "${ECHO_T}$result" >&6; }
4588
4589
4590 enablestring=
4591 defaultval=
4592 if test -z "$defaultval"; then
4593 if test x"$enablestring" = xdisable; then
4594 defaultval=yes
4595 else
4596 defaultval=no
4597 fi
4598 fi
4599
4600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4602 no_cache=0
4603 # Check whether --enable-stl was given.
4604 if test "${enable_stl+set}" = set; then
4605 enableval=$enable_stl;
4606 if test "$enableval" = yes; then
4607 wx_cv_use_stl='wxUSE_STL=yes'
4608 else
4609 wx_cv_use_stl='wxUSE_STL=no'
4610 fi
4611
4612 else
4613
4614 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4617 else
4618 no_cache=1
4619 fi
4620
4621 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4622
4623 fi
4624
4625
4626 eval "$wx_cv_use_stl"
4627 if test "$no_cache" != 1; then
4628 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4629 fi
4630
4631 if test x"$enablestring" = xdisable; then
4632 if test $wxUSE_STL = yes; then
4633 result=no
4634 else
4635 result=yes
4636 fi
4637 else
4638 result=$wxUSE_STL
4639 fi
4640
4641 { echo "$as_me:$LINENO: result: $result" >&5
4642 echo "${ECHO_T}$result" >&6; }
4643
4644
4645 enablestring=
4646 defaultval=
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4649 defaultval=yes
4650 else
4651 defaultval=no
4652 fi
4653 fi
4654
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4657 no_cache=0
4658 # Check whether --enable-std_iostreams was given.
4659 if test "${enable_std_iostreams+set}" = set; then
4660 enableval=$enable_std_iostreams;
4661 if test "$enableval" = yes; then
4662 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4663 else
4664 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4677
4678 fi
4679
4680
4681 eval "$wx_cv_use_std_iostreams"
4682 if test "$no_cache" != 1; then
4683 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4684 fi
4685
4686 if test x"$enablestring" = xdisable; then
4687 if test $wxUSE_STD_IOSTREAM = yes; then
4688 result=no
4689 else
4690 result=yes
4691 fi
4692 else
4693 result=$wxUSE_STD_IOSTREAM
4694 fi
4695
4696 { echo "$as_me:$LINENO: result: $result" >&5
4697 echo "${ECHO_T}$result" >&6; }
4698
4699
4700 enablestring=
4701 defaultval=
4702 if test -z "$defaultval"; then
4703 if test x"$enablestring" = xdisable; then
4704 defaultval=yes
4705 else
4706 defaultval=no
4707 fi
4708 fi
4709
4710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4711 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4712 no_cache=0
4713 # Check whether --enable-std_string was given.
4714 if test "${enable_std_string+set}" = set; then
4715 enableval=$enable_std_string;
4716 if test "$enableval" = yes; then
4717 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4718 else
4719 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4720 fi
4721
4722 else
4723
4724 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4725 if test "x$LINE" != x ; then
4726 eval "DEFAULT_$LINE"
4727 else
4728 no_cache=1
4729 fi
4730
4731 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4732
4733 fi
4734
4735
4736 eval "$wx_cv_use_std_string"
4737 if test "$no_cache" != 1; then
4738 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4739 fi
4740
4741 if test x"$enablestring" = xdisable; then
4742 if test $wxUSE_STD_STRING = yes; then
4743 result=no
4744 else
4745 result=yes
4746 fi
4747 else
4748 result=$wxUSE_STD_STRING
4749 fi
4750
4751 { echo "$as_me:$LINENO: result: $result" >&5
4752 echo "${ECHO_T}$result" >&6; }
4753
4754
4755 enablestring=disable
4756 defaultval=
4757 if test -z "$defaultval"; then
4758 if test x"$enablestring" = xdisable; then
4759 defaultval=yes
4760 else
4761 defaultval=no
4762 fi
4763 fi
4764
4765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4767 no_cache=0
4768 # Check whether --enable-unicode was given.
4769 if test "${enable_unicode+set}" = set; then
4770 enableval=$enable_unicode;
4771 if test "$enableval" = yes; then
4772 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4773 else
4774 wx_cv_use_unicode='wxUSE_UNICODE=no'
4775 fi
4776
4777 else
4778
4779 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4782 else
4783 no_cache=1
4784 fi
4785
4786 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4787
4788 fi
4789
4790
4791 eval "$wx_cv_use_unicode"
4792 if test "$no_cache" != 1; then
4793 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4794 fi
4795
4796 if test x"$enablestring" = xdisable; then
4797 if test $wxUSE_UNICODE = yes; then
4798 result=no
4799 else
4800 result=yes
4801 fi
4802 else
4803 result=$wxUSE_UNICODE
4804 fi
4805
4806 { echo "$as_me:$LINENO: result: $result" >&5
4807 echo "${ECHO_T}$result" >&6; }
4808
4809
4810 enablestring=
4811 defaultval=
4812 if test -z "$defaultval"; then
4813 if test x"$enablestring" = xdisable; then
4814 defaultval=yes
4815 else
4816 defaultval=no
4817 fi
4818 fi
4819
4820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4821 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4822 no_cache=0
4823 # Check whether --enable-mslu was given.
4824 if test "${enable_mslu+set}" = set; then
4825 enableval=$enable_mslu;
4826 if test "$enableval" = yes; then
4827 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4828 else
4829 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4830 fi
4831
4832 else
4833
4834 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x ; then
4836 eval "DEFAULT_$LINE"
4837 else
4838 no_cache=1
4839 fi
4840
4841 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4842
4843 fi
4844
4845
4846 eval "$wx_cv_use_mslu"
4847 if test "$no_cache" != 1; then
4848 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4849 fi
4850
4851 if test x"$enablestring" = xdisable; then
4852 if test $wxUSE_UNICODE_MSLU = yes; then
4853 result=no
4854 else
4855 result=yes
4856 fi
4857 else
4858 result=$wxUSE_UNICODE_MSLU
4859 fi
4860
4861 { echo "$as_me:$LINENO: result: $result" >&5
4862 echo "${ECHO_T}$result" >&6; }
4863
4864
4865 enablestring=
4866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4867 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4868 no_cache=0
4869 # Check whether --enable-utf8 was given.
4870 if test "${enable_utf8+set}" = set; then
4871 enableval=$enable_utf8;
4872 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4873
4874 else
4875
4876 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x ; then
4878 eval "DEFAULT_$LINE"
4879 else
4880 no_cache=1
4881 fi
4882
4883 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4884
4885 fi
4886
4887
4888 eval "$wx_cv_use_utf8"
4889 if test "$no_cache" != 1; then
4890 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4891 fi
4892
4893 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4894 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4895
4896
4897 enablestring=
4898 defaultval=
4899 if test -z "$defaultval"; then
4900 if test x"$enablestring" = xdisable; then
4901 defaultval=yes
4902 else
4903 defaultval=no
4904 fi
4905 fi
4906
4907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4909 no_cache=0
4910 # Check whether --enable-utf8only was given.
4911 if test "${enable_utf8only+set}" = set; then
4912 enableval=$enable_utf8only;
4913 if test "$enableval" = yes; then
4914 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4915 else
4916 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4929
4930 fi
4931
4932
4933 eval "$wx_cv_use_utf8only"
4934 if test "$no_cache" != 1; then
4935 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4936 fi
4937
4938 if test x"$enablestring" = xdisable; then
4939 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4940 result=no
4941 else
4942 result=yes
4943 fi
4944 else
4945 result=$wxUSE_UNICODE_UTF8_LOCALE
4946 fi
4947
4948 { echo "$as_me:$LINENO: result: $result" >&5
4949 echo "${ECHO_T}$result" >&6; }
4950
4951
4952 enablestring=
4953 defaultval=
4954 if test -z "$defaultval"; then
4955 if test x"$enablestring" = xdisable; then
4956 defaultval=yes
4957 else
4958 defaultval=no
4959 fi
4960 fi
4961
4962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4963 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4964 no_cache=0
4965 # Check whether --enable-extended_rtti was given.
4966 if test "${enable_extended_rtti+set}" = set; then
4967 enableval=$enable_extended_rtti;
4968 if test "$enableval" = yes; then
4969 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4970 else
4971 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4972 fi
4973
4974 else
4975
4976 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4977 if test "x$LINE" != x ; then
4978 eval "DEFAULT_$LINE"
4979 else
4980 no_cache=1
4981 fi
4982
4983 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4984
4985 fi
4986
4987
4988 eval "$wx_cv_use_extended_rtti"
4989 if test "$no_cache" != 1; then
4990 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4991 fi
4992
4993 if test x"$enablestring" = xdisable; then
4994 if test $wxUSE_EXTENDED_RTTI = yes; then
4995 result=no
4996 else
4997 result=yes
4998 fi
4999 else
5000 result=$wxUSE_EXTENDED_RTTI
5001 fi
5002
5003 { echo "$as_me:$LINENO: result: $result" >&5
5004 echo "${ECHO_T}$result" >&6; }
5005
5006 if test "$USE_OS2" = "1"; then
5007 DEFAULT_wxUSE_OMF=no
5008
5009 enablestring=
5010 defaultval=
5011 if test -z "$defaultval"; then
5012 if test x"$enablestring" = xdisable; then
5013 defaultval=yes
5014 else
5015 defaultval=no
5016 fi
5017 fi
5018
5019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5021 no_cache=0
5022 # Check whether --enable-omf was given.
5023 if test "${enable_omf+set}" = set; then
5024 enableval=$enable_omf;
5025 if test "$enableval" = yes; then
5026 wx_cv_use_omf='wxUSE_OMF=yes'
5027 else
5028 wx_cv_use_omf='wxUSE_OMF=no'
5029 fi
5030
5031 else
5032
5033 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5036 else
5037 no_cache=1
5038 fi
5039
5040 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5041
5042 fi
5043
5044
5045 eval "$wx_cv_use_omf"
5046 if test "$no_cache" != 1; then
5047 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_OMF = yes; then
5052 result=no
5053 else
5054 result=yes
5055 fi
5056 else
5057 result=$wxUSE_OMF
5058 fi
5059
5060 { echo "$as_me:$LINENO: result: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5062
5063 fi
5064
5065 if test "$wxUSE_DEBUG" = "yes"; then
5066 DEFAULT_wxUSE_DEBUG_FLAG=yes
5067 DEFAULT_wxUSE_DEBUG_INFO=yes
5068 BUILD=debug
5069 elif test "$wxUSE_DEBUG" = "no"; then
5070 DEFAULT_wxUSE_DEBUG_FLAG=no
5071 DEFAULT_wxUSE_DEBUG_INFO=no
5072 BUILD=release
5073 fi
5074
5075
5076 enablestring=
5077 defaultval=
5078 if test -z "$defaultval"; then
5079 if test x"$enablestring" = xdisable; then
5080 defaultval=yes
5081 else
5082 defaultval=no
5083 fi
5084 fi
5085
5086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5088 no_cache=0
5089 # Check whether --enable-debug_flag was given.
5090 if test "${enable_debug_flag+set}" = set; then
5091 enableval=$enable_debug_flag;
5092 if test "$enableval" = yes; then
5093 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5094 else
5095 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5096 fi
5097
5098 else
5099
5100 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5101 if test "x$LINE" != x ; then
5102 eval "DEFAULT_$LINE"
5103 else
5104 no_cache=1
5105 fi
5106
5107 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5108
5109 fi
5110
5111
5112 eval "$wx_cv_use_debug_flag"
5113 if test "$no_cache" != 1; then
5114 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5115 fi
5116
5117 if test x"$enablestring" = xdisable; then
5118 if test $wxUSE_DEBUG_FLAG = yes; then
5119 result=no
5120 else
5121 result=yes
5122 fi
5123 else
5124 result=$wxUSE_DEBUG_FLAG
5125 fi
5126
5127 { echo "$as_me:$LINENO: result: $result" >&5
5128 echo "${ECHO_T}$result" >&6; }
5129
5130
5131 enablestring=
5132 defaultval=
5133 if test -z "$defaultval"; then
5134 if test x"$enablestring" = xdisable; then
5135 defaultval=yes
5136 else
5137 defaultval=no
5138 fi
5139 fi
5140
5141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5142 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5143 no_cache=0
5144 # Check whether --enable-debug_info was given.
5145 if test "${enable_debug_info+set}" = set; then
5146 enableval=$enable_debug_info;
5147 if test "$enableval" = yes; then
5148 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5149 else
5150 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5151 fi
5152
5153 else
5154
5155 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x ; then
5157 eval "DEFAULT_$LINE"
5158 else
5159 no_cache=1
5160 fi
5161
5162 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5163
5164 fi
5165
5166
5167 eval "$wx_cv_use_debug_info"
5168 if test "$no_cache" != 1; then
5169 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5170 fi
5171
5172 if test x"$enablestring" = xdisable; then
5173 if test $wxUSE_DEBUG_INFO = yes; then
5174 result=no
5175 else
5176 result=yes
5177 fi
5178 else
5179 result=$wxUSE_DEBUG_INFO
5180 fi
5181
5182 { echo "$as_me:$LINENO: result: $result" >&5
5183 echo "${ECHO_T}$result" >&6; }
5184
5185
5186 enablestring=
5187 defaultval=
5188 if test -z "$defaultval"; then
5189 if test x"$enablestring" = xdisable; then
5190 defaultval=yes
5191 else
5192 defaultval=no
5193 fi
5194 fi
5195
5196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5197 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5198 no_cache=0
5199 # Check whether --enable-debug_gdb was given.
5200 if test "${enable_debug_gdb+set}" = set; then
5201 enableval=$enable_debug_gdb;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5204 else
5205 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5218
5219 fi
5220
5221
5222 eval "$wx_cv_use_debug_gdb"
5223 if test "$no_cache" != 1; then
5224 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5225 fi
5226
5227 if test x"$enablestring" = xdisable; then
5228 if test $wxUSE_DEBUG_GDB = yes; then
5229 result=no
5230 else
5231 result=yes
5232 fi
5233 else
5234 result=$wxUSE_DEBUG_GDB
5235 fi
5236
5237 { echo "$as_me:$LINENO: result: $result" >&5
5238 echo "${ECHO_T}$result" >&6; }
5239
5240
5241 enablestring=
5242 defaultval=
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5245 defaultval=yes
5246 else
5247 defaultval=no
5248 fi
5249 fi
5250
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5253 no_cache=0
5254 # Check whether --enable-debug_cntxt was given.
5255 if test "${enable_debug_cntxt+set}" = set; then
5256 enableval=$enable_debug_cntxt;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5259 else
5260 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5273
5274 fi
5275
5276
5277 eval "$wx_cv_use_debug_cntxt"
5278 if test "$no_cache" != 1; then
5279 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test x"$enablestring" = xdisable; then
5283 if test $wxUSE_DEBUG_CONTEXT = yes; then
5284 result=no
5285 else
5286 result=yes
5287 fi
5288 else
5289 result=$wxUSE_DEBUG_CONTEXT
5290 fi
5291
5292 { echo "$as_me:$LINENO: result: $result" >&5
5293 echo "${ECHO_T}$result" >&6; }
5294
5295
5296 enablestring=
5297 defaultval=
5298 if test -z "$defaultval"; then
5299 if test x"$enablestring" = xdisable; then
5300 defaultval=yes
5301 else
5302 defaultval=no
5303 fi
5304 fi
5305
5306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5308 no_cache=0
5309 # Check whether --enable-mem_tracing was given.
5310 if test "${enable_mem_tracing+set}" = set; then
5311 enableval=$enable_mem_tracing;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5314 else
5315 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5316 fi
5317
5318 else
5319
5320 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x ; then
5322 eval "DEFAULT_$LINE"
5323 else
5324 no_cache=1
5325 fi
5326
5327 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5328
5329 fi
5330
5331
5332 eval "$wx_cv_use_mem_tracing"
5333 if test "$no_cache" != 1; then
5334 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5335 fi
5336
5337 if test x"$enablestring" = xdisable; then
5338 if test $wxUSE_MEM_TRACING = yes; then
5339 result=no
5340 else
5341 result=yes
5342 fi
5343 else
5344 result=$wxUSE_MEM_TRACING
5345 fi
5346
5347 { echo "$as_me:$LINENO: result: $result" >&5
5348 echo "${ECHO_T}$result" >&6; }
5349
5350
5351 enablestring=
5352 defaultval=
5353 if test -z "$defaultval"; then
5354 if test x"$enablestring" = xdisable; then
5355 defaultval=yes
5356 else
5357 defaultval=no
5358 fi
5359 fi
5360
5361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5362 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5363 no_cache=0
5364 # Check whether --enable-profile was given.
5365 if test "${enable_profile+set}" = set; then
5366 enableval=$enable_profile;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_profile='wxUSE_PROFILE=yes'
5369 else
5370 wx_cv_use_profile='wxUSE_PROFILE=no'
5371 fi
5372
5373 else
5374
5375 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x ; then
5377 eval "DEFAULT_$LINE"
5378 else
5379 no_cache=1
5380 fi
5381
5382 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5383
5384 fi
5385
5386
5387 eval "$wx_cv_use_profile"
5388 if test "$no_cache" != 1; then
5389 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5390 fi
5391
5392 if test x"$enablestring" = xdisable; then
5393 if test $wxUSE_PROFILE = yes; then
5394 result=no
5395 else
5396 result=yes
5397 fi
5398 else
5399 result=$wxUSE_PROFILE
5400 fi
5401
5402 { echo "$as_me:$LINENO: result: $result" >&5
5403 echo "${ECHO_T}$result" >&6; }
5404
5405
5406 enablestring=
5407 defaultval=
5408 if test -z "$defaultval"; then
5409 if test x"$enablestring" = xdisable; then
5410 defaultval=yes
5411 else
5412 defaultval=no
5413 fi
5414 fi
5415
5416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5418 no_cache=0
5419 # Check whether --enable-no_rtti was given.
5420 if test "${enable_no_rtti+set}" = set; then
5421 enableval=$enable_no_rtti;
5422 if test "$enableval" = yes; then
5423 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5424 else
5425 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5426 fi
5427
5428 else
5429
5430 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5431 if test "x$LINE" != x ; then
5432 eval "DEFAULT_$LINE"
5433 else
5434 no_cache=1
5435 fi
5436
5437 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5438
5439 fi
5440
5441
5442 eval "$wx_cv_use_no_rtti"
5443 if test "$no_cache" != 1; then
5444 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test x"$enablestring" = xdisable; then
5448 if test $wxUSE_NO_RTTI = yes; then
5449 result=no
5450 else
5451 result=yes
5452 fi
5453 else
5454 result=$wxUSE_NO_RTTI
5455 fi
5456
5457 { echo "$as_me:$LINENO: result: $result" >&5
5458 echo "${ECHO_T}$result" >&6; }
5459
5460
5461 enablestring=
5462 defaultval=
5463 if test -z "$defaultval"; then
5464 if test x"$enablestring" = xdisable; then
5465 defaultval=yes
5466 else
5467 defaultval=no
5468 fi
5469 fi
5470
5471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5472 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5473 no_cache=0
5474 # Check whether --enable-no_exceptions was given.
5475 if test "${enable_no_exceptions+set}" = set; then
5476 enableval=$enable_no_exceptions;
5477 if test "$enableval" = yes; then
5478 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5479 else
5480 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5481 fi
5482
5483 else
5484
5485 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5493
5494 fi
5495
5496
5497 eval "$wx_cv_use_no_exceptions"
5498 if test "$no_cache" != 1; then
5499 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5500 fi
5501
5502 if test x"$enablestring" = xdisable; then
5503 if test $wxUSE_NO_EXCEPTIONS = yes; then
5504 result=no
5505 else
5506 result=yes
5507 fi
5508 else
5509 result=$wxUSE_NO_EXCEPTIONS
5510 fi
5511
5512 { echo "$as_me:$LINENO: result: $result" >&5
5513 echo "${ECHO_T}$result" >&6; }
5514
5515
5516 enablestring=
5517 defaultval=
5518 if test -z "$defaultval"; then
5519 if test x"$enablestring" = xdisable; then
5520 defaultval=yes
5521 else
5522 defaultval=no
5523 fi
5524 fi
5525
5526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5527 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5528 no_cache=0
5529 # Check whether --enable-permissive was given.
5530 if test "${enable_permissive+set}" = set; then
5531 enableval=$enable_permissive;
5532 if test "$enableval" = yes; then
5533 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5534 else
5535 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5536 fi
5537
5538 else
5539
5540 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x ; then
5542 eval "DEFAULT_$LINE"
5543 else
5544 no_cache=1
5545 fi
5546
5547 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5548
5549 fi
5550
5551
5552 eval "$wx_cv_use_permissive"
5553 if test "$no_cache" != 1; then
5554 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5555 fi
5556
5557 if test x"$enablestring" = xdisable; then
5558 if test $wxUSE_PERMISSIVE = yes; then
5559 result=no
5560 else
5561 result=yes
5562 fi
5563 else
5564 result=$wxUSE_PERMISSIVE
5565 fi
5566
5567 { echo "$as_me:$LINENO: result: $result" >&5
5568 echo "${ECHO_T}$result" >&6; }
5569
5570
5571 enablestring=
5572 defaultval=
5573 if test -z "$defaultval"; then
5574 if test x"$enablestring" = xdisable; then
5575 defaultval=yes
5576 else
5577 defaultval=no
5578 fi
5579 fi
5580
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5583 no_cache=0
5584 # Check whether --enable-no_deps was given.
5585 if test "${enable_no_deps+set}" = set; then
5586 enableval=$enable_no_deps;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5589 else
5590 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5603
5604 fi
5605
5606
5607 eval "$wx_cv_use_no_deps"
5608 if test "$no_cache" != 1; then
5609 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test x"$enablestring" = xdisable; then
5613 if test $wxUSE_NO_DEPS = yes; then
5614 result=no
5615 else
5616 result=yes
5617 fi
5618 else
5619 result=$wxUSE_NO_DEPS
5620 fi
5621
5622 { echo "$as_me:$LINENO: result: $result" >&5
5623 echo "${ECHO_T}$result" >&6; }
5624
5625
5626 enablestring=disable
5627 defaultval=
5628 if test -z "$defaultval"; then
5629 if test x"$enablestring" = xdisable; then
5630 defaultval=yes
5631 else
5632 defaultval=no
5633 fi
5634 fi
5635
5636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5637 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5638 no_cache=0
5639 # Check whether --enable-vararg_macros was given.
5640 if test "${enable_vararg_macros+set}" = set; then
5641 enableval=$enable_vararg_macros;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5644 else
5645 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5646 fi
5647
5648 else
5649
5650 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5658
5659 fi
5660
5661
5662 eval "$wx_cv_use_vararg_macros"
5663 if test "$no_cache" != 1; then
5664 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5665 fi
5666
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_VARARG_MACROS = yes; then
5669 result=no
5670 else
5671 result=yes
5672 fi
5673 else
5674 result=$wxUSE_VARARG_MACROS
5675 fi
5676
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5679
5680
5681 enablestring=
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5684 no_cache=0
5685 # Check whether --enable-universal_binary was given.
5686 if test "${enable_universal_binary+set}" = set; then
5687 enableval=$enable_universal_binary;
5688 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5689
5690 else
5691
5692 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x ; then
5694 eval "DEFAULT_$LINE"
5695 else
5696 no_cache=1
5697 fi
5698
5699 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5700
5701 fi
5702
5703
5704 eval "$wx_cv_use_universal_binary"
5705 if test "$no_cache" != 1; then
5706 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5710 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5711
5712
5713
5714 enablestring=
5715 defaultval=
5716 if test -z "$defaultval"; then
5717 if test x"$enablestring" = xdisable; then
5718 defaultval=yes
5719 else
5720 defaultval=no
5721 fi
5722 fi
5723
5724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5725 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5726 no_cache=0
5727 # Check whether --enable-compat26 was given.
5728 if test "${enable_compat26+set}" = set; then
5729 enableval=$enable_compat26;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5732 else
5733 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5734 fi
5735
5736 else
5737
5738 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5739 if test "x$LINE" != x ; then
5740 eval "DEFAULT_$LINE"
5741 else
5742 no_cache=1
5743 fi
5744
5745 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5746
5747 fi
5748
5749
5750 eval "$wx_cv_use_compat26"
5751 if test "$no_cache" != 1; then
5752 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5753 fi
5754
5755 if test x"$enablestring" = xdisable; then
5756 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5757 result=no
5758 else
5759 result=yes
5760 fi
5761 else
5762 result=$WXWIN_COMPATIBILITY_2_6
5763 fi
5764
5765 { echo "$as_me:$LINENO: result: $result" >&5
5766 echo "${ECHO_T}$result" >&6; }
5767
5768
5769 enablestring=disable
5770 defaultval=
5771 if test -z "$defaultval"; then
5772 if test x"$enablestring" = xdisable; then
5773 defaultval=yes
5774 else
5775 defaultval=no
5776 fi
5777 fi
5778
5779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5780 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5781 no_cache=0
5782 # Check whether --enable-compat28 was given.
5783 if test "${enable_compat28+set}" = set; then
5784 enableval=$enable_compat28;
5785 if test "$enableval" = yes; then
5786 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5787 else
5788 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5789 fi
5790
5791 else
5792
5793 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5794 if test "x$LINE" != x ; then
5795 eval "DEFAULT_$LINE"
5796 else
5797 no_cache=1
5798 fi
5799
5800 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5801
5802 fi
5803
5804
5805 eval "$wx_cv_use_compat28"
5806 if test "$no_cache" != 1; then
5807 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5808 fi
5809
5810 if test x"$enablestring" = xdisable; then
5811 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5812 result=no
5813 else
5814 result=yes
5815 fi
5816 else
5817 result=$WXWIN_COMPATIBILITY_2_8
5818 fi
5819
5820 { echo "$as_me:$LINENO: result: $result" >&5
5821 echo "${ECHO_T}$result" >&6; }
5822
5823
5824
5825 enablestring=disable
5826 defaultval=
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5829 defaultval=yes
5830 else
5831 defaultval=no
5832 fi
5833 fi
5834
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5837 no_cache=0
5838 # Check whether --enable-rpath was given.
5839 if test "${enable_rpath+set}" = set; then
5840 enableval=$enable_rpath;
5841 if test "$enableval" = yes; then
5842 wx_cv_use_rpath='wxUSE_RPATH=yes'
5843 else
5844 wx_cv_use_rpath='wxUSE_RPATH=no'
5845 fi
5846
5847 else
5848
5849 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5850 if test "x$LINE" != x ; then
5851 eval "DEFAULT_$LINE"
5852 else
5853 no_cache=1
5854 fi
5855
5856 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_rpath"
5862 if test "$no_cache" != 1; then
5863 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test x"$enablestring" = xdisable; then
5867 if test $wxUSE_RPATH = yes; then
5868 result=no
5869 else
5870 result=yes
5871 fi
5872 else
5873 result=$wxUSE_RPATH
5874 fi
5875
5876 { echo "$as_me:$LINENO: result: $result" >&5
5877 echo "${ECHO_T}$result" >&6; }
5878
5879
5880
5881 enablestring=
5882 defaultval=
5883 if test -z "$defaultval"; then
5884 if test x"$enablestring" = xdisable; then
5885 defaultval=yes
5886 else
5887 defaultval=no
5888 fi
5889 fi
5890
5891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5892 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5893 no_cache=0
5894 # Check whether --enable-objc_uniquifying was given.
5895 if test "${enable_objc_uniquifying+set}" = set; then
5896 enableval=$enable_objc_uniquifying;
5897 if test "$enableval" = yes; then
5898 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5899 else
5900 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5901 fi
5902
5903 else
5904
5905 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x ; then
5907 eval "DEFAULT_$LINE"
5908 else
5909 no_cache=1
5910 fi
5911
5912 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_objc_uniquifying"
5918 if test "$no_cache" != 1; then
5919 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5920 fi
5921
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5924 result=no
5925 else
5926 result=yes
5927 fi
5928 else
5929 result=$wxUSE_OBJC_UNIQUIFYING
5930 fi
5931
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5934
5935
5936
5937 enablestring=disable
5938 defaultval=
5939 if test -z "$defaultval"; then
5940 if test x"$enablestring" = xdisable; then
5941 defaultval=yes
5942 else
5943 defaultval=no
5944 fi
5945 fi
5946
5947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5949 no_cache=0
5950 # Check whether --enable-visibility was given.
5951 if test "${enable_visibility+set}" = set; then
5952 enableval=$enable_visibility;
5953 if test "$enableval" = yes; then
5954 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5955 else
5956 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5957 fi
5958
5959 else
5960
5961 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x ; then
5963 eval "DEFAULT_$LINE"
5964 else
5965 no_cache=1
5966 fi
5967
5968 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5969
5970 fi
5971
5972
5973 eval "$wx_cv_use_visibility"
5974 if test "$no_cache" != 1; then
5975 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5976 fi
5977
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_VISIBILITY = yes; then
5980 result=no
5981 else
5982 result=yes
5983 fi
5984 else
5985 result=$wxUSE_VISIBILITY
5986 fi
5987
5988 { echo "$as_me:$LINENO: result: $result" >&5
5989 echo "${ECHO_T}$result" >&6; }
5990
5991
5992
5993
5994 enablestring=
5995 defaultval=$wxUSE_ALL_FEATURES
5996 if test -z "$defaultval"; then
5997 if test x"$enablestring" = xdisable; then
5998 defaultval=yes
5999 else
6000 defaultval=no
6001 fi
6002 fi
6003
6004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6006 no_cache=0
6007 # Check whether --enable-intl was given.
6008 if test "${enable_intl+set}" = set; then
6009 enableval=$enable_intl;
6010 if test "$enableval" = yes; then
6011 wx_cv_use_intl='wxUSE_INTL=yes'
6012 else
6013 wx_cv_use_intl='wxUSE_INTL=no'
6014 fi
6015
6016 else
6017
6018 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x ; then
6020 eval "DEFAULT_$LINE"
6021 else
6022 no_cache=1
6023 fi
6024
6025 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6026
6027 fi
6028
6029
6030 eval "$wx_cv_use_intl"
6031 if test "$no_cache" != 1; then
6032 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test x"$enablestring" = xdisable; then
6036 if test $wxUSE_INTL = yes; then
6037 result=no
6038 else
6039 result=yes
6040 fi
6041 else
6042 result=$wxUSE_INTL
6043 fi
6044
6045 { echo "$as_me:$LINENO: result: $result" >&5
6046 echo "${ECHO_T}$result" >&6; }
6047
6048
6049 enablestring=
6050 defaultval=$wxUSE_ALL_FEATURES
6051 if test -z "$defaultval"; then
6052 if test x"$enablestring" = xdisable; then
6053 defaultval=yes
6054 else
6055 defaultval=no
6056 fi
6057 fi
6058
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6061 no_cache=0
6062 # Check whether --enable-config was given.
6063 if test "${enable_config+set}" = set; then
6064 enableval=$enable_config;
6065 if test "$enableval" = yes; then
6066 wx_cv_use_config='wxUSE_CONFIG=yes'
6067 else
6068 wx_cv_use_config='wxUSE_CONFIG=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6081
6082 fi
6083
6084
6085 eval "$wx_cv_use_config"
6086 if test "$no_cache" != 1; then
6087 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_CONFIG = yes; then
6092 result=no
6093 else
6094 result=yes
6095 fi
6096 else
6097 result=$wxUSE_CONFIG
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104
6105 enablestring=
6106 defaultval=$wxUSE_ALL_FEATURES
6107 if test -z "$defaultval"; then
6108 if test x"$enablestring" = xdisable; then
6109 defaultval=yes
6110 else
6111 defaultval=no
6112 fi
6113 fi
6114
6115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6116 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6117 no_cache=0
6118 # Check whether --enable-protocols was given.
6119 if test "${enable_protocols+set}" = set; then
6120 enableval=$enable_protocols;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6123 else
6124 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6137
6138 fi
6139
6140
6141 eval "$wx_cv_use_protocols"
6142 if test "$no_cache" != 1; then
6143 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6144 fi
6145
6146 if test x"$enablestring" = xdisable; then
6147 if test $wxUSE_PROTOCOL = yes; then
6148 result=no
6149 else
6150 result=yes
6151 fi
6152 else
6153 result=$wxUSE_PROTOCOL
6154 fi
6155
6156 { echo "$as_me:$LINENO: result: $result" >&5
6157 echo "${ECHO_T}$result" >&6; }
6158
6159
6160 enablestring=
6161 defaultval=$wxUSE_ALL_FEATURES
6162 if test -z "$defaultval"; then
6163 if test x"$enablestring" = xdisable; then
6164 defaultval=yes
6165 else
6166 defaultval=no
6167 fi
6168 fi
6169
6170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6172 no_cache=0
6173 # Check whether --enable-ftp was given.
6174 if test "${enable_ftp+set}" = set; then
6175 enableval=$enable_ftp;
6176 if test "$enableval" = yes; then
6177 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6178 else
6179 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6180 fi
6181
6182 else
6183
6184 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6192
6193 fi
6194
6195
6196 eval "$wx_cv_use_ftp"
6197 if test "$no_cache" != 1; then
6198 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test x"$enablestring" = xdisable; then
6202 if test $wxUSE_PROTOCOL_FTP = yes; then
6203 result=no
6204 else
6205 result=yes
6206 fi
6207 else
6208 result=$wxUSE_PROTOCOL_FTP
6209 fi
6210
6211 { echo "$as_me:$LINENO: result: $result" >&5
6212 echo "${ECHO_T}$result" >&6; }
6213
6214
6215 enablestring=
6216 defaultval=$wxUSE_ALL_FEATURES
6217 if test -z "$defaultval"; then
6218 if test x"$enablestring" = xdisable; then
6219 defaultval=yes
6220 else
6221 defaultval=no
6222 fi
6223 fi
6224
6225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6227 no_cache=0
6228 # Check whether --enable-http was given.
6229 if test "${enable_http+set}" = set; then
6230 enableval=$enable_http;
6231 if test "$enableval" = yes; then
6232 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6233 else
6234 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6235 fi
6236
6237 else
6238
6239 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6240 if test "x$LINE" != x ; then
6241 eval "DEFAULT_$LINE"
6242 else
6243 no_cache=1
6244 fi
6245
6246 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6247
6248 fi
6249
6250
6251 eval "$wx_cv_use_http"
6252 if test "$no_cache" != 1; then
6253 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test x"$enablestring" = xdisable; then
6257 if test $wxUSE_PROTOCOL_HTTP = yes; then
6258 result=no
6259 else
6260 result=yes
6261 fi
6262 else
6263 result=$wxUSE_PROTOCOL_HTTP
6264 fi
6265
6266 { echo "$as_me:$LINENO: result: $result" >&5
6267 echo "${ECHO_T}$result" >&6; }
6268
6269
6270 enablestring=
6271 defaultval=$wxUSE_ALL_FEATURES
6272 if test -z "$defaultval"; then
6273 if test x"$enablestring" = xdisable; then
6274 defaultval=yes
6275 else
6276 defaultval=no
6277 fi
6278 fi
6279
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6282 no_cache=0
6283 # Check whether --enable-fileproto was given.
6284 if test "${enable_fileproto+set}" = set; then
6285 enableval=$enable_fileproto;
6286 if test "$enableval" = yes; then
6287 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6288 else
6289 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6302
6303 fi
6304
6305
6306 eval "$wx_cv_use_fileproto"
6307 if test "$no_cache" != 1; then
6308 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test x"$enablestring" = xdisable; then
6312 if test $wxUSE_PROTOCOL_FILE = yes; then
6313 result=no
6314 else
6315 result=yes
6316 fi
6317 else
6318 result=$wxUSE_PROTOCOL_FILE
6319 fi
6320
6321 { echo "$as_me:$LINENO: result: $result" >&5
6322 echo "${ECHO_T}$result" >&6; }
6323
6324
6325 enablestring=
6326 defaultval=$wxUSE_ALL_FEATURES
6327 if test -z "$defaultval"; then
6328 if test x"$enablestring" = xdisable; then
6329 defaultval=yes
6330 else
6331 defaultval=no
6332 fi
6333 fi
6334
6335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6337 no_cache=0
6338 # Check whether --enable-sockets was given.
6339 if test "${enable_sockets+set}" = set; then
6340 enableval=$enable_sockets;
6341 if test "$enableval" = yes; then
6342 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6343 else
6344 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6345 fi
6346
6347 else
6348
6349 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6357
6358 fi
6359
6360
6361 eval "$wx_cv_use_sockets"
6362 if test "$no_cache" != 1; then
6363 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_SOCKETS = yes; then
6368 result=no
6369 else
6370 result=yes
6371 fi
6372 else
6373 result=$wxUSE_SOCKETS
6374 fi
6375
6376 { echo "$as_me:$LINENO: result: $result" >&5
6377 echo "${ECHO_T}$result" >&6; }
6378
6379
6380 enablestring=
6381 defaultval=$wxUSE_ALL_FEATURES
6382 if test -z "$defaultval"; then
6383 if test x"$enablestring" = xdisable; then
6384 defaultval=yes
6385 else
6386 defaultval=no
6387 fi
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6391 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6392 no_cache=0
6393 # Check whether --enable-ole was given.
6394 if test "${enable_ole+set}" = set; then
6395 enableval=$enable_ole;
6396 if test "$enableval" = yes; then
6397 wx_cv_use_ole='wxUSE_OLE=yes'
6398 else
6399 wx_cv_use_ole='wxUSE_OLE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6412
6413 fi
6414
6415
6416 eval "$wx_cv_use_ole"
6417 if test "$no_cache" != 1; then
6418 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6419 fi
6420
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OLE = yes; then
6423 result=no
6424 else
6425 result=yes
6426 fi
6427 else
6428 result=$wxUSE_OLE
6429 fi
6430
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6433
6434
6435 enablestring=
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6439 defaultval=yes
6440 else
6441 defaultval=no
6442 fi
6443 fi
6444
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6447 no_cache=0
6448 # Check whether --enable-dataobj was given.
6449 if test "${enable_dataobj+set}" = set; then
6450 enableval=$enable_dataobj;
6451 if test "$enableval" = yes; then
6452 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6453 else
6454 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6455 fi
6456
6457 else
6458
6459 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x ; then
6461 eval "DEFAULT_$LINE"
6462 else
6463 no_cache=1
6464 fi
6465
6466 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_dataobj"
6472 if test "$no_cache" != 1; then
6473 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6474 fi
6475
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_DATAOBJ = yes; then
6478 result=no
6479 else
6480 result=yes
6481 fi
6482 else
6483 result=$wxUSE_DATAOBJ
6484 fi
6485
6486 { echo "$as_me:$LINENO: result: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6488
6489
6490
6491 enablestring=
6492 defaultval=$wxUSE_ALL_FEATURES
6493 if test -z "$defaultval"; then
6494 if test x"$enablestring" = xdisable; then
6495 defaultval=yes
6496 else
6497 defaultval=no
6498 fi
6499 fi
6500
6501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6503 no_cache=0
6504 # Check whether --enable-ipc was given.
6505 if test "${enable_ipc+set}" = set; then
6506 enableval=$enable_ipc;
6507 if test "$enableval" = yes; then
6508 wx_cv_use_ipc='wxUSE_IPC=yes'
6509 else
6510 wx_cv_use_ipc='wxUSE_IPC=no'
6511 fi
6512
6513 else
6514
6515 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x ; then
6517 eval "DEFAULT_$LINE"
6518 else
6519 no_cache=1
6520 fi
6521
6522 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6523
6524 fi
6525
6526
6527 eval "$wx_cv_use_ipc"
6528 if test "$no_cache" != 1; then
6529 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6530 fi
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_IPC = yes; then
6534 result=no
6535 else
6536 result=yes
6537 fi
6538 else
6539 result=$wxUSE_IPC
6540 fi
6541
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6544
6545
6546
6547 enablestring=
6548 defaultval=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x"$enablestring" = xdisable; then
6551 defaultval=yes
6552 else
6553 defaultval=no
6554 fi
6555 fi
6556
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6559 no_cache=0
6560 # Check whether --enable-baseevtloop was given.
6561 if test "${enable_baseevtloop+set}" = set; then
6562 enableval=$enable_baseevtloop;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6565 else
6566 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6579
6580 fi
6581
6582
6583 eval "$wx_cv_use_baseevtloop"
6584 if test "$no_cache" != 1; then
6585 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6586 fi
6587
6588 if test x"$enablestring" = xdisable; then
6589 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6590 result=no
6591 else
6592 result=yes
6593 fi
6594 else
6595 result=$wxUSE_CONSOLE_EVENTLOOP
6596 fi
6597
6598 { echo "$as_me:$LINENO: result: $result" >&5
6599 echo "${ECHO_T}$result" >&6; }
6600
6601
6602 enablestring=
6603 defaultval=$wxUSE_ALL_FEATURES
6604 if test -z "$defaultval"; then
6605 if test x"$enablestring" = xdisable; then
6606 defaultval=yes
6607 else
6608 defaultval=no
6609 fi
6610 fi
6611
6612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6613 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6614 no_cache=0
6615 # Check whether --enable-epoolloop was given.
6616 if test "${enable_epoolloop+set}" = set; then
6617 enableval=$enable_epoolloop;
6618 if test "$enableval" = yes; then
6619 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6620 else
6621 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6634
6635 fi
6636
6637
6638 eval "$wx_cv_use_epoolloop"
6639 if test "$no_cache" != 1; then
6640 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6641 fi
6642
6643 if test x"$enablestring" = xdisable; then
6644 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6645 result=no
6646 else
6647 result=yes
6648 fi
6649 else
6650 result=$wxUSE_EPOLL_DISPATCHER
6651 fi
6652
6653 { echo "$as_me:$LINENO: result: $result" >&5
6654 echo "${ECHO_T}$result" >&6; }
6655
6656
6657 enablestring=
6658 defaultval=$wxUSE_ALL_FEATURES
6659 if test -z "$defaultval"; then
6660 if test x"$enablestring" = xdisable; then
6661 defaultval=yes
6662 else
6663 defaultval=no
6664 fi
6665 fi
6666
6667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6668 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6669 no_cache=0
6670 # Check whether --enable-selectloop was given.
6671 if test "${enable_selectloop+set}" = set; then
6672 enableval=$enable_selectloop;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6675 else
6676 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6689
6690 fi
6691
6692
6693 eval "$wx_cv_use_selectloop"
6694 if test "$no_cache" != 1; then
6695 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6696 fi
6697
6698 if test x"$enablestring" = xdisable; then
6699 if test $wxUSE_SELECT_DISPATCHER = yes; then
6700 result=no
6701 else
6702 result=yes
6703 fi
6704 else
6705 result=$wxUSE_SELECT_DISPATCHER
6706 fi
6707
6708 { echo "$as_me:$LINENO: result: $result" >&5
6709 echo "${ECHO_T}$result" >&6; }
6710
6711
6712
6713 enablestring=
6714 defaultval=$wxUSE_ALL_FEATURES
6715 if test -z "$defaultval"; then
6716 if test x"$enablestring" = xdisable; then
6717 defaultval=yes
6718 else
6719 defaultval=no
6720 fi
6721 fi
6722
6723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6724 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6725 no_cache=0
6726 # Check whether --enable-apple_ieee was given.
6727 if test "${enable_apple_ieee+set}" = set; then
6728 enableval=$enable_apple_ieee;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6731 else
6732 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6733 fi
6734
6735 else
6736
6737 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x ; then
6739 eval "DEFAULT_$LINE"
6740 else
6741 no_cache=1
6742 fi
6743
6744 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6745
6746 fi
6747
6748
6749 eval "$wx_cv_use_apple_ieee"
6750 if test "$no_cache" != 1; then
6751 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6752 fi
6753
6754 if test x"$enablestring" = xdisable; then
6755 if test $wxUSE_APPLE_IEEE = yes; then
6756 result=no
6757 else
6758 result=yes
6759 fi
6760 else
6761 result=$wxUSE_APPLE_IEEE
6762 fi
6763
6764 { echo "$as_me:$LINENO: result: $result" >&5
6765 echo "${ECHO_T}$result" >&6; }
6766
6767
6768 enablestring=
6769 defaultval=$wxUSE_ALL_FEATURES
6770 if test -z "$defaultval"; then
6771 if test x"$enablestring" = xdisable; then
6772 defaultval=yes
6773 else
6774 defaultval=no
6775 fi
6776 fi
6777
6778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6780 no_cache=0
6781 # Check whether --enable-arcstream was given.
6782 if test "${enable_arcstream+set}" = set; then
6783 enableval=$enable_arcstream;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6786 else
6787 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6800
6801 fi
6802
6803
6804 eval "$wx_cv_use_arcstream"
6805 if test "$no_cache" != 1; then
6806 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6807 fi
6808
6809 if test x"$enablestring" = xdisable; then
6810 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6811 result=no
6812 else
6813 result=yes
6814 fi
6815 else
6816 result=$wxUSE_ARCHIVE_STREAMS
6817 fi
6818
6819 { echo "$as_me:$LINENO: result: $result" >&5
6820 echo "${ECHO_T}$result" >&6; }
6821
6822
6823 enablestring=
6824 defaultval=$wxUSE_ALL_FEATURES
6825 if test -z "$defaultval"; then
6826 if test x"$enablestring" = xdisable; then
6827 defaultval=yes
6828 else
6829 defaultval=no
6830 fi
6831 fi
6832
6833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6834 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6835 no_cache=0
6836 # Check whether --enable-base64 was given.
6837 if test "${enable_base64+set}" = set; then
6838 enableval=$enable_base64;
6839 if test "$enableval" = yes; then
6840 wx_cv_use_base64='wxUSE_BASE64=yes'
6841 else
6842 wx_cv_use_base64='wxUSE_BASE64=no'
6843 fi
6844
6845 else
6846
6847 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6848 if test "x$LINE" != x ; then
6849 eval "DEFAULT_$LINE"
6850 else
6851 no_cache=1
6852 fi
6853
6854 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6855
6856 fi
6857
6858
6859 eval "$wx_cv_use_base64"
6860 if test "$no_cache" != 1; then
6861 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6862 fi
6863
6864 if test x"$enablestring" = xdisable; then
6865 if test $wxUSE_BASE64 = yes; then
6866 result=no
6867 else
6868 result=yes
6869 fi
6870 else
6871 result=$wxUSE_BASE64
6872 fi
6873
6874 { echo "$as_me:$LINENO: result: $result" >&5
6875 echo "${ECHO_T}$result" >&6; }
6876
6877
6878 enablestring=
6879 defaultval=$wxUSE_ALL_FEATURES
6880 if test -z "$defaultval"; then
6881 if test x"$enablestring" = xdisable; then
6882 defaultval=yes
6883 else
6884 defaultval=no
6885 fi
6886 fi
6887
6888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6889 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6890 no_cache=0
6891 # Check whether --enable-backtrace was given.
6892 if test "${enable_backtrace+set}" = set; then
6893 enableval=$enable_backtrace;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6896 else
6897 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6898 fi
6899
6900 else
6901
6902 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6903 if test "x$LINE" != x ; then
6904 eval "DEFAULT_$LINE"
6905 else
6906 no_cache=1
6907 fi
6908
6909 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6910
6911 fi
6912
6913
6914 eval "$wx_cv_use_backtrace"
6915 if test "$no_cache" != 1; then
6916 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6917 fi
6918
6919 if test x"$enablestring" = xdisable; then
6920 if test $wxUSE_STACKWALKER = yes; then
6921 result=no
6922 else
6923 result=yes
6924 fi
6925 else
6926 result=$wxUSE_STACKWALKER
6927 fi
6928
6929 { echo "$as_me:$LINENO: result: $result" >&5
6930 echo "${ECHO_T}$result" >&6; }
6931
6932
6933 enablestring=
6934 defaultval=$wxUSE_ALL_FEATURES
6935 if test -z "$defaultval"; then
6936 if test x"$enablestring" = xdisable; then
6937 defaultval=yes
6938 else
6939 defaultval=no
6940 fi
6941 fi
6942
6943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6944 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6945 no_cache=0
6946 # Check whether --enable-catch_segvs was given.
6947 if test "${enable_catch_segvs+set}" = set; then
6948 enableval=$enable_catch_segvs;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6951 else
6952 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6965
6966 fi
6967
6968
6969 eval "$wx_cv_use_catch_segvs"
6970 if test "$no_cache" != 1; then
6971 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6972 fi
6973
6974 if test x"$enablestring" = xdisable; then
6975 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6976 result=no
6977 else
6978 result=yes
6979 fi
6980 else
6981 result=$wxUSE_ON_FATAL_EXCEPTION
6982 fi
6983
6984 { echo "$as_me:$LINENO: result: $result" >&5
6985 echo "${ECHO_T}$result" >&6; }
6986
6987
6988 enablestring=
6989 defaultval=$wxUSE_ALL_FEATURES
6990 if test -z "$defaultval"; then
6991 if test x"$enablestring" = xdisable; then
6992 defaultval=yes
6993 else
6994 defaultval=no
6995 fi
6996 fi
6997
6998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6999 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
7000 no_cache=0
7001 # Check whether --enable-cmdline was given.
7002 if test "${enable_cmdline+set}" = set; then
7003 enableval=$enable_cmdline;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7006 else
7007 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7008 fi
7009
7010 else
7011
7012 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7013 if test "x$LINE" != x ; then
7014 eval "DEFAULT_$LINE"
7015 else
7016 no_cache=1
7017 fi
7018
7019 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7020
7021 fi
7022
7023
7024 eval "$wx_cv_use_cmdline"
7025 if test "$no_cache" != 1; then
7026 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7027 fi
7028
7029 if test x"$enablestring" = xdisable; then
7030 if test $wxUSE_CMDLINE_PARSER = yes; then
7031 result=no
7032 else
7033 result=yes
7034 fi
7035 else
7036 result=$wxUSE_CMDLINE_PARSER
7037 fi
7038
7039 { echo "$as_me:$LINENO: result: $result" >&5
7040 echo "${ECHO_T}$result" >&6; }
7041
7042
7043 enablestring=
7044 defaultval=$wxUSE_ALL_FEATURES
7045 if test -z "$defaultval"; then
7046 if test x"$enablestring" = xdisable; then
7047 defaultval=yes
7048 else
7049 defaultval=no
7050 fi
7051 fi
7052
7053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7055 no_cache=0
7056 # Check whether --enable-datetime was given.
7057 if test "${enable_datetime+set}" = set; then
7058 enableval=$enable_datetime;
7059 if test "$enableval" = yes; then
7060 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7061 else
7062 wx_cv_use_datetime='wxUSE_DATETIME=no'
7063 fi
7064
7065 else
7066
7067 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7070 else
7071 no_cache=1
7072 fi
7073
7074 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7075
7076 fi
7077
7078
7079 eval "$wx_cv_use_datetime"
7080 if test "$no_cache" != 1; then
7081 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test x"$enablestring" = xdisable; then
7085 if test $wxUSE_DATETIME = yes; then
7086 result=no
7087 else
7088 result=yes
7089 fi
7090 else
7091 result=$wxUSE_DATETIME
7092 fi
7093
7094 { echo "$as_me:$LINENO: result: $result" >&5
7095 echo "${ECHO_T}$result" >&6; }
7096
7097
7098 enablestring=
7099 defaultval=$wxUSE_ALL_FEATURES
7100 if test -z "$defaultval"; then
7101 if test x"$enablestring" = xdisable; then
7102 defaultval=yes
7103 else
7104 defaultval=no
7105 fi
7106 fi
7107
7108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7110 no_cache=0
7111 # Check whether --enable-debugreport was given.
7112 if test "${enable_debugreport+set}" = set; then
7113 enableval=$enable_debugreport;
7114 if test "$enableval" = yes; then
7115 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7116 else
7117 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7118 fi
7119
7120 else
7121
7122 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7123 if test "x$LINE" != x ; then
7124 eval "DEFAULT_$LINE"
7125 else
7126 no_cache=1
7127 fi
7128
7129 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7130
7131 fi
7132
7133
7134 eval "$wx_cv_use_debugreport"
7135 if test "$no_cache" != 1; then
7136 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7137 fi
7138
7139 if test x"$enablestring" = xdisable; then
7140 if test $wxUSE_DEBUGREPORT = yes; then
7141 result=no
7142 else
7143 result=yes
7144 fi
7145 else
7146 result=$wxUSE_DEBUGREPORT
7147 fi
7148
7149 { echo "$as_me:$LINENO: result: $result" >&5
7150 echo "${ECHO_T}$result" >&6; }
7151
7152
7153 enablestring=
7154 defaultval=$wxUSE_ALL_FEATURES
7155 if test -z "$defaultval"; then
7156 if test x"$enablestring" = xdisable; then
7157 defaultval=yes
7158 else
7159 defaultval=no
7160 fi
7161 fi
7162
7163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7164 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7165 no_cache=0
7166 # Check whether --enable-dialupman was given.
7167 if test "${enable_dialupman+set}" = set; then
7168 enableval=$enable_dialupman;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7171 else
7172 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7173 fi
7174
7175 else
7176
7177 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7178 if test "x$LINE" != x ; then
7179 eval "DEFAULT_$LINE"
7180 else
7181 no_cache=1
7182 fi
7183
7184 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7185
7186 fi
7187
7188
7189 eval "$wx_cv_use_dialupman"
7190 if test "$no_cache" != 1; then
7191 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7192 fi
7193
7194 if test x"$enablestring" = xdisable; then
7195 if test $wxUSE_DIALUP_MANAGER = yes; then
7196 result=no
7197 else
7198 result=yes
7199 fi
7200 else
7201 result=$wxUSE_DIALUP_MANAGER
7202 fi
7203
7204 { echo "$as_me:$LINENO: result: $result" >&5
7205 echo "${ECHO_T}$result" >&6; }
7206
7207
7208 enablestring=
7209 defaultval=$wxUSE_ALL_FEATURES
7210 if test -z "$defaultval"; then
7211 if test x"$enablestring" = xdisable; then
7212 defaultval=yes
7213 else
7214 defaultval=no
7215 fi
7216 fi
7217
7218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7220 no_cache=0
7221 # Check whether --enable-dynlib was given.
7222 if test "${enable_dynlib+set}" = set; then
7223 enableval=$enable_dynlib;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7226 else
7227 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7240
7241 fi
7242
7243
7244 eval "$wx_cv_use_dynlib"
7245 if test "$no_cache" != 1; then
7246 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7247 fi
7248
7249 if test x"$enablestring" = xdisable; then
7250 if test $wxUSE_DYNLIB_CLASS = yes; then
7251 result=no
7252 else
7253 result=yes
7254 fi
7255 else
7256 result=$wxUSE_DYNLIB_CLASS
7257 fi
7258
7259 { echo "$as_me:$LINENO: result: $result" >&5
7260 echo "${ECHO_T}$result" >&6; }
7261
7262
7263 enablestring=
7264 defaultval=$wxUSE_ALL_FEATURES
7265 if test -z "$defaultval"; then
7266 if test x"$enablestring" = xdisable; then
7267 defaultval=yes
7268 else
7269 defaultval=no
7270 fi
7271 fi
7272
7273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7275 no_cache=0
7276 # Check whether --enable-dynamicloader was given.
7277 if test "${enable_dynamicloader+set}" = set; then
7278 enableval=$enable_dynamicloader;
7279 if test "$enableval" = yes; then
7280 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7281 else
7282 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7283 fi
7284
7285 else
7286
7287 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7290 else
7291 no_cache=1
7292 fi
7293
7294 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7295
7296 fi
7297
7298
7299 eval "$wx_cv_use_dynamicloader"
7300 if test "$no_cache" != 1; then
7301 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7302 fi
7303
7304 if test x"$enablestring" = xdisable; then
7305 if test $wxUSE_DYNAMIC_LOADER = yes; then
7306 result=no
7307 else
7308 result=yes
7309 fi
7310 else
7311 result=$wxUSE_DYNAMIC_LOADER
7312 fi
7313
7314 { echo "$as_me:$LINENO: result: $result" >&5
7315 echo "${ECHO_T}$result" >&6; }
7316
7317
7318 enablestring=
7319 defaultval=$wxUSE_ALL_FEATURES
7320 if test -z "$defaultval"; then
7321 if test x"$enablestring" = xdisable; then
7322 defaultval=yes
7323 else
7324 defaultval=no
7325 fi
7326 fi
7327
7328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7329 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7330 no_cache=0
7331 # Check whether --enable-exceptions was given.
7332 if test "${enable_exceptions+set}" = set; then
7333 enableval=$enable_exceptions;
7334 if test "$enableval" = yes; then
7335 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7336 else
7337 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7338 fi
7339
7340 else
7341
7342 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x ; then
7344 eval "DEFAULT_$LINE"
7345 else
7346 no_cache=1
7347 fi
7348
7349 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7350
7351 fi
7352
7353
7354 eval "$wx_cv_use_exceptions"
7355 if test "$no_cache" != 1; then
7356 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7357 fi
7358
7359 if test x"$enablestring" = xdisable; then
7360 if test $wxUSE_EXCEPTIONS = yes; then
7361 result=no
7362 else
7363 result=yes
7364 fi
7365 else
7366 result=$wxUSE_EXCEPTIONS
7367 fi
7368
7369 { echo "$as_me:$LINENO: result: $result" >&5
7370 echo "${ECHO_T}$result" >&6; }
7371
7372
7373 enablestring=
7374 defaultval=$wxUSE_ALL_FEATURES
7375 if test -z "$defaultval"; then
7376 if test x"$enablestring" = xdisable; then
7377 defaultval=yes
7378 else
7379 defaultval=no
7380 fi
7381 fi
7382
7383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7384 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7385 no_cache=0
7386 # Check whether --enable-ffile was given.
7387 if test "${enable_ffile+set}" = set; then
7388 enableval=$enable_ffile;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_ffile='wxUSE_FFILE=yes'
7391 else
7392 wx_cv_use_ffile='wxUSE_FFILE=no'
7393 fi
7394
7395 else
7396
7397 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7398 if test "x$LINE" != x ; then
7399 eval "DEFAULT_$LINE"
7400 else
7401 no_cache=1
7402 fi
7403
7404 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7405
7406 fi
7407
7408
7409 eval "$wx_cv_use_ffile"
7410 if test "$no_cache" != 1; then
7411 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7412 fi
7413
7414 if test x"$enablestring" = xdisable; then
7415 if test $wxUSE_FFILE = yes; then
7416 result=no
7417 else
7418 result=yes
7419 fi
7420 else
7421 result=$wxUSE_FFILE
7422 fi
7423
7424 { echo "$as_me:$LINENO: result: $result" >&5
7425 echo "${ECHO_T}$result" >&6; }
7426
7427
7428 enablestring=
7429 defaultval=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x"$enablestring" = xdisable; then
7432 defaultval=yes
7433 else
7434 defaultval=no
7435 fi
7436 fi
7437
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7440 no_cache=0
7441 # Check whether --enable-file was given.
7442 if test "${enable_file+set}" = set; then
7443 enableval=$enable_file;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_file='wxUSE_FILE=yes'
7446 else
7447 wx_cv_use_file='wxUSE_FILE=no'
7448 fi
7449
7450 else
7451
7452 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7455 else
7456 no_cache=1
7457 fi
7458
7459 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7460
7461 fi
7462
7463
7464 eval "$wx_cv_use_file"
7465 if test "$no_cache" != 1; then
7466 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test x"$enablestring" = xdisable; then
7470 if test $wxUSE_FILE = yes; then
7471 result=no
7472 else
7473 result=yes
7474 fi
7475 else
7476 result=$wxUSE_FILE
7477 fi
7478
7479 { echo "$as_me:$LINENO: result: $result" >&5
7480 echo "${ECHO_T}$result" >&6; }
7481
7482
7483 enablestring=
7484 defaultval=$wxUSE_ALL_FEATURES
7485 if test -z "$defaultval"; then
7486 if test x"$enablestring" = xdisable; then
7487 defaultval=yes
7488 else
7489 defaultval=no
7490 fi
7491 fi
7492
7493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7494 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7495 no_cache=0
7496 # Check whether --enable-filesystem was given.
7497 if test "${enable_filesystem+set}" = set; then
7498 enableval=$enable_filesystem;
7499 if test "$enableval" = yes; then
7500 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7501 else
7502 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7503 fi
7504
7505 else
7506
7507 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7508 if test "x$LINE" != x ; then
7509 eval "DEFAULT_$LINE"
7510 else
7511 no_cache=1
7512 fi
7513
7514 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7515
7516 fi
7517
7518
7519 eval "$wx_cv_use_filesystem"
7520 if test "$no_cache" != 1; then
7521 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7522 fi
7523
7524 if test x"$enablestring" = xdisable; then
7525 if test $wxUSE_FILESYSTEM = yes; then
7526 result=no
7527 else
7528 result=yes
7529 fi
7530 else
7531 result=$wxUSE_FILESYSTEM
7532 fi
7533
7534 { echo "$as_me:$LINENO: result: $result" >&5
7535 echo "${ECHO_T}$result" >&6; }
7536
7537
7538 enablestring=
7539 defaultval=$wxUSE_ALL_FEATURES
7540 if test -z "$defaultval"; then
7541 if test x"$enablestring" = xdisable; then
7542 defaultval=yes
7543 else
7544 defaultval=no
7545 fi
7546 fi
7547
7548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7550 no_cache=0
7551 # Check whether --enable-fontenum was given.
7552 if test "${enable_fontenum+set}" = set; then
7553 enableval=$enable_fontenum;
7554 if test "$enableval" = yes; then
7555 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7556 else
7557 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7558 fi
7559
7560 else
7561
7562 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x ; then
7564 eval "DEFAULT_$LINE"
7565 else
7566 no_cache=1
7567 fi
7568
7569 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7570
7571 fi
7572
7573
7574 eval "$wx_cv_use_fontenum"
7575 if test "$no_cache" != 1; then
7576 echo $wx_cv_use_fontenum >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test x"$enablestring" = xdisable; then
7580 if test $wxUSE_FONTENUM = yes; then
7581 result=no
7582 else
7583 result=yes
7584 fi
7585 else
7586 result=$wxUSE_FONTENUM
7587 fi
7588
7589 { echo "$as_me:$LINENO: result: $result" >&5
7590 echo "${ECHO_T}$result" >&6; }
7591
7592
7593 enablestring=
7594 defaultval=$wxUSE_ALL_FEATURES
7595 if test -z "$defaultval"; then
7596 if test x"$enablestring" = xdisable; then
7597 defaultval=yes
7598 else
7599 defaultval=no
7600 fi
7601 fi
7602
7603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7604 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7605 no_cache=0
7606 # Check whether --enable-fontmap was given.
7607 if test "${enable_fontmap+set}" = set; then
7608 enableval=$enable_fontmap;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7611 else
7612 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7613 fi
7614
7615 else
7616
7617 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7618 if test "x$LINE" != x ; then
7619 eval "DEFAULT_$LINE"
7620 else
7621 no_cache=1
7622 fi
7623
7624 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7625
7626 fi
7627
7628
7629 eval "$wx_cv_use_fontmap"
7630 if test "$no_cache" != 1; then
7631 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7632 fi
7633
7634 if test x"$enablestring" = xdisable; then
7635 if test $wxUSE_FONTMAP = yes; then
7636 result=no
7637 else
7638 result=yes
7639 fi
7640 else
7641 result=$wxUSE_FONTMAP
7642 fi
7643
7644 { echo "$as_me:$LINENO: result: $result" >&5
7645 echo "${ECHO_T}$result" >&6; }
7646
7647
7648 enablestring=
7649 defaultval=$wxUSE_ALL_FEATURES
7650 if test -z "$defaultval"; then
7651 if test x"$enablestring" = xdisable; then
7652 defaultval=yes
7653 else
7654 defaultval=no
7655 fi
7656 fi
7657
7658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7660 no_cache=0
7661 # Check whether --enable-fs_archive was given.
7662 if test "${enable_fs_archive+set}" = set; then
7663 enableval=$enable_fs_archive;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7666 else
7667 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7668 fi
7669
7670 else
7671
7672 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7673 if test "x$LINE" != x ; then
7674 eval "DEFAULT_$LINE"
7675 else
7676 no_cache=1
7677 fi
7678
7679 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7680
7681 fi
7682
7683
7684 eval "$wx_cv_use_fs_archive"
7685 if test "$no_cache" != 1; then
7686 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7687 fi
7688
7689 if test x"$enablestring" = xdisable; then
7690 if test $wxUSE_FS_ARCHIVE = yes; then
7691 result=no
7692 else
7693 result=yes
7694 fi
7695 else
7696 result=$wxUSE_FS_ARCHIVE
7697 fi
7698
7699 { echo "$as_me:$LINENO: result: $result" >&5
7700 echo "${ECHO_T}$result" >&6; }
7701
7702
7703 enablestring=
7704 defaultval=$wxUSE_ALL_FEATURES
7705 if test -z "$defaultval"; then
7706 if test x"$enablestring" = xdisable; then
7707 defaultval=yes
7708 else
7709 defaultval=no
7710 fi
7711 fi
7712
7713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7715 no_cache=0
7716 # Check whether --enable-fs_inet was given.
7717 if test "${enable_fs_inet+set}" = set; then
7718 enableval=$enable_fs_inet;
7719 if test "$enableval" = yes; then
7720 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7721 else
7722 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7723 fi
7724
7725 else
7726
7727 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7735
7736 fi
7737
7738
7739 eval "$wx_cv_use_fs_inet"
7740 if test "$no_cache" != 1; then
7741 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test x"$enablestring" = xdisable; then
7745 if test $wxUSE_FS_INET = yes; then
7746 result=no
7747 else
7748 result=yes
7749 fi
7750 else
7751 result=$wxUSE_FS_INET
7752 fi
7753
7754 { echo "$as_me:$LINENO: result: $result" >&5
7755 echo "${ECHO_T}$result" >&6; }
7756
7757
7758 enablestring=
7759 defaultval=$wxUSE_ALL_FEATURES
7760 if test -z "$defaultval"; then
7761 if test x"$enablestring" = xdisable; then
7762 defaultval=yes
7763 else
7764 defaultval=no
7765 fi
7766 fi
7767
7768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7769 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7770 no_cache=0
7771 # Check whether --enable-fs_zip was given.
7772 if test "${enable_fs_zip+set}" = set; then
7773 enableval=$enable_fs_zip;
7774 if test "$enableval" = yes; then
7775 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7776 else
7777 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7778 fi
7779
7780 else
7781
7782 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7783 if test "x$LINE" != x ; then
7784 eval "DEFAULT_$LINE"
7785 else
7786 no_cache=1
7787 fi
7788
7789 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7790
7791 fi
7792
7793
7794 eval "$wx_cv_use_fs_zip"
7795 if test "$no_cache" != 1; then
7796 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7797 fi
7798
7799 if test x"$enablestring" = xdisable; then
7800 if test $wxUSE_FS_ZIP = yes; then
7801 result=no
7802 else
7803 result=yes
7804 fi
7805 else
7806 result=$wxUSE_FS_ZIP
7807 fi
7808
7809 { echo "$as_me:$LINENO: result: $result" >&5
7810 echo "${ECHO_T}$result" >&6; }
7811
7812
7813 enablestring=
7814 defaultval=$wxUSE_ALL_FEATURES
7815 if test -z "$defaultval"; then
7816 if test x"$enablestring" = xdisable; then
7817 defaultval=yes
7818 else
7819 defaultval=no
7820 fi
7821 fi
7822
7823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7825 no_cache=0
7826 # Check whether --enable-geometry was given.
7827 if test "${enable_geometry+set}" = set; then
7828 enableval=$enable_geometry;
7829 if test "$enableval" = yes; then
7830 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7831 else
7832 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7833 fi
7834
7835 else
7836
7837 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7840 else
7841 no_cache=1
7842 fi
7843
7844 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7845
7846 fi
7847
7848
7849 eval "$wx_cv_use_geometry"
7850 if test "$no_cache" != 1; then
7851 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test x"$enablestring" = xdisable; then
7855 if test $wxUSE_GEOMETRY = yes; then
7856 result=no
7857 else
7858 result=yes
7859 fi
7860 else
7861 result=$wxUSE_GEOMETRY
7862 fi
7863
7864 { echo "$as_me:$LINENO: result: $result" >&5
7865 echo "${ECHO_T}$result" >&6; }
7866
7867
7868 enablestring=
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7872 defaultval=yes
7873 else
7874 defaultval=no
7875 fi
7876 fi
7877
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7880 no_cache=0
7881 # Check whether --enable-log was given.
7882 if test "${enable_log+set}" = set; then
7883 enableval=$enable_log;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_log='wxUSE_LOG=yes'
7886 else
7887 wx_cv_use_log='wxUSE_LOG=no'
7888 fi
7889
7890 else
7891
7892 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x ; then
7894 eval "DEFAULT_$LINE"
7895 else
7896 no_cache=1
7897 fi
7898
7899 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7900
7901 fi
7902
7903
7904 eval "$wx_cv_use_log"
7905 if test "$no_cache" != 1; then
7906 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7907 fi
7908
7909 if test x"$enablestring" = xdisable; then
7910 if test $wxUSE_LOG = yes; then
7911 result=no
7912 else
7913 result=yes
7914 fi
7915 else
7916 result=$wxUSE_LOG
7917 fi
7918
7919 { echo "$as_me:$LINENO: result: $result" >&5
7920 echo "${ECHO_T}$result" >&6; }
7921
7922
7923 enablestring=
7924 defaultval=$wxUSE_ALL_FEATURES
7925 if test -z "$defaultval"; then
7926 if test x"$enablestring" = xdisable; then
7927 defaultval=yes
7928 else
7929 defaultval=no
7930 fi
7931 fi
7932
7933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7934 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7935 no_cache=0
7936 # Check whether --enable-longlong was given.
7937 if test "${enable_longlong+set}" = set; then
7938 enableval=$enable_longlong;
7939 if test "$enableval" = yes; then
7940 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7941 else
7942 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7943 fi
7944
7945 else
7946
7947 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7948 if test "x$LINE" != x ; then
7949 eval "DEFAULT_$LINE"
7950 else
7951 no_cache=1
7952 fi
7953
7954 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7955
7956 fi
7957
7958
7959 eval "$wx_cv_use_longlong"
7960 if test "$no_cache" != 1; then
7961 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7962 fi
7963
7964 if test x"$enablestring" = xdisable; then
7965 if test $wxUSE_LONGLONG = yes; then
7966 result=no
7967 else
7968 result=yes
7969 fi
7970 else
7971 result=$wxUSE_LONGLONG
7972 fi
7973
7974 { echo "$as_me:$LINENO: result: $result" >&5
7975 echo "${ECHO_T}$result" >&6; }
7976
7977
7978 enablestring=
7979 defaultval=$wxUSE_ALL_FEATURES
7980 if test -z "$defaultval"; then
7981 if test x"$enablestring" = xdisable; then
7982 defaultval=yes
7983 else
7984 defaultval=no
7985 fi
7986 fi
7987
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7990 no_cache=0
7991 # Check whether --enable-mimetype was given.
7992 if test "${enable_mimetype+set}" = set; then
7993 enableval=$enable_mimetype;
7994 if test "$enableval" = yes; then
7995 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7996 else
7997 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8010
8011 fi
8012
8013
8014 eval "$wx_cv_use_mimetype"
8015 if test "$no_cache" != 1; then
8016 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test x"$enablestring" = xdisable; then
8020 if test $wxUSE_MIMETYPE = yes; then
8021 result=no
8022 else
8023 result=yes
8024 fi
8025 else
8026 result=$wxUSE_MIMETYPE
8027 fi
8028
8029 { echo "$as_me:$LINENO: result: $result" >&5
8030 echo "${ECHO_T}$result" >&6; }
8031
8032
8033 enablestring=
8034 defaultval=$wxUSE_ALL_FEATURES
8035 if test -z "$defaultval"; then
8036 if test x"$enablestring" = xdisable; then
8037 defaultval=yes
8038 else
8039 defaultval=no
8040 fi
8041 fi
8042
8043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
8044 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
8045 no_cache=0
8046 # Check whether --enable-snglinst was given.
8047 if test "${enable_snglinst+set}" = set; then
8048 enableval=$enable_snglinst;
8049 if test "$enableval" = yes; then
8050 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8051 else
8052 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8053 fi
8054
8055 else
8056
8057 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8060 else
8061 no_cache=1
8062 fi
8063
8064 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8065
8066 fi
8067
8068
8069 eval "$wx_cv_use_snglinst"
8070 if test "$no_cache" != 1; then
8071 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8072 fi
8073
8074 if test x"$enablestring" = xdisable; then
8075 if test $wxUSE_SNGLINST_CHECKER = yes; then
8076 result=no
8077 else
8078 result=yes
8079 fi
8080 else
8081 result=$wxUSE_SNGLINST_CHECKER
8082 fi
8083
8084 { echo "$as_me:$LINENO: result: $result" >&5
8085 echo "${ECHO_T}$result" >&6; }
8086
8087
8088 enablestring=
8089 defaultval=$wxUSE_ALL_FEATURES
8090 if test -z "$defaultval"; then
8091 if test x"$enablestring" = xdisable; then
8092 defaultval=yes
8093 else
8094 defaultval=no
8095 fi
8096 fi
8097
8098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8099 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8100 no_cache=0
8101 # Check whether --enable-stdpaths was given.
8102 if test "${enable_stdpaths+set}" = set; then
8103 enableval=$enable_stdpaths;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8106 else
8107 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8108 fi
8109
8110 else
8111
8112 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x ; then
8114 eval "DEFAULT_$LINE"
8115 else
8116 no_cache=1
8117 fi
8118
8119 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8120
8121 fi
8122
8123
8124 eval "$wx_cv_use_stdpaths"
8125 if test "$no_cache" != 1; then
8126 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8127 fi
8128
8129 if test x"$enablestring" = xdisable; then
8130 if test $wxUSE_STDPATHS = yes; then
8131 result=no
8132 else
8133 result=yes
8134 fi
8135 else
8136 result=$wxUSE_STDPATHS
8137 fi
8138
8139 { echo "$as_me:$LINENO: result: $result" >&5
8140 echo "${ECHO_T}$result" >&6; }
8141
8142
8143 enablestring=
8144 defaultval=$wxUSE_ALL_FEATURES
8145 if test -z "$defaultval"; then
8146 if test x"$enablestring" = xdisable; then
8147 defaultval=yes
8148 else
8149 defaultval=no
8150 fi
8151 fi
8152
8153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8155 no_cache=0
8156 # Check whether --enable-stopwatch was given.
8157 if test "${enable_stopwatch+set}" = set; then
8158 enableval=$enable_stopwatch;
8159 if test "$enableval" = yes; then
8160 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8161 else
8162 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8175
8176 fi
8177
8178
8179 eval "$wx_cv_use_stopwatch"
8180 if test "$no_cache" != 1; then
8181 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test x"$enablestring" = xdisable; then
8185 if test $wxUSE_STOPWATCH = yes; then
8186 result=no
8187 else
8188 result=yes
8189 fi
8190 else
8191 result=$wxUSE_STOPWATCH
8192 fi
8193
8194 { echo "$as_me:$LINENO: result: $result" >&5
8195 echo "${ECHO_T}$result" >&6; }
8196
8197
8198 enablestring=
8199 defaultval=$wxUSE_ALL_FEATURES
8200 if test -z "$defaultval"; then
8201 if test x"$enablestring" = xdisable; then
8202 defaultval=yes
8203 else
8204 defaultval=no
8205 fi
8206 fi
8207
8208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8210 no_cache=0
8211 # Check whether --enable-streams was given.
8212 if test "${enable_streams+set}" = set; then
8213 enableval=$enable_streams;
8214 if test "$enableval" = yes; then
8215 wx_cv_use_streams='wxUSE_STREAMS=yes'
8216 else
8217 wx_cv_use_streams='wxUSE_STREAMS=no'
8218 fi
8219
8220 else
8221
8222 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8223 if test "x$LINE" != x ; then
8224 eval "DEFAULT_$LINE"
8225 else
8226 no_cache=1
8227 fi
8228
8229 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8230
8231 fi
8232
8233
8234 eval "$wx_cv_use_streams"
8235 if test "$no_cache" != 1; then
8236 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8237 fi
8238
8239 if test x"$enablestring" = xdisable; then
8240 if test $wxUSE_STREAMS = yes; then
8241 result=no
8242 else
8243 result=yes
8244 fi
8245 else
8246 result=$wxUSE_STREAMS
8247 fi
8248
8249 { echo "$as_me:$LINENO: result: $result" >&5
8250 echo "${ECHO_T}$result" >&6; }
8251
8252
8253 enablestring=
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8257 defaultval=yes
8258 else
8259 defaultval=no
8260 fi
8261 fi
8262
8263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8265 no_cache=0
8266 # Check whether --enable-system_options was given.
8267 if test "${enable_system_options+set}" = set; then
8268 enableval=$enable_system_options;
8269 if test "$enableval" = yes; then
8270 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8271 else
8272 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8273 fi
8274
8275 else
8276
8277 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8278 if test "x$LINE" != x ; then
8279 eval "DEFAULT_$LINE"
8280 else
8281 no_cache=1
8282 fi
8283
8284 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_system_options"
8290 if test "$no_cache" != 1; then
8291 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8296 result=no
8297 else
8298 result=yes
8299 fi
8300 else
8301 result=$wxUSE_SYSTEM_OPTIONS
8302 fi
8303
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8320 no_cache=0
8321 # Check whether --enable-tarstream was given.
8322 if test "${enable_tarstream+set}" = set; then
8323 enableval=$enable_tarstream;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8326 else
8327 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8340
8341 fi
8342
8343
8344 eval "$wx_cv_use_tarstream"
8345 if test "$no_cache" != 1; then
8346 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8347 fi
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_TARSTREAM = yes; then
8351 result=no
8352 else
8353 result=yes
8354 fi
8355 else
8356 result=$wxUSE_TARSTREAM
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8375 no_cache=0
8376 # Check whether --enable-textbuf was given.
8377 if test "${enable_textbuf+set}" = set; then
8378 enableval=$enable_textbuf;
8379 if test "$enableval" = yes; then
8380 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8381 else
8382 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8383 fi
8384
8385 else
8386
8387 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 else
8391 no_cache=1
8392 fi
8393
8394 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8395
8396 fi
8397
8398
8399 eval "$wx_cv_use_textbuf"
8400 if test "$no_cache" != 1; then
8401 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_TEXTBUFFER = yes; then
8406 result=no
8407 else
8408 result=yes
8409 fi
8410 else
8411 result=$wxUSE_TEXTBUFFER
8412 fi
8413
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8416
8417
8418 enablestring=
8419 defaultval=$wxUSE_ALL_FEATURES
8420 if test -z "$defaultval"; then
8421 if test x"$enablestring" = xdisable; then
8422 defaultval=yes
8423 else
8424 defaultval=no
8425 fi
8426 fi
8427
8428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8429 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8430 no_cache=0
8431 # Check whether --enable-textfile was given.
8432 if test "${enable_textfile+set}" = set; then
8433 enableval=$enable_textfile;
8434 if test "$enableval" = yes; then
8435 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8436 else
8437 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8450
8451 fi
8452
8453
8454 eval "$wx_cv_use_textfile"
8455 if test "$no_cache" != 1; then
8456 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8457 fi
8458
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_TEXTFILE = yes; then
8461 result=no
8462 else
8463 result=yes
8464 fi
8465 else
8466 result=$wxUSE_TEXTFILE
8467 fi
8468
8469 { echo "$as_me:$LINENO: result: $result" >&5
8470 echo "${ECHO_T}$result" >&6; }
8471
8472
8473 enablestring=
8474 defaultval=$wxUSE_ALL_FEATURES
8475 if test -z "$defaultval"; then
8476 if test x"$enablestring" = xdisable; then
8477 defaultval=yes
8478 else
8479 defaultval=no
8480 fi
8481 fi
8482
8483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8485 no_cache=0
8486 # Check whether --enable-timer was given.
8487 if test "${enable_timer+set}" = set; then
8488 enableval=$enable_timer;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_timer='wxUSE_TIMER=yes'
8491 else
8492 wx_cv_use_timer='wxUSE_TIMER=no'
8493 fi
8494
8495 else
8496
8497 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8498 if test "x$LINE" != x ; then
8499 eval "DEFAULT_$LINE"
8500 else
8501 no_cache=1
8502 fi
8503
8504 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8505
8506 fi
8507
8508
8509 eval "$wx_cv_use_timer"
8510 if test "$no_cache" != 1; then
8511 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8512 fi
8513
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_TIMER = yes; then
8516 result=no
8517 else
8518 result=yes
8519 fi
8520 else
8521 result=$wxUSE_TIMER
8522 fi
8523
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8526
8527
8528 enablestring=
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8532 defaultval=yes
8533 else
8534 defaultval=no
8535 fi
8536 fi
8537
8538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8540 no_cache=0
8541 # Check whether --enable-sound was given.
8542 if test "${enable_sound+set}" = set; then
8543 enableval=$enable_sound;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_sound='wxUSE_SOUND=yes'
8546 else
8547 wx_cv_use_sound='wxUSE_SOUND=no'
8548 fi
8549
8550 else
8551
8552 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x ; then
8554 eval "DEFAULT_$LINE"
8555 else
8556 no_cache=1
8557 fi
8558
8559 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8560
8561 fi
8562
8563
8564 eval "$wx_cv_use_sound"
8565 if test "$no_cache" != 1; then
8566 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8567 fi
8568
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_SOUND = yes; then
8571 result=no
8572 else
8573 result=yes
8574 fi
8575 else
8576 result=$wxUSE_SOUND
8577 fi
8578
8579 { echo "$as_me:$LINENO: result: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8581
8582
8583 enablestring=
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8587 defaultval=yes
8588 else
8589 defaultval=no
8590 fi
8591 fi
8592
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8595 no_cache=0
8596 # Check whether --enable-mediactrl was given.
8597 if test "${enable_mediactrl+set}" = set; then
8598 enableval=$enable_mediactrl;
8599 if test "$enableval" = yes; then
8600 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8601 else
8602 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8603 fi
8604
8605 else
8606
8607 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8610 else
8611 no_cache=1
8612 fi
8613
8614 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8615
8616 fi
8617
8618
8619 eval "$wx_cv_use_mediactrl"
8620 if test "$no_cache" != 1; then
8621 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test x"$enablestring" = xdisable; then
8625 if test $wxUSE_MEDIACTRL = yes; then
8626 result=no
8627 else
8628 result=yes
8629 fi
8630 else
8631 result=$wxUSE_MEDIACTRL
8632 fi
8633
8634 { echo "$as_me:$LINENO: result: $result" >&5
8635 echo "${ECHO_T}$result" >&6; }
8636
8637
8638 enablestring=
8639 defaultval=$wxUSE_ALL_FEATURES
8640 if test -z "$defaultval"; then
8641 if test x"$enablestring" = xdisable; then
8642 defaultval=yes
8643 else
8644 defaultval=no
8645 fi
8646 fi
8647
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8650 no_cache=0
8651 # Check whether --enable-gstreamer8 was given.
8652 if test "${enable_gstreamer8+set}" = set; then
8653 enableval=$enable_gstreamer8;
8654 if test "$enableval" = yes; then
8655 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8656 else
8657 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8670
8671 fi
8672
8673
8674 eval "$wx_cv_use_gstreamer8"
8675 if test "$no_cache" != 1; then
8676 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test x"$enablestring" = xdisable; then
8680 if test $wxUSE_GSTREAMER8 = yes; then
8681 result=no
8682 else
8683 result=yes
8684 fi
8685 else
8686 result=$wxUSE_GSTREAMER8
8687 fi
8688
8689 { echo "$as_me:$LINENO: result: $result" >&5
8690 echo "${ECHO_T}$result" >&6; }
8691
8692
8693 enablestring=
8694 defaultval=$wxUSE_ALL_FEATURES
8695 if test -z "$defaultval"; then
8696 if test x"$enablestring" = xdisable; then
8697 defaultval=yes
8698 else
8699 defaultval=no
8700 fi
8701 fi
8702
8703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8705 no_cache=0
8706 # Check whether --enable-printfposparam was given.
8707 if test "${enable_printfposparam+set}" = set; then
8708 enableval=$enable_printfposparam;
8709 if test "$enableval" = yes; then
8710 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8711 else
8712 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8713 fi
8714
8715 else
8716
8717 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8718 if test "x$LINE" != x ; then
8719 eval "DEFAULT_$LINE"
8720 else
8721 no_cache=1
8722 fi
8723
8724 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_printfposparam"
8730 if test "$no_cache" != 1; then
8731 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8732 fi
8733
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8736 result=no
8737 else
8738 result=yes
8739 fi
8740 else
8741 result=$wxUSE_PRINTF_POS_PARAMS
8742 fi
8743
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8760 no_cache=0
8761 # Check whether --enable-zipstream was given.
8762 if test "${enable_zipstream+set}" = set; then
8763 enableval=$enable_zipstream;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8766 else
8767 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8768 fi
8769
8770 else
8771
8772 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 else
8776 no_cache=1
8777 fi
8778
8779 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8780
8781 fi
8782
8783
8784 eval "$wx_cv_use_zipstream"
8785 if test "$no_cache" != 1; then
8786 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8787 fi
8788
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_ZIPSTREAM = yes; then
8791 result=no
8792 else
8793 result=yes
8794 fi
8795 else
8796 result=$wxUSE_ZIPSTREAM
8797 fi
8798
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8801
8802
8803
8804 enablestring=
8805 defaultval=$wxUSE_ALL_FEATURES
8806 if test -z "$defaultval"; then
8807 if test x"$enablestring" = xdisable; then
8808 defaultval=yes
8809 else
8810 defaultval=no
8811 fi
8812 fi
8813
8814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8816 no_cache=0
8817 # Check whether --enable-url was given.
8818 if test "${enable_url+set}" = set; then
8819 enableval=$enable_url;
8820 if test "$enableval" = yes; then
8821 wx_cv_use_url='wxUSE_URL=yes'
8822 else
8823 wx_cv_use_url='wxUSE_URL=no'
8824 fi
8825
8826 else
8827
8828 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x ; then
8830 eval "DEFAULT_$LINE"
8831 else
8832 no_cache=1
8833 fi
8834
8835 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8836
8837 fi
8838
8839
8840 eval "$wx_cv_use_url"
8841 if test "$no_cache" != 1; then
8842 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test x"$enablestring" = xdisable; then
8846 if test $wxUSE_URL = yes; then
8847 result=no
8848 else
8849 result=yes
8850 fi
8851 else
8852 result=$wxUSE_URL
8853 fi
8854
8855 { echo "$as_me:$LINENO: result: $result" >&5
8856 echo "${ECHO_T}$result" >&6; }
8857
8858
8859 enablestring=
8860 defaultval=$wxUSE_ALL_FEATURES
8861 if test -z "$defaultval"; then
8862 if test x"$enablestring" = xdisable; then
8863 defaultval=yes
8864 else
8865 defaultval=no
8866 fi
8867 fi
8868
8869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8870 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8871 no_cache=0
8872 # Check whether --enable-variant was given.
8873 if test "${enable_variant+set}" = set; then
8874 enableval=$enable_variant;
8875 if test "$enableval" = yes; then
8876 wx_cv_use_variant='wxUSE_VARIANT=yes'
8877 else
8878 wx_cv_use_variant='wxUSE_VARIANT=no'
8879 fi
8880
8881 else
8882
8883 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8891
8892 fi
8893
8894
8895 eval "$wx_cv_use_variant"
8896 if test "$no_cache" != 1; then
8897 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8898 fi
8899
8900 if test x"$enablestring" = xdisable; then
8901 if test $wxUSE_VARIANT = yes; then
8902 result=no
8903 else
8904 result=yes
8905 fi
8906 else
8907 result=$wxUSE_VARIANT
8908 fi
8909
8910 { echo "$as_me:$LINENO: result: $result" >&5
8911 echo "${ECHO_T}$result" >&6; }
8912
8913
8914 enablestring=
8915 defaultval=$wxUSE_ALL_FEATURES
8916 if test -z "$defaultval"; then
8917 if test x"$enablestring" = xdisable; then
8918 defaultval=yes
8919 else
8920 defaultval=no
8921 fi
8922 fi
8923
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8926 no_cache=0
8927 # Check whether --enable-protocol was given.
8928 if test "${enable_protocol+set}" = set; then
8929 enableval=$enable_protocol;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8932 else
8933 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8946
8947 fi
8948
8949
8950 eval "$wx_cv_use_protocol"
8951 if test "$no_cache" != 1; then
8952 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_PROTOCOL = yes; then
8957 result=no
8958 else
8959 result=yes
8960 fi
8961 else
8962 result=$wxUSE_PROTOCOL
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8981 no_cache=0
8982 # Check whether --enable-protocol_http was given.
8983 if test "${enable_protocol_http+set}" = set; then
8984 enableval=$enable_protocol_http;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8987 else
8988 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9001
9002 fi
9003
9004
9005 eval "$wx_cv_use_protocol_http"
9006 if test "$no_cache" != 1; then
9007 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test x"$enablestring" = xdisable; then
9011 if test $wxUSE_PROTOCOL_HTTP = yes; then
9012 result=no
9013 else
9014 result=yes
9015 fi
9016 else
9017 result=$wxUSE_PROTOCOL_HTTP
9018 fi
9019
9020 { echo "$as_me:$LINENO: result: $result" >&5
9021 echo "${ECHO_T}$result" >&6; }
9022
9023
9024 enablestring=
9025 defaultval=$wxUSE_ALL_FEATURES
9026 if test -z "$defaultval"; then
9027 if test x"$enablestring" = xdisable; then
9028 defaultval=yes
9029 else
9030 defaultval=no
9031 fi
9032 fi
9033
9034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
9036 no_cache=0
9037 # Check whether --enable-protocol_ftp was given.
9038 if test "${enable_protocol_ftp+set}" = set; then
9039 enableval=$enable_protocol_ftp;
9040 if test "$enableval" = yes; then
9041 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9042 else
9043 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9044 fi
9045
9046 else
9047
9048 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
9049 if test "x$LINE" != x ; then
9050 eval "DEFAULT_$LINE"
9051 else
9052 no_cache=1
9053 fi
9054
9055 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9056
9057 fi
9058
9059
9060 eval "$wx_cv_use_protocol_ftp"
9061 if test "$no_cache" != 1; then
9062 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test x"$enablestring" = xdisable; then
9066 if test $wxUSE_PROTOCOL_FTP = yes; then
9067 result=no
9068 else
9069 result=yes
9070 fi
9071 else
9072 result=$wxUSE_PROTOCOL_FTP
9073 fi
9074
9075 { echo "$as_me:$LINENO: result: $result" >&5
9076 echo "${ECHO_T}$result" >&6; }
9077
9078
9079 enablestring=
9080 defaultval=$wxUSE_ALL_FEATURES
9081 if test -z "$defaultval"; then
9082 if test x"$enablestring" = xdisable; then
9083 defaultval=yes
9084 else
9085 defaultval=no
9086 fi
9087 fi
9088
9089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9091 no_cache=0
9092 # Check whether --enable-protocol_file was given.
9093 if test "${enable_protocol_file+set}" = set; then
9094 enableval=$enable_protocol_file;
9095 if test "$enableval" = yes; then
9096 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9097 else
9098 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9099 fi
9100
9101 else
9102
9103 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9104 if test "x$LINE" != x ; then
9105 eval "DEFAULT_$LINE"
9106 else
9107 no_cache=1
9108 fi
9109
9110 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9111
9112 fi
9113
9114
9115 eval "$wx_cv_use_protocol_file"
9116 if test "$no_cache" != 1; then
9117 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_PROTOCOL_FILE = yes; then
9122 result=no
9123 else
9124 result=yes
9125 fi
9126 else
9127 result=$wxUSE_PROTOCOL_FILE
9128 fi
9129
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9132
9133
9134
9135 enablestring=
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9139 defaultval=yes
9140 else
9141 defaultval=no
9142 fi
9143 fi
9144
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9147 no_cache=0
9148 # Check whether --enable-threads was given.
9149 if test "${enable_threads+set}" = set; then
9150 enableval=$enable_threads;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_threads='wxUSE_THREADS=yes'
9153 else
9154 wx_cv_use_threads='wxUSE_THREADS=no'
9155 fi
9156
9157 else
9158
9159 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9160 if test "x$LINE" != x ; then
9161 eval "DEFAULT_$LINE"
9162 else
9163 no_cache=1
9164 fi
9165
9166 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9167
9168 fi
9169
9170
9171 eval "$wx_cv_use_threads"
9172 if test "$no_cache" != 1; then
9173 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_THREADS = yes; then
9178 result=no
9179 else
9180 result=yes
9181 fi
9182 else
9183 result=$wxUSE_THREADS
9184 fi
9185
9186 { echo "$as_me:$LINENO: result: $result" >&5
9187 echo "${ECHO_T}$result" >&6; }
9188
9189
9190 if test "$wxUSE_GUI" = "yes"; then
9191
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9206 no_cache=0
9207 # Check whether --enable-docview was given.
9208 if test "${enable_docview+set}" = set; then
9209 enableval=$enable_docview;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9212 else
9213 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9214 fi
9215
9216 else
9217
9218 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 else
9222 no_cache=1
9223 fi
9224
9225 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_docview"
9231 if test "$no_cache" != 1; then
9232 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9233 fi
9234
9235 if test x"$enablestring" = xdisable; then
9236 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9237 result=no
9238 else
9239 result=yes
9240 fi
9241 else
9242 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9243 fi
9244
9245 { echo "$as_me:$LINENO: result: $result" >&5
9246 echo "${ECHO_T}$result" >&6; }
9247
9248
9249 enablestring=
9250 defaultval=$wxUSE_ALL_FEATURES
9251 if test -z "$defaultval"; then
9252 if test x"$enablestring" = xdisable; then
9253 defaultval=yes
9254 else
9255 defaultval=no
9256 fi
9257 fi
9258
9259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9260 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9261 no_cache=0
9262 # Check whether --enable-help was given.
9263 if test "${enable_help+set}" = set; then
9264 enableval=$enable_help;
9265 if test "$enableval" = yes; then
9266 wx_cv_use_help='wxUSE_HELP=yes'
9267 else
9268 wx_cv_use_help='wxUSE_HELP=no'
9269 fi
9270
9271 else
9272
9273 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9274 if test "x$LINE" != x ; then
9275 eval "DEFAULT_$LINE"
9276 else
9277 no_cache=1
9278 fi
9279
9280 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9281
9282 fi
9283
9284
9285 eval "$wx_cv_use_help"
9286 if test "$no_cache" != 1; then
9287 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9288 fi
9289
9290 if test x"$enablestring" = xdisable; then
9291 if test $wxUSE_HELP = yes; then
9292 result=no
9293 else
9294 result=yes
9295 fi
9296 else
9297 result=$wxUSE_HELP
9298 fi
9299
9300 { echo "$as_me:$LINENO: result: $result" >&5
9301 echo "${ECHO_T}$result" >&6; }
9302
9303
9304 enablestring=
9305 defaultval=$wxUSE_ALL_FEATURES
9306 if test -z "$defaultval"; then
9307 if test x"$enablestring" = xdisable; then
9308 defaultval=yes
9309 else
9310 defaultval=no
9311 fi
9312 fi
9313
9314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9316 no_cache=0
9317 # Check whether --enable-mshtmlhelp was given.
9318 if test "${enable_mshtmlhelp+set}" = set; then
9319 enableval=$enable_mshtmlhelp;
9320 if test "$enableval" = yes; then
9321 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9322 else
9323 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9324 fi
9325
9326 else
9327
9328 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9329 if test "x$LINE" != x ; then
9330 eval "DEFAULT_$LINE"
9331 else
9332 no_cache=1
9333 fi
9334
9335 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9336
9337 fi
9338
9339
9340 eval "$wx_cv_use_mshtmlhelp"
9341 if test "$no_cache" != 1; then
9342 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9343 fi
9344
9345 if test x"$enablestring" = xdisable; then
9346 if test $wxUSE_MS_HTML_HELP = yes; then
9347 result=no
9348 else
9349 result=yes
9350 fi
9351 else
9352 result=$wxUSE_MS_HTML_HELP
9353 fi
9354
9355 { echo "$as_me:$LINENO: result: $result" >&5
9356 echo "${ECHO_T}$result" >&6; }
9357
9358
9359 enablestring=
9360 defaultval=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x"$enablestring" = xdisable; then
9363 defaultval=yes
9364 else
9365 defaultval=no
9366 fi
9367 fi
9368
9369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9370 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9371 no_cache=0
9372 # Check whether --enable-html was given.
9373 if test "${enable_html+set}" = set; then
9374 enableval=$enable_html;
9375 if test "$enableval" = yes; then
9376 wx_cv_use_html='wxUSE_HTML=yes'
9377 else
9378 wx_cv_use_html='wxUSE_HTML=no'
9379 fi
9380
9381 else
9382
9383 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9384 if test "x$LINE" != x ; then
9385 eval "DEFAULT_$LINE"
9386 else
9387 no_cache=1
9388 fi
9389
9390 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9391
9392 fi
9393
9394
9395 eval "$wx_cv_use_html"
9396 if test "$no_cache" != 1; then
9397 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9398 fi
9399
9400 if test x"$enablestring" = xdisable; then
9401 if test $wxUSE_HTML = yes; then
9402 result=no
9403 else
9404 result=yes
9405 fi
9406 else
9407 result=$wxUSE_HTML
9408 fi
9409
9410 { echo "$as_me:$LINENO: result: $result" >&5
9411 echo "${ECHO_T}$result" >&6; }
9412
9413
9414 enablestring=
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9418 defaultval=yes
9419 else
9420 defaultval=no
9421 fi
9422 fi
9423
9424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9426 no_cache=0
9427 # Check whether --enable-htmlhelp was given.
9428 if test "${enable_htmlhelp+set}" = set; then
9429 enableval=$enable_htmlhelp;
9430 if test "$enableval" = yes; then
9431 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9432 else
9433 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9434 fi
9435
9436 else
9437
9438 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9439 if test "x$LINE" != x ; then
9440 eval "DEFAULT_$LINE"
9441 else
9442 no_cache=1
9443 fi
9444
9445 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9446
9447 fi
9448
9449
9450 eval "$wx_cv_use_htmlhelp"
9451 if test "$no_cache" != 1; then
9452 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test x"$enablestring" = xdisable; then
9456 if test $wxUSE_WXHTML_HELP = yes; then
9457 result=no
9458 else
9459 result=yes
9460 fi
9461 else
9462 result=$wxUSE_WXHTML_HELP
9463 fi
9464
9465 { echo "$as_me:$LINENO: result: $result" >&5
9466 echo "${ECHO_T}$result" >&6; }
9467
9468
9469 enablestring=
9470 defaultval=$wxUSE_ALL_FEATURES
9471 if test -z "$defaultval"; then
9472 if test x"$enablestring" = xdisable; then
9473 defaultval=yes
9474 else
9475 defaultval=no
9476 fi
9477 fi
9478
9479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9481 no_cache=0
9482 # Check whether --enable-xrc was given.
9483 if test "${enable_xrc+set}" = set; then
9484 enableval=$enable_xrc;
9485 if test "$enableval" = yes; then
9486 wx_cv_use_xrc='wxUSE_XRC=yes'
9487 else
9488 wx_cv_use_xrc='wxUSE_XRC=no'
9489 fi
9490
9491 else
9492
9493 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9501
9502 fi
9503
9504
9505 eval "$wx_cv_use_xrc"
9506 if test "$no_cache" != 1; then
9507 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9508 fi
9509
9510 if test x"$enablestring" = xdisable; then
9511 if test $wxUSE_XRC = yes; then
9512 result=no
9513 else
9514 result=yes
9515 fi
9516 else
9517 result=$wxUSE_XRC
9518 fi
9519
9520 { echo "$as_me:$LINENO: result: $result" >&5
9521 echo "${ECHO_T}$result" >&6; }
9522
9523
9524 enablestring=
9525 defaultval=$wxUSE_ALL_FEATURES
9526 if test -z "$defaultval"; then
9527 if test x"$enablestring" = xdisable; then
9528 defaultval=yes
9529 else
9530 defaultval=no
9531 fi
9532 fi
9533
9534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9536 no_cache=0
9537 # Check whether --enable-aui was given.
9538 if test "${enable_aui+set}" = set; then
9539 enableval=$enable_aui;
9540 if test "$enableval" = yes; then
9541 wx_cv_use_aui='wxUSE_AUI=yes'
9542 else
9543 wx_cv_use_aui='wxUSE_AUI=no'
9544 fi
9545
9546 else
9547
9548 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9549 if test "x$LINE" != x ; then
9550 eval "DEFAULT_$LINE"
9551 else
9552 no_cache=1
9553 fi
9554
9555 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9556
9557 fi
9558
9559
9560 eval "$wx_cv_use_aui"
9561 if test "$no_cache" != 1; then
9562 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9563 fi
9564
9565 if test x"$enablestring" = xdisable; then
9566 if test $wxUSE_AUI = yes; then
9567 result=no
9568 else
9569 result=yes
9570 fi
9571 else
9572 result=$wxUSE_AUI
9573 fi
9574
9575 { echo "$as_me:$LINENO: result: $result" >&5
9576 echo "${ECHO_T}$result" >&6; }
9577
9578
9579 enablestring=
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9583 defaultval=yes
9584 else
9585 defaultval=no
9586 fi
9587 fi
9588
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9591 no_cache=0
9592 # Check whether --enable-stc was given.
9593 if test "${enable_stc+set}" = set; then
9594 enableval=$enable_stc;
9595 if test "$enableval" = yes; then
9596 wx_cv_use_stc='wxUSE_STC=yes'
9597 else
9598 wx_cv_use_stc='wxUSE_STC=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9611
9612 fi
9613
9614
9615 eval "$wx_cv_use_stc"
9616 if test "$no_cache" != 1; then
9617 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9618 fi
9619
9620 if test x"$enablestring" = xdisable; then
9621 if test $wxUSE_STC = yes; then
9622 result=no
9623 else
9624 result=yes
9625 fi
9626 else
9627 result=$wxUSE_STC
9628 fi
9629
9630 { echo "$as_me:$LINENO: result: $result" >&5
9631 echo "${ECHO_T}$result" >&6; }
9632
9633
9634 enablestring=
9635 defaultval=$wxUSE_ALL_FEATURES
9636 if test -z "$defaultval"; then
9637 if test x"$enablestring" = xdisable; then
9638 defaultval=yes
9639 else
9640 defaultval=no
9641 fi
9642 fi
9643
9644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9646 no_cache=0
9647 # Check whether --enable-constraints was given.
9648 if test "${enable_constraints+set}" = set; then
9649 enableval=$enable_constraints;
9650 if test "$enableval" = yes; then
9651 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9652 else
9653 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9654 fi
9655
9656 else
9657
9658 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9659 if test "x$LINE" != x ; then
9660 eval "DEFAULT_$LINE"
9661 else
9662 no_cache=1
9663 fi
9664
9665 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9666
9667 fi
9668
9669
9670 eval "$wx_cv_use_constraints"
9671 if test "$no_cache" != 1; then
9672 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9673 fi
9674
9675 if test x"$enablestring" = xdisable; then
9676 if test $wxUSE_CONSTRAINTS = yes; then
9677 result=no
9678 else
9679 result=yes
9680 fi
9681 else
9682 result=$wxUSE_CONSTRAINTS
9683 fi
9684
9685 { echo "$as_me:$LINENO: result: $result" >&5
9686 echo "${ECHO_T}$result" >&6; }
9687
9688
9689 enablestring=
9690 defaultval=$wxUSE_ALL_FEATURES
9691 if test -z "$defaultval"; then
9692 if test x"$enablestring" = xdisable; then
9693 defaultval=yes
9694 else
9695 defaultval=no
9696 fi
9697 fi
9698
9699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9700 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9701 no_cache=0
9702 # Check whether --enable-printarch was given.
9703 if test "${enable_printarch+set}" = set; then
9704 enableval=$enable_printarch;
9705 if test "$enableval" = yes; then
9706 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9707 else
9708 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9709 fi
9710
9711 else
9712
9713 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9714 if test "x$LINE" != x ; then
9715 eval "DEFAULT_$LINE"
9716 else
9717 no_cache=1
9718 fi
9719
9720 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9721
9722 fi
9723
9724
9725 eval "$wx_cv_use_printarch"
9726 if test "$no_cache" != 1; then
9727 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9728 fi
9729
9730 if test x"$enablestring" = xdisable; then
9731 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9732 result=no
9733 else
9734 result=yes
9735 fi
9736 else
9737 result=$wxUSE_PRINTING_ARCHITECTURE
9738 fi
9739
9740 { echo "$as_me:$LINENO: result: $result" >&5
9741 echo "${ECHO_T}$result" >&6; }
9742
9743
9744 enablestring=
9745 defaultval=$wxUSE_ALL_FEATURES
9746 if test -z "$defaultval"; then
9747 if test x"$enablestring" = xdisable; then
9748 defaultval=yes
9749 else
9750 defaultval=no
9751 fi
9752 fi
9753
9754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9755 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9756 no_cache=0
9757 # Check whether --enable-mdi was given.
9758 if test "${enable_mdi+set}" = set; then
9759 enableval=$enable_mdi;
9760 if test "$enableval" = yes; then
9761 wx_cv_use_mdi='wxUSE_MDI=yes'
9762 else
9763 wx_cv_use_mdi='wxUSE_MDI=no'
9764 fi
9765
9766 else
9767
9768 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9769 if test "x$LINE" != x ; then
9770 eval "DEFAULT_$LINE"
9771 else
9772 no_cache=1
9773 fi
9774
9775 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9776
9777 fi
9778
9779
9780 eval "$wx_cv_use_mdi"
9781 if test "$no_cache" != 1; then
9782 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9783 fi
9784
9785 if test x"$enablestring" = xdisable; then
9786 if test $wxUSE_MDI = yes; then
9787 result=no
9788 else
9789 result=yes
9790 fi
9791 else
9792 result=$wxUSE_MDI
9793 fi
9794
9795 { echo "$as_me:$LINENO: result: $result" >&5
9796 echo "${ECHO_T}$result" >&6; }
9797
9798
9799 enablestring=
9800 defaultval=$wxUSE_ALL_FEATURES
9801 if test -z "$defaultval"; then
9802 if test x"$enablestring" = xdisable; then
9803 defaultval=yes
9804 else
9805 defaultval=no
9806 fi
9807 fi
9808
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9811 no_cache=0
9812 # Check whether --enable-mdidoc was given.
9813 if test "${enable_mdidoc+set}" = set; then
9814 enableval=$enable_mdidoc;
9815 if test "$enableval" = yes; then
9816 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9817 else
9818 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9819 fi
9820
9821 else
9822
9823 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9826 else
9827 no_cache=1
9828 fi
9829
9830 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9831
9832 fi
9833
9834
9835 eval "$wx_cv_use_mdidoc"
9836 if test "$no_cache" != 1; then
9837 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test x"$enablestring" = xdisable; then
9841 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9842 result=no
9843 else
9844 result=yes
9845 fi
9846 else
9847 result=$wxUSE_MDI_ARCHITECTURE
9848 fi
9849
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9852
9853
9854 enablestring=
9855 defaultval=$wxUSE_ALL_FEATURES
9856 if test -z "$defaultval"; then
9857 if test x"$enablestring" = xdisable; then
9858 defaultval=yes
9859 else
9860 defaultval=no
9861 fi
9862 fi
9863
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9866 no_cache=0
9867 # Check whether --enable-loggui was given.
9868 if test "${enable_loggui+set}" = set; then
9869 enableval=$enable_loggui;
9870 if test "$enableval" = yes; then
9871 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9872 else
9873 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9886
9887 fi
9888
9889
9890 eval "$wx_cv_use_loggui"
9891 if test "$no_cache" != 1; then
9892 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test x"$enablestring" = xdisable; then
9896 if test $wxUSE_LOGGUI = yes; then
9897 result=no
9898 else
9899 result=yes
9900 fi
9901 else
9902 result=$wxUSE_LOGGUI
9903 fi
9904
9905 { echo "$as_me:$LINENO: result: $result" >&5
9906 echo "${ECHO_T}$result" >&6; }
9907
9908
9909 enablestring=
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9913 defaultval=yes
9914 else
9915 defaultval=no
9916 fi
9917 fi
9918
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9921 no_cache=0
9922 # Check whether --enable-logwin was given.
9923 if test "${enable_logwin+set}" = set; then
9924 enableval=$enable_logwin;
9925 if test "$enableval" = yes; then
9926 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9927 else
9928 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9929 fi
9930
9931 else
9932
9933 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9934 if test "x$LINE" != x ; then
9935 eval "DEFAULT_$LINE"
9936 else
9937 no_cache=1
9938 fi
9939
9940 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9941
9942 fi
9943
9944
9945 eval "$wx_cv_use_logwin"
9946 if test "$no_cache" != 1; then
9947 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9948 fi
9949
9950 if test x"$enablestring" = xdisable; then
9951 if test $wxUSE_LOGWINDOW = yes; then
9952 result=no
9953 else
9954 result=yes
9955 fi
9956 else
9957 result=$wxUSE_LOGWINDOW
9958 fi
9959
9960 { echo "$as_me:$LINENO: result: $result" >&5
9961 echo "${ECHO_T}$result" >&6; }
9962
9963
9964 enablestring=
9965 defaultval=$wxUSE_ALL_FEATURES
9966 if test -z "$defaultval"; then
9967 if test x"$enablestring" = xdisable; then
9968 defaultval=yes
9969 else
9970 defaultval=no
9971 fi
9972 fi
9973
9974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9975 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9976 no_cache=0
9977 # Check whether --enable-logdialog was given.
9978 if test "${enable_logdialog+set}" = set; then
9979 enableval=$enable_logdialog;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9982 else
9983 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9984 fi
9985
9986 else
9987
9988 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9989 if test "x$LINE" != x ; then
9990 eval "DEFAULT_$LINE"
9991 else
9992 no_cache=1
9993 fi
9994
9995 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9996
9997 fi
9998
9999
10000 eval "$wx_cv_use_logdialog"
10001 if test "$no_cache" != 1; then
10002 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
10003 fi
10004
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_LOGDIALOG = yes; then
10007 result=no
10008 else
10009 result=yes
10010 fi
10011 else
10012 result=$wxUSE_LOGDIALOG
10013 fi
10014
10015 { echo "$as_me:$LINENO: result: $result" >&5
10016 echo "${ECHO_T}$result" >&6; }
10017
10018
10019 enablestring=
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10023 defaultval=yes
10024 else
10025 defaultval=no
10026 fi
10027 fi
10028
10029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
10031 no_cache=0
10032 # Check whether --enable-webkit was given.
10033 if test "${enable_webkit+set}" = set; then
10034 enableval=$enable_webkit;
10035 if test "$enableval" = yes; then
10036 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10037 else
10038 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10039 fi
10040
10041 else
10042
10043 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
10044 if test "x$LINE" != x ; then
10045 eval "DEFAULT_$LINE"
10046 else
10047 no_cache=1
10048 fi
10049
10050 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10051
10052 fi
10053
10054
10055 eval "$wx_cv_use_webkit"
10056 if test "$no_cache" != 1; then
10057 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10058 fi
10059
10060 if test x"$enablestring" = xdisable; then
10061 if test $wxUSE_WEBKIT = yes; then
10062 result=no
10063 else
10064 result=yes
10065 fi
10066 else
10067 result=$wxUSE_WEBKIT
10068 fi
10069
10070 { echo "$as_me:$LINENO: result: $result" >&5
10071 echo "${ECHO_T}$result" >&6; }
10072
10073
10074 enablestring=
10075 defaultval=$wxUSE_ALL_FEATURES
10076 if test -z "$defaultval"; then
10077 if test x"$enablestring" = xdisable; then
10078 defaultval=yes
10079 else
10080 defaultval=no
10081 fi
10082 fi
10083
10084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10085 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10086 no_cache=0
10087 # Check whether --enable-richtext was given.
10088 if test "${enable_richtext+set}" = set; then
10089 enableval=$enable_richtext;
10090 if test "$enableval" = yes; then
10091 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10092 else
10093 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10094 fi
10095
10096 else
10097
10098 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10101 else
10102 no_cache=1
10103 fi
10104
10105 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10106
10107 fi
10108
10109
10110 eval "$wx_cv_use_richtext"
10111 if test "$no_cache" != 1; then
10112 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10113 fi
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_RICHTEXT = yes; then
10117 result=no
10118 else
10119 result=yes
10120 fi
10121 else
10122 result=$wxUSE_RICHTEXT
10123 fi
10124
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10141 no_cache=0
10142 # Check whether --enable-graphics_ctx was given.
10143 if test "${enable_graphics_ctx+set}" = set; then
10144 enableval=$enable_graphics_ctx;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10147 else
10148 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10149 fi
10150
10151 else
10152
10153 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10154 if test "x$LINE" != x ; then
10155 eval "DEFAULT_$LINE"
10156 else
10157 no_cache=1
10158 fi
10159
10160 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10161
10162 fi
10163
10164
10165 eval "$wx_cv_use_graphics_ctx"
10166 if test "$no_cache" != 1; then
10167 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10168 fi
10169
10170 if test x"$enablestring" = xdisable; then
10171 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10172 result=no
10173 else
10174 result=yes
10175 fi
10176 else
10177 result=$wxUSE_GRAPHICS_CONTEXT
10178 fi
10179
10180 { echo "$as_me:$LINENO: result: $result" >&5
10181 echo "${ECHO_T}$result" >&6; }
10182
10183
10184 enablestring=
10185 defaultval=$wxUSE_ALL_FEATURES
10186 if test -z "$defaultval"; then
10187 if test x"$enablestring" = xdisable; then
10188 defaultval=yes
10189 else
10190 defaultval=no
10191 fi
10192 fi
10193
10194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10196 no_cache=0
10197 # Check whether --enable-postscript was given.
10198 if test "${enable_postscript+set}" = set; then
10199 enableval=$enable_postscript;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10202 else
10203 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10204 fi
10205
10206 else
10207
10208 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10209 if test "x$LINE" != x ; then
10210 eval "DEFAULT_$LINE"
10211 else
10212 no_cache=1
10213 fi
10214
10215 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10216
10217 fi
10218
10219
10220 eval "$wx_cv_use_postscript"
10221 if test "$no_cache" != 1; then
10222 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10223 fi
10224
10225 if test x"$enablestring" = xdisable; then
10226 if test $wxUSE_POSTSCRIPT = yes; then
10227 result=no
10228 else
10229 result=yes
10230 fi
10231 else
10232 result=$wxUSE_POSTSCRIPT
10233 fi
10234
10235 { echo "$as_me:$LINENO: result: $result" >&5
10236 echo "${ECHO_T}$result" >&6; }
10237
10238
10239 enablestring=
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10243 defaultval=yes
10244 else
10245 defaultval=no
10246 fi
10247 fi
10248
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10251 no_cache=0
10252 # Check whether --enable-svg was given.
10253 if test "${enable_svg+set}" = set; then
10254 enableval=$enable_svg;
10255 if test "$enableval" = yes; then
10256 wx_cv_use_svg='wxUSE_SVG=yes'
10257 else
10258 wx_cv_use_svg='wxUSE_SVG=no'
10259 fi
10260
10261 else
10262
10263 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10264 if test "x$LINE" != x ; then
10265 eval "DEFAULT_$LINE"
10266 else
10267 no_cache=1
10268 fi
10269
10270 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10271
10272 fi
10273
10274
10275 eval "$wx_cv_use_svg"
10276 if test "$no_cache" != 1; then
10277 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10278 fi
10279
10280 if test x"$enablestring" = xdisable; then
10281 if test $wxUSE_SVG = yes; then
10282 result=no
10283 else
10284 result=yes
10285 fi
10286 else
10287 result=$wxUSE_SVG
10288 fi
10289
10290 { echo "$as_me:$LINENO: result: $result" >&5
10291 echo "${ECHO_T}$result" >&6; }
10292
10293
10294
10295
10296 enablestring=
10297 defaultval=$wxUSE_ALL_FEATURES
10298 if test -z "$defaultval"; then
10299 if test x"$enablestring" = xdisable; then
10300 defaultval=yes
10301 else
10302 defaultval=no
10303 fi
10304 fi
10305
10306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10307 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10308 no_cache=0
10309 # Check whether --enable-clipboard was given.
10310 if test "${enable_clipboard+set}" = set; then
10311 enableval=$enable_clipboard;
10312 if test "$enableval" = yes; then
10313 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10314 else
10315 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10316 fi
10317
10318 else
10319
10320 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10321 if test "x$LINE" != x ; then
10322 eval "DEFAULT_$LINE"
10323 else
10324 no_cache=1
10325 fi
10326
10327 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10328
10329 fi
10330
10331
10332 eval "$wx_cv_use_clipboard"
10333 if test "$no_cache" != 1; then
10334 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10335 fi
10336
10337 if test x"$enablestring" = xdisable; then
10338 if test $wxUSE_CLIPBOARD = yes; then
10339 result=no
10340 else
10341 result=yes
10342 fi
10343 else
10344 result=$wxUSE_CLIPBOARD
10345 fi
10346
10347 { echo "$as_me:$LINENO: result: $result" >&5
10348 echo "${ECHO_T}$result" >&6; }
10349
10350
10351 enablestring=
10352 defaultval=$wxUSE_ALL_FEATURES
10353 if test -z "$defaultval"; then
10354 if test x"$enablestring" = xdisable; then
10355 defaultval=yes
10356 else
10357 defaultval=no
10358 fi
10359 fi
10360
10361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10362 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10363 no_cache=0
10364 # Check whether --enable-dnd was given.
10365 if test "${enable_dnd+set}" = set; then
10366 enableval=$enable_dnd;
10367 if test "$enableval" = yes; then
10368 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10369 else
10370 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10371 fi
10372
10373 else
10374
10375 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10376 if test "x$LINE" != x ; then
10377 eval "DEFAULT_$LINE"
10378 else
10379 no_cache=1
10380 fi
10381
10382 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10383
10384 fi
10385
10386
10387 eval "$wx_cv_use_dnd"
10388 if test "$no_cache" != 1; then
10389 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10390 fi
10391
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_DRAG_AND_DROP = yes; then
10394 result=no
10395 else
10396 result=yes
10397 fi
10398 else
10399 result=$wxUSE_DRAG_AND_DROP
10400 fi
10401
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10404
10405
10406 enablestring=
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10410 defaultval=yes
10411 else
10412 defaultval=no
10413 fi
10414 fi
10415
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10418 no_cache=0
10419 # Check whether --enable-metafile was given.
10420 if test "${enable_metafile+set}" = set; then
10421 enableval=$enable_metafile;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10424 else
10425 wx_cv_use_metafile='wxUSE_METAFILE=no'
10426 fi
10427
10428 else
10429
10430 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x ; then
10432 eval "DEFAULT_$LINE"
10433 else
10434 no_cache=1
10435 fi
10436
10437 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10438
10439 fi
10440
10441
10442 eval "$wx_cv_use_metafile"
10443 if test "$no_cache" != 1; then
10444 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10445 fi
10446
10447 if test x"$enablestring" = xdisable; then
10448 if test $wxUSE_METAFILE = yes; then
10449 result=no
10450 else
10451 result=yes
10452 fi
10453 else
10454 result=$wxUSE_METAFILE
10455 fi
10456
10457 { echo "$as_me:$LINENO: result: $result" >&5
10458 echo "${ECHO_T}$result" >&6; }
10459
10460
10461
10462 DEFAULT_wxUSE_CONTROLS=none
10463
10464 enablestring=disable
10465 defaultval=
10466 if test -z "$defaultval"; then
10467 if test x"$enablestring" = xdisable; then
10468 defaultval=yes
10469 else
10470 defaultval=no
10471 fi
10472 fi
10473
10474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10475 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10476 no_cache=0
10477 # Check whether --enable-controls was given.
10478 if test "${enable_controls+set}" = set; then
10479 enableval=$enable_controls;
10480 if test "$enableval" = yes; then
10481 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10482 else
10483 wx_cv_use_controls='wxUSE_CONTROLS=no'
10484 fi
10485
10486 else
10487
10488 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10489 if test "x$LINE" != x ; then
10490 eval "DEFAULT_$LINE"
10491 else
10492 no_cache=1
10493 fi
10494
10495 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10496
10497 fi
10498
10499
10500 eval "$wx_cv_use_controls"
10501 if test "$no_cache" != 1; then
10502 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10503 fi
10504
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_CONTROLS = yes; then
10507 result=no
10508 else
10509 result=yes
10510 fi
10511 else
10512 result=$wxUSE_CONTROLS
10513 fi
10514
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10517
10518
10519 if test "$wxUSE_CONTROLS" = "yes"; then
10520 DEFAULT_wxUSE_ACCEL=yes
10521 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10522 DEFAULT_wxUSE_BMPBUTTON=yes
10523 DEFAULT_wxUSE_BUTTON=yes
10524 DEFAULT_wxUSE_CALCTRL=yes
10525 DEFAULT_wxUSE_CARET=yes
10526 DEFAULT_wxUSE_COMBOBOX=yes
10527 DEFAULT_wxUSE_CHECKBOX=yes
10528 DEFAULT_wxUSE_CHECKLISTBOX=yes
10529 DEFAULT_wxUSE_CHOICE=yes
10530 DEFAULT_wxUSE_CHOICEBOOK=yes
10531 DEFAULT_wxUSE_COLLPANE=yes
10532 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10533 DEFAULT_wxUSE_COMBOBOX=yes
10534 DEFAULT_wxUSE_DATEPICKCTRL=yes
10535 DEFAULT_wxUSE_DISPLAY=yes
10536 DEFAULT_wxUSE_DETECT_SM=yes
10537 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10538 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10539 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10540 DEFAULT_wxUSE_GAUGE=yes
10541 DEFAULT_wxUSE_GRID=yes
10542 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10543 DEFAULT_wxUSE_DATAVIEWCTRL=no
10544 DEFAULT_wxUSE_IMAGLIST=yes
10545 DEFAULT_wxUSE_LISTBOOK=yes
10546 DEFAULT_wxUSE_LISTBOX=yes
10547 DEFAULT_wxUSE_LISTCTRL=yes
10548 DEFAULT_wxUSE_NOTEBOOK=yes
10549 DEFAULT_wxUSE_RADIOBOX=yes
10550 DEFAULT_wxUSE_RADIOBTN=yes
10551 DEFAULT_wxUSE_SASH=yes
10552 DEFAULT_wxUSE_SCROLLBAR=yes
10553 DEFAULT_wxUSE_SEARCHCTRL=yes
10554 DEFAULT_wxUSE_SLIDER=yes
10555 DEFAULT_wxUSE_SPINBTN=yes
10556 DEFAULT_wxUSE_SPINCTRL=yes
10557 DEFAULT_wxUSE_SPLITTER=yes
10558 DEFAULT_wxUSE_STATBMP=yes
10559 DEFAULT_wxUSE_STATBOX=yes
10560 DEFAULT_wxUSE_STATLINE=yes
10561 DEFAULT_wxUSE_STATUSBAR=yes
10562 DEFAULT_wxUSE_TAB_DIALOG=yes
10563 DEFAULT_wxUSE_TOGGLEBTN=yes
10564 DEFAULT_wxUSE_TOOLBAR=yes
10565 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10566 DEFAULT_wxUSE_TOOLTIPS=yes
10567 DEFAULT_wxUSE_TREEBOOK=yes
10568 DEFAULT_wxUSE_TOOLBOOK=yes
10569 DEFAULT_wxUSE_TREECTRL=yes
10570 DEFAULT_wxUSE_POPUPWIN=yes
10571 DEFAULT_wxUSE_TIPWINDOW=yes
10572 elif test "$wxUSE_CONTROLS" = "no"; then
10573 DEFAULT_wxUSE_ACCEL=no
10574 DEFAULT_wxUSE_ANIMATIONCTRL=no
10575 DEFAULT_wxUSE_BMPBUTTON=no
10576 DEFAULT_wxUSE_BUTTON=no
10577 DEFAULT_wxUSE_CALCTRL=no
10578 DEFAULT_wxUSE_CARET=no
10579 DEFAULT_wxUSE_COLLPANE=no
10580 DEFAULT_wxUSE_COMBOBOX=no
10581 DEFAULT_wxUSE_CHECKBOX=no
10582 DEFAULT_wxUSE_CHECKLISTBOX=no
10583 DEFAULT_wxUSE_CHOICE=no
10584 DEFAULT_wxUSE_CHOICEBOOK=no
10585 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10586 DEFAULT_wxUSE_COMBOBOX=no
10587 DEFAULT_wxUSE_DATEPICKCTRL=no
10588 DEFAULT_wxUSE_DISPLAY=no
10589 DEFAULT_wxUSE_DETECT_SM=no
10590 DEFAULT_wxUSE_DIRPICKERCTRL=no
10591 DEFAULT_wxUSE_FILEPICKERCTRL=no
10592 DEFAULT_wxUSE_FONTPICKERCTRL=no
10593 DEFAULT_wxUSE_GAUGE=no
10594 DEFAULT_wxUSE_GRID=no
10595 DEFAULT_wxUSE_HYPERLINKCTRL=no
10596 DEFAULT_wxUSE_DATAVIEWCTRL=no
10597 DEFAULT_wxUSE_IMAGLIST=no
10598 DEFAULT_wxUSE_LISTBOOK=no
10599 DEFAULT_wxUSE_LISTBOX=no
10600 DEFAULT_wxUSE_LISTCTRL=no
10601 DEFAULT_wxUSE_NOTEBOOK=no
10602 DEFAULT_wxUSE_RADIOBOX=no
10603 DEFAULT_wxUSE_RADIOBTN=no
10604 DEFAULT_wxUSE_SASH=no
10605 DEFAULT_wxUSE_SCROLLBAR=no
10606 DEFAULT_wxUSE_SEARCHCTRL=no
10607 DEFAULT_wxUSE_SLIDER=no
10608 DEFAULT_wxUSE_SPINBTN=no
10609 DEFAULT_wxUSE_SPINCTRL=no
10610 DEFAULT_wxUSE_SPLITTER=no
10611 DEFAULT_wxUSE_STATBMP=no
10612 DEFAULT_wxUSE_STATBOX=no
10613 DEFAULT_wxUSE_STATLINE=no
10614 DEFAULT_wxUSE_STATUSBAR=no
10615 DEFAULT_wxUSE_TAB_DIALOG=no
10616 DEFAULT_wxUSE_TOGGLEBTN=no
10617 DEFAULT_wxUSE_TOOLBAR=no
10618 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10619 DEFAULT_wxUSE_TOOLTIPS=no
10620 DEFAULT_wxUSE_TREEBOOK=no
10621 DEFAULT_wxUSE_TOOLBOOK=no
10622 DEFAULT_wxUSE_TREECTRL=no
10623 DEFAULT_wxUSE_POPUPWIN=no
10624 DEFAULT_wxUSE_TIPWINDOW=no
10625 fi
10626
10627
10628 enablestring=
10629 defaultval=$wxUSE_ALL_FEATURES
10630 if test -z "$defaultval"; then
10631 if test x"$enablestring" = xdisable; then
10632 defaultval=yes
10633 else
10634 defaultval=no
10635 fi
10636 fi
10637
10638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10639 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10640 no_cache=0
10641 # Check whether --enable-accel was given.
10642 if test "${enable_accel+set}" = set; then
10643 enableval=$enable_accel;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_accel='wxUSE_ACCEL=yes'
10646 else
10647 wx_cv_use_accel='wxUSE_ACCEL=no'
10648 fi
10649
10650 else
10651
10652 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10653 if test "x$LINE" != x ; then
10654 eval "DEFAULT_$LINE"
10655 else
10656 no_cache=1
10657 fi
10658
10659 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10660
10661 fi
10662
10663
10664 eval "$wx_cv_use_accel"
10665 if test "$no_cache" != 1; then
10666 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10667 fi
10668
10669 if test x"$enablestring" = xdisable; then
10670 if test $wxUSE_ACCEL = yes; then
10671 result=no
10672 else
10673 result=yes
10674 fi
10675 else
10676 result=$wxUSE_ACCEL
10677 fi
10678
10679 { echo "$as_me:$LINENO: result: $result" >&5
10680 echo "${ECHO_T}$result" >&6; }
10681
10682
10683 enablestring=
10684 defaultval=$wxUSE_ALL_FEATURES
10685 if test -z "$defaultval"; then
10686 if test x"$enablestring" = xdisable; then
10687 defaultval=yes
10688 else
10689 defaultval=no
10690 fi
10691 fi
10692
10693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10694 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10695 no_cache=0
10696 # Check whether --enable-animatectrl was given.
10697 if test "${enable_animatectrl+set}" = set; then
10698 enableval=$enable_animatectrl;
10699 if test "$enableval" = yes; then
10700 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10701 else
10702 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10703 fi
10704
10705 else
10706
10707 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10708 if test "x$LINE" != x ; then
10709 eval "DEFAULT_$LINE"
10710 else
10711 no_cache=1
10712 fi
10713
10714 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10715
10716 fi
10717
10718
10719 eval "$wx_cv_use_animatectrl"
10720 if test "$no_cache" != 1; then
10721 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10722 fi
10723
10724 if test x"$enablestring" = xdisable; then
10725 if test $wxUSE_ANIMATIONCTRL = yes; then
10726 result=no
10727 else
10728 result=yes
10729 fi
10730 else
10731 result=$wxUSE_ANIMATIONCTRL
10732 fi
10733
10734 { echo "$as_me:$LINENO: result: $result" >&5
10735 echo "${ECHO_T}$result" >&6; }
10736
10737
10738 enablestring=
10739 defaultval=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x"$enablestring" = xdisable; then
10742 defaultval=yes
10743 else
10744 defaultval=no
10745 fi
10746 fi
10747
10748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10750 no_cache=0
10751 # Check whether --enable-button was given.
10752 if test "${enable_button+set}" = set; then
10753 enableval=$enable_button;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_button='wxUSE_BUTTON=yes'
10756 else
10757 wx_cv_use_button='wxUSE_BUTTON=no'
10758 fi
10759
10760 else
10761
10762 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10763 if test "x$LINE" != x ; then
10764 eval "DEFAULT_$LINE"
10765 else
10766 no_cache=1
10767 fi
10768
10769 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10770
10771 fi
10772
10773
10774 eval "$wx_cv_use_button"
10775 if test "$no_cache" != 1; then
10776 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10777 fi
10778
10779 if test x"$enablestring" = xdisable; then
10780 if test $wxUSE_BUTTON = yes; then
10781 result=no
10782 else
10783 result=yes
10784 fi
10785 else
10786 result=$wxUSE_BUTTON
10787 fi
10788
10789 { echo "$as_me:$LINENO: result: $result" >&5
10790 echo "${ECHO_T}$result" >&6; }
10791
10792
10793 enablestring=
10794 defaultval=$wxUSE_ALL_FEATURES
10795 if test -z "$defaultval"; then
10796 if test x"$enablestring" = xdisable; then
10797 defaultval=yes
10798 else
10799 defaultval=no
10800 fi
10801 fi
10802
10803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10805 no_cache=0
10806 # Check whether --enable-bmpbutton was given.
10807 if test "${enable_bmpbutton+set}" = set; then
10808 enableval=$enable_bmpbutton;
10809 if test "$enableval" = yes; then
10810 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10811 else
10812 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10813 fi
10814
10815 else
10816
10817 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x ; then
10819 eval "DEFAULT_$LINE"
10820 else
10821 no_cache=1
10822 fi
10823
10824 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10825
10826 fi
10827
10828
10829 eval "$wx_cv_use_bmpbutton"
10830 if test "$no_cache" != 1; then
10831 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10832 fi
10833
10834 if test x"$enablestring" = xdisable; then
10835 if test $wxUSE_BMPBUTTON = yes; then
10836 result=no
10837 else
10838 result=yes
10839 fi
10840 else
10841 result=$wxUSE_BMPBUTTON
10842 fi
10843
10844 { echo "$as_me:$LINENO: result: $result" >&5
10845 echo "${ECHO_T}$result" >&6; }
10846
10847
10848 enablestring=
10849 defaultval=$wxUSE_ALL_FEATURES
10850 if test -z "$defaultval"; then
10851 if test x"$enablestring" = xdisable; then
10852 defaultval=yes
10853 else
10854 defaultval=no
10855 fi
10856 fi
10857
10858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10859 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10860 no_cache=0
10861 # Check whether --enable-bmpcombobox was given.
10862 if test "${enable_bmpcombobox+set}" = set; then
10863 enableval=$enable_bmpcombobox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10866 else
10867 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10868 fi
10869
10870 else
10871
10872 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10873 if test "x$LINE" != x ; then
10874 eval "DEFAULT_$LINE"
10875 else
10876 no_cache=1
10877 fi
10878
10879 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10880
10881 fi
10882
10883
10884 eval "$wx_cv_use_bmpcombobox"
10885 if test "$no_cache" != 1; then
10886 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10887 fi
10888
10889 if test x"$enablestring" = xdisable; then
10890 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10891 result=no
10892 else
10893 result=yes
10894 fi
10895 else
10896 result=$wxUSE_BITMAPCOMBOBOX
10897 fi
10898
10899 { echo "$as_me:$LINENO: result: $result" >&5
10900 echo "${ECHO_T}$result" >&6; }
10901
10902
10903 enablestring=
10904 defaultval=$wxUSE_ALL_FEATURES
10905 if test -z "$defaultval"; then
10906 if test x"$enablestring" = xdisable; then
10907 defaultval=yes
10908 else
10909 defaultval=no
10910 fi
10911 fi
10912
10913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10914 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10915 no_cache=0
10916 # Check whether --enable-calendar was given.
10917 if test "${enable_calendar+set}" = set; then
10918 enableval=$enable_calendar;
10919 if test "$enableval" = yes; then
10920 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10921 else
10922 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10923 fi
10924
10925 else
10926
10927 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10928 if test "x$LINE" != x ; then
10929 eval "DEFAULT_$LINE"
10930 else
10931 no_cache=1
10932 fi
10933
10934 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10935
10936 fi
10937
10938
10939 eval "$wx_cv_use_calendar"
10940 if test "$no_cache" != 1; then
10941 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10942 fi
10943
10944 if test x"$enablestring" = xdisable; then
10945 if test $wxUSE_CALCTRL = yes; then
10946 result=no
10947 else
10948 result=yes
10949 fi
10950 else
10951 result=$wxUSE_CALCTRL
10952 fi
10953
10954 { echo "$as_me:$LINENO: result: $result" >&5
10955 echo "${ECHO_T}$result" >&6; }
10956
10957
10958 enablestring=
10959 defaultval=$wxUSE_ALL_FEATURES
10960 if test -z "$defaultval"; then
10961 if test x"$enablestring" = xdisable; then
10962 defaultval=yes
10963 else
10964 defaultval=no
10965 fi
10966 fi
10967
10968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10969 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10970 no_cache=0
10971 # Check whether --enable-caret was given.
10972 if test "${enable_caret+set}" = set; then
10973 enableval=$enable_caret;
10974 if test "$enableval" = yes; then
10975 wx_cv_use_caret='wxUSE_CARET=yes'
10976 else
10977 wx_cv_use_caret='wxUSE_CARET=no'
10978 fi
10979
10980 else
10981
10982 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10983 if test "x$LINE" != x ; then
10984 eval "DEFAULT_$LINE"
10985 else
10986 no_cache=1
10987 fi
10988
10989 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10990
10991 fi
10992
10993
10994 eval "$wx_cv_use_caret"
10995 if test "$no_cache" != 1; then
10996 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10997 fi
10998
10999 if test x"$enablestring" = xdisable; then
11000 if test $wxUSE_CARET = yes; then
11001 result=no
11002 else
11003 result=yes
11004 fi
11005 else
11006 result=$wxUSE_CARET
11007 fi
11008
11009 { echo "$as_me:$LINENO: result: $result" >&5
11010 echo "${ECHO_T}$result" >&6; }
11011
11012
11013 enablestring=
11014 defaultval=$wxUSE_ALL_FEATURES
11015 if test -z "$defaultval"; then
11016 if test x"$enablestring" = xdisable; then
11017 defaultval=yes
11018 else
11019 defaultval=no
11020 fi
11021 fi
11022
11023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
11024 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
11025 no_cache=0
11026 # Check whether --enable-checkbox was given.
11027 if test "${enable_checkbox+set}" = set; then
11028 enableval=$enable_checkbox;
11029 if test "$enableval" = yes; then
11030 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11031 else
11032 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11033 fi
11034
11035 else
11036
11037 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
11038 if test "x$LINE" != x ; then
11039 eval "DEFAULT_$LINE"
11040 else
11041 no_cache=1
11042 fi
11043
11044 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11045
11046 fi
11047
11048
11049 eval "$wx_cv_use_checkbox"
11050 if test "$no_cache" != 1; then
11051 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
11052 fi
11053
11054 if test x"$enablestring" = xdisable; then
11055 if test $wxUSE_CHECKBOX = yes; then
11056 result=no
11057 else
11058 result=yes
11059 fi
11060 else
11061 result=$wxUSE_CHECKBOX
11062 fi
11063
11064 { echo "$as_me:$LINENO: result: $result" >&5
11065 echo "${ECHO_T}$result" >&6; }
11066
11067
11068 enablestring=
11069 defaultval=$wxUSE_ALL_FEATURES
11070 if test -z "$defaultval"; then
11071 if test x"$enablestring" = xdisable; then
11072 defaultval=yes
11073 else
11074 defaultval=no
11075 fi
11076 fi
11077
11078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11080 no_cache=0
11081 # Check whether --enable-checklst was given.
11082 if test "${enable_checklst+set}" = set; then
11083 enableval=$enable_checklst;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11086 else
11087 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11088 fi
11089
11090 else
11091
11092 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11093 if test "x$LINE" != x ; then
11094 eval "DEFAULT_$LINE"
11095 else
11096 no_cache=1
11097 fi
11098
11099 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11100
11101 fi
11102
11103
11104 eval "$wx_cv_use_checklst"
11105 if test "$no_cache" != 1; then
11106 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11107 fi
11108
11109 if test x"$enablestring" = xdisable; then
11110 if test $wxUSE_CHECKLST = yes; then
11111 result=no
11112 else
11113 result=yes
11114 fi
11115 else
11116 result=$wxUSE_CHECKLST
11117 fi
11118
11119 { echo "$as_me:$LINENO: result: $result" >&5
11120 echo "${ECHO_T}$result" >&6; }
11121
11122
11123 enablestring=
11124 defaultval=$wxUSE_ALL_FEATURES
11125 if test -z "$defaultval"; then
11126 if test x"$enablestring" = xdisable; then
11127 defaultval=yes
11128 else
11129 defaultval=no
11130 fi
11131 fi
11132
11133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
11134 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11135 no_cache=0
11136 # Check whether --enable-choice was given.
11137 if test "${enable_choice+set}" = set; then
11138 enableval=$enable_choice;
11139 if test "$enableval" = yes; then
11140 wx_cv_use_choice='wxUSE_CHOICE=yes'
11141 else
11142 wx_cv_use_choice='wxUSE_CHOICE=no'
11143 fi
11144
11145 else
11146
11147 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x ; then
11149 eval "DEFAULT_$LINE"
11150 else
11151 no_cache=1
11152 fi
11153
11154 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11155
11156 fi
11157
11158
11159 eval "$wx_cv_use_choice"
11160 if test "$no_cache" != 1; then
11161 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11162 fi
11163
11164 if test x"$enablestring" = xdisable; then
11165 if test $wxUSE_CHOICE = yes; then
11166 result=no
11167 else
11168 result=yes
11169 fi
11170 else
11171 result=$wxUSE_CHOICE
11172 fi
11173
11174 { echo "$as_me:$LINENO: result: $result" >&5
11175 echo "${ECHO_T}$result" >&6; }
11176
11177
11178 enablestring=
11179 defaultval=$wxUSE_ALL_FEATURES
11180 if test -z "$defaultval"; then
11181 if test x"$enablestring" = xdisable; then
11182 defaultval=yes
11183 else
11184 defaultval=no
11185 fi
11186 fi
11187
11188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11189 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11190 no_cache=0
11191 # Check whether --enable-choicebook was given.
11192 if test "${enable_choicebook+set}" = set; then
11193 enableval=$enable_choicebook;
11194 if test "$enableval" = yes; then
11195 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11196 else
11197 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11198 fi
11199
11200 else
11201
11202 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11203 if test "x$LINE" != x ; then
11204 eval "DEFAULT_$LINE"
11205 else
11206 no_cache=1
11207 fi
11208
11209 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11210
11211 fi
11212
11213
11214 eval "$wx_cv_use_choicebook"
11215 if test "$no_cache" != 1; then
11216 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11217 fi
11218
11219 if test x"$enablestring" = xdisable; then
11220 if test $wxUSE_CHOICEBOOK = yes; then
11221 result=no
11222 else
11223 result=yes
11224 fi
11225 else
11226 result=$wxUSE_CHOICEBOOK
11227 fi
11228
11229 { echo "$as_me:$LINENO: result: $result" >&5
11230 echo "${ECHO_T}$result" >&6; }
11231
11232
11233 enablestring=
11234 defaultval=$wxUSE_ALL_FEATURES
11235 if test -z "$defaultval"; then
11236 if test x"$enablestring" = xdisable; then
11237 defaultval=yes
11238 else
11239 defaultval=no
11240 fi
11241 fi
11242
11243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11244 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11245 no_cache=0
11246 # Check whether --enable-collpane was given.
11247 if test "${enable_collpane+set}" = set; then
11248 enableval=$enable_collpane;
11249 if test "$enableval" = yes; then
11250 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11251 else
11252 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11253 fi
11254
11255 else
11256
11257 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11260 else
11261 no_cache=1
11262 fi
11263
11264 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_collpane"
11270 if test "$no_cache" != 1; then
11271 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11272 fi
11273
11274 if test x"$enablestring" = xdisable; then
11275 if test $wxUSE_COLLPANE = yes; then
11276 result=no
11277 else
11278 result=yes
11279 fi
11280 else
11281 result=$wxUSE_COLLPANE
11282 fi
11283
11284 { echo "$as_me:$LINENO: result: $result" >&5
11285 echo "${ECHO_T}$result" >&6; }
11286
11287
11288 enablestring=
11289 defaultval=$wxUSE_ALL_FEATURES
11290 if test -z "$defaultval"; then
11291 if test x"$enablestring" = xdisable; then
11292 defaultval=yes
11293 else
11294 defaultval=no
11295 fi
11296 fi
11297
11298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11299 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11300 no_cache=0
11301 # Check whether --enable-colourpicker was given.
11302 if test "${enable_colourpicker+set}" = set; then
11303 enableval=$enable_colourpicker;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11306 else
11307 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11308 fi
11309
11310 else
11311
11312 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11313 if test "x$LINE" != x ; then
11314 eval "DEFAULT_$LINE"
11315 else
11316 no_cache=1
11317 fi
11318
11319 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11320
11321 fi
11322
11323
11324 eval "$wx_cv_use_colourpicker"
11325 if test "$no_cache" != 1; then
11326 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11327 fi
11328
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_COLOURPICKERCTRL = yes; then
11331 result=no
11332 else
11333 result=yes
11334 fi
11335 else
11336 result=$wxUSE_COLOURPICKERCTRL
11337 fi
11338
11339 { echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6; }
11341
11342
11343 enablestring=
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11347 defaultval=yes
11348 else
11349 defaultval=no
11350 fi
11351 fi
11352
11353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11355 no_cache=0
11356 # Check whether --enable-combobox was given.
11357 if test "${enable_combobox+set}" = set; then
11358 enableval=$enable_combobox;
11359 if test "$enableval" = yes; then
11360 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11361 else
11362 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11363 fi
11364
11365 else
11366
11367 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11368 if test "x$LINE" != x ; then
11369 eval "DEFAULT_$LINE"
11370 else
11371 no_cache=1
11372 fi
11373
11374 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11375
11376 fi
11377
11378
11379 eval "$wx_cv_use_combobox"
11380 if test "$no_cache" != 1; then
11381 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11382 fi
11383
11384 if test x"$enablestring" = xdisable; then
11385 if test $wxUSE_COMBOBOX = yes; then
11386 result=no
11387 else
11388 result=yes
11389 fi
11390 else
11391 result=$wxUSE_COMBOBOX
11392 fi
11393
11394 { echo "$as_me:$LINENO: result: $result" >&5
11395 echo "${ECHO_T}$result" >&6; }
11396
11397
11398 enablestring=
11399 defaultval=$wxUSE_ALL_FEATURES
11400 if test -z "$defaultval"; then
11401 if test x"$enablestring" = xdisable; then
11402 defaultval=yes
11403 else
11404 defaultval=no
11405 fi
11406 fi
11407
11408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11409 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11410 no_cache=0
11411 # Check whether --enable-comboctrl was given.
11412 if test "${enable_comboctrl+set}" = set; then
11413 enableval=$enable_comboctrl;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11416 else
11417 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11418 fi
11419
11420 else
11421
11422 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11423 if test "x$LINE" != x ; then
11424 eval "DEFAULT_$LINE"
11425 else
11426 no_cache=1
11427 fi
11428
11429 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11430
11431 fi
11432
11433
11434 eval "$wx_cv_use_comboctrl"
11435 if test "$no_cache" != 1; then
11436 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11437 fi
11438
11439 if test x"$enablestring" = xdisable; then
11440 if test $wxUSE_COMBOCTRL = yes; then
11441 result=no
11442 else
11443 result=yes
11444 fi
11445 else
11446 result=$wxUSE_COMBOCTRL
11447 fi
11448
11449 { echo "$as_me:$LINENO: result: $result" >&5
11450 echo "${ECHO_T}$result" >&6; }
11451
11452
11453 enablestring=
11454 defaultval=$wxUSE_ALL_FEATURES
11455 if test -z "$defaultval"; then
11456 if test x"$enablestring" = xdisable; then
11457 defaultval=yes
11458 else
11459 defaultval=no
11460 fi
11461 fi
11462
11463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11464 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11465 no_cache=0
11466 # Check whether --enable-datepick was given.
11467 if test "${enable_datepick+set}" = set; then
11468 enableval=$enable_datepick;
11469 if test "$enableval" = yes; then
11470 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11471 else
11472 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11473 fi
11474
11475 else
11476
11477 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11478 if test "x$LINE" != x ; then
11479 eval "DEFAULT_$LINE"
11480 else
11481 no_cache=1
11482 fi
11483
11484 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_datepick"
11490 if test "$no_cache" != 1; then
11491 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11492 fi
11493
11494 if test x"$enablestring" = xdisable; then
11495 if test $wxUSE_DATEPICKCTRL = yes; then
11496 result=no
11497 else
11498 result=yes
11499 fi
11500 else
11501 result=$wxUSE_DATEPICKCTRL
11502 fi
11503
11504 { echo "$as_me:$LINENO: result: $result" >&5
11505 echo "${ECHO_T}$result" >&6; }
11506
11507
11508 enablestring=
11509 defaultval=$wxUSE_ALL_FEATURES
11510 if test -z "$defaultval"; then
11511 if test x"$enablestring" = xdisable; then
11512 defaultval=yes
11513 else
11514 defaultval=no
11515 fi
11516 fi
11517
11518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11519 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11520 no_cache=0
11521 # Check whether --enable-dirpicker was given.
11522 if test "${enable_dirpicker+set}" = set; then
11523 enableval=$enable_dirpicker;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11526 else
11527 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11528 fi
11529
11530 else
11531
11532 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x ; then
11534 eval "DEFAULT_$LINE"
11535 else
11536 no_cache=1
11537 fi
11538
11539 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11540
11541 fi
11542
11543
11544 eval "$wx_cv_use_dirpicker"
11545 if test "$no_cache" != 1; then
11546 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11547 fi
11548
11549 if test x"$enablestring" = xdisable; then
11550 if test $wxUSE_DIRPICKERCTRL = yes; then
11551 result=no
11552 else
11553 result=yes
11554 fi
11555 else
11556 result=$wxUSE_DIRPICKERCTRL
11557 fi
11558
11559 { echo "$as_me:$LINENO: result: $result" >&5
11560 echo "${ECHO_T}$result" >&6; }
11561
11562
11563 enablestring=
11564 defaultval=$wxUSE_ALL_FEATURES
11565 if test -z "$defaultval"; then
11566 if test x"$enablestring" = xdisable; then
11567 defaultval=yes
11568 else
11569 defaultval=no
11570 fi
11571 fi
11572
11573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11574 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11575 no_cache=0
11576 # Check whether --enable-display was given.
11577 if test "${enable_display+set}" = set; then
11578 enableval=$enable_display;
11579 if test "$enableval" = yes; then
11580 wx_cv_use_display='wxUSE_DISPLAY=yes'
11581 else
11582 wx_cv_use_display='wxUSE_DISPLAY=no'
11583 fi
11584
11585 else
11586
11587 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11588 if test "x$LINE" != x ; then
11589 eval "DEFAULT_$LINE"
11590 else
11591 no_cache=1
11592 fi
11593
11594 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11595
11596 fi
11597
11598
11599 eval "$wx_cv_use_display"
11600 if test "$no_cache" != 1; then
11601 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11602 fi
11603
11604 if test x"$enablestring" = xdisable; then
11605 if test $wxUSE_DISPLAY = yes; then
11606 result=no
11607 else
11608 result=yes
11609 fi
11610 else
11611 result=$wxUSE_DISPLAY
11612 fi
11613
11614 { echo "$as_me:$LINENO: result: $result" >&5
11615 echo "${ECHO_T}$result" >&6; }
11616
11617
11618 enablestring=
11619 defaultval=$wxUSE_ALL_FEATURES
11620 if test -z "$defaultval"; then
11621 if test x"$enablestring" = xdisable; then
11622 defaultval=yes
11623 else
11624 defaultval=no
11625 fi
11626 fi
11627
11628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11629 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11630 no_cache=0
11631 # Check whether --enable-detect_sm was given.
11632 if test "${enable_detect_sm+set}" = set; then
11633 enableval=$enable_detect_sm;
11634 if test "$enableval" = yes; then
11635 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11636 else
11637 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11638 fi
11639
11640 else
11641
11642 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11643 if test "x$LINE" != x ; then
11644 eval "DEFAULT_$LINE"
11645 else
11646 no_cache=1
11647 fi
11648
11649 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11650
11651 fi
11652
11653
11654 eval "$wx_cv_use_detect_sm"
11655 if test "$no_cache" != 1; then
11656 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11657 fi
11658
11659 if test x"$enablestring" = xdisable; then
11660 if test $wxUSE_DETECT_SM = yes; then
11661 result=no
11662 else
11663 result=yes
11664 fi
11665 else
11666 result=$wxUSE_DETECT_SM
11667 fi
11668
11669 { echo "$as_me:$LINENO: result: $result" >&5
11670 echo "${ECHO_T}$result" >&6; }
11671
11672
11673 enablestring=
11674 defaultval=$wxUSE_ALL_FEATURES
11675 if test -z "$defaultval"; then
11676 if test x"$enablestring" = xdisable; then
11677 defaultval=yes
11678 else
11679 defaultval=no
11680 fi
11681 fi
11682
11683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11684 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11685 no_cache=0
11686 # Check whether --enable-editablebox was given.
11687 if test "${enable_editablebox+set}" = set; then
11688 enableval=$enable_editablebox;
11689 if test "$enableval" = yes; then
11690 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11691 else
11692 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11693 fi
11694
11695 else
11696
11697 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11698 if test "x$LINE" != x ; then
11699 eval "DEFAULT_$LINE"
11700 else
11701 no_cache=1
11702 fi
11703
11704 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_editablebox"
11710 if test "$no_cache" != 1; then
11711 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11712 fi
11713
11714 if test x"$enablestring" = xdisable; then
11715 if test $wxUSE_EDITABLELISTBOX = yes; then
11716 result=no
11717 else
11718 result=yes
11719 fi
11720 else
11721 result=$wxUSE_EDITABLELISTBOX
11722 fi
11723
11724 { echo "$as_me:$LINENO: result: $result" >&5
11725 echo "${ECHO_T}$result" >&6; }
11726
11727
11728 enablestring=
11729 defaultval=$wxUSE_ALL_FEATURES
11730 if test -z "$defaultval"; then
11731 if test x"$enablestring" = xdisable; then
11732 defaultval=yes
11733 else
11734 defaultval=no
11735 fi
11736 fi
11737
11738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11740 no_cache=0
11741 # Check whether --enable-filepicker was given.
11742 if test "${enable_filepicker+set}" = set; then
11743 enableval=$enable_filepicker;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11746 else
11747 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11748 fi
11749
11750 else
11751
11752 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11753 if test "x$LINE" != x ; then
11754 eval "DEFAULT_$LINE"
11755 else
11756 no_cache=1
11757 fi
11758
11759 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11760
11761 fi
11762
11763
11764 eval "$wx_cv_use_filepicker"
11765 if test "$no_cache" != 1; then
11766 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test x"$enablestring" = xdisable; then
11770 if test $wxUSE_FILEPICKERCTRL = yes; then
11771 result=no
11772 else
11773 result=yes
11774 fi
11775 else
11776 result=$wxUSE_FILEPICKERCTRL
11777 fi
11778
11779 { echo "$as_me:$LINENO: result: $result" >&5
11780 echo "${ECHO_T}$result" >&6; }
11781
11782
11783 enablestring=
11784 defaultval=$wxUSE_ALL_FEATURES
11785 if test -z "$defaultval"; then
11786 if test x"$enablestring" = xdisable; then
11787 defaultval=yes
11788 else
11789 defaultval=no
11790 fi
11791 fi
11792
11793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11794 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11795 no_cache=0
11796 # Check whether --enable-fontpicker was given.
11797 if test "${enable_fontpicker+set}" = set; then
11798 enableval=$enable_fontpicker;
11799 if test "$enableval" = yes; then
11800 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11801 else
11802 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11803 fi
11804
11805 else
11806
11807 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11808 if test "x$LINE" != x ; then
11809 eval "DEFAULT_$LINE"
11810 else
11811 no_cache=1
11812 fi
11813
11814 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11815
11816 fi
11817
11818
11819 eval "$wx_cv_use_fontpicker"
11820 if test "$no_cache" != 1; then
11821 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11822 fi
11823
11824 if test x"$enablestring" = xdisable; then
11825 if test $wxUSE_FONTPICKERCTRL = yes; then
11826 result=no
11827 else
11828 result=yes
11829 fi
11830 else
11831 result=$wxUSE_FONTPICKERCTRL
11832 fi
11833
11834 { echo "$as_me:$LINENO: result: $result" >&5
11835 echo "${ECHO_T}$result" >&6; }
11836
11837
11838 enablestring=
11839 defaultval=$wxUSE_ALL_FEATURES
11840 if test -z "$defaultval"; then
11841 if test x"$enablestring" = xdisable; then
11842 defaultval=yes
11843 else
11844 defaultval=no
11845 fi
11846 fi
11847
11848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11849 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11850 no_cache=0
11851 # Check whether --enable-gauge was given.
11852 if test "${enable_gauge+set}" = set; then
11853 enableval=$enable_gauge;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11856 else
11857 wx_cv_use_gauge='wxUSE_GAUGE=no'
11858 fi
11859
11860 else
11861
11862 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11863 if test "x$LINE" != x ; then
11864 eval "DEFAULT_$LINE"
11865 else
11866 no_cache=1
11867 fi
11868
11869 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11870
11871 fi
11872
11873
11874 eval "$wx_cv_use_gauge"
11875 if test "$no_cache" != 1; then
11876 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11877 fi
11878
11879 if test x"$enablestring" = xdisable; then
11880 if test $wxUSE_GAUGE = yes; then
11881 result=no
11882 else
11883 result=yes
11884 fi
11885 else
11886 result=$wxUSE_GAUGE
11887 fi
11888
11889 { echo "$as_me:$LINENO: result: $result" >&5
11890 echo "${ECHO_T}$result" >&6; }
11891
11892
11893 enablestring=
11894 defaultval=$wxUSE_ALL_FEATURES
11895 if test -z "$defaultval"; then
11896 if test x"$enablestring" = xdisable; then
11897 defaultval=yes
11898 else
11899 defaultval=no
11900 fi
11901 fi
11902
11903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11904 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11905 no_cache=0
11906 # Check whether --enable-grid was given.
11907 if test "${enable_grid+set}" = set; then
11908 enableval=$enable_grid;
11909 if test "$enableval" = yes; then
11910 wx_cv_use_grid='wxUSE_GRID=yes'
11911 else
11912 wx_cv_use_grid='wxUSE_GRID=no'
11913 fi
11914
11915 else
11916
11917 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11918 if test "x$LINE" != x ; then
11919 eval "DEFAULT_$LINE"
11920 else
11921 no_cache=1
11922 fi
11923
11924 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_grid"
11930 if test "$no_cache" != 1; then
11931 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11932 fi
11933
11934 if test x"$enablestring" = xdisable; then
11935 if test $wxUSE_GRID = yes; then
11936 result=no
11937 else
11938 result=yes
11939 fi
11940 else
11941 result=$wxUSE_GRID
11942 fi
11943
11944 { echo "$as_me:$LINENO: result: $result" >&5
11945 echo "${ECHO_T}$result" >&6; }
11946
11947
11948 enablestring=
11949 defaultval=$wxUSE_ALL_FEATURES
11950 if test -z "$defaultval"; then
11951 if test x"$enablestring" = xdisable; then
11952 defaultval=yes
11953 else
11954 defaultval=no
11955 fi
11956 fi
11957
11958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11959 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11960 no_cache=0
11961 # Check whether --enable-dataviewctrl was given.
11962 if test "${enable_dataviewctrl+set}" = set; then
11963 enableval=$enable_dataviewctrl;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11966 else
11967 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11968 fi
11969
11970 else
11971
11972 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11973 if test "x$LINE" != x ; then
11974 eval "DEFAULT_$LINE"
11975 else
11976 no_cache=1
11977 fi
11978
11979 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11980
11981 fi
11982
11983
11984 eval "$wx_cv_use_dataviewctrl"
11985 if test "$no_cache" != 1; then
11986 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11987 fi
11988
11989 if test x"$enablestring" = xdisable; then
11990 if test $wxUSE_DATAVIEWCTRL = yes; then
11991 result=no
11992 else
11993 result=yes
11994 fi
11995 else
11996 result=$wxUSE_DATAVIEWCTRL
11997 fi
11998
11999 { echo "$as_me:$LINENO: result: $result" >&5
12000 echo "${ECHO_T}$result" >&6; }
12001
12002
12003 enablestring=
12004 defaultval=$wxUSE_ALL_FEATURES
12005 if test -z "$defaultval"; then
12006 if test x"$enablestring" = xdisable; then
12007 defaultval=yes
12008 else
12009 defaultval=no
12010 fi
12011 fi
12012
12013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
12015 no_cache=0
12016 # Check whether --enable-hyperlink was given.
12017 if test "${enable_hyperlink+set}" = set; then
12018 enableval=$enable_hyperlink;
12019 if test "$enableval" = yes; then
12020 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12021 else
12022 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12023 fi
12024
12025 else
12026
12027 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12030 else
12031 no_cache=1
12032 fi
12033
12034 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_hyperlink"
12040 if test "$no_cache" != 1; then
12041 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
12042 fi
12043
12044 if test x"$enablestring" = xdisable; then
12045 if test $wxUSE_HYPERLINKCTRL = yes; then
12046 result=no
12047 else
12048 result=yes
12049 fi
12050 else
12051 result=$wxUSE_HYPERLINKCTRL
12052 fi
12053
12054 { echo "$as_me:$LINENO: result: $result" >&5
12055 echo "${ECHO_T}$result" >&6; }
12056
12057
12058 enablestring=
12059 defaultval=$wxUSE_ALL_FEATURES
12060 if test -z "$defaultval"; then
12061 if test x"$enablestring" = xdisable; then
12062 defaultval=yes
12063 else
12064 defaultval=no
12065 fi
12066 fi
12067
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12070 no_cache=0
12071 # Check whether --enable-imaglist was given.
12072 if test "${enable_imaglist+set}" = set; then
12073 enableval=$enable_imaglist;
12074 if test "$enableval" = yes; then
12075 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12076 else
12077 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12078 fi
12079
12080 else
12081
12082 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 else
12086 no_cache=1
12087 fi
12088
12089 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12090
12091 fi
12092
12093
12094 eval "$wx_cv_use_imaglist"
12095 if test "$no_cache" != 1; then
12096 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12097 fi
12098
12099 if test x"$enablestring" = xdisable; then
12100 if test $wxUSE_IMAGLIST = yes; then
12101 result=no
12102 else
12103 result=yes
12104 fi
12105 else
12106 result=$wxUSE_IMAGLIST
12107 fi
12108
12109 { echo "$as_me:$LINENO: result: $result" >&5
12110 echo "${ECHO_T}$result" >&6; }
12111
12112
12113 enablestring=
12114 defaultval=$wxUSE_ALL_FEATURES
12115 if test -z "$defaultval"; then
12116 if test x"$enablestring" = xdisable; then
12117 defaultval=yes
12118 else
12119 defaultval=no
12120 fi
12121 fi
12122
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-listbook was given.
12127 if test "${enable_listbook+set}" = set; then
12128 enableval=$enable_listbook;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12131 else
12132 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_listbook"
12150 if test "$no_cache" != 1; then
12151 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_LISTBOOK = yes; then
12156 result=no
12157 else
12158 result=yes
12159 fi
12160 else
12161 result=$wxUSE_LISTBOOK
12162 fi
12163
12164 { echo "$as_me:$LINENO: result: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12166
12167
12168 enablestring=
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12172 defaultval=yes
12173 else
12174 defaultval=no
12175 fi
12176 fi
12177
12178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12179 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12180 no_cache=0
12181 # Check whether --enable-listbox was given.
12182 if test "${enable_listbox+set}" = set; then
12183 enableval=$enable_listbox;
12184 if test "$enableval" = yes; then
12185 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12186 else
12187 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12188 fi
12189
12190 else
12191
12192 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12193 if test "x$LINE" != x ; then
12194 eval "DEFAULT_$LINE"
12195 else
12196 no_cache=1
12197 fi
12198
12199 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12200
12201 fi
12202
12203
12204 eval "$wx_cv_use_listbox"
12205 if test "$no_cache" != 1; then
12206 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12207 fi
12208
12209 if test x"$enablestring" = xdisable; then
12210 if test $wxUSE_LISTBOX = yes; then
12211 result=no
12212 else
12213 result=yes
12214 fi
12215 else
12216 result=$wxUSE_LISTBOX
12217 fi
12218
12219 { echo "$as_me:$LINENO: result: $result" >&5
12220 echo "${ECHO_T}$result" >&6; }
12221
12222
12223 enablestring=
12224 defaultval=$wxUSE_ALL_FEATURES
12225 if test -z "$defaultval"; then
12226 if test x"$enablestring" = xdisable; then
12227 defaultval=yes
12228 else
12229 defaultval=no
12230 fi
12231 fi
12232
12233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
12234 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12235 no_cache=0
12236 # Check whether --enable-listctrl was given.
12237 if test "${enable_listctrl+set}" = set; then
12238 enableval=$enable_listctrl;
12239 if test "$enableval" = yes; then
12240 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12241 else
12242 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12243 fi
12244
12245 else
12246
12247 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12248 if test "x$LINE" != x ; then
12249 eval "DEFAULT_$LINE"
12250 else
12251 no_cache=1
12252 fi
12253
12254 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12255
12256 fi
12257
12258
12259 eval "$wx_cv_use_listctrl"
12260 if test "$no_cache" != 1; then
12261 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12262 fi
12263
12264 if test x"$enablestring" = xdisable; then
12265 if test $wxUSE_LISTCTRL = yes; then
12266 result=no
12267 else
12268 result=yes
12269 fi
12270 else
12271 result=$wxUSE_LISTCTRL
12272 fi
12273
12274 { echo "$as_me:$LINENO: result: $result" >&5
12275 echo "${ECHO_T}$result" >&6; }
12276
12277
12278 enablestring=
12279 defaultval=$wxUSE_ALL_FEATURES
12280 if test -z "$defaultval"; then
12281 if test x"$enablestring" = xdisable; then
12282 defaultval=yes
12283 else
12284 defaultval=no
12285 fi
12286 fi
12287
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12290 no_cache=0
12291 # Check whether --enable-notebook was given.
12292 if test "${enable_notebook+set}" = set; then
12293 enableval=$enable_notebook;
12294 if test "$enableval" = yes; then
12295 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12296 else
12297 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12298 fi
12299
12300 else
12301
12302 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x ; then
12304 eval "DEFAULT_$LINE"
12305 else
12306 no_cache=1
12307 fi
12308
12309 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12310
12311 fi
12312
12313
12314 eval "$wx_cv_use_notebook"
12315 if test "$no_cache" != 1; then
12316 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12317 fi
12318
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_NOTEBOOK = yes; then
12321 result=no
12322 else
12323 result=yes
12324 fi
12325 else
12326 result=$wxUSE_NOTEBOOK
12327 fi
12328
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12331
12332
12333 enablestring=
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12337 defaultval=yes
12338 else
12339 defaultval=no
12340 fi
12341 fi
12342
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12345 no_cache=0
12346 # Check whether --enable-odcombobox was given.
12347 if test "${enable_odcombobox+set}" = set; then
12348 enableval=$enable_odcombobox;
12349 if test "$enableval" = yes; then
12350 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12351 else
12352 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12353 fi
12354
12355 else
12356
12357 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12358 if test "x$LINE" != x ; then
12359 eval "DEFAULT_$LINE"
12360 else
12361 no_cache=1
12362 fi
12363
12364 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_odcombobox"
12370 if test "$no_cache" != 1; then
12371 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12372 fi
12373
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_ODCOMBOBOX = yes; then
12376 result=no
12377 else
12378 result=yes
12379 fi
12380 else
12381 result=$wxUSE_ODCOMBOBOX
12382 fi
12383
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12386
12387
12388 enablestring=
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12392 defaultval=yes
12393 else
12394 defaultval=no
12395 fi
12396 fi
12397
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12400 no_cache=0
12401 # Check whether --enable-radiobox was given.
12402 if test "${enable_radiobox+set}" = set; then
12403 enableval=$enable_radiobox;
12404 if test "$enableval" = yes; then
12405 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12406 else
12407 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12408 fi
12409
12410 else
12411
12412 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12413 if test "x$LINE" != x ; then
12414 eval "DEFAULT_$LINE"
12415 else
12416 no_cache=1
12417 fi
12418
12419 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12420
12421 fi
12422
12423
12424 eval "$wx_cv_use_radiobox"
12425 if test "$no_cache" != 1; then
12426 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12427 fi
12428
12429 if test x"$enablestring" = xdisable; then
12430 if test $wxUSE_RADIOBOX = yes; then
12431 result=no
12432 else
12433 result=yes
12434 fi
12435 else
12436 result=$wxUSE_RADIOBOX
12437 fi
12438
12439 { echo "$as_me:$LINENO: result: $result" >&5
12440 echo "${ECHO_T}$result" >&6; }
12441
12442
12443 enablestring=
12444 defaultval=$wxUSE_ALL_FEATURES
12445 if test -z "$defaultval"; then
12446 if test x"$enablestring" = xdisable; then
12447 defaultval=yes
12448 else
12449 defaultval=no
12450 fi
12451 fi
12452
12453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12454 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12455 no_cache=0
12456 # Check whether --enable-radiobtn was given.
12457 if test "${enable_radiobtn+set}" = set; then
12458 enableval=$enable_radiobtn;
12459 if test "$enableval" = yes; then
12460 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12461 else
12462 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12463 fi
12464
12465 else
12466
12467 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12468 if test "x$LINE" != x ; then
12469 eval "DEFAULT_$LINE"
12470 else
12471 no_cache=1
12472 fi
12473
12474 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12475
12476 fi
12477
12478
12479 eval "$wx_cv_use_radiobtn"
12480 if test "$no_cache" != 1; then
12481 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12482 fi
12483
12484 if test x"$enablestring" = xdisable; then
12485 if test $wxUSE_RADIOBTN = yes; then
12486 result=no
12487 else
12488 result=yes
12489 fi
12490 else
12491 result=$wxUSE_RADIOBTN
12492 fi
12493
12494 { echo "$as_me:$LINENO: result: $result" >&5
12495 echo "${ECHO_T}$result" >&6; }
12496
12497
12498 enablestring=
12499 defaultval=$wxUSE_ALL_FEATURES
12500 if test -z "$defaultval"; then
12501 if test x"$enablestring" = xdisable; then
12502 defaultval=yes
12503 else
12504 defaultval=no
12505 fi
12506 fi
12507
12508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12509 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12510 no_cache=0
12511 # Check whether --enable-sash was given.
12512 if test "${enable_sash+set}" = set; then
12513 enableval=$enable_sash;
12514 if test "$enableval" = yes; then
12515 wx_cv_use_sash='wxUSE_SASH=yes'
12516 else
12517 wx_cv_use_sash='wxUSE_SASH=no'
12518 fi
12519
12520 else
12521
12522 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12523 if test "x$LINE" != x ; then
12524 eval "DEFAULT_$LINE"
12525 else
12526 no_cache=1
12527 fi
12528
12529 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12530
12531 fi
12532
12533
12534 eval "$wx_cv_use_sash"
12535 if test "$no_cache" != 1; then
12536 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12537 fi
12538
12539 if test x"$enablestring" = xdisable; then
12540 if test $wxUSE_SASH = yes; then
12541 result=no
12542 else
12543 result=yes
12544 fi
12545 else
12546 result=$wxUSE_SASH
12547 fi
12548
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12551
12552
12553 enablestring=
12554 defaultval=$wxUSE_ALL_FEATURES
12555 if test -z "$defaultval"; then
12556 if test x"$enablestring" = xdisable; then
12557 defaultval=yes
12558 else
12559 defaultval=no
12560 fi
12561 fi
12562
12563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12564 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12565 no_cache=0
12566 # Check whether --enable-scrollbar was given.
12567 if test "${enable_scrollbar+set}" = set; then
12568 enableval=$enable_scrollbar;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12571 else
12572 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12573 fi
12574
12575 else
12576
12577 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12578 if test "x$LINE" != x ; then
12579 eval "DEFAULT_$LINE"
12580 else
12581 no_cache=1
12582 fi
12583
12584 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_scrollbar"
12590 if test "$no_cache" != 1; then
12591 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12592 fi
12593
12594 if test x"$enablestring" = xdisable; then
12595 if test $wxUSE_SCROLLBAR = yes; then
12596 result=no
12597 else
12598 result=yes
12599 fi
12600 else
12601 result=$wxUSE_SCROLLBAR
12602 fi
12603
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12606
12607
12608 enablestring=
12609 defaultval=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x"$enablestring" = xdisable; then
12612 defaultval=yes
12613 else
12614 defaultval=no
12615 fi
12616 fi
12617
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12620 no_cache=0
12621 # Check whether --enable-searchctrl was given.
12622 if test "${enable_searchctrl+set}" = set; then
12623 enableval=$enable_searchctrl;
12624 if test "$enableval" = yes; then
12625 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12626 else
12627 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12628 fi
12629
12630 else
12631
12632 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12633 if test "x$LINE" != x ; then
12634 eval "DEFAULT_$LINE"
12635 else
12636 no_cache=1
12637 fi
12638
12639 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12640
12641 fi
12642
12643
12644 eval "$wx_cv_use_searchctrl"
12645 if test "$no_cache" != 1; then
12646 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12647 fi
12648
12649 if test x"$enablestring" = xdisable; then
12650 if test $wxUSE_SEARCHCTRL = yes; then
12651 result=no
12652 else
12653 result=yes
12654 fi
12655 else
12656 result=$wxUSE_SEARCHCTRL
12657 fi
12658
12659 { echo "$as_me:$LINENO: result: $result" >&5
12660 echo "${ECHO_T}$result" >&6; }
12661
12662
12663 enablestring=
12664 defaultval=$wxUSE_ALL_FEATURES
12665 if test -z "$defaultval"; then
12666 if test x"$enablestring" = xdisable; then
12667 defaultval=yes
12668 else
12669 defaultval=no
12670 fi
12671 fi
12672
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12675 no_cache=0
12676 # Check whether --enable-slider was given.
12677 if test "${enable_slider+set}" = set; then
12678 enableval=$enable_slider;
12679 if test "$enableval" = yes; then
12680 wx_cv_use_slider='wxUSE_SLIDER=yes'
12681 else
12682 wx_cv_use_slider='wxUSE_SLIDER=no'
12683 fi
12684
12685 else
12686
12687 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 else
12691 no_cache=1
12692 fi
12693
12694 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12695
12696 fi
12697
12698
12699 eval "$wx_cv_use_slider"
12700 if test "$no_cache" != 1; then
12701 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12702 fi
12703
12704 if test x"$enablestring" = xdisable; then
12705 if test $wxUSE_SLIDER = yes; then
12706 result=no
12707 else
12708 result=yes
12709 fi
12710 else
12711 result=$wxUSE_SLIDER
12712 fi
12713
12714 { echo "$as_me:$LINENO: result: $result" >&5
12715 echo "${ECHO_T}$result" >&6; }
12716
12717
12718 enablestring=
12719 defaultval=$wxUSE_ALL_FEATURES
12720 if test -z "$defaultval"; then
12721 if test x"$enablestring" = xdisable; then
12722 defaultval=yes
12723 else
12724 defaultval=no
12725 fi
12726 fi
12727
12728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12729 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12730 no_cache=0
12731 # Check whether --enable-spinbtn was given.
12732 if test "${enable_spinbtn+set}" = set; then
12733 enableval=$enable_spinbtn;
12734 if test "$enableval" = yes; then
12735 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12736 else
12737 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12738 fi
12739
12740 else
12741
12742 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12743 if test "x$LINE" != x ; then
12744 eval "DEFAULT_$LINE"
12745 else
12746 no_cache=1
12747 fi
12748
12749 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12750
12751 fi
12752
12753
12754 eval "$wx_cv_use_spinbtn"
12755 if test "$no_cache" != 1; then
12756 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12757 fi
12758
12759 if test x"$enablestring" = xdisable; then
12760 if test $wxUSE_SPINBTN = yes; then
12761 result=no
12762 else
12763 result=yes
12764 fi
12765 else
12766 result=$wxUSE_SPINBTN
12767 fi
12768
12769 { echo "$as_me:$LINENO: result: $result" >&5
12770 echo "${ECHO_T}$result" >&6; }
12771
12772
12773 enablestring=
12774 defaultval=$wxUSE_ALL_FEATURES
12775 if test -z "$defaultval"; then
12776 if test x"$enablestring" = xdisable; then
12777 defaultval=yes
12778 else
12779 defaultval=no
12780 fi
12781 fi
12782
12783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12784 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12785 no_cache=0
12786 # Check whether --enable-spinctrl was given.
12787 if test "${enable_spinctrl+set}" = set; then
12788 enableval=$enable_spinctrl;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12791 else
12792 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12793 fi
12794
12795 else
12796
12797 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12798 if test "x$LINE" != x ; then
12799 eval "DEFAULT_$LINE"
12800 else
12801 no_cache=1
12802 fi
12803
12804 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_spinctrl"
12810 if test "$no_cache" != 1; then
12811 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12812 fi
12813
12814 if test x"$enablestring" = xdisable; then
12815 if test $wxUSE_SPINCTRL = yes; then
12816 result=no
12817 else
12818 result=yes
12819 fi
12820 else
12821 result=$wxUSE_SPINCTRL
12822 fi
12823
12824 { echo "$as_me:$LINENO: result: $result" >&5
12825 echo "${ECHO_T}$result" >&6; }
12826
12827
12828 enablestring=
12829 defaultval=$wxUSE_ALL_FEATURES
12830 if test -z "$defaultval"; then
12831 if test x"$enablestring" = xdisable; then
12832 defaultval=yes
12833 else
12834 defaultval=no
12835 fi
12836 fi
12837
12838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12839 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12840 no_cache=0
12841 # Check whether --enable-splitter was given.
12842 if test "${enable_splitter+set}" = set; then
12843 enableval=$enable_splitter;
12844 if test "$enableval" = yes; then
12845 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12846 else
12847 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12848 fi
12849
12850 else
12851
12852 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12853 if test "x$LINE" != x ; then
12854 eval "DEFAULT_$LINE"
12855 else
12856 no_cache=1
12857 fi
12858
12859 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12860
12861 fi
12862
12863
12864 eval "$wx_cv_use_splitter"
12865 if test "$no_cache" != 1; then
12866 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12867 fi
12868
12869 if test x"$enablestring" = xdisable; then
12870 if test $wxUSE_SPLITTER = yes; then
12871 result=no
12872 else
12873 result=yes
12874 fi
12875 else
12876 result=$wxUSE_SPLITTER
12877 fi
12878
12879 { echo "$as_me:$LINENO: result: $result" >&5
12880 echo "${ECHO_T}$result" >&6; }
12881
12882
12883 enablestring=
12884 defaultval=$wxUSE_ALL_FEATURES
12885 if test -z "$defaultval"; then
12886 if test x"$enablestring" = xdisable; then
12887 defaultval=yes
12888 else
12889 defaultval=no
12890 fi
12891 fi
12892
12893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12894 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12895 no_cache=0
12896 # Check whether --enable-statbmp was given.
12897 if test "${enable_statbmp+set}" = set; then
12898 enableval=$enable_statbmp;
12899 if test "$enableval" = yes; then
12900 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12901 else
12902 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12903 fi
12904
12905 else
12906
12907 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12908 if test "x$LINE" != x ; then
12909 eval "DEFAULT_$LINE"
12910 else
12911 no_cache=1
12912 fi
12913
12914 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12915
12916 fi
12917
12918
12919 eval "$wx_cv_use_statbmp"
12920 if test "$no_cache" != 1; then
12921 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12922 fi
12923
12924 if test x"$enablestring" = xdisable; then
12925 if test $wxUSE_STATBMP = yes; then
12926 result=no
12927 else
12928 result=yes
12929 fi
12930 else
12931 result=$wxUSE_STATBMP
12932 fi
12933
12934 { echo "$as_me:$LINENO: result: $result" >&5
12935 echo "${ECHO_T}$result" >&6; }
12936
12937
12938 enablestring=
12939 defaultval=$wxUSE_ALL_FEATURES
12940 if test -z "$defaultval"; then
12941 if test x"$enablestring" = xdisable; then
12942 defaultval=yes
12943 else
12944 defaultval=no
12945 fi
12946 fi
12947
12948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12949 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12950 no_cache=0
12951 # Check whether --enable-statbox was given.
12952 if test "${enable_statbox+set}" = set; then
12953 enableval=$enable_statbox;
12954 if test "$enableval" = yes; then
12955 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12956 else
12957 wx_cv_use_statbox='wxUSE_STATBOX=no'
12958 fi
12959
12960 else
12961
12962 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12963 if test "x$LINE" != x ; then
12964 eval "DEFAULT_$LINE"
12965 else
12966 no_cache=1
12967 fi
12968
12969 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12970
12971 fi
12972
12973
12974 eval "$wx_cv_use_statbox"
12975 if test "$no_cache" != 1; then
12976 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12977 fi
12978
12979 if test x"$enablestring" = xdisable; then
12980 if test $wxUSE_STATBOX = yes; then
12981 result=no
12982 else
12983 result=yes
12984 fi
12985 else
12986 result=$wxUSE_STATBOX
12987 fi
12988
12989 { echo "$as_me:$LINENO: result: $result" >&5
12990 echo "${ECHO_T}$result" >&6; }
12991
12992
12993 enablestring=
12994 defaultval=$wxUSE_ALL_FEATURES
12995 if test -z "$defaultval"; then
12996 if test x"$enablestring" = xdisable; then
12997 defaultval=yes
12998 else
12999 defaultval=no
13000 fi
13001 fi
13002
13003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
13004 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
13005 no_cache=0
13006 # Check whether --enable-statline was given.
13007 if test "${enable_statline+set}" = set; then
13008 enableval=$enable_statline;
13009 if test "$enableval" = yes; then
13010 wx_cv_use_statline='wxUSE_STATLINE=yes'
13011 else
13012 wx_cv_use_statline='wxUSE_STATLINE=no'
13013 fi
13014
13015 else
13016
13017 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
13018 if test "x$LINE" != x ; then
13019 eval "DEFAULT_$LINE"
13020 else
13021 no_cache=1
13022 fi
13023
13024 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_statline"
13030 if test "$no_cache" != 1; then
13031 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
13032 fi
13033
13034 if test x"$enablestring" = xdisable; then
13035 if test $wxUSE_STATLINE = yes; then
13036 result=no
13037 else
13038 result=yes
13039 fi
13040 else
13041 result=$wxUSE_STATLINE
13042 fi
13043
13044 { echo "$as_me:$LINENO: result: $result" >&5
13045 echo "${ECHO_T}$result" >&6; }
13046
13047
13048 enablestring=
13049 defaultval=$wxUSE_ALL_FEATURES
13050 if test -z "$defaultval"; then
13051 if test x"$enablestring" = xdisable; then
13052 defaultval=yes
13053 else
13054 defaultval=no
13055 fi
13056 fi
13057
13058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13059 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13060 no_cache=0
13061 # Check whether --enable-stattext was given.
13062 if test "${enable_stattext+set}" = set; then
13063 enableval=$enable_stattext;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13066 else
13067 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13068 fi
13069
13070 else
13071
13072 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13073 if test "x$LINE" != x ; then
13074 eval "DEFAULT_$LINE"
13075 else
13076 no_cache=1
13077 fi
13078
13079 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13080
13081 fi
13082
13083
13084 eval "$wx_cv_use_stattext"
13085 if test "$no_cache" != 1; then
13086 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13087 fi
13088
13089 if test x"$enablestring" = xdisable; then
13090 if test $wxUSE_STATTEXT = yes; then
13091 result=no
13092 else
13093 result=yes
13094 fi
13095 else
13096 result=$wxUSE_STATTEXT
13097 fi
13098
13099 { echo "$as_me:$LINENO: result: $result" >&5
13100 echo "${ECHO_T}$result" >&6; }
13101
13102
13103 enablestring=
13104 defaultval=$wxUSE_ALL_FEATURES
13105 if test -z "$defaultval"; then
13106 if test x"$enablestring" = xdisable; then
13107 defaultval=yes
13108 else
13109 defaultval=no
13110 fi
13111 fi
13112
13113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13114 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13115 no_cache=0
13116 # Check whether --enable-statusbar was given.
13117 if test "${enable_statusbar+set}" = set; then
13118 enableval=$enable_statusbar;
13119 if test "$enableval" = yes; then
13120 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13121 else
13122 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13123 fi
13124
13125 else
13126
13127 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13128 if test "x$LINE" != x ; then
13129 eval "DEFAULT_$LINE"
13130 else
13131 no_cache=1
13132 fi
13133
13134 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13135
13136 fi
13137
13138
13139 eval "$wx_cv_use_statusbar"
13140 if test "$no_cache" != 1; then
13141 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13142 fi
13143
13144 if test x"$enablestring" = xdisable; then
13145 if test $wxUSE_STATUSBAR = yes; then
13146 result=no
13147 else
13148 result=yes
13149 fi
13150 else
13151 result=$wxUSE_STATUSBAR
13152 fi
13153
13154 { echo "$as_me:$LINENO: result: $result" >&5
13155 echo "${ECHO_T}$result" >&6; }
13156
13157
13158 enablestring=
13159 defaultval=$wxUSE_ALL_FEATURES
13160 if test -z "$defaultval"; then
13161 if test x"$enablestring" = xdisable; then
13162 defaultval=yes
13163 else
13164 defaultval=no
13165 fi
13166 fi
13167
13168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13169 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13170 no_cache=0
13171 # Check whether --enable-tabdialog was given.
13172 if test "${enable_tabdialog+set}" = set; then
13173 enableval=$enable_tabdialog;
13174 if test "$enableval" = yes; then
13175 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13176 else
13177 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13178 fi
13179
13180 else
13181
13182 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13183 if test "x$LINE" != x ; then
13184 eval "DEFAULT_$LINE"
13185 else
13186 no_cache=1
13187 fi
13188
13189 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13190
13191 fi
13192
13193
13194 eval "$wx_cv_use_tabdialog"
13195 if test "$no_cache" != 1; then
13196 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13197 fi
13198
13199 if test x"$enablestring" = xdisable; then
13200 if test $wxUSE_TAB_DIALOG = yes; then
13201 result=no
13202 else
13203 result=yes
13204 fi
13205 else
13206 result=$wxUSE_TAB_DIALOG
13207 fi
13208
13209 { echo "$as_me:$LINENO: result: $result" >&5
13210 echo "${ECHO_T}$result" >&6; }
13211
13212
13213 enablestring=
13214 defaultval=$wxUSE_ALL_FEATURES
13215 if test -z "$defaultval"; then
13216 if test x"$enablestring" = xdisable; then
13217 defaultval=yes
13218 else
13219 defaultval=no
13220 fi
13221 fi
13222
13223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13224 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13225 no_cache=0
13226 # Check whether --enable-taskbaricon was given.
13227 if test "${enable_taskbaricon+set}" = set; then
13228 enableval=$enable_taskbaricon;
13229 if test "$enableval" = yes; then
13230 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13231 else
13232 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13233 fi
13234
13235 else
13236
13237 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13238 if test "x$LINE" != x ; then
13239 eval "DEFAULT_$LINE"
13240 else
13241 no_cache=1
13242 fi
13243
13244 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13245
13246 fi
13247
13248
13249 eval "$wx_cv_use_taskbaricon"
13250 if test "$no_cache" != 1; then
13251 echo $wx_cv_use_taskbaricon >> ${wx_arg_cache_file}.tmp
13252 fi
13253
13254 if test x"$enablestring" = xdisable; then
13255 if test $wxUSE_TASKBARICON = yes; then
13256 result=no
13257 else
13258 result=yes
13259 fi
13260 else
13261 result=$wxUSE_TASKBARICON
13262 fi
13263
13264 { echo "$as_me:$LINENO: result: $result" >&5
13265 echo "${ECHO_T}$result" >&6; }
13266
13267
13268 enablestring=
13269 defaultval=$wxUSE_ALL_FEATURES
13270 if test -z "$defaultval"; then
13271 if test x"$enablestring" = xdisable; then
13272 defaultval=yes
13273 else
13274 defaultval=no
13275 fi
13276 fi
13277
13278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13279 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13280 no_cache=0
13281 # Check whether --enable-textctrl was given.
13282 if test "${enable_textctrl+set}" = set; then
13283 enableval=$enable_textctrl;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13286 else
13287 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13288 fi
13289
13290 else
13291
13292 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13293 if test "x$LINE" != x ; then
13294 eval "DEFAULT_$LINE"
13295 else
13296 no_cache=1
13297 fi
13298
13299 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13300
13301 fi
13302
13303
13304 eval "$wx_cv_use_textctrl"
13305 if test "$no_cache" != 1; then
13306 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13307 fi
13308
13309 if test x"$enablestring" = xdisable; then
13310 if test $wxUSE_TEXTCTRL = yes; then
13311 result=no
13312 else
13313 result=yes
13314 fi
13315 else
13316 result=$wxUSE_TEXTCTRL
13317 fi
13318
13319 { echo "$as_me:$LINENO: result: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13321
13322
13323 enablestring=
13324 defaultval=$wxUSE_ALL_FEATURES
13325 if test -z "$defaultval"; then
13326 if test x"$enablestring" = xdisable; then
13327 defaultval=yes
13328 else
13329 defaultval=no
13330 fi
13331 fi
13332
13333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13334 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13335 no_cache=0
13336 # Check whether --enable-togglebtn was given.
13337 if test "${enable_togglebtn+set}" = set; then
13338 enableval=$enable_togglebtn;
13339 if test "$enableval" = yes; then
13340 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13341 else
13342 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13343 fi
13344
13345 else
13346
13347 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13348 if test "x$LINE" != x ; then
13349 eval "DEFAULT_$LINE"
13350 else
13351 no_cache=1
13352 fi
13353
13354 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13355
13356 fi
13357
13358
13359 eval "$wx_cv_use_togglebtn"
13360 if test "$no_cache" != 1; then
13361 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13362 fi
13363
13364 if test x"$enablestring" = xdisable; then
13365 if test $wxUSE_TOGGLEBTN = yes; then
13366 result=no
13367 else
13368 result=yes
13369 fi
13370 else
13371 result=$wxUSE_TOGGLEBTN
13372 fi
13373
13374 { echo "$as_me:$LINENO: result: $result" >&5
13375 echo "${ECHO_T}$result" >&6; }
13376
13377
13378 enablestring=
13379 defaultval=$wxUSE_ALL_FEATURES
13380 if test -z "$defaultval"; then
13381 if test x"$enablestring" = xdisable; then
13382 defaultval=yes
13383 else
13384 defaultval=no
13385 fi
13386 fi
13387
13388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13389 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13390 no_cache=0
13391 # Check whether --enable-toolbar was given.
13392 if test "${enable_toolbar+set}" = set; then
13393 enableval=$enable_toolbar;
13394 if test "$enableval" = yes; then
13395 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13396 else
13397 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13398 fi
13399
13400 else
13401
13402 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13403 if test "x$LINE" != x ; then
13404 eval "DEFAULT_$LINE"
13405 else
13406 no_cache=1
13407 fi
13408
13409 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13410
13411 fi
13412
13413
13414 eval "$wx_cv_use_toolbar"
13415 if test "$no_cache" != 1; then
13416 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13417 fi
13418
13419 if test x"$enablestring" = xdisable; then
13420 if test $wxUSE_TOOLBAR = yes; then
13421 result=no
13422 else
13423 result=yes
13424 fi
13425 else
13426 result=$wxUSE_TOOLBAR
13427 fi
13428
13429 { echo "$as_me:$LINENO: result: $result" >&5
13430 echo "${ECHO_T}$result" >&6; }
13431
13432
13433 enablestring=
13434 defaultval=$wxUSE_ALL_FEATURES
13435 if test -z "$defaultval"; then
13436 if test x"$enablestring" = xdisable; then
13437 defaultval=yes
13438 else
13439 defaultval=no
13440 fi
13441 fi
13442
13443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13444 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13445 no_cache=0
13446 # Check whether --enable-tbarnative was given.
13447 if test "${enable_tbarnative+set}" = set; then
13448 enableval=$enable_tbarnative;
13449 if test "$enableval" = yes; then
13450 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13451 else
13452 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13453 fi
13454
13455 else
13456
13457 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13458 if test "x$LINE" != x ; then
13459 eval "DEFAULT_$LINE"
13460 else
13461 no_cache=1
13462 fi
13463
13464 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13465
13466 fi
13467
13468
13469 eval "$wx_cv_use_tbarnative"
13470 if test "$no_cache" != 1; then
13471 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13472 fi
13473
13474 if test x"$enablestring" = xdisable; then
13475 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13476 result=no
13477 else
13478 result=yes
13479 fi
13480 else
13481 result=$wxUSE_TOOLBAR_NATIVE
13482 fi
13483
13484 { echo "$as_me:$LINENO: result: $result" >&5
13485 echo "${ECHO_T}$result" >&6; }
13486
13487
13488 enablestring=
13489 defaultval=$wxUSE_ALL_FEATURES
13490 if test -z "$defaultval"; then
13491 if test x"$enablestring" = xdisable; then
13492 defaultval=yes
13493 else
13494 defaultval=no
13495 fi
13496 fi
13497
13498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13499 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13500 no_cache=0
13501 # Check whether --enable-treebook was given.
13502 if test "${enable_treebook+set}" = set; then
13503 enableval=$enable_treebook;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13506 else
13507 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13508 fi
13509
13510 else
13511
13512 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13513 if test "x$LINE" != x ; then
13514 eval "DEFAULT_$LINE"
13515 else
13516 no_cache=1
13517 fi
13518
13519 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13520
13521 fi
13522
13523
13524 eval "$wx_cv_use_treebook"
13525 if test "$no_cache" != 1; then
13526 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13527 fi
13528
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_TREEBOOK = yes; then
13531 result=no
13532 else
13533 result=yes
13534 fi
13535 else
13536 result=$wxUSE_TREEBOOK
13537 fi
13538
13539 { echo "$as_me:$LINENO: result: $result" >&5
13540 echo "${ECHO_T}$result" >&6; }
13541
13542
13543 enablestring=
13544 defaultval=$wxUSE_ALL_FEATURES
13545 if test -z "$defaultval"; then
13546 if test x"$enablestring" = xdisable; then
13547 defaultval=yes
13548 else
13549 defaultval=no
13550 fi
13551 fi
13552
13553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13555 no_cache=0
13556 # Check whether --enable-toolbook was given.
13557 if test "${enable_toolbook+set}" = set; then
13558 enableval=$enable_toolbook;
13559 if test "$enableval" = yes; then
13560 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13561 else
13562 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13563 fi
13564
13565 else
13566
13567 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13568 if test "x$LINE" != x ; then
13569 eval "DEFAULT_$LINE"
13570 else
13571 no_cache=1
13572 fi
13573
13574 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13575
13576 fi
13577
13578
13579 eval "$wx_cv_use_toolbook"
13580 if test "$no_cache" != 1; then
13581 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13582 fi
13583
13584 if test x"$enablestring" = xdisable; then
13585 if test $wxUSE_TOOLBOOK = yes; then
13586 result=no
13587 else
13588 result=yes
13589 fi
13590 else
13591 result=$wxUSE_TOOLBOOK
13592 fi
13593
13594 { echo "$as_me:$LINENO: result: $result" >&5
13595 echo "${ECHO_T}$result" >&6; }
13596
13597
13598 enablestring=
13599 defaultval=$wxUSE_ALL_FEATURES
13600 if test -z "$defaultval"; then
13601 if test x"$enablestring" = xdisable; then
13602 defaultval=yes
13603 else
13604 defaultval=no
13605 fi
13606 fi
13607
13608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13609 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13610 no_cache=0
13611 # Check whether --enable-treectrl was given.
13612 if test "${enable_treectrl+set}" = set; then
13613 enableval=$enable_treectrl;
13614 if test "$enableval" = yes; then
13615 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13616 else
13617 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13618 fi
13619
13620 else
13621
13622 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13623 if test "x$LINE" != x ; then
13624 eval "DEFAULT_$LINE"
13625 else
13626 no_cache=1
13627 fi
13628
13629 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13630
13631 fi
13632
13633
13634 eval "$wx_cv_use_treectrl"
13635 if test "$no_cache" != 1; then
13636 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13637 fi
13638
13639 if test x"$enablestring" = xdisable; then
13640 if test $wxUSE_TREECTRL = yes; then
13641 result=no
13642 else
13643 result=yes
13644 fi
13645 else
13646 result=$wxUSE_TREECTRL
13647 fi
13648
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13651
13652
13653 enablestring=
13654 defaultval=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x"$enablestring" = xdisable; then
13657 defaultval=yes
13658 else
13659 defaultval=no
13660 fi
13661 fi
13662
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13665 no_cache=0
13666 # Check whether --enable-tipwindow was given.
13667 if test "${enable_tipwindow+set}" = set; then
13668 enableval=$enable_tipwindow;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13671 else
13672 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13673 fi
13674
13675 else
13676
13677 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13678 if test "x$LINE" != x ; then
13679 eval "DEFAULT_$LINE"
13680 else
13681 no_cache=1
13682 fi
13683
13684 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13685
13686 fi
13687
13688
13689 eval "$wx_cv_use_tipwindow"
13690 if test "$no_cache" != 1; then
13691 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13692 fi
13693
13694 if test x"$enablestring" = xdisable; then
13695 if test $wxUSE_TIPWINDOW = yes; then
13696 result=no
13697 else
13698 result=yes
13699 fi
13700 else
13701 result=$wxUSE_TIPWINDOW
13702 fi
13703
13704 { echo "$as_me:$LINENO: result: $result" >&5
13705 echo "${ECHO_T}$result" >&6; }
13706
13707
13708 enablestring=
13709 defaultval=$wxUSE_ALL_FEATURES
13710 if test -z "$defaultval"; then
13711 if test x"$enablestring" = xdisable; then
13712 defaultval=yes
13713 else
13714 defaultval=no
13715 fi
13716 fi
13717
13718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13719 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13720 no_cache=0
13721 # Check whether --enable-popupwin was given.
13722 if test "${enable_popupwin+set}" = set; then
13723 enableval=$enable_popupwin;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13726 else
13727 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13728 fi
13729
13730 else
13731
13732 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13733 if test "x$LINE" != x ; then
13734 eval "DEFAULT_$LINE"
13735 else
13736 no_cache=1
13737 fi
13738
13739 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13740
13741 fi
13742
13743
13744 eval "$wx_cv_use_popupwin"
13745 if test "$no_cache" != 1; then
13746 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13747 fi
13748
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_POPUPWIN = yes; then
13751 result=no
13752 else
13753 result=yes
13754 fi
13755 else
13756 result=$wxUSE_POPUPWIN
13757 fi
13758
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13761
13762
13763
13764
13765 enablestring=
13766 defaultval=$wxUSE_ALL_FEATURES
13767 if test -z "$defaultval"; then
13768 if test x"$enablestring" = xdisable; then
13769 defaultval=yes
13770 else
13771 defaultval=no
13772 fi
13773 fi
13774
13775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13777 no_cache=0
13778 # Check whether --enable-commondlg was given.
13779 if test "${enable_commondlg+set}" = set; then
13780 enableval=$enable_commondlg;
13781 if test "$enableval" = yes; then
13782 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13783 else
13784 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13785 fi
13786
13787 else
13788
13789 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13790 if test "x$LINE" != x ; then
13791 eval "DEFAULT_$LINE"
13792 else
13793 no_cache=1
13794 fi
13795
13796 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13797
13798 fi
13799
13800
13801 eval "$wx_cv_use_commondlg"
13802 if test "$no_cache" != 1; then
13803 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13804 fi
13805
13806 if test x"$enablestring" = xdisable; then
13807 if test $wxUSE_COMMONDLGS = yes; then
13808 result=no
13809 else
13810 result=yes
13811 fi
13812 else
13813 result=$wxUSE_COMMONDLGS
13814 fi
13815
13816 { echo "$as_me:$LINENO: result: $result" >&5
13817 echo "${ECHO_T}$result" >&6; }
13818
13819
13820 enablestring=
13821 defaultval=$wxUSE_ALL_FEATURES
13822 if test -z "$defaultval"; then
13823 if test x"$enablestring" = xdisable; then
13824 defaultval=yes
13825 else
13826 defaultval=no
13827 fi
13828 fi
13829
13830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13831 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13832 no_cache=0
13833 # Check whether --enable-aboutdlg was given.
13834 if test "${enable_aboutdlg+set}" = set; then
13835 enableval=$enable_aboutdlg;
13836 if test "$enableval" = yes; then
13837 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13838 else
13839 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13840 fi
13841
13842 else
13843
13844 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13845 if test "x$LINE" != x ; then
13846 eval "DEFAULT_$LINE"
13847 else
13848 no_cache=1
13849 fi
13850
13851 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13852
13853 fi
13854
13855
13856 eval "$wx_cv_use_aboutdlg"
13857 if test "$no_cache" != 1; then
13858 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13859 fi
13860
13861 if test x"$enablestring" = xdisable; then
13862 if test $wxUSE_ABOUTDLG = yes; then
13863 result=no
13864 else
13865 result=yes
13866 fi
13867 else
13868 result=$wxUSE_ABOUTDLG
13869 fi
13870
13871 { echo "$as_me:$LINENO: result: $result" >&5
13872 echo "${ECHO_T}$result" >&6; }
13873
13874
13875 enablestring=
13876 defaultval=$wxUSE_ALL_FEATURES
13877 if test -z "$defaultval"; then
13878 if test x"$enablestring" = xdisable; then
13879 defaultval=yes
13880 else
13881 defaultval=no
13882 fi
13883 fi
13884
13885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13886 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13887 no_cache=0
13888 # Check whether --enable-choicedlg was given.
13889 if test "${enable_choicedlg+set}" = set; then
13890 enableval=$enable_choicedlg;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13893 else
13894 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13895 fi
13896
13897 else
13898
13899 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13900 if test "x$LINE" != x ; then
13901 eval "DEFAULT_$LINE"
13902 else
13903 no_cache=1
13904 fi
13905
13906 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13907
13908 fi
13909
13910
13911 eval "$wx_cv_use_choicedlg"
13912 if test "$no_cache" != 1; then
13913 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13914 fi
13915
13916 if test x"$enablestring" = xdisable; then
13917 if test $wxUSE_CHOICEDLG = yes; then
13918 result=no
13919 else
13920 result=yes
13921 fi
13922 else
13923 result=$wxUSE_CHOICEDLG
13924 fi
13925
13926 { echo "$as_me:$LINENO: result: $result" >&5
13927 echo "${ECHO_T}$result" >&6; }
13928
13929
13930 enablestring=
13931 defaultval=$wxUSE_ALL_FEATURES
13932 if test -z "$defaultval"; then
13933 if test x"$enablestring" = xdisable; then
13934 defaultval=yes
13935 else
13936 defaultval=no
13937 fi
13938 fi
13939
13940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13941 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13942 no_cache=0
13943 # Check whether --enable-coldlg was given.
13944 if test "${enable_coldlg+set}" = set; then
13945 enableval=$enable_coldlg;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13948 else
13949 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13950 fi
13951
13952 else
13953
13954 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13955 if test "x$LINE" != x ; then
13956 eval "DEFAULT_$LINE"
13957 else
13958 no_cache=1
13959 fi
13960
13961 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13962
13963 fi
13964
13965
13966 eval "$wx_cv_use_coldlg"
13967 if test "$no_cache" != 1; then
13968 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13969 fi
13970
13971 if test x"$enablestring" = xdisable; then
13972 if test $wxUSE_COLOURDLG = yes; then
13973 result=no
13974 else
13975 result=yes
13976 fi
13977 else
13978 result=$wxUSE_COLOURDLG
13979 fi
13980
13981 { echo "$as_me:$LINENO: result: $result" >&5
13982 echo "${ECHO_T}$result" >&6; }
13983
13984
13985 enablestring=
13986 defaultval=$wxUSE_ALL_FEATURES
13987 if test -z "$defaultval"; then
13988 if test x"$enablestring" = xdisable; then
13989 defaultval=yes
13990 else
13991 defaultval=no
13992 fi
13993 fi
13994
13995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13996 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13997 no_cache=0
13998 # Check whether --enable-filedlg was given.
13999 if test "${enable_filedlg+set}" = set; then
14000 enableval=$enable_filedlg;
14001 if test "$enableval" = yes; then
14002 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14003 else
14004 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14005 fi
14006
14007 else
14008
14009 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
14010 if test "x$LINE" != x ; then
14011 eval "DEFAULT_$LINE"
14012 else
14013 no_cache=1
14014 fi
14015
14016 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14017
14018 fi
14019
14020
14021 eval "$wx_cv_use_filedlg"
14022 if test "$no_cache" != 1; then
14023 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
14024 fi
14025
14026 if test x"$enablestring" = xdisable; then
14027 if test $wxUSE_FILEDLG = yes; then
14028 result=no
14029 else
14030 result=yes
14031 fi
14032 else
14033 result=$wxUSE_FILEDLG
14034 fi
14035
14036 { echo "$as_me:$LINENO: result: $result" >&5
14037 echo "${ECHO_T}$result" >&6; }
14038
14039
14040 enablestring=
14041 defaultval=$wxUSE_ALL_FEATURES
14042 if test -z "$defaultval"; then
14043 if test x"$enablestring" = xdisable; then
14044 defaultval=yes
14045 else
14046 defaultval=no
14047 fi
14048 fi
14049
14050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
14051 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
14052 no_cache=0
14053 # Check whether --enable-finddlg was given.
14054 if test "${enable_finddlg+set}" = set; then
14055 enableval=$enable_finddlg;
14056 if test "$enableval" = yes; then
14057 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14058 else
14059 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14060 fi
14061
14062 else
14063
14064 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14065 if test "x$LINE" != x ; then
14066 eval "DEFAULT_$LINE"
14067 else
14068 no_cache=1
14069 fi
14070
14071 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14072
14073 fi
14074
14075
14076 eval "$wx_cv_use_finddlg"
14077 if test "$no_cache" != 1; then
14078 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
14079 fi
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_FINDREPLDLG = yes; then
14083 result=no
14084 else
14085 result=yes
14086 fi
14087 else
14088 result=$wxUSE_FINDREPLDLG
14089 fi
14090
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14107 no_cache=0
14108 # Check whether --enable-fontdlg was given.
14109 if test "${enable_fontdlg+set}" = set; then
14110 enableval=$enable_fontdlg;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14113 else
14114 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14115 fi
14116
14117 else
14118
14119 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14120 if test "x$LINE" != x ; then
14121 eval "DEFAULT_$LINE"
14122 else
14123 no_cache=1
14124 fi
14125
14126 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14127
14128 fi
14129
14130
14131 eval "$wx_cv_use_fontdlg"
14132 if test "$no_cache" != 1; then
14133 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14134 fi
14135
14136 if test x"$enablestring" = xdisable; then
14137 if test $wxUSE_FONTDLG = yes; then
14138 result=no
14139 else
14140 result=yes
14141 fi
14142 else
14143 result=$wxUSE_FONTDLG
14144 fi
14145
14146 { echo "$as_me:$LINENO: result: $result" >&5
14147 echo "${ECHO_T}$result" >&6; }
14148
14149
14150 enablestring=
14151 defaultval=$wxUSE_ALL_FEATURES
14152 if test -z "$defaultval"; then
14153 if test x"$enablestring" = xdisable; then
14154 defaultval=yes
14155 else
14156 defaultval=no
14157 fi
14158 fi
14159
14160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14161 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14162 no_cache=0
14163 # Check whether --enable-dirdlg was given.
14164 if test "${enable_dirdlg+set}" = set; then
14165 enableval=$enable_dirdlg;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14168 else
14169 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14170 fi
14171
14172 else
14173
14174 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14175 if test "x$LINE" != x ; then
14176 eval "DEFAULT_$LINE"
14177 else
14178 no_cache=1
14179 fi
14180
14181 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14182
14183 fi
14184
14185
14186 eval "$wx_cv_use_dirdlg"
14187 if test "$no_cache" != 1; then
14188 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14189 fi
14190
14191 if test x"$enablestring" = xdisable; then
14192 if test $wxUSE_DIRDLG = yes; then
14193 result=no
14194 else
14195 result=yes
14196 fi
14197 else
14198 result=$wxUSE_DIRDLG
14199 fi
14200
14201 { echo "$as_me:$LINENO: result: $result" >&5
14202 echo "${ECHO_T}$result" >&6; }
14203
14204
14205 enablestring=
14206 defaultval=$wxUSE_ALL_FEATURES
14207 if test -z "$defaultval"; then
14208 if test x"$enablestring" = xdisable; then
14209 defaultval=yes
14210 else
14211 defaultval=no
14212 fi
14213 fi
14214
14215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14216 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14217 no_cache=0
14218 # Check whether --enable-msgdlg was given.
14219 if test "${enable_msgdlg+set}" = set; then
14220 enableval=$enable_msgdlg;
14221 if test "$enableval" = yes; then
14222 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14223 else
14224 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14225 fi
14226
14227 else
14228
14229 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14230 if test "x$LINE" != x ; then
14231 eval "DEFAULT_$LINE"
14232 else
14233 no_cache=1
14234 fi
14235
14236 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14237
14238 fi
14239
14240
14241 eval "$wx_cv_use_msgdlg"
14242 if test "$no_cache" != 1; then
14243 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14244 fi
14245
14246 if test x"$enablestring" = xdisable; then
14247 if test $wxUSE_MSGDLG = yes; then
14248 result=no
14249 else
14250 result=yes
14251 fi
14252 else
14253 result=$wxUSE_MSGDLG
14254 fi
14255
14256 { echo "$as_me:$LINENO: result: $result" >&5
14257 echo "${ECHO_T}$result" >&6; }
14258
14259
14260 enablestring=
14261 defaultval=$wxUSE_ALL_FEATURES
14262 if test -z "$defaultval"; then
14263 if test x"$enablestring" = xdisable; then
14264 defaultval=yes
14265 else
14266 defaultval=no
14267 fi
14268 fi
14269
14270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14271 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14272 no_cache=0
14273 # Check whether --enable-numberdlg was given.
14274 if test "${enable_numberdlg+set}" = set; then
14275 enableval=$enable_numberdlg;
14276 if test "$enableval" = yes; then
14277 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14278 else
14279 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14280 fi
14281
14282 else
14283
14284 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14285 if test "x$LINE" != x ; then
14286 eval "DEFAULT_$LINE"
14287 else
14288 no_cache=1
14289 fi
14290
14291 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14292
14293 fi
14294
14295
14296 eval "$wx_cv_use_numberdlg"
14297 if test "$no_cache" != 1; then
14298 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14299 fi
14300
14301 if test x"$enablestring" = xdisable; then
14302 if test $wxUSE_NUMBERDLG = yes; then
14303 result=no
14304 else
14305 result=yes
14306 fi
14307 else
14308 result=$wxUSE_NUMBERDLG
14309 fi
14310
14311 { echo "$as_me:$LINENO: result: $result" >&5
14312 echo "${ECHO_T}$result" >&6; }
14313
14314
14315 enablestring=
14316 defaultval=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x"$enablestring" = xdisable; then
14319 defaultval=yes
14320 else
14321 defaultval=no
14322 fi
14323 fi
14324
14325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14327 no_cache=0
14328 # Check whether --enable-splash was given.
14329 if test "${enable_splash+set}" = set; then
14330 enableval=$enable_splash;
14331 if test "$enableval" = yes; then
14332 wx_cv_use_splash='wxUSE_SPLASH=yes'
14333 else
14334 wx_cv_use_splash='wxUSE_SPLASH=no'
14335 fi
14336
14337 else
14338
14339 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14340 if test "x$LINE" != x ; then
14341 eval "DEFAULT_$LINE"
14342 else
14343 no_cache=1
14344 fi
14345
14346 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14347
14348 fi
14349
14350
14351 eval "$wx_cv_use_splash"
14352 if test "$no_cache" != 1; then
14353 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14354 fi
14355
14356 if test x"$enablestring" = xdisable; then
14357 if test $wxUSE_SPLASH = yes; then
14358 result=no
14359 else
14360 result=yes
14361 fi
14362 else
14363 result=$wxUSE_SPLASH
14364 fi
14365
14366 { echo "$as_me:$LINENO: result: $result" >&5
14367 echo "${ECHO_T}$result" >&6; }
14368
14369
14370 enablestring=
14371 defaultval=$wxUSE_ALL_FEATURES
14372 if test -z "$defaultval"; then
14373 if test x"$enablestring" = xdisable; then
14374 defaultval=yes
14375 else
14376 defaultval=no
14377 fi
14378 fi
14379
14380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14381 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14382 no_cache=0
14383 # Check whether --enable-textdlg was given.
14384 if test "${enable_textdlg+set}" = set; then
14385 enableval=$enable_textdlg;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14388 else
14389 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14390 fi
14391
14392 else
14393
14394 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14395 if test "x$LINE" != x ; then
14396 eval "DEFAULT_$LINE"
14397 else
14398 no_cache=1
14399 fi
14400
14401 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14402
14403 fi
14404
14405
14406 eval "$wx_cv_use_textdlg"
14407 if test "$no_cache" != 1; then
14408 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14409 fi
14410
14411 if test x"$enablestring" = xdisable; then
14412 if test $wxUSE_TEXTDLG = yes; then
14413 result=no
14414 else
14415 result=yes
14416 fi
14417 else
14418 result=$wxUSE_TEXTDLG
14419 fi
14420
14421 { echo "$as_me:$LINENO: result: $result" >&5
14422 echo "${ECHO_T}$result" >&6; }
14423
14424
14425 enablestring=
14426 defaultval=$wxUSE_ALL_FEATURES
14427 if test -z "$defaultval"; then
14428 if test x"$enablestring" = xdisable; then
14429 defaultval=yes
14430 else
14431 defaultval=no
14432 fi
14433 fi
14434
14435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14436 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14437 no_cache=0
14438 # Check whether --enable-tipdlg was given.
14439 if test "${enable_tipdlg+set}" = set; then
14440 enableval=$enable_tipdlg;
14441 if test "$enableval" = yes; then
14442 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14443 else
14444 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14445 fi
14446
14447 else
14448
14449 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14450 if test "x$LINE" != x ; then
14451 eval "DEFAULT_$LINE"
14452 else
14453 no_cache=1
14454 fi
14455
14456 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14457
14458 fi
14459
14460
14461 eval "$wx_cv_use_tipdlg"
14462 if test "$no_cache" != 1; then
14463 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14464 fi
14465
14466 if test x"$enablestring" = xdisable; then
14467 if test $wxUSE_STARTUP_TIPS = yes; then
14468 result=no
14469 else
14470 result=yes
14471 fi
14472 else
14473 result=$wxUSE_STARTUP_TIPS
14474 fi
14475
14476 { echo "$as_me:$LINENO: result: $result" >&5
14477 echo "${ECHO_T}$result" >&6; }
14478
14479
14480 enablestring=
14481 defaultval=$wxUSE_ALL_FEATURES
14482 if test -z "$defaultval"; then
14483 if test x"$enablestring" = xdisable; then
14484 defaultval=yes
14485 else
14486 defaultval=no
14487 fi
14488 fi
14489
14490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14491 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14492 no_cache=0
14493 # Check whether --enable-progressdlg was given.
14494 if test "${enable_progressdlg+set}" = set; then
14495 enableval=$enable_progressdlg;
14496 if test "$enableval" = yes; then
14497 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14498 else
14499 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14500 fi
14501
14502 else
14503
14504 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14505 if test "x$LINE" != x ; then
14506 eval "DEFAULT_$LINE"
14507 else
14508 no_cache=1
14509 fi
14510
14511 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14512
14513 fi
14514
14515
14516 eval "$wx_cv_use_progressdlg"
14517 if test "$no_cache" != 1; then
14518 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14519 fi
14520
14521 if test x"$enablestring" = xdisable; then
14522 if test $wxUSE_PROGRESSDLG = yes; then
14523 result=no
14524 else
14525 result=yes
14526 fi
14527 else
14528 result=$wxUSE_PROGRESSDLG
14529 fi
14530
14531 { echo "$as_me:$LINENO: result: $result" >&5
14532 echo "${ECHO_T}$result" >&6; }
14533
14534
14535 enablestring=
14536 defaultval=$wxUSE_ALL_FEATURES
14537 if test -z "$defaultval"; then
14538 if test x"$enablestring" = xdisable; then
14539 defaultval=yes
14540 else
14541 defaultval=no
14542 fi
14543 fi
14544
14545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14546 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14547 no_cache=0
14548 # Check whether --enable-wizarddlg was given.
14549 if test "${enable_wizarddlg+set}" = set; then
14550 enableval=$enable_wizarddlg;
14551 if test "$enableval" = yes; then
14552 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14553 else
14554 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14555 fi
14556
14557 else
14558
14559 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14560 if test "x$LINE" != x ; then
14561 eval "DEFAULT_$LINE"
14562 else
14563 no_cache=1
14564 fi
14565
14566 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_wizarddlg"
14572 if test "$no_cache" != 1; then
14573 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14574 fi
14575
14576 if test x"$enablestring" = xdisable; then
14577 if test $wxUSE_WIZARDDLG = yes; then
14578 result=no
14579 else
14580 result=yes
14581 fi
14582 else
14583 result=$wxUSE_WIZARDDLG
14584 fi
14585
14586 { echo "$as_me:$LINENO: result: $result" >&5
14587 echo "${ECHO_T}$result" >&6; }
14588
14589
14590
14591
14592 enablestring=
14593 defaultval=$wxUSE_ALL_FEATURES
14594 if test -z "$defaultval"; then
14595 if test x"$enablestring" = xdisable; then
14596 defaultval=yes
14597 else
14598 defaultval=no
14599 fi
14600 fi
14601
14602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14603 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14604 no_cache=0
14605 # Check whether --enable-menus was given.
14606 if test "${enable_menus+set}" = set; then
14607 enableval=$enable_menus;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_menus='wxUSE_MENUS=yes'
14610 else
14611 wx_cv_use_menus='wxUSE_MENUS=no'
14612 fi
14613
14614 else
14615
14616 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14617 if test "x$LINE" != x ; then
14618 eval "DEFAULT_$LINE"
14619 else
14620 no_cache=1
14621 fi
14622
14623 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14624
14625 fi
14626
14627
14628 eval "$wx_cv_use_menus"
14629 if test "$no_cache" != 1; then
14630 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14631 fi
14632
14633 if test x"$enablestring" = xdisable; then
14634 if test $wxUSE_MENUS = yes; then
14635 result=no
14636 else
14637 result=yes
14638 fi
14639 else
14640 result=$wxUSE_MENUS
14641 fi
14642
14643 { echo "$as_me:$LINENO: result: $result" >&5
14644 echo "${ECHO_T}$result" >&6; }
14645
14646
14647 enablestring=
14648 defaultval=$wxUSE_ALL_FEATURES
14649 if test -z "$defaultval"; then
14650 if test x"$enablestring" = xdisable; then
14651 defaultval=yes
14652 else
14653 defaultval=no
14654 fi
14655 fi
14656
14657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14658 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14659 no_cache=0
14660 # Check whether --enable-miniframe was given.
14661 if test "${enable_miniframe+set}" = set; then
14662 enableval=$enable_miniframe;
14663 if test "$enableval" = yes; then
14664 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14665 else
14666 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14667 fi
14668
14669 else
14670
14671 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14672 if test "x$LINE" != x ; then
14673 eval "DEFAULT_$LINE"
14674 else
14675 no_cache=1
14676 fi
14677
14678 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14679
14680 fi
14681
14682
14683 eval "$wx_cv_use_miniframe"
14684 if test "$no_cache" != 1; then
14685 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14686 fi
14687
14688 if test x"$enablestring" = xdisable; then
14689 if test $wxUSE_MINIFRAME = yes; then
14690 result=no
14691 else
14692 result=yes
14693 fi
14694 else
14695 result=$wxUSE_MINIFRAME
14696 fi
14697
14698 { echo "$as_me:$LINENO: result: $result" >&5
14699 echo "${ECHO_T}$result" >&6; }
14700
14701
14702 enablestring=
14703 defaultval=$wxUSE_ALL_FEATURES
14704 if test -z "$defaultval"; then
14705 if test x"$enablestring" = xdisable; then
14706 defaultval=yes
14707 else
14708 defaultval=no
14709 fi
14710 fi
14711
14712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14713 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14714 no_cache=0
14715 # Check whether --enable-tooltips was given.
14716 if test "${enable_tooltips+set}" = set; then
14717 enableval=$enable_tooltips;
14718 if test "$enableval" = yes; then
14719 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14720 else
14721 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14722 fi
14723
14724 else
14725
14726 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14727 if test "x$LINE" != x ; then
14728 eval "DEFAULT_$LINE"
14729 else
14730 no_cache=1
14731 fi
14732
14733 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14734
14735 fi
14736
14737
14738 eval "$wx_cv_use_tooltips"
14739 if test "$no_cache" != 1; then
14740 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14741 fi
14742
14743 if test x"$enablestring" = xdisable; then
14744 if test $wxUSE_TOOLTIPS = yes; then
14745 result=no
14746 else
14747 result=yes
14748 fi
14749 else
14750 result=$wxUSE_TOOLTIPS
14751 fi
14752
14753 { echo "$as_me:$LINENO: result: $result" >&5
14754 echo "${ECHO_T}$result" >&6; }
14755
14756
14757 enablestring=
14758 defaultval=$wxUSE_ALL_FEATURES
14759 if test -z "$defaultval"; then
14760 if test x"$enablestring" = xdisable; then
14761 defaultval=yes
14762 else
14763 defaultval=no
14764 fi
14765 fi
14766
14767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14768 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14769 no_cache=0
14770 # Check whether --enable-splines was given.
14771 if test "${enable_splines+set}" = set; then
14772 enableval=$enable_splines;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_splines='wxUSE_SPLINES=yes'
14775 else
14776 wx_cv_use_splines='wxUSE_SPLINES=no'
14777 fi
14778
14779 else
14780
14781 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14782 if test "x$LINE" != x ; then
14783 eval "DEFAULT_$LINE"
14784 else
14785 no_cache=1
14786 fi
14787
14788 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14789
14790 fi
14791
14792
14793 eval "$wx_cv_use_splines"
14794 if test "$no_cache" != 1; then
14795 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14796 fi
14797
14798 if test x"$enablestring" = xdisable; then
14799 if test $wxUSE_SPLINES = yes; then
14800 result=no
14801 else
14802 result=yes
14803 fi
14804 else
14805 result=$wxUSE_SPLINES
14806 fi
14807
14808 { echo "$as_me:$LINENO: result: $result" >&5
14809 echo "${ECHO_T}$result" >&6; }
14810
14811
14812 enablestring=
14813 defaultval=$wxUSE_ALL_FEATURES
14814 if test -z "$defaultval"; then
14815 if test x"$enablestring" = xdisable; then
14816 defaultval=yes
14817 else
14818 defaultval=no
14819 fi
14820 fi
14821
14822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14823 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14824 no_cache=0
14825 # Check whether --enable-mousewheel was given.
14826 if test "${enable_mousewheel+set}" = set; then
14827 enableval=$enable_mousewheel;
14828 if test "$enableval" = yes; then
14829 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14830 else
14831 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14832 fi
14833
14834 else
14835
14836 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14837 if test "x$LINE" != x ; then
14838 eval "DEFAULT_$LINE"
14839 else
14840 no_cache=1
14841 fi
14842
14843 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14844
14845 fi
14846
14847
14848 eval "$wx_cv_use_mousewheel"
14849 if test "$no_cache" != 1; then
14850 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14851 fi
14852
14853 if test x"$enablestring" = xdisable; then
14854 if test $wxUSE_MOUSEWHEEL = yes; then
14855 result=no
14856 else
14857 result=yes
14858 fi
14859 else
14860 result=$wxUSE_MOUSEWHEEL
14861 fi
14862
14863 { echo "$as_me:$LINENO: result: $result" >&5
14864 echo "${ECHO_T}$result" >&6; }
14865
14866
14867 enablestring=
14868 defaultval=$wxUSE_ALL_FEATURES
14869 if test -z "$defaultval"; then
14870 if test x"$enablestring" = xdisable; then
14871 defaultval=yes
14872 else
14873 defaultval=no
14874 fi
14875 fi
14876
14877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14878 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14879 no_cache=0
14880 # Check whether --enable-validators was given.
14881 if test "${enable_validators+set}" = set; then
14882 enableval=$enable_validators;
14883 if test "$enableval" = yes; then
14884 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14885 else
14886 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14887 fi
14888
14889 else
14890
14891 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14892 if test "x$LINE" != x ; then
14893 eval "DEFAULT_$LINE"
14894 else
14895 no_cache=1
14896 fi
14897
14898 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14899
14900 fi
14901
14902
14903 eval "$wx_cv_use_validators"
14904 if test "$no_cache" != 1; then
14905 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14906 fi
14907
14908 if test x"$enablestring" = xdisable; then
14909 if test $wxUSE_VALIDATORS = yes; then
14910 result=no
14911 else
14912 result=yes
14913 fi
14914 else
14915 result=$wxUSE_VALIDATORS
14916 fi
14917
14918 { echo "$as_me:$LINENO: result: $result" >&5
14919 echo "${ECHO_T}$result" >&6; }
14920
14921
14922 enablestring=
14923 defaultval=$wxUSE_ALL_FEATURES
14924 if test -z "$defaultval"; then
14925 if test x"$enablestring" = xdisable; then
14926 defaultval=yes
14927 else
14928 defaultval=no
14929 fi
14930 fi
14931
14932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14933 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14934 no_cache=0
14935 # Check whether --enable-busyinfo was given.
14936 if test "${enable_busyinfo+set}" = set; then
14937 enableval=$enable_busyinfo;
14938 if test "$enableval" = yes; then
14939 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14940 else
14941 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14942 fi
14943
14944 else
14945
14946 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14947 if test "x$LINE" != x ; then
14948 eval "DEFAULT_$LINE"
14949 else
14950 no_cache=1
14951 fi
14952
14953 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14954
14955 fi
14956
14957
14958 eval "$wx_cv_use_busyinfo"
14959 if test "$no_cache" != 1; then
14960 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14961 fi
14962
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_BUSYINFO = yes; then
14965 result=no
14966 else
14967 result=yes
14968 fi
14969 else
14970 result=$wxUSE_BUSYINFO
14971 fi
14972
14973 { echo "$as_me:$LINENO: result: $result" >&5
14974 echo "${ECHO_T}$result" >&6; }
14975
14976
14977 enablestring=
14978 defaultval=$wxUSE_ALL_FEATURES
14979 if test -z "$defaultval"; then
14980 if test x"$enablestring" = xdisable; then
14981 defaultval=yes
14982 else
14983 defaultval=no
14984 fi
14985 fi
14986
14987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14989 no_cache=0
14990 # Check whether --enable-joystick was given.
14991 if test "${enable_joystick+set}" = set; then
14992 enableval=$enable_joystick;
14993 if test "$enableval" = yes; then
14994 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14995 else
14996 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14997 fi
14998
14999 else
15000
15001 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x ; then
15003 eval "DEFAULT_$LINE"
15004 else
15005 no_cache=1
15006 fi
15007
15008 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15009
15010 fi
15011
15012
15013 eval "$wx_cv_use_joystick"
15014 if test "$no_cache" != 1; then
15015 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
15016 fi
15017
15018 if test x"$enablestring" = xdisable; then
15019 if test $wxUSE_JOYSTICK = yes; then
15020 result=no
15021 else
15022 result=yes
15023 fi
15024 else
15025 result=$wxUSE_JOYSTICK
15026 fi
15027
15028 { echo "$as_me:$LINENO: result: $result" >&5
15029 echo "${ECHO_T}$result" >&6; }
15030
15031
15032 enablestring=
15033 defaultval=$wxUSE_ALL_FEATURES
15034 if test -z "$defaultval"; then
15035 if test x"$enablestring" = xdisable; then
15036 defaultval=yes
15037 else
15038 defaultval=no
15039 fi
15040 fi
15041
15042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
15043 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
15044 no_cache=0
15045 # Check whether --enable-metafile was given.
15046 if test "${enable_metafile+set}" = set; then
15047 enableval=$enable_metafile;
15048 if test "$enableval" = yes; then
15049 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15050 else
15051 wx_cv_use_metafile='wxUSE_METAFILE=no'
15052 fi
15053
15054 else
15055
15056 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15057 if test "x$LINE" != x ; then
15058 eval "DEFAULT_$LINE"
15059 else
15060 no_cache=1
15061 fi
15062
15063 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15064
15065 fi
15066
15067
15068 eval "$wx_cv_use_metafile"
15069 if test "$no_cache" != 1; then
15070 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
15071 fi
15072
15073 if test x"$enablestring" = xdisable; then
15074 if test $wxUSE_METAFILE = yes; then
15075 result=no
15076 else
15077 result=yes
15078 fi
15079 else
15080 result=$wxUSE_METAFILE
15081 fi
15082
15083 { echo "$as_me:$LINENO: result: $result" >&5
15084 echo "${ECHO_T}$result" >&6; }
15085
15086
15087 enablestring=
15088 defaultval=$wxUSE_ALL_FEATURES
15089 if test -z "$defaultval"; then
15090 if test x"$enablestring" = xdisable; then
15091 defaultval=yes
15092 else
15093 defaultval=no
15094 fi
15095 fi
15096
15097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15098 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15099 no_cache=0
15100 # Check whether --enable-dragimage was given.
15101 if test "${enable_dragimage+set}" = set; then
15102 enableval=$enable_dragimage;
15103 if test "$enableval" = yes; then
15104 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15105 else
15106 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15107 fi
15108
15109 else
15110
15111 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15112 if test "x$LINE" != x ; then
15113 eval "DEFAULT_$LINE"
15114 else
15115 no_cache=1
15116 fi
15117
15118 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15119
15120 fi
15121
15122
15123 eval "$wx_cv_use_dragimage"
15124 if test "$no_cache" != 1; then
15125 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15126 fi
15127
15128 if test x"$enablestring" = xdisable; then
15129 if test $wxUSE_DRAGIMAGE = yes; then
15130 result=no
15131 else
15132 result=yes
15133 fi
15134 else
15135 result=$wxUSE_DRAGIMAGE
15136 fi
15137
15138 { echo "$as_me:$LINENO: result: $result" >&5
15139 echo "${ECHO_T}$result" >&6; }
15140
15141
15142 enablestring=
15143 defaultval=$wxUSE_ALL_FEATURES
15144 if test -z "$defaultval"; then
15145 if test x"$enablestring" = xdisable; then
15146 defaultval=yes
15147 else
15148 defaultval=no
15149 fi
15150 fi
15151
15152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15153 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15154 no_cache=0
15155 # Check whether --enable-accessibility was given.
15156 if test "${enable_accessibility+set}" = set; then
15157 enableval=$enable_accessibility;
15158 if test "$enableval" = yes; then
15159 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15160 else
15161 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15162 fi
15163
15164 else
15165
15166 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15167 if test "x$LINE" != x ; then
15168 eval "DEFAULT_$LINE"
15169 else
15170 no_cache=1
15171 fi
15172
15173 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15174
15175 fi
15176
15177
15178 eval "$wx_cv_use_accessibility"
15179 if test "$no_cache" != 1; then
15180 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15181 fi
15182
15183 if test x"$enablestring" = xdisable; then
15184 if test $wxUSE_ACCESSIBILITY = yes; then
15185 result=no
15186 else
15187 result=yes
15188 fi
15189 else
15190 result=$wxUSE_ACCESSIBILITY
15191 fi
15192
15193 { echo "$as_me:$LINENO: result: $result" >&5
15194 echo "${ECHO_T}$result" >&6; }
15195
15196
15197
15198
15199 enablestring=
15200 defaultval=$wxUSE_ALL_FEATURES
15201 if test -z "$defaultval"; then
15202 if test x"$enablestring" = xdisable; then
15203 defaultval=yes
15204 else
15205 defaultval=no
15206 fi
15207 fi
15208
15209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15210 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15211 no_cache=0
15212 # Check whether --enable-palette was given.
15213 if test "${enable_palette+set}" = set; then
15214 enableval=$enable_palette;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_palette='wxUSE_PALETTE=yes'
15217 else
15218 wx_cv_use_palette='wxUSE_PALETTE=no'
15219 fi
15220
15221 else
15222
15223 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15224 if test "x$LINE" != x ; then
15225 eval "DEFAULT_$LINE"
15226 else
15227 no_cache=1
15228 fi
15229
15230 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15231
15232 fi
15233
15234
15235 eval "$wx_cv_use_palette"
15236 if test "$no_cache" != 1; then
15237 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15238 fi
15239
15240 if test x"$enablestring" = xdisable; then
15241 if test $wxUSE_PALETTE = yes; then
15242 result=no
15243 else
15244 result=yes
15245 fi
15246 else
15247 result=$wxUSE_PALETTE
15248 fi
15249
15250 { echo "$as_me:$LINENO: result: $result" >&5
15251 echo "${ECHO_T}$result" >&6; }
15252
15253
15254 enablestring=
15255 defaultval=$wxUSE_ALL_FEATURES
15256 if test -z "$defaultval"; then
15257 if test x"$enablestring" = xdisable; then
15258 defaultval=yes
15259 else
15260 defaultval=no
15261 fi
15262 fi
15263
15264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15265 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15266 no_cache=0
15267 # Check whether --enable-image was given.
15268 if test "${enable_image+set}" = set; then
15269 enableval=$enable_image;
15270 if test "$enableval" = yes; then
15271 wx_cv_use_image='wxUSE_IMAGE=yes'
15272 else
15273 wx_cv_use_image='wxUSE_IMAGE=no'
15274 fi
15275
15276 else
15277
15278 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15279 if test "x$LINE" != x ; then
15280 eval "DEFAULT_$LINE"
15281 else
15282 no_cache=1
15283 fi
15284
15285 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15286
15287 fi
15288
15289
15290 eval "$wx_cv_use_image"
15291 if test "$no_cache" != 1; then
15292 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15293 fi
15294
15295 if test x"$enablestring" = xdisable; then
15296 if test $wxUSE_IMAGE = yes; then
15297 result=no
15298 else
15299 result=yes
15300 fi
15301 else
15302 result=$wxUSE_IMAGE
15303 fi
15304
15305 { echo "$as_me:$LINENO: result: $result" >&5
15306 echo "${ECHO_T}$result" >&6; }
15307
15308
15309 enablestring=
15310 defaultval=$wxUSE_ALL_FEATURES
15311 if test -z "$defaultval"; then
15312 if test x"$enablestring" = xdisable; then
15313 defaultval=yes
15314 else
15315 defaultval=no
15316 fi
15317 fi
15318
15319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15320 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15321 no_cache=0
15322 # Check whether --enable-gif was given.
15323 if test "${enable_gif+set}" = set; then
15324 enableval=$enable_gif;
15325 if test "$enableval" = yes; then
15326 wx_cv_use_gif='wxUSE_GIF=yes'
15327 else
15328 wx_cv_use_gif='wxUSE_GIF=no'
15329 fi
15330
15331 else
15332
15333 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15334 if test "x$LINE" != x ; then
15335 eval "DEFAULT_$LINE"
15336 else
15337 no_cache=1
15338 fi
15339
15340 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15341
15342 fi
15343
15344
15345 eval "$wx_cv_use_gif"
15346 if test "$no_cache" != 1; then
15347 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15348 fi
15349
15350 if test x"$enablestring" = xdisable; then
15351 if test $wxUSE_GIF = yes; then
15352 result=no
15353 else
15354 result=yes
15355 fi
15356 else
15357 result=$wxUSE_GIF
15358 fi
15359
15360 { echo "$as_me:$LINENO: result: $result" >&5
15361 echo "${ECHO_T}$result" >&6; }
15362
15363
15364 enablestring=
15365 defaultval=$wxUSE_ALL_FEATURES
15366 if test -z "$defaultval"; then
15367 if test x"$enablestring" = xdisable; then
15368 defaultval=yes
15369 else
15370 defaultval=no
15371 fi
15372 fi
15373
15374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15375 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15376 no_cache=0
15377 # Check whether --enable-pcx was given.
15378 if test "${enable_pcx+set}" = set; then
15379 enableval=$enable_pcx;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_pcx='wxUSE_PCX=yes'
15382 else
15383 wx_cv_use_pcx='wxUSE_PCX=no'
15384 fi
15385
15386 else
15387
15388 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15389 if test "x$LINE" != x ; then
15390 eval "DEFAULT_$LINE"
15391 else
15392 no_cache=1
15393 fi
15394
15395 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15396
15397 fi
15398
15399
15400 eval "$wx_cv_use_pcx"
15401 if test "$no_cache" != 1; then
15402 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15403 fi
15404
15405 if test x"$enablestring" = xdisable; then
15406 if test $wxUSE_PCX = yes; then
15407 result=no
15408 else
15409 result=yes
15410 fi
15411 else
15412 result=$wxUSE_PCX
15413 fi
15414
15415 { echo "$as_me:$LINENO: result: $result" >&5
15416 echo "${ECHO_T}$result" >&6; }
15417
15418
15419 enablestring=
15420 defaultval=$wxUSE_ALL_FEATURES
15421 if test -z "$defaultval"; then
15422 if test x"$enablestring" = xdisable; then
15423 defaultval=yes
15424 else
15425 defaultval=no
15426 fi
15427 fi
15428
15429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15430 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15431 no_cache=0
15432 # Check whether --enable-tga was given.
15433 if test "${enable_tga+set}" = set; then
15434 enableval=$enable_tga;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_tga='wxUSE_TGA=yes'
15437 else
15438 wx_cv_use_tga='wxUSE_TGA=no'
15439 fi
15440
15441 else
15442
15443 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15444 if test "x$LINE" != x ; then
15445 eval "DEFAULT_$LINE"
15446 else
15447 no_cache=1
15448 fi
15449
15450 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15451
15452 fi
15453
15454
15455 eval "$wx_cv_use_tga"
15456 if test "$no_cache" != 1; then
15457 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15458 fi
15459
15460 if test x"$enablestring" = xdisable; then
15461 if test $wxUSE_TGA = yes; then
15462 result=no
15463 else
15464 result=yes
15465 fi
15466 else
15467 result=$wxUSE_TGA
15468 fi
15469
15470 { echo "$as_me:$LINENO: result: $result" >&5
15471 echo "${ECHO_T}$result" >&6; }
15472
15473
15474 enablestring=
15475 defaultval=$wxUSE_ALL_FEATURES
15476 if test -z "$defaultval"; then
15477 if test x"$enablestring" = xdisable; then
15478 defaultval=yes
15479 else
15480 defaultval=no
15481 fi
15482 fi
15483
15484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15485 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15486 no_cache=0
15487 # Check whether --enable-iff was given.
15488 if test "${enable_iff+set}" = set; then
15489 enableval=$enable_iff;
15490 if test "$enableval" = yes; then
15491 wx_cv_use_iff='wxUSE_IFF=yes'
15492 else
15493 wx_cv_use_iff='wxUSE_IFF=no'
15494 fi
15495
15496 else
15497
15498 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15499 if test "x$LINE" != x ; then
15500 eval "DEFAULT_$LINE"
15501 else
15502 no_cache=1
15503 fi
15504
15505 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15506
15507 fi
15508
15509
15510 eval "$wx_cv_use_iff"
15511 if test "$no_cache" != 1; then
15512 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15513 fi
15514
15515 if test x"$enablestring" = xdisable; then
15516 if test $wxUSE_IFF = yes; then
15517 result=no
15518 else
15519 result=yes
15520 fi
15521 else
15522 result=$wxUSE_IFF
15523 fi
15524
15525 { echo "$as_me:$LINENO: result: $result" >&5
15526 echo "${ECHO_T}$result" >&6; }
15527
15528
15529 enablestring=
15530 defaultval=$wxUSE_ALL_FEATURES
15531 if test -z "$defaultval"; then
15532 if test x"$enablestring" = xdisable; then
15533 defaultval=yes
15534 else
15535 defaultval=no
15536 fi
15537 fi
15538
15539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15540 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15541 no_cache=0
15542 # Check whether --enable-pnm was given.
15543 if test "${enable_pnm+set}" = set; then
15544 enableval=$enable_pnm;
15545 if test "$enableval" = yes; then
15546 wx_cv_use_pnm='wxUSE_PNM=yes'
15547 else
15548 wx_cv_use_pnm='wxUSE_PNM=no'
15549 fi
15550
15551 else
15552
15553 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15554 if test "x$LINE" != x ; then
15555 eval "DEFAULT_$LINE"
15556 else
15557 no_cache=1
15558 fi
15559
15560 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15561
15562 fi
15563
15564
15565 eval "$wx_cv_use_pnm"
15566 if test "$no_cache" != 1; then
15567 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15568 fi
15569
15570 if test x"$enablestring" = xdisable; then
15571 if test $wxUSE_PNM = yes; then
15572 result=no
15573 else
15574 result=yes
15575 fi
15576 else
15577 result=$wxUSE_PNM
15578 fi
15579
15580 { echo "$as_me:$LINENO: result: $result" >&5
15581 echo "${ECHO_T}$result" >&6; }
15582
15583
15584 enablestring=
15585 defaultval=$wxUSE_ALL_FEATURES
15586 if test -z "$defaultval"; then
15587 if test x"$enablestring" = xdisable; then
15588 defaultval=yes
15589 else
15590 defaultval=no
15591 fi
15592 fi
15593
15594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15595 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15596 no_cache=0
15597 # Check whether --enable-xpm was given.
15598 if test "${enable_xpm+set}" = set; then
15599 enableval=$enable_xpm;
15600 if test "$enableval" = yes; then
15601 wx_cv_use_xpm='wxUSE_XPM=yes'
15602 else
15603 wx_cv_use_xpm='wxUSE_XPM=no'
15604 fi
15605
15606 else
15607
15608 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15609 if test "x$LINE" != x ; then
15610 eval "DEFAULT_$LINE"
15611 else
15612 no_cache=1
15613 fi
15614
15615 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15616
15617 fi
15618
15619
15620 eval "$wx_cv_use_xpm"
15621 if test "$no_cache" != 1; then
15622 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15623 fi
15624
15625 if test x"$enablestring" = xdisable; then
15626 if test $wxUSE_XPM = yes; then
15627 result=no
15628 else
15629 result=yes
15630 fi
15631 else
15632 result=$wxUSE_XPM
15633 fi
15634
15635 { echo "$as_me:$LINENO: result: $result" >&5
15636 echo "${ECHO_T}$result" >&6; }
15637
15638
15639 enablestring=
15640 defaultval=$wxUSE_ALL_FEATURES
15641 if test -z "$defaultval"; then
15642 if test x"$enablestring" = xdisable; then
15643 defaultval=yes
15644 else
15645 defaultval=no
15646 fi
15647 fi
15648
15649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15650 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15651 no_cache=0
15652 # Check whether --enable-ico_cur was given.
15653 if test "${enable_ico_cur+set}" = set; then
15654 enableval=$enable_ico_cur;
15655 if test "$enableval" = yes; then
15656 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15657 else
15658 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15659 fi
15660
15661 else
15662
15663 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15664 if test "x$LINE" != x ; then
15665 eval "DEFAULT_$LINE"
15666 else
15667 no_cache=1
15668 fi
15669
15670 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15671
15672 fi
15673
15674
15675 eval "$wx_cv_use_ico_cur"
15676 if test "$no_cache" != 1; then
15677 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15678 fi
15679
15680 if test x"$enablestring" = xdisable; then
15681 if test $wxUSE_ICO_CUR = yes; then
15682 result=no
15683 else
15684 result=yes
15685 fi
15686 else
15687 result=$wxUSE_ICO_CUR
15688 fi
15689
15690 { echo "$as_me:$LINENO: result: $result" >&5
15691 echo "${ECHO_T}$result" >&6; }
15692
15693
15694
15695
15696 enablestring=
15697 defaultval=$wxUSE_ALL_FEATURES
15698 if test -z "$defaultval"; then
15699 if test x"$enablestring" = xdisable; then
15700 defaultval=yes
15701 else
15702 defaultval=no
15703 fi
15704 fi
15705
15706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15707 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15708 no_cache=0
15709 # Check whether --enable-dccache was given.
15710 if test "${enable_dccache+set}" = set; then
15711 enableval=$enable_dccache;
15712 if test "$enableval" = yes; then
15713 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15714 else
15715 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15716 fi
15717
15718 else
15719
15720 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15721 if test "x$LINE" != x ; then
15722 eval "DEFAULT_$LINE"
15723 else
15724 no_cache=1
15725 fi
15726
15727 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15728
15729 fi
15730
15731
15732 eval "$wx_cv_use_dccache"
15733 if test "$no_cache" != 1; then
15734 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15735 fi
15736
15737 if test x"$enablestring" = xdisable; then
15738 if test $wxUSE_DC_CACHEING = yes; then
15739 result=no
15740 else
15741 result=yes
15742 fi
15743 else
15744 result=$wxUSE_DC_CACHEING
15745 fi
15746
15747 { echo "$as_me:$LINENO: result: $result" >&5
15748 echo "${ECHO_T}$result" >&6; }
15749
15750
15751 enablestring=
15752 defaultval=$wxUSE_ALL_FEATURES
15753 if test -z "$defaultval"; then
15754 if test x"$enablestring" = xdisable; then
15755 defaultval=yes
15756 else
15757 defaultval=no
15758 fi
15759 fi
15760
15761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15762 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15763 no_cache=0
15764 # Check whether --enable-uxtheme was given.
15765 if test "${enable_uxtheme+set}" = set; then
15766 enableval=$enable_uxtheme;
15767 if test "$enableval" = yes; then
15768 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15769 else
15770 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15771 fi
15772
15773 else
15774
15775 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15776 if test "x$LINE" != x ; then
15777 eval "DEFAULT_$LINE"
15778 else
15779 no_cache=1
15780 fi
15781
15782 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15783
15784 fi
15785
15786
15787 eval "$wx_cv_use_uxtheme"
15788 if test "$no_cache" != 1; then
15789 echo $wx_cv_use_uxtheme >> ${wx_arg_cache_file}.tmp
15790 fi
15791
15792 if test x"$enablestring" = xdisable; then
15793 if test $wxUSE_UXTHEME = yes; then
15794 result=no
15795 else
15796 result=yes
15797 fi
15798 else
15799 result=$wxUSE_UXTHEME
15800 fi
15801
15802 { echo "$as_me:$LINENO: result: $result" >&5
15803 echo "${ECHO_T}$result" >&6; }
15804
15805
15806 fi
15807
15808
15809 echo "saving argument cache $wx_arg_cache_file"
15810 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15811
15812
15813
15814 { echo "$as_me:$LINENO: checking for toolkit" >&5
15815 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15816
15817 # In Wine, we need to default to MSW, not GTK or MOTIF
15818 if test "$wxUSE_WINE" = "yes"; then
15819 DEFAULT_DEFAULT_wxUSE_GTK=0
15820 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15821 DEFAULT_DEFAULT_wxUSE_MSW=1
15822 wxUSE_SHARED=no
15823 CC=${CC:-winegcc}
15824 CXX=${CXX:-wineg++}
15825 fi
15826
15827
15828 if test "$wxUSE_GUI" = "yes"; then
15829
15830 if test "$USE_BEOS" = 1; then
15831 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15832 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15833 { (exit 1); exit 1; }; }
15834 fi
15835
15836 if test "$TOOLKIT_GIVEN" = 1; then
15837 for toolkit in `echo $ALL_TOOLKITS`; do
15838 var=wxUSE_$toolkit
15839 eval "value=\$${var}"
15840 if test "x$value" = "xno"; then
15841 eval "$var=0"
15842 elif test "x$value" != "x"; then
15843 eval "$var=1"
15844 fi
15845
15846 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15847 eval "wx${toolkit}_VERSION=$value"
15848 fi
15849 done
15850 else
15851 for toolkit in `echo $ALL_TOOLKITS`; do
15852 if test "$has_toolkit_in_cache" != 1; then
15853 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15854 else
15855 var=DEFAULT_wxUSE_$toolkit
15856
15857 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15858 if test "x$version" != "x"; then
15859 eval "wx${toolkit}_VERSION=$version"
15860 fi
15861 fi
15862 eval "wxUSE_$toolkit=\$${var}"
15863 done
15864 fi
15865
15866 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15867 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15868 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15869
15870 case "${host}" in
15871 *-pc-os2_emx | *-pc-os2-emx )
15872 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15873 esac
15874
15875 case "$NUM_TOOLKITS" in
15876 1)
15877 ;;
15878 0)
15879 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15880 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15881 { (exit 1); exit 1; }; }
15882 ;;
15883 *)
15884 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15885 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15886 { (exit 1); exit 1; }; }
15887 esac
15888
15889 # to be removed when --disable-gtk2 isn't needed
15890 if test "x$wxUSE_GTK2" = "xyes"; then
15891 wxGTK_VERSION=2
15892 elif test "x$wxUSE_GTK2" = "xno"; then
15893 wxGTK_VERSION=1
15894 fi
15895
15896 for toolkit in `echo $ALL_TOOLKITS`; do
15897 var=wxUSE_$toolkit
15898 eval "value=\$${var}"
15899 if test "x$value" != x; then
15900 cache_var=CACHE_$toolkit
15901 eval "cache=\$${cache_var}"
15902 if test "$cache" = 1; then
15903 echo "$var=$value" >> ${wx_arg_cache_file}
15904 eval "version=\$wx${toolkit}_VERSION"
15905 if test "x$version" != "x"; then
15906 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15907 fi
15908 fi
15909 if test "$value" = 1; then
15910 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15911 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15912 echo "${ECHO_T}$toolkit_echo" >&6; }
15913 fi
15914 fi
15915 done
15916 else
15917 if test "x$host_alias" != "x"; then
15918 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15919 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15920 else
15921 { echo "$as_me:$LINENO: result: base only" >&5
15922 echo "${ECHO_T}base only" >&6; }
15923 fi
15924 fi
15925
15926
15927 cat >confcache <<\_ACEOF
15928 # This file is a shell script that caches the results of configure
15929 # tests run on this system so they can be shared between configure
15930 # scripts and configure runs, see configure's option --config-cache.
15931 # It is not useful on other systems. If it contains results you don't
15932 # want to keep, you may remove or edit it.
15933 #
15934 # config.status only pays attention to the cache file if you give it
15935 # the --recheck option to rerun configure.
15936 #
15937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15939 # following values.
15940
15941 _ACEOF
15942
15943 # The following way of writing the cache mishandles newlines in values,
15944 # but we know of no workaround that is simple, portable, and efficient.
15945 # So, we kill variables containing newlines.
15946 # Ultrix sh set writes to stderr and can't be redirected directly,
15947 # and sets the high bit in the cache file unless we assign to the vars.
15948 (
15949 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15950 eval ac_val=\$$ac_var
15951 case $ac_val in #(
15952 *${as_nl}*)
15953 case $ac_var in #(
15954 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15955 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15956 esac
15957 case $ac_var in #(
15958 _ | IFS | as_nl) ;; #(
15959 *) $as_unset $ac_var ;;
15960 esac ;;
15961 esac
15962 done
15963
15964 (set) 2>&1 |
15965 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15966 *${as_nl}ac_space=\ *)
15967 # `set' does not quote correctly, so add quotes (double-quote
15968 # substitution turns \\\\ into \\, and sed turns \\ into \).
15969 sed -n \
15970 "s/'/'\\\\''/g;
15971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15972 ;; #(
15973 *)
15974 # `set' quotes correctly as required by POSIX, so do not add quotes.
15975 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15976 ;;
15977 esac |
15978 sort
15979 ) |
15980 sed '
15981 /^ac_cv_env_/b end
15982 t clear
15983 :clear
15984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15985 t end
15986 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15987 :end' >>confcache
15988 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15989 if test -w "$cache_file"; then
15990 test "x$cache_file" != "x/dev/null" &&
15991 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15992 echo "$as_me: updating cache $cache_file" >&6;}
15993 cat confcache >$cache_file
15994 else
15995 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15996 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15997 fi
15998 fi
15999 rm -f confcache
16000
16001 CFLAGS=${CFLAGS:=}
16002
16003
16004
16005 ac_ext=c
16006 ac_cpp='$CPP $CPPFLAGS'
16007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16010 if test -n "$ac_tool_prefix"; then
16011 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16012 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16015 if test "${ac_cv_prog_CC+set}" = set; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 if test -n "$CC"; then
16019 ac_cv_prog_CC="$CC" # Let the user override the test.
16020 else
16021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16022 for as_dir in $PATH
16023 do
16024 IFS=$as_save_IFS
16025 test -z "$as_dir" && as_dir=.
16026 for ac_exec_ext in '' $ac_executable_extensions; do
16027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16028 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16030 break 2
16031 fi
16032 done
16033 done
16034 IFS=$as_save_IFS
16035
16036 fi
16037 fi
16038 CC=$ac_cv_prog_CC
16039 if test -n "$CC"; then
16040 { echo "$as_me:$LINENO: result: $CC" >&5
16041 echo "${ECHO_T}$CC" >&6; }
16042 else
16043 { echo "$as_me:$LINENO: result: no" >&5
16044 echo "${ECHO_T}no" >&6; }
16045 fi
16046
16047
16048 fi
16049 if test -z "$ac_cv_prog_CC"; then
16050 ac_ct_CC=$CC
16051 # Extract the first word of "gcc", so it can be a program name with args.
16052 set dummy gcc; ac_word=$2
16053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16055 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 if test -n "$ac_ct_CC"; then
16059 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16060 else
16061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16062 for as_dir in $PATH
16063 do
16064 IFS=$as_save_IFS
16065 test -z "$as_dir" && as_dir=.
16066 for ac_exec_ext in '' $ac_executable_extensions; do
16067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16068 ac_cv_prog_ac_ct_CC="gcc"
16069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16070 break 2
16071 fi
16072 done
16073 done
16074 IFS=$as_save_IFS
16075
16076 fi
16077 fi
16078 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16079 if test -n "$ac_ct_CC"; then
16080 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16081 echo "${ECHO_T}$ac_ct_CC" >&6; }
16082 else
16083 { echo "$as_me:$LINENO: result: no" >&5
16084 echo "${ECHO_T}no" >&6; }
16085 fi
16086
16087 if test "x$ac_ct_CC" = x; then
16088 CC=""
16089 else
16090 case $cross_compiling:$ac_tool_warned in
16091 yes:)
16092 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16093 whose name does not start with the host triplet. If you think this
16094 configuration is useful to you, please write to autoconf@gnu.org." >&5
16095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16096 whose name does not start with the host triplet. If you think this
16097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16098 ac_tool_warned=yes ;;
16099 esac
16100 CC=$ac_ct_CC
16101 fi
16102 else
16103 CC="$ac_cv_prog_CC"
16104 fi
16105
16106 if test -z "$CC"; then
16107 if test -n "$ac_tool_prefix"; then
16108 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16109 set dummy ${ac_tool_prefix}cc; ac_word=$2
16110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16112 if test "${ac_cv_prog_CC+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 if test -n "$CC"; then
16116 ac_cv_prog_CC="$CC" # Let the user override the test.
16117 else
16118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16119 for as_dir in $PATH
16120 do
16121 IFS=$as_save_IFS
16122 test -z "$as_dir" && as_dir=.
16123 for ac_exec_ext in '' $ac_executable_extensions; do
16124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16125 ac_cv_prog_CC="${ac_tool_prefix}cc"
16126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16127 break 2
16128 fi
16129 done
16130 done
16131 IFS=$as_save_IFS
16132
16133 fi
16134 fi
16135 CC=$ac_cv_prog_CC
16136 if test -n "$CC"; then
16137 { echo "$as_me:$LINENO: result: $CC" >&5
16138 echo "${ECHO_T}$CC" >&6; }
16139 else
16140 { echo "$as_me:$LINENO: result: no" >&5
16141 echo "${ECHO_T}no" >&6; }
16142 fi
16143
16144
16145 fi
16146 fi
16147 if test -z "$CC"; then
16148 # Extract the first word of "cc", so it can be a program name with args.
16149 set dummy cc; ac_word=$2
16150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16152 if test "${ac_cv_prog_CC+set}" = set; then
16153 echo $ECHO_N "(cached) $ECHO_C" >&6
16154 else
16155 if test -n "$CC"; then
16156 ac_cv_prog_CC="$CC" # Let the user override the test.
16157 else
16158 ac_prog_rejected=no
16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16161 do
16162 IFS=$as_save_IFS
16163 test -z "$as_dir" && as_dir=.
16164 for ac_exec_ext in '' $ac_executable_extensions; do
16165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16167 ac_prog_rejected=yes
16168 continue
16169 fi
16170 ac_cv_prog_CC="cc"
16171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16172 break 2
16173 fi
16174 done
16175 done
16176 IFS=$as_save_IFS
16177
16178 if test $ac_prog_rejected = yes; then
16179 # We found a bogon in the path, so make sure we never use it.
16180 set dummy $ac_cv_prog_CC
16181 shift
16182 if test $# != 0; then
16183 # We chose a different compiler from the bogus one.
16184 # However, it has the same basename, so the bogon will be chosen
16185 # first if we set CC to just the basename; use the full file name.
16186 shift
16187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16188 fi
16189 fi
16190 fi
16191 fi
16192 CC=$ac_cv_prog_CC
16193 if test -n "$CC"; then
16194 { echo "$as_me:$LINENO: result: $CC" >&5
16195 echo "${ECHO_T}$CC" >&6; }
16196 else
16197 { echo "$as_me:$LINENO: result: no" >&5
16198 echo "${ECHO_T}no" >&6; }
16199 fi
16200
16201
16202 fi
16203 if test -z "$CC"; then
16204 if test -n "$ac_tool_prefix"; then
16205 for ac_prog in cl.exe
16206 do
16207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16211 if test "${ac_cv_prog_CC+set}" = set; then
16212 echo $ECHO_N "(cached) $ECHO_C" >&6
16213 else
16214 if test -n "$CC"; then
16215 ac_cv_prog_CC="$CC" # Let the user override the test.
16216 else
16217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16218 for as_dir in $PATH
16219 do
16220 IFS=$as_save_IFS
16221 test -z "$as_dir" && as_dir=.
16222 for ac_exec_ext in '' $ac_executable_extensions; do
16223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16224 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16226 break 2
16227 fi
16228 done
16229 done
16230 IFS=$as_save_IFS
16231
16232 fi
16233 fi
16234 CC=$ac_cv_prog_CC
16235 if test -n "$CC"; then
16236 { echo "$as_me:$LINENO: result: $CC" >&5
16237 echo "${ECHO_T}$CC" >&6; }
16238 else
16239 { echo "$as_me:$LINENO: result: no" >&5
16240 echo "${ECHO_T}no" >&6; }
16241 fi
16242
16243
16244 test -n "$CC" && break
16245 done
16246 fi
16247 if test -z "$CC"; then
16248 ac_ct_CC=$CC
16249 for ac_prog in cl.exe
16250 do
16251 # Extract the first word of "$ac_prog", so it can be a program name with args.
16252 set dummy $ac_prog; ac_word=$2
16253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16255 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16256 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 else
16258 if test -n "$ac_ct_CC"; then
16259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16260 else
16261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16262 for as_dir in $PATH
16263 do
16264 IFS=$as_save_IFS
16265 test -z "$as_dir" && as_dir=.
16266 for ac_exec_ext in '' $ac_executable_extensions; do
16267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16268 ac_cv_prog_ac_ct_CC="$ac_prog"
16269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16270 break 2
16271 fi
16272 done
16273 done
16274 IFS=$as_save_IFS
16275
16276 fi
16277 fi
16278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16279 if test -n "$ac_ct_CC"; then
16280 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16281 echo "${ECHO_T}$ac_ct_CC" >&6; }
16282 else
16283 { echo "$as_me:$LINENO: result: no" >&5
16284 echo "${ECHO_T}no" >&6; }
16285 fi
16286
16287
16288 test -n "$ac_ct_CC" && break
16289 done
16290
16291 if test "x$ac_ct_CC" = x; then
16292 CC=""
16293 else
16294 case $cross_compiling:$ac_tool_warned in
16295 yes:)
16296 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16297 whose name does not start with the host triplet. If you think this
16298 configuration is useful to you, please write to autoconf@gnu.org." >&5
16299 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16300 whose name does not start with the host triplet. If you think this
16301 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16302 ac_tool_warned=yes ;;
16303 esac
16304 CC=$ac_ct_CC
16305 fi
16306 fi
16307
16308 fi
16309
16310
16311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16312 See \`config.log' for more details." >&5
16313 echo "$as_me: error: no acceptable C compiler found in \$PATH
16314 See \`config.log' for more details." >&2;}
16315 { (exit 1); exit 1; }; }
16316
16317 # Provide some information about the compiler.
16318 echo "$as_me:$LINENO: checking for C compiler version" >&5
16319 ac_compiler=`set X $ac_compile; echo $2`
16320 { (ac_try="$ac_compiler --version >&5"
16321 case "(($ac_try" in
16322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16323 *) ac_try_echo=$ac_try;;
16324 esac
16325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16326 (eval "$ac_compiler --version >&5") 2>&5
16327 ac_status=$?
16328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329 (exit $ac_status); }
16330 { (ac_try="$ac_compiler -v >&5"
16331 case "(($ac_try" in
16332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16334 esac
16335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336 (eval "$ac_compiler -v >&5") 2>&5
16337 ac_status=$?
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }
16340 { (ac_try="$ac_compiler -V >&5"
16341 case "(($ac_try" in
16342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343 *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346 (eval "$ac_compiler -V >&5") 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }
16350
16351 cat >conftest.$ac_ext <<_ACEOF
16352 /* confdefs.h. */
16353 _ACEOF
16354 cat confdefs.h >>conftest.$ac_ext
16355 cat >>conftest.$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357
16358 int
16359 main ()
16360 {
16361
16362 ;
16363 return 0;
16364 }
16365 _ACEOF
16366 ac_clean_files_save=$ac_clean_files
16367 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16368 # Try to create an executable without -o first, disregard a.out.
16369 # It will help us diagnose broken compilers, and finding out an intuition
16370 # of exeext.
16371 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16372 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16373 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16374 #
16375 # List of possible output files, starting from the most likely.
16376 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16377 # only as a last resort. b.out is created by i960 compilers.
16378 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16379 #
16380 # The IRIX 6 linker writes into existing files which may not be
16381 # executable, retaining their permissions. Remove them first so a
16382 # subsequent execution test works.
16383 ac_rmfiles=
16384 for ac_file in $ac_files
16385 do
16386 case $ac_file in
16387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16389 esac
16390 done
16391 rm -f $ac_rmfiles
16392
16393 if { (ac_try="$ac_link_default"
16394 case "(($ac_try" in
16395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16396 *) ac_try_echo=$ac_try;;
16397 esac
16398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16399 (eval "$ac_link_default") 2>&5
16400 ac_status=$?
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; then
16403 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16404 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16405 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16406 # so that the user can short-circuit this test for compilers unknown to
16407 # Autoconf.
16408 for ac_file in $ac_files ''
16409 do
16410 test -f "$ac_file" || continue
16411 case $ac_file in
16412 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16413 ;;
16414 [ab].out )
16415 # We found the default executable, but exeext='' is most
16416 # certainly right.
16417 break;;
16418 *.* )
16419 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16420 then :; else
16421 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16422 fi
16423 # We set ac_cv_exeext here because the later test for it is not
16424 # safe: cross compilers may not add the suffix if given an `-o'
16425 # argument, so we may need to know it at that point already.
16426 # Even if this section looks crufty: it has the advantage of
16427 # actually working.
16428 break;;
16429 * )
16430 break;;
16431 esac
16432 done
16433 test "$ac_cv_exeext" = no && ac_cv_exeext=
16434
16435 else
16436 ac_file=''
16437 fi
16438
16439 { echo "$as_me:$LINENO: result: $ac_file" >&5
16440 echo "${ECHO_T}$ac_file" >&6; }
16441 if test -z "$ac_file"; then
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16444
16445 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16446 See \`config.log' for more details." >&5
16447 echo "$as_me: error: C compiler cannot create executables
16448 See \`config.log' for more details." >&2;}
16449 { (exit 77); exit 77; }; }
16450 fi
16451
16452 ac_exeext=$ac_cv_exeext
16453
16454 # Check that the compiler produces executables we can run. If not, either
16455 # the compiler is broken, or we cross compile.
16456 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16457 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16458 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16459 # If not cross compiling, check that we can run a simple program.
16460 if test "$cross_compiling" != yes; then
16461 if { ac_try='./$ac_file'
16462 { (case "(($ac_try" in
16463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16464 *) ac_try_echo=$ac_try;;
16465 esac
16466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16467 (eval "$ac_try") 2>&5
16468 ac_status=$?
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; }; then
16471 cross_compiling=no
16472 else
16473 if test "$cross_compiling" = maybe; then
16474 cross_compiling=yes
16475 else
16476 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16477 If you meant to cross compile, use \`--host'.
16478 See \`config.log' for more details." >&5
16479 echo "$as_me: error: cannot run C compiled programs.
16480 If you meant to cross compile, use \`--host'.
16481 See \`config.log' for more details." >&2;}
16482 { (exit 1); exit 1; }; }
16483 fi
16484 fi
16485 fi
16486 { echo "$as_me:$LINENO: result: yes" >&5
16487 echo "${ECHO_T}yes" >&6; }
16488
16489 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16490 ac_clean_files=$ac_clean_files_save
16491 # Check that the compiler produces executables we can run. If not, either
16492 # the compiler is broken, or we cross compile.
16493 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16494 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16495 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16496 echo "${ECHO_T}$cross_compiling" >&6; }
16497
16498 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16499 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16500 if { (ac_try="$ac_link"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_link") 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; then
16510 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16511 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16512 # work properly (i.e., refer to `conftest.exe'), while it won't with
16513 # `rm'.
16514 for ac_file in conftest.exe conftest conftest.*; do
16515 test -f "$ac_file" || continue
16516 case $ac_file in
16517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16518 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16519 break;;
16520 * ) break;;
16521 esac
16522 done
16523 else
16524 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16525 See \`config.log' for more details." >&5
16526 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16527 See \`config.log' for more details." >&2;}
16528 { (exit 1); exit 1; }; }
16529 fi
16530
16531 rm -f conftest$ac_cv_exeext
16532 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16533 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16534
16535 rm -f conftest.$ac_ext
16536 EXEEXT=$ac_cv_exeext
16537 ac_exeext=$EXEEXT
16538 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16539 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16540 if test "${ac_cv_objext+set}" = set; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 else
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549
16550 int
16551 main ()
16552 {
16553
16554 ;
16555 return 0;
16556 }
16557 _ACEOF
16558 rm -f conftest.o conftest.obj
16559 if { (ac_try="$ac_compile"
16560 case "(($ac_try" in
16561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16562 *) ac_try_echo=$ac_try;;
16563 esac
16564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16565 (eval "$ac_compile") 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; then
16569 for ac_file in conftest.o conftest.obj conftest.*; do
16570 test -f "$ac_file" || continue;
16571 case $ac_file in
16572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16573 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16574 break;;
16575 esac
16576 done
16577 else
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16580
16581 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16582 See \`config.log' for more details." >&5
16583 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16584 See \`config.log' for more details." >&2;}
16585 { (exit 1); exit 1; }; }
16586 fi
16587
16588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16589 fi
16590 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16591 echo "${ECHO_T}$ac_cv_objext" >&6; }
16592 OBJEXT=$ac_cv_objext
16593 ac_objext=$OBJEXT
16594 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16595 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16596 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 cat >conftest.$ac_ext <<_ACEOF
16600 /* confdefs.h. */
16601 _ACEOF
16602 cat confdefs.h >>conftest.$ac_ext
16603 cat >>conftest.$ac_ext <<_ACEOF
16604 /* end confdefs.h. */
16605
16606 int
16607 main ()
16608 {
16609 #ifndef __GNUC__
16610 choke me
16611 #endif
16612
16613 ;
16614 return 0;
16615 }
16616 _ACEOF
16617 rm -f conftest.$ac_objext
16618 if { (ac_try="$ac_compile"
16619 case "(($ac_try" in
16620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16621 *) ac_try_echo=$ac_try;;
16622 esac
16623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16624 (eval "$ac_compile") 2>conftest.er1
16625 ac_status=$?
16626 grep -v '^ *+' conftest.er1 >conftest.err
16627 rm -f conftest.er1
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } && {
16631 test -z "$ac_c_werror_flag" ||
16632 test ! -s conftest.err
16633 } && test -s conftest.$ac_objext; then
16634 ac_compiler_gnu=yes
16635 else
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16638
16639 ac_compiler_gnu=no
16640 fi
16641
16642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16643 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16644
16645 fi
16646 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16647 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16648 GCC=`test $ac_compiler_gnu = yes && echo yes`
16649 ac_test_CFLAGS=${CFLAGS+set}
16650 ac_save_CFLAGS=$CFLAGS
16651 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16652 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_cc_g+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656 ac_save_c_werror_flag=$ac_c_werror_flag
16657 ac_c_werror_flag=yes
16658 ac_cv_prog_cc_g=no
16659 CFLAGS="-g"
16660 cat >conftest.$ac_ext <<_ACEOF
16661 /* confdefs.h. */
16662 _ACEOF
16663 cat confdefs.h >>conftest.$ac_ext
16664 cat >>conftest.$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666
16667 int
16668 main ()
16669 {
16670
16671 ;
16672 return 0;
16673 }
16674 _ACEOF
16675 rm -f conftest.$ac_objext
16676 if { (ac_try="$ac_compile"
16677 case "(($ac_try" in
16678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16679 *) ac_try_echo=$ac_try;;
16680 esac
16681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16682 (eval "$ac_compile") 2>conftest.er1
16683 ac_status=$?
16684 grep -v '^ *+' conftest.er1 >conftest.err
16685 rm -f conftest.er1
16686 cat conftest.err >&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); } && {
16689 test -z "$ac_c_werror_flag" ||
16690 test ! -s conftest.err
16691 } && test -s conftest.$ac_objext; then
16692 ac_cv_prog_cc_g=yes
16693 else
16694 echo "$as_me: failed program was:" >&5
16695 sed 's/^/| /' conftest.$ac_ext >&5
16696
16697 CFLAGS=""
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704
16705 int
16706 main ()
16707 {
16708
16709 ;
16710 return 0;
16711 }
16712 _ACEOF
16713 rm -f conftest.$ac_objext
16714 if { (ac_try="$ac_compile"
16715 case "(($ac_try" in
16716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16717 *) ac_try_echo=$ac_try;;
16718 esac
16719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16720 (eval "$ac_compile") 2>conftest.er1
16721 ac_status=$?
16722 grep -v '^ *+' conftest.er1 >conftest.err
16723 rm -f conftest.er1
16724 cat conftest.err >&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } && {
16727 test -z "$ac_c_werror_flag" ||
16728 test ! -s conftest.err
16729 } && test -s conftest.$ac_objext; then
16730 :
16731 else
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.$ac_ext >&5
16734
16735 ac_c_werror_flag=$ac_save_c_werror_flag
16736 CFLAGS="-g"
16737 cat >conftest.$ac_ext <<_ACEOF
16738 /* confdefs.h. */
16739 _ACEOF
16740 cat confdefs.h >>conftest.$ac_ext
16741 cat >>conftest.$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743
16744 int
16745 main ()
16746 {
16747
16748 ;
16749 return 0;
16750 }
16751 _ACEOF
16752 rm -f conftest.$ac_objext
16753 if { (ac_try="$ac_compile"
16754 case "(($ac_try" in
16755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16756 *) ac_try_echo=$ac_try;;
16757 esac
16758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16759 (eval "$ac_compile") 2>conftest.er1
16760 ac_status=$?
16761 grep -v '^ *+' conftest.er1 >conftest.err
16762 rm -f conftest.er1
16763 cat conftest.err >&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } && {
16766 test -z "$ac_c_werror_flag" ||
16767 test ! -s conftest.err
16768 } && test -s conftest.$ac_objext; then
16769 ac_cv_prog_cc_g=yes
16770 else
16771 echo "$as_me: failed program was:" >&5
16772 sed 's/^/| /' conftest.$ac_ext >&5
16773
16774
16775 fi
16776
16777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16778 fi
16779
16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16781 fi
16782
16783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16784 ac_c_werror_flag=$ac_save_c_werror_flag
16785 fi
16786 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16787 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16788 if test "$ac_test_CFLAGS" = set; then
16789 CFLAGS=$ac_save_CFLAGS
16790 elif test $ac_cv_prog_cc_g = yes; then
16791 if test "$GCC" = yes; then
16792 CFLAGS="-g -O2"
16793 else
16794 CFLAGS="-g"
16795 fi
16796 else
16797 if test "$GCC" = yes; then
16798 CFLAGS="-O2"
16799 else
16800 CFLAGS=
16801 fi
16802 fi
16803 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16804 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16805 if test "${ac_cv_prog_cc_c89+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 else
16808 ac_cv_prog_cc_c89=no
16809 ac_save_CC=$CC
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816 #include <stdarg.h>
16817 #include <stdio.h>
16818 #include <sys/types.h>
16819 #include <sys/stat.h>
16820 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16821 struct buf { int x; };
16822 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16823 static char *e (p, i)
16824 char **p;
16825 int i;
16826 {
16827 return p[i];
16828 }
16829 static char *f (char * (*g) (char **, int), char **p, ...)
16830 {
16831 char *s;
16832 va_list v;
16833 va_start (v,p);
16834 s = g (p, va_arg (v,int));
16835 va_end (v);
16836 return s;
16837 }
16838
16839 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16840 function prototypes and stuff, but not '\xHH' hex character constants.
16841 These don't provoke an error unfortunately, instead are silently treated
16842 as 'x'. The following induces an error, until -std is added to get
16843 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16844 array size at least. It's necessary to write '\x00'==0 to get something
16845 that's true only with -std. */
16846 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16847
16848 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16849 inside strings and character constants. */
16850 #define FOO(x) 'x'
16851 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16852
16853 int test (int i, double x);
16854 struct s1 {int (*f) (int a);};
16855 struct s2 {int (*f) (double a);};
16856 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16857 int argc;
16858 char **argv;
16859 int
16860 main ()
16861 {
16862 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16863 ;
16864 return 0;
16865 }
16866 _ACEOF
16867 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16868 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16869 do
16870 CC="$ac_save_CC $ac_arg"
16871 rm -f conftest.$ac_objext
16872 if { (ac_try="$ac_compile"
16873 case "(($ac_try" in
16874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16875 *) ac_try_echo=$ac_try;;
16876 esac
16877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16878 (eval "$ac_compile") 2>conftest.er1
16879 ac_status=$?
16880 grep -v '^ *+' conftest.er1 >conftest.err
16881 rm -f conftest.er1
16882 cat conftest.err >&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } && {
16885 test -z "$ac_c_werror_flag" ||
16886 test ! -s conftest.err
16887 } && test -s conftest.$ac_objext; then
16888 ac_cv_prog_cc_c89=$ac_arg
16889 else
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893
16894 fi
16895
16896 rm -f core conftest.err conftest.$ac_objext
16897 test "x$ac_cv_prog_cc_c89" != "xno" && break
16898 done
16899 rm -f conftest.$ac_ext
16900 CC=$ac_save_CC
16901
16902 fi
16903 # AC_CACHE_VAL
16904 case "x$ac_cv_prog_cc_c89" in
16905 x)
16906 { echo "$as_me:$LINENO: result: none needed" >&5
16907 echo "${ECHO_T}none needed" >&6; } ;;
16908 xno)
16909 { echo "$as_me:$LINENO: result: unsupported" >&5
16910 echo "${ECHO_T}unsupported" >&6; } ;;
16911 *)
16912 CC="$CC $ac_cv_prog_cc_c89"
16913 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16914 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16915 esac
16916
16917
16918 ac_ext=c
16919 ac_cpp='$CPP $CPPFLAGS'
16920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16923
16924
16925
16926
16927 ac_ext=c
16928 ac_cpp='$CPP $CPPFLAGS'
16929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16932
16933 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16934 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16935 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 else
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944
16945 int
16946 main ()
16947 {
16948
16949 #ifndef __INTEL_COMPILER
16950 choke me
16951 #endif
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 rm -f conftest.$ac_objext
16958 if { (ac_try="$ac_compile"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_compile") 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } && {
16971 test -z "$ac_c_werror_flag" ||
16972 test ! -s conftest.err
16973 } && test -s conftest.$ac_objext; then
16974 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16975 else
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16978
16979 bakefile_cv_c_compiler___INTEL_COMPILER=no
16980
16981 fi
16982
16983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16984
16985
16986 fi
16987 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16988 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16989 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16990 :; INTELCC=yes
16991 else
16992 :;
16993 fi
16994 ac_ext=c
16995 ac_cpp='$CPP $CPPFLAGS'
16996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16999
17000
17001
17002
17003 if test "x$GCC" != "xyes"; then
17004 if test "xCC" = "xC"; then
17005 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17006 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17007 if test "${bakefile_cv_c_exto+set}" = set; then
17008 echo $ECHO_N "(cached) $ECHO_C" >&6
17009 else
17010 cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h. */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016
17017 int
17018 main ()
17019 {
17020
17021 ;
17022 return 0;
17023 }
17024 _ACEOF
17025 rm -f conftest.$ac_objext conftest.$ac_ext.o
17026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17027 (eval $ac_compile) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; then
17031 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17032 case $ac_file in
17033 conftest.$ac_ext.o)
17034 bakefile_cv_c_exto="-ext o"
17035 ;;
17036 *)
17037 ;;
17038 esac
17039 done
17040 else
17041 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17042 See \`config.log' for more details." >&5
17043 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17044 See \`config.log' for more details." >&2;}
17045 { (exit 1); exit 1; }; }
17046
17047 fi
17048
17049 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17050
17051 fi
17052 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17053 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17054 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17055 if test "c" = "c"; then
17056 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17057 fi
17058 if test "c" = "cxx"; then
17059 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17060 fi
17061 fi
17062
17063 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17064 unset ac_cv_prog_cc_g
17065 ac_test_CFLAGS=${CFLAGS+set}
17066 ac_save_CFLAGS=$CFLAGS
17067 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17068 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17069 if test "${ac_cv_prog_cc_g+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 else
17072 ac_save_c_werror_flag=$ac_c_werror_flag
17073 ac_c_werror_flag=yes
17074 ac_cv_prog_cc_g=no
17075 CFLAGS="-g"
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082
17083 int
17084 main ()
17085 {
17086
17087 ;
17088 return 0;
17089 }
17090 _ACEOF
17091 rm -f conftest.$ac_objext
17092 if { (ac_try="$ac_compile"
17093 case "(($ac_try" in
17094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17095 *) ac_try_echo=$ac_try;;
17096 esac
17097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098 (eval "$ac_compile") 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } && {
17105 test -z "$ac_c_werror_flag" ||
17106 test ! -s conftest.err
17107 } && test -s conftest.$ac_objext; then
17108 ac_cv_prog_cc_g=yes
17109 else
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 CFLAGS=""
17114 cat >conftest.$ac_ext <<_ACEOF
17115 /* confdefs.h. */
17116 _ACEOF
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120
17121 int
17122 main ()
17123 {
17124
17125 ;
17126 return 0;
17127 }
17128 _ACEOF
17129 rm -f conftest.$ac_objext
17130 if { (ac_try="$ac_compile"
17131 case "(($ac_try" in
17132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17133 *) ac_try_echo=$ac_try;;
17134 esac
17135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17136 (eval "$ac_compile") 2>conftest.er1
17137 ac_status=$?
17138 grep -v '^ *+' conftest.er1 >conftest.err
17139 rm -f conftest.er1
17140 cat conftest.err >&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } && {
17143 test -z "$ac_c_werror_flag" ||
17144 test ! -s conftest.err
17145 } && test -s conftest.$ac_objext; then
17146 :
17147 else
17148 echo "$as_me: failed program was:" >&5
17149 sed 's/^/| /' conftest.$ac_ext >&5
17150
17151 ac_c_werror_flag=$ac_save_c_werror_flag
17152 CFLAGS="-g"
17153 cat >conftest.$ac_ext <<_ACEOF
17154 /* confdefs.h. */
17155 _ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159
17160 int
17161 main ()
17162 {
17163
17164 ;
17165 return 0;
17166 }
17167 _ACEOF
17168 rm -f conftest.$ac_objext
17169 if { (ac_try="$ac_compile"
17170 case "(($ac_try" in
17171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17172 *) ac_try_echo=$ac_try;;
17173 esac
17174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17175 (eval "$ac_compile") 2>conftest.er1
17176 ac_status=$?
17177 grep -v '^ *+' conftest.er1 >conftest.err
17178 rm -f conftest.er1
17179 cat conftest.err >&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } && {
17182 test -z "$ac_c_werror_flag" ||
17183 test ! -s conftest.err
17184 } && test -s conftest.$ac_objext; then
17185 ac_cv_prog_cc_g=yes
17186 else
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17189
17190
17191 fi
17192
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194 fi
17195
17196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17197 fi
17198
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 ac_c_werror_flag=$ac_save_c_werror_flag
17201 fi
17202 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17203 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17204 if test "$ac_test_CFLAGS" = set; then
17205 CFLAGS=$ac_save_CFLAGS
17206 elif test $ac_cv_prog_cc_g = yes; then
17207 if test "$GCC" = yes; then
17208 CFLAGS="-g -O2"
17209 else
17210 CFLAGS="-g"
17211 fi
17212 else
17213 if test "$GCC" = yes; then
17214 CFLAGS="-O2"
17215 else
17216 CFLAGS=
17217 fi
17218 fi
17219 fi
17220 fi
17221
17222 case `uname -s` in
17223 AIX*)
17224
17225
17226 ac_ext=c
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231
17232 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17233 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17234 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243
17244 int
17245 main ()
17246 {
17247
17248 #ifndef __xlC__
17249 choke me
17250 #endif
17251
17252 ;
17253 return 0;
17254 }
17255 _ACEOF
17256 rm -f conftest.$ac_objext
17257 if { (ac_try="$ac_compile"
17258 case "(($ac_try" in
17259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17260 *) ac_try_echo=$ac_try;;
17261 esac
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_compile") 2>conftest.er1
17264 ac_status=$?
17265 grep -v '^ *+' conftest.er1 >conftest.err
17266 rm -f conftest.er1
17267 cat conftest.err >&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } && {
17270 test -z "$ac_c_werror_flag" ||
17271 test ! -s conftest.err
17272 } && test -s conftest.$ac_objext; then
17273 bakefile_cv_c_compiler___xlC__=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17277
17278 bakefile_cv_c_compiler___xlC__=no
17279
17280 fi
17281
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283
17284
17285 fi
17286 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17287 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17288 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17289 :; XLCC=yes
17290 else
17291 :;
17292 fi
17293 ac_ext=c
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298
17299
17300
17301 ;;
17302
17303 Darwin)
17304
17305
17306 ac_ext=c
17307 ac_cpp='$CPP $CPPFLAGS'
17308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17311
17312 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17313 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17314 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 else
17317 cat >conftest.$ac_ext <<_ACEOF
17318 /* confdefs.h. */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323
17324 int
17325 main ()
17326 {
17327
17328 #ifndef __MWERKS__
17329 choke me
17330 #endif
17331
17332 ;
17333 return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (ac_try="$ac_compile"
17338 case "(($ac_try" in
17339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17340 *) ac_try_echo=$ac_try;;
17341 esac
17342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17343 (eval "$ac_compile") 2>conftest.er1
17344 ac_status=$?
17345 grep -v '^ *+' conftest.er1 >conftest.err
17346 rm -f conftest.er1
17347 cat conftest.err >&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } && {
17350 test -z "$ac_c_werror_flag" ||
17351 test ! -s conftest.err
17352 } && test -s conftest.$ac_objext; then
17353 bakefile_cv_c_compiler___MWERKS__=yes
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358 bakefile_cv_c_compiler___MWERKS__=no
17359
17360 fi
17361
17362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17363
17364
17365 fi
17366 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17367 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17368 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17369 :; MWCC=yes
17370 else
17371 :;
17372 fi
17373 ac_ext=c
17374 ac_cpp='$CPP $CPPFLAGS'
17375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17378
17379
17380
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 IBM xlC C compiler" >&5
17390 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17391 if test "${bakefile_cv_c_compiler___xlC__+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 __xlC__
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___xlC__=yes
17431 else
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17434
17435 bakefile_cv_c_compiler___xlC__=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___xlC__" >&5
17444 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17445 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17446 :; XLCC=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
17460 IRIX*)
17461
17462
17463 ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17468
17469 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17470 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17471 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17473 else
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480
17481 int
17482 main ()
17483 {
17484
17485 #ifndef _SGI_COMPILER_VERSION
17486 choke me
17487 #endif
17488
17489 ;
17490 return 0;
17491 }
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (ac_try="$ac_compile"
17495 case "(($ac_try" in
17496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17497 *) ac_try_echo=$ac_try;;
17498 esac
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_compile") 2>conftest.er1
17501 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest.$ac_objext; then
17510 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17514
17515 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17516
17517 fi
17518
17519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520
17521
17522 fi
17523 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17524 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17525 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17526 :; SGICC=yes
17527 else
17528 :;
17529 fi
17530 ac_ext=c
17531 ac_cpp='$CPP $CPPFLAGS'
17532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17535
17536
17537
17538 ;;
17539
17540 Linux*)
17541
17542
17543 ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548
17549 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17550 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17551 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17552 echo $ECHO_N "(cached) $ECHO_C" >&6
17553 else
17554 cat >conftest.$ac_ext <<_ACEOF
17555 /* confdefs.h. */
17556 _ACEOF
17557 cat confdefs.h >>conftest.$ac_ext
17558 cat >>conftest.$ac_ext <<_ACEOF
17559 /* end confdefs.h. */
17560
17561 int
17562 main ()
17563 {
17564
17565 #ifndef __SUNPRO_C
17566 choke me
17567 #endif
17568
17569 ;
17570 return 0;
17571 }
17572 _ACEOF
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17578 esac
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 bakefile_cv_c_compiler___SUNPRO_C=yes
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17594
17595 bakefile_cv_c_compiler___SUNPRO_C=no
17596
17597 fi
17598
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600
17601
17602 fi
17603 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17604 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17605 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17606 :; SUNCC=yes
17607 else
17608 :;
17609 fi
17610 ac_ext=c
17611 ac_cpp='$CPP $CPPFLAGS'
17612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17615
17616
17617
17618 ;;
17619
17620 HP-UX*)
17621
17622
17623 ac_ext=c
17624 ac_cpp='$CPP $CPPFLAGS'
17625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17628
17629 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17630 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17631 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 else
17634 cat >conftest.$ac_ext <<_ACEOF
17635 /* confdefs.h. */
17636 _ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640
17641 int
17642 main ()
17643 {
17644
17645 #ifndef __HP_cc
17646 choke me
17647 #endif
17648
17649 ;
17650 return 0;
17651 }
17652 _ACEOF
17653 rm -f conftest.$ac_objext
17654 if { (ac_try="$ac_compile"
17655 case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17658 esac
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_compile") 2>conftest.er1
17661 ac_status=$?
17662 grep -v '^ *+' conftest.er1 >conftest.err
17663 rm -f conftest.er1
17664 cat conftest.err >&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest.$ac_objext; then
17670 bakefile_cv_c_compiler___HP_cc=yes
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 bakefile_cv_c_compiler___HP_cc=no
17676
17677 fi
17678
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681
17682 fi
17683 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17684 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17685 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17686 :; HPCC=yes
17687 else
17688 :;
17689 fi
17690 ac_ext=c
17691 ac_cpp='$CPP $CPPFLAGS'
17692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17695
17696
17697
17698 ;;
17699
17700 OSF1)
17701
17702
17703 ac_ext=c
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17708
17709 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17710 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17711 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720
17721 int
17722 main ()
17723 {
17724
17725 #ifndef __DECC
17726 choke me
17727 #endif
17728
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 rm -f conftest.$ac_objext
17734 if { (ac_try="$ac_compile"
17735 case "(($ac_try" in
17736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17737 *) ac_try_echo=$ac_try;;
17738 esac
17739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17740 (eval "$ac_compile") 2>conftest.er1
17741 ac_status=$?
17742 grep -v '^ *+' conftest.er1 >conftest.err
17743 rm -f conftest.er1
17744 cat conftest.err >&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); } && {
17747 test -z "$ac_c_werror_flag" ||
17748 test ! -s conftest.err
17749 } && test -s conftest.$ac_objext; then
17750 bakefile_cv_c_compiler___DECC=yes
17751 else
17752 echo "$as_me: failed program was:" >&5
17753 sed 's/^/| /' conftest.$ac_ext >&5
17754
17755 bakefile_cv_c_compiler___DECC=no
17756
17757 fi
17758
17759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17760
17761
17762 fi
17763 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17764 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17765 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17766 :; COMPAQCC=yes
17767 else
17768 :;
17769 fi
17770 ac_ext=c
17771 ac_cpp='$CPP $CPPFLAGS'
17772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775
17776
17777
17778 ;;
17779
17780 SunOS)
17781
17782
17783 ac_ext=c
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17788
17789 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17790 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17791 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17792 echo $ECHO_N "(cached) $ECHO_C" >&6
17793 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800
17801 int
17802 main ()
17803 {
17804
17805 #ifndef __SUNPRO_C
17806 choke me
17807 #endif
17808
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_c_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 bakefile_cv_c_compiler___SUNPRO_C=yes
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 bakefile_cv_c_compiler___SUNPRO_C=no
17836
17837 fi
17838
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841
17842 fi
17843 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17844 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17845 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17846 :; SUNCC=yes
17847 else
17848 :;
17849 fi
17850 ac_ext=c
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17855
17856
17857
17858 ;;
17859 esac
17860 fi
17861
17862
17863
17864 ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17870 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17871 # On Suns, sometimes $CPP names a directory.
17872 if test -n "$CPP" && test -d "$CPP"; then
17873 CPP=
17874 fi
17875 if test -z "$CPP"; then
17876 if test "${ac_cv_prog_CPP+set}" = set; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17878 else
17879 # Double quotes because CPP needs to be expanded
17880 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17881 do
17882 ac_preproc_ok=false
17883 for ac_c_preproc_warn_flag in '' yes
17884 do
17885 # Use a header file that comes with gcc, so configuring glibc
17886 # with a fresh cross-compiler works.
17887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17888 # <limits.h> exists even on freestanding compilers.
17889 # On the NeXT, cc -E runs the code through the compiler's parser,
17890 # not just through cpp. "Syntax error" is here to catch this case.
17891 cat >conftest.$ac_ext <<_ACEOF
17892 /* confdefs.h. */
17893 _ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17897 #ifdef __STDC__
17898 # include <limits.h>
17899 #else
17900 # include <assert.h>
17901 #endif
17902 Syntax error
17903 _ACEOF
17904 if { (ac_try="$ac_cpp conftest.$ac_ext"
17905 case "(($ac_try" in
17906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17907 *) ac_try_echo=$ac_try;;
17908 esac
17909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17911 ac_status=$?
17912 grep -v '^ *+' conftest.er1 >conftest.err
17913 rm -f conftest.er1
17914 cat conftest.err >&5
17915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17916 (exit $ac_status); } >/dev/null && {
17917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17918 test ! -s conftest.err
17919 }; then
17920 :
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17924
17925 # Broken: fails on valid input.
17926 continue
17927 fi
17928
17929 rm -f conftest.err conftest.$ac_ext
17930
17931 # OK, works on sane cases. Now check whether nonexistent headers
17932 # can be detected and how.
17933 cat >conftest.$ac_ext <<_ACEOF
17934 /* confdefs.h. */
17935 _ACEOF
17936 cat confdefs.h >>conftest.$ac_ext
17937 cat >>conftest.$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17939 #include <ac_nonexistent.h>
17940 _ACEOF
17941 if { (ac_try="$ac_cpp conftest.$ac_ext"
17942 case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17945 esac
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } >/dev/null && {
17954 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17955 test ! -s conftest.err
17956 }; then
17957 # Broken: success on invalid input.
17958 continue
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17962
17963 # Passes both tests.
17964 ac_preproc_ok=:
17965 break
17966 fi
17967
17968 rm -f conftest.err conftest.$ac_ext
17969
17970 done
17971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17972 rm -f conftest.err conftest.$ac_ext
17973 if $ac_preproc_ok; then
17974 break
17975 fi
17976
17977 done
17978 ac_cv_prog_CPP=$CPP
17979
17980 fi
17981 CPP=$ac_cv_prog_CPP
17982 else
17983 ac_cv_prog_CPP=$CPP
17984 fi
17985 { echo "$as_me:$LINENO: result: $CPP" >&5
17986 echo "${ECHO_T}$CPP" >&6; }
17987 ac_preproc_ok=false
17988 for ac_c_preproc_warn_flag in '' yes
17989 do
17990 # Use a header file that comes with gcc, so configuring glibc
17991 # with a fresh cross-compiler works.
17992 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17993 # <limits.h> exists even on freestanding compilers.
17994 # On the NeXT, cc -E runs the code through the compiler's parser,
17995 # not just through cpp. "Syntax error" is here to catch this case.
17996 cat >conftest.$ac_ext <<_ACEOF
17997 /* confdefs.h. */
17998 _ACEOF
17999 cat confdefs.h >>conftest.$ac_ext
18000 cat >>conftest.$ac_ext <<_ACEOF
18001 /* end confdefs.h. */
18002 #ifdef __STDC__
18003 # include <limits.h>
18004 #else
18005 # include <assert.h>
18006 #endif
18007 Syntax error
18008 _ACEOF
18009 if { (ac_try="$ac_cpp conftest.$ac_ext"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18016 ac_status=$?
18017 grep -v '^ *+' conftest.er1 >conftest.err
18018 rm -f conftest.er1
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } >/dev/null && {
18022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 }; then
18025 :
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18029
18030 # Broken: fails on valid input.
18031 continue
18032 fi
18033
18034 rm -f conftest.err conftest.$ac_ext
18035
18036 # OK, works on sane cases. Now check whether nonexistent headers
18037 # can be detected and how.
18038 cat >conftest.$ac_ext <<_ACEOF
18039 /* confdefs.h. */
18040 _ACEOF
18041 cat confdefs.h >>conftest.$ac_ext
18042 cat >>conftest.$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18044 #include <ac_nonexistent.h>
18045 _ACEOF
18046 if { (ac_try="$ac_cpp conftest.$ac_ext"
18047 case "(($ac_try" in
18048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18049 *) ac_try_echo=$ac_try;;
18050 esac
18051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18053 ac_status=$?
18054 grep -v '^ *+' conftest.er1 >conftest.err
18055 rm -f conftest.er1
18056 cat conftest.err >&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); } >/dev/null && {
18059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18060 test ! -s conftest.err
18061 }; then
18062 # Broken: success on invalid input.
18063 continue
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 # Passes both tests.
18069 ac_preproc_ok=:
18070 break
18071 fi
18072
18073 rm -f conftest.err conftest.$ac_ext
18074
18075 done
18076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18077 rm -f conftest.err conftest.$ac_ext
18078 if $ac_preproc_ok; then
18079 :
18080 else
18081 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18082 See \`config.log' for more details." >&5
18083 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18084 See \`config.log' for more details." >&2;}
18085 { (exit 1); exit 1; }; }
18086 fi
18087
18088 ac_ext=c
18089 ac_cpp='$CPP $CPPFLAGS'
18090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18093
18094
18095 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18096 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18097 if test "${ac_cv_path_GREP+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 else
18100 # Extract the first word of "grep ggrep" to use in msg output
18101 if test -z "$GREP"; then
18102 set dummy grep ggrep; ac_prog_name=$2
18103 if test "${ac_cv_path_GREP+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 else
18106 ac_path_GREP_found=false
18107 # Loop through the user's path and test for each of PROGNAME-LIST
18108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18109 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18110 do
18111 IFS=$as_save_IFS
18112 test -z "$as_dir" && as_dir=.
18113 for ac_prog in grep ggrep; do
18114 for ac_exec_ext in '' $ac_executable_extensions; do
18115 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18116 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18117 # Check for GNU ac_path_GREP and select it if it is found.
18118 # Check for GNU $ac_path_GREP
18119 case `"$ac_path_GREP" --version 2>&1` in
18120 *GNU*)
18121 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18122 *)
18123 ac_count=0
18124 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18125 while :
18126 do
18127 cat "conftest.in" "conftest.in" >"conftest.tmp"
18128 mv "conftest.tmp" "conftest.in"
18129 cp "conftest.in" "conftest.nl"
18130 echo 'GREP' >> "conftest.nl"
18131 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18132 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18133 ac_count=`expr $ac_count + 1`
18134 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18135 # Best one so far, save it but keep looking for a better one
18136 ac_cv_path_GREP="$ac_path_GREP"
18137 ac_path_GREP_max=$ac_count
18138 fi
18139 # 10*(2^10) chars as input seems more than enough
18140 test $ac_count -gt 10 && break
18141 done
18142 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18143 esac
18144
18145
18146 $ac_path_GREP_found && break 3
18147 done
18148 done
18149
18150 done
18151 IFS=$as_save_IFS
18152
18153
18154 fi
18155
18156 GREP="$ac_cv_path_GREP"
18157 if test -z "$GREP"; then
18158 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18159 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18160 { (exit 1); exit 1; }; }
18161 fi
18162
18163 else
18164 ac_cv_path_GREP=$GREP
18165 fi
18166
18167
18168 fi
18169 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18170 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18171 GREP="$ac_cv_path_GREP"
18172
18173
18174 { echo "$as_me:$LINENO: checking for egrep" >&5
18175 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18176 if test "${ac_cv_path_EGREP+set}" = set; then
18177 echo $ECHO_N "(cached) $ECHO_C" >&6
18178 else
18179 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18180 then ac_cv_path_EGREP="$GREP -E"
18181 else
18182 # Extract the first word of "egrep" to use in msg output
18183 if test -z "$EGREP"; then
18184 set dummy egrep; ac_prog_name=$2
18185 if test "${ac_cv_path_EGREP+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188 ac_path_EGREP_found=false
18189 # Loop through the user's path and test for each of PROGNAME-LIST
18190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18191 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18192 do
18193 IFS=$as_save_IFS
18194 test -z "$as_dir" && as_dir=.
18195 for ac_prog in egrep; do
18196 for ac_exec_ext in '' $ac_executable_extensions; do
18197 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18198 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18199 # Check for GNU ac_path_EGREP and select it if it is found.
18200 # Check for GNU $ac_path_EGREP
18201 case `"$ac_path_EGREP" --version 2>&1` in
18202 *GNU*)
18203 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18204 *)
18205 ac_count=0
18206 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18207 while :
18208 do
18209 cat "conftest.in" "conftest.in" >"conftest.tmp"
18210 mv "conftest.tmp" "conftest.in"
18211 cp "conftest.in" "conftest.nl"
18212 echo 'EGREP' >> "conftest.nl"
18213 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18214 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18215 ac_count=`expr $ac_count + 1`
18216 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18217 # Best one so far, save it but keep looking for a better one
18218 ac_cv_path_EGREP="$ac_path_EGREP"
18219 ac_path_EGREP_max=$ac_count
18220 fi
18221 # 10*(2^10) chars as input seems more than enough
18222 test $ac_count -gt 10 && break
18223 done
18224 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18225 esac
18226
18227
18228 $ac_path_EGREP_found && break 3
18229 done
18230 done
18231
18232 done
18233 IFS=$as_save_IFS
18234
18235
18236 fi
18237
18238 EGREP="$ac_cv_path_EGREP"
18239 if test -z "$EGREP"; then
18240 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18241 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18242 { (exit 1); exit 1; }; }
18243 fi
18244
18245 else
18246 ac_cv_path_EGREP=$EGREP
18247 fi
18248
18249
18250 fi
18251 fi
18252 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18253 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18254 EGREP="$ac_cv_path_EGREP"
18255
18256
18257 if test $ac_cv_c_compiler_gnu = yes; then
18258 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18259 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18260 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18261 echo $ECHO_N "(cached) $ECHO_C" >&6
18262 else
18263 ac_pattern="Autoconf.*'x'"
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 #include <sgtty.h>
18271 Autoconf TIOCGETP
18272 _ACEOF
18273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18274 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18275 ac_cv_prog_gcc_traditional=yes
18276 else
18277 ac_cv_prog_gcc_traditional=no
18278 fi
18279 rm -f conftest*
18280
18281
18282 if test $ac_cv_prog_gcc_traditional = no; then
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289 #include <termio.h>
18290 Autoconf TCGETA
18291 _ACEOF
18292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18293 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18294 ac_cv_prog_gcc_traditional=yes
18295 fi
18296 rm -f conftest*
18297
18298 fi
18299 fi
18300 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18301 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18302 if test $ac_cv_prog_gcc_traditional = yes; then
18303 CC="$CC -traditional"
18304 fi
18305 fi
18306
18307
18308 CXXFLAGS=${CXXFLAGS:=}
18309
18310
18311
18312 ac_ext=cpp
18313 ac_cpp='$CXXCPP $CPPFLAGS'
18314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18317 if test -z "$CXX"; then
18318 if test -n "$CCC"; then
18319 CXX=$CCC
18320 else
18321 if test -n "$ac_tool_prefix"; then
18322 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18323 do
18324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18328 if test "${ac_cv_prog_CXX+set}" = set; then
18329 echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331 if test -n "$CXX"; then
18332 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18333 else
18334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18335 for as_dir in $PATH
18336 do
18337 IFS=$as_save_IFS
18338 test -z "$as_dir" && as_dir=.
18339 for ac_exec_ext in '' $ac_executable_extensions; do
18340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18341 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18343 break 2
18344 fi
18345 done
18346 done
18347 IFS=$as_save_IFS
18348
18349 fi
18350 fi
18351 CXX=$ac_cv_prog_CXX
18352 if test -n "$CXX"; then
18353 { echo "$as_me:$LINENO: result: $CXX" >&5
18354 echo "${ECHO_T}$CXX" >&6; }
18355 else
18356 { echo "$as_me:$LINENO: result: no" >&5
18357 echo "${ECHO_T}no" >&6; }
18358 fi
18359
18360
18361 test -n "$CXX" && break
18362 done
18363 fi
18364 if test -z "$CXX"; then
18365 ac_ct_CXX=$CXX
18366 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18367 do
18368 # Extract the first word of "$ac_prog", so it can be a program name with args.
18369 set dummy $ac_prog; ac_word=$2
18370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18372 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18373 echo $ECHO_N "(cached) $ECHO_C" >&6
18374 else
18375 if test -n "$ac_ct_CXX"; then
18376 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18377 else
18378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18379 for as_dir in $PATH
18380 do
18381 IFS=$as_save_IFS
18382 test -z "$as_dir" && as_dir=.
18383 for ac_exec_ext in '' $ac_executable_extensions; do
18384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18385 ac_cv_prog_ac_ct_CXX="$ac_prog"
18386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18387 break 2
18388 fi
18389 done
18390 done
18391 IFS=$as_save_IFS
18392
18393 fi
18394 fi
18395 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18396 if test -n "$ac_ct_CXX"; then
18397 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18398 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18399 else
18400 { echo "$as_me:$LINENO: result: no" >&5
18401 echo "${ECHO_T}no" >&6; }
18402 fi
18403
18404
18405 test -n "$ac_ct_CXX" && break
18406 done
18407
18408 if test "x$ac_ct_CXX" = x; then
18409 CXX="g++"
18410 else
18411 case $cross_compiling:$ac_tool_warned in
18412 yes:)
18413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18414 whose name does not start with the host triplet. If you think this
18415 configuration is useful to you, please write to autoconf@gnu.org." >&5
18416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18417 whose name does not start with the host triplet. If you think this
18418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18419 ac_tool_warned=yes ;;
18420 esac
18421 CXX=$ac_ct_CXX
18422 fi
18423 fi
18424
18425 fi
18426 fi
18427 # Provide some information about the compiler.
18428 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18429 ac_compiler=`set X $ac_compile; echo $2`
18430 { (ac_try="$ac_compiler --version >&5"
18431 case "(($ac_try" in
18432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18434 esac
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compiler --version >&5") 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }
18440 { (ac_try="$ac_compiler -v >&5"
18441 case "(($ac_try" in
18442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18443 *) ac_try_echo=$ac_try;;
18444 esac
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446 (eval "$ac_compiler -v >&5") 2>&5
18447 ac_status=$?
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }
18450 { (ac_try="$ac_compiler -V >&5"
18451 case "(($ac_try" in
18452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18453 *) ac_try_echo=$ac_try;;
18454 esac
18455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18456 (eval "$ac_compiler -V >&5") 2>&5
18457 ac_status=$?
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }
18460
18461 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18462 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18463 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 else
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 #ifndef __GNUC__
18477 choke me
18478 #endif
18479
18480 ;
18481 return 0;
18482 }
18483 _ACEOF
18484 rm -f conftest.$ac_objext
18485 if { (ac_try="$ac_compile"
18486 case "(($ac_try" in
18487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18488 *) ac_try_echo=$ac_try;;
18489 esac
18490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18491 (eval "$ac_compile") 2>conftest.er1
18492 ac_status=$?
18493 grep -v '^ *+' conftest.er1 >conftest.err
18494 rm -f conftest.er1
18495 cat conftest.err >&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); } && {
18498 test -z "$ac_cxx_werror_flag" ||
18499 test ! -s conftest.err
18500 } && test -s conftest.$ac_objext; then
18501 ac_compiler_gnu=yes
18502 else
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18505
18506 ac_compiler_gnu=no
18507 fi
18508
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18511
18512 fi
18513 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18514 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18515 GXX=`test $ac_compiler_gnu = yes && echo yes`
18516 ac_test_CXXFLAGS=${CXXFLAGS+set}
18517 ac_save_CXXFLAGS=$CXXFLAGS
18518 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18519 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18520 if test "${ac_cv_prog_cxx_g+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18524 ac_cxx_werror_flag=yes
18525 ac_cv_prog_cxx_g=no
18526 CXXFLAGS="-g"
18527 cat >conftest.$ac_ext <<_ACEOF
18528 /* confdefs.h. */
18529 _ACEOF
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533
18534 int
18535 main ()
18536 {
18537
18538 ;
18539 return 0;
18540 }
18541 _ACEOF
18542 rm -f conftest.$ac_objext
18543 if { (ac_try="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18547 esac
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18550 ac_status=$?
18551 grep -v '^ *+' conftest.er1 >conftest.err
18552 rm -f conftest.er1
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_cxx_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 ac_cv_prog_cxx_g=yes
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 CXXFLAGS=""
18565 cat >conftest.$ac_ext <<_ACEOF
18566 /* confdefs.h. */
18567 _ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571
18572 int
18573 main ()
18574 {
18575
18576 ;
18577 return 0;
18578 }
18579 _ACEOF
18580 rm -f conftest.$ac_objext
18581 if { (ac_try="$ac_compile"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_compile") 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_cxx_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest.$ac_objext; then
18597 :
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18603 CXXFLAGS="-g"
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610
18611 int
18612 main ()
18613 {
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18624 esac
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18627 ac_status=$?
18628 grep -v '^ *+' conftest.er1 >conftest.err
18629 rm -f conftest.er1
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_cxx_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_cv_prog_cxx_g=yes
18637 else
18638 echo "$as_me: failed program was:" >&5
18639 sed 's/^/| /' conftest.$ac_ext >&5
18640
18641
18642 fi
18643
18644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18645 fi
18646
18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18648 fi
18649
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18652 fi
18653 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18654 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18655 if test "$ac_test_CXXFLAGS" = set; then
18656 CXXFLAGS=$ac_save_CXXFLAGS
18657 elif test $ac_cv_prog_cxx_g = yes; then
18658 if test "$GXX" = yes; then
18659 CXXFLAGS="-g -O2"
18660 else
18661 CXXFLAGS="-g"
18662 fi
18663 else
18664 if test "$GXX" = yes; then
18665 CXXFLAGS="-O2"
18666 else
18667 CXXFLAGS=
18668 fi
18669 fi
18670 ac_ext=c
18671 ac_cpp='$CPP $CPPFLAGS'
18672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18675
18676
18677
18678
18679 ac_ext=cpp
18680 ac_cpp='$CXXCPP $CPPFLAGS'
18681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18684
18685 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18686 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18687 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 else
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h. */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696
18697 int
18698 main ()
18699 {
18700
18701 #ifndef __INTEL_COMPILER
18702 choke me
18703 #endif
18704
18705 ;
18706 return 0;
18707 }
18708 _ACEOF
18709 rm -f conftest.$ac_objext
18710 if { (ac_try="$ac_compile"
18711 case "(($ac_try" in
18712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18713 *) ac_try_echo=$ac_try;;
18714 esac
18715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18716 (eval "$ac_compile") 2>conftest.er1
18717 ac_status=$?
18718 grep -v '^ *+' conftest.er1 >conftest.err
18719 rm -f conftest.er1
18720 cat conftest.err >&5
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } && {
18723 test -z "$ac_cxx_werror_flag" ||
18724 test ! -s conftest.err
18725 } && test -s conftest.$ac_objext; then
18726 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18732
18733 fi
18734
18735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736
18737
18738 fi
18739 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18740 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18741 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18742 :; INTELCXX=yes
18743 else
18744 :;
18745 fi
18746 ac_ext=c
18747 ac_cpp='$CPP $CPPFLAGS'
18748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18751
18752
18753
18754
18755 if test "x$GCXX" != "xyes"; then
18756 if test "xCXX" = "xC"; then
18757 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18758 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18759 if test "${bakefile_cv_c_exto+set}" = set; then
18760 echo $ECHO_N "(cached) $ECHO_C" >&6
18761 else
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768
18769 int
18770 main ()
18771 {
18772
18773 ;
18774 return 0;
18775 }
18776 _ACEOF
18777 rm -f conftest.$ac_objext conftest.$ac_ext.o
18778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18779 (eval $ac_compile) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; then
18783 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18784 case $ac_file in
18785 conftest.$ac_ext.o)
18786 bakefile_cv_c_exto="-ext o"
18787 ;;
18788 *)
18789 ;;
18790 esac
18791 done
18792 else
18793 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18794 See \`config.log' for more details." >&5
18795 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18796 See \`config.log' for more details." >&2;}
18797 { (exit 1); exit 1; }; }
18798
18799 fi
18800
18801 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18802
18803 fi
18804 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18805 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18806 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18807 if test "c" = "c"; then
18808 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18809 fi
18810 if test "c" = "cxx"; then
18811 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18812 fi
18813 fi
18814
18815 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18816 unset ac_cv_prog_cc_g
18817 ac_test_CFLAGS=${CFLAGS+set}
18818 ac_save_CFLAGS=$CFLAGS
18819 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18820 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18821 if test "${ac_cv_prog_cc_g+set}" = set; then
18822 echo $ECHO_N "(cached) $ECHO_C" >&6
18823 else
18824 ac_save_c_werror_flag=$ac_c_werror_flag
18825 ac_c_werror_flag=yes
18826 ac_cv_prog_cc_g=no
18827 CFLAGS="-g"
18828 cat >conftest.$ac_ext <<_ACEOF
18829 /* confdefs.h. */
18830 _ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834
18835 int
18836 main ()
18837 {
18838
18839 ;
18840 return 0;
18841 }
18842 _ACEOF
18843 rm -f conftest.$ac_objext
18844 if { (ac_try="$ac_compile"
18845 case "(($ac_try" in
18846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18847 *) ac_try_echo=$ac_try;;
18848 esac
18849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18850 (eval "$ac_compile") 2>conftest.er1
18851 ac_status=$?
18852 grep -v '^ *+' conftest.er1 >conftest.err
18853 rm -f conftest.er1
18854 cat conftest.err >&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } && {
18857 test -z "$ac_c_werror_flag" ||
18858 test ! -s conftest.err
18859 } && test -s conftest.$ac_objext; then
18860 ac_cv_prog_cc_g=yes
18861 else
18862 echo "$as_me: failed program was:" >&5
18863 sed 's/^/| /' conftest.$ac_ext >&5
18864
18865 CFLAGS=""
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872
18873 int
18874 main ()
18875 {
18876
18877 ;
18878 return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 :
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903 ac_c_werror_flag=$ac_save_c_werror_flag
18904 CFLAGS="-g"
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911
18912 int
18913 main ()
18914 {
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (ac_try="$ac_compile"
18922 case "(($ac_try" in
18923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18924 *) ac_try_echo=$ac_try;;
18925 esac
18926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18927 (eval "$ac_compile") 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } && {
18934 test -z "$ac_c_werror_flag" ||
18935 test ! -s conftest.err
18936 } && test -s conftest.$ac_objext; then
18937 ac_cv_prog_cc_g=yes
18938 else
18939 echo "$as_me: failed program was:" >&5
18940 sed 's/^/| /' conftest.$ac_ext >&5
18941
18942
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 fi
18947
18948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949 fi
18950
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 ac_c_werror_flag=$ac_save_c_werror_flag
18953 fi
18954 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18955 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18956 if test "$ac_test_CFLAGS" = set; then
18957 CFLAGS=$ac_save_CFLAGS
18958 elif test $ac_cv_prog_cc_g = yes; then
18959 if test "$GCC" = yes; then
18960 CFLAGS="-g -O2"
18961 else
18962 CFLAGS="-g"
18963 fi
18964 else
18965 if test "$GCC" = yes; then
18966 CFLAGS="-O2"
18967 else
18968 CFLAGS=
18969 fi
18970 fi
18971 fi
18972 fi
18973
18974 case `uname -s` in
18975 AIX*)
18976
18977
18978 ac_ext=cpp
18979 ac_cpp='$CXXCPP $CPPFLAGS'
18980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18983
18984 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18985 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18986 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 else
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995
18996 int
18997 main ()
18998 {
18999
19000 #ifndef __xlC__
19001 choke me
19002 #endif
19003
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_cxx_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 bakefile_cv_cxx_compiler___xlC__=yes
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030 bakefile_cv_cxx_compiler___xlC__=no
19031
19032 fi
19033
19034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035
19036
19037 fi
19038 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19039 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19040 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19041 :; XLCXX=yes
19042 else
19043 :;
19044 fi
19045 ac_ext=c
19046 ac_cpp='$CPP $CPPFLAGS'
19047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19050
19051
19052
19053 ;;
19054
19055 Darwin)
19056
19057
19058 ac_ext=cpp
19059 ac_cpp='$CXXCPP $CPPFLAGS'
19060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19063
19064 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19065 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19066 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19068 else
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075
19076 int
19077 main ()
19078 {
19079
19080 #ifndef __MWERKS__
19081 choke me
19082 #endif
19083
19084 ;
19085 return 0;
19086 }
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_cxx_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 bakefile_cv_cxx_compiler___MWERKS__=yes
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19109
19110 bakefile_cv_cxx_compiler___MWERKS__=no
19111
19112 fi
19113
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115
19116
19117 fi
19118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19120 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19121 :; MWCXX=yes
19122 else
19123 :;
19124 fi
19125 ac_ext=c
19126 ac_cpp='$CPP $CPPFLAGS'
19127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19130
19131
19132
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 IBM xlC C++ compiler" >&5
19142 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19143 if test "${bakefile_cv_cxx_compiler___xlC__+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 __xlC__
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___xlC__=yes
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 bakefile_cv_cxx_compiler___xlC__=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___xlC__" >&5
19196 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19197 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19198 :; XLCXX=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
19212 IRIX*)
19213
19214
19215 ac_ext=cpp
19216 ac_cpp='$CXXCPP $CPPFLAGS'
19217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19220
19221 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19222 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19223 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 else
19226 cat >conftest.$ac_ext <<_ACEOF
19227 /* confdefs.h. */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232
19233 int
19234 main ()
19235 {
19236
19237 #ifndef _SGI_COMPILER_VERSION
19238 choke me
19239 #endif
19240
19241 ;
19242 return 0;
19243 }
19244 _ACEOF
19245 rm -f conftest.$ac_objext
19246 if { (ac_try="$ac_compile"
19247 case "(($ac_try" in
19248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19249 *) ac_try_echo=$ac_try;;
19250 esac
19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19252 (eval "$ac_compile") 2>conftest.er1
19253 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } && {
19259 test -z "$ac_cxx_werror_flag" ||
19260 test ! -s conftest.err
19261 } && test -s conftest.$ac_objext; then
19262 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19263 else
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19266
19267 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19268
19269 fi
19270
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272
19273
19274 fi
19275 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19276 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19277 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19278 :; SGICXX=yes
19279 else
19280 :;
19281 fi
19282 ac_ext=c
19283 ac_cpp='$CPP $CPPFLAGS'
19284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19287
19288
19289
19290 ;;
19291
19292 Linux*)
19293
19294
19295 ac_ext=cpp
19296 ac_cpp='$CXXCPP $CPPFLAGS'
19297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19300
19301 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19302 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19303 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312
19313 int
19314 main ()
19315 {
19316
19317 #ifndef __SUNPRO_CC
19318 choke me
19319 #endif
19320
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext
19326 if { (ac_try="$ac_compile"
19327 case "(($ac_try" in
19328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19329 *) ac_try_echo=$ac_try;;
19330 esac
19331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19332 (eval "$ac_compile") 2>conftest.er1
19333 ac_status=$?
19334 grep -v '^ *+' conftest.er1 >conftest.err
19335 rm -f conftest.er1
19336 cat conftest.err >&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); } && {
19339 test -z "$ac_cxx_werror_flag" ||
19340 test ! -s conftest.err
19341 } && test -s conftest.$ac_objext; then
19342 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19343 else
19344 echo "$as_me: failed program was:" >&5
19345 sed 's/^/| /' conftest.$ac_ext >&5
19346
19347 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19348
19349 fi
19350
19351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19352
19353
19354 fi
19355 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19356 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19357 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19358 :; SUNCXX=yes
19359 else
19360 :;
19361 fi
19362 ac_ext=c
19363 ac_cpp='$CPP $CPPFLAGS'
19364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19367
19368
19369
19370 ;;
19371
19372 HP-UX*)
19373
19374
19375 ac_ext=cpp
19376 ac_cpp='$CXXCPP $CPPFLAGS'
19377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19380
19381 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19382 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19383 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 else
19386 cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h. */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h. */
19392
19393 int
19394 main ()
19395 {
19396
19397 #ifndef __HP_aCC
19398 choke me
19399 #endif
19400
19401 ;
19402 return 0;
19403 }
19404 _ACEOF
19405 rm -f conftest.$ac_objext
19406 if { (ac_try="$ac_compile"
19407 case "(($ac_try" in
19408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19409 *) ac_try_echo=$ac_try;;
19410 esac
19411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19412 (eval "$ac_compile") 2>conftest.er1
19413 ac_status=$?
19414 grep -v '^ *+' conftest.er1 >conftest.err
19415 rm -f conftest.er1
19416 cat conftest.err >&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } && {
19419 test -z "$ac_cxx_werror_flag" ||
19420 test ! -s conftest.err
19421 } && test -s conftest.$ac_objext; then
19422 bakefile_cv_cxx_compiler___HP_aCC=yes
19423 else
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.$ac_ext >&5
19426
19427 bakefile_cv_cxx_compiler___HP_aCC=no
19428
19429 fi
19430
19431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19432
19433
19434 fi
19435 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19436 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19437 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19438 :; HPCXX=yes
19439 else
19440 :;
19441 fi
19442 ac_ext=c
19443 ac_cpp='$CPP $CPPFLAGS'
19444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19447
19448
19449
19450 ;;
19451
19452 OSF1)
19453
19454
19455 ac_ext=cpp
19456 ac_cpp='$CXXCPP $CPPFLAGS'
19457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460
19461 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19462 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19463 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 else
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472
19473 int
19474 main ()
19475 {
19476
19477 #ifndef __DECCXX
19478 choke me
19479 #endif
19480
19481 ;
19482 return 0;
19483 }
19484 _ACEOF
19485 rm -f conftest.$ac_objext
19486 if { (ac_try="$ac_compile"
19487 case "(($ac_try" in
19488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19489 *) ac_try_echo=$ac_try;;
19490 esac
19491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19492 (eval "$ac_compile") 2>conftest.er1
19493 ac_status=$?
19494 grep -v '^ *+' conftest.er1 >conftest.err
19495 rm -f conftest.er1
19496 cat conftest.err >&5
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); } && {
19499 test -z "$ac_cxx_werror_flag" ||
19500 test ! -s conftest.err
19501 } && test -s conftest.$ac_objext; then
19502 bakefile_cv_cxx_compiler___DECCXX=yes
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 bakefile_cv_cxx_compiler___DECCXX=no
19508
19509 fi
19510
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512
19513
19514 fi
19515 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19516 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19517 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19518 :; COMPAQCXX=yes
19519 else
19520 :;
19521 fi
19522 ac_ext=c
19523 ac_cpp='$CPP $CPPFLAGS'
19524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19527
19528
19529
19530 ;;
19531
19532 SunOS)
19533
19534
19535 ac_ext=cpp
19536 ac_cpp='$CXXCPP $CPPFLAGS'
19537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19540
19541 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19542 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19543 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19545 else
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552
19553 int
19554 main ()
19555 {
19556
19557 #ifndef __SUNPRO_CC
19558 choke me
19559 #endif
19560
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 rm -f conftest.$ac_objext
19566 if { (ac_try="$ac_compile"
19567 case "(($ac_try" in
19568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19569 *) ac_try_echo=$ac_try;;
19570 esac
19571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19572 (eval "$ac_compile") 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } && {
19579 test -z "$ac_cxx_werror_flag" ||
19580 test ! -s conftest.err
19581 } && test -s conftest.$ac_objext; then
19582 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19583 else
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.$ac_ext >&5
19586
19587 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19588
19589 fi
19590
19591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19592
19593
19594 fi
19595 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19596 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19597 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19598 :; SUNCXX=yes
19599 else
19600 :;
19601 fi
19602 ac_ext=c
19603 ac_cpp='$CPP $CPPFLAGS'
19604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19607
19608
19609
19610 ;;
19611 esac
19612 fi
19613
19614
19615
19616 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19617 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19618 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19619 { (exit 1); exit 1; }; }
19620 fi
19621
19622 if test -n "$ac_tool_prefix"; then
19623 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19624 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 else
19630 if test -n "$RANLIB"; then
19631 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
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 RANLIB=$ac_cv_prog_RANLIB
19651 if test -n "$RANLIB"; then
19652 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19653 echo "${ECHO_T}$RANLIB" >&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_RANLIB"; then
19662 ac_ct_RANLIB=$RANLIB
19663 # Extract the first word of "ranlib", so it can be a program name with args.
19664 set dummy ranlib; 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_RANLIB+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670 if test -n "$ac_ct_RANLIB"; then
19671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19691 if test -n "$ac_ct_RANLIB"; then
19692 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19693 echo "${ECHO_T}$ac_ct_RANLIB" >&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_RANLIB" = x; then
19700 RANLIB=":"
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 RANLIB=$ac_ct_RANLIB
19713 fi
19714 else
19715 RANLIB="$ac_cv_prog_RANLIB"
19716 fi
19717
19718
19719 if test "x$SUNCXX" != xyes; then
19720 if test -n "$ac_tool_prefix"; then
19721 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19722 set dummy ${ac_tool_prefix}ar; ac_word=$2
19723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19725 if test "${ac_cv_prog_AR+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 if test -n "$AR"; then
19729 ac_cv_prog_AR="$AR" # Let the user override the test.
19730 else
19731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19732 for as_dir in $PATH
19733 do
19734 IFS=$as_save_IFS
19735 test -z "$as_dir" && as_dir=.
19736 for ac_exec_ext in '' $ac_executable_extensions; do
19737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19738 ac_cv_prog_AR="${ac_tool_prefix}ar"
19739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19740 break 2
19741 fi
19742 done
19743 done
19744 IFS=$as_save_IFS
19745
19746 fi
19747 fi
19748 AR=$ac_cv_prog_AR
19749 if test -n "$AR"; then
19750 { echo "$as_me:$LINENO: result: $AR" >&5
19751 echo "${ECHO_T}$AR" >&6; }
19752 else
19753 { echo "$as_me:$LINENO: result: no" >&5
19754 echo "${ECHO_T}no" >&6; }
19755 fi
19756
19757
19758 fi
19759 if test -z "$ac_cv_prog_AR"; then
19760 ac_ct_AR=$AR
19761 # Extract the first word of "ar", so it can be a program name with args.
19762 set dummy ar; ac_word=$2
19763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19765 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 else
19768 if test -n "$ac_ct_AR"; then
19769 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19770 else
19771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19772 for as_dir in $PATH
19773 do
19774 IFS=$as_save_IFS
19775 test -z "$as_dir" && as_dir=.
19776 for ac_exec_ext in '' $ac_executable_extensions; do
19777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19778 ac_cv_prog_ac_ct_AR="ar"
19779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19780 break 2
19781 fi
19782 done
19783 done
19784 IFS=$as_save_IFS
19785
19786 fi
19787 fi
19788 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19789 if test -n "$ac_ct_AR"; then
19790 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19791 echo "${ECHO_T}$ac_ct_AR" >&6; }
19792 else
19793 { echo "$as_me:$LINENO: result: no" >&5
19794 echo "${ECHO_T}no" >&6; }
19795 fi
19796
19797 if test "x$ac_ct_AR" = x; then
19798 AR=""
19799 else
19800 case $cross_compiling:$ac_tool_warned in
19801 yes:)
19802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19803 whose name does not start with the host triplet. If you think this
19804 configuration is useful to you, please write to autoconf@gnu.org." >&5
19805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19806 whose name does not start with the host triplet. If you think this
19807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19808 ac_tool_warned=yes ;;
19809 esac
19810 AR=$ac_ct_AR
19811 fi
19812 else
19813 AR="$ac_cv_prog_AR"
19814 fi
19815
19816 if test "x$AR" = "x" ; then
19817 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19818 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19819 { (exit 1); exit 1; }; }
19820 fi
19821 fi
19822
19823 # Find a good install program. We prefer a C program (faster),
19824 # so one script is as good as another. But avoid the broken or
19825 # incompatible versions:
19826 # SysV /etc/install, /usr/sbin/install
19827 # SunOS /usr/etc/install
19828 # IRIX /sbin/install
19829 # AIX /bin/install
19830 # AmigaOS /C/install, which installs bootblocks on floppy discs
19831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19834 # OS/2's system install, which has a completely different semantic
19835 # ./install, which can be erroneously created by make from ./install.sh.
19836 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19837 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19838 if test -z "$INSTALL"; then
19839 if test "${ac_cv_path_install+set}" = set; then
19840 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 else
19842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19843 for as_dir in $PATH
19844 do
19845 IFS=$as_save_IFS
19846 test -z "$as_dir" && as_dir=.
19847 # Account for people who put trailing slashes in PATH elements.
19848 case $as_dir/ in
19849 ./ | .// | /cC/* | \
19850 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19851 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19852 /usr/ucb/* ) ;;
19853 *)
19854 # OSF1 and SCO ODT 3.0 have their own names for install.
19855 # Don't use installbsd from OSF since it installs stuff as root
19856 # by default.
19857 for ac_prog in ginstall scoinst install; do
19858 for ac_exec_ext in '' $ac_executable_extensions; do
19859 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19860 if test $ac_prog = install &&
19861 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19862 # AIX install. It has an incompatible calling convention.
19863 :
19864 elif test $ac_prog = install &&
19865 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19866 # program-specific install script used by HP pwplus--don't use.
19867 :
19868 else
19869 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19870 break 3
19871 fi
19872 fi
19873 done
19874 done
19875 ;;
19876 esac
19877 done
19878 IFS=$as_save_IFS
19879
19880
19881 fi
19882 if test "${ac_cv_path_install+set}" = set; then
19883 INSTALL=$ac_cv_path_install
19884 else
19885 # As a last resort, use the slow shell script. Don't cache a
19886 # value for INSTALL within a source directory, because that will
19887 # break other packages using the cache if that directory is
19888 # removed, or if the value is a relative name.
19889 INSTALL=$ac_install_sh
19890 fi
19891 fi
19892 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19893 echo "${ECHO_T}$INSTALL" >&6; }
19894
19895 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19896 # It thinks the first close brace ends the variable substitution.
19897 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19898
19899 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19900
19901 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19902
19903
19904 case ${INSTALL} in
19905 /* ) # Absolute
19906 ;;
19907 ?:* ) # Drive letter, considered as absolute.
19908 ;;
19909 *)
19910 INSTALL=`pwd`/${INSTALL} ;;
19911 esac
19912
19913
19914 case "${host}" in
19915
19916 *-*-darwin* )
19917 INSTALL_PROGRAM="cp -fp"
19918 INSTALL_DATA="cp -fp"
19919 ;;
19920 *)
19921 ;;
19922 esac
19923
19924 if test -n "$ac_tool_prefix"; then
19925 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19926 set dummy ${ac_tool_prefix}strip; ac_word=$2
19927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19929 if test "${ac_cv_prog_STRIP+set}" = set; then
19930 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 else
19932 if test -n "$STRIP"; then
19933 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19934 else
19935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19936 for as_dir in $PATH
19937 do
19938 IFS=$as_save_IFS
19939 test -z "$as_dir" && as_dir=.
19940 for ac_exec_ext in '' $ac_executable_extensions; do
19941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19942 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19944 break 2
19945 fi
19946 done
19947 done
19948 IFS=$as_save_IFS
19949
19950 fi
19951 fi
19952 STRIP=$ac_cv_prog_STRIP
19953 if test -n "$STRIP"; then
19954 { echo "$as_me:$LINENO: result: $STRIP" >&5
19955 echo "${ECHO_T}$STRIP" >&6; }
19956 else
19957 { echo "$as_me:$LINENO: result: no" >&5
19958 echo "${ECHO_T}no" >&6; }
19959 fi
19960
19961
19962 fi
19963 if test -z "$ac_cv_prog_STRIP"; then
19964 ac_ct_STRIP=$STRIP
19965 # Extract the first word of "strip", so it can be a program name with args.
19966 set dummy strip; ac_word=$2
19967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19969 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19970 echo $ECHO_N "(cached) $ECHO_C" >&6
19971 else
19972 if test -n "$ac_ct_STRIP"; then
19973 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19974 else
19975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19976 for as_dir in $PATH
19977 do
19978 IFS=$as_save_IFS
19979 test -z "$as_dir" && as_dir=.
19980 for ac_exec_ext in '' $ac_executable_extensions; do
19981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19982 ac_cv_prog_ac_ct_STRIP="strip"
19983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19984 break 2
19985 fi
19986 done
19987 done
19988 IFS=$as_save_IFS
19989
19990 fi
19991 fi
19992 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19993 if test -n "$ac_ct_STRIP"; then
19994 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19995 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19996 else
19997 { echo "$as_me:$LINENO: result: no" >&5
19998 echo "${ECHO_T}no" >&6; }
19999 fi
20000
20001 if test "x$ac_ct_STRIP" = x; then
20002 STRIP="true"
20003 else
20004 case $cross_compiling:$ac_tool_warned in
20005 yes:)
20006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20007 whose name does not start with the host triplet. If you think this
20008 configuration is useful to you, please write to autoconf@gnu.org." >&5
20009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20010 whose name does not start with the host triplet. If you think this
20011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20012 ac_tool_warned=yes ;;
20013 esac
20014 STRIP=$ac_ct_STRIP
20015 fi
20016 else
20017 STRIP="$ac_cv_prog_STRIP"
20018 fi
20019
20020
20021 if test "$wxUSE_WINE" = "yes"; then
20022 if test -n "$ac_tool_prefix"; then
20023 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
20024 set dummy ${ac_tool_prefix}wrc; ac_word=$2
20025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20027 if test "${ac_cv_prog_WINDRES+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 else
20030 if test -n "$WINDRES"; then
20031 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20032 else
20033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20034 for as_dir in $PATH
20035 do
20036 IFS=$as_save_IFS
20037 test -z "$as_dir" && as_dir=.
20038 for ac_exec_ext in '' $ac_executable_extensions; do
20039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20040 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
20041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20042 break 2
20043 fi
20044 done
20045 done
20046 IFS=$as_save_IFS
20047
20048 fi
20049 fi
20050 WINDRES=$ac_cv_prog_WINDRES
20051 if test -n "$WINDRES"; then
20052 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20053 echo "${ECHO_T}$WINDRES" >&6; }
20054 else
20055 { echo "$as_me:$LINENO: result: no" >&5
20056 echo "${ECHO_T}no" >&6; }
20057 fi
20058
20059
20060 fi
20061 if test -z "$ac_cv_prog_WINDRES"; then
20062 ac_ct_WINDRES=$WINDRES
20063 # Extract the first word of "wrc", so it can be a program name with args.
20064 set dummy wrc; ac_word=$2
20065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20067 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20068 echo $ECHO_N "(cached) $ECHO_C" >&6
20069 else
20070 if test -n "$ac_ct_WINDRES"; then
20071 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20072 else
20073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20074 for as_dir in $PATH
20075 do
20076 IFS=$as_save_IFS
20077 test -z "$as_dir" && as_dir=.
20078 for ac_exec_ext in '' $ac_executable_extensions; do
20079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20080 ac_cv_prog_ac_ct_WINDRES="wrc"
20081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20082 break 2
20083 fi
20084 done
20085 done
20086 IFS=$as_save_IFS
20087
20088 fi
20089 fi
20090 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20091 if test -n "$ac_ct_WINDRES"; then
20092 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20093 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20094 else
20095 { echo "$as_me:$LINENO: result: no" >&5
20096 echo "${ECHO_T}no" >&6; }
20097 fi
20098
20099 if test "x$ac_ct_WINDRES" = x; then
20100 WINDRES=""
20101 else
20102 case $cross_compiling:$ac_tool_warned in
20103 yes:)
20104 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20105 whose name does not start with the host triplet. If you think this
20106 configuration is useful to you, please write to autoconf@gnu.org." >&5
20107 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20108 whose name does not start with the host triplet. If you think this
20109 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20110 ac_tool_warned=yes ;;
20111 esac
20112 WINDRES=$ac_ct_WINDRES
20113 fi
20114 else
20115 WINDRES="$ac_cv_prog_WINDRES"
20116 fi
20117
20118 RESCOMP="$WINDRES"
20119 else
20120 case "${host}" in
20121 *-*-cygwin* | *-*-mingw32* )
20122 if test -n "$ac_tool_prefix"; then
20123 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20124 set dummy ${ac_tool_prefix}windres; ac_word=$2
20125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20127 if test "${ac_cv_prog_WINDRES+set}" = set; then
20128 echo $ECHO_N "(cached) $ECHO_C" >&6
20129 else
20130 if test -n "$WINDRES"; then
20131 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20132 else
20133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20134 for as_dir in $PATH
20135 do
20136 IFS=$as_save_IFS
20137 test -z "$as_dir" && as_dir=.
20138 for ac_exec_ext in '' $ac_executable_extensions; do
20139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20140 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20142 break 2
20143 fi
20144 done
20145 done
20146 IFS=$as_save_IFS
20147
20148 fi
20149 fi
20150 WINDRES=$ac_cv_prog_WINDRES
20151 if test -n "$WINDRES"; then
20152 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20153 echo "${ECHO_T}$WINDRES" >&6; }
20154 else
20155 { echo "$as_me:$LINENO: result: no" >&5
20156 echo "${ECHO_T}no" >&6; }
20157 fi
20158
20159
20160 fi
20161 if test -z "$ac_cv_prog_WINDRES"; then
20162 ac_ct_WINDRES=$WINDRES
20163 # Extract the first word of "windres", so it can be a program name with args.
20164 set dummy windres; ac_word=$2
20165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20167 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 if test -n "$ac_ct_WINDRES"; then
20171 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20172 else
20173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20174 for as_dir in $PATH
20175 do
20176 IFS=$as_save_IFS
20177 test -z "$as_dir" && as_dir=.
20178 for ac_exec_ext in '' $ac_executable_extensions; do
20179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20180 ac_cv_prog_ac_ct_WINDRES="windres"
20181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20182 break 2
20183 fi
20184 done
20185 done
20186 IFS=$as_save_IFS
20187
20188 fi
20189 fi
20190 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20191 if test -n "$ac_ct_WINDRES"; then
20192 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20193 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20194 else
20195 { echo "$as_me:$LINENO: result: no" >&5
20196 echo "${ECHO_T}no" >&6; }
20197 fi
20198
20199 if test "x$ac_ct_WINDRES" = x; then
20200 WINDRES=""
20201 else
20202 case $cross_compiling:$ac_tool_warned in
20203 yes:)
20204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20205 whose name does not start with the host triplet. If you think this
20206 configuration is useful to you, please write to autoconf@gnu.org." >&5
20207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20208 whose name does not start with the host triplet. If you think this
20209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20210 ac_tool_warned=yes ;;
20211 esac
20212 WINDRES=$ac_ct_WINDRES
20213 fi
20214 else
20215 WINDRES="$ac_cv_prog_WINDRES"
20216 fi
20217
20218 RESCOMP="$WINDRES"
20219 if test -n "$ac_tool_prefix"; then
20220 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20221 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20224 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 if test -n "$DLLTOOL"; then
20228 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20229 else
20230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20231 for as_dir in $PATH
20232 do
20233 IFS=$as_save_IFS
20234 test -z "$as_dir" && as_dir=.
20235 for ac_exec_ext in '' $ac_executable_extensions; do
20236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20237 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20239 break 2
20240 fi
20241 done
20242 done
20243 IFS=$as_save_IFS
20244
20245 fi
20246 fi
20247 DLLTOOL=$ac_cv_prog_DLLTOOL
20248 if test -n "$DLLTOOL"; then
20249 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20250 echo "${ECHO_T}$DLLTOOL" >&6; }
20251 else
20252 { echo "$as_me:$LINENO: result: no" >&5
20253 echo "${ECHO_T}no" >&6; }
20254 fi
20255
20256
20257 fi
20258 if test -z "$ac_cv_prog_DLLTOOL"; then
20259 ac_ct_DLLTOOL=$DLLTOOL
20260 # Extract the first word of "dlltool", so it can be a program name with args.
20261 set dummy dlltool; ac_word=$2
20262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20264 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20265 echo $ECHO_N "(cached) $ECHO_C" >&6
20266 else
20267 if test -n "$ac_ct_DLLTOOL"; then
20268 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20269 else
20270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20271 for as_dir in $PATH
20272 do
20273 IFS=$as_save_IFS
20274 test -z "$as_dir" && as_dir=.
20275 for ac_exec_ext in '' $ac_executable_extensions; do
20276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20277 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20279 break 2
20280 fi
20281 done
20282 done
20283 IFS=$as_save_IFS
20284
20285 fi
20286 fi
20287 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20288 if test -n "$ac_ct_DLLTOOL"; then
20289 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20290 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20291 else
20292 { echo "$as_me:$LINENO: result: no" >&5
20293 echo "${ECHO_T}no" >&6; }
20294 fi
20295
20296 if test "x$ac_ct_DLLTOOL" = x; then
20297 DLLTOOL=""
20298 else
20299 case $cross_compiling:$ac_tool_warned in
20300 yes:)
20301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20302 whose name does not start with the host triplet. If you think this
20303 configuration is useful to you, please write to autoconf@gnu.org." >&5
20304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20305 whose name does not start with the host triplet. If you think this
20306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20307 ac_tool_warned=yes ;;
20308 esac
20309 DLLTOOL=$ac_ct_DLLTOOL
20310 fi
20311 else
20312 DLLTOOL="$ac_cv_prog_DLLTOOL"
20313 fi
20314
20315 ;;
20316 esac
20317 fi
20318
20319 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20320 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20321 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 else
20324
20325 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20326 $EGREP -s GNU > /dev/null); then
20327 wx_cv_prog_makeisgnu="yes"
20328 else
20329 wx_cv_prog_makeisgnu="no"
20330 fi
20331
20332 fi
20333 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20334 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20335
20336 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20337 IF_GNU_MAKE=""
20338 else
20339 IF_GNU_MAKE="#"
20340 fi
20341
20342
20343
20344 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20345 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20346 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20347 if test "${wx_cv_prog_makevpath+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 else
20350
20351 cat - << EOF > confMake
20352 check : file
20353 cp \$? \$@
20354 cp \$? final_file
20355 EOF
20356
20357 if test ! -d sub ; then
20358 mkdir sub
20359 fi
20360 echo dummy > sub/file
20361 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20362 RESULT=$?
20363 rm -f sub/file check final_file confMake
20364 rmdir sub
20365 if test "$RESULT" = 0; then
20366 wx_cv_prog_makevpath="yes"
20367 else
20368 wx_cv_prog_makevpath="no"
20369 fi
20370
20371 fi
20372 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20373 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20374
20375 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20376 { { echo "$as_me:$LINENO: error:
20377 You need a make-utility that is able to use the variable
20378 VPATH correctly.
20379 If your version of make does not support VPATH correctly,
20380 please install GNU-make (possibly as gmake), and start
20381 configure with the following command:
20382 export MAKE=gmake; ./configure for sh-type shells
20383 setenv MAKE gmake; ./configure for csh-type shells
20384 Also please do remember to use gmake in this case every time
20385 you are trying to compile.
20386 " >&5
20387 echo "$as_me: error:
20388 You need a make-utility that is able to use the variable
20389 VPATH correctly.
20390 If your version of make does not support VPATH correctly,
20391 please install GNU-make (possibly as gmake), and start
20392 configure with the following command:
20393 export MAKE=gmake; ./configure for sh-type shells
20394 setenv MAKE gmake; ./configure for csh-type shells
20395 Also please do remember to use gmake in this case every time
20396 you are trying to compile.
20397 " >&2;}
20398 { (exit 1); exit 1; }; }
20399 fi fi
20400 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20401 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20402 LN_S=$as_ln_s
20403 if test "$LN_S" = "ln -s"; then
20404 { echo "$as_me:$LINENO: result: yes" >&5
20405 echo "${ECHO_T}yes" >&6; }
20406 else
20407 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20408 echo "${ECHO_T}no, using $LN_S" >&6; }
20409 fi
20410
20411
20412
20413
20414 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20415 CXXFLAGS="-qunique $CXXFLAGS"
20416 fi
20417
20418 case "${host}" in
20419 powerpc-*-darwin* )
20420 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20421 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20422 cat >conftest.$ac_ext <<_ACEOF
20423 /* confdefs.h. */
20424 _ACEOF
20425 cat confdefs.h >>conftest.$ac_ext
20426 cat >>conftest.$ac_ext <<_ACEOF
20427 /* end confdefs.h. */
20428
20429 int
20430 main ()
20431 {
20432 #ifndef __POWERPC__
20433 choke me for lack of PowerPC
20434 #endif
20435
20436 ;
20437 return 0;
20438 }
20439 _ACEOF
20440 rm -f conftest.$ac_objext
20441 if { (ac_try="$ac_compile"
20442 case "(($ac_try" in
20443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20444 *) ac_try_echo=$ac_try;;
20445 esac
20446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20447 (eval "$ac_compile") 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && {
20454 test -z "$ac_c_werror_flag" ||
20455 test ! -s conftest.err
20456 } && test -s conftest.$ac_objext; then
20457 { echo "$as_me:$LINENO: result: yes" >&5
20458 echo "${ECHO_T}yes" >&6; }
20459 else
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20462
20463 { echo "$as_me:$LINENO: result: no" >&5
20464 echo "${ECHO_T}no" >&6; }
20465 cat >>confdefs.h <<\_ACEOF
20466 #define __POWERPC__ 1
20467 _ACEOF
20468
20469
20470 fi
20471
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 ;;
20474 esac
20475
20476 case "${host}" in
20477 *-*-darwin* )
20478 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20479 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 #include <CoreFoundation/CFBase.h>
20487
20488 int
20489 main ()
20490 {
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20501 esac
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20504 ac_status=$?
20505 grep -v '^ *+' conftest.er1 >conftest.err
20506 rm -f conftest.er1
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 { echo "$as_me:$LINENO: result: yes" >&5
20514 echo "${ECHO_T}yes" >&6; }
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20518
20519 { echo "$as_me:$LINENO: result: no" >&5
20520 echo "${ECHO_T}no" >&6; }
20521 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20522 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20523 cat >conftest.$ac_ext <<_ACEOF
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 #define __CF_USE_FRAMEWORK_INCLUDES__
20530 #include <CoreFoundation/CFBase.h>
20531
20532 int
20533 main ()
20534 {
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext
20541 if { (ac_try="$ac_compile"
20542 case "(($ac_try" in
20543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20544 *) ac_try_echo=$ac_try;;
20545 esac
20546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20547 (eval "$ac_compile") 2>conftest.er1
20548 ac_status=$?
20549 grep -v '^ *+' conftest.er1 >conftest.err
20550 rm -f conftest.er1
20551 cat conftest.err >&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } && {
20554 test -z "$ac_c_werror_flag" ||
20555 test ! -s conftest.err
20556 } && test -s conftest.$ac_objext; then
20557 { echo "$as_me:$LINENO: result: yes" >&5
20558 echo "${ECHO_T}yes" >&6; }
20559 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20560 else
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20565 See \`config.log' for more details." >&5
20566 echo "$as_me: error: no. CoreFoundation not available.
20567 See \`config.log' for more details." >&2;}
20568 { (exit 1); exit 1; }; }
20569
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573
20574
20575 fi
20576
20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 ;;
20579 esac
20580
20581 wants_win32=0
20582 doesnt_want_win32=0
20583 case "${host}" in
20584 *-*-cygwin*)
20585 if test "$wxUSE_MSW" = 1 ; then
20586 wants_win32=1
20587 else
20588 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20589 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20590 if test "${wx_cv_nocygwin+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20592 else
20593
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600
20601 int
20602 main ()
20603 {
20604
20605 #ifdef __MINGW32__
20606 choke me
20607 #endif
20608
20609 ;
20610 return 0;
20611 }
20612 _ACEOF
20613 rm -f conftest.$ac_objext
20614 if { (ac_try="$ac_compile"
20615 case "(($ac_try" in
20616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20617 *) ac_try_echo=$ac_try;;
20618 esac
20619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20620 (eval "$ac_compile") 2>conftest.er1
20621 ac_status=$?
20622 grep -v '^ *+' conftest.er1 >conftest.err
20623 rm -f conftest.er1
20624 cat conftest.err >&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); } && {
20627 test -z "$ac_c_werror_flag" ||
20628 test ! -s conftest.err
20629 } && test -s conftest.$ac_objext; then
20630 wx_cv_nocygwin=no
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 wx_cv_nocygwin=yes
20636
20637 fi
20638
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640
20641
20642 fi
20643 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20644 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20645
20646 if test "$wx_cv_nocygwin" = "yes"; then
20647 wants_win32=1
20648 else
20649 doesnt_want_win32=1
20650 fi
20651 fi
20652 if test "$wants_win32" = 1 ; then
20653 BAKEFILE_FORCE_PLATFORM=win32
20654 fi
20655 ;;
20656 *-*-mingw*)
20657 wants_win32=1
20658 ;;
20659 esac
20660
20661 if test "$wxUSE_WINE" = "yes"; then
20662 wants_win32=1
20663 LDFLAGS_GUI="-mwindows"
20664 fi
20665
20666 if test "$wants_win32" = 1 ; then
20667 USE_UNIX=0
20668 USE_WIN32=1
20669 cat >>confdefs.h <<\_ACEOF
20670 #define __WIN32__ 1
20671 _ACEOF
20672
20673 cat >>confdefs.h <<\_ACEOF
20674 #define __WIN95__ 1
20675 _ACEOF
20676
20677 cat >>confdefs.h <<\_ACEOF
20678 #define __WINDOWS__ 1
20679 _ACEOF
20680
20681 cat >>confdefs.h <<\_ACEOF
20682 #define __GNUWIN32__ 1
20683 _ACEOF
20684
20685 cat >>confdefs.h <<\_ACEOF
20686 #define STRICT 1
20687 _ACEOF
20688
20689 fi
20690 if test "$doesnt_want_win32" = 1 ; then
20691 USE_UNIX=1
20692 USE_WIN32=0
20693 fi
20694
20695 if test "$USE_UNIX" = 1 ; then
20696 wxUSE_UNIX=yes
20697 cat >>confdefs.h <<\_ACEOF
20698 #define __UNIX__ 1
20699 _ACEOF
20700
20701 fi
20702
20703 case "${host}" in
20704 *-pc-os2_emx | *-pc-os2-emx )
20705 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20706 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20707 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20708 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20709 echo $ECHO_N "(cached) $ECHO_C" >&6
20710 else
20711 ac_check_lib_save_LIBS=$LIBS
20712 LIBS="-lcExt $LIBS"
20713 cat >conftest.$ac_ext <<_ACEOF
20714 /* confdefs.h. */
20715 _ACEOF
20716 cat confdefs.h >>conftest.$ac_ext
20717 cat >>conftest.$ac_ext <<_ACEOF
20718 /* end confdefs.h. */
20719
20720 /* Override any GCC internal prototype to avoid an error.
20721 Use char because int might match the return type of a GCC
20722 builtin and then its argument prototype would still apply. */
20723 #ifdef __cplusplus
20724 extern "C"
20725 #endif
20726 char drand48 ();
20727 int
20728 main ()
20729 {
20730 return drand48 ();
20731 ;
20732 return 0;
20733 }
20734 _ACEOF
20735 rm -f conftest.$ac_objext conftest$ac_exeext
20736 if { (ac_try="$ac_link"
20737 case "(($ac_try" in
20738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20739 *) ac_try_echo=$ac_try;;
20740 esac
20741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20742 (eval "$ac_link") 2>conftest.er1
20743 ac_status=$?
20744 grep -v '^ *+' conftest.er1 >conftest.err
20745 rm -f conftest.er1
20746 cat conftest.err >&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } && {
20749 test -z "$ac_c_werror_flag" ||
20750 test ! -s conftest.err
20751 } && test -s conftest$ac_exeext &&
20752 $as_test_x conftest$ac_exeext; then
20753 ac_cv_lib_cExt_drand48=yes
20754 else
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20757
20758 ac_cv_lib_cExt_drand48=no
20759 fi
20760
20761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20762 conftest$ac_exeext conftest.$ac_ext
20763 LIBS=$ac_check_lib_save_LIBS
20764 fi
20765 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20766 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20767 if test $ac_cv_lib_cExt_drand48 = yes; then
20768 LIBS="$LIBS -lcExt"
20769 fi
20770
20771 else
20772 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20773 fi
20774 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20775 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20776 if test "${wx_cv_gccversion+set}" = set; then
20777 echo $ECHO_N "(cached) $ECHO_C" >&6
20778 else
20779
20780 if test "$cross_compiling" = yes; then
20781 wx_cv_gccversion="EMX2"
20782
20783 else
20784 cat >conftest.$ac_ext <<_ACEOF
20785 /* confdefs.h. */
20786 _ACEOF
20787 cat confdefs.h >>conftest.$ac_ext
20788 cat >>conftest.$ac_ext <<_ACEOF
20789 /* end confdefs.h. */
20790
20791 #include <stdio.h>
20792
20793 int main()
20794 {
20795 FILE *f=fopen("conftestval", "w");
20796 if (!f) exit(1);
20797 fprintf(f,
20798 #if (__GNUC__ < 3)
20799 "EMX2"
20800 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20801 "EMX3"
20802 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20803 "Innotek5"
20804 #else
20805 "Innotek6"
20806 #endif
20807 );
20808 exit(0);
20809 }
20810
20811 _ACEOF
20812 rm -f conftest$ac_exeext
20813 if { (ac_try="$ac_link"
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_link") 2>&5
20820 ac_status=$?
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20823 { (case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20826 esac
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_try") 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 wx_cv_gccversion=`cat conftestval`
20833 else
20834 echo "$as_me: program exited with status $ac_status" >&5
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 ( exit $ac_status )
20839 wx_cv_gccversion="EMX2"
20840 fi
20841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20842 fi
20843
20844
20845
20846 fi
20847 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20848 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20849 if test "$wx_cv_gccversion" = "EMX2"; then
20850 LIBS="$LIBS -lstdcpp"
20851 LDFLAGS="$LDFLAGS -Zsysv-signals"
20852 else
20853 if test "$wx_cv_gccversion" = "EMX3"; then
20854 LIBS="$LIBS -lstdcxx -lgcc"
20855 LDFLAGS="$LDFLAGS -Zsysv-signals"
20856 else
20857 LIBS="$LIBS -lstdc++"
20858 fi
20859 fi
20860 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20861 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20862 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20863 wxUSE_OMF=yes
20864 enable_omf=yes
20865 fi
20866 ;;
20867 *)
20868
20869 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20870 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20871 if test "${ac_cv_string_strcasecmp+set}" = set; then
20872 echo $ECHO_N "(cached) $ECHO_C" >&6
20873 else
20874
20875 cat >conftest.$ac_ext <<_ACEOF
20876 /* confdefs.h. */
20877 _ACEOF
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881
20882 #include <string.h>
20883
20884 int
20885 main ()
20886 {
20887
20888 strcasecmp("foo", "bar");
20889
20890 ;
20891 return 0;
20892 }
20893 _ACEOF
20894 rm -f conftest.$ac_objext conftest$ac_exeext
20895 if { (ac_try="$ac_link"
20896 case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20899 esac
20900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20901 (eval "$ac_link") 2>conftest.er1
20902 ac_status=$?
20903 grep -v '^ *+' conftest.er1 >conftest.err
20904 rm -f conftest.er1
20905 cat conftest.err >&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); } && {
20908 test -z "$ac_c_werror_flag" ||
20909 test ! -s conftest.err
20910 } && test -s conftest$ac_exeext &&
20911 $as_test_x conftest$ac_exeext; then
20912 ac_cv_string_strcasecmp=yes
20913 else
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20916
20917 ac_cv_string_strcasecmp=no
20918
20919 fi
20920
20921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20922 conftest$ac_exeext conftest.$ac_ext
20923
20924 fi
20925 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20926 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20927
20928 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_STRCASECMP_IN_STRING_H 1
20931 _ACEOF
20932
20933 else
20934 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20935 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20936 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20937 echo $ECHO_N "(cached) $ECHO_C" >&6
20938 else
20939
20940 cat >conftest.$ac_ext <<_ACEOF
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946
20947 #include <strings.h>
20948
20949 int
20950 main ()
20951 {
20952
20953 strcasecmp("foo", "bar");
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest.$ac_objext conftest$ac_exeext
20960 if { (ac_try="$ac_link"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20964 esac
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_link") 2>conftest.er1
20967 ac_status=$?
20968 grep -v '^ *+' conftest.er1 >conftest.err
20969 rm -f conftest.er1
20970 cat conftest.err >&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest$ac_exeext &&
20976 $as_test_x conftest$ac_exeext; then
20977 ac_cv_strings_strcasecmp=yes
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ac_cv_strings_strcasecmp=no
20983
20984 fi
20985
20986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20987 conftest$ac_exeext conftest.$ac_ext
20988
20989 fi
20990 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20991 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20992
20993 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20994 cat >>confdefs.h <<\_ACEOF
20995 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20996 _ACEOF
20997
20998 else
20999 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
21000 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
21001 { (exit 1); exit 1; }; }
21002 fi
21003 fi
21004
21005 ;;
21006 esac
21007
21008
21009 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21010 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21011 if test "${ac_cv_header_stdc+set}" = set; then
21012 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 else
21014 cat >conftest.$ac_ext <<_ACEOF
21015 /* confdefs.h. */
21016 _ACEOF
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020 #include <stdlib.h>
21021 #include <stdarg.h>
21022 #include <string.h>
21023 #include <float.h>
21024
21025 int
21026 main ()
21027 {
21028
21029 ;
21030 return 0;
21031 }
21032 _ACEOF
21033 rm -f conftest.$ac_objext
21034 if { (ac_try="$ac_compile"
21035 case "(($ac_try" in
21036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21038 esac
21039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21040 (eval "$ac_compile") 2>conftest.er1
21041 ac_status=$?
21042 grep -v '^ *+' conftest.er1 >conftest.err
21043 rm -f conftest.er1
21044 cat conftest.err >&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } && {
21047 test -z "$ac_c_werror_flag" ||
21048 test ! -s conftest.err
21049 } && test -s conftest.$ac_objext; then
21050 ac_cv_header_stdc=yes
21051 else
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21054
21055 ac_cv_header_stdc=no
21056 fi
21057
21058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21059
21060 if test $ac_cv_header_stdc = yes; then
21061 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21062 cat >conftest.$ac_ext <<_ACEOF
21063 /* confdefs.h. */
21064 _ACEOF
21065 cat confdefs.h >>conftest.$ac_ext
21066 cat >>conftest.$ac_ext <<_ACEOF
21067 /* end confdefs.h. */
21068 #include <string.h>
21069
21070 _ACEOF
21071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21072 $EGREP "memchr" >/dev/null 2>&1; then
21073 :
21074 else
21075 ac_cv_header_stdc=no
21076 fi
21077 rm -f conftest*
21078
21079 fi
21080
21081 if test $ac_cv_header_stdc = yes; then
21082 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 <stdlib.h>
21090
21091 _ACEOF
21092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21093 $EGREP "free" >/dev/null 2>&1; then
21094 :
21095 else
21096 ac_cv_header_stdc=no
21097 fi
21098 rm -f conftest*
21099
21100 fi
21101
21102 if test $ac_cv_header_stdc = yes; then
21103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21104 if test "$cross_compiling" = yes; then
21105 :
21106 else
21107 cat >conftest.$ac_ext <<_ACEOF
21108 /* confdefs.h. */
21109 _ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <ctype.h>
21114 #include <stdlib.h>
21115 #if ((' ' & 0x0FF) == 0x020)
21116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21118 #else
21119 # define ISLOWER(c) \
21120 (('a' <= (c) && (c) <= 'i') \
21121 || ('j' <= (c) && (c) <= 'r') \
21122 || ('s' <= (c) && (c) <= 'z'))
21123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21124 #endif
21125
21126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21127 int
21128 main ()
21129 {
21130 int i;
21131 for (i = 0; i < 256; i++)
21132 if (XOR (islower (i), ISLOWER (i))
21133 || toupper (i) != TOUPPER (i))
21134 return 2;
21135 return 0;
21136 }
21137 _ACEOF
21138 rm -f conftest$ac_exeext
21139 if { (ac_try="$ac_link"
21140 case "(($ac_try" in
21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21142 *) ac_try_echo=$ac_try;;
21143 esac
21144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21145 (eval "$ac_link") 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21149 { (case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_try") 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21158 :
21159 else
21160 echo "$as_me: program exited with status $ac_status" >&5
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21163
21164 ( exit $ac_status )
21165 ac_cv_header_stdc=no
21166 fi
21167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21168 fi
21169
21170
21171 fi
21172 fi
21173 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21174 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21175 if test $ac_cv_header_stdc = yes; then
21176
21177 cat >>confdefs.h <<\_ACEOF
21178 #define STDC_HEADERS 1
21179 _ACEOF
21180
21181 fi
21182
21183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21194 inttypes.h stdint.h unistd.h
21195 do
21196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209
21210 #include <$ac_header>
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (ac_try="$ac_compile"
21214 case "(($ac_try" in
21215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21216 *) ac_try_echo=$ac_try;;
21217 esac
21218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21219 (eval "$ac_compile") 2>conftest.er1
21220 ac_status=$?
21221 grep -v '^ *+' conftest.er1 >conftest.err
21222 rm -f conftest.er1
21223 cat conftest.err >&5
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); } && {
21226 test -z "$ac_c_werror_flag" ||
21227 test ! -s conftest.err
21228 } && test -s conftest.$ac_objext; then
21229 eval "$as_ac_Header=yes"
21230 else
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.$ac_ext >&5
21233
21234 eval "$as_ac_Header=no"
21235 fi
21236
21237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21238 fi
21239 ac_res=`eval echo '${'$as_ac_Header'}'`
21240 { echo "$as_me:$LINENO: result: $ac_res" >&5
21241 echo "${ECHO_T}$ac_res" >&6; }
21242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21243 cat >>confdefs.h <<_ACEOF
21244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21245 _ACEOF
21246
21247 fi
21248
21249 done
21250
21251
21252
21253
21254
21255
21256
21257
21258 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21259 do
21260 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21261 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 else
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273
21274 #include <$ac_header>
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (ac_try="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21281 esac
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21284 ac_status=$?
21285 grep -v '^ *+' conftest.er1 >conftest.err
21286 rm -f conftest.er1
21287 cat conftest.err >&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.$ac_objext; then
21293 eval "$as_ac_Header=yes"
21294 else
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 eval "$as_ac_Header=no"
21299 fi
21300
21301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21302 fi
21303 ac_res=`eval echo '${'$as_ac_Header'}'`
21304 { echo "$as_me:$LINENO: result: $ac_res" >&5
21305 echo "${ECHO_T}$ac_res" >&6; }
21306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21307 cat >>confdefs.h <<_ACEOF
21308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21309 _ACEOF
21310
21311 fi
21312
21313 done
21314
21315
21316 if test "$ac_cv_header_wchar_h" != "yes"; then
21317
21318 for ac_header in wcstr.h
21319 do
21320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 else
21326 cat >conftest.$ac_ext <<_ACEOF
21327 /* confdefs.h. */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 $ac_includes_default
21333
21334 #include <$ac_header>
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (ac_try="$ac_compile"
21338 case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21341 esac
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_compile") 2>conftest.er1
21344 ac_status=$?
21345 grep -v '^ *+' conftest.er1 >conftest.err
21346 rm -f conftest.er1
21347 cat conftest.err >&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } && {
21350 test -z "$ac_c_werror_flag" ||
21351 test ! -s conftest.err
21352 } && test -s conftest.$ac_objext; then
21353 eval "$as_ac_Header=yes"
21354 else
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21357
21358 eval "$as_ac_Header=no"
21359 fi
21360
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362 fi
21363 ac_res=`eval echo '${'$as_ac_Header'}'`
21364 { echo "$as_me:$LINENO: result: $ac_res" >&5
21365 echo "${ECHO_T}$ac_res" >&6; }
21366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21367 cat >>confdefs.h <<_ACEOF
21368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21369 _ACEOF
21370
21371 fi
21372
21373 done
21374
21375 fi
21376
21377 case "${host}" in
21378 *-pc-os2_emx | *-pc-os2-emx )
21379 if test $ac_cv_header_langinfo_h = "yes" \
21380 -a \( "$wx_cv_gccversion" = "EMX2" \
21381 -o "$wx_cv_gccversion" = "EMX3" \
21382 -o "$wx_cv_gccversion" = "Innotek5" \); then
21383 LIBS="$LIBS -lintl"
21384 fi
21385 ;;
21386 esac
21387
21388 if test "$USE_UNIX" = 1 ; then
21389
21390 for ac_header in sys/select.h
21391 do
21392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21393 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21394 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21396 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 else
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405
21406 #include <$ac_header>
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 eval "$as_ac_Header=yes"
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21429
21430 eval "$as_ac_Header=no"
21431 fi
21432
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 fi
21435 ac_res=`eval echo '${'$as_ac_Header'}'`
21436 { echo "$as_me:$LINENO: result: $ac_res" >&5
21437 echo "${ECHO_T}$ac_res" >&6; }
21438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21439 cat >>confdefs.h <<_ACEOF
21440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21441 _ACEOF
21442
21443 fi
21444
21445 done
21446
21447 fi
21448
21449
21450 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21451 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21452 if test "${ac_cv_c_const+set}" = set; then
21453 echo $ECHO_N "(cached) $ECHO_C" >&6
21454 else
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461
21462 int
21463 main ()
21464 {
21465 /* FIXME: Include the comments suggested by Paul. */
21466 #ifndef __cplusplus
21467 /* Ultrix mips cc rejects this. */
21468 typedef int charset[2];
21469 const charset cs;
21470 /* SunOS 4.1.1 cc rejects this. */
21471 char const *const *pcpcc;
21472 char **ppc;
21473 /* NEC SVR4.0.2 mips cc rejects this. */
21474 struct point {int x, y;};
21475 static struct point const zero = {0,0};
21476 /* AIX XL C 1.02.0.0 rejects this.
21477 It does not let you subtract one const X* pointer from another in
21478 an arm of an if-expression whose if-part is not a constant
21479 expression */
21480 const char *g = "string";
21481 pcpcc = &g + (g ? g-g : 0);
21482 /* HPUX 7.0 cc rejects these. */
21483 ++pcpcc;
21484 ppc = (char**) pcpcc;
21485 pcpcc = (char const *const *) ppc;
21486 { /* SCO 3.2v4 cc rejects this. */
21487 char *t;
21488 char const *s = 0 ? (char *) 0 : (char const *) 0;
21489
21490 *t++ = 0;
21491 if (s) return 0;
21492 }
21493 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21494 int x[] = {25, 17};
21495 const int *foo = &x[0];
21496 ++foo;
21497 }
21498 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21499 typedef const int *iptr;
21500 iptr p = 0;
21501 ++p;
21502 }
21503 { /* AIX XL C 1.02.0.0 rejects this saying
21504 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21505 struct s { int j; const int *ap[3]; };
21506 struct s *b; b->j = 5;
21507 }
21508 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21509 const int foo = 10;
21510 if (!foo) return 0;
21511 }
21512 return !cs[0] && !zero.x;
21513 #endif
21514
21515 ;
21516 return 0;
21517 }
21518 _ACEOF
21519 rm -f conftest.$ac_objext
21520 if { (ac_try="$ac_compile"
21521 case "(($ac_try" in
21522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21523 *) ac_try_echo=$ac_try;;
21524 esac
21525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21526 (eval "$ac_compile") 2>conftest.er1
21527 ac_status=$?
21528 grep -v '^ *+' conftest.er1 >conftest.err
21529 rm -f conftest.er1
21530 cat conftest.err >&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); } && {
21533 test -z "$ac_c_werror_flag" ||
21534 test ! -s conftest.err
21535 } && test -s conftest.$ac_objext; then
21536 ac_cv_c_const=yes
21537 else
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21540
21541 ac_cv_c_const=no
21542 fi
21543
21544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21545 fi
21546 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21547 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21548 if test $ac_cv_c_const = no; then
21549
21550 cat >>confdefs.h <<\_ACEOF
21551 #define const
21552 _ACEOF
21553
21554 fi
21555
21556 { echo "$as_me:$LINENO: checking for inline" >&5
21557 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21558 if test "${ac_cv_c_inline+set}" = set; then
21559 echo $ECHO_N "(cached) $ECHO_C" >&6
21560 else
21561 ac_cv_c_inline=no
21562 for ac_kw in inline __inline__ __inline; do
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 #ifndef __cplusplus
21570 typedef int foo_t;
21571 static $ac_kw foo_t static_foo () {return 0; }
21572 $ac_kw foo_t foo () {return 0; }
21573 #endif
21574
21575 _ACEOF
21576 rm -f conftest.$ac_objext
21577 if { (ac_try="$ac_compile"
21578 case "(($ac_try" in
21579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21580 *) ac_try_echo=$ac_try;;
21581 esac
21582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21583 (eval "$ac_compile") 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } && {
21590 test -z "$ac_c_werror_flag" ||
21591 test ! -s conftest.err
21592 } && test -s conftest.$ac_objext; then
21593 ac_cv_c_inline=$ac_kw
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598
21599 fi
21600
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 test "$ac_cv_c_inline" != no && break
21603 done
21604
21605 fi
21606 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21607 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21608
21609
21610 case $ac_cv_c_inline in
21611 inline | yes) ;;
21612 *)
21613 case $ac_cv_c_inline in
21614 no) ac_val=;;
21615 *) ac_val=$ac_cv_c_inline;;
21616 esac
21617 cat >>confdefs.h <<_ACEOF
21618 #ifndef __cplusplus
21619 #define inline $ac_val
21620 #endif
21621 _ACEOF
21622 ;;
21623 esac
21624
21625
21626 { echo "$as_me:$LINENO: checking for short" >&5
21627 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21628 if test "${ac_cv_type_short+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21630 else
21631 cat >conftest.$ac_ext <<_ACEOF
21632 /* confdefs.h. */
21633 _ACEOF
21634 cat confdefs.h >>conftest.$ac_ext
21635 cat >>conftest.$ac_ext <<_ACEOF
21636 /* end confdefs.h. */
21637 $ac_includes_default
21638 typedef short ac__type_new_;
21639 int
21640 main ()
21641 {
21642 if ((ac__type_new_ *) 0)
21643 return 0;
21644 if (sizeof (ac__type_new_))
21645 return 0;
21646 ;
21647 return 0;
21648 }
21649 _ACEOF
21650 rm -f conftest.$ac_objext
21651 if { (ac_try="$ac_compile"
21652 case "(($ac_try" in
21653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21654 *) ac_try_echo=$ac_try;;
21655 esac
21656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21657 (eval "$ac_compile") 2>conftest.er1
21658 ac_status=$?
21659 grep -v '^ *+' conftest.er1 >conftest.err
21660 rm -f conftest.er1
21661 cat conftest.err >&5
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); } && {
21664 test -z "$ac_c_werror_flag" ||
21665 test ! -s conftest.err
21666 } && test -s conftest.$ac_objext; then
21667 ac_cv_type_short=yes
21668 else
21669 echo "$as_me: failed program was:" >&5
21670 sed 's/^/| /' conftest.$ac_ext >&5
21671
21672 ac_cv_type_short=no
21673 fi
21674
21675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21676 fi
21677 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21678 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21679
21680 # The cast to long int works around a bug in the HP C Compiler
21681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21683 # This bug is HP SR number 8606223364.
21684 { echo "$as_me:$LINENO: checking size of short" >&5
21685 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21686 if test "${ac_cv_sizeof_short+set}" = set; then
21687 echo $ECHO_N "(cached) $ECHO_C" >&6
21688 else
21689 if test "$cross_compiling" = yes; then
21690 # Depending upon the size, compute the lo and hi bounds.
21691 cat >conftest.$ac_ext <<_ACEOF
21692 /* confdefs.h. */
21693 _ACEOF
21694 cat confdefs.h >>conftest.$ac_ext
21695 cat >>conftest.$ac_ext <<_ACEOF
21696 /* end confdefs.h. */
21697 $ac_includes_default
21698 typedef short ac__type_sizeof_;
21699 int
21700 main ()
21701 {
21702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21703 test_array [0] = 0
21704
21705 ;
21706 return 0;
21707 }
21708 _ACEOF
21709 rm -f conftest.$ac_objext
21710 if { (ac_try="$ac_compile"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21714 esac
21715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21716 (eval "$ac_compile") 2>conftest.er1
21717 ac_status=$?
21718 grep -v '^ *+' conftest.er1 >conftest.err
21719 rm -f conftest.er1
21720 cat conftest.err >&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } && {
21723 test -z "$ac_c_werror_flag" ||
21724 test ! -s conftest.err
21725 } && test -s conftest.$ac_objext; then
21726 ac_lo=0 ac_mid=0
21727 while :; do
21728 cat >conftest.$ac_ext <<_ACEOF
21729 /* confdefs.h. */
21730 _ACEOF
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 $ac_includes_default
21735 typedef short ac__type_sizeof_;
21736 int
21737 main ()
21738 {
21739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21740 test_array [0] = 0
21741
21742 ;
21743 return 0;
21744 }
21745 _ACEOF
21746 rm -f conftest.$ac_objext
21747 if { (ac_try="$ac_compile"
21748 case "(($ac_try" in
21749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21750 *) ac_try_echo=$ac_try;;
21751 esac
21752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21753 (eval "$ac_compile") 2>conftest.er1
21754 ac_status=$?
21755 grep -v '^ *+' conftest.er1 >conftest.err
21756 rm -f conftest.er1
21757 cat conftest.err >&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } && {
21760 test -z "$ac_c_werror_flag" ||
21761 test ! -s conftest.err
21762 } && test -s conftest.$ac_objext; then
21763 ac_hi=$ac_mid; break
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21767
21768 ac_lo=`expr $ac_mid + 1`
21769 if test $ac_lo -le $ac_mid; then
21770 ac_lo= ac_hi=
21771 break
21772 fi
21773 ac_mid=`expr 2 '*' $ac_mid + 1`
21774 fi
21775
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777 done
21778 else
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21781
21782 cat >conftest.$ac_ext <<_ACEOF
21783 /* confdefs.h. */
21784 _ACEOF
21785 cat confdefs.h >>conftest.$ac_ext
21786 cat >>conftest.$ac_ext <<_ACEOF
21787 /* end confdefs.h. */
21788 $ac_includes_default
21789 typedef short ac__type_sizeof_;
21790 int
21791 main ()
21792 {
21793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21794 test_array [0] = 0
21795
21796 ;
21797 return 0;
21798 }
21799 _ACEOF
21800 rm -f conftest.$ac_objext
21801 if { (ac_try="$ac_compile"
21802 case "(($ac_try" in
21803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21804 *) ac_try_echo=$ac_try;;
21805 esac
21806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21807 (eval "$ac_compile") 2>conftest.er1
21808 ac_status=$?
21809 grep -v '^ *+' conftest.er1 >conftest.err
21810 rm -f conftest.er1
21811 cat conftest.err >&5
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); } && {
21814 test -z "$ac_c_werror_flag" ||
21815 test ! -s conftest.err
21816 } && test -s conftest.$ac_objext; then
21817 ac_hi=-1 ac_mid=-1
21818 while :; do
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef short ac__type_sizeof_;
21827 int
21828 main ()
21829 {
21830 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21831 test_array [0] = 0
21832
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (ac_try="$ac_compile"
21839 case "(($ac_try" in
21840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21841 *) ac_try_echo=$ac_try;;
21842 esac
21843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21844 (eval "$ac_compile") 2>conftest.er1
21845 ac_status=$?
21846 grep -v '^ *+' conftest.er1 >conftest.err
21847 rm -f conftest.er1
21848 cat conftest.err >&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); } && {
21851 test -z "$ac_c_werror_flag" ||
21852 test ! -s conftest.err
21853 } && test -s conftest.$ac_objext; then
21854 ac_lo=$ac_mid; break
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_hi=`expr '(' $ac_mid ')' - 1`
21860 if test $ac_mid -le $ac_hi; then
21861 ac_lo= ac_hi=
21862 break
21863 fi
21864 ac_mid=`expr 2 '*' $ac_mid`
21865 fi
21866
21867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21868 done
21869 else
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21872
21873 ac_lo= ac_hi=
21874 fi
21875
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877 fi
21878
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880 # Binary search between lo and hi bounds.
21881 while test "x$ac_lo" != "x$ac_hi"; do
21882 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21883 cat >conftest.$ac_ext <<_ACEOF
21884 /* confdefs.h. */
21885 _ACEOF
21886 cat confdefs.h >>conftest.$ac_ext
21887 cat >>conftest.$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef short ac__type_sizeof_;
21891 int
21892 main ()
21893 {
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21895 test_array [0] = 0
21896
21897 ;
21898 return 0;
21899 }
21900 _ACEOF
21901 rm -f conftest.$ac_objext
21902 if { (ac_try="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21906 esac
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21909 ac_status=$?
21910 grep -v '^ *+' conftest.er1 >conftest.err
21911 rm -f conftest.er1
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21918 ac_hi=$ac_mid
21919 else
21920 echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.$ac_ext >&5
21922
21923 ac_lo=`expr '(' $ac_mid ')' + 1`
21924 fi
21925
21926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21927 done
21928 case $ac_lo in
21929 ?*) ac_cv_sizeof_short=$ac_lo;;
21930 '') if test "$ac_cv_type_short" = yes; then
21931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21932 See \`config.log' for more details." >&5
21933 echo "$as_me: error: cannot compute sizeof (short)
21934 See \`config.log' for more details." >&2;}
21935 { (exit 77); exit 77; }; }
21936 else
21937 ac_cv_sizeof_short=0
21938 fi ;;
21939 esac
21940 else
21941 cat >conftest.$ac_ext <<_ACEOF
21942 /* confdefs.h. */
21943 _ACEOF
21944 cat confdefs.h >>conftest.$ac_ext
21945 cat >>conftest.$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 $ac_includes_default
21948 typedef short ac__type_sizeof_;
21949 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21950 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21951 #include <stdio.h>
21952 #include <stdlib.h>
21953 int
21954 main ()
21955 {
21956
21957 FILE *f = fopen ("conftest.val", "w");
21958 if (! f)
21959 return 1;
21960 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21961 {
21962 long int i = longval ();
21963 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21964 return 1;
21965 fprintf (f, "%ld\n", i);
21966 }
21967 else
21968 {
21969 unsigned long int i = ulongval ();
21970 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21971 return 1;
21972 fprintf (f, "%lu\n", i);
21973 }
21974 return ferror (f) || fclose (f) != 0;
21975
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest$ac_exeext
21981 if { (ac_try="$ac_link"
21982 case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;;
21985 esac
21986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21987 (eval "$ac_link") 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21991 { (case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_try") 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_cv_sizeof_short=`cat conftest.val`
22001 else
22002 echo "$as_me: program exited with status $ac_status" >&5
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22005
22006 ( exit $ac_status )
22007 if test "$ac_cv_type_short" = yes; then
22008 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
22009 See \`config.log' for more details." >&5
22010 echo "$as_me: error: cannot compute sizeof (short)
22011 See \`config.log' for more details." >&2;}
22012 { (exit 77); exit 77; }; }
22013 else
22014 ac_cv_sizeof_short=0
22015 fi
22016 fi
22017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22018 fi
22019 rm -f conftest.val
22020 fi
22021 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
22022 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
22023
22024
22025
22026 cat >>confdefs.h <<_ACEOF
22027 #define SIZEOF_SHORT $ac_cv_sizeof_short
22028 _ACEOF
22029
22030
22031 { echo "$as_me:$LINENO: checking for void *" >&5
22032 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
22033 if test "${ac_cv_type_void_p+set}" = set; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 else
22036 cat >conftest.$ac_ext <<_ACEOF
22037 /* confdefs.h. */
22038 _ACEOF
22039 cat confdefs.h >>conftest.$ac_ext
22040 cat >>conftest.$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 $ac_includes_default
22043 typedef void * ac__type_new_;
22044 int
22045 main ()
22046 {
22047 if ((ac__type_new_ *) 0)
22048 return 0;
22049 if (sizeof (ac__type_new_))
22050 return 0;
22051 ;
22052 return 0;
22053 }
22054 _ACEOF
22055 rm -f conftest.$ac_objext
22056 if { (ac_try="$ac_compile"
22057 case "(($ac_try" in
22058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22059 *) ac_try_echo=$ac_try;;
22060 esac
22061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22062 (eval "$ac_compile") 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } && {
22069 test -z "$ac_c_werror_flag" ||
22070 test ! -s conftest.err
22071 } && test -s conftest.$ac_objext; then
22072 ac_cv_type_void_p=yes
22073 else
22074 echo "$as_me: failed program was:" >&5
22075 sed 's/^/| /' conftest.$ac_ext >&5
22076
22077 ac_cv_type_void_p=no
22078 fi
22079
22080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22081 fi
22082 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22083 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22084
22085 # The cast to long int works around a bug in the HP C Compiler
22086 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22087 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22088 # This bug is HP SR number 8606223364.
22089 { echo "$as_me:$LINENO: checking size of void *" >&5
22090 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22091 if test "${ac_cv_sizeof_void_p+set}" = set; then
22092 echo $ECHO_N "(cached) $ECHO_C" >&6
22093 else
22094 if test "$cross_compiling" = yes; then
22095 # Depending upon the size, compute the lo and hi bounds.
22096 cat >conftest.$ac_ext <<_ACEOF
22097 /* confdefs.h. */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 $ac_includes_default
22103 typedef void * ac__type_sizeof_;
22104 int
22105 main ()
22106 {
22107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22108 test_array [0] = 0
22109
22110 ;
22111 return 0;
22112 }
22113 _ACEOF
22114 rm -f conftest.$ac_objext
22115 if { (ac_try="$ac_compile"
22116 case "(($ac_try" in
22117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22118 *) ac_try_echo=$ac_try;;
22119 esac
22120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22121 (eval "$ac_compile") 2>conftest.er1
22122 ac_status=$?
22123 grep -v '^ *+' conftest.er1 >conftest.err
22124 rm -f conftest.er1
22125 cat conftest.err >&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); } && {
22128 test -z "$ac_c_werror_flag" ||
22129 test ! -s conftest.err
22130 } && test -s conftest.$ac_objext; then
22131 ac_lo=0 ac_mid=0
22132 while :; do
22133 cat >conftest.$ac_ext <<_ACEOF
22134 /* confdefs.h. */
22135 _ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 $ac_includes_default
22140 typedef void * ac__type_sizeof_;
22141 int
22142 main ()
22143 {
22144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22145 test_array [0] = 0
22146
22147 ;
22148 return 0;
22149 }
22150 _ACEOF
22151 rm -f conftest.$ac_objext
22152 if { (ac_try="$ac_compile"
22153 case "(($ac_try" in
22154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22155 *) ac_try_echo=$ac_try;;
22156 esac
22157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22158 (eval "$ac_compile") 2>conftest.er1
22159 ac_status=$?
22160 grep -v '^ *+' conftest.er1 >conftest.err
22161 rm -f conftest.er1
22162 cat conftest.err >&5
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } && {
22165 test -z "$ac_c_werror_flag" ||
22166 test ! -s conftest.err
22167 } && test -s conftest.$ac_objext; then
22168 ac_hi=$ac_mid; break
22169 else
22170 echo "$as_me: failed program was:" >&5
22171 sed 's/^/| /' conftest.$ac_ext >&5
22172
22173 ac_lo=`expr $ac_mid + 1`
22174 if test $ac_lo -le $ac_mid; then
22175 ac_lo= ac_hi=
22176 break
22177 fi
22178 ac_mid=`expr 2 '*' $ac_mid + 1`
22179 fi
22180
22181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22182 done
22183 else
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 cat >conftest.$ac_ext <<_ACEOF
22188 /* confdefs.h. */
22189 _ACEOF
22190 cat confdefs.h >>conftest.$ac_ext
22191 cat >>conftest.$ac_ext <<_ACEOF
22192 /* end confdefs.h. */
22193 $ac_includes_default
22194 typedef void * ac__type_sizeof_;
22195 int
22196 main ()
22197 {
22198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22199 test_array [0] = 0
22200
22201 ;
22202 return 0;
22203 }
22204 _ACEOF
22205 rm -f conftest.$ac_objext
22206 if { (ac_try="$ac_compile"
22207 case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22209 *) ac_try_echo=$ac_try;;
22210 esac
22211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_compile") 2>conftest.er1
22213 ac_status=$?
22214 grep -v '^ *+' conftest.er1 >conftest.err
22215 rm -f conftest.er1
22216 cat conftest.err >&5
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); } && {
22219 test -z "$ac_c_werror_flag" ||
22220 test ! -s conftest.err
22221 } && test -s conftest.$ac_objext; then
22222 ac_hi=-1 ac_mid=-1
22223 while :; do
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h. */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 $ac_includes_default
22231 typedef void * ac__type_sizeof_;
22232 int
22233 main ()
22234 {
22235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22236 test_array [0] = 0
22237
22238 ;
22239 return 0;
22240 }
22241 _ACEOF
22242 rm -f conftest.$ac_objext
22243 if { (ac_try="$ac_compile"
22244 case "(($ac_try" in
22245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22246 *) ac_try_echo=$ac_try;;
22247 esac
22248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22249 (eval "$ac_compile") 2>conftest.er1
22250 ac_status=$?
22251 grep -v '^ *+' conftest.er1 >conftest.err
22252 rm -f conftest.er1
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } && {
22256 test -z "$ac_c_werror_flag" ||
22257 test ! -s conftest.err
22258 } && test -s conftest.$ac_objext; then
22259 ac_lo=$ac_mid; break
22260 else
22261 echo "$as_me: failed program was:" >&5
22262 sed 's/^/| /' conftest.$ac_ext >&5
22263
22264 ac_hi=`expr '(' $ac_mid ')' - 1`
22265 if test $ac_mid -le $ac_hi; then
22266 ac_lo= ac_hi=
22267 break
22268 fi
22269 ac_mid=`expr 2 '*' $ac_mid`
22270 fi
22271
22272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 done
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_lo= ac_hi=
22279 fi
22280
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 fi
22283
22284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22285 # Binary search between lo and hi bounds.
22286 while test "x$ac_lo" != "x$ac_hi"; do
22287 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22288 cat >conftest.$ac_ext <<_ACEOF
22289 /* confdefs.h. */
22290 _ACEOF
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 $ac_includes_default
22295 typedef void * ac__type_sizeof_;
22296 int
22297 main ()
22298 {
22299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22300 test_array [0] = 0
22301
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (ac_try="$ac_compile"
22308 case "(($ac_try" in
22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22311 esac
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_compile") 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest.$ac_objext; then
22323 ac_hi=$ac_mid
22324 else
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.$ac_ext >&5
22327
22328 ac_lo=`expr '(' $ac_mid ')' + 1`
22329 fi
22330
22331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 done
22333 case $ac_lo in
22334 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22335 '') if test "$ac_cv_type_void_p" = yes; then
22336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22337 See \`config.log' for more details." >&5
22338 echo "$as_me: error: cannot compute sizeof (void *)
22339 See \`config.log' for more details." >&2;}
22340 { (exit 77); exit 77; }; }
22341 else
22342 ac_cv_sizeof_void_p=0
22343 fi ;;
22344 esac
22345 else
22346 cat >conftest.$ac_ext <<_ACEOF
22347 /* confdefs.h. */
22348 _ACEOF
22349 cat confdefs.h >>conftest.$ac_ext
22350 cat >>conftest.$ac_ext <<_ACEOF
22351 /* end confdefs.h. */
22352 $ac_includes_default
22353 typedef void * ac__type_sizeof_;
22354 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22355 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22356 #include <stdio.h>
22357 #include <stdlib.h>
22358 int
22359 main ()
22360 {
22361
22362 FILE *f = fopen ("conftest.val", "w");
22363 if (! f)
22364 return 1;
22365 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22366 {
22367 long int i = longval ();
22368 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22369 return 1;
22370 fprintf (f, "%ld\n", i);
22371 }
22372 else
22373 {
22374 unsigned long int i = ulongval ();
22375 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22376 return 1;
22377 fprintf (f, "%lu\n", i);
22378 }
22379 return ferror (f) || fclose (f) != 0;
22380
22381 ;
22382 return 0;
22383 }
22384 _ACEOF
22385 rm -f conftest$ac_exeext
22386 if { (ac_try="$ac_link"
22387 case "(($ac_try" in
22388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22389 *) ac_try_echo=$ac_try;;
22390 esac
22391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22392 (eval "$ac_link") 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22396 { (case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22399 esac
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_try") 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_sizeof_void_p=`cat conftest.val`
22406 else
22407 echo "$as_me: program exited with status $ac_status" >&5
22408 echo "$as_me: failed program was:" >&5
22409 sed 's/^/| /' conftest.$ac_ext >&5
22410
22411 ( exit $ac_status )
22412 if test "$ac_cv_type_void_p" = yes; then
22413 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22414 See \`config.log' for more details." >&5
22415 echo "$as_me: error: cannot compute sizeof (void *)
22416 See \`config.log' for more details." >&2;}
22417 { (exit 77); exit 77; }; }
22418 else
22419 ac_cv_sizeof_void_p=0
22420 fi
22421 fi
22422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22423 fi
22424 rm -f conftest.val
22425 fi
22426 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22427 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22428
22429
22430
22431 cat >>confdefs.h <<_ACEOF
22432 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22433 _ACEOF
22434
22435
22436 { echo "$as_me:$LINENO: checking for int" >&5
22437 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22438 if test "${ac_cv_type_int+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22440 else
22441 cat >conftest.$ac_ext <<_ACEOF
22442 /* confdefs.h. */
22443 _ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 $ac_includes_default
22448 typedef int ac__type_new_;
22449 int
22450 main ()
22451 {
22452 if ((ac__type_new_ *) 0)
22453 return 0;
22454 if (sizeof (ac__type_new_))
22455 return 0;
22456 ;
22457 return 0;
22458 }
22459 _ACEOF
22460 rm -f conftest.$ac_objext
22461 if { (ac_try="$ac_compile"
22462 case "(($ac_try" in
22463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22464 *) ac_try_echo=$ac_try;;
22465 esac
22466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_compile") 2>conftest.er1
22468 ac_status=$?
22469 grep -v '^ *+' conftest.er1 >conftest.err
22470 rm -f conftest.er1
22471 cat conftest.err >&5
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); } && {
22474 test -z "$ac_c_werror_flag" ||
22475 test ! -s conftest.err
22476 } && test -s conftest.$ac_objext; then
22477 ac_cv_type_int=yes
22478 else
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.$ac_ext >&5
22481
22482 ac_cv_type_int=no
22483 fi
22484
22485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22486 fi
22487 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22488 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22489
22490 # The cast to long int works around a bug in the HP C Compiler
22491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22493 # This bug is HP SR number 8606223364.
22494 { echo "$as_me:$LINENO: checking size of int" >&5
22495 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22496 if test "${ac_cv_sizeof_int+set}" = set; then
22497 echo $ECHO_N "(cached) $ECHO_C" >&6
22498 else
22499 if test "$cross_compiling" = yes; then
22500 # Depending upon the size, compute the lo and hi bounds.
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 $ac_includes_default
22508 typedef int ac__type_sizeof_;
22509 int
22510 main ()
22511 {
22512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22513 test_array [0] = 0
22514
22515 ;
22516 return 0;
22517 }
22518 _ACEOF
22519 rm -f conftest.$ac_objext
22520 if { (ac_try="$ac_compile"
22521 case "(($ac_try" in
22522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22523 *) ac_try_echo=$ac_try;;
22524 esac
22525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22526 (eval "$ac_compile") 2>conftest.er1
22527 ac_status=$?
22528 grep -v '^ *+' conftest.er1 >conftest.err
22529 rm -f conftest.er1
22530 cat conftest.err >&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } && {
22533 test -z "$ac_c_werror_flag" ||
22534 test ! -s conftest.err
22535 } && test -s conftest.$ac_objext; then
22536 ac_lo=0 ac_mid=0
22537 while :; do
22538 cat >conftest.$ac_ext <<_ACEOF
22539 /* confdefs.h. */
22540 _ACEOF
22541 cat confdefs.h >>conftest.$ac_ext
22542 cat >>conftest.$ac_ext <<_ACEOF
22543 /* end confdefs.h. */
22544 $ac_includes_default
22545 typedef int ac__type_sizeof_;
22546 int
22547 main ()
22548 {
22549 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22550 test_array [0] = 0
22551
22552 ;
22553 return 0;
22554 }
22555 _ACEOF
22556 rm -f conftest.$ac_objext
22557 if { (ac_try="$ac_compile"
22558 case "(($ac_try" in
22559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22560 *) ac_try_echo=$ac_try;;
22561 esac
22562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22563 (eval "$ac_compile") 2>conftest.er1
22564 ac_status=$?
22565 grep -v '^ *+' conftest.er1 >conftest.err
22566 rm -f conftest.er1
22567 cat conftest.err >&5
22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569 (exit $ac_status); } && {
22570 test -z "$ac_c_werror_flag" ||
22571 test ! -s conftest.err
22572 } && test -s conftest.$ac_objext; then
22573 ac_hi=$ac_mid; break
22574 else
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22577
22578 ac_lo=`expr $ac_mid + 1`
22579 if test $ac_lo -le $ac_mid; then
22580 ac_lo= ac_hi=
22581 break
22582 fi
22583 ac_mid=`expr 2 '*' $ac_mid + 1`
22584 fi
22585
22586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22587 done
22588 else
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.$ac_ext >&5
22591
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 $ac_includes_default
22599 typedef int ac__type_sizeof_;
22600 int
22601 main ()
22602 {
22603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22604 test_array [0] = 0
22605
22606 ;
22607 return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (ac_try="$ac_compile"
22612 case "(($ac_try" in
22613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614 *) ac_try_echo=$ac_try;;
22615 esac
22616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617 (eval "$ac_compile") 2>conftest.er1
22618 ac_status=$?
22619 grep -v '^ *+' conftest.er1 >conftest.err
22620 rm -f conftest.er1
22621 cat conftest.err >&5
22622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623 (exit $ac_status); } && {
22624 test -z "$ac_c_werror_flag" ||
22625 test ! -s conftest.err
22626 } && test -s conftest.$ac_objext; then
22627 ac_hi=-1 ac_mid=-1
22628 while :; do
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 $ac_includes_default
22636 typedef int ac__type_sizeof_;
22637 int
22638 main ()
22639 {
22640 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22641 test_array [0] = 0
22642
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 rm -f conftest.$ac_objext
22648 if { (ac_try="$ac_compile"
22649 case "(($ac_try" in
22650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22651 *) ac_try_echo=$ac_try;;
22652 esac
22653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22654 (eval "$ac_compile") 2>conftest.er1
22655 ac_status=$?
22656 grep -v '^ *+' conftest.er1 >conftest.err
22657 rm -f conftest.er1
22658 cat conftest.err >&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); } && {
22661 test -z "$ac_c_werror_flag" ||
22662 test ! -s conftest.err
22663 } && test -s conftest.$ac_objext; then
22664 ac_lo=$ac_mid; break
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_hi=`expr '(' $ac_mid ')' - 1`
22670 if test $ac_mid -le $ac_hi; then
22671 ac_lo= ac_hi=
22672 break
22673 fi
22674 ac_mid=`expr 2 '*' $ac_mid`
22675 fi
22676
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 done
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ac_lo= ac_hi=
22684 fi
22685
22686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22687 fi
22688
22689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22690 # Binary search between lo and hi bounds.
22691 while test "x$ac_lo" != "x$ac_hi"; do
22692 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22693 cat >conftest.$ac_ext <<_ACEOF
22694 /* confdefs.h. */
22695 _ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 $ac_includes_default
22700 typedef int ac__type_sizeof_;
22701 int
22702 main ()
22703 {
22704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22705 test_array [0] = 0
22706
22707 ;
22708 return 0;
22709 }
22710 _ACEOF
22711 rm -f conftest.$ac_objext
22712 if { (ac_try="$ac_compile"
22713 case "(($ac_try" in
22714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22715 *) ac_try_echo=$ac_try;;
22716 esac
22717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22718 (eval "$ac_compile") 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } && {
22725 test -z "$ac_c_werror_flag" ||
22726 test ! -s conftest.err
22727 } && test -s conftest.$ac_objext; then
22728 ac_hi=$ac_mid
22729 else
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22732
22733 ac_lo=`expr '(' $ac_mid ')' + 1`
22734 fi
22735
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737 done
22738 case $ac_lo in
22739 ?*) ac_cv_sizeof_int=$ac_lo;;
22740 '') if test "$ac_cv_type_int" = yes; then
22741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22742 See \`config.log' for more details." >&5
22743 echo "$as_me: error: cannot compute sizeof (int)
22744 See \`config.log' for more details." >&2;}
22745 { (exit 77); exit 77; }; }
22746 else
22747 ac_cv_sizeof_int=0
22748 fi ;;
22749 esac
22750 else
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 $ac_includes_default
22758 typedef int ac__type_sizeof_;
22759 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22760 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22761 #include <stdio.h>
22762 #include <stdlib.h>
22763 int
22764 main ()
22765 {
22766
22767 FILE *f = fopen ("conftest.val", "w");
22768 if (! f)
22769 return 1;
22770 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22771 {
22772 long int i = longval ();
22773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22774 return 1;
22775 fprintf (f, "%ld\n", i);
22776 }
22777 else
22778 {
22779 unsigned long int i = ulongval ();
22780 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22781 return 1;
22782 fprintf (f, "%lu\n", i);
22783 }
22784 return ferror (f) || fclose (f) != 0;
22785
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 rm -f conftest$ac_exeext
22791 if { (ac_try="$ac_link"
22792 case "(($ac_try" in
22793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22794 *) ac_try_echo=$ac_try;;
22795 esac
22796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22797 (eval "$ac_link") 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22801 { (case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22804 esac
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_try") 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_cv_sizeof_int=`cat conftest.val`
22811 else
22812 echo "$as_me: program exited with status $ac_status" >&5
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22815
22816 ( exit $ac_status )
22817 if test "$ac_cv_type_int" = yes; then
22818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22819 See \`config.log' for more details." >&5
22820 echo "$as_me: error: cannot compute sizeof (int)
22821 See \`config.log' for more details." >&2;}
22822 { (exit 77); exit 77; }; }
22823 else
22824 ac_cv_sizeof_int=0
22825 fi
22826 fi
22827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22828 fi
22829 rm -f conftest.val
22830 fi
22831 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22832 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22833
22834
22835
22836 cat >>confdefs.h <<_ACEOF
22837 #define SIZEOF_INT $ac_cv_sizeof_int
22838 _ACEOF
22839
22840
22841 { echo "$as_me:$LINENO: checking for long" >&5
22842 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22843 if test "${ac_cv_type_long+set}" = set; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22845 else
22846 cat >conftest.$ac_ext <<_ACEOF
22847 /* confdefs.h. */
22848 _ACEOF
22849 cat confdefs.h >>conftest.$ac_ext
22850 cat >>conftest.$ac_ext <<_ACEOF
22851 /* end confdefs.h. */
22852 $ac_includes_default
22853 typedef long ac__type_new_;
22854 int
22855 main ()
22856 {
22857 if ((ac__type_new_ *) 0)
22858 return 0;
22859 if (sizeof (ac__type_new_))
22860 return 0;
22861 ;
22862 return 0;
22863 }
22864 _ACEOF
22865 rm -f conftest.$ac_objext
22866 if { (ac_try="$ac_compile"
22867 case "(($ac_try" in
22868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22869 *) ac_try_echo=$ac_try;;
22870 esac
22871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22872 (eval "$ac_compile") 2>conftest.er1
22873 ac_status=$?
22874 grep -v '^ *+' conftest.er1 >conftest.err
22875 rm -f conftest.er1
22876 cat conftest.err >&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && {
22879 test -z "$ac_c_werror_flag" ||
22880 test ! -s conftest.err
22881 } && test -s conftest.$ac_objext; then
22882 ac_cv_type_long=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22886
22887 ac_cv_type_long=no
22888 fi
22889
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891 fi
22892 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22893 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22894
22895 # The cast to long int works around a bug in the HP C Compiler
22896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22898 # This bug is HP SR number 8606223364.
22899 { echo "$as_me:$LINENO: checking size of long" >&5
22900 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22901 if test "${ac_cv_sizeof_long+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22903 else
22904 if test "$cross_compiling" = yes; then
22905 # Depending upon the size, compute the lo and hi bounds.
22906 cat >conftest.$ac_ext <<_ACEOF
22907 /* confdefs.h. */
22908 _ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22912 $ac_includes_default
22913 typedef long ac__type_sizeof_;
22914 int
22915 main ()
22916 {
22917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22918 test_array [0] = 0
22919
22920 ;
22921 return 0;
22922 }
22923 _ACEOF
22924 rm -f conftest.$ac_objext
22925 if { (ac_try="$ac_compile"
22926 case "(($ac_try" in
22927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22928 *) ac_try_echo=$ac_try;;
22929 esac
22930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22931 (eval "$ac_compile") 2>conftest.er1
22932 ac_status=$?
22933 grep -v '^ *+' conftest.er1 >conftest.err
22934 rm -f conftest.er1
22935 cat conftest.err >&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } && {
22938 test -z "$ac_c_werror_flag" ||
22939 test ! -s conftest.err
22940 } && test -s conftest.$ac_objext; then
22941 ac_lo=0 ac_mid=0
22942 while :; do
22943 cat >conftest.$ac_ext <<_ACEOF
22944 /* confdefs.h. */
22945 _ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22949 $ac_includes_default
22950 typedef long ac__type_sizeof_;
22951 int
22952 main ()
22953 {
22954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22955 test_array [0] = 0
22956
22957 ;
22958 return 0;
22959 }
22960 _ACEOF
22961 rm -f conftest.$ac_objext
22962 if { (ac_try="$ac_compile"
22963 case "(($ac_try" in
22964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22965 *) ac_try_echo=$ac_try;;
22966 esac
22967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22968 (eval "$ac_compile") 2>conftest.er1
22969 ac_status=$?
22970 grep -v '^ *+' conftest.er1 >conftest.err
22971 rm -f conftest.er1
22972 cat conftest.err >&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } && {
22975 test -z "$ac_c_werror_flag" ||
22976 test ! -s conftest.err
22977 } && test -s conftest.$ac_objext; then
22978 ac_hi=$ac_mid; break
22979 else
22980 echo "$as_me: failed program was:" >&5
22981 sed 's/^/| /' conftest.$ac_ext >&5
22982
22983 ac_lo=`expr $ac_mid + 1`
22984 if test $ac_lo -le $ac_mid; then
22985 ac_lo= ac_hi=
22986 break
22987 fi
22988 ac_mid=`expr 2 '*' $ac_mid + 1`
22989 fi
22990
22991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 done
22993 else
22994 echo "$as_me: failed program was:" >&5
22995 sed 's/^/| /' conftest.$ac_ext >&5
22996
22997 cat >conftest.$ac_ext <<_ACEOF
22998 /* confdefs.h. */
22999 _ACEOF
23000 cat confdefs.h >>conftest.$ac_ext
23001 cat >>conftest.$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23003 $ac_includes_default
23004 typedef long ac__type_sizeof_;
23005 int
23006 main ()
23007 {
23008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23009 test_array [0] = 0
23010
23011 ;
23012 return 0;
23013 }
23014 _ACEOF
23015 rm -f conftest.$ac_objext
23016 if { (ac_try="$ac_compile"
23017 case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23020 esac
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_compile") 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } && {
23029 test -z "$ac_c_werror_flag" ||
23030 test ! -s conftest.err
23031 } && test -s conftest.$ac_objext; then
23032 ac_hi=-1 ac_mid=-1
23033 while :; do
23034 cat >conftest.$ac_ext <<_ACEOF
23035 /* confdefs.h. */
23036 _ACEOF
23037 cat confdefs.h >>conftest.$ac_ext
23038 cat >>conftest.$ac_ext <<_ACEOF
23039 /* end confdefs.h. */
23040 $ac_includes_default
23041 typedef long ac__type_sizeof_;
23042 int
23043 main ()
23044 {
23045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23046 test_array [0] = 0
23047
23048 ;
23049 return 0;
23050 }
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23057 esac
23058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23060 ac_status=$?
23061 grep -v '^ *+' conftest.er1 >conftest.err
23062 rm -f conftest.er1
23063 cat conftest.err >&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } && {
23066 test -z "$ac_c_werror_flag" ||
23067 test ! -s conftest.err
23068 } && test -s conftest.$ac_objext; then
23069 ac_lo=$ac_mid; break
23070 else
23071 echo "$as_me: failed program was:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23073
23074 ac_hi=`expr '(' $ac_mid ')' - 1`
23075 if test $ac_mid -le $ac_hi; then
23076 ac_lo= ac_hi=
23077 break
23078 fi
23079 ac_mid=`expr 2 '*' $ac_mid`
23080 fi
23081
23082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23083 done
23084 else
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23087
23088 ac_lo= ac_hi=
23089 fi
23090
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 fi
23093
23094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 # Binary search between lo and hi bounds.
23096 while test "x$ac_lo" != "x$ac_hi"; do
23097 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23098 cat >conftest.$ac_ext <<_ACEOF
23099 /* confdefs.h. */
23100 _ACEOF
23101 cat confdefs.h >>conftest.$ac_ext
23102 cat >>conftest.$ac_ext <<_ACEOF
23103 /* end confdefs.h. */
23104 $ac_includes_default
23105 typedef long ac__type_sizeof_;
23106 int
23107 main ()
23108 {
23109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23110 test_array [0] = 0
23111
23112 ;
23113 return 0;
23114 }
23115 _ACEOF
23116 rm -f conftest.$ac_objext
23117 if { (ac_try="$ac_compile"
23118 case "(($ac_try" in
23119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23120 *) ac_try_echo=$ac_try;;
23121 esac
23122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23123 (eval "$ac_compile") 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } && {
23130 test -z "$ac_c_werror_flag" ||
23131 test ! -s conftest.err
23132 } && test -s conftest.$ac_objext; then
23133 ac_hi=$ac_mid
23134 else
23135 echo "$as_me: failed program was:" >&5
23136 sed 's/^/| /' conftest.$ac_ext >&5
23137
23138 ac_lo=`expr '(' $ac_mid ')' + 1`
23139 fi
23140
23141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 done
23143 case $ac_lo in
23144 ?*) ac_cv_sizeof_long=$ac_lo;;
23145 '') if test "$ac_cv_type_long" = yes; then
23146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23147 See \`config.log' for more details." >&5
23148 echo "$as_me: error: cannot compute sizeof (long)
23149 See \`config.log' for more details." >&2;}
23150 { (exit 77); exit 77; }; }
23151 else
23152 ac_cv_sizeof_long=0
23153 fi ;;
23154 esac
23155 else
23156 cat >conftest.$ac_ext <<_ACEOF
23157 /* confdefs.h. */
23158 _ACEOF
23159 cat confdefs.h >>conftest.$ac_ext
23160 cat >>conftest.$ac_ext <<_ACEOF
23161 /* end confdefs.h. */
23162 $ac_includes_default
23163 typedef long ac__type_sizeof_;
23164 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23165 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23166 #include <stdio.h>
23167 #include <stdlib.h>
23168 int
23169 main ()
23170 {
23171
23172 FILE *f = fopen ("conftest.val", "w");
23173 if (! f)
23174 return 1;
23175 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23176 {
23177 long int i = longval ();
23178 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23179 return 1;
23180 fprintf (f, "%ld\n", i);
23181 }
23182 else
23183 {
23184 unsigned long int i = ulongval ();
23185 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23186 return 1;
23187 fprintf (f, "%lu\n", i);
23188 }
23189 return ferror (f) || fclose (f) != 0;
23190
23191 ;
23192 return 0;
23193 }
23194 _ACEOF
23195 rm -f conftest$ac_exeext
23196 if { (ac_try="$ac_link"
23197 case "(($ac_try" in
23198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23199 *) ac_try_echo=$ac_try;;
23200 esac
23201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23202 (eval "$ac_link") 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23206 { (case "(($ac_try" in
23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23208 *) ac_try_echo=$ac_try;;
23209 esac
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23211 (eval "$ac_try") 2>&5
23212 ac_status=$?
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; }; then
23215 ac_cv_sizeof_long=`cat conftest.val`
23216 else
23217 echo "$as_me: program exited with status $ac_status" >&5
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23220
23221 ( exit $ac_status )
23222 if test "$ac_cv_type_long" = yes; then
23223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23224 See \`config.log' for more details." >&5
23225 echo "$as_me: error: cannot compute sizeof (long)
23226 See \`config.log' for more details." >&2;}
23227 { (exit 77); exit 77; }; }
23228 else
23229 ac_cv_sizeof_long=0
23230 fi
23231 fi
23232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23233 fi
23234 rm -f conftest.val
23235 fi
23236 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23237 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23238
23239
23240
23241 cat >>confdefs.h <<_ACEOF
23242 #define SIZEOF_LONG $ac_cv_sizeof_long
23243 _ACEOF
23244
23245
23246 { echo "$as_me:$LINENO: checking for size_t" >&5
23247 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23248 if test "${ac_cv_type_size_t+set}" = set; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 else
23251 cat >conftest.$ac_ext <<_ACEOF
23252 /* confdefs.h. */
23253 _ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23257 $ac_includes_default
23258 typedef size_t ac__type_new_;
23259 int
23260 main ()
23261 {
23262 if ((ac__type_new_ *) 0)
23263 return 0;
23264 if (sizeof (ac__type_new_))
23265 return 0;
23266 ;
23267 return 0;
23268 }
23269 _ACEOF
23270 rm -f conftest.$ac_objext
23271 if { (ac_try="$ac_compile"
23272 case "(($ac_try" in
23273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23275 esac
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_compile") 2>conftest.er1
23278 ac_status=$?
23279 grep -v '^ *+' conftest.er1 >conftest.err
23280 rm -f conftest.er1
23281 cat conftest.err >&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } && {
23284 test -z "$ac_c_werror_flag" ||
23285 test ! -s conftest.err
23286 } && test -s conftest.$ac_objext; then
23287 ac_cv_type_size_t=yes
23288 else
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23291
23292 ac_cv_type_size_t=no
23293 fi
23294
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 fi
23297 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23298 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23299
23300 # The cast to long int works around a bug in the HP C Compiler
23301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23303 # This bug is HP SR number 8606223364.
23304 { echo "$as_me:$LINENO: checking size of size_t" >&5
23305 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23306 if test "${ac_cv_sizeof_size_t+set}" = set; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 else
23309 if test "$cross_compiling" = yes; then
23310 # Depending upon the size, compute the lo and hi bounds.
23311 cat >conftest.$ac_ext <<_ACEOF
23312 /* confdefs.h. */
23313 _ACEOF
23314 cat confdefs.h >>conftest.$ac_ext
23315 cat >>conftest.$ac_ext <<_ACEOF
23316 /* end confdefs.h. */
23317 $ac_includes_default
23318 typedef size_t ac__type_sizeof_;
23319 int
23320 main ()
23321 {
23322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23323 test_array [0] = 0
23324
23325 ;
23326 return 0;
23327 }
23328 _ACEOF
23329 rm -f conftest.$ac_objext
23330 if { (ac_try="$ac_compile"
23331 case "(($ac_try" in
23332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23333 *) ac_try_echo=$ac_try;;
23334 esac
23335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23336 (eval "$ac_compile") 2>conftest.er1
23337 ac_status=$?
23338 grep -v '^ *+' conftest.er1 >conftest.err
23339 rm -f conftest.er1
23340 cat conftest.err >&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); } && {
23343 test -z "$ac_c_werror_flag" ||
23344 test ! -s conftest.err
23345 } && test -s conftest.$ac_objext; then
23346 ac_lo=0 ac_mid=0
23347 while :; do
23348 cat >conftest.$ac_ext <<_ACEOF
23349 /* confdefs.h. */
23350 _ACEOF
23351 cat confdefs.h >>conftest.$ac_ext
23352 cat >>conftest.$ac_ext <<_ACEOF
23353 /* end confdefs.h. */
23354 $ac_includes_default
23355 typedef size_t ac__type_sizeof_;
23356 int
23357 main ()
23358 {
23359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23360 test_array [0] = 0
23361
23362 ;
23363 return 0;
23364 }
23365 _ACEOF
23366 rm -f conftest.$ac_objext
23367 if { (ac_try="$ac_compile"
23368 case "(($ac_try" in
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23371 esac
23372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23373 (eval "$ac_compile") 2>conftest.er1
23374 ac_status=$?
23375 grep -v '^ *+' conftest.er1 >conftest.err
23376 rm -f conftest.er1
23377 cat conftest.err >&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } && {
23380 test -z "$ac_c_werror_flag" ||
23381 test ! -s conftest.err
23382 } && test -s conftest.$ac_objext; then
23383 ac_hi=$ac_mid; break
23384 else
23385 echo "$as_me: failed program was:" >&5
23386 sed 's/^/| /' conftest.$ac_ext >&5
23387
23388 ac_lo=`expr $ac_mid + 1`
23389 if test $ac_lo -le $ac_mid; then
23390 ac_lo= ac_hi=
23391 break
23392 fi
23393 ac_mid=`expr 2 '*' $ac_mid + 1`
23394 fi
23395
23396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23397 done
23398 else
23399 echo "$as_me: failed program was:" >&5
23400 sed 's/^/| /' conftest.$ac_ext >&5
23401
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408 $ac_includes_default
23409 typedef size_t ac__type_sizeof_;
23410 int
23411 main ()
23412 {
23413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23414 test_array [0] = 0
23415
23416 ;
23417 return 0;
23418 }
23419 _ACEOF
23420 rm -f conftest.$ac_objext
23421 if { (ac_try="$ac_compile"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23425 esac
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_compile") 2>conftest.er1
23428 ac_status=$?
23429 grep -v '^ *+' conftest.er1 >conftest.err
23430 rm -f conftest.er1
23431 cat conftest.err >&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } && {
23434 test -z "$ac_c_werror_flag" ||
23435 test ! -s conftest.err
23436 } && test -s conftest.$ac_objext; then
23437 ac_hi=-1 ac_mid=-1
23438 while :; do
23439 cat >conftest.$ac_ext <<_ACEOF
23440 /* confdefs.h. */
23441 _ACEOF
23442 cat confdefs.h >>conftest.$ac_ext
23443 cat >>conftest.$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23445 $ac_includes_default
23446 typedef size_t ac__type_sizeof_;
23447 int
23448 main ()
23449 {
23450 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23451 test_array [0] = 0
23452
23453 ;
23454 return 0;
23455 }
23456 _ACEOF
23457 rm -f conftest.$ac_objext
23458 if { (ac_try="$ac_compile"
23459 case "(($ac_try" in
23460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23461 *) ac_try_echo=$ac_try;;
23462 esac
23463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23464 (eval "$ac_compile") 2>conftest.er1
23465 ac_status=$?
23466 grep -v '^ *+' conftest.er1 >conftest.err
23467 rm -f conftest.er1
23468 cat conftest.err >&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); } && {
23471 test -z "$ac_c_werror_flag" ||
23472 test ! -s conftest.err
23473 } && test -s conftest.$ac_objext; then
23474 ac_lo=$ac_mid; break
23475 else
23476 echo "$as_me: failed program was:" >&5
23477 sed 's/^/| /' conftest.$ac_ext >&5
23478
23479 ac_hi=`expr '(' $ac_mid ')' - 1`
23480 if test $ac_mid -le $ac_hi; then
23481 ac_lo= ac_hi=
23482 break
23483 fi
23484 ac_mid=`expr 2 '*' $ac_mid`
23485 fi
23486
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 done
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 ac_lo= ac_hi=
23494 fi
23495
23496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23497 fi
23498
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500 # Binary search between lo and hi bounds.
23501 while test "x$ac_lo" != "x$ac_hi"; do
23502 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23503 cat >conftest.$ac_ext <<_ACEOF
23504 /* confdefs.h. */
23505 _ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 $ac_includes_default
23510 typedef size_t ac__type_sizeof_;
23511 int
23512 main ()
23513 {
23514 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23515 test_array [0] = 0
23516
23517 ;
23518 return 0;
23519 }
23520 _ACEOF
23521 rm -f conftest.$ac_objext
23522 if { (ac_try="$ac_compile"
23523 case "(($ac_try" in
23524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23525 *) ac_try_echo=$ac_try;;
23526 esac
23527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23528 (eval "$ac_compile") 2>conftest.er1
23529 ac_status=$?
23530 grep -v '^ *+' conftest.er1 >conftest.err
23531 rm -f conftest.er1
23532 cat conftest.err >&5
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); } && {
23535 test -z "$ac_c_werror_flag" ||
23536 test ! -s conftest.err
23537 } && test -s conftest.$ac_objext; then
23538 ac_hi=$ac_mid
23539 else
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23542
23543 ac_lo=`expr '(' $ac_mid ')' + 1`
23544 fi
23545
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 done
23548 case $ac_lo in
23549 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23550 '') if test "$ac_cv_type_size_t" = yes; then
23551 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23552 See \`config.log' for more details." >&5
23553 echo "$as_me: error: cannot compute sizeof (size_t)
23554 See \`config.log' for more details." >&2;}
23555 { (exit 77); exit 77; }; }
23556 else
23557 ac_cv_sizeof_size_t=0
23558 fi ;;
23559 esac
23560 else
23561 cat >conftest.$ac_ext <<_ACEOF
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 $ac_includes_default
23568 typedef size_t ac__type_sizeof_;
23569 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23570 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23571 #include <stdio.h>
23572 #include <stdlib.h>
23573 int
23574 main ()
23575 {
23576
23577 FILE *f = fopen ("conftest.val", "w");
23578 if (! f)
23579 return 1;
23580 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23581 {
23582 long int i = longval ();
23583 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23584 return 1;
23585 fprintf (f, "%ld\n", i);
23586 }
23587 else
23588 {
23589 unsigned long int i = ulongval ();
23590 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23591 return 1;
23592 fprintf (f, "%lu\n", i);
23593 }
23594 return ferror (f) || fclose (f) != 0;
23595
23596 ;
23597 return 0;
23598 }
23599 _ACEOF
23600 rm -f conftest$ac_exeext
23601 if { (ac_try="$ac_link"
23602 case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23605 esac
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_link") 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23611 { (case "(($ac_try" in
23612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23613 *) ac_try_echo=$ac_try;;
23614 esac
23615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23616 (eval "$ac_try") 2>&5
23617 ac_status=$?
23618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23619 (exit $ac_status); }; }; then
23620 ac_cv_sizeof_size_t=`cat conftest.val`
23621 else
23622 echo "$as_me: program exited with status $ac_status" >&5
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.$ac_ext >&5
23625
23626 ( exit $ac_status )
23627 if test "$ac_cv_type_size_t" = yes; then
23628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23629 See \`config.log' for more details." >&5
23630 echo "$as_me: error: cannot compute sizeof (size_t)
23631 See \`config.log' for more details." >&2;}
23632 { (exit 77); exit 77; }; }
23633 else
23634 ac_cv_sizeof_size_t=0
23635 fi
23636 fi
23637 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23638 fi
23639 rm -f conftest.val
23640 fi
23641 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23642 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23643
23644
23645
23646 cat >>confdefs.h <<_ACEOF
23647 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23648 _ACEOF
23649
23650
23651
23652 case "${host}" in
23653 arm-*-linux* )
23654 { echo "$as_me:$LINENO: checking for long long" >&5
23655 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23656 if test "${ac_cv_type_long_long+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 $ac_includes_default
23666 typedef long long ac__type_new_;
23667 int
23668 main ()
23669 {
23670 if ((ac__type_new_ *) 0)
23671 return 0;
23672 if (sizeof (ac__type_new_))
23673 return 0;
23674 ;
23675 return 0;
23676 }
23677 _ACEOF
23678 rm -f conftest.$ac_objext
23679 if { (ac_try="$ac_compile"
23680 case "(($ac_try" in
23681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;;
23683 esac
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685 (eval "$ac_compile") 2>conftest.er1
23686 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } && {
23692 test -z "$ac_c_werror_flag" ||
23693 test ! -s conftest.err
23694 } && test -s conftest.$ac_objext; then
23695 ac_cv_type_long_long=yes
23696 else
23697 echo "$as_me: failed program was:" >&5
23698 sed 's/^/| /' conftest.$ac_ext >&5
23699
23700 ac_cv_type_long_long=no
23701 fi
23702
23703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23704 fi
23705 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23706 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23707
23708 # The cast to long int works around a bug in the HP C Compiler
23709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23711 # This bug is HP SR number 8606223364.
23712 { echo "$as_me:$LINENO: checking size of long long" >&5
23713 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23714 if test "${ac_cv_sizeof_long_long+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 else
23717 if test "$cross_compiling" = yes; then
23718 # Depending upon the size, compute the lo and hi bounds.
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h. */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725 $ac_includes_default
23726 typedef long long ac__type_sizeof_;
23727 int
23728 main ()
23729 {
23730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23731 test_array [0] = 0
23732
23733 ;
23734 return 0;
23735 }
23736 _ACEOF
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_c_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23754 ac_lo=0 ac_mid=0
23755 while :; do
23756 cat >conftest.$ac_ext <<_ACEOF
23757 /* confdefs.h. */
23758 _ACEOF
23759 cat confdefs.h >>conftest.$ac_ext
23760 cat >>conftest.$ac_ext <<_ACEOF
23761 /* end confdefs.h. */
23762 $ac_includes_default
23763 typedef long long ac__type_sizeof_;
23764 int
23765 main ()
23766 {
23767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23768 test_array [0] = 0
23769
23770 ;
23771 return 0;
23772 }
23773 _ACEOF
23774 rm -f conftest.$ac_objext
23775 if { (ac_try="$ac_compile"
23776 case "(($ac_try" in
23777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23778 *) ac_try_echo=$ac_try;;
23779 esac
23780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23781 (eval "$ac_compile") 2>conftest.er1
23782 ac_status=$?
23783 grep -v '^ *+' conftest.er1 >conftest.err
23784 rm -f conftest.er1
23785 cat conftest.err >&5
23786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23787 (exit $ac_status); } && {
23788 test -z "$ac_c_werror_flag" ||
23789 test ! -s conftest.err
23790 } && test -s conftest.$ac_objext; then
23791 ac_hi=$ac_mid; break
23792 else
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23795
23796 ac_lo=`expr $ac_mid + 1`
23797 if test $ac_lo -le $ac_mid; then
23798 ac_lo= ac_hi=
23799 break
23800 fi
23801 ac_mid=`expr 2 '*' $ac_mid + 1`
23802 fi
23803
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805 done
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23809
23810 cat >conftest.$ac_ext <<_ACEOF
23811 /* confdefs.h. */
23812 _ACEOF
23813 cat confdefs.h >>conftest.$ac_ext
23814 cat >>conftest.$ac_ext <<_ACEOF
23815 /* end confdefs.h. */
23816 $ac_includes_default
23817 typedef long long ac__type_sizeof_;
23818 int
23819 main ()
23820 {
23821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23822 test_array [0] = 0
23823
23824 ;
23825 return 0;
23826 }
23827 _ACEOF
23828 rm -f conftest.$ac_objext
23829 if { (ac_try="$ac_compile"
23830 case "(($ac_try" in
23831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23832 *) ac_try_echo=$ac_try;;
23833 esac
23834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23835 (eval "$ac_compile") 2>conftest.er1
23836 ac_status=$?
23837 grep -v '^ *+' conftest.er1 >conftest.err
23838 rm -f conftest.er1
23839 cat conftest.err >&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); } && {
23842 test -z "$ac_c_werror_flag" ||
23843 test ! -s conftest.err
23844 } && test -s conftest.$ac_objext; then
23845 ac_hi=-1 ac_mid=-1
23846 while :; do
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 $ac_includes_default
23854 typedef long long ac__type_sizeof_;
23855 int
23856 main ()
23857 {
23858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23859 test_array [0] = 0
23860
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext
23866 if { (ac_try="$ac_compile"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23870 esac
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_compile") 2>conftest.er1
23873 ac_status=$?
23874 grep -v '^ *+' conftest.er1 >conftest.err
23875 rm -f conftest.er1
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_c_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest.$ac_objext; then
23882 ac_lo=$ac_mid; break
23883 else
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.$ac_ext >&5
23886
23887 ac_hi=`expr '(' $ac_mid ')' - 1`
23888 if test $ac_mid -le $ac_hi; then
23889 ac_lo= ac_hi=
23890 break
23891 fi
23892 ac_mid=`expr 2 '*' $ac_mid`
23893 fi
23894
23895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896 done
23897 else
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.$ac_ext >&5
23900
23901 ac_lo= ac_hi=
23902 fi
23903
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 fi
23906
23907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908 # Binary search between lo and hi bounds.
23909 while test "x$ac_lo" != "x$ac_hi"; do
23910 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h. */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 $ac_includes_default
23918 typedef long long ac__type_sizeof_;
23919 int
23920 main ()
23921 {
23922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23923 test_array [0] = 0
23924
23925 ;
23926 return 0;
23927 }
23928 _ACEOF
23929 rm -f conftest.$ac_objext
23930 if { (ac_try="$ac_compile"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23934 esac
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_compile") 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_c_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest.$ac_objext; then
23946 ac_hi=$ac_mid
23947 else
23948 echo "$as_me: failed program was:" >&5
23949 sed 's/^/| /' conftest.$ac_ext >&5
23950
23951 ac_lo=`expr '(' $ac_mid ')' + 1`
23952 fi
23953
23954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23955 done
23956 case $ac_lo in
23957 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23958 '') if test "$ac_cv_type_long_long" = yes; then
23959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23960 See \`config.log' for more details." >&5
23961 echo "$as_me: error: cannot compute sizeof (long long)
23962 See \`config.log' for more details." >&2;}
23963 { (exit 77); exit 77; }; }
23964 else
23965 ac_cv_sizeof_long_long=0
23966 fi ;;
23967 esac
23968 else
23969 cat >conftest.$ac_ext <<_ACEOF
23970 /* confdefs.h. */
23971 _ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 $ac_includes_default
23976 typedef long long ac__type_sizeof_;
23977 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23978 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23979 #include <stdio.h>
23980 #include <stdlib.h>
23981 int
23982 main ()
23983 {
23984
23985 FILE *f = fopen ("conftest.val", "w");
23986 if (! f)
23987 return 1;
23988 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23989 {
23990 long int i = longval ();
23991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23992 return 1;
23993 fprintf (f, "%ld\n", i);
23994 }
23995 else
23996 {
23997 unsigned long int i = ulongval ();
23998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23999 return 1;
24000 fprintf (f, "%lu\n", i);
24001 }
24002 return ferror (f) || fclose (f) != 0;
24003
24004 ;
24005 return 0;
24006 }
24007 _ACEOF
24008 rm -f conftest$ac_exeext
24009 if { (ac_try="$ac_link"
24010 case "(($ac_try" in
24011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24012 *) ac_try_echo=$ac_try;;
24013 esac
24014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24015 (eval "$ac_link") 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24019 { (case "(($ac_try" in
24020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021 *) ac_try_echo=$ac_try;;
24022 esac
24023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024 (eval "$ac_try") 2>&5
24025 ac_status=$?
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); }; }; then
24028 ac_cv_sizeof_long_long=`cat conftest.val`
24029 else
24030 echo "$as_me: program exited with status $ac_status" >&5
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034 ( exit $ac_status )
24035 if test "$ac_cv_type_long_long" = yes; then
24036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24037 See \`config.log' for more details." >&5
24038 echo "$as_me: error: cannot compute sizeof (long long)
24039 See \`config.log' for more details." >&2;}
24040 { (exit 77); exit 77; }; }
24041 else
24042 ac_cv_sizeof_long_long=0
24043 fi
24044 fi
24045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24046 fi
24047 rm -f conftest.val
24048 fi
24049 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24050 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24051
24052
24053
24054 cat >>confdefs.h <<_ACEOF
24055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24056 _ACEOF
24057
24058
24059 ;;
24060 *-hp-hpux* )
24061 { echo "$as_me:$LINENO: checking for long long" >&5
24062 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24063 if test "${ac_cv_type_long_long+set}" = set; then
24064 echo $ECHO_N "(cached) $ECHO_C" >&6
24065 else
24066 cat >conftest.$ac_ext <<_ACEOF
24067 /* confdefs.h. */
24068 _ACEOF
24069 cat confdefs.h >>conftest.$ac_ext
24070 cat >>conftest.$ac_ext <<_ACEOF
24071 /* end confdefs.h. */
24072 $ac_includes_default
24073 typedef long long ac__type_new_;
24074 int
24075 main ()
24076 {
24077 if ((ac__type_new_ *) 0)
24078 return 0;
24079 if (sizeof (ac__type_new_))
24080 return 0;
24081 ;
24082 return 0;
24083 }
24084 _ACEOF
24085 rm -f conftest.$ac_objext
24086 if { (ac_try="$ac_compile"
24087 case "(($ac_try" in
24088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24089 *) ac_try_echo=$ac_try;;
24090 esac
24091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24092 (eval "$ac_compile") 2>conftest.er1
24093 ac_status=$?
24094 grep -v '^ *+' conftest.er1 >conftest.err
24095 rm -f conftest.er1
24096 cat conftest.err >&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); } && {
24099 test -z "$ac_c_werror_flag" ||
24100 test ! -s conftest.err
24101 } && test -s conftest.$ac_objext; then
24102 ac_cv_type_long_long=yes
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24106
24107 ac_cv_type_long_long=no
24108 fi
24109
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 fi
24112 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24113 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24114
24115 # The cast to long int works around a bug in the HP C Compiler
24116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24118 # This bug is HP SR number 8606223364.
24119 { echo "$as_me:$LINENO: checking size of long long" >&5
24120 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24121 if test "${ac_cv_sizeof_long_long+set}" = set; then
24122 echo $ECHO_N "(cached) $ECHO_C" >&6
24123 else
24124 if test "$cross_compiling" = yes; then
24125 # Depending upon the size, compute the lo and hi bounds.
24126 cat >conftest.$ac_ext <<_ACEOF
24127 /* confdefs.h. */
24128 _ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 $ac_includes_default
24133 typedef long long ac__type_sizeof_;
24134 int
24135 main ()
24136 {
24137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24138 test_array [0] = 0
24139
24140 ;
24141 return 0;
24142 }
24143 _ACEOF
24144 rm -f conftest.$ac_objext
24145 if { (ac_try="$ac_compile"
24146 case "(($ac_try" in
24147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24148 *) ac_try_echo=$ac_try;;
24149 esac
24150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24151 (eval "$ac_compile") 2>conftest.er1
24152 ac_status=$?
24153 grep -v '^ *+' conftest.er1 >conftest.err
24154 rm -f conftest.er1
24155 cat conftest.err >&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); } && {
24158 test -z "$ac_c_werror_flag" ||
24159 test ! -s conftest.err
24160 } && test -s conftest.$ac_objext; then
24161 ac_lo=0 ac_mid=0
24162 while :; do
24163 cat >conftest.$ac_ext <<_ACEOF
24164 /* confdefs.h. */
24165 _ACEOF
24166 cat confdefs.h >>conftest.$ac_ext
24167 cat >>conftest.$ac_ext <<_ACEOF
24168 /* end confdefs.h. */
24169 $ac_includes_default
24170 typedef long long ac__type_sizeof_;
24171 int
24172 main ()
24173 {
24174 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24175 test_array [0] = 0
24176
24177 ;
24178 return 0;
24179 }
24180 _ACEOF
24181 rm -f conftest.$ac_objext
24182 if { (ac_try="$ac_compile"
24183 case "(($ac_try" in
24184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24185 *) ac_try_echo=$ac_try;;
24186 esac
24187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24188 (eval "$ac_compile") 2>conftest.er1
24189 ac_status=$?
24190 grep -v '^ *+' conftest.er1 >conftest.err
24191 rm -f conftest.er1
24192 cat conftest.err >&5
24193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24194 (exit $ac_status); } && {
24195 test -z "$ac_c_werror_flag" ||
24196 test ! -s conftest.err
24197 } && test -s conftest.$ac_objext; then
24198 ac_hi=$ac_mid; break
24199 else
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.$ac_ext >&5
24202
24203 ac_lo=`expr $ac_mid + 1`
24204 if test $ac_lo -le $ac_mid; then
24205 ac_lo= ac_hi=
24206 break
24207 fi
24208 ac_mid=`expr 2 '*' $ac_mid + 1`
24209 fi
24210
24211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24212 done
24213 else
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.$ac_ext >&5
24216
24217 cat >conftest.$ac_ext <<_ACEOF
24218 /* confdefs.h. */
24219 _ACEOF
24220 cat confdefs.h >>conftest.$ac_ext
24221 cat >>conftest.$ac_ext <<_ACEOF
24222 /* end confdefs.h. */
24223 $ac_includes_default
24224 typedef long long ac__type_sizeof_;
24225 int
24226 main ()
24227 {
24228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24229 test_array [0] = 0
24230
24231 ;
24232 return 0;
24233 }
24234 _ACEOF
24235 rm -f conftest.$ac_objext
24236 if { (ac_try="$ac_compile"
24237 case "(($ac_try" in
24238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24239 *) ac_try_echo=$ac_try;;
24240 esac
24241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24242 (eval "$ac_compile") 2>conftest.er1
24243 ac_status=$?
24244 grep -v '^ *+' conftest.er1 >conftest.err
24245 rm -f conftest.er1
24246 cat conftest.err >&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); } && {
24249 test -z "$ac_c_werror_flag" ||
24250 test ! -s conftest.err
24251 } && test -s conftest.$ac_objext; then
24252 ac_hi=-1 ac_mid=-1
24253 while :; do
24254 cat >conftest.$ac_ext <<_ACEOF
24255 /* confdefs.h. */
24256 _ACEOF
24257 cat confdefs.h >>conftest.$ac_ext
24258 cat >>conftest.$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24260 $ac_includes_default
24261 typedef long long ac__type_sizeof_;
24262 int
24263 main ()
24264 {
24265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24266 test_array [0] = 0
24267
24268 ;
24269 return 0;
24270 }
24271 _ACEOF
24272 rm -f conftest.$ac_objext
24273 if { (ac_try="$ac_compile"
24274 case "(($ac_try" in
24275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24276 *) ac_try_echo=$ac_try;;
24277 esac
24278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24279 (eval "$ac_compile") 2>conftest.er1
24280 ac_status=$?
24281 grep -v '^ *+' conftest.er1 >conftest.err
24282 rm -f conftest.er1
24283 cat conftest.err >&5
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); } && {
24286 test -z "$ac_c_werror_flag" ||
24287 test ! -s conftest.err
24288 } && test -s conftest.$ac_objext; then
24289 ac_lo=$ac_mid; break
24290 else
24291 echo "$as_me: failed program was:" >&5
24292 sed 's/^/| /' conftest.$ac_ext >&5
24293
24294 ac_hi=`expr '(' $ac_mid ')' - 1`
24295 if test $ac_mid -le $ac_hi; then
24296 ac_lo= ac_hi=
24297 break
24298 fi
24299 ac_mid=`expr 2 '*' $ac_mid`
24300 fi
24301
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303 done
24304 else
24305 echo "$as_me: failed program was:" >&5
24306 sed 's/^/| /' conftest.$ac_ext >&5
24307
24308 ac_lo= ac_hi=
24309 fi
24310
24311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24312 fi
24313
24314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315 # Binary search between lo and hi bounds.
24316 while test "x$ac_lo" != "x$ac_hi"; do
24317 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 $ac_includes_default
24325 typedef long long ac__type_sizeof_;
24326 int
24327 main ()
24328 {
24329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24330 test_array [0] = 0
24331
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24341 esac
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24344 ac_status=$?
24345 grep -v '^ *+' conftest.er1 >conftest.err
24346 rm -f conftest.er1
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_c_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24353 ac_hi=$ac_mid
24354 else
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24357
24358 ac_lo=`expr '(' $ac_mid ')' + 1`
24359 fi
24360
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24362 done
24363 case $ac_lo in
24364 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24365 '') if test "$ac_cv_type_long_long" = yes; then
24366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24367 See \`config.log' for more details." >&5
24368 echo "$as_me: error: cannot compute sizeof (long long)
24369 See \`config.log' for more details." >&2;}
24370 { (exit 77); exit 77; }; }
24371 else
24372 ac_cv_sizeof_long_long=0
24373 fi ;;
24374 esac
24375 else
24376 cat >conftest.$ac_ext <<_ACEOF
24377 /* confdefs.h. */
24378 _ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24382 $ac_includes_default
24383 typedef long long ac__type_sizeof_;
24384 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24385 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24386 #include <stdio.h>
24387 #include <stdlib.h>
24388 int
24389 main ()
24390 {
24391
24392 FILE *f = fopen ("conftest.val", "w");
24393 if (! f)
24394 return 1;
24395 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24396 {
24397 long int i = longval ();
24398 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24399 return 1;
24400 fprintf (f, "%ld\n", i);
24401 }
24402 else
24403 {
24404 unsigned long int i = ulongval ();
24405 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24406 return 1;
24407 fprintf (f, "%lu\n", i);
24408 }
24409 return ferror (f) || fclose (f) != 0;
24410
24411 ;
24412 return 0;
24413 }
24414 _ACEOF
24415 rm -f conftest$ac_exeext
24416 if { (ac_try="$ac_link"
24417 case "(($ac_try" in
24418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24420 esac
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_link") 2>&5
24423 ac_status=$?
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24426 { (case "(($ac_try" in
24427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24428 *) ac_try_echo=$ac_try;;
24429 esac
24430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24431 (eval "$ac_try") 2>&5
24432 ac_status=$?
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); }; }; then
24435 ac_cv_sizeof_long_long=`cat conftest.val`
24436 else
24437 echo "$as_me: program exited with status $ac_status" >&5
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24440
24441 ( exit $ac_status )
24442 if test "$ac_cv_type_long_long" = yes; then
24443 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24444 See \`config.log' for more details." >&5
24445 echo "$as_me: error: cannot compute sizeof (long long)
24446 See \`config.log' for more details." >&2;}
24447 { (exit 77); exit 77; }; }
24448 else
24449 ac_cv_sizeof_long_long=0
24450 fi
24451 fi
24452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24453 fi
24454 rm -f conftest.val
24455 fi
24456 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24457 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24458
24459
24460
24461 cat >>confdefs.h <<_ACEOF
24462 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24463 _ACEOF
24464
24465
24466 if test "$ac_cv_sizeof_long_long" != "0"; then
24467 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24468 fi
24469 ;;
24470 * )
24471 { echo "$as_me:$LINENO: checking for long long" >&5
24472 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24473 if test "${ac_cv_type_long_long+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 else
24476 cat >conftest.$ac_ext <<_ACEOF
24477 /* confdefs.h. */
24478 _ACEOF
24479 cat confdefs.h >>conftest.$ac_ext
24480 cat >>conftest.$ac_ext <<_ACEOF
24481 /* end confdefs.h. */
24482 $ac_includes_default
24483 typedef long long ac__type_new_;
24484 int
24485 main ()
24486 {
24487 if ((ac__type_new_ *) 0)
24488 return 0;
24489 if (sizeof (ac__type_new_))
24490 return 0;
24491 ;
24492 return 0;
24493 }
24494 _ACEOF
24495 rm -f conftest.$ac_objext
24496 if { (ac_try="$ac_compile"
24497 case "(($ac_try" in
24498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24499 *) ac_try_echo=$ac_try;;
24500 esac
24501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24502 (eval "$ac_compile") 2>conftest.er1
24503 ac_status=$?
24504 grep -v '^ *+' conftest.er1 >conftest.err
24505 rm -f conftest.er1
24506 cat conftest.err >&5
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } && {
24509 test -z "$ac_c_werror_flag" ||
24510 test ! -s conftest.err
24511 } && test -s conftest.$ac_objext; then
24512 ac_cv_type_long_long=yes
24513 else
24514 echo "$as_me: failed program was:" >&5
24515 sed 's/^/| /' conftest.$ac_ext >&5
24516
24517 ac_cv_type_long_long=no
24518 fi
24519
24520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24521 fi
24522 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24523 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24524
24525 # The cast to long int works around a bug in the HP C Compiler
24526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24528 # This bug is HP SR number 8606223364.
24529 { echo "$as_me:$LINENO: checking size of long long" >&5
24530 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24531 if test "${ac_cv_sizeof_long_long+set}" = set; then
24532 echo $ECHO_N "(cached) $ECHO_C" >&6
24533 else
24534 if test "$cross_compiling" = yes; then
24535 # Depending upon the size, compute the lo and hi bounds.
24536 cat >conftest.$ac_ext <<_ACEOF
24537 /* confdefs.h. */
24538 _ACEOF
24539 cat confdefs.h >>conftest.$ac_ext
24540 cat >>conftest.$ac_ext <<_ACEOF
24541 /* end confdefs.h. */
24542 $ac_includes_default
24543 typedef long long ac__type_sizeof_;
24544 int
24545 main ()
24546 {
24547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24548 test_array [0] = 0
24549
24550 ;
24551 return 0;
24552 }
24553 _ACEOF
24554 rm -f conftest.$ac_objext
24555 if { (ac_try="$ac_compile"
24556 case "(($ac_try" in
24557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24558 *) ac_try_echo=$ac_try;;
24559 esac
24560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24561 (eval "$ac_compile") 2>conftest.er1
24562 ac_status=$?
24563 grep -v '^ *+' conftest.er1 >conftest.err
24564 rm -f conftest.er1
24565 cat conftest.err >&5
24566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567 (exit $ac_status); } && {
24568 test -z "$ac_c_werror_flag" ||
24569 test ! -s conftest.err
24570 } && test -s conftest.$ac_objext; then
24571 ac_lo=0 ac_mid=0
24572 while :; do
24573 cat >conftest.$ac_ext <<_ACEOF
24574 /* confdefs.h. */
24575 _ACEOF
24576 cat confdefs.h >>conftest.$ac_ext
24577 cat >>conftest.$ac_ext <<_ACEOF
24578 /* end confdefs.h. */
24579 $ac_includes_default
24580 typedef long long ac__type_sizeof_;
24581 int
24582 main ()
24583 {
24584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24585 test_array [0] = 0
24586
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24596 esac
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24599 ac_status=$?
24600 grep -v '^ *+' conftest.er1 >conftest.err
24601 rm -f conftest.er1
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_c_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24608 ac_hi=$ac_mid; break
24609 else
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.$ac_ext >&5
24612
24613 ac_lo=`expr $ac_mid + 1`
24614 if test $ac_lo -le $ac_mid; then
24615 ac_lo= ac_hi=
24616 break
24617 fi
24618 ac_mid=`expr 2 '*' $ac_mid + 1`
24619 fi
24620
24621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 done
24623 else
24624 echo "$as_me: failed program was:" >&5
24625 sed 's/^/| /' conftest.$ac_ext >&5
24626
24627 cat >conftest.$ac_ext <<_ACEOF
24628 /* confdefs.h. */
24629 _ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633 $ac_includes_default
24634 typedef long long ac__type_sizeof_;
24635 int
24636 main ()
24637 {
24638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24639 test_array [0] = 0
24640
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_hi=-1 ac_mid=-1
24663 while :; do
24664 cat >conftest.$ac_ext <<_ACEOF
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670 $ac_includes_default
24671 typedef long long ac__type_sizeof_;
24672 int
24673 main ()
24674 {
24675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24676 test_array [0] = 0
24677
24678 ;
24679 return 0;
24680 }
24681 _ACEOF
24682 rm -f conftest.$ac_objext
24683 if { (ac_try="$ac_compile"
24684 case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;;
24687 esac
24688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24689 (eval "$ac_compile") 2>conftest.er1
24690 ac_status=$?
24691 grep -v '^ *+' conftest.er1 >conftest.err
24692 rm -f conftest.er1
24693 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } && {
24696 test -z "$ac_c_werror_flag" ||
24697 test ! -s conftest.err
24698 } && test -s conftest.$ac_objext; then
24699 ac_lo=$ac_mid; break
24700 else
24701 echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24703
24704 ac_hi=`expr '(' $ac_mid ')' - 1`
24705 if test $ac_mid -le $ac_hi; then
24706 ac_lo= ac_hi=
24707 break
24708 fi
24709 ac_mid=`expr 2 '*' $ac_mid`
24710 fi
24711
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 done
24714 else
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24717
24718 ac_lo= ac_hi=
24719 fi
24720
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 fi
24723
24724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24725 # Binary search between lo and hi bounds.
24726 while test "x$ac_lo" != "x$ac_hi"; do
24727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24728 cat >conftest.$ac_ext <<_ACEOF
24729 /* confdefs.h. */
24730 _ACEOF
24731 cat confdefs.h >>conftest.$ac_ext
24732 cat >>conftest.$ac_ext <<_ACEOF
24733 /* end confdefs.h. */
24734 $ac_includes_default
24735 typedef long long ac__type_sizeof_;
24736 int
24737 main ()
24738 {
24739 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24740 test_array [0] = 0
24741
24742 ;
24743 return 0;
24744 }
24745 _ACEOF
24746 rm -f conftest.$ac_objext
24747 if { (ac_try="$ac_compile"
24748 case "(($ac_try" in
24749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24750 *) ac_try_echo=$ac_try;;
24751 esac
24752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24753 (eval "$ac_compile") 2>conftest.er1
24754 ac_status=$?
24755 grep -v '^ *+' conftest.er1 >conftest.err
24756 rm -f conftest.er1
24757 cat conftest.err >&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } && {
24760 test -z "$ac_c_werror_flag" ||
24761 test ! -s conftest.err
24762 } && test -s conftest.$ac_objext; then
24763 ac_hi=$ac_mid
24764 else
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.$ac_ext >&5
24767
24768 ac_lo=`expr '(' $ac_mid ')' + 1`
24769 fi
24770
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 done
24773 case $ac_lo in
24774 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24775 '') if test "$ac_cv_type_long_long" = yes; then
24776 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24777 See \`config.log' for more details." >&5
24778 echo "$as_me: error: cannot compute sizeof (long long)
24779 See \`config.log' for more details." >&2;}
24780 { (exit 77); exit 77; }; }
24781 else
24782 ac_cv_sizeof_long_long=0
24783 fi ;;
24784 esac
24785 else
24786 cat >conftest.$ac_ext <<_ACEOF
24787 /* confdefs.h. */
24788 _ACEOF
24789 cat confdefs.h >>conftest.$ac_ext
24790 cat >>conftest.$ac_ext <<_ACEOF
24791 /* end confdefs.h. */
24792 $ac_includes_default
24793 typedef long long ac__type_sizeof_;
24794 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24795 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24796 #include <stdio.h>
24797 #include <stdlib.h>
24798 int
24799 main ()
24800 {
24801
24802 FILE *f = fopen ("conftest.val", "w");
24803 if (! f)
24804 return 1;
24805 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24806 {
24807 long int i = longval ();
24808 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24809 return 1;
24810 fprintf (f, "%ld\n", i);
24811 }
24812 else
24813 {
24814 unsigned long int i = ulongval ();
24815 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24816 return 1;
24817 fprintf (f, "%lu\n", i);
24818 }
24819 return ferror (f) || fclose (f) != 0;
24820
24821 ;
24822 return 0;
24823 }
24824 _ACEOF
24825 rm -f conftest$ac_exeext
24826 if { (ac_try="$ac_link"
24827 case "(($ac_try" in
24828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829 *) ac_try_echo=$ac_try;;
24830 esac
24831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832 (eval "$ac_link") 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24836 { (case "(($ac_try" in
24837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24838 *) ac_try_echo=$ac_try;;
24839 esac
24840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24841 (eval "$ac_try") 2>&5
24842 ac_status=$?
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); }; }; then
24845 ac_cv_sizeof_long_long=`cat conftest.val`
24846 else
24847 echo "$as_me: program exited with status $ac_status" >&5
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851 ( exit $ac_status )
24852 if test "$ac_cv_type_long_long" = yes; then
24853 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24854 See \`config.log' for more details." >&5
24855 echo "$as_me: error: cannot compute sizeof (long long)
24856 See \`config.log' for more details." >&2;}
24857 { (exit 77); exit 77; }; }
24858 else
24859 ac_cv_sizeof_long_long=0
24860 fi
24861 fi
24862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24863 fi
24864 rm -f conftest.val
24865 fi
24866 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24867 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24868
24869
24870
24871 cat >>confdefs.h <<_ACEOF
24872 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24873 _ACEOF
24874
24875
24876 esac
24877
24878 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24879 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24880 if test "${ac_cv_type_wchar_t+set}" = set; then
24881 echo $ECHO_N "(cached) $ECHO_C" >&6
24882 else
24883 cat >conftest.$ac_ext <<_ACEOF
24884 /* confdefs.h. */
24885 _ACEOF
24886 cat confdefs.h >>conftest.$ac_ext
24887 cat >>conftest.$ac_ext <<_ACEOF
24888 /* end confdefs.h. */
24889
24890 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24891 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24892 # error "fake wchar_t"
24893 #endif
24894 #ifdef HAVE_WCHAR_H
24895 # ifdef __CYGWIN__
24896 # include <stddef.h>
24897 # endif
24898 # include <wchar.h>
24899 #endif
24900 #ifdef HAVE_STDLIB_H
24901 # include <stdlib.h>
24902 #endif
24903 #include <stdio.h>
24904
24905
24906
24907 typedef wchar_t ac__type_new_;
24908 int
24909 main ()
24910 {
24911 if ((ac__type_new_ *) 0)
24912 return 0;
24913 if (sizeof (ac__type_new_))
24914 return 0;
24915 ;
24916 return 0;
24917 }
24918 _ACEOF
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24924 esac
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24927 ac_status=$?
24928 grep -v '^ *+' conftest.er1 >conftest.err
24929 rm -f conftest.er1
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_c_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_cv_type_wchar_t=yes
24937 else
24938 echo "$as_me: failed program was:" >&5
24939 sed 's/^/| /' conftest.$ac_ext >&5
24940
24941 ac_cv_type_wchar_t=no
24942 fi
24943
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24945 fi
24946 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24947 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24948
24949 # The cast to long int works around a bug in the HP C Compiler
24950 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24951 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24952 # This bug is HP SR number 8606223364.
24953 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24954 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24955 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 else
24958 if test "$cross_compiling" = yes; then
24959 # Depending upon the size, compute the lo and hi bounds.
24960 cat >conftest.$ac_ext <<_ACEOF
24961 /* confdefs.h. */
24962 _ACEOF
24963 cat confdefs.h >>conftest.$ac_ext
24964 cat >>conftest.$ac_ext <<_ACEOF
24965 /* end confdefs.h. */
24966
24967 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24968 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24969 # error "fake wchar_t"
24970 #endif
24971 #ifdef HAVE_WCHAR_H
24972 # ifdef __CYGWIN__
24973 # include <stddef.h>
24974 # endif
24975 # include <wchar.h>
24976 #endif
24977 #ifdef HAVE_STDLIB_H
24978 # include <stdlib.h>
24979 #endif
24980 #include <stdio.h>
24981
24982
24983
24984 typedef wchar_t ac__type_sizeof_;
24985 int
24986 main ()
24987 {
24988 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24989 test_array [0] = 0
24990
24991 ;
24992 return 0;
24993 }
24994 _ACEOF
24995 rm -f conftest.$ac_objext
24996 if { (ac_try="$ac_compile"
24997 case "(($ac_try" in
24998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24999 *) ac_try_echo=$ac_try;;
25000 esac
25001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25002 (eval "$ac_compile") 2>conftest.er1
25003 ac_status=$?
25004 grep -v '^ *+' conftest.er1 >conftest.err
25005 rm -f conftest.er1
25006 cat conftest.err >&5
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); } && {
25009 test -z "$ac_c_werror_flag" ||
25010 test ! -s conftest.err
25011 } && test -s conftest.$ac_objext; then
25012 ac_lo=0 ac_mid=0
25013 while :; do
25014 cat >conftest.$ac_ext <<_ACEOF
25015 /* confdefs.h. */
25016 _ACEOF
25017 cat confdefs.h >>conftest.$ac_ext
25018 cat >>conftest.$ac_ext <<_ACEOF
25019 /* end confdefs.h. */
25020
25021 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25022 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25023 # error "fake wchar_t"
25024 #endif
25025 #ifdef HAVE_WCHAR_H
25026 # ifdef __CYGWIN__
25027 # include <stddef.h>
25028 # endif
25029 # include <wchar.h>
25030 #endif
25031 #ifdef HAVE_STDLIB_H
25032 # include <stdlib.h>
25033 #endif
25034 #include <stdio.h>
25035
25036
25037
25038 typedef wchar_t ac__type_sizeof_;
25039 int
25040 main ()
25041 {
25042 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25043 test_array [0] = 0
25044
25045 ;
25046 return 0;
25047 }
25048 _ACEOF
25049 rm -f conftest.$ac_objext
25050 if { (ac_try="$ac_compile"
25051 case "(($ac_try" in
25052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25053 *) ac_try_echo=$ac_try;;
25054 esac
25055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25056 (eval "$ac_compile") 2>conftest.er1
25057 ac_status=$?
25058 grep -v '^ *+' conftest.er1 >conftest.err
25059 rm -f conftest.er1
25060 cat conftest.err >&5
25061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25062 (exit $ac_status); } && {
25063 test -z "$ac_c_werror_flag" ||
25064 test ! -s conftest.err
25065 } && test -s conftest.$ac_objext; then
25066 ac_hi=$ac_mid; break
25067 else
25068 echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25070
25071 ac_lo=`expr $ac_mid + 1`
25072 if test $ac_lo -le $ac_mid; then
25073 ac_lo= ac_hi=
25074 break
25075 fi
25076 ac_mid=`expr 2 '*' $ac_mid + 1`
25077 fi
25078
25079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25080 done
25081 else
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25084
25085 cat >conftest.$ac_ext <<_ACEOF
25086 /* confdefs.h. */
25087 _ACEOF
25088 cat confdefs.h >>conftest.$ac_ext
25089 cat >>conftest.$ac_ext <<_ACEOF
25090 /* end confdefs.h. */
25091
25092 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25093 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25094 # error "fake wchar_t"
25095 #endif
25096 #ifdef HAVE_WCHAR_H
25097 # ifdef __CYGWIN__
25098 # include <stddef.h>
25099 # endif
25100 # include <wchar.h>
25101 #endif
25102 #ifdef HAVE_STDLIB_H
25103 # include <stdlib.h>
25104 #endif
25105 #include <stdio.h>
25106
25107
25108
25109 typedef wchar_t ac__type_sizeof_;
25110 int
25111 main ()
25112 {
25113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25114 test_array [0] = 0
25115
25116 ;
25117 return 0;
25118 }
25119 _ACEOF
25120 rm -f conftest.$ac_objext
25121 if { (ac_try="$ac_compile"
25122 case "(($ac_try" in
25123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25124 *) ac_try_echo=$ac_try;;
25125 esac
25126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25127 (eval "$ac_compile") 2>conftest.er1
25128 ac_status=$?
25129 grep -v '^ *+' conftest.er1 >conftest.err
25130 rm -f conftest.er1
25131 cat conftest.err >&5
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } && {
25134 test -z "$ac_c_werror_flag" ||
25135 test ! -s conftest.err
25136 } && test -s conftest.$ac_objext; then
25137 ac_hi=-1 ac_mid=-1
25138 while :; do
25139 cat >conftest.$ac_ext <<_ACEOF
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145
25146 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25147 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25148 # error "fake wchar_t"
25149 #endif
25150 #ifdef HAVE_WCHAR_H
25151 # ifdef __CYGWIN__
25152 # include <stddef.h>
25153 # endif
25154 # include <wchar.h>
25155 #endif
25156 #ifdef HAVE_STDLIB_H
25157 # include <stdlib.h>
25158 #endif
25159 #include <stdio.h>
25160
25161
25162
25163 typedef wchar_t ac__type_sizeof_;
25164 int
25165 main ()
25166 {
25167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25168 test_array [0] = 0
25169
25170 ;
25171 return 0;
25172 }
25173 _ACEOF
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25179 esac
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25182 ac_status=$?
25183 grep -v '^ *+' conftest.er1 >conftest.err
25184 rm -f conftest.er1
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_c_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 ac_lo=$ac_mid; break
25192 else
25193 echo "$as_me: failed program was:" >&5
25194 sed 's/^/| /' conftest.$ac_ext >&5
25195
25196 ac_hi=`expr '(' $ac_mid ')' - 1`
25197 if test $ac_mid -le $ac_hi; then
25198 ac_lo= ac_hi=
25199 break
25200 fi
25201 ac_mid=`expr 2 '*' $ac_mid`
25202 fi
25203
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205 done
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25209
25210 ac_lo= ac_hi=
25211 fi
25212
25213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25214 fi
25215
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 # Binary search between lo and hi bounds.
25218 while test "x$ac_lo" != "x$ac_hi"; do
25219 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25220 cat >conftest.$ac_ext <<_ACEOF
25221 /* confdefs.h. */
25222 _ACEOF
25223 cat confdefs.h >>conftest.$ac_ext
25224 cat >>conftest.$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25226
25227 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25228 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25229 # error "fake wchar_t"
25230 #endif
25231 #ifdef HAVE_WCHAR_H
25232 # ifdef __CYGWIN__
25233 # include <stddef.h>
25234 # endif
25235 # include <wchar.h>
25236 #endif
25237 #ifdef HAVE_STDLIB_H
25238 # include <stdlib.h>
25239 #endif
25240 #include <stdio.h>
25241
25242
25243
25244 typedef wchar_t ac__type_sizeof_;
25245 int
25246 main ()
25247 {
25248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25249 test_array [0] = 0
25250
25251 ;
25252 return 0;
25253 }
25254 _ACEOF
25255 rm -f conftest.$ac_objext
25256 if { (ac_try="$ac_compile"
25257 case "(($ac_try" in
25258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25259 *) ac_try_echo=$ac_try;;
25260 esac
25261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25262 (eval "$ac_compile") 2>conftest.er1
25263 ac_status=$?
25264 grep -v '^ *+' conftest.er1 >conftest.err
25265 rm -f conftest.er1
25266 cat conftest.err >&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } && {
25269 test -z "$ac_c_werror_flag" ||
25270 test ! -s conftest.err
25271 } && test -s conftest.$ac_objext; then
25272 ac_hi=$ac_mid
25273 else
25274 echo "$as_me: failed program was:" >&5
25275 sed 's/^/| /' conftest.$ac_ext >&5
25276
25277 ac_lo=`expr '(' $ac_mid ')' + 1`
25278 fi
25279
25280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25281 done
25282 case $ac_lo in
25283 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25284 '') if test "$ac_cv_type_wchar_t" = yes; then
25285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25286 See \`config.log' for more details." >&5
25287 echo "$as_me: error: cannot compute sizeof (wchar_t)
25288 See \`config.log' for more details." >&2;}
25289 { (exit 77); exit 77; }; }
25290 else
25291 ac_cv_sizeof_wchar_t=0
25292 fi ;;
25293 esac
25294 else
25295 cat >conftest.$ac_ext <<_ACEOF
25296 /* confdefs.h. */
25297 _ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25301
25302 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25303 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25304 # error "fake wchar_t"
25305 #endif
25306 #ifdef HAVE_WCHAR_H
25307 # ifdef __CYGWIN__
25308 # include <stddef.h>
25309 # endif
25310 # include <wchar.h>
25311 #endif
25312 #ifdef HAVE_STDLIB_H
25313 # include <stdlib.h>
25314 #endif
25315 #include <stdio.h>
25316
25317
25318
25319 typedef wchar_t ac__type_sizeof_;
25320 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25321 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25322 #include <stdio.h>
25323 #include <stdlib.h>
25324 int
25325 main ()
25326 {
25327
25328 FILE *f = fopen ("conftest.val", "w");
25329 if (! f)
25330 return 1;
25331 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25332 {
25333 long int i = longval ();
25334 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25335 return 1;
25336 fprintf (f, "%ld\n", i);
25337 }
25338 else
25339 {
25340 unsigned long int i = ulongval ();
25341 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25342 return 1;
25343 fprintf (f, "%lu\n", i);
25344 }
25345 return ferror (f) || fclose (f) != 0;
25346
25347 ;
25348 return 0;
25349 }
25350 _ACEOF
25351 rm -f conftest$ac_exeext
25352 if { (ac_try="$ac_link"
25353 case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25356 esac
25357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_link") 2>&5
25359 ac_status=$?
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25362 { (case "(($ac_try" in
25363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;;
25365 esac
25366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25367 (eval "$ac_try") 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; }; then
25371 ac_cv_sizeof_wchar_t=`cat conftest.val`
25372 else
25373 echo "$as_me: program exited with status $ac_status" >&5
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25376
25377 ( exit $ac_status )
25378 if test "$ac_cv_type_wchar_t" = yes; then
25379 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25380 See \`config.log' for more details." >&5
25381 echo "$as_me: error: cannot compute sizeof (wchar_t)
25382 See \`config.log' for more details." >&2;}
25383 { (exit 77); exit 77; }; }
25384 else
25385 ac_cv_sizeof_wchar_t=0
25386 fi
25387 fi
25388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25389 fi
25390 rm -f conftest.val
25391 fi
25392 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25393 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25394
25395
25396
25397 cat >>confdefs.h <<_ACEOF
25398 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25399 _ACEOF
25400
25401
25402 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25403 wxUSE_WCHAR_T=yes
25404 else
25405 wxUSE_WCHAR_T=no
25406 fi
25407
25408 { echo "$as_me:$LINENO: checking for va_copy" >&5
25409 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25410 if test "${wx_cv_func_va_copy+set}" = set; then
25411 echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413
25414 ac_ext=cpp
25415 ac_cpp='$CXXCPP $CPPFLAGS'
25416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25419
25420 cat >conftest.$ac_ext <<_ACEOF
25421
25422 #include <stdarg.h>
25423 void foo(char *f, ...)
25424 {
25425 va_list ap1, ap2;
25426 va_start(ap1, f);
25427 va_copy(ap2, ap1);
25428 va_end(ap2);
25429 va_end(ap1);
25430 }
25431 int main()
25432 {
25433 foo("hi", 17);
25434 return 0;
25435 }
25436 _ACEOF
25437 rm -f conftest.$ac_objext conftest$ac_exeext
25438 if { (ac_try="$ac_link"
25439 case "(($ac_try" in
25440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25442 esac
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_link") 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_cxx_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest$ac_exeext &&
25454 $as_test_x conftest$ac_exeext; then
25455 wx_cv_func_va_copy=yes
25456 else
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.$ac_ext >&5
25459
25460 wx_cv_func_va_copy=no
25461
25462 fi
25463
25464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25465 conftest$ac_exeext conftest.$ac_ext
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471
25472
25473
25474 fi
25475 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25476 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25477
25478 if test $wx_cv_func_va_copy = "yes"; then
25479 cat >>confdefs.h <<\_ACEOF
25480 #define HAVE_VA_COPY 1
25481 _ACEOF
25482
25483 else
25484 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25485 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25486 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489
25490 if test "$cross_compiling" = yes; then
25491 wx_cv_type_va_list_lvalue=yes
25492
25493 else
25494 cat >conftest.$ac_ext <<_ACEOF
25495
25496 #include <stdarg.h>
25497 int foo(char *f, ...)
25498 {
25499 va_list ap1, ap2;
25500 va_start(ap1, f);
25501 ap2 = ap1;
25502 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25503 return 1;
25504 va_end(ap2);
25505 va_end(ap1);
25506 return 0;
25507 }
25508 int main()
25509 {
25510 return foo("hi", 17);
25511 }
25512 _ACEOF
25513 rm -f conftest$ac_exeext
25514 if { (ac_try="$ac_link"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_link") 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25524 { (case "(($ac_try" in
25525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25526 *) ac_try_echo=$ac_try;;
25527 esac
25528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25529 (eval "$ac_try") 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; }; then
25533 wx_cv_type_va_list_lvalue=yes
25534 else
25535 echo "$as_me: program exited with status $ac_status" >&5
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.$ac_ext >&5
25538
25539 ( exit $ac_status )
25540 wx_cv_type_va_list_lvalue=no
25541 fi
25542 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25543 fi
25544
25545
25546
25547
25548 fi
25549 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25550 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25551
25552 if test $wx_cv_type_va_list_lvalue != "yes"; then
25553 cat >>confdefs.h <<\_ACEOF
25554 #define VA_LIST_IS_ARRAY 1
25555 _ACEOF
25556
25557 fi
25558 fi
25559
25560 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25561
25562 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25563 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25564 if test "${wx_cv_have_variadic_macros+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567
25568 ac_ext=cpp
25569 ac_cpp='$CXXCPP $CPPFLAGS'
25570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25573
25574 cat >conftest.$ac_ext <<_ACEOF
25575 /* confdefs.h. */
25576 _ACEOF
25577 cat confdefs.h >>conftest.$ac_ext
25578 cat >>conftest.$ac_ext <<_ACEOF
25579 /* end confdefs.h. */
25580
25581 #include <stdio.h>
25582 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25583
25584 int
25585 main ()
25586 {
25587
25588 test("%s %d %p", "test", 1, 0);
25589
25590
25591 ;
25592 return 0;
25593 }
25594 _ACEOF
25595 rm -f conftest.$ac_objext
25596 if { (ac_try="$ac_compile"
25597 case "(($ac_try" in
25598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25599 *) ac_try_echo=$ac_try;;
25600 esac
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_compile") 2>conftest.er1
25603 ac_status=$?
25604 grep -v '^ *+' conftest.er1 >conftest.err
25605 rm -f conftest.er1
25606 cat conftest.err >&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); } && {
25609 test -z "$ac_cxx_werror_flag" ||
25610 test ! -s conftest.err
25611 } && test -s conftest.$ac_objext; then
25612 wx_cv_have_variadic_macros=yes
25613 else
25614 echo "$as_me: failed program was:" >&5
25615 sed 's/^/| /' conftest.$ac_ext >&5
25616
25617 wx_cv_have_variadic_macros=no
25618
25619 fi
25620
25621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25622 ac_ext=c
25623 ac_cpp='$CPP $CPPFLAGS'
25624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25627
25628
25629
25630 fi
25631 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25632 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25633
25634 if test $wx_cv_have_variadic_macros = "yes"; then
25635 cat >>confdefs.h <<\_ACEOF
25636 #define HAVE_VARIADIC_MACROS 1
25637 _ACEOF
25638
25639 fi
25640
25641 fi
25642 # Check whether --enable-largefile was given.
25643 if test "${enable_largefile+set}" = set; then
25644 enableval=$enable_largefile;
25645 fi
25646
25647 if test "$enable_largefile" != no; then
25648 wx_largefile=no
25649
25650 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25651 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25652 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25654 else
25655
25656 cat >conftest.$ac_ext <<_ACEOF
25657 /* confdefs.h. */
25658 _ACEOF
25659 cat confdefs.h >>conftest.$ac_ext
25660 cat >>conftest.$ac_ext <<_ACEOF
25661 /* end confdefs.h. */
25662 #define _FILE_OFFSET_BITS 64
25663 #include <sys/types.h>
25664 int
25665 main ()
25666 {
25667 typedef struct {
25668 unsigned int field: sizeof(off_t) == 8;
25669 } wxlf;
25670
25671 ;
25672 return 0;
25673 }
25674 _ACEOF
25675 rm -f conftest.$ac_objext
25676 if { (ac_try="$ac_compile"
25677 case "(($ac_try" in
25678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25679 *) ac_try_echo=$ac_try;;
25680 esac
25681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25682 (eval "$ac_compile") 2>conftest.er1
25683 ac_status=$?
25684 grep -v '^ *+' conftest.er1 >conftest.err
25685 rm -f conftest.er1
25686 cat conftest.err >&5
25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688 (exit $ac_status); } && {
25689 test -z "$ac_c_werror_flag" ||
25690 test ! -s conftest.err
25691 } && test -s conftest.$ac_objext; then
25692 ac_cv_sys_file_offset_bits=64
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25696
25697 ac_cv_sys_file_offset_bits=no
25698 fi
25699
25700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25701
25702
25703 fi
25704 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25705 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25706
25707 if test "$ac_cv_sys_file_offset_bits" != no; then
25708 wx_largefile=yes
25709 cat >>confdefs.h <<_ACEOF
25710 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25711 _ACEOF
25712
25713 fi
25714
25715 if test "x$wx_largefile" != "xyes"; then
25716
25717 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25718 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25719 if test "${ac_cv_sys_large_files+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 else
25722
25723 cat >conftest.$ac_ext <<_ACEOF
25724 /* confdefs.h. */
25725 _ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729 #define _LARGE_FILES 1
25730 #include <sys/types.h>
25731 int
25732 main ()
25733 {
25734 typedef struct {
25735 unsigned int field: sizeof(off_t) == 8;
25736 } wxlf;
25737
25738 ;
25739 return 0;
25740 }
25741 _ACEOF
25742 rm -f conftest.$ac_objext
25743 if { (ac_try="$ac_compile"
25744 case "(($ac_try" in
25745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25746 *) ac_try_echo=$ac_try;;
25747 esac
25748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25749 (eval "$ac_compile") 2>conftest.er1
25750 ac_status=$?
25751 grep -v '^ *+' conftest.er1 >conftest.err
25752 rm -f conftest.er1
25753 cat conftest.err >&5
25754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755 (exit $ac_status); } && {
25756 test -z "$ac_c_werror_flag" ||
25757 test ! -s conftest.err
25758 } && test -s conftest.$ac_objext; then
25759 ac_cv_sys_large_files=1
25760 else
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25763
25764 ac_cv_sys_large_files=no
25765 fi
25766
25767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25768
25769
25770 fi
25771 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25772 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25773
25774 if test "$ac_cv_sys_large_files" != no; then
25775 wx_largefile=yes
25776 cat >>confdefs.h <<_ACEOF
25777 #define _LARGE_FILES $ac_cv_sys_large_files
25778 _ACEOF
25779
25780 fi
25781
25782 fi
25783
25784 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25785 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25786 if test "x$wx_largefile" = "xyes"; then
25787 cat >>confdefs.h <<\_ACEOF
25788 #define HAVE_LARGEFILE_SUPPORT 1
25789 _ACEOF
25790
25791 fi
25792 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25793 echo "${ECHO_T}$wx_largefile" >&6; }
25794 fi
25795
25796
25797 if test "x$wx_largefile" = "xyes"; then
25798 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25799 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25800
25801 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25802 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25803 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25804 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807
25808 ac_ext=cpp
25809 ac_cpp='$CXXCPP $CPPFLAGS'
25810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25813
25814 cat >conftest.$ac_ext <<_ACEOF
25815 /* confdefs.h. */
25816 _ACEOF
25817 cat confdefs.h >>conftest.$ac_ext
25818 cat >>conftest.$ac_ext <<_ACEOF
25819 /* end confdefs.h. */
25820
25821 int
25822 main ()
25823 {
25824
25825 #ifndef __STDC_EXT__
25826 choke me
25827 #endif
25828
25829 ;
25830 return 0;
25831 }
25832 _ACEOF
25833 rm -f conftest.$ac_objext
25834 if { (ac_try="$ac_compile"
25835 case "(($ac_try" in
25836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25837 *) ac_try_echo=$ac_try;;
25838 esac
25839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25840 (eval "$ac_compile") 2>conftest.er1
25841 ac_status=$?
25842 grep -v '^ *+' conftest.er1 >conftest.err
25843 rm -f conftest.er1
25844 cat conftest.err >&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); } && {
25847 test -z "$ac_cxx_werror_flag" ||
25848 test ! -s conftest.err
25849 } && test -s conftest.$ac_objext; then
25850 wx_cv_STDC_EXT_required=no
25851 else
25852 echo "$as_me: failed program was:" >&5
25853 sed 's/^/| /' conftest.$ac_ext >&5
25854
25855 wx_cv_STDC_EXT_required=yes
25856
25857 fi
25858
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860 ac_ext=c
25861 ac_cpp='$CPP $CPPFLAGS'
25862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25865
25866
25867
25868 fi
25869 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25870 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25871 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25872 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25873 fi
25874 fi
25875 else
25876 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25877 fi
25878 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25879 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25880 if test "${ac_cv_sys_largefile_source+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 else
25883 while :; do
25884 cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h. */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25890 #include <sys/types.h> /* for off_t */
25891 #include <stdio.h>
25892 int
25893 main ()
25894 {
25895 int (*fp) (FILE *, off_t, int) = fseeko;
25896 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25897 ;
25898 return 0;
25899 }
25900 _ACEOF
25901 rm -f conftest.$ac_objext conftest$ac_exeext
25902 if { (ac_try="$ac_link"
25903 case "(($ac_try" in
25904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25905 *) ac_try_echo=$ac_try;;
25906 esac
25907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25908 (eval "$ac_link") 2>conftest.er1
25909 ac_status=$?
25910 grep -v '^ *+' conftest.er1 >conftest.err
25911 rm -f conftest.er1
25912 cat conftest.err >&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); } && {
25915 test -z "$ac_c_werror_flag" ||
25916 test ! -s conftest.err
25917 } && test -s conftest$ac_exeext &&
25918 $as_test_x conftest$ac_exeext; then
25919 ac_cv_sys_largefile_source=no; break
25920 else
25921 echo "$as_me: failed program was:" >&5
25922 sed 's/^/| /' conftest.$ac_ext >&5
25923
25924
25925 fi
25926
25927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25928 conftest$ac_exeext conftest.$ac_ext
25929 cat >conftest.$ac_ext <<_ACEOF
25930 /* confdefs.h. */
25931 _ACEOF
25932 cat confdefs.h >>conftest.$ac_ext
25933 cat >>conftest.$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935 #define _LARGEFILE_SOURCE 1
25936 #include <sys/types.h> /* for off_t */
25937 #include <stdio.h>
25938 int
25939 main ()
25940 {
25941 int (*fp) (FILE *, off_t, int) = fseeko;
25942 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25943 ;
25944 return 0;
25945 }
25946 _ACEOF
25947 rm -f conftest.$ac_objext conftest$ac_exeext
25948 if { (ac_try="$ac_link"
25949 case "(($ac_try" in
25950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25951 *) ac_try_echo=$ac_try;;
25952 esac
25953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25954 (eval "$ac_link") 2>conftest.er1
25955 ac_status=$?
25956 grep -v '^ *+' conftest.er1 >conftest.err
25957 rm -f conftest.er1
25958 cat conftest.err >&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); } && {
25961 test -z "$ac_c_werror_flag" ||
25962 test ! -s conftest.err
25963 } && test -s conftest$ac_exeext &&
25964 $as_test_x conftest$ac_exeext; then
25965 ac_cv_sys_largefile_source=1; break
25966 else
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970
25971 fi
25972
25973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25974 conftest$ac_exeext conftest.$ac_ext
25975 ac_cv_sys_largefile_source=unknown
25976 break
25977 done
25978 fi
25979 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25980 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25981 case $ac_cv_sys_largefile_source in #(
25982 no | unknown) ;;
25983 *)
25984 cat >>confdefs.h <<_ACEOF
25985 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25986 _ACEOF
25987 ;;
25988 esac
25989 rm -f conftest*
25990
25991 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25992 # in glibc 2.1.3, but that breaks too many other things.
25993 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25994 if test $ac_cv_sys_largefile_source != unknown; then
25995
25996 cat >>confdefs.h <<\_ACEOF
25997 #define HAVE_FSEEKO 1
25998 _ACEOF
25999
26000 fi
26001
26002 if test "$ac_cv_sys_largefile_source" != no; then
26003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
26004 fi
26005 fi
26006
26007 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26008 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
26009 if test "${ac_cv_c_bigendian+set}" = set; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 else
26012 ac_cv_c_bigendian=unknown
26013 # See if sys/param.h defines the BYTE_ORDER macro.
26014 cat >conftest.$ac_ext <<_ACEOF
26015 /* confdefs.h. */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 #include <sys/types.h>
26021 #include <sys/param.h>
26022 int
26023 main ()
26024 {
26025
26026 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26027 bogus endian macros
26028 #endif
26029 ;
26030 return 0;
26031 }
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (ac_try="$ac_compile"
26035 case "(($ac_try" in
26036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26037 *) ac_try_echo=$ac_try;;
26038 esac
26039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26040 (eval "$ac_compile") 2>conftest.er1
26041 ac_status=$?
26042 grep -v '^ *+' conftest.er1 >conftest.err
26043 rm -f conftest.er1
26044 cat conftest.err >&5
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); } && {
26047 test -z "$ac_c_werror_flag" ||
26048 test ! -s conftest.err
26049 } && test -s conftest.$ac_objext; then
26050 # It does; now see whether it defined to BIG_ENDIAN or not.
26051 cat >conftest.$ac_ext <<_ACEOF
26052 /* confdefs.h. */
26053 _ACEOF
26054 cat confdefs.h >>conftest.$ac_ext
26055 cat >>conftest.$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057 #include <sys/types.h>
26058 #include <sys/param.h>
26059 int
26060 main ()
26061 {
26062
26063 #if BYTE_ORDER != BIG_ENDIAN
26064 not big endian
26065 #endif
26066 ;
26067 return 0;
26068 }
26069 _ACEOF
26070 rm -f conftest.$ac_objext
26071 if { (ac_try="$ac_compile"
26072 case "(($ac_try" in
26073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26074 *) ac_try_echo=$ac_try;;
26075 esac
26076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26077 (eval "$ac_compile") 2>conftest.er1
26078 ac_status=$?
26079 grep -v '^ *+' conftest.er1 >conftest.err
26080 rm -f conftest.er1
26081 cat conftest.err >&5
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); } && {
26084 test -z "$ac_c_werror_flag" ||
26085 test ! -s conftest.err
26086 } && test -s conftest.$ac_objext; then
26087 ac_cv_c_bigendian=yes
26088 else
26089 echo "$as_me: failed program was:" >&5
26090 sed 's/^/| /' conftest.$ac_ext >&5
26091
26092 ac_cv_c_bigendian=no
26093 fi
26094
26095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26099
26100
26101 fi
26102
26103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26104 if test $ac_cv_c_bigendian = unknown; then
26105 if test "$cross_compiling" = yes; then
26106 ac_cv_c_bigendian=unknown
26107 else
26108 cat >conftest.$ac_ext <<_ACEOF
26109 /* confdefs.h. */
26110 _ACEOF
26111 cat confdefs.h >>conftest.$ac_ext
26112 cat >>conftest.$ac_ext <<_ACEOF
26113 /* end confdefs.h. */
26114 main () {
26115 /* Are we little or big endian? From Harbison&Steele. */
26116 union
26117 {
26118 long l;
26119 char c[sizeof (long)];
26120 } u;
26121 u.l = 1;
26122 exit (u.c[sizeof (long) - 1] == 1);
26123 }
26124 _ACEOF
26125 rm -f conftest$ac_exeext
26126 if { (ac_try="$ac_link"
26127 case "(($ac_try" in
26128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26129 *) ac_try_echo=$ac_try;;
26130 esac
26131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26132 (eval "$ac_link") 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26136 { (case "(($ac_try" in
26137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26138 *) ac_try_echo=$ac_try;;
26139 esac
26140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26141 (eval "$ac_try") 2>&5
26142 ac_status=$?
26143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26144 (exit $ac_status); }; }; then
26145 ac_cv_c_bigendian=no
26146 else
26147 echo "$as_me: program exited with status $ac_status" >&5
26148 echo "$as_me: failed program was:" >&5
26149 sed 's/^/| /' conftest.$ac_ext >&5
26150
26151 ( exit $ac_status )
26152 ac_cv_c_bigendian=yes
26153 fi
26154 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26155 fi
26156
26157
26158 fi
26159 fi
26160 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26161 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26162 if test $ac_cv_c_bigendian = unknown; then
26163 { 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
26164 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;}
26165 fi
26166 if test $ac_cv_c_bigendian = yes; then
26167 cat >>confdefs.h <<\_ACEOF
26168 #define WORDS_BIGENDIAN 1
26169 _ACEOF
26170
26171 fi
26172
26173
26174
26175
26176 ac_ext=cpp
26177 ac_cpp='$CXXCPP $CPPFLAGS'
26178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26181
26182
26183
26184 for ac_header in iostream
26185 do
26186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26187 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198
26199
26200 #include <$ac_header>
26201 _ACEOF
26202 rm -f conftest.$ac_objext
26203 if { (ac_try="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26207 esac
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26219 eval "$as_ac_Header=yes"
26220 else
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26223
26224 eval "$as_ac_Header=no"
26225 fi
26226
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26228 fi
26229 ac_res=`eval echo '${'$as_ac_Header'}'`
26230 { echo "$as_me:$LINENO: result: $ac_res" >&5
26231 echo "${ECHO_T}$ac_res" >&6; }
26232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26233 cat >>confdefs.h <<_ACEOF
26234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26235 _ACEOF
26236
26237 fi
26238
26239 done
26240
26241
26242 if test "$ac_cv_header_iostream" = "yes" ; then
26243 :
26244 else
26245 cat >>confdefs.h <<\_ACEOF
26246 #define wxUSE_IOSTREAMH 1
26247 _ACEOF
26248
26249 fi
26250
26251 ac_ext=c
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26256
26257
26258
26259
26260 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26261 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26262 if test "${wx_cv_cpp_bool+set}" = set; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 else
26265
26266
26267 ac_ext=cpp
26268 ac_cpp='$CXXCPP $CPPFLAGS'
26269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26272
26273
26274 cat >conftest.$ac_ext <<_ACEOF
26275 /* confdefs.h. */
26276 _ACEOF
26277 cat confdefs.h >>conftest.$ac_ext
26278 cat >>conftest.$ac_ext <<_ACEOF
26279 /* end confdefs.h. */
26280
26281
26282 int
26283 main ()
26284 {
26285
26286 bool b = true;
26287
26288 return 0;
26289
26290 ;
26291 return 0;
26292 }
26293 _ACEOF
26294 rm -f conftest.$ac_objext
26295 if { (ac_try="$ac_compile"
26296 case "(($ac_try" in
26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26298 *) ac_try_echo=$ac_try;;
26299 esac
26300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26301 (eval "$ac_compile") 2>conftest.er1
26302 ac_status=$?
26303 grep -v '^ *+' conftest.er1 >conftest.err
26304 rm -f conftest.er1
26305 cat conftest.err >&5
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); } && {
26308 test -z "$ac_cxx_werror_flag" ||
26309 test ! -s conftest.err
26310 } && test -s conftest.$ac_objext; then
26311
26312 wx_cv_cpp_bool=yes
26313
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318
26319 wx_cv_cpp_bool=no
26320
26321
26322 fi
26323
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325
26326 ac_ext=c
26327 ac_cpp='$CPP $CPPFLAGS'
26328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26331
26332
26333 fi
26334 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26335 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26336
26337 if test "$wx_cv_cpp_bool" = "yes"; then
26338 cat >>confdefs.h <<\_ACEOF
26339 #define HAVE_BOOL 1
26340 _ACEOF
26341
26342 fi
26343
26344
26345
26346 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26347 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26348 if test "${wx_cv_explicit+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26351
26352
26353 ac_ext=cpp
26354 ac_cpp='$CXXCPP $CPPFLAGS'
26355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26358
26359
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366
26367 class Foo { public: explicit Foo(int) {} };
26368
26369 int
26370 main ()
26371 {
26372
26373 return 0;
26374
26375 ;
26376 return 0;
26377 }
26378 _ACEOF
26379 rm -f conftest.$ac_objext
26380 if { (ac_try="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26384 esac
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26387 ac_status=$?
26388 grep -v '^ *+' conftest.er1 >conftest.err
26389 rm -f conftest.er1
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && {
26393 test -z "$ac_cxx_werror_flag" ||
26394 test ! -s conftest.err
26395 } && test -s conftest.$ac_objext; then
26396
26397 cat >conftest.$ac_ext <<_ACEOF
26398 /* confdefs.h. */
26399 _ACEOF
26400 cat confdefs.h >>conftest.$ac_ext
26401 cat >>conftest.$ac_ext <<_ACEOF
26402 /* end confdefs.h. */
26403
26404 class Foo { public: explicit Foo(int) {} };
26405 static void TakeFoo(const Foo& foo) { }
26406
26407 int
26408 main ()
26409 {
26410
26411 TakeFoo(17);
26412 return 0;
26413
26414 ;
26415 return 0;
26416 }
26417 _ACEOF
26418 rm -f conftest.$ac_objext
26419 if { (ac_try="$ac_compile"
26420 case "(($ac_try" in
26421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26422 *) ac_try_echo=$ac_try;;
26423 esac
26424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26425 (eval "$ac_compile") 2>conftest.er1
26426 ac_status=$?
26427 grep -v '^ *+' conftest.er1 >conftest.err
26428 rm -f conftest.er1
26429 cat conftest.err >&5
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); } && {
26432 test -z "$ac_cxx_werror_flag" ||
26433 test ! -s conftest.err
26434 } && test -s conftest.$ac_objext; then
26435 wx_cv_explicit=no
26436 else
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.$ac_ext >&5
26439
26440 wx_cv_explicit=yes
26441
26442 fi
26443
26444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26445
26446 else
26447 echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26449
26450 wx_cv_explicit=no
26451
26452 fi
26453
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455
26456 ac_ext=c
26457 ac_cpp='$CPP $CPPFLAGS'
26458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26461
26462
26463 fi
26464 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26465 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26466
26467 if test "$wx_cv_explicit" = "yes"; then
26468 cat >>confdefs.h <<\_ACEOF
26469 #define HAVE_EXPLICIT 1
26470 _ACEOF
26471
26472 fi
26473
26474
26475 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26476 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26477 if test "${ac_cv_cxx_const_cast+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 else
26480
26481 ac_ext=cpp
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26486
26487 cat >conftest.$ac_ext <<_ACEOF
26488 /* confdefs.h. */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493
26494 int
26495 main ()
26496 {
26497 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26498 ;
26499 return 0;
26500 }
26501 _ACEOF
26502 rm -f conftest.$ac_objext
26503 if { (ac_try="$ac_compile"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506 *) ac_try_echo=$ac_try;;
26507 esac
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_compile") 2>conftest.er1
26510 ac_status=$?
26511 grep -v '^ *+' conftest.er1 >conftest.err
26512 rm -f conftest.er1
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } && {
26516 test -z "$ac_cxx_werror_flag" ||
26517 test ! -s conftest.err
26518 } && test -s conftest.$ac_objext; then
26519 ac_cv_cxx_const_cast=yes
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 ac_cv_cxx_const_cast=no
26525 fi
26526
26527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26533
26534
26535 fi
26536 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26537 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26538 if test "$ac_cv_cxx_const_cast" = yes; then
26539
26540 cat >>confdefs.h <<\_ACEOF
26541 #define HAVE_CONST_CAST
26542 _ACEOF
26543
26544 fi
26545
26546 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26547 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26548 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26549 echo $ECHO_N "(cached) $ECHO_C" >&6
26550 else
26551
26552 ac_ext=cpp
26553 ac_cpp='$CXXCPP $CPPFLAGS'
26554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26557
26558 cat >conftest.$ac_ext <<_ACEOF
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 #include <typeinfo>
26565 class Base { public : Base () {} virtual void f () = 0;};
26566 class Derived : public Base { public : Derived () {} virtual void f () {} };
26567 class Unrelated { public : Unrelated () {} };
26568 int g (Unrelated&) { return 0; }
26569 int
26570 main ()
26571 {
26572
26573 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26574 ;
26575 return 0;
26576 }
26577 _ACEOF
26578 rm -f conftest.$ac_objext
26579 if { (ac_try="$ac_compile"
26580 case "(($ac_try" in
26581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26582 *) ac_try_echo=$ac_try;;
26583 esac
26584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26585 (eval "$ac_compile") 2>conftest.er1
26586 ac_status=$?
26587 grep -v '^ *+' conftest.er1 >conftest.err
26588 rm -f conftest.er1
26589 cat conftest.err >&5
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); } && {
26592 test -z "$ac_cxx_werror_flag" ||
26593 test ! -s conftest.err
26594 } && test -s conftest.$ac_objext; then
26595 ac_cv_cxx_reinterpret_cast=yes
26596 else
26597 echo "$as_me: failed program was:" >&5
26598 sed 's/^/| /' conftest.$ac_ext >&5
26599
26600 ac_cv_cxx_reinterpret_cast=no
26601 fi
26602
26603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26604 ac_ext=c
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26609
26610
26611 fi
26612 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26613 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26614 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26615
26616 cat >>confdefs.h <<\_ACEOF
26617 #define HAVE_REINTERPRET_CAST
26618 _ACEOF
26619
26620 fi
26621
26622 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26623 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26624 if test "${ac_cv_cxx_static_cast+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 else
26627
26628 ac_ext=cpp
26629 ac_cpp='$CXXCPP $CPPFLAGS'
26630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26633
26634 cat >conftest.$ac_ext <<_ACEOF
26635 /* confdefs.h. */
26636 _ACEOF
26637 cat confdefs.h >>conftest.$ac_ext
26638 cat >>conftest.$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26640 #include <typeinfo>
26641 class Base { public : Base () {} virtual void f () = 0; };
26642 class Derived : public Base { public : Derived () {} virtual void f () {} };
26643 int g (Derived&) { return 0; }
26644 int
26645 main ()
26646 {
26647
26648 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26649 ;
26650 return 0;
26651 }
26652 _ACEOF
26653 rm -f conftest.$ac_objext
26654 if { (ac_try="$ac_compile"
26655 case "(($ac_try" in
26656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26657 *) ac_try_echo=$ac_try;;
26658 esac
26659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26660 (eval "$ac_compile") 2>conftest.er1
26661 ac_status=$?
26662 grep -v '^ *+' conftest.er1 >conftest.err
26663 rm -f conftest.er1
26664 cat conftest.err >&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); } && {
26667 test -z "$ac_cxx_werror_flag" ||
26668 test ! -s conftest.err
26669 } && test -s conftest.$ac_objext; then
26670 ac_cv_cxx_static_cast=yes
26671 else
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26674
26675 ac_cv_cxx_static_cast=no
26676 fi
26677
26678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26679 ac_ext=c
26680 ac_cpp='$CPP $CPPFLAGS'
26681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26684
26685
26686 fi
26687 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26688 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26689 if test "$ac_cv_cxx_static_cast" = yes; then
26690
26691 cat >>confdefs.h <<\_ACEOF
26692 #define HAVE_STATIC_CAST
26693 _ACEOF
26694
26695 fi
26696
26697
26698 if test "x$SUNCXX" = xyes; then
26699 CXXFLAGS="-features=tmplife $CXXFLAGS"
26700 fi
26701
26702 if test "x$SUNCC" = xyes; then
26703 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26704 fi
26705
26706 if test "x$SGICC" = "xyes"; then
26707 CFLAGS="-woff 3970 $CFLAGS"
26708 fi
26709 if test "x$SGICXX" = "xyes"; then
26710 CXXFLAGS="-woff 3970 $CXXFLAGS"
26711 fi
26712
26713 if test "x$HPCC" = "xyes"; then
26714 CFLAGS="+W 2011,2450 $CFLAGS"
26715 fi
26716 if test "x$HPCXX" = "xyes"; then
26717 CXXFLAGS="+W 2340 $CXXFLAGS"
26718 fi
26719
26720 if test "x$COMPAQCXX" = "xyes"; then
26721 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26722 fi
26723
26724 ac_ext=cpp
26725 ac_cpp='$CXXCPP $CPPFLAGS'
26726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26729
26730
26731 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26732 if test "$wxUSE_UNICODE" = "yes"; then
26733 std_string="std::wstring"
26734 char_type="wchar_t"
26735 else
26736 std_string="std::string"
26737 char_type="char"
26738 fi
26739
26740 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26741 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26742 if test "${wx_cv_class_stdstring+set}" = set; then
26743 echo $ECHO_N "(cached) $ECHO_C" >&6
26744 else
26745
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 int
26754 main ()
26755 {
26756 $std_string foo;
26757 ;
26758 return 0;
26759 }
26760 _ACEOF
26761 rm -f conftest.$ac_objext
26762 if { (ac_try="$ac_compile"
26763 case "(($ac_try" in
26764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26765 *) ac_try_echo=$ac_try;;
26766 esac
26767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26768 (eval "$ac_compile") 2>conftest.er1
26769 ac_status=$?
26770 grep -v '^ *+' conftest.er1 >conftest.err
26771 rm -f conftest.er1
26772 cat conftest.err >&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } && {
26775 test -z "$ac_cxx_werror_flag" ||
26776 test ! -s conftest.err
26777 } && test -s conftest.$ac_objext; then
26778 wx_cv_class_stdstring=yes
26779 else
26780 echo "$as_me: failed program was:" >&5
26781 sed 's/^/| /' conftest.$ac_ext >&5
26782
26783 wx_cv_class_stdstring=no
26784
26785 fi
26786
26787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26788
26789
26790 fi
26791 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26792 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26793
26794 if test "$wx_cv_class_stdstring" = yes; then
26795 if test "$wxUSE_UNICODE" = "yes"; then
26796 cat >>confdefs.h <<\_ACEOF
26797 #define HAVE_STD_WSTRING 1
26798 _ACEOF
26799
26800 fi
26801 else
26802 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26803 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26804 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26805 echo $ECHO_N "(cached) $ECHO_C" >&6
26806 else
26807
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814
26815 #ifdef HAVE_WCHAR_H
26816 # ifdef __CYGWIN__
26817 # include <stddef.h>
26818 # endif
26819 # include <wchar.h>
26820 #endif
26821 #ifdef HAVE_STDLIB_H
26822 # include <stdlib.h>
26823 #endif
26824 #include <stdio.h>
26825 #include <string>
26826
26827 int
26828 main ()
26829 {
26830 std::basic_string<$char_type> foo;
26831 const $char_type* dummy = foo.c_str();
26832 ;
26833 return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26840 *) ac_try_echo=$ac_try;;
26841 esac
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26844 ac_status=$?
26845 grep -v '^ *+' conftest.er1 >conftest.err
26846 rm -f conftest.er1
26847 cat conftest.err >&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_cxx_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.$ac_objext; then
26853 wx_cv_class_stdbasicstring=yes
26854 else
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.$ac_ext >&5
26857
26858 wx_cv_class_stdbasicstring=no
26859
26860 fi
26861
26862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26863
26864
26865 fi
26866 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26867 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26868
26869 if test "$wx_cv_class_stdbasicstring" != yes; then
26870 if test "$wxUSE_STL" = "yes"; then
26871 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26872 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26873 { (exit 1); exit 1; }; }
26874 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26875 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26876 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26877 { (exit 1); exit 1; }; }
26878 else
26879 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26880 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26881 wxUSE_STD_STRING=no
26882 fi
26883 fi
26884 fi
26885 fi
26886
26887 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26888 { echo "$as_me:$LINENO: checking for std::istream" >&5
26889 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26890 if test "${ac_cv_type_std__istream+set}" = set; then
26891 echo $ECHO_N "(cached) $ECHO_C" >&6
26892 else
26893 cat >conftest.$ac_ext <<_ACEOF
26894 /* confdefs.h. */
26895 _ACEOF
26896 cat confdefs.h >>conftest.$ac_ext
26897 cat >>conftest.$ac_ext <<_ACEOF
26898 /* end confdefs.h. */
26899 #include <iostream>
26900
26901 typedef std::istream ac__type_new_;
26902 int
26903 main ()
26904 {
26905 if ((ac__type_new_ *) 0)
26906 return 0;
26907 if (sizeof (ac__type_new_))
26908 return 0;
26909 ;
26910 return 0;
26911 }
26912 _ACEOF
26913 rm -f conftest.$ac_objext
26914 if { (ac_try="$ac_compile"
26915 case "(($ac_try" in
26916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26917 *) ac_try_echo=$ac_try;;
26918 esac
26919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26920 (eval "$ac_compile") 2>conftest.er1
26921 ac_status=$?
26922 grep -v '^ *+' conftest.er1 >conftest.err
26923 rm -f conftest.er1
26924 cat conftest.err >&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); } && {
26927 test -z "$ac_cxx_werror_flag" ||
26928 test ! -s conftest.err
26929 } && test -s conftest.$ac_objext; then
26930 ac_cv_type_std__istream=yes
26931 else
26932 echo "$as_me: failed program was:" >&5
26933 sed 's/^/| /' conftest.$ac_ext >&5
26934
26935 ac_cv_type_std__istream=no
26936 fi
26937
26938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26939 fi
26940 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26941 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26942 if test $ac_cv_type_std__istream = yes; then
26943
26944 cat >>confdefs.h <<_ACEOF
26945 #define HAVE_STD__ISTREAM 1
26946 _ACEOF
26947
26948
26949 else
26950 wxUSE_STD_IOSTREAM=no
26951 fi
26952 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26953 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26954 if test "${ac_cv_type_std__ostream+set}" = set; then
26955 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 else
26957 cat >conftest.$ac_ext <<_ACEOF
26958 /* confdefs.h. */
26959 _ACEOF
26960 cat confdefs.h >>conftest.$ac_ext
26961 cat >>conftest.$ac_ext <<_ACEOF
26962 /* end confdefs.h. */
26963 #include <iostream>
26964
26965 typedef std::ostream ac__type_new_;
26966 int
26967 main ()
26968 {
26969 if ((ac__type_new_ *) 0)
26970 return 0;
26971 if (sizeof (ac__type_new_))
26972 return 0;
26973 ;
26974 return 0;
26975 }
26976 _ACEOF
26977 rm -f conftest.$ac_objext
26978 if { (ac_try="$ac_compile"
26979 case "(($ac_try" in
26980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26981 *) ac_try_echo=$ac_try;;
26982 esac
26983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26984 (eval "$ac_compile") 2>conftest.er1
26985 ac_status=$?
26986 grep -v '^ *+' conftest.er1 >conftest.err
26987 rm -f conftest.er1
26988 cat conftest.err >&5
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); } && {
26991 test -z "$ac_cxx_werror_flag" ||
26992 test ! -s conftest.err
26993 } && test -s conftest.$ac_objext; then
26994 ac_cv_type_std__ostream=yes
26995 else
26996 echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
26998
26999 ac_cv_type_std__ostream=no
27000 fi
27001
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27003 fi
27004 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
27005 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
27006 if test $ac_cv_type_std__ostream = yes; then
27007
27008 cat >>confdefs.h <<_ACEOF
27009 #define HAVE_STD__OSTREAM 1
27010 _ACEOF
27011
27012
27013 else
27014 wxUSE_STD_IOSTREAM=no
27015 fi
27016
27017
27018 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
27019 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
27020 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
27021 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
27022 { (exit 1); exit 1; }; }
27023 else
27024 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
27025 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
27026 fi
27027 fi
27028 fi
27029
27030 if test "$wxUSE_STL" = "yes"; then
27031 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
27032 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
27033 if test "${wx_cv_lib_stl+set}" = set; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27035 else
27036 cat >conftest.$ac_ext <<_ACEOF
27037 /* confdefs.h. */
27038 _ACEOF
27039 cat confdefs.h >>conftest.$ac_ext
27040 cat >>conftest.$ac_ext <<_ACEOF
27041 /* end confdefs.h. */
27042 #include <string>
27043 #include <functional>
27044 #include <algorithm>
27045 #include <vector>
27046 #include <list>
27047 int
27048 main ()
27049 {
27050 std::vector<int> moo;
27051 std::list<int> foo;
27052 std::vector<int>::iterator it =
27053 std::find_if(moo.begin(), moo.end(),
27054 std::bind2nd(std::less<int>(), 3));
27055 ;
27056 return 0;
27057 }
27058 _ACEOF
27059 rm -f conftest.$ac_objext
27060 if { (ac_try="$ac_compile"
27061 case "(($ac_try" in
27062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27063 *) ac_try_echo=$ac_try;;
27064 esac
27065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066 (eval "$ac_compile") 2>conftest.er1
27067 ac_status=$?
27068 grep -v '^ *+' conftest.er1 >conftest.err
27069 rm -f conftest.er1
27070 cat conftest.err >&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } && {
27073 test -z "$ac_cxx_werror_flag" ||
27074 test ! -s conftest.err
27075 } && test -s conftest.$ac_objext; then
27076 wx_cv_lib_stl=yes
27077 else
27078 echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 wx_cv_lib_stl=no
27082
27083 fi
27084
27085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27086
27087 fi
27088 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27089 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27090
27091 if test "$wx_cv_lib_stl" != yes; then
27092 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27093 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27094 { (exit 1); exit 1; }; }
27095 fi
27096
27097 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27098 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27099 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27100 echo $ECHO_N "(cached) $ECHO_C" >&6
27101 else
27102 cat >conftest.$ac_ext <<_ACEOF
27103 /* confdefs.h. */
27104 _ACEOF
27105 cat confdefs.h >>conftest.$ac_ext
27106 cat >>conftest.$ac_ext <<_ACEOF
27107 /* end confdefs.h. */
27108 #include <string>
27109 int
27110 main ()
27111 {
27112 std::string foo, bar;
27113 foo.compare(bar);
27114 foo.compare(1, 1, bar);
27115 foo.compare(1, 1, bar, 1, 1);
27116 foo.compare("");
27117 foo.compare(1, 1, "");
27118 foo.compare(1, 1, "", 2);
27119 ;
27120 return 0;
27121 }
27122 _ACEOF
27123 rm -f conftest.$ac_objext
27124 if { (ac_try="$ac_compile"
27125 case "(($ac_try" in
27126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27127 *) ac_try_echo=$ac_try;;
27128 esac
27129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27130 (eval "$ac_compile") 2>conftest.er1
27131 ac_status=$?
27132 grep -v '^ *+' conftest.er1 >conftest.err
27133 rm -f conftest.er1
27134 cat conftest.err >&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); } && {
27137 test -z "$ac_cxx_werror_flag" ||
27138 test ! -s conftest.err
27139 } && test -s conftest.$ac_objext; then
27140 wx_cv_func_stdstring_compare=yes
27141 else
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.$ac_ext >&5
27144
27145 wx_cv_func_stdstring_compare=no
27146
27147 fi
27148
27149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27150
27151 fi
27152 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27153 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27154
27155 if test "$wx_cv_func_stdstring_compare" = yes; then
27156 cat >>confdefs.h <<\_ACEOF
27157 #define HAVE_STD_STRING_COMPARE 1
27158 _ACEOF
27159
27160 fi
27161
27162 { echo "$as_me:$LINENO: checking for hash_map" >&5
27163 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27164 if test "${ac_cv_header_hash_map+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 else
27167 cat >conftest.$ac_ext <<_ACEOF
27168 /* confdefs.h. */
27169 _ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173
27174
27175
27176 #include <hash_map>
27177 _ACEOF
27178 rm -f conftest.$ac_objext
27179 if { (ac_try="$ac_compile"
27180 case "(($ac_try" in
27181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27182 *) ac_try_echo=$ac_try;;
27183 esac
27184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27185 (eval "$ac_compile") 2>conftest.er1
27186 ac_status=$?
27187 grep -v '^ *+' conftest.er1 >conftest.err
27188 rm -f conftest.er1
27189 cat conftest.err >&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); } && {
27192 test -z "$ac_cxx_werror_flag" ||
27193 test ! -s conftest.err
27194 } && test -s conftest.$ac_objext; then
27195 ac_cv_header_hash_map=yes
27196 else
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.$ac_ext >&5
27199
27200 ac_cv_header_hash_map=no
27201 fi
27202
27203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27204 fi
27205 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27206 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27207 if test $ac_cv_header_hash_map = yes; then
27208 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27209 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27210 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27211 echo $ECHO_N "(cached) $ECHO_C" >&6
27212 else
27213 cat >conftest.$ac_ext <<_ACEOF
27214 /* confdefs.h. */
27215 _ACEOF
27216 cat confdefs.h >>conftest.$ac_ext
27217 cat >>conftest.$ac_ext <<_ACEOF
27218 /* end confdefs.h. */
27219 #include <hash_map>
27220 #include <hash_set>
27221 int
27222 main ()
27223 {
27224 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27225 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27226 ;
27227 return 0;
27228 }
27229 _ACEOF
27230 rm -f conftest.$ac_objext
27231 if { (ac_try="$ac_compile"
27232 case "(($ac_try" in
27233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27234 *) ac_try_echo=$ac_try;;
27235 esac
27236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27237 (eval "$ac_compile") 2>conftest.er1
27238 ac_status=$?
27239 grep -v '^ *+' conftest.er1 >conftest.err
27240 rm -f conftest.er1
27241 cat conftest.err >&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); } && {
27244 test -z "$ac_cxx_werror_flag" ||
27245 test ! -s conftest.err
27246 } && test -s conftest.$ac_objext; then
27247 wx_cv_class_stdhashmapset=yes
27248 else
27249 echo "$as_me: failed program was:" >&5
27250 sed 's/^/| /' conftest.$ac_ext >&5
27251
27252 wx_cv_class_stdhashmapset=no
27253 fi
27254
27255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27256
27257
27258 fi
27259 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27260 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27261 fi
27262
27263
27264
27265 if test "$wx_cv_class_stdhashmapset" = yes; then
27266 cat >>confdefs.h <<\_ACEOF
27267 #define HAVE_HASH_MAP 1
27268 _ACEOF
27269
27270 cat >>confdefs.h <<\_ACEOF
27271 #define HAVE_STD_HASH_MAP 1
27272 _ACEOF
27273
27274 fi
27275
27276 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27277 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27278 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27279 echo $ECHO_N "(cached) $ECHO_C" >&6
27280 else
27281 cat >conftest.$ac_ext <<_ACEOF
27282 /* confdefs.h. */
27283 _ACEOF
27284 cat confdefs.h >>conftest.$ac_ext
27285 cat >>conftest.$ac_ext <<_ACEOF
27286 /* end confdefs.h. */
27287
27288
27289
27290 #include <ext/hash_map>
27291 _ACEOF
27292 rm -f conftest.$ac_objext
27293 if { (ac_try="$ac_compile"
27294 case "(($ac_try" in
27295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27296 *) ac_try_echo=$ac_try;;
27297 esac
27298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27299 (eval "$ac_compile") 2>conftest.er1
27300 ac_status=$?
27301 grep -v '^ *+' conftest.er1 >conftest.err
27302 rm -f conftest.er1
27303 cat conftest.err >&5
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); } && {
27306 test -z "$ac_cxx_werror_flag" ||
27307 test ! -s conftest.err
27308 } && test -s conftest.$ac_objext; then
27309 ac_cv_header_ext_hash_map=yes
27310 else
27311 echo "$as_me: failed program was:" >&5
27312 sed 's/^/| /' conftest.$ac_ext >&5
27313
27314 ac_cv_header_ext_hash_map=no
27315 fi
27316
27317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27318 fi
27319 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27320 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27321 if test $ac_cv_header_ext_hash_map = yes; then
27322 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27323 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27324 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 else
27327 cat >conftest.$ac_ext <<_ACEOF
27328 /* confdefs.h. */
27329 _ACEOF
27330 cat confdefs.h >>conftest.$ac_ext
27331 cat >>conftest.$ac_ext <<_ACEOF
27332 /* end confdefs.h. */
27333 #include <ext/hash_map>
27334 #include <ext/hash_set>
27335 int
27336 main ()
27337 {
27338 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27339 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27340 ;
27341 return 0;
27342 }
27343 _ACEOF
27344 rm -f conftest.$ac_objext
27345 if { (ac_try="$ac_compile"
27346 case "(($ac_try" in
27347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27348 *) ac_try_echo=$ac_try;;
27349 esac
27350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27351 (eval "$ac_compile") 2>conftest.er1
27352 ac_status=$?
27353 grep -v '^ *+' conftest.er1 >conftest.err
27354 rm -f conftest.er1
27355 cat conftest.err >&5
27356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27357 (exit $ac_status); } && {
27358 test -z "$ac_cxx_werror_flag" ||
27359 test ! -s conftest.err
27360 } && test -s conftest.$ac_objext; then
27361 wx_cv_class_gnuhashmapset=yes
27362 else
27363 echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.$ac_ext >&5
27365
27366 wx_cv_class_gnuhashmapset=no
27367 fi
27368
27369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27370
27371
27372 fi
27373 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27374 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27375 fi
27376
27377
27378
27379 if test "$wx_cv_class_gnuhashmapset" = yes; then
27380 cat >>confdefs.h <<\_ACEOF
27381 #define HAVE_EXT_HASH_MAP 1
27382 _ACEOF
27383
27384 cat >>confdefs.h <<\_ACEOF
27385 #define HAVE_GNU_CXX_HASH_MAP 1
27386 _ACEOF
27387
27388 fi
27389 fi
27390
27391 ac_ext=c
27392 ac_cpp='$CPP $CPPFLAGS'
27393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27396
27397
27398
27399 SEARCH_INCLUDE="\
27400 /usr/local/include \
27401 \
27402 /usr/Motif-2.1/include \
27403 /usr/Motif-1.2/include \
27404 /usr/include/Motif1.2 \
27405 \
27406 /usr/dt/include \
27407 /usr/openwin/include \
27408 \
27409 /usr/include/Xm \
27410 \
27411 /usr/X11R6/include \
27412 /usr/X11R6.4/include \
27413 /usr/X11R5/include \
27414 /usr/X11R4/include \
27415 \
27416 /usr/include/X11R6 \
27417 /usr/include/X11R5 \
27418 /usr/include/X11R4 \
27419 \
27420 /usr/local/X11R6/include \
27421 /usr/local/X11R5/include \
27422 /usr/local/X11R4/include \
27423 \
27424 /usr/local/include/X11R6 \
27425 /usr/local/include/X11R5 \
27426 /usr/local/include/X11R4 \
27427 \
27428 /usr/X11/include \
27429 /usr/include/X11 \
27430 /usr/local/X11/include \
27431 /usr/local/include/X11 \
27432 \
27433 /usr/XFree86/include/X11 \
27434 /usr/pkg/include \
27435 \
27436 /usr/openwin/share/include"
27437
27438 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27439 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27440
27441 case "${host}" in
27442 *-*-irix6* )
27443 if test "${wx_cv_std_libpath+set}" = set; then
27444 echo $ECHO_N "(cached) $ECHO_C" >&6
27445 else
27446
27447 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27448 for e in a so sl dylib dll.a; do
27449 libc="$d/libc.$e"
27450 if test -f $libc; then
27451 save_LIBS="$LIBS"
27452 LIBS="$libc"
27453 cat >conftest.$ac_ext <<_ACEOF
27454 int main() { return 0; }
27455 _ACEOF
27456 rm -f conftest.$ac_objext conftest$ac_exeext
27457 if { (ac_try="$ac_link"
27458 case "(($ac_try" in
27459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27461 esac
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_link") 2>conftest.er1
27464 ac_status=$?
27465 grep -v '^ *+' conftest.er1 >conftest.err
27466 rm -f conftest.er1
27467 cat conftest.err >&5
27468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27469 (exit $ac_status); } && {
27470 test -z "$ac_c_werror_flag" ||
27471 test ! -s conftest.err
27472 } && test -s conftest$ac_exeext &&
27473 $as_test_x conftest$ac_exeext; then
27474 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27475 else
27476 echo "$as_me: failed program was:" >&5
27477 sed 's/^/| /' conftest.$ac_ext >&5
27478
27479
27480 fi
27481
27482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27483 conftest$ac_exeext conftest.$ac_ext
27484 LIBS="$save_LIBS"
27485 if test "x$wx_cv_std_libpath" != "x"; then
27486 break 2
27487 fi
27488 fi
27489 done
27490 done
27491 if test "x$wx_cv_std_libpath" = "x"; then
27492 wx_cv_std_libpath="lib"
27493 fi
27494
27495
27496 fi
27497
27498 ;;
27499
27500 *-*-solaris2* )
27501 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27502 wx_cv_std_libpath="lib/64"
27503 else
27504 wx_cv_std_libpath="lib"
27505 fi
27506 ;;
27507
27508 *-*-linux* )
27509 if test "$ac_cv_sizeof_void_p" = 8 -a \
27510 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27511 wx_cv_std_libpath="lib64"
27512 else
27513 wx_cv_std_libpath="lib"
27514 fi
27515 ;;
27516
27517 *)
27518 wx_cv_std_libpath="lib";
27519 ;;
27520 esac
27521
27522 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27523 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27524
27525 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27526
27527 if test "$build" != "$host" -a "$GCC" = yes; then
27528 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27529 cross_root=`dirname $cross_root`
27530 cross_root=`dirname $cross_root`
27531
27532 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27533 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27534 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27535
27536 if test -z "$PKG_CONFIG_PATH"; then
27537 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27538 export PKG_CONFIG_PATH
27539 fi
27540
27541 if test -z "$x_includes" -o "$x_includes" = NONE; then
27542
27543 ac_find_includes=
27544 for ac_dir in $SEARCH_INCLUDE /usr/include;
27545 do
27546 if test -f "$ac_dir/X11/Intrinsic.h"; then
27547 ac_find_includes=$ac_dir
27548 break
27549 fi
27550 done
27551
27552 x_includes=$ac_find_includes
27553 fi
27554 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27555
27556 ac_find_libraries=
27557 for ac_dir in $SEARCH_LIB;
27558 do
27559 for ac_extension in a so sl dylib dll.a; do
27560 if test -f "$ac_dir/libXt.$ac_extension"; then
27561 ac_find_libraries=$ac_dir
27562 break 2
27563 fi
27564 done
27565 done
27566
27567 x_libraries=$ac_find_libraries
27568 fi
27569 fi
27570 fi
27571
27572
27573 cat >confcache <<\_ACEOF
27574 # This file is a shell script that caches the results of configure
27575 # tests run on this system so they can be shared between configure
27576 # scripts and configure runs, see configure's option --config-cache.
27577 # It is not useful on other systems. If it contains results you don't
27578 # want to keep, you may remove or edit it.
27579 #
27580 # config.status only pays attention to the cache file if you give it
27581 # the --recheck option to rerun configure.
27582 #
27583 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27584 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27585 # following values.
27586
27587 _ACEOF
27588
27589 # The following way of writing the cache mishandles newlines in values,
27590 # but we know of no workaround that is simple, portable, and efficient.
27591 # So, we kill variables containing newlines.
27592 # Ultrix sh set writes to stderr and can't be redirected directly,
27593 # and sets the high bit in the cache file unless we assign to the vars.
27594 (
27595 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27596 eval ac_val=\$$ac_var
27597 case $ac_val in #(
27598 *${as_nl}*)
27599 case $ac_var in #(
27600 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27601 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27602 esac
27603 case $ac_var in #(
27604 _ | IFS | as_nl) ;; #(
27605 *) $as_unset $ac_var ;;
27606 esac ;;
27607 esac
27608 done
27609
27610 (set) 2>&1 |
27611 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27612 *${as_nl}ac_space=\ *)
27613 # `set' does not quote correctly, so add quotes (double-quote
27614 # substitution turns \\\\ into \\, and sed turns \\ into \).
27615 sed -n \
27616 "s/'/'\\\\''/g;
27617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27618 ;; #(
27619 *)
27620 # `set' quotes correctly as required by POSIX, so do not add quotes.
27621 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27622 ;;
27623 esac |
27624 sort
27625 ) |
27626 sed '
27627 /^ac_cv_env_/b end
27628 t clear
27629 :clear
27630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27631 t end
27632 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27633 :end' >>confcache
27634 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27635 if test -w "$cache_file"; then
27636 test "x$cache_file" != "x/dev/null" &&
27637 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27638 echo "$as_me: updating cache $cache_file" >&6;}
27639 cat confcache >$cache_file
27640 else
27641 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27642 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27643 fi
27644 fi
27645 rm -f confcache
27646
27647 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27648 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27649 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27650 if test "${wx_cv_lib_glibc21+set}" = set; then
27651 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 else
27653
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 #include <features.h>
27661 int
27662 main ()
27663 {
27664
27665 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27666 not glibc 2.1
27667 #endif
27668
27669 ;
27670 return 0;
27671 }
27672 _ACEOF
27673 rm -f conftest.$ac_objext
27674 if { (ac_try="$ac_compile"
27675 case "(($ac_try" in
27676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27677 *) ac_try_echo=$ac_try;;
27678 esac
27679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27680 (eval "$ac_compile") 2>conftest.er1
27681 ac_status=$?
27682 grep -v '^ *+' conftest.er1 >conftest.err
27683 rm -f conftest.er1
27684 cat conftest.err >&5
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); } && {
27687 test -z "$ac_c_werror_flag" ||
27688 test ! -s conftest.err
27689 } && test -s conftest.$ac_objext; then
27690
27691 wx_cv_lib_glibc21=yes
27692
27693 else
27694 echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.$ac_ext >&5
27696
27697
27698 wx_cv_lib_glibc21=no
27699
27700
27701 fi
27702
27703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27704
27705 fi
27706 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27707 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27708 if test "$wx_cv_lib_glibc21" = "yes"; then
27709 cat >>confdefs.h <<\_ACEOF
27710 #define wxHAVE_GLIBC2 1
27711 _ACEOF
27712
27713 fi
27714 fi
27715
27716 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27717 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27718 cat >>confdefs.h <<\_ACEOF
27719 #define _GNU_SOURCE 1
27720 _ACEOF
27721
27722 fi
27723 fi
27724
27725 have_cos=0
27726 have_floor=0
27727
27728 for ac_func in cos
27729 do
27730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27734 echo $ECHO_N "(cached) $ECHO_C" >&6
27735 else
27736 cat >conftest.$ac_ext <<_ACEOF
27737 /* confdefs.h. */
27738 _ACEOF
27739 cat confdefs.h >>conftest.$ac_ext
27740 cat >>conftest.$ac_ext <<_ACEOF
27741 /* end confdefs.h. */
27742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27744 #define $ac_func innocuous_$ac_func
27745
27746 /* System header to define __stub macros and hopefully few prototypes,
27747 which can conflict with char $ac_func (); below.
27748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27749 <limits.h> exists even on freestanding compilers. */
27750
27751 #ifdef __STDC__
27752 # include <limits.h>
27753 #else
27754 # include <assert.h>
27755 #endif
27756
27757 #undef $ac_func
27758
27759 /* Override any GCC internal prototype to avoid an error.
27760 Use char because int might match the return type of a GCC
27761 builtin and then its argument prototype would still apply. */
27762 #ifdef __cplusplus
27763 extern "C"
27764 #endif
27765 char $ac_func ();
27766 /* The GNU C library defines this for functions which it implements
27767 to always fail with ENOSYS. Some functions are actually named
27768 something starting with __ and the normal name is an alias. */
27769 #if defined __stub_$ac_func || defined __stub___$ac_func
27770 choke me
27771 #endif
27772
27773 int
27774 main ()
27775 {
27776 return $ac_func ();
27777 ;
27778 return 0;
27779 }
27780 _ACEOF
27781 rm -f conftest.$ac_objext conftest$ac_exeext
27782 if { (ac_try="$ac_link"
27783 case "(($ac_try" in
27784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27785 *) ac_try_echo=$ac_try;;
27786 esac
27787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27788 (eval "$ac_link") 2>conftest.er1
27789 ac_status=$?
27790 grep -v '^ *+' conftest.er1 >conftest.err
27791 rm -f conftest.er1
27792 cat conftest.err >&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); } && {
27795 test -z "$ac_c_werror_flag" ||
27796 test ! -s conftest.err
27797 } && test -s conftest$ac_exeext &&
27798 $as_test_x conftest$ac_exeext; then
27799 eval "$as_ac_var=yes"
27800 else
27801 echo "$as_me: failed program was:" >&5
27802 sed 's/^/| /' conftest.$ac_ext >&5
27803
27804 eval "$as_ac_var=no"
27805 fi
27806
27807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27808 conftest$ac_exeext conftest.$ac_ext
27809 fi
27810 ac_res=`eval echo '${'$as_ac_var'}'`
27811 { echo "$as_me:$LINENO: result: $ac_res" >&5
27812 echo "${ECHO_T}$ac_res" >&6; }
27813 if test `eval echo '${'$as_ac_var'}'` = yes; then
27814 cat >>confdefs.h <<_ACEOF
27815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27816 _ACEOF
27817 have_cos=1
27818 fi
27819 done
27820
27821
27822 for ac_func in floor
27823 do
27824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27828 echo $ECHO_N "(cached) $ECHO_C" >&6
27829 else
27830 cat >conftest.$ac_ext <<_ACEOF
27831 /* confdefs.h. */
27832 _ACEOF
27833 cat confdefs.h >>conftest.$ac_ext
27834 cat >>conftest.$ac_ext <<_ACEOF
27835 /* end confdefs.h. */
27836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27838 #define $ac_func innocuous_$ac_func
27839
27840 /* System header to define __stub macros and hopefully few prototypes,
27841 which can conflict with char $ac_func (); below.
27842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27843 <limits.h> exists even on freestanding compilers. */
27844
27845 #ifdef __STDC__
27846 # include <limits.h>
27847 #else
27848 # include <assert.h>
27849 #endif
27850
27851 #undef $ac_func
27852
27853 /* Override any GCC internal prototype to avoid an error.
27854 Use char because int might match the return type of a GCC
27855 builtin and then its argument prototype would still apply. */
27856 #ifdef __cplusplus
27857 extern "C"
27858 #endif
27859 char $ac_func ();
27860 /* The GNU C library defines this for functions which it implements
27861 to always fail with ENOSYS. Some functions are actually named
27862 something starting with __ and the normal name is an alias. */
27863 #if defined __stub_$ac_func || defined __stub___$ac_func
27864 choke me
27865 #endif
27866
27867 int
27868 main ()
27869 {
27870 return $ac_func ();
27871 ;
27872 return 0;
27873 }
27874 _ACEOF
27875 rm -f conftest.$ac_objext conftest$ac_exeext
27876 if { (ac_try="$ac_link"
27877 case "(($ac_try" in
27878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27879 *) ac_try_echo=$ac_try;;
27880 esac
27881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27882 (eval "$ac_link") 2>conftest.er1
27883 ac_status=$?
27884 grep -v '^ *+' conftest.er1 >conftest.err
27885 rm -f conftest.er1
27886 cat conftest.err >&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); } && {
27889 test -z "$ac_c_werror_flag" ||
27890 test ! -s conftest.err
27891 } && test -s conftest$ac_exeext &&
27892 $as_test_x conftest$ac_exeext; then
27893 eval "$as_ac_var=yes"
27894 else
27895 echo "$as_me: failed program was:" >&5
27896 sed 's/^/| /' conftest.$ac_ext >&5
27897
27898 eval "$as_ac_var=no"
27899 fi
27900
27901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27902 conftest$ac_exeext conftest.$ac_ext
27903 fi
27904 ac_res=`eval echo '${'$as_ac_var'}'`
27905 { echo "$as_me:$LINENO: result: $ac_res" >&5
27906 echo "${ECHO_T}$ac_res" >&6; }
27907 if test `eval echo '${'$as_ac_var'}'` = yes; then
27908 cat >>confdefs.h <<_ACEOF
27909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27910 _ACEOF
27911 have_floor=1
27912 fi
27913 done
27914
27915 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27916 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27917 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27918 { echo "$as_me:$LINENO: result: yes" >&5
27919 echo "${ECHO_T}yes" >&6; }
27920 else
27921 { echo "$as_me:$LINENO: result: no" >&5
27922 echo "${ECHO_T}no" >&6; }
27923 LIBS="$LIBS -lm"
27924 # use different functions to avoid configure caching
27925 have_sin=0
27926 have_ceil=0
27927
27928 for ac_func in sin
27929 do
27930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27931 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27933 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27934 echo $ECHO_N "(cached) $ECHO_C" >&6
27935 else
27936 cat >conftest.$ac_ext <<_ACEOF
27937 /* confdefs.h. */
27938 _ACEOF
27939 cat confdefs.h >>conftest.$ac_ext
27940 cat >>conftest.$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27944 #define $ac_func innocuous_$ac_func
27945
27946 /* System header to define __stub macros and hopefully few prototypes,
27947 which can conflict with char $ac_func (); below.
27948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27949 <limits.h> exists even on freestanding compilers. */
27950
27951 #ifdef __STDC__
27952 # include <limits.h>
27953 #else
27954 # include <assert.h>
27955 #endif
27956
27957 #undef $ac_func
27958
27959 /* Override any GCC internal prototype to avoid an error.
27960 Use char because int might match the return type of a GCC
27961 builtin and then its argument prototype would still apply. */
27962 #ifdef __cplusplus
27963 extern "C"
27964 #endif
27965 char $ac_func ();
27966 /* The GNU C library defines this for functions which it implements
27967 to always fail with ENOSYS. Some functions are actually named
27968 something starting with __ and the normal name is an alias. */
27969 #if defined __stub_$ac_func || defined __stub___$ac_func
27970 choke me
27971 #endif
27972
27973 int
27974 main ()
27975 {
27976 return $ac_func ();
27977 ;
27978 return 0;
27979 }
27980 _ACEOF
27981 rm -f conftest.$ac_objext conftest$ac_exeext
27982 if { (ac_try="$ac_link"
27983 case "(($ac_try" in
27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27986 esac
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_link") 2>conftest.er1
27989 ac_status=$?
27990 grep -v '^ *+' conftest.er1 >conftest.err
27991 rm -f conftest.er1
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest$ac_exeext &&
27998 $as_test_x conftest$ac_exeext; then
27999 eval "$as_ac_var=yes"
28000 else
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28003
28004 eval "$as_ac_var=no"
28005 fi
28006
28007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28008 conftest$ac_exeext conftest.$ac_ext
28009 fi
28010 ac_res=`eval echo '${'$as_ac_var'}'`
28011 { echo "$as_me:$LINENO: result: $ac_res" >&5
28012 echo "${ECHO_T}$ac_res" >&6; }
28013 if test `eval echo '${'$as_ac_var'}'` = yes; then
28014 cat >>confdefs.h <<_ACEOF
28015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28016 _ACEOF
28017 have_sin=1
28018 fi
28019 done
28020
28021
28022 for ac_func in ceil
28023 do
28024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28038 #define $ac_func innocuous_$ac_func
28039
28040 /* System header to define __stub macros and hopefully few prototypes,
28041 which can conflict with char $ac_func (); below.
28042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28043 <limits.h> exists even on freestanding compilers. */
28044
28045 #ifdef __STDC__
28046 # include <limits.h>
28047 #else
28048 # include <assert.h>
28049 #endif
28050
28051 #undef $ac_func
28052
28053 /* Override any GCC internal prototype to avoid an error.
28054 Use char because int might match the return type of a GCC
28055 builtin and then its argument prototype would still apply. */
28056 #ifdef __cplusplus
28057 extern "C"
28058 #endif
28059 char $ac_func ();
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined __stub_$ac_func || defined __stub___$ac_func
28064 choke me
28065 #endif
28066
28067 int
28068 main ()
28069 {
28070 return $ac_func ();
28071 ;
28072 return 0;
28073 }
28074 _ACEOF
28075 rm -f conftest.$ac_objext conftest$ac_exeext
28076 if { (ac_try="$ac_link"
28077 case "(($ac_try" in
28078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28079 *) ac_try_echo=$ac_try;;
28080 esac
28081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28082 (eval "$ac_link") 2>conftest.er1
28083 ac_status=$?
28084 grep -v '^ *+' conftest.er1 >conftest.err
28085 rm -f conftest.er1
28086 cat conftest.err >&5
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); } && {
28089 test -z "$ac_c_werror_flag" ||
28090 test ! -s conftest.err
28091 } && test -s conftest$ac_exeext &&
28092 $as_test_x conftest$ac_exeext; then
28093 eval "$as_ac_var=yes"
28094 else
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.$ac_ext >&5
28097
28098 eval "$as_ac_var=no"
28099 fi
28100
28101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28102 conftest$ac_exeext conftest.$ac_ext
28103 fi
28104 ac_res=`eval echo '${'$as_ac_var'}'`
28105 { echo "$as_me:$LINENO: result: $ac_res" >&5
28106 echo "${ECHO_T}$ac_res" >&6; }
28107 if test `eval echo '${'$as_ac_var'}'` = yes; then
28108 cat >>confdefs.h <<_ACEOF
28109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28110 _ACEOF
28111 have_ceil=1
28112 fi
28113 done
28114
28115 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28116 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28117 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28118 { echo "$as_me:$LINENO: result: yes" >&5
28119 echo "${ECHO_T}yes" >&6; }
28120 else
28121 { echo "$as_me:$LINENO: result: no" >&5
28122 echo "${ECHO_T}no" >&6; }
28123 # not sure we should warn the user, crash, etc.
28124 fi
28125 fi
28126
28127 ac_ext=cpp
28128 ac_cpp='$CXXCPP $CPPFLAGS'
28129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28132
28133 if test "wxUSE_UNICODE" = "yes"; then
28134
28135 for wx_func in wcstoull
28136 do
28137 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28138 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28139 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 else
28142
28143 cat >conftest.$ac_ext <<_ACEOF
28144
28145 /* confdefs.h. */
28146 _ACEOF
28147 cat confdefs.h >>conftest.$ac_ext
28148 cat >>conftest.$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150
28151
28152 $ac_includes_default
28153
28154 int
28155 main ()
28156 {
28157
28158 #ifndef $wx_func
28159 &$wx_func;
28160 #endif
28161
28162
28163 ;
28164 return 0;
28165 }
28166
28167 _ACEOF
28168 rm -f conftest.$ac_objext conftest$ac_exeext
28169 if { (ac_try="$ac_link"
28170 case "(($ac_try" in
28171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28172 *) ac_try_echo=$ac_try;;
28173 esac
28174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28175 (eval "$ac_link") 2>conftest.er1
28176 ac_status=$?
28177 grep -v '^ *+' conftest.er1 >conftest.err
28178 rm -f conftest.er1
28179 cat conftest.err >&5
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } && {
28182 test -z "$ac_cxx_werror_flag" ||
28183 test ! -s conftest.err
28184 } && test -s conftest$ac_exeext &&
28185 $as_test_x conftest$ac_exeext; then
28186 eval wx_cv_func_$wx_func=yes
28187 else
28188 echo "$as_me: failed program was:" >&5
28189 sed 's/^/| /' conftest.$ac_ext >&5
28190
28191 eval wx_cv_func_$wx_func=no
28192 fi
28193
28194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28195 conftest$ac_exeext conftest.$ac_ext
28196
28197 fi
28198 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28199 { echo "$as_me:$LINENO: result: $ac_res" >&5
28200 echo "${ECHO_T}$ac_res" >&6; }
28201
28202 if eval test \$wx_cv_func_$wx_func = yes
28203 then
28204 cat >>confdefs.h <<_ACEOF
28205 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28206 _ACEOF
28207
28208
28209 else
28210 :
28211
28212 fi
28213 done
28214
28215 else
28216
28217 for wx_func in strtoull
28218 do
28219 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28220 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28221 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28222 echo $ECHO_N "(cached) $ECHO_C" >&6
28223 else
28224
28225 cat >conftest.$ac_ext <<_ACEOF
28226
28227 /* confdefs.h. */
28228 _ACEOF
28229 cat confdefs.h >>conftest.$ac_ext
28230 cat >>conftest.$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28232
28233
28234 $ac_includes_default
28235
28236 int
28237 main ()
28238 {
28239
28240 #ifndef $wx_func
28241 &$wx_func;
28242 #endif
28243
28244
28245 ;
28246 return 0;
28247 }
28248
28249 _ACEOF
28250 rm -f conftest.$ac_objext conftest$ac_exeext
28251 if { (ac_try="$ac_link"
28252 case "(($ac_try" in
28253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28254 *) ac_try_echo=$ac_try;;
28255 esac
28256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28257 (eval "$ac_link") 2>conftest.er1
28258 ac_status=$?
28259 grep -v '^ *+' conftest.er1 >conftest.err
28260 rm -f conftest.er1
28261 cat conftest.err >&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } && {
28264 test -z "$ac_cxx_werror_flag" ||
28265 test ! -s conftest.err
28266 } && test -s conftest$ac_exeext &&
28267 $as_test_x conftest$ac_exeext; then
28268 eval wx_cv_func_$wx_func=yes
28269 else
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.$ac_ext >&5
28272
28273 eval wx_cv_func_$wx_func=no
28274 fi
28275
28276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28277 conftest$ac_exeext conftest.$ac_ext
28278
28279 fi
28280 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28281 { echo "$as_me:$LINENO: result: $ac_res" >&5
28282 echo "${ECHO_T}$ac_res" >&6; }
28283
28284 if eval test \$wx_cv_func_$wx_func = yes
28285 then
28286 cat >>confdefs.h <<_ACEOF
28287 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28288 _ACEOF
28289
28290
28291 else
28292 :
28293
28294 fi
28295 done
28296
28297 fi
28298 ac_ext=c
28299 ac_cpp='$CPP $CPPFLAGS'
28300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28303
28304
28305
28306
28307 if test "$wxUSE_REGEX" != "no"; then
28308 cat >>confdefs.h <<\_ACEOF
28309 #define wxUSE_REGEX 1
28310 _ACEOF
28311
28312
28313 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28314 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28315 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28316 wxUSE_REGEX=builtin
28317 fi
28318
28319 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28320 { echo "$as_me:$LINENO: checking for regex.h" >&5
28321 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28322 if test "${ac_cv_header_regex_h+set}" = set; then
28323 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 else
28325 cat >conftest.$ac_ext <<_ACEOF
28326 /* confdefs.h. */
28327 _ACEOF
28328 cat confdefs.h >>conftest.$ac_ext
28329 cat >>conftest.$ac_ext <<_ACEOF
28330 /* end confdefs.h. */
28331
28332
28333 #include <regex.h>
28334 _ACEOF
28335 rm -f conftest.$ac_objext
28336 if { (ac_try="$ac_compile"
28337 case "(($ac_try" in
28338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28339 *) ac_try_echo=$ac_try;;
28340 esac
28341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28342 (eval "$ac_compile") 2>conftest.er1
28343 ac_status=$?
28344 grep -v '^ *+' conftest.er1 >conftest.err
28345 rm -f conftest.er1
28346 cat conftest.err >&5
28347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28348 (exit $ac_status); } && {
28349 test -z "$ac_c_werror_flag" ||
28350 test ! -s conftest.err
28351 } && test -s conftest.$ac_objext; then
28352 ac_cv_header_regex_h=yes
28353 else
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28356
28357 ac_cv_header_regex_h=no
28358 fi
28359
28360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28361 fi
28362 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28363 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28364 if test $ac_cv_header_regex_h = yes; then
28365
28366
28367 for ac_func in regcomp re_search
28368 do
28369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28372 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28373 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 else
28375 cat >conftest.$ac_ext <<_ACEOF
28376 /* confdefs.h. */
28377 _ACEOF
28378 cat confdefs.h >>conftest.$ac_ext
28379 cat >>conftest.$ac_ext <<_ACEOF
28380 /* end confdefs.h. */
28381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28383 #define $ac_func innocuous_$ac_func
28384
28385 /* System header to define __stub macros and hopefully few prototypes,
28386 which can conflict with char $ac_func (); below.
28387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28388 <limits.h> exists even on freestanding compilers. */
28389
28390 #ifdef __STDC__
28391 # include <limits.h>
28392 #else
28393 # include <assert.h>
28394 #endif
28395
28396 #undef $ac_func
28397
28398 /* Override any GCC internal prototype to avoid an error.
28399 Use char because int might match the return type of a GCC
28400 builtin and then its argument prototype would still apply. */
28401 #ifdef __cplusplus
28402 extern "C"
28403 #endif
28404 char $ac_func ();
28405 /* The GNU C library defines this for functions which it implements
28406 to always fail with ENOSYS. Some functions are actually named
28407 something starting with __ and the normal name is an alias. */
28408 #if defined __stub_$ac_func || defined __stub___$ac_func
28409 choke me
28410 #endif
28411
28412 int
28413 main ()
28414 {
28415 return $ac_func ();
28416 ;
28417 return 0;
28418 }
28419 _ACEOF
28420 rm -f conftest.$ac_objext conftest$ac_exeext
28421 if { (ac_try="$ac_link"
28422 case "(($ac_try" in
28423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28424 *) ac_try_echo=$ac_try;;
28425 esac
28426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28427 (eval "$ac_link") 2>conftest.er1
28428 ac_status=$?
28429 grep -v '^ *+' conftest.er1 >conftest.err
28430 rm -f conftest.er1
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } && {
28434 test -z "$ac_c_werror_flag" ||
28435 test ! -s conftest.err
28436 } && test -s conftest$ac_exeext &&
28437 $as_test_x conftest$ac_exeext; then
28438 eval "$as_ac_var=yes"
28439 else
28440 echo "$as_me: failed program was:" >&5
28441 sed 's/^/| /' conftest.$ac_ext >&5
28442
28443 eval "$as_ac_var=no"
28444 fi
28445
28446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28447 conftest$ac_exeext conftest.$ac_ext
28448 fi
28449 ac_res=`eval echo '${'$as_ac_var'}'`
28450 { echo "$as_me:$LINENO: result: $ac_res" >&5
28451 echo "${ECHO_T}$ac_res" >&6; }
28452 if test `eval echo '${'$as_ac_var'}'` = yes; then
28453 cat >>confdefs.h <<_ACEOF
28454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28455 _ACEOF
28456
28457 fi
28458 done
28459
28460 fi
28461
28462
28463
28464 if test "x$ac_cv_func_regcomp" != "xyes"; then
28465 if test "$wxUSE_REGEX" = "sys" ; then
28466 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28467 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28468 { (exit 1); exit 1; }; }
28469 else
28470 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28471 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28472 wxUSE_REGEX=builtin
28473 fi
28474 else
28475 wxUSE_REGEX=sys
28476 cat >>confdefs.h <<\_ACEOF
28477 #define WX_NO_REGEX_ADVANCED 1
28478 _ACEOF
28479
28480 fi
28481 fi
28482 fi
28483
28484
28485 ZLIB_LINK=
28486 if test "$wxUSE_ZLIB" != "no" ; then
28487 cat >>confdefs.h <<\_ACEOF
28488 #define wxUSE_ZLIB 1
28489 _ACEOF
28490
28491
28492 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28493 if test "$USE_DARWIN" = 1; then
28494 system_zlib_h_ok="yes"
28495 else
28496 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28497 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28498 if test "${ac_cv_header_zlib_h+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 else
28501 if test "$cross_compiling" = yes; then
28502 unset ac_cv_header_zlib_h
28503
28504 else
28505 cat >conftest.$ac_ext <<_ACEOF
28506 /* confdefs.h. */
28507 _ACEOF
28508 cat confdefs.h >>conftest.$ac_ext
28509 cat >>conftest.$ac_ext <<_ACEOF
28510 /* end confdefs.h. */
28511
28512 #include <zlib.h>
28513 #include <stdio.h>
28514
28515 int main()
28516 {
28517 FILE *f=fopen("conftestval", "w");
28518 if (!f) exit(1);
28519 fprintf(f, "%s",
28520 ZLIB_VERSION[0] == '1' &&
28521 (ZLIB_VERSION[2] > '1' ||
28522 (ZLIB_VERSION[2] == '1' &&
28523 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28524 exit(0);
28525 }
28526
28527 _ACEOF
28528 rm -f conftest$ac_exeext
28529 if { (ac_try="$ac_link"
28530 case "(($ac_try" in
28531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28532 *) ac_try_echo=$ac_try;;
28533 esac
28534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28535 (eval "$ac_link") 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28539 { (case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28542 esac
28543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_try") 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; }; then
28548 ac_cv_header_zlib_h=`cat conftestval`
28549 else
28550 echo "$as_me: program exited with status $ac_status" >&5
28551 echo "$as_me: failed program was:" >&5
28552 sed 's/^/| /' conftest.$ac_ext >&5
28553
28554 ( exit $ac_status )
28555 ac_cv_header_zlib_h=no
28556 fi
28557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28558 fi
28559
28560
28561
28562 fi
28563 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28564 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28565 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28566 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28567 if test "${ac_cv_header_zlib_h+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28569 else
28570 cat >conftest.$ac_ext <<_ACEOF
28571 /* confdefs.h. */
28572 _ACEOF
28573 cat confdefs.h >>conftest.$ac_ext
28574 cat >>conftest.$ac_ext <<_ACEOF
28575 /* end confdefs.h. */
28576
28577
28578 #include <zlib.h>
28579 _ACEOF
28580 rm -f conftest.$ac_objext
28581 if { (ac_try="$ac_compile"
28582 case "(($ac_try" in
28583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28584 *) ac_try_echo=$ac_try;;
28585 esac
28586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28587 (eval "$ac_compile") 2>conftest.er1
28588 ac_status=$?
28589 grep -v '^ *+' conftest.er1 >conftest.err
28590 rm -f conftest.er1
28591 cat conftest.err >&5
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } && {
28594 test -z "$ac_c_werror_flag" ||
28595 test ! -s conftest.err
28596 } && test -s conftest.$ac_objext; then
28597 ac_cv_header_zlib_h=yes
28598 else
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.$ac_ext >&5
28601
28602 ac_cv_header_zlib_h=no
28603 fi
28604
28605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28606 fi
28607 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28608 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28609
28610
28611
28612 system_zlib_h_ok=$ac_cv_header_zlib_h
28613 fi
28614
28615 if test "$system_zlib_h_ok" = "yes"; then
28616 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28617 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28618 if test "${ac_cv_lib_z_deflate+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28620 else
28621 ac_check_lib_save_LIBS=$LIBS
28622 LIBS="-lz $LIBS"
28623 cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h. */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629
28630 /* Override any GCC internal prototype to avoid an error.
28631 Use char because int might match the return type of a GCC
28632 builtin and then its argument prototype would still apply. */
28633 #ifdef __cplusplus
28634 extern "C"
28635 #endif
28636 char deflate ();
28637 int
28638 main ()
28639 {
28640 return deflate ();
28641 ;
28642 return 0;
28643 }
28644 _ACEOF
28645 rm -f conftest.$ac_objext conftest$ac_exeext
28646 if { (ac_try="$ac_link"
28647 case "(($ac_try" in
28648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28649 *) ac_try_echo=$ac_try;;
28650 esac
28651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28652 (eval "$ac_link") 2>conftest.er1
28653 ac_status=$?
28654 grep -v '^ *+' conftest.er1 >conftest.err
28655 rm -f conftest.er1
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } && {
28659 test -z "$ac_c_werror_flag" ||
28660 test ! -s conftest.err
28661 } && test -s conftest$ac_exeext &&
28662 $as_test_x conftest$ac_exeext; then
28663 ac_cv_lib_z_deflate=yes
28664 else
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.$ac_ext >&5
28667
28668 ac_cv_lib_z_deflate=no
28669 fi
28670
28671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28672 conftest$ac_exeext conftest.$ac_ext
28673 LIBS=$ac_check_lib_save_LIBS
28674 fi
28675 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28676 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28677 if test $ac_cv_lib_z_deflate = yes; then
28678 ZLIB_LINK=" -lz"
28679 fi
28680
28681 fi
28682
28683 if test "x$ZLIB_LINK" = "x" ; then
28684 if test "$wxUSE_ZLIB" = "sys" ; then
28685 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28686 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28687 { (exit 1); exit 1; }; }
28688 else
28689 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28690 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28691 wxUSE_ZLIB=builtin
28692 fi
28693 else
28694 wxUSE_ZLIB=sys
28695 fi
28696 fi
28697 fi
28698
28699
28700 PNG_LINK=
28701 if test "$wxUSE_LIBPNG" != "no" ; then
28702 cat >>confdefs.h <<\_ACEOF
28703 #define wxUSE_LIBPNG 1
28704 _ACEOF
28705
28706
28707 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28708 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28709 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28710 wxUSE_LIBPNG=sys
28711 fi
28712
28713 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28714 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28715 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28716 wxUSE_LIBPNG=builtin
28717 fi
28718
28719 if test "$wxUSE_MGL" != 1 ; then
28720 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28721 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28722 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28723 if test "${ac_cv_header_png_h+set}" = set; then
28724 echo $ECHO_N "(cached) $ECHO_C" >&6
28725 else
28726 if test "$cross_compiling" = yes; then
28727 unset ac_cv_header_png_h
28728
28729 else
28730 cat >conftest.$ac_ext <<_ACEOF
28731 /* confdefs.h. */
28732 _ACEOF
28733 cat confdefs.h >>conftest.$ac_ext
28734 cat >>conftest.$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736
28737 #include <png.h>
28738 #include <stdio.h>
28739
28740 int main()
28741 {
28742 FILE *f=fopen("conftestval", "w");
28743 if (!f) exit(1);
28744 fprintf(f, "%s",
28745 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28746 exit(0);
28747 }
28748
28749 _ACEOF
28750 rm -f conftest$ac_exeext
28751 if { (ac_try="$ac_link"
28752 case "(($ac_try" in
28753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28754 *) ac_try_echo=$ac_try;;
28755 esac
28756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28757 (eval "$ac_link") 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28761 { (case "(($ac_try" in
28762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28763 *) ac_try_echo=$ac_try;;
28764 esac
28765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28766 (eval "$ac_try") 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; }; then
28770 ac_cv_header_png_h=`cat conftestval`
28771 else
28772 echo "$as_me: program exited with status $ac_status" >&5
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776 ( exit $ac_status )
28777 ac_cv_header_png_h=no
28778 fi
28779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28780 fi
28781
28782
28783
28784 fi
28785 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28786 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28787 { echo "$as_me:$LINENO: checking for png.h" >&5
28788 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28789 if test "${ac_cv_header_png_h+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
28799
28800 #include <png.h>
28801 _ACEOF
28802 rm -f conftest.$ac_objext
28803 if { (ac_try="$ac_compile"
28804 case "(($ac_try" in
28805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28806 *) ac_try_echo=$ac_try;;
28807 esac
28808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28809 (eval "$ac_compile") 2>conftest.er1
28810 ac_status=$?
28811 grep -v '^ *+' conftest.er1 >conftest.err
28812 rm -f conftest.er1
28813 cat conftest.err >&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); } && {
28816 test -z "$ac_c_werror_flag" ||
28817 test ! -s conftest.err
28818 } && test -s conftest.$ac_objext; then
28819 ac_cv_header_png_h=yes
28820 else
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.$ac_ext >&5
28823
28824 ac_cv_header_png_h=no
28825 fi
28826
28827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28828 fi
28829 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28830 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28831
28832
28833
28834 if test "$ac_cv_header_png_h" = "yes"; then
28835 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28836 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28837 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 ac_check_lib_save_LIBS=$LIBS
28841 LIBS="-lpng -lz -lm $LIBS"
28842 cat >conftest.$ac_ext <<_ACEOF
28843 /* confdefs.h. */
28844 _ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848
28849 /* Override any GCC internal prototype to avoid an error.
28850 Use char because int might match the return type of a GCC
28851 builtin and then its argument prototype would still apply. */
28852 #ifdef __cplusplus
28853 extern "C"
28854 #endif
28855 char png_check_sig ();
28856 int
28857 main ()
28858 {
28859 return png_check_sig ();
28860 ;
28861 return 0;
28862 }
28863 _ACEOF
28864 rm -f conftest.$ac_objext conftest$ac_exeext
28865 if { (ac_try="$ac_link"
28866 case "(($ac_try" in
28867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28868 *) ac_try_echo=$ac_try;;
28869 esac
28870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28871 (eval "$ac_link") 2>conftest.er1
28872 ac_status=$?
28873 grep -v '^ *+' conftest.er1 >conftest.err
28874 rm -f conftest.er1
28875 cat conftest.err >&5
28876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877 (exit $ac_status); } && {
28878 test -z "$ac_c_werror_flag" ||
28879 test ! -s conftest.err
28880 } && test -s conftest$ac_exeext &&
28881 $as_test_x conftest$ac_exeext; then
28882 ac_cv_lib_png_png_check_sig=yes
28883 else
28884 echo "$as_me: failed program was:" >&5
28885 sed 's/^/| /' conftest.$ac_ext >&5
28886
28887 ac_cv_lib_png_png_check_sig=no
28888 fi
28889
28890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28891 conftest$ac_exeext conftest.$ac_ext
28892 LIBS=$ac_check_lib_save_LIBS
28893 fi
28894 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28895 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28896 if test $ac_cv_lib_png_png_check_sig = yes; then
28897 PNG_LINK=" -lpng -lz"
28898 fi
28899
28900 fi
28901
28902 if test "x$PNG_LINK" = "x" ; then
28903 if test "$wxUSE_LIBPNG" = "sys" ; then
28904 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28905 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28906 { (exit 1); exit 1; }; }
28907 else
28908 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28909 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28910 wxUSE_LIBPNG=builtin
28911 fi
28912 else
28913 wxUSE_LIBPNG=sys
28914 fi
28915 fi
28916 fi
28917
28918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28919 fi
28920
28921
28922 JPEG_LINK=
28923 if test "$wxUSE_LIBJPEG" != "no" ; then
28924 cat >>confdefs.h <<\_ACEOF
28925 #define wxUSE_LIBJPEG 1
28926 _ACEOF
28927
28928
28929 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28930 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28931 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28932 wxUSE_LIBJPEG=sys
28933 fi
28934
28935 if test "$wxUSE_MGL" != 1 ; then
28936 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28937 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28938 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28939 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942 cat >conftest.$ac_ext <<_ACEOF
28943 /* confdefs.h. */
28944 _ACEOF
28945 cat confdefs.h >>conftest.$ac_ext
28946 cat >>conftest.$ac_ext <<_ACEOF
28947 /* end confdefs.h. */
28948
28949 #undef HAVE_STDLIB_H
28950 #include <stdio.h>
28951 #include <jpeglib.h>
28952
28953 int
28954 main ()
28955 {
28956
28957
28958 ;
28959 return 0;
28960 }
28961 _ACEOF
28962 rm -f conftest.$ac_objext
28963 if { (ac_try="$ac_compile"
28964 case "(($ac_try" in
28965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28966 *) ac_try_echo=$ac_try;;
28967 esac
28968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28969 (eval "$ac_compile") 2>conftest.er1
28970 ac_status=$?
28971 grep -v '^ *+' conftest.er1 >conftest.err
28972 rm -f conftest.er1
28973 cat conftest.err >&5
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); } && {
28976 test -z "$ac_c_werror_flag" ||
28977 test ! -s conftest.err
28978 } && test -s conftest.$ac_objext; then
28979 ac_cv_header_jpeglib_h=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28983
28984 ac_cv_header_jpeglib_h=no
28985
28986 fi
28987
28988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28989
28990 fi
28991
28992 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28993 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28994
28995 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28996 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28997 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28998 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 else
29001 ac_check_lib_save_LIBS=$LIBS
29002 LIBS="-ljpeg $LIBS"
29003 cat >conftest.$ac_ext <<_ACEOF
29004 /* confdefs.h. */
29005 _ACEOF
29006 cat confdefs.h >>conftest.$ac_ext
29007 cat >>conftest.$ac_ext <<_ACEOF
29008 /* end confdefs.h. */
29009
29010 /* Override any GCC internal prototype to avoid an error.
29011 Use char because int might match the return type of a GCC
29012 builtin and then its argument prototype would still apply. */
29013 #ifdef __cplusplus
29014 extern "C"
29015 #endif
29016 char jpeg_read_header ();
29017 int
29018 main ()
29019 {
29020 return jpeg_read_header ();
29021 ;
29022 return 0;
29023 }
29024 _ACEOF
29025 rm -f conftest.$ac_objext conftest$ac_exeext
29026 if { (ac_try="$ac_link"
29027 case "(($ac_try" in
29028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29029 *) ac_try_echo=$ac_try;;
29030 esac
29031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29032 (eval "$ac_link") 2>conftest.er1
29033 ac_status=$?
29034 grep -v '^ *+' conftest.er1 >conftest.err
29035 rm -f conftest.er1
29036 cat conftest.err >&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } && {
29039 test -z "$ac_c_werror_flag" ||
29040 test ! -s conftest.err
29041 } && test -s conftest$ac_exeext &&
29042 $as_test_x conftest$ac_exeext; then
29043 ac_cv_lib_jpeg_jpeg_read_header=yes
29044 else
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.$ac_ext >&5
29047
29048 ac_cv_lib_jpeg_jpeg_read_header=no
29049 fi
29050
29051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29052 conftest$ac_exeext conftest.$ac_ext
29053 LIBS=$ac_check_lib_save_LIBS
29054 fi
29055 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29056 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29057 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29058 JPEG_LINK=" -ljpeg"
29059 fi
29060
29061 fi
29062
29063 if test "x$JPEG_LINK" = "x" ; then
29064 if test "$wxUSE_LIBJPEG" = "sys" ; then
29065 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29066 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29067 { (exit 1); exit 1; }; }
29068 else
29069 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29070 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29071 wxUSE_LIBJPEG=builtin
29072 fi
29073 else
29074 wxUSE_LIBJPEG=sys
29075
29076 if test "$wxUSE_MSW" = 1; then
29077 { echo "$as_me:$LINENO: checking for boolean" >&5
29078 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29079 if test "${ac_cv_type_boolean+set}" = set; then
29080 echo $ECHO_N "(cached) $ECHO_C" >&6
29081 else
29082 cat >conftest.$ac_ext <<_ACEOF
29083 /* confdefs.h. */
29084 _ACEOF
29085 cat confdefs.h >>conftest.$ac_ext
29086 cat >>conftest.$ac_ext <<_ACEOF
29087 /* end confdefs.h. */
29088 #include <windows.h>
29089
29090 typedef boolean ac__type_new_;
29091 int
29092 main ()
29093 {
29094 if ((ac__type_new_ *) 0)
29095 return 0;
29096 if (sizeof (ac__type_new_))
29097 return 0;
29098 ;
29099 return 0;
29100 }
29101 _ACEOF
29102 rm -f conftest.$ac_objext
29103 if { (ac_try="$ac_compile"
29104 case "(($ac_try" in
29105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29106 *) ac_try_echo=$ac_try;;
29107 esac
29108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29109 (eval "$ac_compile") 2>conftest.er1
29110 ac_status=$?
29111 grep -v '^ *+' conftest.er1 >conftest.err
29112 rm -f conftest.er1
29113 cat conftest.err >&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } && {
29116 test -z "$ac_c_werror_flag" ||
29117 test ! -s conftest.err
29118 } && test -s conftest.$ac_objext; then
29119 ac_cv_type_boolean=yes
29120 else
29121 echo "$as_me: failed program was:" >&5
29122 sed 's/^/| /' conftest.$ac_ext >&5
29123
29124 ac_cv_type_boolean=no
29125 fi
29126
29127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29128 fi
29129 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29130 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29131 if test $ac_cv_type_boolean = yes; then
29132
29133 cat >>confdefs.h <<_ACEOF
29134 #define HAVE_BOOLEAN 1
29135 _ACEOF
29136
29137
29138 { echo "$as_me:$LINENO: checking for boolean" >&5
29139 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29140 if test "${ac_cv_type_boolean+set}" = set; then
29141 echo $ECHO_N "(cached) $ECHO_C" >&6
29142 else
29143 cat >conftest.$ac_ext <<_ACEOF
29144 /* confdefs.h. */
29145 _ACEOF
29146 cat confdefs.h >>conftest.$ac_ext
29147 cat >>conftest.$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29149
29150 #undef HAVE_BOOLEAN
29151 #include <stdio.h>
29152 #include <jpeglib.h>
29153
29154
29155 typedef boolean ac__type_new_;
29156 int
29157 main ()
29158 {
29159 if ((ac__type_new_ *) 0)
29160 return 0;
29161 if (sizeof (ac__type_new_))
29162 return 0;
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext
29168 if { (ac_try="$ac_compile"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29172 esac
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_compile") 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest.$ac_objext; then
29184 ac_cv_type_boolean=yes
29185 else
29186 echo "$as_me: failed program was:" >&5
29187 sed 's/^/| /' conftest.$ac_ext >&5
29188
29189 ac_cv_type_boolean=no
29190 fi
29191
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29193 fi
29194 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29195 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29196
29197 # The cast to long int works around a bug in the HP C Compiler
29198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29200 # This bug is HP SR number 8606223364.
29201 { echo "$as_me:$LINENO: checking size of boolean" >&5
29202 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29203 if test "${ac_cv_sizeof_boolean+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29205 else
29206 if test "$cross_compiling" = yes; then
29207 # Depending upon the size, compute the lo and hi bounds.
29208 cat >conftest.$ac_ext <<_ACEOF
29209 /* confdefs.h. */
29210 _ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214
29215 #undef HAVE_BOOLEAN
29216 #include <stdio.h>
29217 #include <jpeglib.h>
29218
29219
29220 typedef boolean ac__type_sizeof_;
29221 int
29222 main ()
29223 {
29224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29225 test_array [0] = 0
29226
29227 ;
29228 return 0;
29229 }
29230 _ACEOF
29231 rm -f conftest.$ac_objext
29232 if { (ac_try="$ac_compile"
29233 case "(($ac_try" in
29234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29235 *) ac_try_echo=$ac_try;;
29236 esac
29237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29238 (eval "$ac_compile") 2>conftest.er1
29239 ac_status=$?
29240 grep -v '^ *+' conftest.er1 >conftest.err
29241 rm -f conftest.er1
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } && {
29245 test -z "$ac_c_werror_flag" ||
29246 test ! -s conftest.err
29247 } && test -s conftest.$ac_objext; then
29248 ac_lo=0 ac_mid=0
29249 while :; do
29250 cat >conftest.$ac_ext <<_ACEOF
29251 /* confdefs.h. */
29252 _ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256
29257 #undef HAVE_BOOLEAN
29258 #include <stdio.h>
29259 #include <jpeglib.h>
29260
29261
29262 typedef boolean ac__type_sizeof_;
29263 int
29264 main ()
29265 {
29266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29267 test_array [0] = 0
29268
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 rm -f conftest.$ac_objext
29274 if { (ac_try="$ac_compile"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29278 esac
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_compile") 2>conftest.er1
29281 ac_status=$?
29282 grep -v '^ *+' conftest.er1 >conftest.err
29283 rm -f conftest.er1
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest.$ac_objext; then
29290 ac_hi=$ac_mid; break
29291 else
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29294
29295 ac_lo=`expr $ac_mid + 1`
29296 if test $ac_lo -le $ac_mid; then
29297 ac_lo= ac_hi=
29298 break
29299 fi
29300 ac_mid=`expr 2 '*' $ac_mid + 1`
29301 fi
29302
29303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29304 done
29305 else
29306 echo "$as_me: failed program was:" >&5
29307 sed 's/^/| /' conftest.$ac_ext >&5
29308
29309 cat >conftest.$ac_ext <<_ACEOF
29310 /* confdefs.h. */
29311 _ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315
29316 #undef HAVE_BOOLEAN
29317 #include <stdio.h>
29318 #include <jpeglib.h>
29319
29320
29321 typedef boolean ac__type_sizeof_;
29322 int
29323 main ()
29324 {
29325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29326 test_array [0] = 0
29327
29328 ;
29329 return 0;
29330 }
29331 _ACEOF
29332 rm -f conftest.$ac_objext
29333 if { (ac_try="$ac_compile"
29334 case "(($ac_try" in
29335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29336 *) ac_try_echo=$ac_try;;
29337 esac
29338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29339 (eval "$ac_compile") 2>conftest.er1
29340 ac_status=$?
29341 grep -v '^ *+' conftest.er1 >conftest.err
29342 rm -f conftest.er1
29343 cat conftest.err >&5
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); } && {
29346 test -z "$ac_c_werror_flag" ||
29347 test ! -s conftest.err
29348 } && test -s conftest.$ac_objext; then
29349 ac_hi=-1 ac_mid=-1
29350 while :; do
29351 cat >conftest.$ac_ext <<_ACEOF
29352 /* confdefs.h. */
29353 _ACEOF
29354 cat confdefs.h >>conftest.$ac_ext
29355 cat >>conftest.$ac_ext <<_ACEOF
29356 /* end confdefs.h. */
29357
29358 #undef HAVE_BOOLEAN
29359 #include <stdio.h>
29360 #include <jpeglib.h>
29361
29362
29363 typedef boolean ac__type_sizeof_;
29364 int
29365 main ()
29366 {
29367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29368 test_array [0] = 0
29369
29370 ;
29371 return 0;
29372 }
29373 _ACEOF
29374 rm -f conftest.$ac_objext
29375 if { (ac_try="$ac_compile"
29376 case "(($ac_try" in
29377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29378 *) ac_try_echo=$ac_try;;
29379 esac
29380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29381 (eval "$ac_compile") 2>conftest.er1
29382 ac_status=$?
29383 grep -v '^ *+' conftest.er1 >conftest.err
29384 rm -f conftest.er1
29385 cat conftest.err >&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } && {
29388 test -z "$ac_c_werror_flag" ||
29389 test ! -s conftest.err
29390 } && test -s conftest.$ac_objext; then
29391 ac_lo=$ac_mid; break
29392 else
29393 echo "$as_me: failed program was:" >&5
29394 sed 's/^/| /' conftest.$ac_ext >&5
29395
29396 ac_hi=`expr '(' $ac_mid ')' - 1`
29397 if test $ac_mid -le $ac_hi; then
29398 ac_lo= ac_hi=
29399 break
29400 fi
29401 ac_mid=`expr 2 '*' $ac_mid`
29402 fi
29403
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405 done
29406 else
29407 echo "$as_me: failed program was:" >&5
29408 sed 's/^/| /' conftest.$ac_ext >&5
29409
29410 ac_lo= ac_hi=
29411 fi
29412
29413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29414 fi
29415
29416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29417 # Binary search between lo and hi bounds.
29418 while test "x$ac_lo" != "x$ac_hi"; do
29419 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29420 cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h. */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h. */
29426
29427 #undef HAVE_BOOLEAN
29428 #include <stdio.h>
29429 #include <jpeglib.h>
29430
29431
29432 typedef boolean ac__type_sizeof_;
29433 int
29434 main ()
29435 {
29436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29437 test_array [0] = 0
29438
29439 ;
29440 return 0;
29441 }
29442 _ACEOF
29443 rm -f conftest.$ac_objext
29444 if { (ac_try="$ac_compile"
29445 case "(($ac_try" in
29446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29447 *) ac_try_echo=$ac_try;;
29448 esac
29449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29450 (eval "$ac_compile") 2>conftest.er1
29451 ac_status=$?
29452 grep -v '^ *+' conftest.er1 >conftest.err
29453 rm -f conftest.er1
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } && {
29457 test -z "$ac_c_werror_flag" ||
29458 test ! -s conftest.err
29459 } && test -s conftest.$ac_objext; then
29460 ac_hi=$ac_mid
29461 else
29462 echo "$as_me: failed program was:" >&5
29463 sed 's/^/| /' conftest.$ac_ext >&5
29464
29465 ac_lo=`expr '(' $ac_mid ')' + 1`
29466 fi
29467
29468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29469 done
29470 case $ac_lo in
29471 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29472 '') if test "$ac_cv_type_boolean" = yes; then
29473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29474 See \`config.log' for more details." >&5
29475 echo "$as_me: error: cannot compute sizeof (boolean)
29476 See \`config.log' for more details." >&2;}
29477 { (exit 77); exit 77; }; }
29478 else
29479 ac_cv_sizeof_boolean=0
29480 fi ;;
29481 esac
29482 else
29483 cat >conftest.$ac_ext <<_ACEOF
29484 /* confdefs.h. */
29485 _ACEOF
29486 cat confdefs.h >>conftest.$ac_ext
29487 cat >>conftest.$ac_ext <<_ACEOF
29488 /* end confdefs.h. */
29489
29490 #undef HAVE_BOOLEAN
29491 #include <stdio.h>
29492 #include <jpeglib.h>
29493
29494
29495 typedef boolean ac__type_sizeof_;
29496 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29497 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29498 #include <stdio.h>
29499 #include <stdlib.h>
29500 int
29501 main ()
29502 {
29503
29504 FILE *f = fopen ("conftest.val", "w");
29505 if (! f)
29506 return 1;
29507 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29508 {
29509 long int i = longval ();
29510 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29511 return 1;
29512 fprintf (f, "%ld\n", i);
29513 }
29514 else
29515 {
29516 unsigned long int i = ulongval ();
29517 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29518 return 1;
29519 fprintf (f, "%lu\n", i);
29520 }
29521 return ferror (f) || fclose (f) != 0;
29522
29523 ;
29524 return 0;
29525 }
29526 _ACEOF
29527 rm -f conftest$ac_exeext
29528 if { (ac_try="$ac_link"
29529 case "(($ac_try" in
29530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29531 *) ac_try_echo=$ac_try;;
29532 esac
29533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29534 (eval "$ac_link") 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29538 { (case "(($ac_try" in
29539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29540 *) ac_try_echo=$ac_try;;
29541 esac
29542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29543 (eval "$ac_try") 2>&5
29544 ac_status=$?
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); }; }; then
29547 ac_cv_sizeof_boolean=`cat conftest.val`
29548 else
29549 echo "$as_me: program exited with status $ac_status" >&5
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553 ( exit $ac_status )
29554 if test "$ac_cv_type_boolean" = yes; then
29555 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29556 See \`config.log' for more details." >&5
29557 echo "$as_me: error: cannot compute sizeof (boolean)
29558 See \`config.log' for more details." >&2;}
29559 { (exit 77); exit 77; }; }
29560 else
29561 ac_cv_sizeof_boolean=0
29562 fi
29563 fi
29564 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29565 fi
29566 rm -f conftest.val
29567 fi
29568 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29569 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29570
29571
29572
29573 cat >>confdefs.h <<_ACEOF
29574 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29575 _ACEOF
29576
29577
29578 cat >>confdefs.h <<_ACEOF
29579 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29580 _ACEOF
29581
29582
29583 fi
29584
29585 fi
29586 fi
29587 fi
29588 fi
29589 fi
29590
29591
29592 TIFF_LINK=
29593 TIFF_PREREQ_LINKS=-lm
29594 if test "$wxUSE_LIBTIFF" != "no" ; then
29595 cat >>confdefs.h <<\_ACEOF
29596 #define wxUSE_LIBTIFF 1
29597 _ACEOF
29598
29599
29600 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29601 if test "$wxUSE_LIBJPEG" = "sys"; then
29602 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29603 fi
29604 if test "$wxUSE_ZLIB" = "sys"; then
29605 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29606 fi
29607 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29608 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29609 if test "${ac_cv_header_tiffio_h+set}" = set; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29611 else
29612 cat >conftest.$ac_ext <<_ACEOF
29613 /* confdefs.h. */
29614 _ACEOF
29615 cat confdefs.h >>conftest.$ac_ext
29616 cat >>conftest.$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29618
29619
29620
29621 #include <tiffio.h>
29622 _ACEOF
29623 rm -f conftest.$ac_objext
29624 if { (ac_try="$ac_compile"
29625 case "(($ac_try" in
29626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29627 *) ac_try_echo=$ac_try;;
29628 esac
29629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29630 (eval "$ac_compile") 2>conftest.er1
29631 ac_status=$?
29632 grep -v '^ *+' conftest.er1 >conftest.err
29633 rm -f conftest.er1
29634 cat conftest.err >&5
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); } && {
29637 test -z "$ac_c_werror_flag" ||
29638 test ! -s conftest.err
29639 } && test -s conftest.$ac_objext; then
29640 ac_cv_header_tiffio_h=yes
29641 else
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29644
29645 ac_cv_header_tiffio_h=no
29646 fi
29647
29648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29649 fi
29650 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29651 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29652 if test $ac_cv_header_tiffio_h = yes; then
29653
29654 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29655 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29656 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 else
29659 ac_check_lib_save_LIBS=$LIBS
29660 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667
29668 /* Override any GCC internal prototype to avoid an error.
29669 Use char because int might match the return type of a GCC
29670 builtin and then its argument prototype would still apply. */
29671 #ifdef __cplusplus
29672 extern "C"
29673 #endif
29674 char TIFFError ();
29675 int
29676 main ()
29677 {
29678 return TIFFError ();
29679 ;
29680 return 0;
29681 }
29682 _ACEOF
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (ac_try="$ac_link"
29685 case "(($ac_try" in
29686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29687 *) ac_try_echo=$ac_try;;
29688 esac
29689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29690 (eval "$ac_link") 2>conftest.er1
29691 ac_status=$?
29692 grep -v '^ *+' conftest.er1 >conftest.err
29693 rm -f conftest.er1
29694 cat conftest.err >&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } && {
29697 test -z "$ac_c_werror_flag" ||
29698 test ! -s conftest.err
29699 } && test -s conftest$ac_exeext &&
29700 $as_test_x conftest$ac_exeext; then
29701 ac_cv_lib_tiff_TIFFError=yes
29702 else
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.$ac_ext >&5
29705
29706 ac_cv_lib_tiff_TIFFError=no
29707 fi
29708
29709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29710 conftest$ac_exeext conftest.$ac_ext
29711 LIBS=$ac_check_lib_save_LIBS
29712 fi
29713 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29714 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29715 if test $ac_cv_lib_tiff_TIFFError = yes; then
29716 TIFF_LINK=" -ltiff"
29717 fi
29718
29719
29720 fi
29721
29722
29723
29724 if test "x$TIFF_LINK" = "x" ; then
29725 if test "$wxUSE_LIBTIFF" = "sys" ; then
29726 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29727 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29728 { (exit 1); exit 1; }; }
29729 else
29730 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29731 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29732 wxUSE_LIBTIFF=builtin
29733 fi
29734 else
29735 wxUSE_LIBTIFF=sys
29736 fi
29737 fi
29738 fi
29739
29740
29741 if test "$wxUSE_WCHAR_T" != "yes"; then
29742 if test "$wxUSE_EXPAT" != "no"; then
29743 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29744 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29745 wxUSE_EXPAT=no
29746 fi
29747 if test "$wxUSE_XML" != "no"; then
29748 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29749 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29750 wxUSE_XML=no
29751 fi
29752 fi
29753
29754 if test "$wxUSE_EXPAT" != "no"; then
29755 wxUSE_XML=yes
29756 cat >>confdefs.h <<\_ACEOF
29757 #define wxUSE_EXPAT 1
29758 _ACEOF
29759
29760 cat >>confdefs.h <<\_ACEOF
29761 #define wxUSE_XML 1
29762 _ACEOF
29763
29764
29765 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29766 { echo "$as_me:$LINENO: checking for expat.h" >&5
29767 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29768 if test "${ac_cv_header_expat_h+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 else
29771 cat >conftest.$ac_ext <<_ACEOF
29772 /* confdefs.h. */
29773 _ACEOF
29774 cat confdefs.h >>conftest.$ac_ext
29775 cat >>conftest.$ac_ext <<_ACEOF
29776 /* end confdefs.h. */
29777
29778
29779 #include <expat.h>
29780 _ACEOF
29781 rm -f conftest.$ac_objext
29782 if { (ac_try="$ac_compile"
29783 case "(($ac_try" in
29784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29785 *) ac_try_echo=$ac_try;;
29786 esac
29787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29788 (eval "$ac_compile") 2>conftest.er1
29789 ac_status=$?
29790 grep -v '^ *+' conftest.er1 >conftest.err
29791 rm -f conftest.er1
29792 cat conftest.err >&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); } && {
29795 test -z "$ac_c_werror_flag" ||
29796 test ! -s conftest.err
29797 } && test -s conftest.$ac_objext; then
29798 ac_cv_header_expat_h=yes
29799 else
29800 echo "$as_me: failed program was:" >&5
29801 sed 's/^/| /' conftest.$ac_ext >&5
29802
29803 ac_cv_header_expat_h=no
29804 fi
29805
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29807 fi
29808 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29809 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29810 if test $ac_cv_header_expat_h = yes; then
29811 found_expat_h=1
29812 fi
29813
29814
29815 if test "x$found_expat_h" = "x1"; then
29816 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29817 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29818 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29819 echo $ECHO_N "(cached) $ECHO_C" >&6
29820 else
29821
29822 ac_ext=cpp
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827
29828 cat >conftest.$ac_ext <<_ACEOF
29829 /* confdefs.h. */
29830 _ACEOF
29831 cat confdefs.h >>conftest.$ac_ext
29832 cat >>conftest.$ac_ext <<_ACEOF
29833 /* end confdefs.h. */
29834 #include <expat.h>
29835 int
29836 main ()
29837 {
29838
29839 ;
29840 return 0;
29841 }
29842 _ACEOF
29843 rm -f conftest.$ac_objext
29844 if { (ac_try="$ac_compile"
29845 case "(($ac_try" in
29846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29847 *) ac_try_echo=$ac_try;;
29848 esac
29849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29850 (eval "$ac_compile") 2>conftest.er1
29851 ac_status=$?
29852 grep -v '^ *+' conftest.er1 >conftest.err
29853 rm -f conftest.er1
29854 cat conftest.err >&5
29855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29856 (exit $ac_status); } && {
29857 test -z "$ac_cxx_werror_flag" ||
29858 test ! -s conftest.err
29859 } && test -s conftest.$ac_objext; then
29860 wx_cv_expat_is_not_broken=yes
29861 else
29862 echo "$as_me: failed program was:" >&5
29863 sed 's/^/| /' conftest.$ac_ext >&5
29864
29865 wx_cv_expat_is_not_broken=no
29866
29867 fi
29868
29869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29870 ac_ext=c
29871 ac_cpp='$CPP $CPPFLAGS'
29872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29875
29876
29877
29878 fi
29879 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29880 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29881 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29882 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29883 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29884 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29885 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 else
29887 ac_check_lib_save_LIBS=$LIBS
29888 LIBS="-lexpat $LIBS"
29889 cat >conftest.$ac_ext <<_ACEOF
29890 /* confdefs.h. */
29891 _ACEOF
29892 cat confdefs.h >>conftest.$ac_ext
29893 cat >>conftest.$ac_ext <<_ACEOF
29894 /* end confdefs.h. */
29895
29896 /* Override any GCC internal prototype to avoid an error.
29897 Use char because int might match the return type of a GCC
29898 builtin and then its argument prototype would still apply. */
29899 #ifdef __cplusplus
29900 extern "C"
29901 #endif
29902 char XML_ParserCreate ();
29903 int
29904 main ()
29905 {
29906 return XML_ParserCreate ();
29907 ;
29908 return 0;
29909 }
29910 _ACEOF
29911 rm -f conftest.$ac_objext conftest$ac_exeext
29912 if { (ac_try="$ac_link"
29913 case "(($ac_try" in
29914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29915 *) ac_try_echo=$ac_try;;
29916 esac
29917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29918 (eval "$ac_link") 2>conftest.er1
29919 ac_status=$?
29920 grep -v '^ *+' conftest.er1 >conftest.err
29921 rm -f conftest.er1
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } && {
29925 test -z "$ac_c_werror_flag" ||
29926 test ! -s conftest.err
29927 } && test -s conftest$ac_exeext &&
29928 $as_test_x conftest$ac_exeext; then
29929 ac_cv_lib_expat_XML_ParserCreate=yes
29930 else
29931 echo "$as_me: failed program was:" >&5
29932 sed 's/^/| /' conftest.$ac_ext >&5
29933
29934 ac_cv_lib_expat_XML_ParserCreate=no
29935 fi
29936
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29939 LIBS=$ac_check_lib_save_LIBS
29940 fi
29941 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29942 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29943 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29944 EXPAT_LINK=" -lexpat"
29945 fi
29946
29947 fi
29948 fi
29949 if test "x$EXPAT_LINK" = "x" ; then
29950 if test "$wxUSE_EXPAT" = "sys" ; then
29951 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29952 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29953 { (exit 1); exit 1; }; }
29954 else
29955 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29956 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29957 wxUSE_EXPAT=builtin
29958 fi
29959 else
29960 wxUSE_EXPAT=sys
29961 fi
29962 fi
29963 if test "$wxUSE_EXPAT" = "builtin" ; then
29964 subdirs="$subdirs src/expat"
29965
29966 fi
29967 fi
29968
29969
29970
29971 if test "$wxUSE_LIBMSPACK" != "no"; then
29972 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29973 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29974 if test "${ac_cv_header_mspack_h+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977 cat >conftest.$ac_ext <<_ACEOF
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983
29984
29985 #include <mspack.h>
29986 _ACEOF
29987 rm -f conftest.$ac_objext
29988 if { (ac_try="$ac_compile"
29989 case "(($ac_try" in
29990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29991 *) ac_try_echo=$ac_try;;
29992 esac
29993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29994 (eval "$ac_compile") 2>conftest.er1
29995 ac_status=$?
29996 grep -v '^ *+' conftest.er1 >conftest.err
29997 rm -f conftest.er1
29998 cat conftest.err >&5
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); } && {
30001 test -z "$ac_c_werror_flag" ||
30002 test ! -s conftest.err
30003 } && test -s conftest.$ac_objext; then
30004 ac_cv_header_mspack_h=yes
30005 else
30006 echo "$as_me: failed program was:" >&5
30007 sed 's/^/| /' conftest.$ac_ext >&5
30008
30009 ac_cv_header_mspack_h=no
30010 fi
30011
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 fi
30014 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
30015 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
30016 if test $ac_cv_header_mspack_h = yes; then
30017 found_mspack_h=1
30018 fi
30019
30020
30021 if test "x$found_mspack_h" = "x1"; then
30022 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
30023 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
30024 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 else
30027 ac_check_lib_save_LIBS=$LIBS
30028 LIBS="-lmspack $LIBS"
30029 cat >conftest.$ac_ext <<_ACEOF
30030 /* confdefs.h. */
30031 _ACEOF
30032 cat confdefs.h >>conftest.$ac_ext
30033 cat >>conftest.$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30035
30036 /* Override any GCC internal prototype to avoid an error.
30037 Use char because int might match the return type of a GCC
30038 builtin and then its argument prototype would still apply. */
30039 #ifdef __cplusplus
30040 extern "C"
30041 #endif
30042 char mspack_create_chm_decompressor ();
30043 int
30044 main ()
30045 {
30046 return mspack_create_chm_decompressor ();
30047 ;
30048 return 0;
30049 }
30050 _ACEOF
30051 rm -f conftest.$ac_objext conftest$ac_exeext
30052 if { (ac_try="$ac_link"
30053 case "(($ac_try" in
30054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30055 *) ac_try_echo=$ac_try;;
30056 esac
30057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30058 (eval "$ac_link") 2>conftest.er1
30059 ac_status=$?
30060 grep -v '^ *+' conftest.er1 >conftest.err
30061 rm -f conftest.er1
30062 cat conftest.err >&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); } && {
30065 test -z "$ac_c_werror_flag" ||
30066 test ! -s conftest.err
30067 } && test -s conftest$ac_exeext &&
30068 $as_test_x conftest$ac_exeext; then
30069 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30070 else
30071 echo "$as_me: failed program was:" >&5
30072 sed 's/^/| /' conftest.$ac_ext >&5
30073
30074 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30075 fi
30076
30077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30078 conftest$ac_exeext conftest.$ac_ext
30079 LIBS=$ac_check_lib_save_LIBS
30080 fi
30081 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30082 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30083 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30084 MSPACK_LINK=" -lmspack"
30085 fi
30086
30087 fi
30088 if test "x$MSPACK_LINK" = "x" ; then
30089 wxUSE_LIBMSPACK=no
30090 fi
30091 fi
30092
30093 if test "$wxUSE_LIBMSPACK" != "no"; then
30094 cat >>confdefs.h <<\_ACEOF
30095 #define wxUSE_LIBMSPACK 1
30096 _ACEOF
30097
30098 fi
30099
30100
30101
30102 AFMINSTALL=
30103 WIN32INSTALL=
30104
30105 TOOLKIT=
30106 TOOLKIT_INCLUDE=
30107 WIDGET_SET=
30108
30109 if test "$USE_WIN32" = 1 ; then
30110
30111 for ac_header in w32api.h
30112 do
30113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30114 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30116 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30117 echo $ECHO_N "(cached) $ECHO_C" >&6
30118 else
30119 cat >conftest.$ac_ext <<_ACEOF
30120 /* confdefs.h. */
30121 _ACEOF
30122 cat confdefs.h >>conftest.$ac_ext
30123 cat >>conftest.$ac_ext <<_ACEOF
30124 /* end confdefs.h. */
30125
30126
30127 #include <$ac_header>
30128 _ACEOF
30129 rm -f conftest.$ac_objext
30130 if { (ac_try="$ac_compile"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30134 esac
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_compile") 2>conftest.er1
30137 ac_status=$?
30138 grep -v '^ *+' conftest.er1 >conftest.err
30139 rm -f conftest.er1
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest.$ac_objext; then
30146 eval "$as_ac_Header=yes"
30147 else
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30150
30151 eval "$as_ac_Header=no"
30152 fi
30153
30154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30155 fi
30156 ac_res=`eval echo '${'$as_ac_Header'}'`
30157 { echo "$as_me:$LINENO: result: $ac_res" >&5
30158 echo "${ECHO_T}$ac_res" >&6; }
30159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30160 cat >>confdefs.h <<_ACEOF
30161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30162 _ACEOF
30163
30164 fi
30165
30166 done
30167
30168 { echo "$as_me:$LINENO: checking for windows.h" >&5
30169 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30170 if test "${ac_cv_header_windows_h+set}" = set; then
30171 echo $ECHO_N "(cached) $ECHO_C" >&6
30172 else
30173 cat >conftest.$ac_ext <<_ACEOF
30174 /* confdefs.h. */
30175 _ACEOF
30176 cat confdefs.h >>conftest.$ac_ext
30177 cat >>conftest.$ac_ext <<_ACEOF
30178 /* end confdefs.h. */
30179
30180
30181 #include <windows.h>
30182 _ACEOF
30183 rm -f conftest.$ac_objext
30184 if { (ac_try="$ac_compile"
30185 case "(($ac_try" in
30186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30187 *) ac_try_echo=$ac_try;;
30188 esac
30189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30190 (eval "$ac_compile") 2>conftest.er1
30191 ac_status=$?
30192 grep -v '^ *+' conftest.er1 >conftest.err
30193 rm -f conftest.er1
30194 cat conftest.err >&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } && {
30197 test -z "$ac_c_werror_flag" ||
30198 test ! -s conftest.err
30199 } && test -s conftest.$ac_objext; then
30200 ac_cv_header_windows_h=yes
30201 else
30202 echo "$as_me: failed program was:" >&5
30203 sed 's/^/| /' conftest.$ac_ext >&5
30204
30205 ac_cv_header_windows_h=no
30206 fi
30207
30208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30209 fi
30210 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30211 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30212 if test $ac_cv_header_windows_h = yes; then
30213 :
30214 else
30215
30216 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30217 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30218 { (exit 1); exit 1; }; }
30219
30220 fi
30221
30222
30223
30224 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30225
30226 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30227 LIBS="$LIBS -loleacc"
30228 fi
30229
30230 case "${host}" in
30231 *-*-cygwin* )
30232 LIBS="$LIBS -lkernel32 -luser32"
30233 esac
30234
30235 if test "$wxUSE_ODBC" = "sys" ; then
30236 wxUSE_ODBC = "yes"
30237 fi
30238 if test "$wxUSE_ODBC" = "yes" ; then
30239 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30240 cat >>confdefs.h <<\_ACEOF
30241 #define wxUSE_ODBC 1
30242 _ACEOF
30243
30244 fi
30245
30246 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30247 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30248
30249 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30250
30251 WIN32INSTALL=win32install
30252
30253 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30254 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30255 if test "${ac_cv_header_pbt_h+set}" = set; then
30256 echo $ECHO_N "(cached) $ECHO_C" >&6
30257 else
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264
30265
30266 #include <pbt.h>
30267 _ACEOF
30268 rm -f conftest.$ac_objext
30269 if { (ac_try="$ac_compile"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30273 esac
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_compile") 2>conftest.er1
30276 ac_status=$?
30277 grep -v '^ *+' conftest.er1 >conftest.err
30278 rm -f conftest.er1
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } && {
30282 test -z "$ac_c_werror_flag" ||
30283 test ! -s conftest.err
30284 } && test -s conftest.$ac_objext; then
30285 ac_cv_header_pbt_h=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30289
30290 ac_cv_header_pbt_h=no
30291 fi
30292
30293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30294 fi
30295 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30296 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30297 if test $ac_cv_header_pbt_h = yes; then
30298 :
30299 else
30300 cat >>confdefs.h <<\_ACEOF
30301 #define NEED_PBT_H 1
30302 _ACEOF
30303
30304 fi
30305
30306
30307 fi
30308
30309 if test "$wxUSE_GUI" = "yes"; then
30310 USE_GUI=1
30311
30312 GUI_TK_LIBRARY=
30313
30314 WXGTK12=
30315 WXGTK127=
30316 WXGTK20=
30317 WXGPE=
30318
30319 if test "$wxUSE_COCOA" = 1 ; then
30320 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30321 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30322 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30323 wxUSE_PRINTING_ARCHITECTURE=no
30324 fi
30325 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30326 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30327 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30328 wxUSE_DRAG_AND_DROP=no
30329 fi
30330 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30331 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30332 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30333 wxUSE_DRAGIMAGE=no
30334 fi
30335 fi
30336
30337 if test "$wxUSE_MSW" = 1 ; then
30338 TOOLKIT=MSW
30339 GUIDIST=MSW_DIST
30340
30341 case "${host}" in
30342 *-*-mingw32* )
30343 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30344 esac
30345 fi
30346
30347 if test "$wxUSE_GTK" = 1; then
30348 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30349 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30350
30351 gtk_version_cached=1
30352 if test "${wx_cv_lib_gtk+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355
30356 gtk_version_cached=0
30357 { echo "$as_me:$LINENO: result: " >&5
30358 echo "${ECHO_T}" >&6; }
30359
30360 GTK_MODULES=
30361 if test "$wxUSE_THREADS" = "yes"; then
30362 GTK_MODULES=gthread
30363 fi
30364
30365 wx_cv_lib_gtk=
30366 if test "x$wxGTK_VERSION" != "x1"
30367 then
30368 case "${host}" in
30369 *-*-solaris2* )
30370 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30371 enable_gtktest=no
30372 fi
30373 esac
30374
30375 # Check whether --enable-gtktest was given.
30376 if test "${enable_gtktest+set}" = set; then
30377 enableval=$enable_gtktest;
30378 else
30379 enable_gtktest=yes
30380 fi
30381
30382
30383 pkg_config_args=gtk+-2.0
30384 for module in . $GTK_MODULES
30385 do
30386 case "$module" in
30387 gthread)
30388 pkg_config_args="$pkg_config_args gthread-2.0"
30389 ;;
30390 esac
30391 done
30392
30393 no_gtk=""
30394
30395 # Extract the first word of "pkg-config", so it can be a program name with args.
30396 set dummy pkg-config; ac_word=$2
30397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30399 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30400 echo $ECHO_N "(cached) $ECHO_C" >&6
30401 else
30402 case $PKG_CONFIG in
30403 [\\/]* | ?:[\\/]*)
30404 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30405 ;;
30406 *)
30407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30408 for as_dir in $PATH
30409 do
30410 IFS=$as_save_IFS
30411 test -z "$as_dir" && as_dir=.
30412 for ac_exec_ext in '' $ac_executable_extensions; do
30413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30414 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30416 break 2
30417 fi
30418 done
30419 done
30420 IFS=$as_save_IFS
30421
30422 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30423 ;;
30424 esac
30425 fi
30426 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30427 if test -n "$PKG_CONFIG"; then
30428 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30429 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30430 else
30431 { echo "$as_me:$LINENO: result: no" >&5
30432 echo "${ECHO_T}no" >&6; }
30433 fi
30434
30435
30436
30437 if test x$PKG_CONFIG != xno ; then
30438 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30439 :
30440 else
30441 echo "*** pkg-config too old; version 0.7 or better required."
30442 no_gtk=yes
30443 PKG_CONFIG=no
30444 fi
30445 else
30446 no_gtk=yes
30447 fi
30448
30449 min_gtk_version=2.0.0
30450 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30451 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30452
30453 if test x$PKG_CONFIG != xno ; then
30454 ## don't try to run the test against uninstalled libtool libs
30455 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30456 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30457 enable_gtktest=no
30458 fi
30459
30460 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30461 :
30462 else
30463 no_gtk=yes
30464 fi
30465 fi
30466
30467 if test x"$no_gtk" = x ; then
30468 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30469 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30470 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30472 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30474 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30476 if test "x$enable_gtktest" = "xyes" ; then
30477 ac_save_CFLAGS="$CFLAGS"
30478 ac_save_LIBS="$LIBS"
30479 CFLAGS="$CFLAGS $GTK_CFLAGS"
30480 LIBS="$GTK_LIBS $LIBS"
30481 rm -f conf.gtktest
30482 if test "$cross_compiling" = yes; then
30483 echo $ac_n "cross compiling; assumed OK... $ac_c"
30484 else
30485 cat >conftest.$ac_ext <<_ACEOF
30486 /* confdefs.h. */
30487 _ACEOF
30488 cat confdefs.h >>conftest.$ac_ext
30489 cat >>conftest.$ac_ext <<_ACEOF
30490 /* end confdefs.h. */
30491
30492 #include <gtk/gtk.h>
30493 #include <stdio.h>
30494 #include <stdlib.h>
30495
30496 int
30497 main ()
30498 {
30499 int major, minor, micro;
30500 char *tmp_version;
30501
30502 system ("touch conf.gtktest");
30503
30504 /* HP/UX 9 (%@#!) writes to sscanf strings */
30505 tmp_version = g_strdup("$min_gtk_version");
30506 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30507 printf("%s, bad version string\n", "$min_gtk_version");
30508 exit(1);
30509 }
30510
30511 if ((gtk_major_version != $gtk_config_major_version) ||
30512 (gtk_minor_version != $gtk_config_minor_version) ||
30513 (gtk_micro_version != $gtk_config_micro_version))
30514 {
30515 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30516 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30517 gtk_major_version, gtk_minor_version, gtk_micro_version);
30518 printf ("*** was found! If pkg-config was correct, then it is best\n");
30519 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30520 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30521 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30522 printf("*** required on your system.\n");
30523 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30524 printf("*** to point to the correct configuration files\n");
30525 }
30526 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30527 (gtk_minor_version != GTK_MINOR_VERSION) ||
30528 (gtk_micro_version != GTK_MICRO_VERSION))
30529 {
30530 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30531 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30532 printf("*** library (version %d.%d.%d)\n",
30533 gtk_major_version, gtk_minor_version, gtk_micro_version);
30534 }
30535 else
30536 {
30537 if ((gtk_major_version > major) ||
30538 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30539 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30540 {
30541 return 0;
30542 }
30543 else
30544 {
30545 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30546 gtk_major_version, gtk_minor_version, gtk_micro_version);
30547 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30548 major, minor, micro);
30549 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30550 printf("***\n");
30551 printf("*** If you have already installed a sufficiently new version, this error\n");
30552 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30553 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30554 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30555 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30556 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30557 printf("*** so that the correct libraries are found at run-time))\n");
30558 }
30559 }
30560 return 1;
30561 }
30562
30563 _ACEOF
30564 rm -f conftest$ac_exeext
30565 if { (ac_try="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30569 esac
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>&5
30572 ac_status=$?
30573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30575 { (case "(($ac_try" in
30576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30577 *) ac_try_echo=$ac_try;;
30578 esac
30579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30580 (eval "$ac_try") 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 :
30585 else
30586 echo "$as_me: program exited with status $ac_status" >&5
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30589
30590 ( exit $ac_status )
30591 no_gtk=yes
30592 fi
30593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30594 fi
30595
30596
30597 CFLAGS="$ac_save_CFLAGS"
30598 LIBS="$ac_save_LIBS"
30599 fi
30600 fi
30601 if test "x$no_gtk" = x ; then
30602 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30603 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30604 wx_cv_lib_gtk=2.0
30605 else
30606 { echo "$as_me:$LINENO: result: no" >&5
30607 echo "${ECHO_T}no" >&6; }
30608 if test "$PKG_CONFIG" = "no" ; then
30609 echo "*** A new enough version of pkg-config was not found."
30610 echo "*** See http://pkgconfig.sourceforge.net"
30611 else
30612 if test -f conf.gtktest ; then
30613 :
30614 else
30615 echo "*** Could not run GTK+ test program, checking why..."
30616 ac_save_CFLAGS="$CFLAGS"
30617 ac_save_LIBS="$LIBS"
30618 CFLAGS="$CFLAGS $GTK_CFLAGS"
30619 LIBS="$LIBS $GTK_LIBS"
30620 cat >conftest.$ac_ext <<_ACEOF
30621 /* confdefs.h. */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626
30627 #include <gtk/gtk.h>
30628 #include <stdio.h>
30629
30630 int
30631 main ()
30632 {
30633 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30634 ;
30635 return 0;
30636 }
30637 _ACEOF
30638 rm -f conftest.$ac_objext conftest$ac_exeext
30639 if { (ac_try="$ac_link"
30640 case "(($ac_try" in
30641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30642 *) ac_try_echo=$ac_try;;
30643 esac
30644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30645 (eval "$ac_link") 2>conftest.er1
30646 ac_status=$?
30647 grep -v '^ *+' conftest.er1 >conftest.err
30648 rm -f conftest.er1
30649 cat conftest.err >&5
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); } && {
30652 test -z "$ac_c_werror_flag" ||
30653 test ! -s conftest.err
30654 } && test -s conftest$ac_exeext &&
30655 $as_test_x conftest$ac_exeext; then
30656 echo "*** The test program compiled, but did not run. This usually means"
30657 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30658 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30659 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30660 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30661 echo "*** is required on your system"
30662 echo "***"
30663 echo "*** If you have an old version installed, it is best to remove it, although"
30664 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30665 else
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30668
30669 echo "*** The test program failed to compile or link. See the file config.log for the"
30670 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30671 fi
30672
30673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30674 conftest$ac_exeext conftest.$ac_ext
30675 CFLAGS="$ac_save_CFLAGS"
30676 LIBS="$ac_save_LIBS"
30677 fi
30678 fi
30679 GTK_CFLAGS=""
30680 GTK_LIBS=""
30681 :
30682 fi
30683
30684
30685 rm -f conf.gtktest
30686
30687
30688 case "${host}" in
30689 *-*-solaris2* )
30690 if test "$wxUSE_SHARED" != "yes"; then
30691 GTK_LIBS="$GTK_LIBS -lX11"
30692 fi
30693 esac
30694 fi
30695
30696 if test -z "$wx_cv_lib_gtk"; then
30697 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30698
30699 # Check whether --with-gtk-prefix was given.
30700 if test "${with_gtk_prefix+set}" = set; then
30701 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30702 else
30703 gtk_config_prefix=""
30704 fi
30705
30706
30707 # Check whether --with-gtk-exec-prefix was given.
30708 if test "${with_gtk_exec_prefix+set}" = set; then
30709 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30710 else
30711 gtk_config_exec_prefix=""
30712 fi
30713
30714 # Check whether --enable-gtktest was given.
30715 if test "${enable_gtktest+set}" = set; then
30716 enableval=$enable_gtktest;
30717 else
30718 enable_gtktest=yes
30719 fi
30720
30721
30722 for module in . $GTK_MODULES
30723 do
30724 case "$module" in
30725 gthread)
30726 gtk_config_args="$gtk_config_args gthread"
30727 ;;
30728 esac
30729 done
30730
30731 if test x$gtk_config_exec_prefix != x ; then
30732 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30733 if test x${GTK_CONFIG+set} != xset ; then
30734 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30735 fi
30736 fi
30737 if test x$gtk_config_prefix != x ; then
30738 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30739 if test x${GTK_CONFIG+set} != xset ; then
30740 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30741 fi
30742 fi
30743
30744 # Extract the first word of "gtk-config", so it can be a program name with args.
30745 set dummy gtk-config; ac_word=$2
30746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30748 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30749 echo $ECHO_N "(cached) $ECHO_C" >&6
30750 else
30751 case $GTK_CONFIG in
30752 [\\/]* | ?:[\\/]*)
30753 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30754 ;;
30755 *)
30756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30757 for as_dir in $PATH
30758 do
30759 IFS=$as_save_IFS
30760 test -z "$as_dir" && as_dir=.
30761 for ac_exec_ext in '' $ac_executable_extensions; do
30762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30763 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30765 break 2
30766 fi
30767 done
30768 done
30769 IFS=$as_save_IFS
30770
30771 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30772 ;;
30773 esac
30774 fi
30775 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30776 if test -n "$GTK_CONFIG"; then
30777 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30778 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30779 else
30780 { echo "$as_me:$LINENO: result: no" >&5
30781 echo "${ECHO_T}no" >&6; }
30782 fi
30783
30784
30785 min_gtk_version=1.2.7
30786 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30787 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30788 no_gtk=""
30789 if test "$GTK_CONFIG" = "no" ; then
30790 no_gtk=yes
30791 else
30792 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30793 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30794 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30795 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30796 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30798 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30800 if test "x$enable_gtktest" = "xyes" ; then
30801 ac_save_CFLAGS="$CFLAGS"
30802 ac_save_LIBS="$LIBS"
30803 CFLAGS="$CFLAGS $GTK_CFLAGS"
30804 LIBS="$GTK_LIBS $LIBS"
30805 rm -f conf.gtktest
30806 if test "$cross_compiling" = yes; then
30807 echo $ac_n "cross compiling; assumed OK... $ac_c"
30808 else
30809 cat >conftest.$ac_ext <<_ACEOF
30810 /* confdefs.h. */
30811 _ACEOF
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815
30816 #include <gtk/gtk.h>
30817 #include <stdio.h>
30818 #include <stdlib.h>
30819
30820 int
30821 main ()
30822 {
30823 int major, minor, micro;
30824 char *tmp_version;
30825
30826 system ("touch conf.gtktest");
30827
30828 /* HP/UX 9 (%@#!) writes to sscanf strings */
30829 tmp_version = g_strdup("$min_gtk_version");
30830 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30831 printf("%s, bad version string\n", "$min_gtk_version");
30832 exit(1);
30833 }
30834
30835 if ((gtk_major_version != $gtk_config_major_version) ||
30836 (gtk_minor_version != $gtk_config_minor_version) ||
30837 (gtk_micro_version != $gtk_config_micro_version))
30838 {
30839 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30840 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30841 gtk_major_version, gtk_minor_version, gtk_micro_version);
30842 printf ("*** was found! If gtk-config was correct, then it is best\n");
30843 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30844 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30845 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30846 printf("*** required on your system.\n");
30847 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30848 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30849 printf("*** before re-running configure\n");
30850 }
30851 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30852 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30853 (gtk_minor_version != GTK_MINOR_VERSION) ||
30854 (gtk_micro_version != GTK_MICRO_VERSION))
30855 {
30856 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30857 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30858 printf("*** library (version %d.%d.%d)\n",
30859 gtk_major_version, gtk_minor_version, gtk_micro_version);
30860 }
30861 #endif /* defined (GTK_MAJOR_VERSION) ... */
30862 else
30863 {
30864 if ((gtk_major_version > major) ||
30865 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30866 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30867 {
30868 return 0;
30869 }
30870 else
30871 {
30872 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30873 gtk_major_version, gtk_minor_version, gtk_micro_version);
30874 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30875 major, minor, micro);
30876 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30877 printf("***\n");
30878 printf("*** If you have already installed a sufficiently new version, this error\n");
30879 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30880 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30881 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30882 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30883 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30884 printf("*** so that the correct libraries are found at run-time))\n");
30885 }
30886 }
30887 return 1;
30888 }
30889
30890 _ACEOF
30891 rm -f conftest$ac_exeext
30892 if { (ac_try="$ac_link"
30893 case "(($ac_try" in
30894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30895 *) ac_try_echo=$ac_try;;
30896 esac
30897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30898 (eval "$ac_link") 2>&5
30899 ac_status=$?
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30902 { (case "(($ac_try" in
30903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30904 *) ac_try_echo=$ac_try;;
30905 esac
30906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30907 (eval "$ac_try") 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; }; then
30911 :
30912 else
30913 echo "$as_me: program exited with status $ac_status" >&5
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30916
30917 ( exit $ac_status )
30918 no_gtk=yes
30919 fi
30920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30921 fi
30922
30923
30924 CFLAGS="$ac_save_CFLAGS"
30925 LIBS="$ac_save_LIBS"
30926 fi
30927 fi
30928 if test "x$no_gtk" = x ; then
30929 { echo "$as_me:$LINENO: result: yes" >&5
30930 echo "${ECHO_T}yes" >&6; }
30931 wx_cv_lib_gtk=1.2.7
30932 else
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 if test "$GTK_CONFIG" = "no" ; then
30936 echo "*** The gtk-config script installed by GTK could not be found"
30937 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30938 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30939 echo "*** full path to gtk-config."
30940 else
30941 if test -f conf.gtktest ; then
30942 :
30943 else
30944 echo "*** Could not run GTK test program, checking why..."
30945 CFLAGS="$CFLAGS $GTK_CFLAGS"
30946 LIBS="$LIBS $GTK_LIBS"
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953
30954 #include <gtk/gtk.h>
30955 #include <stdio.h>
30956
30957 int
30958 main ()
30959 {
30960 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30961 ;
30962 return 0;
30963 }
30964 _ACEOF
30965 rm -f conftest.$ac_objext conftest$ac_exeext
30966 if { (ac_try="$ac_link"
30967 case "(($ac_try" in
30968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30969 *) ac_try_echo=$ac_try;;
30970 esac
30971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30972 (eval "$ac_link") 2>conftest.er1
30973 ac_status=$?
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && {
30979 test -z "$ac_c_werror_flag" ||
30980 test ! -s conftest.err
30981 } && test -s conftest$ac_exeext &&
30982 $as_test_x conftest$ac_exeext; then
30983 echo "*** The test program compiled, but did not run. This usually means"
30984 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30985 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30986 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30987 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30988 echo "*** is required on your system"
30989 echo "***"
30990 echo "*** If you have an old version installed, it is best to remove it, although"
30991 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30992 echo "***"
30993 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30994 echo "*** came with the system with the command"
30995 echo "***"
30996 echo "*** rpm --erase --nodeps gtk gtk-devel"
30997 else
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.$ac_ext >&5
31000
31001 echo "*** The test program failed to compile or link. See the file config.log for the"
31002 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31003 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31004 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31005 fi
31006
31007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31008 conftest$ac_exeext conftest.$ac_ext
31009 CFLAGS="$ac_save_CFLAGS"
31010 LIBS="$ac_save_LIBS"
31011 fi
31012 fi
31013 GTK_CFLAGS=""
31014 GTK_LIBS=""
31015 :
31016 fi
31017
31018
31019 rm -f conf.gtktest
31020
31021
31022 if test -z "$wx_cv_lib_gtk"; then
31023
31024 # Check whether --with-gtk-prefix was given.
31025 if test "${with_gtk_prefix+set}" = set; then
31026 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
31027 else
31028 gtk_config_prefix=""
31029 fi
31030
31031
31032 # Check whether --with-gtk-exec-prefix was given.
31033 if test "${with_gtk_exec_prefix+set}" = set; then
31034 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
31035 else
31036 gtk_config_exec_prefix=""
31037 fi
31038
31039 # Check whether --enable-gtktest was given.
31040 if test "${enable_gtktest+set}" = set; then
31041 enableval=$enable_gtktest;
31042 else
31043 enable_gtktest=yes
31044 fi
31045
31046
31047 for module in . $GTK_MODULES
31048 do
31049 case "$module" in
31050 gthread)
31051 gtk_config_args="$gtk_config_args gthread"
31052 ;;
31053 esac
31054 done
31055
31056 if test x$gtk_config_exec_prefix != x ; then
31057 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31058 if test x${GTK_CONFIG+set} != xset ; then
31059 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31060 fi
31061 fi
31062 if test x$gtk_config_prefix != x ; then
31063 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31064 if test x${GTK_CONFIG+set} != xset ; then
31065 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31066 fi
31067 fi
31068
31069 # Extract the first word of "gtk-config", so it can be a program name with args.
31070 set dummy gtk-config; ac_word=$2
31071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31073 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31074 echo $ECHO_N "(cached) $ECHO_C" >&6
31075 else
31076 case $GTK_CONFIG in
31077 [\\/]* | ?:[\\/]*)
31078 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31079 ;;
31080 *)
31081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31082 for as_dir in $PATH
31083 do
31084 IFS=$as_save_IFS
31085 test -z "$as_dir" && as_dir=.
31086 for ac_exec_ext in '' $ac_executable_extensions; do
31087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31088 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31090 break 2
31091 fi
31092 done
31093 done
31094 IFS=$as_save_IFS
31095
31096 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31097 ;;
31098 esac
31099 fi
31100 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31101 if test -n "$GTK_CONFIG"; then
31102 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31103 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31104 else
31105 { echo "$as_me:$LINENO: result: no" >&5
31106 echo "${ECHO_T}no" >&6; }
31107 fi
31108
31109
31110 min_gtk_version=1.2.3
31111 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31112 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31113 no_gtk=""
31114 if test "$GTK_CONFIG" = "no" ; then
31115 no_gtk=yes
31116 else
31117 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31118 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31119 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31120 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31121 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31123 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31125 if test "x$enable_gtktest" = "xyes" ; then
31126 ac_save_CFLAGS="$CFLAGS"
31127 ac_save_LIBS="$LIBS"
31128 CFLAGS="$CFLAGS $GTK_CFLAGS"
31129 LIBS="$GTK_LIBS $LIBS"
31130 rm -f conf.gtktest
31131 if test "$cross_compiling" = yes; then
31132 echo $ac_n "cross compiling; assumed OK... $ac_c"
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140
31141 #include <gtk/gtk.h>
31142 #include <stdio.h>
31143 #include <stdlib.h>
31144
31145 int
31146 main ()
31147 {
31148 int major, minor, micro;
31149 char *tmp_version;
31150
31151 system ("touch conf.gtktest");
31152
31153 /* HP/UX 9 (%@#!) writes to sscanf strings */
31154 tmp_version = g_strdup("$min_gtk_version");
31155 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31156 printf("%s, bad version string\n", "$min_gtk_version");
31157 exit(1);
31158 }
31159
31160 if ((gtk_major_version != $gtk_config_major_version) ||
31161 (gtk_minor_version != $gtk_config_minor_version) ||
31162 (gtk_micro_version != $gtk_config_micro_version))
31163 {
31164 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31165 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31166 gtk_major_version, gtk_minor_version, gtk_micro_version);
31167 printf ("*** was found! If gtk-config was correct, then it is best\n");
31168 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31169 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31170 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31171 printf("*** required on your system.\n");
31172 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31173 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31174 printf("*** before re-running configure\n");
31175 }
31176 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31177 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31178 (gtk_minor_version != GTK_MINOR_VERSION) ||
31179 (gtk_micro_version != GTK_MICRO_VERSION))
31180 {
31181 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31182 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31183 printf("*** library (version %d.%d.%d)\n",
31184 gtk_major_version, gtk_minor_version, gtk_micro_version);
31185 }
31186 #endif /* defined (GTK_MAJOR_VERSION) ... */
31187 else
31188 {
31189 if ((gtk_major_version > major) ||
31190 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31191 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31192 {
31193 return 0;
31194 }
31195 else
31196 {
31197 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31198 gtk_major_version, gtk_minor_version, gtk_micro_version);
31199 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31200 major, minor, micro);
31201 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31202 printf("***\n");
31203 printf("*** If you have already installed a sufficiently new version, this error\n");
31204 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31205 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31206 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31207 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31208 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31209 printf("*** so that the correct libraries are found at run-time))\n");
31210 }
31211 }
31212 return 1;
31213 }
31214
31215 _ACEOF
31216 rm -f conftest$ac_exeext
31217 if { (ac_try="$ac_link"
31218 case "(($ac_try" in
31219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31220 *) ac_try_echo=$ac_try;;
31221 esac
31222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31223 (eval "$ac_link") 2>&5
31224 ac_status=$?
31225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31227 { (case "(($ac_try" in
31228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31229 *) ac_try_echo=$ac_try;;
31230 esac
31231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31232 (eval "$ac_try") 2>&5
31233 ac_status=$?
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; }; then
31236 :
31237 else
31238 echo "$as_me: program exited with status $ac_status" >&5
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.$ac_ext >&5
31241
31242 ( exit $ac_status )
31243 no_gtk=yes
31244 fi
31245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31246 fi
31247
31248
31249 CFLAGS="$ac_save_CFLAGS"
31250 LIBS="$ac_save_LIBS"
31251 fi
31252 fi
31253 if test "x$no_gtk" = x ; then
31254 { echo "$as_me:$LINENO: result: yes" >&5
31255 echo "${ECHO_T}yes" >&6; }
31256 wx_cv_lib_gtk=1.2.3
31257 else
31258 { echo "$as_me:$LINENO: result: no" >&5
31259 echo "${ECHO_T}no" >&6; }
31260 if test "$GTK_CONFIG" = "no" ; then
31261 echo "*** The gtk-config script installed by GTK could not be found"
31262 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31263 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31264 echo "*** full path to gtk-config."
31265 else
31266 if test -f conf.gtktest ; then
31267 :
31268 else
31269 echo "*** Could not run GTK test program, checking why..."
31270 CFLAGS="$CFLAGS $GTK_CFLAGS"
31271 LIBS="$LIBS $GTK_LIBS"
31272 cat >conftest.$ac_ext <<_ACEOF
31273 /* confdefs.h. */
31274 _ACEOF
31275 cat confdefs.h >>conftest.$ac_ext
31276 cat >>conftest.$ac_ext <<_ACEOF
31277 /* end confdefs.h. */
31278
31279 #include <gtk/gtk.h>
31280 #include <stdio.h>
31281
31282 int
31283 main ()
31284 {
31285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31286 ;
31287 return 0;
31288 }
31289 _ACEOF
31290 rm -f conftest.$ac_objext conftest$ac_exeext
31291 if { (ac_try="$ac_link"
31292 case "(($ac_try" in
31293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31294 *) ac_try_echo=$ac_try;;
31295 esac
31296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31297 (eval "$ac_link") 2>conftest.er1
31298 ac_status=$?
31299 grep -v '^ *+' conftest.er1 >conftest.err
31300 rm -f conftest.er1
31301 cat conftest.err >&5
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); } && {
31304 test -z "$ac_c_werror_flag" ||
31305 test ! -s conftest.err
31306 } && test -s conftest$ac_exeext &&
31307 $as_test_x conftest$ac_exeext; then
31308 echo "*** The test program compiled, but did not run. This usually means"
31309 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31310 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31311 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31312 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31313 echo "*** is required on your system"
31314 echo "***"
31315 echo "*** If you have an old version installed, it is best to remove it, although"
31316 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31317 echo "***"
31318 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31319 echo "*** came with the system with the command"
31320 echo "***"
31321 echo "*** rpm --erase --nodeps gtk gtk-devel"
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 echo "*** The test program failed to compile or link. See the file config.log for the"
31327 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31328 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31329 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31330 fi
31331
31332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31333 conftest$ac_exeext conftest.$ac_ext
31334 CFLAGS="$ac_save_CFLAGS"
31335 LIBS="$ac_save_LIBS"
31336 fi
31337 fi
31338 GTK_CFLAGS=""
31339 GTK_LIBS=""
31340 :
31341 fi
31342
31343
31344 rm -f conf.gtktest
31345
31346 fi
31347 fi
31348 fi
31349
31350 if test -z "$wx_cv_lib_gtk"; then
31351 wx_cv_lib_gtk=none
31352 else
31353 wx_cv_cflags_gtk=$GTK_CFLAGS
31354 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31355 fi
31356
31357
31358 fi
31359
31360
31361 if test "$gtk_version_cached" = 1; then
31362 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31363 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31364 fi
31365
31366 case "$wx_cv_lib_gtk" in
31367 2.0) WXGTK20=1
31368 TOOLKIT_VERSION=2
31369 ;;
31370 1.2.7) WXGTK127=1
31371 WXGTK12=1
31372 ;;
31373 1.2.3) WXGTK12=1
31374 ;;
31375 *) { { echo "$as_me:$LINENO: error:
31376 The development files for GTK+ were not found. For GTK+ 2, please
31377 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31378 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31379 and that the version is 1.2.3 or above. Also check that the
31380 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31381 --libs' are in the LD_LIBRARY_PATH or equivalent.
31382 " >&5
31383 echo "$as_me: error:
31384 The development files for GTK+ were not found. For GTK+ 2, please
31385 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31386 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31387 and that the version is 1.2.3 or above. Also check that the
31388 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31389 --libs' are in the LD_LIBRARY_PATH or equivalent.
31390 " >&2;}
31391 { (exit 1); exit 1; }; }
31392 ;;
31393 esac
31394
31395 if test "$WXGTK20" = 1; then
31396 save_CFLAGS="$CFLAGS"
31397 save_LIBS="$LIBS"
31398 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31399 LIBS="$LIBS $wx_cv_libs_gtk"
31400
31401 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31402 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31403 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406 cat >conftest.$ac_ext <<_ACEOF
31407 /* confdefs.h. */
31408 _ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31412 #include <gtk/gtk.h>
31413
31414 int
31415 main ()
31416 {
31417 #ifndef gtk_icon_size_lookup
31418 (void) gtk_icon_size_lookup;
31419 #endif
31420
31421 ;
31422 return 0;
31423 }
31424 _ACEOF
31425 rm -f conftest.$ac_objext
31426 if { (ac_try="$ac_compile"
31427 case "(($ac_try" in
31428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31429 *) ac_try_echo=$ac_try;;
31430 esac
31431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31432 (eval "$ac_compile") 2>conftest.er1
31433 ac_status=$?
31434 grep -v '^ *+' conftest.er1 >conftest.err
31435 rm -f conftest.er1
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } && {
31439 test -z "$ac_c_werror_flag" ||
31440 test ! -s conftest.err
31441 } && test -s conftest.$ac_objext; then
31442 ac_cv_have_decl_gtk_icon_size_lookup=yes
31443 else
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31446
31447 ac_cv_have_decl_gtk_icon_size_lookup=no
31448 fi
31449
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 fi
31452 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31453 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31454 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31455
31456 cat >>confdefs.h <<_ACEOF
31457 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31458 _ACEOF
31459
31460
31461 else
31462 cat >>confdefs.h <<_ACEOF
31463 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31464 _ACEOF
31465
31466 cat >>confdefs.h <<\_ACEOF
31467 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31468 _ACEOF
31469
31470 fi
31471
31472
31473
31474
31475 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31476 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31477 cat >conftest.$ac_ext <<_ACEOF
31478 /* confdefs.h. */
31479 _ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31483
31484 #include <gtk/gtk.h>
31485
31486 int
31487 main ()
31488 {
31489
31490 #if !GTK_CHECK_VERSION(2,10,0)
31491 Not GTK+ 2.10
31492 #endif
31493
31494 ;
31495 return 0;
31496 }
31497 _ACEOF
31498 rm -f conftest.$ac_objext
31499 if { (ac_try="$ac_compile"
31500 case "(($ac_try" in
31501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31502 *) ac_try_echo=$ac_try;;
31503 esac
31504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31505 (eval "$ac_compile") 2>conftest.er1
31506 ac_status=$?
31507 grep -v '^ *+' conftest.er1 >conftest.err
31508 rm -f conftest.er1
31509 cat conftest.err >&5
31510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31511 (exit $ac_status); } && {
31512 test -z "$ac_c_werror_flag" ||
31513 test ! -s conftest.err
31514 } && test -s conftest.$ac_objext; then
31515
31516 cat >>confdefs.h <<\_ACEOF
31517 #define __WXGTK210__ 1
31518 _ACEOF
31519
31520 cat >>confdefs.h <<\_ACEOF
31521 #define __WXGTK26__ 1
31522 _ACEOF
31523
31524 cat >>confdefs.h <<\_ACEOF
31525 #define __WXGTK24__ 1
31526 _ACEOF
31527
31528 { echo "$as_me:$LINENO: result: yes" >&5
31529 echo "${ECHO_T}yes" >&6; }
31530 ac_wxgtk210=1
31531
31532 else
31533 echo "$as_me: failed program was:" >&5
31534 sed 's/^/| /' conftest.$ac_ext >&5
31535
31536
31537 { echo "$as_me:$LINENO: result: no" >&5
31538 echo "${ECHO_T}no" >&6; }
31539 ac_wxgtk210=0
31540
31541 fi
31542
31543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31544
31545 if test "$ac_wxgtk210" = 0; then
31546 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31547 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31548 cat >conftest.$ac_ext <<_ACEOF
31549 /* confdefs.h. */
31550 _ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554
31555 #include <gtk/gtk.h>
31556
31557 int
31558 main ()
31559 {
31560
31561 #if !GTK_CHECK_VERSION(2,6,0)
31562 Not GTK+ 2.6
31563 #endif
31564
31565 ;
31566 return 0;
31567 }
31568 _ACEOF
31569 rm -f conftest.$ac_objext
31570 if { (ac_try="$ac_compile"
31571 case "(($ac_try" in
31572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31573 *) ac_try_echo=$ac_try;;
31574 esac
31575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31576 (eval "$ac_compile") 2>conftest.er1
31577 ac_status=$?
31578 grep -v '^ *+' conftest.er1 >conftest.err
31579 rm -f conftest.er1
31580 cat conftest.err >&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); } && {
31583 test -z "$ac_c_werror_flag" ||
31584 test ! -s conftest.err
31585 } && test -s conftest.$ac_objext; then
31586
31587 cat >>confdefs.h <<\_ACEOF
31588 #define __WXGTK26__ 1
31589 _ACEOF
31590
31591 cat >>confdefs.h <<\_ACEOF
31592 #define __WXGTK24__ 1
31593 _ACEOF
31594
31595 { echo "$as_me:$LINENO: result: yes" >&5
31596 echo "${ECHO_T}yes" >&6; }
31597 ac_wxgtk26=1
31598
31599 else
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31602
31603
31604 { echo "$as_me:$LINENO: result: no" >&5
31605 echo "${ECHO_T}no" >&6; }
31606 ac_wxgtk26=0
31607
31608 fi
31609
31610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31611 fi
31612
31613 if test "$ac_wxgtk26" = 0; then
31614 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31615 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31616 cat >conftest.$ac_ext <<_ACEOF
31617 /* confdefs.h. */
31618 _ACEOF
31619 cat confdefs.h >>conftest.$ac_ext
31620 cat >>conftest.$ac_ext <<_ACEOF
31621 /* end confdefs.h. */
31622
31623 #include <gtk/gtk.h>
31624
31625 int
31626 main ()
31627 {
31628
31629 #if !GTK_CHECK_VERSION(2,4,0)
31630 Not GTK+ 2.4
31631 #endif
31632
31633 ;
31634 return 0;
31635 }
31636 _ACEOF
31637 rm -f conftest.$ac_objext
31638 if { (ac_try="$ac_compile"
31639 case "(($ac_try" in
31640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31641 *) ac_try_echo=$ac_try;;
31642 esac
31643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31644 (eval "$ac_compile") 2>conftest.er1
31645 ac_status=$?
31646 grep -v '^ *+' conftest.er1 >conftest.err
31647 rm -f conftest.er1
31648 cat conftest.err >&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } && {
31651 test -z "$ac_c_werror_flag" ||
31652 test ! -s conftest.err
31653 } && test -s conftest.$ac_objext; then
31654
31655 cat >>confdefs.h <<\_ACEOF
31656 #define __WXGTK24__ 1
31657 _ACEOF
31658
31659 { echo "$as_me:$LINENO: result: yes" >&5
31660 echo "${ECHO_T}yes" >&6; }
31661
31662 else
31663 echo "$as_me: failed program was:" >&5
31664 sed 's/^/| /' conftest.$ac_ext >&5
31665
31666
31667 { echo "$as_me:$LINENO: result: no" >&5
31668 echo "${ECHO_T}no" >&6; }
31669
31670 fi
31671
31672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31673 fi
31674
31675 CFLAGS="$save_CFLAGS"
31676 LIBS="$save_LIBS"
31677 else
31678 if test "$wxUSE_UNICODE" = "yes"; then
31679 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31680 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31681 wxUSE_UNICODE=no
31682 fi
31683
31684 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31685 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31686 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31687 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 else
31689 ac_check_lib_save_LIBS=$LIBS
31690 LIBS="-lgdk $LIBS"
31691 cat >conftest.$ac_ext <<_ACEOF
31692 /* confdefs.h. */
31693 _ACEOF
31694 cat confdefs.h >>conftest.$ac_ext
31695 cat >>conftest.$ac_ext <<_ACEOF
31696 /* end confdefs.h. */
31697
31698 /* Override any GCC internal prototype to avoid an error.
31699 Use char because int might match the return type of a GCC
31700 builtin and then its argument prototype would still apply. */
31701 #ifdef __cplusplus
31702 extern "C"
31703 #endif
31704 char gdk_im_open ();
31705 int
31706 main ()
31707 {
31708 return gdk_im_open ();
31709 ;
31710 return 0;
31711 }
31712 _ACEOF
31713 rm -f conftest.$ac_objext conftest$ac_exeext
31714 if { (ac_try="$ac_link"
31715 case "(($ac_try" in
31716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31717 *) ac_try_echo=$ac_try;;
31718 esac
31719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31720 (eval "$ac_link") 2>conftest.er1
31721 ac_status=$?
31722 grep -v '^ *+' conftest.er1 >conftest.err
31723 rm -f conftest.er1
31724 cat conftest.err >&5
31725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726 (exit $ac_status); } && {
31727 test -z "$ac_c_werror_flag" ||
31728 test ! -s conftest.err
31729 } && test -s conftest$ac_exeext &&
31730 $as_test_x conftest$ac_exeext; then
31731 ac_cv_lib_gdk_gdk_im_open=yes
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 ac_cv_lib_gdk_gdk_im_open=no
31737 fi
31738
31739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31740 conftest$ac_exeext conftest.$ac_ext
31741 LIBS=$ac_check_lib_save_LIBS
31742 fi
31743 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31744 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31745 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31746 cat >>confdefs.h <<\_ACEOF
31747 #define HAVE_XIM 1
31748 _ACEOF
31749
31750 fi
31751
31752
31753 if test "$USE_DARWIN" != 1; then
31754
31755 for ac_func in poll
31756 do
31757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31761 echo $ECHO_N "(cached) $ECHO_C" >&6
31762 else
31763 cat >conftest.$ac_ext <<_ACEOF
31764 /* confdefs.h. */
31765 _ACEOF
31766 cat confdefs.h >>conftest.$ac_ext
31767 cat >>conftest.$ac_ext <<_ACEOF
31768 /* end confdefs.h. */
31769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31771 #define $ac_func innocuous_$ac_func
31772
31773 /* System header to define __stub macros and hopefully few prototypes,
31774 which can conflict with char $ac_func (); below.
31775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31776 <limits.h> exists even on freestanding compilers. */
31777
31778 #ifdef __STDC__
31779 # include <limits.h>
31780 #else
31781 # include <assert.h>
31782 #endif
31783
31784 #undef $ac_func
31785
31786 /* Override any GCC internal prototype to avoid an error.
31787 Use char because int might match the return type of a GCC
31788 builtin and then its argument prototype would still apply. */
31789 #ifdef __cplusplus
31790 extern "C"
31791 #endif
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794 to always fail with ENOSYS. Some functions are actually named
31795 something starting with __ and the normal name is an alias. */
31796 #if defined __stub_$ac_func || defined __stub___$ac_func
31797 choke me
31798 #endif
31799
31800 int
31801 main ()
31802 {
31803 return $ac_func ();
31804 ;
31805 return 0;
31806 }
31807 _ACEOF
31808 rm -f conftest.$ac_objext conftest$ac_exeext
31809 if { (ac_try="$ac_link"
31810 case "(($ac_try" in
31811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31812 *) ac_try_echo=$ac_try;;
31813 esac
31814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31815 (eval "$ac_link") 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } && {
31822 test -z "$ac_c_werror_flag" ||
31823 test ! -s conftest.err
31824 } && test -s conftest$ac_exeext &&
31825 $as_test_x conftest$ac_exeext; then
31826 eval "$as_ac_var=yes"
31827 else
31828 echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.$ac_ext >&5
31830
31831 eval "$as_ac_var=no"
31832 fi
31833
31834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31835 conftest$ac_exeext conftest.$ac_ext
31836 fi
31837 ac_res=`eval echo '${'$as_ac_var'}'`
31838 { echo "$as_me:$LINENO: result: $ac_res" >&5
31839 echo "${ECHO_T}$ac_res" >&6; }
31840 if test `eval echo '${'$as_ac_var'}'` = yes; then
31841 cat >>confdefs.h <<_ACEOF
31842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31843 _ACEOF
31844
31845 fi
31846 done
31847
31848 fi
31849 fi
31850
31851 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31852 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31853
31854 AFMINSTALL=afminstall
31855 TOOLKIT=GTK
31856 GUIDIST=GTK_DIST
31857
31858 if test "$wxUSE_GPE" = "yes"; then
31859 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31860 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31861
31862 ac_find_libraries=
31863 for ac_dir in $SEARCH_LIB;
31864 do
31865 for ac_extension in a so sl dylib dll.a; do
31866 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31867 ac_find_libraries=$ac_dir
31868 break 2
31869 fi
31870 done
31871 done
31872
31873 if test "$ac_find_libraries" != "" ; then
31874
31875 if test "$ac_find_libraries" = "default location"; then
31876 ac_path_to_link=""
31877 else
31878 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31879 result=$?
31880 if test $result = 0; then
31881 ac_path_to_link=""
31882 else
31883 ac_path_to_link=" -L$ac_find_libraries"
31884 fi
31885 fi
31886
31887 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31888 WXGPE=1
31889 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31890 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31891 else
31892 { echo "$as_me:$LINENO: result: not found" >&5
31893 echo "${ECHO_T}not found" >&6; }
31894 fi
31895
31896 fi
31897 fi
31898
31899 if test "$wxUSE_MGL" = 1; then
31900 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31901 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31902 if test "x$MGL_ROOT" = x ; then
31903 { echo "$as_me:$LINENO: result: not found" >&5
31904 echo "${ECHO_T}not found" >&6; }
31905 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31906 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31907 { (exit 1); exit 1; }; }
31908 else
31909 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31910 echo "${ECHO_T}$MGL_ROOT" >&6; }
31911 fi
31912
31913 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31914 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31915 case "${host}" in
31916 *-*-linux* )
31917 if test "x$wxUSE_SHARED" = xyes ; then
31918 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31919 else
31920 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31921 fi
31922 ;;
31923 *-pc-msdosdjgpp )
31924 mgl_os_candidates="dos32/dj2"
31925 ;;
31926 *)
31927 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31928 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31929 { (exit 1); exit 1; }; }
31930 esac
31931
31932 mgl_lib_type=""
31933 mgl_os=""
31934
31935 for mgl_os_i in $mgl_os_candidates ; do
31936 if test "x$mgl_os" = x ; then
31937 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31938 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31939 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31940 mgl_lib_type=debug
31941 mgl_os=$mgl_os_i
31942 fi
31943 fi
31944 if test "x$mgl_lib_type" = x ; then
31945 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31946 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31947 mgl_lib_type=release
31948 mgl_os=$mgl_os_i
31949 fi
31950 fi
31951 fi
31952 done
31953
31954 if test "x$mgl_os" = x ; then
31955 { echo "$as_me:$LINENO: result: not found" >&5
31956 echo "${ECHO_T}not found" >&6; }
31957 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31958 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31959 { (exit 1); exit 1; }; }
31960 fi
31961 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31962 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31963
31964 wxUSE_UNIVERSAL="yes"
31965
31966 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31967 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31968
31969 AFMINSTALL=afminstall
31970 TOOLKIT=MGL
31971 GUIDIST=MGL_DIST
31972 fi
31973
31974 if test "$wxUSE_DFB" = 1; then
31975
31976
31977 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31978 if test -n "$ac_tool_prefix"; then
31979 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31980 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31984 echo $ECHO_N "(cached) $ECHO_C" >&6
31985 else
31986 case $PKG_CONFIG in
31987 [\\/]* | ?:[\\/]*)
31988 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31989 ;;
31990 *)
31991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31992 for as_dir in $PATH
31993 do
31994 IFS=$as_save_IFS
31995 test -z "$as_dir" && as_dir=.
31996 for ac_exec_ext in '' $ac_executable_extensions; do
31997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31998 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32000 break 2
32001 fi
32002 done
32003 done
32004 IFS=$as_save_IFS
32005
32006 ;;
32007 esac
32008 fi
32009 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32010 if test -n "$PKG_CONFIG"; then
32011 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32012 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32013 else
32014 { echo "$as_me:$LINENO: result: no" >&5
32015 echo "${ECHO_T}no" >&6; }
32016 fi
32017
32018
32019 fi
32020 if test -z "$ac_cv_path_PKG_CONFIG"; then
32021 ac_pt_PKG_CONFIG=$PKG_CONFIG
32022 # Extract the first word of "pkg-config", so it can be a program name with args.
32023 set dummy pkg-config; ac_word=$2
32024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32026 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 case $ac_pt_PKG_CONFIG in
32030 [\\/]* | ?:[\\/]*)
32031 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32032 ;;
32033 *)
32034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32035 for as_dir in $PATH
32036 do
32037 IFS=$as_save_IFS
32038 test -z "$as_dir" && as_dir=.
32039 for ac_exec_ext in '' $ac_executable_extensions; do
32040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32041 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32043 break 2
32044 fi
32045 done
32046 done
32047 IFS=$as_save_IFS
32048
32049 ;;
32050 esac
32051 fi
32052 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32053 if test -n "$ac_pt_PKG_CONFIG"; then
32054 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32055 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32056 else
32057 { echo "$as_me:$LINENO: result: no" >&5
32058 echo "${ECHO_T}no" >&6; }
32059 fi
32060
32061 if test "x$ac_pt_PKG_CONFIG" = x; then
32062 PKG_CONFIG=""
32063 else
32064 case $cross_compiling:$ac_tool_warned in
32065 yes:)
32066 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32067 whose name does not start with the host triplet. If you think this
32068 configuration is useful to you, please write to autoconf@gnu.org." >&5
32069 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32070 whose name does not start with the host triplet. If you think this
32071 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32072 ac_tool_warned=yes ;;
32073 esac
32074 PKG_CONFIG=$ac_pt_PKG_CONFIG
32075 fi
32076 else
32077 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32078 fi
32079
32080 fi
32081 if test -n "$PKG_CONFIG"; then
32082 _pkg_min_version=0.9.0
32083 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32084 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32085 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32086 { echo "$as_me:$LINENO: result: yes" >&5
32087 echo "${ECHO_T}yes" >&6; }
32088 else
32089 { echo "$as_me:$LINENO: result: no" >&5
32090 echo "${ECHO_T}no" >&6; }
32091 PKG_CONFIG=""
32092 fi
32093
32094 fi
32095
32096
32097 pkg_failed=no
32098 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32099 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32100
32101 if test -n "$PKG_CONFIG"; then
32102 if test -n "$DIRECTFB_CFLAGS"; then
32103 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32104 else
32105 if test -n "$PKG_CONFIG" && \
32106 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32107 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; then
32111 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32112 else
32113 pkg_failed=yes
32114 fi
32115 fi
32116 else
32117 pkg_failed=untried
32118 fi
32119 if test -n "$PKG_CONFIG"; then
32120 if test -n "$DIRECTFB_LIBS"; then
32121 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32122 else
32123 if test -n "$PKG_CONFIG" && \
32124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32125 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; then
32129 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32130 else
32131 pkg_failed=yes
32132 fi
32133 fi
32134 else
32135 pkg_failed=untried
32136 fi
32137
32138
32139
32140 if test $pkg_failed = yes; then
32141
32142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32143 _pkg_short_errors_supported=yes
32144 else
32145 _pkg_short_errors_supported=no
32146 fi
32147 if test $_pkg_short_errors_supported = yes; then
32148 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32149 else
32150 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32151 fi
32152 # Put the nasty error message in config.log where it belongs
32153 echo "$DIRECTFB_PKG_ERRORS" >&5
32154
32155
32156 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32157 echo "$as_me: error: DirectFB not found." >&2;}
32158 { (exit 1); exit 1; }; }
32159
32160
32161 elif test $pkg_failed = untried; then
32162
32163 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32164 echo "$as_me: error: DirectFB not found." >&2;}
32165 { (exit 1); exit 1; }; }
32166
32167
32168 else
32169 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32170 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32171 { echo "$as_me:$LINENO: result: yes" >&5
32172 echo "${ECHO_T}yes" >&6; }
32173
32174 wxUSE_UNIVERSAL="yes"
32175 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32176 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32177 TOOLKIT=DFB
32178 GUIDIST=DFB_DIST
32179
32180 fi
32181 fi
32182
32183 if test "$wxUSE_MICROWIN" = 1; then
32184 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32185 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32186 if test "x$MICROWINDOWS" = x ; then
32187 { echo "$as_me:$LINENO: result: not found" >&5
32188 echo "${ECHO_T}not found" >&6; }
32189 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32190 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32191 { (exit 1); exit 1; }; }
32192 else
32193 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32194 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32195 fi
32196
32197 if test -f $MICROWINDOWS/lib/libmwin.a; then
32198 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32199 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32200 else
32201 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32202 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32203 { (exit 1); exit 1; }; }
32204 fi
32205
32206 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32207 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32208
32209 wxUSE_UNIVERSAL="yes"
32210
32211 AFMINSTALL=afminstall
32212 TOOLKIT=MICROWIN
32213 GUIDIST=MICROWIN_DIST
32214
32215 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32216 fi
32217
32218 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32219 { echo "$as_me:$LINENO: checking for X" >&5
32220 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32221
32222
32223 # Check whether --with-x was given.
32224 if test "${with_x+set}" = set; then
32225 withval=$with_x;
32226 fi
32227
32228 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32229 if test "x$with_x" = xno; then
32230 # The user explicitly disabled X.
32231 have_x=disabled
32232 else
32233 case $x_includes,$x_libraries in #(
32234 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32235 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32236 { (exit 1); exit 1; }; };; #(
32237 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240 # One or both of the vars are not set, and there is no cached value.
32241 ac_x_includes=no ac_x_libraries=no
32242 rm -f -r conftest.dir
32243 if mkdir conftest.dir; then
32244 cd conftest.dir
32245 cat >Imakefile <<'_ACEOF'
32246 incroot:
32247 @echo incroot='${INCROOT}'
32248 usrlibdir:
32249 @echo usrlibdir='${USRLIBDIR}'
32250 libdir:
32251 @echo libdir='${LIBDIR}'
32252 _ACEOF
32253 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32254 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32255 for ac_var in incroot usrlibdir libdir; do
32256 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32257 done
32258 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32259 for ac_extension in a so sl; do
32260 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32261 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32262 ac_im_usrlibdir=$ac_im_libdir; break
32263 fi
32264 done
32265 # Screen out bogus values from the imake configuration. They are
32266 # bogus both because they are the default anyway, and because
32267 # using them would break gcc on systems where it needs fixed includes.
32268 case $ac_im_incroot in
32269 /usr/include) ac_x_includes= ;;
32270 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32271 esac
32272 case $ac_im_usrlibdir in
32273 /usr/lib | /lib) ;;
32274 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32275 esac
32276 fi
32277 cd ..
32278 rm -f -r conftest.dir
32279 fi
32280
32281 # Standard set of common directories for X headers.
32282 # Check X11 before X11Rn because it is often a symlink to the current release.
32283 ac_x_header_dirs='
32284 /usr/X11/include
32285 /usr/X11R6/include
32286 /usr/X11R5/include
32287 /usr/X11R4/include
32288
32289 /usr/include/X11
32290 /usr/include/X11R6
32291 /usr/include/X11R5
32292 /usr/include/X11R4
32293
32294 /usr/local/X11/include
32295 /usr/local/X11R6/include
32296 /usr/local/X11R5/include
32297 /usr/local/X11R4/include
32298
32299 /usr/local/include/X11
32300 /usr/local/include/X11R6
32301 /usr/local/include/X11R5
32302 /usr/local/include/X11R4
32303
32304 /usr/X386/include
32305 /usr/x386/include
32306 /usr/XFree86/include/X11
32307
32308 /usr/include
32309 /usr/local/include
32310 /usr/unsupported/include
32311 /usr/athena/include
32312 /usr/local/x11r5/include
32313 /usr/lpp/Xamples/include
32314
32315 /usr/openwin/include
32316 /usr/openwin/share/include'
32317
32318 if test "$ac_x_includes" = no; then
32319 # Guess where to find include files, by looking for Xlib.h.
32320 # First, try using that file with no special directory specified.
32321 cat >conftest.$ac_ext <<_ACEOF
32322 /* confdefs.h. */
32323 _ACEOF
32324 cat confdefs.h >>conftest.$ac_ext
32325 cat >>conftest.$ac_ext <<_ACEOF
32326 /* end confdefs.h. */
32327 #include <X11/Xlib.h>
32328 _ACEOF
32329 if { (ac_try="$ac_cpp conftest.$ac_ext"
32330 case "(($ac_try" in
32331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32332 *) ac_try_echo=$ac_try;;
32333 esac
32334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32336 ac_status=$?
32337 grep -v '^ *+' conftest.er1 >conftest.err
32338 rm -f conftest.er1
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } >/dev/null && {
32342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32343 test ! -s conftest.err
32344 }; then
32345 # We can compile using X headers with no special include directory.
32346 ac_x_includes=
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32350
32351 for ac_dir in $ac_x_header_dirs; do
32352 if test -r "$ac_dir/X11/Xlib.h"; then
32353 ac_x_includes=$ac_dir
32354 break
32355 fi
32356 done
32357 fi
32358
32359 rm -f conftest.err conftest.$ac_ext
32360 fi # $ac_x_includes = no
32361
32362 if test "$ac_x_libraries" = no; then
32363 # Check for the libraries.
32364 # See if we find them without any special options.
32365 # Don't add to $LIBS permanently.
32366 ac_save_LIBS=$LIBS
32367 LIBS="-lX11 $LIBS"
32368 cat >conftest.$ac_ext <<_ACEOF
32369 /* confdefs.h. */
32370 _ACEOF
32371 cat confdefs.h >>conftest.$ac_ext
32372 cat >>conftest.$ac_ext <<_ACEOF
32373 /* end confdefs.h. */
32374 #include <X11/Xlib.h>
32375 int
32376 main ()
32377 {
32378 XrmInitialize ()
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (ac_try="$ac_link"
32385 case "(($ac_try" in
32386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32387 *) ac_try_echo=$ac_try;;
32388 esac
32389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32390 (eval "$ac_link") 2>conftest.er1
32391 ac_status=$?
32392 grep -v '^ *+' conftest.er1 >conftest.err
32393 rm -f conftest.er1
32394 cat conftest.err >&5
32395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32396 (exit $ac_status); } && {
32397 test -z "$ac_c_werror_flag" ||
32398 test ! -s conftest.err
32399 } && test -s conftest$ac_exeext &&
32400 $as_test_x conftest$ac_exeext; then
32401 LIBS=$ac_save_LIBS
32402 # We can link X programs with no special library path.
32403 ac_x_libraries=
32404 else
32405 echo "$as_me: failed program was:" >&5
32406 sed 's/^/| /' conftest.$ac_ext >&5
32407
32408 LIBS=$ac_save_LIBS
32409 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32410 do
32411 # Don't even attempt the hair of trying to link an X program!
32412 for ac_extension in a so sl; do
32413 if test -r "$ac_dir/libX11.$ac_extension"; then
32414 ac_x_libraries=$ac_dir
32415 break 2
32416 fi
32417 done
32418 done
32419 fi
32420
32421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32422 conftest$ac_exeext conftest.$ac_ext
32423 fi # $ac_x_libraries = no
32424
32425 case $ac_x_includes,$ac_x_libraries in #(
32426 no,* | *,no | *\'*)
32427 # Didn't find X, or a directory has "'" in its name.
32428 ac_cv_have_x="have_x=no";; #(
32429 *)
32430 # Record where we found X for the cache.
32431 ac_cv_have_x="have_x=yes\
32432 ac_x_includes='$ac_x_includes'\
32433 ac_x_libraries='$ac_x_libraries'"
32434 esac
32435 fi
32436 ;; #(
32437 *) have_x=yes;;
32438 esac
32439 eval "$ac_cv_have_x"
32440 fi # $with_x != no
32441
32442 if test "$have_x" != yes; then
32443 { echo "$as_me:$LINENO: result: $have_x" >&5
32444 echo "${ECHO_T}$have_x" >&6; }
32445 no_x=yes
32446 else
32447 # If each of the values was on the command line, it overrides each guess.
32448 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32449 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32450 # Update the cache value to reflect the command line values.
32451 ac_cv_have_x="have_x=yes\
32452 ac_x_includes='$x_includes'\
32453 ac_x_libraries='$x_libraries'"
32454 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32455 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32456 fi
32457
32458 if test "$no_x" = yes; then
32459 # Not all programs may use this symbol, but it does not hurt to define it.
32460
32461 cat >>confdefs.h <<\_ACEOF
32462 #define X_DISPLAY_MISSING 1
32463 _ACEOF
32464
32465 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32466 else
32467 if test -n "$x_includes"; then
32468 X_CFLAGS="$X_CFLAGS -I$x_includes"
32469 fi
32470
32471 # It would also be nice to do this for all -L options, not just this one.
32472 if test -n "$x_libraries"; then
32473 X_LIBS="$X_LIBS -L$x_libraries"
32474 # For Solaris; some versions of Sun CC require a space after -R and
32475 # others require no space. Words are not sufficient . . . .
32476 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32477 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32478 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32479 ac_xsave_c_werror_flag=$ac_c_werror_flag
32480 ac_c_werror_flag=yes
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
32488 int
32489 main ()
32490 {
32491
32492 ;
32493 return 0;
32494 }
32495 _ACEOF
32496 rm -f conftest.$ac_objext conftest$ac_exeext
32497 if { (ac_try="$ac_link"
32498 case "(($ac_try" in
32499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32500 *) ac_try_echo=$ac_try;;
32501 esac
32502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32503 (eval "$ac_link") 2>conftest.er1
32504 ac_status=$?
32505 grep -v '^ *+' conftest.er1 >conftest.err
32506 rm -f conftest.er1
32507 cat conftest.err >&5
32508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32509 (exit $ac_status); } && {
32510 test -z "$ac_c_werror_flag" ||
32511 test ! -s conftest.err
32512 } && test -s conftest$ac_exeext &&
32513 $as_test_x conftest$ac_exeext; then
32514 { echo "$as_me:$LINENO: result: no" >&5
32515 echo "${ECHO_T}no" >&6; }
32516 X_LIBS="$X_LIBS -R$x_libraries"
32517 else
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32520
32521 LIBS="$ac_xsave_LIBS -R $x_libraries"
32522 cat >conftest.$ac_ext <<_ACEOF
32523 /* confdefs.h. */
32524 _ACEOF
32525 cat confdefs.h >>conftest.$ac_ext
32526 cat >>conftest.$ac_ext <<_ACEOF
32527 /* end confdefs.h. */
32528
32529 int
32530 main ()
32531 {
32532
32533 ;
32534 return 0;
32535 }
32536 _ACEOF
32537 rm -f conftest.$ac_objext conftest$ac_exeext
32538 if { (ac_try="$ac_link"
32539 case "(($ac_try" in
32540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32541 *) ac_try_echo=$ac_try;;
32542 esac
32543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32544 (eval "$ac_link") 2>conftest.er1
32545 ac_status=$?
32546 grep -v '^ *+' conftest.er1 >conftest.err
32547 rm -f conftest.er1
32548 cat conftest.err >&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } && {
32551 test -z "$ac_c_werror_flag" ||
32552 test ! -s conftest.err
32553 } && test -s conftest$ac_exeext &&
32554 $as_test_x conftest$ac_exeext; then
32555 { echo "$as_me:$LINENO: result: yes" >&5
32556 echo "${ECHO_T}yes" >&6; }
32557 X_LIBS="$X_LIBS -R $x_libraries"
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32561
32562 { echo "$as_me:$LINENO: result: neither works" >&5
32563 echo "${ECHO_T}neither works" >&6; }
32564 fi
32565
32566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32567 conftest$ac_exeext conftest.$ac_ext
32568 fi
32569
32570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32571 conftest$ac_exeext conftest.$ac_ext
32572 ac_c_werror_flag=$ac_xsave_c_werror_flag
32573 LIBS=$ac_xsave_LIBS
32574 fi
32575
32576 # Check for system-dependent libraries X programs must link with.
32577 # Do this before checking for the system-independent R6 libraries
32578 # (-lICE), since we may need -lsocket or whatever for X linking.
32579
32580 if test "$ISC" = yes; then
32581 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32582 else
32583 # Martyn Johnson says this is needed for Ultrix, if the X
32584 # libraries were built with DECnet support. And Karl Berry says
32585 # the Alpha needs dnet_stub (dnet does not exist).
32586 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32587 cat >conftest.$ac_ext <<_ACEOF
32588 /* confdefs.h. */
32589 _ACEOF
32590 cat confdefs.h >>conftest.$ac_ext
32591 cat >>conftest.$ac_ext <<_ACEOF
32592 /* end confdefs.h. */
32593
32594 /* Override any GCC internal prototype to avoid an error.
32595 Use char because int might match the return type of a GCC
32596 builtin and then its argument prototype would still apply. */
32597 #ifdef __cplusplus
32598 extern "C"
32599 #endif
32600 char XOpenDisplay ();
32601 int
32602 main ()
32603 {
32604 return XOpenDisplay ();
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 rm -f conftest.$ac_objext conftest$ac_exeext
32610 if { (ac_try="$ac_link"
32611 case "(($ac_try" in
32612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32613 *) ac_try_echo=$ac_try;;
32614 esac
32615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32616 (eval "$ac_link") 2>conftest.er1
32617 ac_status=$?
32618 grep -v '^ *+' conftest.er1 >conftest.err
32619 rm -f conftest.er1
32620 cat conftest.err >&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); } && {
32623 test -z "$ac_c_werror_flag" ||
32624 test ! -s conftest.err
32625 } && test -s conftest$ac_exeext &&
32626 $as_test_x conftest$ac_exeext; then
32627 :
32628 else
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32631
32632 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32633 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32634 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32635 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 else
32637 ac_check_lib_save_LIBS=$LIBS
32638 LIBS="-ldnet $LIBS"
32639 cat >conftest.$ac_ext <<_ACEOF
32640 /* confdefs.h. */
32641 _ACEOF
32642 cat confdefs.h >>conftest.$ac_ext
32643 cat >>conftest.$ac_ext <<_ACEOF
32644 /* end confdefs.h. */
32645
32646 /* Override any GCC internal prototype to avoid an error.
32647 Use char because int might match the return type of a GCC
32648 builtin and then its argument prototype would still apply. */
32649 #ifdef __cplusplus
32650 extern "C"
32651 #endif
32652 char dnet_ntoa ();
32653 int
32654 main ()
32655 {
32656 return dnet_ntoa ();
32657 ;
32658 return 0;
32659 }
32660 _ACEOF
32661 rm -f conftest.$ac_objext conftest$ac_exeext
32662 if { (ac_try="$ac_link"
32663 case "(($ac_try" in
32664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32665 *) ac_try_echo=$ac_try;;
32666 esac
32667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32668 (eval "$ac_link") 2>conftest.er1
32669 ac_status=$?
32670 grep -v '^ *+' conftest.er1 >conftest.err
32671 rm -f conftest.er1
32672 cat conftest.err >&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); } && {
32675 test -z "$ac_c_werror_flag" ||
32676 test ! -s conftest.err
32677 } && test -s conftest$ac_exeext &&
32678 $as_test_x conftest$ac_exeext; then
32679 ac_cv_lib_dnet_dnet_ntoa=yes
32680 else
32681 echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32683
32684 ac_cv_lib_dnet_dnet_ntoa=no
32685 fi
32686
32687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32688 conftest$ac_exeext conftest.$ac_ext
32689 LIBS=$ac_check_lib_save_LIBS
32690 fi
32691 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32692 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32693 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32694 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32695 fi
32696
32697 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32698 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32699 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32700 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32701 echo $ECHO_N "(cached) $ECHO_C" >&6
32702 else
32703 ac_check_lib_save_LIBS=$LIBS
32704 LIBS="-ldnet_stub $LIBS"
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
32712 /* Override any GCC internal prototype to avoid an error.
32713 Use char because int might match the return type of a GCC
32714 builtin and then its argument prototype would still apply. */
32715 #ifdef __cplusplus
32716 extern "C"
32717 #endif
32718 char dnet_ntoa ();
32719 int
32720 main ()
32721 {
32722 return dnet_ntoa ();
32723 ;
32724 return 0;
32725 }
32726 _ACEOF
32727 rm -f conftest.$ac_objext conftest$ac_exeext
32728 if { (ac_try="$ac_link"
32729 case "(($ac_try" in
32730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32731 *) ac_try_echo=$ac_try;;
32732 esac
32733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32734 (eval "$ac_link") 2>conftest.er1
32735 ac_status=$?
32736 grep -v '^ *+' conftest.er1 >conftest.err
32737 rm -f conftest.er1
32738 cat conftest.err >&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } && {
32741 test -z "$ac_c_werror_flag" ||
32742 test ! -s conftest.err
32743 } && test -s conftest$ac_exeext &&
32744 $as_test_x conftest$ac_exeext; then
32745 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32746 else
32747 echo "$as_me: failed program was:" >&5
32748 sed 's/^/| /' conftest.$ac_ext >&5
32749
32750 ac_cv_lib_dnet_stub_dnet_ntoa=no
32751 fi
32752
32753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32754 conftest$ac_exeext conftest.$ac_ext
32755 LIBS=$ac_check_lib_save_LIBS
32756 fi
32757 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32758 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32759 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32760 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32761 fi
32762
32763 fi
32764 fi
32765
32766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32767 conftest$ac_exeext conftest.$ac_ext
32768 LIBS="$ac_xsave_LIBS"
32769
32770 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32771 # to get the SysV transport functions.
32772 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32773 # needs -lnsl.
32774 # The nsl library prevents programs from opening the X display
32775 # on Irix 5.2, according to T.E. Dickey.
32776 # The functions gethostbyname, getservbyname, and inet_addr are
32777 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32778 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32779 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32780 if test "${ac_cv_func_gethostbyname+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32782 else
32783 cat >conftest.$ac_ext <<_ACEOF
32784 /* confdefs.h. */
32785 _ACEOF
32786 cat confdefs.h >>conftest.$ac_ext
32787 cat >>conftest.$ac_ext <<_ACEOF
32788 /* end confdefs.h. */
32789 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32791 #define gethostbyname innocuous_gethostbyname
32792
32793 /* System header to define __stub macros and hopefully few prototypes,
32794 which can conflict with char gethostbyname (); below.
32795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32796 <limits.h> exists even on freestanding compilers. */
32797
32798 #ifdef __STDC__
32799 # include <limits.h>
32800 #else
32801 # include <assert.h>
32802 #endif
32803
32804 #undef gethostbyname
32805
32806 /* Override any GCC internal prototype to avoid an error.
32807 Use char because int might match the return type of a GCC
32808 builtin and then its argument prototype would still apply. */
32809 #ifdef __cplusplus
32810 extern "C"
32811 #endif
32812 char gethostbyname ();
32813 /* The GNU C library defines this for functions which it implements
32814 to always fail with ENOSYS. Some functions are actually named
32815 something starting with __ and the normal name is an alias. */
32816 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32817 choke me
32818 #endif
32819
32820 int
32821 main ()
32822 {
32823 return gethostbyname ();
32824 ;
32825 return 0;
32826 }
32827 _ACEOF
32828 rm -f conftest.$ac_objext conftest$ac_exeext
32829 if { (ac_try="$ac_link"
32830 case "(($ac_try" in
32831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32832 *) ac_try_echo=$ac_try;;
32833 esac
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_link") 2>conftest.er1
32836 ac_status=$?
32837 grep -v '^ *+' conftest.er1 >conftest.err
32838 rm -f conftest.er1
32839 cat conftest.err >&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } && {
32842 test -z "$ac_c_werror_flag" ||
32843 test ! -s conftest.err
32844 } && test -s conftest$ac_exeext &&
32845 $as_test_x conftest$ac_exeext; then
32846 ac_cv_func_gethostbyname=yes
32847 else
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.$ac_ext >&5
32850
32851 ac_cv_func_gethostbyname=no
32852 fi
32853
32854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32855 conftest$ac_exeext conftest.$ac_ext
32856 fi
32857 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32858 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32859
32860 if test $ac_cv_func_gethostbyname = no; then
32861 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32862 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32863 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32864 echo $ECHO_N "(cached) $ECHO_C" >&6
32865 else
32866 ac_check_lib_save_LIBS=$LIBS
32867 LIBS="-lnsl $LIBS"
32868 cat >conftest.$ac_ext <<_ACEOF
32869 /* confdefs.h. */
32870 _ACEOF
32871 cat confdefs.h >>conftest.$ac_ext
32872 cat >>conftest.$ac_ext <<_ACEOF
32873 /* end confdefs.h. */
32874
32875 /* Override any GCC internal prototype to avoid an error.
32876 Use char because int might match the return type of a GCC
32877 builtin and then its argument prototype would still apply. */
32878 #ifdef __cplusplus
32879 extern "C"
32880 #endif
32881 char gethostbyname ();
32882 int
32883 main ()
32884 {
32885 return gethostbyname ();
32886 ;
32887 return 0;
32888 }
32889 _ACEOF
32890 rm -f conftest.$ac_objext conftest$ac_exeext
32891 if { (ac_try="$ac_link"
32892 case "(($ac_try" in
32893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32895 esac
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_link") 2>conftest.er1
32898 ac_status=$?
32899 grep -v '^ *+' conftest.er1 >conftest.err
32900 rm -f conftest.er1
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } && {
32904 test -z "$ac_c_werror_flag" ||
32905 test ! -s conftest.err
32906 } && test -s conftest$ac_exeext &&
32907 $as_test_x conftest$ac_exeext; then
32908 ac_cv_lib_nsl_gethostbyname=yes
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32912
32913 ac_cv_lib_nsl_gethostbyname=no
32914 fi
32915
32916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32917 conftest$ac_exeext conftest.$ac_ext
32918 LIBS=$ac_check_lib_save_LIBS
32919 fi
32920 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32921 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32922 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32923 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32924 fi
32925
32926 if test $ac_cv_lib_nsl_gethostbyname = no; then
32927 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32928 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32929 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32930 echo $ECHO_N "(cached) $ECHO_C" >&6
32931 else
32932 ac_check_lib_save_LIBS=$LIBS
32933 LIBS="-lbsd $LIBS"
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h. */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h. */
32940
32941 /* Override any GCC internal prototype to avoid an error.
32942 Use char because int might match the return type of a GCC
32943 builtin and then its argument prototype would still apply. */
32944 #ifdef __cplusplus
32945 extern "C"
32946 #endif
32947 char gethostbyname ();
32948 int
32949 main ()
32950 {
32951 return gethostbyname ();
32952 ;
32953 return 0;
32954 }
32955 _ACEOF
32956 rm -f conftest.$ac_objext conftest$ac_exeext
32957 if { (ac_try="$ac_link"
32958 case "(($ac_try" in
32959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32960 *) ac_try_echo=$ac_try;;
32961 esac
32962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32963 (eval "$ac_link") 2>conftest.er1
32964 ac_status=$?
32965 grep -v '^ *+' conftest.er1 >conftest.err
32966 rm -f conftest.er1
32967 cat conftest.err >&5
32968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32969 (exit $ac_status); } && {
32970 test -z "$ac_c_werror_flag" ||
32971 test ! -s conftest.err
32972 } && test -s conftest$ac_exeext &&
32973 $as_test_x conftest$ac_exeext; then
32974 ac_cv_lib_bsd_gethostbyname=yes
32975 else
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.$ac_ext >&5
32978
32979 ac_cv_lib_bsd_gethostbyname=no
32980 fi
32981
32982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32983 conftest$ac_exeext conftest.$ac_ext
32984 LIBS=$ac_check_lib_save_LIBS
32985 fi
32986 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32987 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32988 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32989 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32990 fi
32991
32992 fi
32993 fi
32994
32995 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32996 # socket/setsockopt and other routines are undefined under SCO ODT
32997 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32998 # on later versions), says Simon Leinen: it contains gethostby*
32999 # variants that don't use the name server (or something). -lsocket
33000 # must be given before -lnsl if both are needed. We assume that
33001 # if connect needs -lnsl, so does gethostbyname.
33002 { echo "$as_me:$LINENO: checking for connect" >&5
33003 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
33004 if test "${ac_cv_func_connect+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 connect to an innocuous variant, in case <limits.h> declares connect.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define connect innocuous_connect
33016
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char connect (); 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 connect
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 connect ();
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_connect || defined __stub___connect
33041 choke me
33042 #endif
33043
33044 int
33045 main ()
33046 {
33047 return connect ();
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_connect=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 ac_cv_func_connect=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_connect" >&5
33082 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33083
33084 if test $ac_cv_func_connect = no; then
33085 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33086 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33087 if test "${ac_cv_lib_socket_connect+set}" = set; then
33088 echo $ECHO_N "(cached) $ECHO_C" >&6
33089 else
33090 ac_check_lib_save_LIBS=$LIBS
33091 LIBS="-lsocket $X_EXTRA_LIBS $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 connect ();
33106 int
33107 main ()
33108 {
33109 return connect ();
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_socket_connect=yes
33133 else
33134 echo "$as_me: failed program was:" >&5
33135 sed 's/^/| /' conftest.$ac_ext >&5
33136
33137 ac_cv_lib_socket_connect=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_socket_connect" >&5
33145 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33146 if test $ac_cv_lib_socket_connect = yes; then
33147 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33148 fi
33149
33150 fi
33151
33152 # Guillermo Gomez says -lposix is necessary on A/UX.
33153 { echo "$as_me:$LINENO: checking for remove" >&5
33154 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33155 if test "${ac_cv_func_remove+set}" = set; then
33156 echo $ECHO_N "(cached) $ECHO_C" >&6
33157 else
33158 cat >conftest.$ac_ext <<_ACEOF
33159 /* confdefs.h. */
33160 _ACEOF
33161 cat confdefs.h >>conftest.$ac_ext
33162 cat >>conftest.$ac_ext <<_ACEOF
33163 /* end confdefs.h. */
33164 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33166 #define remove innocuous_remove
33167
33168 /* System header to define __stub macros and hopefully few prototypes,
33169 which can conflict with char remove (); below.
33170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33171 <limits.h> exists even on freestanding compilers. */
33172
33173 #ifdef __STDC__
33174 # include <limits.h>
33175 #else
33176 # include <assert.h>
33177 #endif
33178
33179 #undef remove
33180
33181 /* Override any GCC internal prototype to avoid an error.
33182 Use char because int might match the return type of a GCC
33183 builtin and then its argument prototype would still apply. */
33184 #ifdef __cplusplus
33185 extern "C"
33186 #endif
33187 char remove ();
33188 /* The GNU C library defines this for functions which it implements
33189 to always fail with ENOSYS. Some functions are actually named
33190 something starting with __ and the normal name is an alias. */
33191 #if defined __stub_remove || defined __stub___remove
33192 choke me
33193 #endif
33194
33195 int
33196 main ()
33197 {
33198 return remove ();
33199 ;
33200 return 0;
33201 }
33202 _ACEOF
33203 rm -f conftest.$ac_objext conftest$ac_exeext
33204 if { (ac_try="$ac_link"
33205 case "(($ac_try" in
33206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33207 *) ac_try_echo=$ac_try;;
33208 esac
33209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33210 (eval "$ac_link") 2>conftest.er1
33211 ac_status=$?
33212 grep -v '^ *+' conftest.er1 >conftest.err
33213 rm -f conftest.er1
33214 cat conftest.err >&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); } && {
33217 test -z "$ac_c_werror_flag" ||
33218 test ! -s conftest.err
33219 } && test -s conftest$ac_exeext &&
33220 $as_test_x conftest$ac_exeext; then
33221 ac_cv_func_remove=yes
33222 else
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33225
33226 ac_cv_func_remove=no
33227 fi
33228
33229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33230 conftest$ac_exeext conftest.$ac_ext
33231 fi
33232 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33233 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33234
33235 if test $ac_cv_func_remove = no; then
33236 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33237 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33238 if test "${ac_cv_lib_posix_remove+set}" = set; then
33239 echo $ECHO_N "(cached) $ECHO_C" >&6
33240 else
33241 ac_check_lib_save_LIBS=$LIBS
33242 LIBS="-lposix $LIBS"
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249
33250 /* Override any GCC internal prototype to avoid an error.
33251 Use char because int might match the return type of a GCC
33252 builtin and then its argument prototype would still apply. */
33253 #ifdef __cplusplus
33254 extern "C"
33255 #endif
33256 char remove ();
33257 int
33258 main ()
33259 {
33260 return remove ();
33261 ;
33262 return 0;
33263 }
33264 _ACEOF
33265 rm -f conftest.$ac_objext conftest$ac_exeext
33266 if { (ac_try="$ac_link"
33267 case "(($ac_try" in
33268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33269 *) ac_try_echo=$ac_try;;
33270 esac
33271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33272 (eval "$ac_link") 2>conftest.er1
33273 ac_status=$?
33274 grep -v '^ *+' conftest.er1 >conftest.err
33275 rm -f conftest.er1
33276 cat conftest.err >&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } && {
33279 test -z "$ac_c_werror_flag" ||
33280 test ! -s conftest.err
33281 } && test -s conftest$ac_exeext &&
33282 $as_test_x conftest$ac_exeext; then
33283 ac_cv_lib_posix_remove=yes
33284 else
33285 echo "$as_me: failed program was:" >&5
33286 sed 's/^/| /' conftest.$ac_ext >&5
33287
33288 ac_cv_lib_posix_remove=no
33289 fi
33290
33291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33292 conftest$ac_exeext conftest.$ac_ext
33293 LIBS=$ac_check_lib_save_LIBS
33294 fi
33295 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33296 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33297 if test $ac_cv_lib_posix_remove = yes; then
33298 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33299 fi
33300
33301 fi
33302
33303 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33304 { echo "$as_me:$LINENO: checking for shmat" >&5
33305 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33306 if test "${ac_cv_func_shmat+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309 cat >conftest.$ac_ext <<_ACEOF
33310 /* confdefs.h. */
33311 _ACEOF
33312 cat confdefs.h >>conftest.$ac_ext
33313 cat >>conftest.$ac_ext <<_ACEOF
33314 /* end confdefs.h. */
33315 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33317 #define shmat innocuous_shmat
33318
33319 /* System header to define __stub macros and hopefully few prototypes,
33320 which can conflict with char shmat (); below.
33321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33322 <limits.h> exists even on freestanding compilers. */
33323
33324 #ifdef __STDC__
33325 # include <limits.h>
33326 #else
33327 # include <assert.h>
33328 #endif
33329
33330 #undef shmat
33331
33332 /* Override any GCC internal prototype to avoid an error.
33333 Use char because int might match the return type of a GCC
33334 builtin and then its argument prototype would still apply. */
33335 #ifdef __cplusplus
33336 extern "C"
33337 #endif
33338 char shmat ();
33339 /* The GNU C library defines this for functions which it implements
33340 to always fail with ENOSYS. Some functions are actually named
33341 something starting with __ and the normal name is an alias. */
33342 #if defined __stub_shmat || defined __stub___shmat
33343 choke me
33344 #endif
33345
33346 int
33347 main ()
33348 {
33349 return shmat ();
33350 ;
33351 return 0;
33352 }
33353 _ACEOF
33354 rm -f conftest.$ac_objext conftest$ac_exeext
33355 if { (ac_try="$ac_link"
33356 case "(($ac_try" in
33357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33358 *) ac_try_echo=$ac_try;;
33359 esac
33360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33361 (eval "$ac_link") 2>conftest.er1
33362 ac_status=$?
33363 grep -v '^ *+' conftest.er1 >conftest.err
33364 rm -f conftest.er1
33365 cat conftest.err >&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); } && {
33368 test -z "$ac_c_werror_flag" ||
33369 test ! -s conftest.err
33370 } && test -s conftest$ac_exeext &&
33371 $as_test_x conftest$ac_exeext; then
33372 ac_cv_func_shmat=yes
33373 else
33374 echo "$as_me: failed program was:" >&5
33375 sed 's/^/| /' conftest.$ac_ext >&5
33376
33377 ac_cv_func_shmat=no
33378 fi
33379
33380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33381 conftest$ac_exeext conftest.$ac_ext
33382 fi
33383 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33384 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33385
33386 if test $ac_cv_func_shmat = no; then
33387 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33388 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33389 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33390 echo $ECHO_N "(cached) $ECHO_C" >&6
33391 else
33392 ac_check_lib_save_LIBS=$LIBS
33393 LIBS="-lipc $LIBS"
33394 cat >conftest.$ac_ext <<_ACEOF
33395 /* confdefs.h. */
33396 _ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400
33401 /* Override any GCC internal prototype to avoid an error.
33402 Use char because int might match the return type of a GCC
33403 builtin and then its argument prototype would still apply. */
33404 #ifdef __cplusplus
33405 extern "C"
33406 #endif
33407 char shmat ();
33408 int
33409 main ()
33410 {
33411 return shmat ();
33412 ;
33413 return 0;
33414 }
33415 _ACEOF
33416 rm -f conftest.$ac_objext conftest$ac_exeext
33417 if { (ac_try="$ac_link"
33418 case "(($ac_try" in
33419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33420 *) ac_try_echo=$ac_try;;
33421 esac
33422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33423 (eval "$ac_link") 2>conftest.er1
33424 ac_status=$?
33425 grep -v '^ *+' conftest.er1 >conftest.err
33426 rm -f conftest.er1
33427 cat conftest.err >&5
33428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429 (exit $ac_status); } && {
33430 test -z "$ac_c_werror_flag" ||
33431 test ! -s conftest.err
33432 } && test -s conftest$ac_exeext &&
33433 $as_test_x conftest$ac_exeext; then
33434 ac_cv_lib_ipc_shmat=yes
33435 else
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.$ac_ext >&5
33438
33439 ac_cv_lib_ipc_shmat=no
33440 fi
33441
33442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33443 conftest$ac_exeext conftest.$ac_ext
33444 LIBS=$ac_check_lib_save_LIBS
33445 fi
33446 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33447 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33448 if test $ac_cv_lib_ipc_shmat = yes; then
33449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33450 fi
33451
33452 fi
33453 fi
33454
33455 # Check for libraries that X11R6 Xt/Xaw programs need.
33456 ac_save_LDFLAGS=$LDFLAGS
33457 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33458 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33459 # check for ICE first), but we must link in the order -lSM -lICE or
33460 # we get undefined symbols. So assume we have SM if we have ICE.
33461 # These have to be linked with before -lX11, unlike the other
33462 # libraries we check for below, so use a different variable.
33463 # John Interrante, Karl Berry
33464 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33465 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33466 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33467 echo $ECHO_N "(cached) $ECHO_C" >&6
33468 else
33469 ac_check_lib_save_LIBS=$LIBS
33470 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33471 cat >conftest.$ac_ext <<_ACEOF
33472 /* confdefs.h. */
33473 _ACEOF
33474 cat confdefs.h >>conftest.$ac_ext
33475 cat >>conftest.$ac_ext <<_ACEOF
33476 /* end confdefs.h. */
33477
33478 /* Override any GCC internal prototype to avoid an error.
33479 Use char because int might match the return type of a GCC
33480 builtin and then its argument prototype would still apply. */
33481 #ifdef __cplusplus
33482 extern "C"
33483 #endif
33484 char IceConnectionNumber ();
33485 int
33486 main ()
33487 {
33488 return IceConnectionNumber ();
33489 ;
33490 return 0;
33491 }
33492 _ACEOF
33493 rm -f conftest.$ac_objext conftest$ac_exeext
33494 if { (ac_try="$ac_link"
33495 case "(($ac_try" in
33496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33497 *) ac_try_echo=$ac_try;;
33498 esac
33499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33500 (eval "$ac_link") 2>conftest.er1
33501 ac_status=$?
33502 grep -v '^ *+' conftest.er1 >conftest.err
33503 rm -f conftest.er1
33504 cat conftest.err >&5
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); } && {
33507 test -z "$ac_c_werror_flag" ||
33508 test ! -s conftest.err
33509 } && test -s conftest$ac_exeext &&
33510 $as_test_x conftest$ac_exeext; then
33511 ac_cv_lib_ICE_IceConnectionNumber=yes
33512 else
33513 echo "$as_me: failed program was:" >&5
33514 sed 's/^/| /' conftest.$ac_ext >&5
33515
33516 ac_cv_lib_ICE_IceConnectionNumber=no
33517 fi
33518
33519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33520 conftest$ac_exeext conftest.$ac_ext
33521 LIBS=$ac_check_lib_save_LIBS
33522 fi
33523 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33524 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33525 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33526 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33527 fi
33528
33529 LDFLAGS=$ac_save_LDFLAGS
33530
33531 fi
33532
33533
33534 if test "$no_x" = "yes"; then
33535 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33536 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33537 { (exit 1); exit 1; }; }
33538 fi
33539
33540 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33541 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33542 AFMINSTALL=afminstall
33543 COMPILED_X_PROGRAM=0
33544
33545 fi
33546
33547 if test "$wxUSE_X11" = 1; then
33548 if test "$wxUSE_NANOX" = "yes"; then
33549 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33550 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33551 if test "x$MICROWIN" = x ; then
33552 { echo "$as_me:$LINENO: result: not found" >&5
33553 echo "${ECHO_T}not found" >&6; }
33554 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33555 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33556 { (exit 1); exit 1; }; }
33557 else
33558 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33559 echo "${ECHO_T}$MICROWIN" >&6; }
33560 cat >>confdefs.h <<\_ACEOF
33561 #define wxUSE_NANOX 1
33562 _ACEOF
33563
33564 fi
33565 fi
33566
33567 if test "$wxUSE_UNICODE" = "yes"; then
33568
33569
33570 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33571 if test -n "$ac_tool_prefix"; then
33572 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33573 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33576 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 else
33579 case $PKG_CONFIG in
33580 [\\/]* | ?:[\\/]*)
33581 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33582 ;;
33583 *)
33584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33585 for as_dir in $PATH
33586 do
33587 IFS=$as_save_IFS
33588 test -z "$as_dir" && as_dir=.
33589 for ac_exec_ext in '' $ac_executable_extensions; do
33590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33591 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33593 break 2
33594 fi
33595 done
33596 done
33597 IFS=$as_save_IFS
33598
33599 ;;
33600 esac
33601 fi
33602 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33603 if test -n "$PKG_CONFIG"; then
33604 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33605 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33606 else
33607 { echo "$as_me:$LINENO: result: no" >&5
33608 echo "${ECHO_T}no" >&6; }
33609 fi
33610
33611
33612 fi
33613 if test -z "$ac_cv_path_PKG_CONFIG"; then
33614 ac_pt_PKG_CONFIG=$PKG_CONFIG
33615 # Extract the first word of "pkg-config", so it can be a program name with args.
33616 set dummy pkg-config; ac_word=$2
33617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33619 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 else
33622 case $ac_pt_PKG_CONFIG in
33623 [\\/]* | ?:[\\/]*)
33624 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33625 ;;
33626 *)
33627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33628 for as_dir in $PATH
33629 do
33630 IFS=$as_save_IFS
33631 test -z "$as_dir" && as_dir=.
33632 for ac_exec_ext in '' $ac_executable_extensions; do
33633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33634 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33636 break 2
33637 fi
33638 done
33639 done
33640 IFS=$as_save_IFS
33641
33642 ;;
33643 esac
33644 fi
33645 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33646 if test -n "$ac_pt_PKG_CONFIG"; then
33647 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33648 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33649 else
33650 { echo "$as_me:$LINENO: result: no" >&5
33651 echo "${ECHO_T}no" >&6; }
33652 fi
33653
33654 if test "x$ac_pt_PKG_CONFIG" = x; then
33655 PKG_CONFIG=""
33656 else
33657 case $cross_compiling:$ac_tool_warned in
33658 yes:)
33659 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33660 whose name does not start with the host triplet. If you think this
33661 configuration is useful to you, please write to autoconf@gnu.org." >&5
33662 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33663 whose name does not start with the host triplet. If you think this
33664 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33665 ac_tool_warned=yes ;;
33666 esac
33667 PKG_CONFIG=$ac_pt_PKG_CONFIG
33668 fi
33669 else
33670 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33671 fi
33672
33673 fi
33674 if test -n "$PKG_CONFIG"; then
33675 _pkg_min_version=0.9.0
33676 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33677 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33678 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33679 { echo "$as_me:$LINENO: result: yes" >&5
33680 echo "${ECHO_T}yes" >&6; }
33681 else
33682 { echo "$as_me:$LINENO: result: no" >&5
33683 echo "${ECHO_T}no" >&6; }
33684 PKG_CONFIG=""
33685 fi
33686
33687 fi
33688
33689
33690 pkg_failed=no
33691 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33692 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33693
33694 if test -n "$PKG_CONFIG"; then
33695 if test -n "$PANGOX_CFLAGS"; then
33696 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33697 else
33698 if test -n "$PKG_CONFIG" && \
33699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33700 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; then
33704 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33705 else
33706 pkg_failed=yes
33707 fi
33708 fi
33709 else
33710 pkg_failed=untried
33711 fi
33712 if test -n "$PKG_CONFIG"; then
33713 if test -n "$PANGOX_LIBS"; then
33714 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33715 else
33716 if test -n "$PKG_CONFIG" && \
33717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33718 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33719 ac_status=$?
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; then
33722 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33723 else
33724 pkg_failed=yes
33725 fi
33726 fi
33727 else
33728 pkg_failed=untried
33729 fi
33730
33731
33732
33733 if test $pkg_failed = yes; then
33734
33735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33736 _pkg_short_errors_supported=yes
33737 else
33738 _pkg_short_errors_supported=no
33739 fi
33740 if test $_pkg_short_errors_supported = yes; then
33741 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33742 else
33743 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33744 fi
33745 # Put the nasty error message in config.log where it belongs
33746 echo "$PANGOX_PKG_ERRORS" >&5
33747
33748
33749 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33750 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33751 { (exit 1); exit 1; }; }
33752
33753
33754 elif test $pkg_failed = untried; then
33755
33756 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33757 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33758 { (exit 1); exit 1; }; }
33759
33760
33761 else
33762 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33763 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33764 { echo "$as_me:$LINENO: result: yes" >&5
33765 echo "${ECHO_T}yes" >&6; }
33766
33767 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33768 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33769 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33770
33771 fi
33772
33773 pkg_failed=no
33774 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33775 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33776
33777 if test -n "$PKG_CONFIG"; then
33778 if test -n "$PANGOFT2_CFLAGS"; then
33779 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33780 else
33781 if test -n "$PKG_CONFIG" && \
33782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33783 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33784 ac_status=$?
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; then
33787 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33788 else
33789 pkg_failed=yes
33790 fi
33791 fi
33792 else
33793 pkg_failed=untried
33794 fi
33795 if test -n "$PKG_CONFIG"; then
33796 if test -n "$PANGOFT2_LIBS"; then
33797 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33798 else
33799 if test -n "$PKG_CONFIG" && \
33800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33801 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33802 ac_status=$?
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); }; then
33805 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33806 else
33807 pkg_failed=yes
33808 fi
33809 fi
33810 else
33811 pkg_failed=untried
33812 fi
33813
33814
33815
33816 if test $pkg_failed = yes; then
33817
33818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33819 _pkg_short_errors_supported=yes
33820 else
33821 _pkg_short_errors_supported=no
33822 fi
33823 if test $_pkg_short_errors_supported = yes; then
33824 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33825 else
33826 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33827 fi
33828 # Put the nasty error message in config.log where it belongs
33829 echo "$PANGOFT2_PKG_ERRORS" >&5
33830
33831
33832 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33833 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33834 wxUSE_PRINTING_ARCHITECTURE="no"
33835
33836
33837 elif test $pkg_failed = untried; then
33838
33839 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33840 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33841 wxUSE_PRINTING_ARCHITECTURE="no"
33842
33843
33844 else
33845 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33846 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33847 { echo "$as_me:$LINENO: result: yes" >&5
33848 echo "${ECHO_T}yes" >&6; }
33849
33850 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33851 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33852 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33853
33854 fi
33855
33856 pkg_failed=no
33857 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33858 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33859
33860 if test -n "$PKG_CONFIG"; then
33861 if test -n "$PANGOXFT_CFLAGS"; then
33862 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33863 else
33864 if test -n "$PKG_CONFIG" && \
33865 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33866 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; then
33870 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33871 else
33872 pkg_failed=yes
33873 fi
33874 fi
33875 else
33876 pkg_failed=untried
33877 fi
33878 if test -n "$PKG_CONFIG"; then
33879 if test -n "$PANGOXFT_LIBS"; then
33880 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33881 else
33882 if test -n "$PKG_CONFIG" && \
33883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33884 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33885 ac_status=$?
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); }; then
33888 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33889 else
33890 pkg_failed=yes
33891 fi
33892 fi
33893 else
33894 pkg_failed=untried
33895 fi
33896
33897
33898
33899 if test $pkg_failed = yes; then
33900
33901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33902 _pkg_short_errors_supported=yes
33903 else
33904 _pkg_short_errors_supported=no
33905 fi
33906 if test $_pkg_short_errors_supported = yes; then
33907 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33908 else
33909 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33910 fi
33911 # Put the nasty error message in config.log where it belongs
33912 echo "$PANGOXFT_PKG_ERRORS" >&5
33913
33914
33915 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33916 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33917
33918
33919 elif test $pkg_failed = untried; then
33920
33921 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33922 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33923
33924
33925 else
33926 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33927 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33928 { echo "$as_me:$LINENO: result: yes" >&5
33929 echo "${ECHO_T}yes" >&6; }
33930
33931 cat >>confdefs.h <<\_ACEOF
33932 #define HAVE_PANGO_XFT 1
33933 _ACEOF
33934
33935 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33936 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33937 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33938
33939 fi
33940 save_LIBS="$LIBS"
33941 LIBS="$LIBS $PANGOX_LIBS"
33942
33943 for ac_func in pango_font_family_is_monospace
33944 do
33945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33946 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33948 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33949 echo $ECHO_N "(cached) $ECHO_C" >&6
33950 else
33951 cat >conftest.$ac_ext <<_ACEOF
33952 /* confdefs.h. */
33953 _ACEOF
33954 cat confdefs.h >>conftest.$ac_ext
33955 cat >>conftest.$ac_ext <<_ACEOF
33956 /* end confdefs.h. */
33957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33959 #define $ac_func innocuous_$ac_func
33960
33961 /* System header to define __stub macros and hopefully few prototypes,
33962 which can conflict with char $ac_func (); below.
33963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33964 <limits.h> exists even on freestanding compilers. */
33965
33966 #ifdef __STDC__
33967 # include <limits.h>
33968 #else
33969 # include <assert.h>
33970 #endif
33971
33972 #undef $ac_func
33973
33974 /* Override any GCC internal prototype to avoid an error.
33975 Use char because int might match the return type of a GCC
33976 builtin and then its argument prototype would still apply. */
33977 #ifdef __cplusplus
33978 extern "C"
33979 #endif
33980 char $ac_func ();
33981 /* The GNU C library defines this for functions which it implements
33982 to always fail with ENOSYS. Some functions are actually named
33983 something starting with __ and the normal name is an alias. */
33984 #if defined __stub_$ac_func || defined __stub___$ac_func
33985 choke me
33986 #endif
33987
33988 int
33989 main ()
33990 {
33991 return $ac_func ();
33992 ;
33993 return 0;
33994 }
33995 _ACEOF
33996 rm -f conftest.$ac_objext conftest$ac_exeext
33997 if { (ac_try="$ac_link"
33998 case "(($ac_try" in
33999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34000 *) ac_try_echo=$ac_try;;
34001 esac
34002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34003 (eval "$ac_link") 2>conftest.er1
34004 ac_status=$?
34005 grep -v '^ *+' conftest.er1 >conftest.err
34006 rm -f conftest.er1
34007 cat conftest.err >&5
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); } && {
34010 test -z "$ac_c_werror_flag" ||
34011 test ! -s conftest.err
34012 } && test -s conftest$ac_exeext &&
34013 $as_test_x conftest$ac_exeext; then
34014 eval "$as_ac_var=yes"
34015 else
34016 echo "$as_me: failed program was:" >&5
34017 sed 's/^/| /' conftest.$ac_ext >&5
34018
34019 eval "$as_ac_var=no"
34020 fi
34021
34022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34023 conftest$ac_exeext conftest.$ac_ext
34024 fi
34025 ac_res=`eval echo '${'$as_ac_var'}'`
34026 { echo "$as_me:$LINENO: result: $ac_res" >&5
34027 echo "${ECHO_T}$ac_res" >&6; }
34028 if test `eval echo '${'$as_ac_var'}'` = yes; then
34029 cat >>confdefs.h <<_ACEOF
34030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34031 _ACEOF
34032
34033 fi
34034 done
34035
34036 LIBS="$save_LIBS"
34037 fi
34038
34039 wxUSE_UNIVERSAL="yes"
34040
34041 if test "$wxUSE_NANOX" = "yes"; then
34042 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
34043 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"
34044 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
34045 else
34046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
34047 fi
34048
34049 TOOLKIT=X11
34050 GUIDIST=X11_DIST
34051 fi
34052
34053 if test "$wxUSE_MOTIF" = 1; then
34054 if test "$wxUSE_UNICODE" = "yes"; then
34055 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
34056 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
34057 { (exit 1); exit 1; }; }
34058 fi
34059
34060 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34061 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34062
34063 ac_find_includes=
34064 for ac_dir in $SEARCH_INCLUDE /usr/include;
34065 do
34066 if test -f "$ac_dir/Xm/Xm.h"; then
34067 ac_find_includes=$ac_dir
34068 break
34069 fi
34070 done
34071
34072 if test "$ac_find_includes" != "" ; then
34073 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34074 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34075
34076 if test "x$ac_find_includes" = "x/usr/include"; then
34077 ac_path_to_include=""
34078 else
34079 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34080 result=$?
34081 if test $result = 0; then
34082 ac_path_to_include=""
34083 else
34084 ac_path_to_include=" -I$ac_find_includes"
34085 fi
34086 fi
34087
34088 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34089 else
34090 save_CFLAGS=$CFLAGS
34091 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34092
34093 cat >conftest.$ac_ext <<_ACEOF
34094 /* confdefs.h. */
34095 _ACEOF
34096 cat confdefs.h >>conftest.$ac_ext
34097 cat >>conftest.$ac_ext <<_ACEOF
34098 /* end confdefs.h. */
34099
34100 #include <Xm/Xm.h>
34101
34102 int
34103 main ()
34104 {
34105
34106 int version;
34107 version = xmUseVersion;
34108
34109 ;
34110 return 0;
34111 }
34112 _ACEOF
34113 rm -f conftest.$ac_objext
34114 if { (ac_try="$ac_compile"
34115 case "(($ac_try" in
34116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34117 *) ac_try_echo=$ac_try;;
34118 esac
34119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34120 (eval "$ac_compile") 2>conftest.er1
34121 ac_status=$?
34122 grep -v '^ *+' conftest.er1 >conftest.err
34123 rm -f conftest.er1
34124 cat conftest.err >&5
34125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34126 (exit $ac_status); } && {
34127 test -z "$ac_c_werror_flag" ||
34128 test ! -s conftest.err
34129 } && test -s conftest.$ac_objext; then
34130
34131 { echo "$as_me:$LINENO: result: found in default search path" >&5
34132 echo "${ECHO_T}found in default search path" >&6; }
34133 COMPILED_X_PROGRAM=1
34134
34135 else
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.$ac_ext >&5
34138
34139
34140 { echo "$as_me:$LINENO: result: no" >&5
34141 echo "${ECHO_T}no" >&6; }
34142 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34143 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34144 { (exit 1); exit 1; }; }
34145
34146
34147 fi
34148
34149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34150
34151 CFLAGS=$save_CFLAGS
34152 fi
34153
34154
34155 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34156 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34157
34158 ac_find_libraries=
34159 for ac_dir in $SEARCH_LIB;
34160 do
34161 for ac_extension in a so sl dylib dll.a; do
34162 if test -f "$ac_dir/libXm.$ac_extension"; then
34163 ac_find_libraries=$ac_dir
34164 break 2
34165 fi
34166 done
34167 done
34168
34169
34170 if test "x$ac_find_libraries" != "x" ; then
34171 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34172 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34173
34174
34175 if test "$ac_find_libraries" = "default location"; then
34176 ac_path_to_link=""
34177 else
34178 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34179 result=$?
34180 if test $result = 0; then
34181 ac_path_to_link=""
34182 else
34183 ac_path_to_link=" -L$ac_find_libraries"
34184 fi
34185 fi
34186
34187 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34188 else
34189 save_CFLAGS=$CFLAGS
34190 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34191 save_LIBS="$LIBS"
34192 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34193
34194 cat >conftest.$ac_ext <<_ACEOF
34195 /* confdefs.h. */
34196 _ACEOF
34197 cat confdefs.h >>conftest.$ac_ext
34198 cat >>conftest.$ac_ext <<_ACEOF
34199 /* end confdefs.h. */
34200
34201 #include <Xm/Xm.h>
34202
34203 int
34204 main ()
34205 {
34206
34207 int version;
34208 version = xmUseVersion;
34209
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext conftest$ac_exeext
34215 if { (ac_try="$ac_link"
34216 case "(($ac_try" in
34217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34218 *) ac_try_echo=$ac_try;;
34219 esac
34220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34221 (eval "$ac_link") 2>conftest.er1
34222 ac_status=$?
34223 grep -v '^ *+' conftest.er1 >conftest.err
34224 rm -f conftest.er1
34225 cat conftest.err >&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); } && {
34228 test -z "$ac_c_werror_flag" ||
34229 test ! -s conftest.err
34230 } && test -s conftest$ac_exeext &&
34231 $as_test_x conftest$ac_exeext; then
34232
34233 { echo "$as_me:$LINENO: result: found in default search path" >&5
34234 echo "${ECHO_T}found in default search path" >&6; }
34235 COMPILED_X_PROGRAM=1
34236
34237 else
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34240
34241
34242 { echo "$as_me:$LINENO: result: no" >&5
34243 echo "${ECHO_T}no" >&6; }
34244 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34245 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34246 { (exit 1); exit 1; }; }
34247
34248
34249 fi
34250
34251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34252 conftest$ac_exeext conftest.$ac_ext
34253
34254 CFLAGS=$save_CFLAGS
34255 LIBS="$save_LIBS"
34256 fi
34257
34258 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34259 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34260 libp_link=""
34261 libsm_ice_link=""
34262 libs_found=0
34263 for libp in "" " -lXp"; do
34264 if test "$libs_found" = "0"; then
34265 for libsm_ice in "" " -lSM -lICE"; do
34266 if test "$libs_found" = "0"; then
34267 save_LIBS="$LIBS"
34268 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34269 save_CFLAGS=$CFLAGS
34270 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34271
34272 cat >conftest.$ac_ext <<_ACEOF
34273 /* confdefs.h. */
34274 _ACEOF
34275 cat confdefs.h >>conftest.$ac_ext
34276 cat >>conftest.$ac_ext <<_ACEOF
34277 /* end confdefs.h. */
34278
34279 #include <Xm/Xm.h>
34280 #include <Xm/List.h>
34281
34282 int
34283 main ()
34284 {
34285
34286 XmString string = NULL;
34287 Widget w = NULL;
34288 int position = 0;
34289 XmListAddItem(w, string, position);
34290
34291 ;
34292 return 0;
34293 }
34294 _ACEOF
34295 rm -f conftest.$ac_objext conftest$ac_exeext
34296 if { (ac_try="$ac_link"
34297 case "(($ac_try" in
34298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34299 *) ac_try_echo=$ac_try;;
34300 esac
34301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34302 (eval "$ac_link") 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } && {
34309 test -z "$ac_c_werror_flag" ||
34310 test ! -s conftest.err
34311 } && test -s conftest$ac_exeext &&
34312 $as_test_x conftest$ac_exeext; then
34313
34314 libp_link="$libp"
34315 libsm_ice_link="$libsm_ice"
34316 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34317 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34318 libs_found=1
34319
34320 else
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.$ac_ext >&5
34323
34324
34325
34326 fi
34327
34328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34329 conftest$ac_exeext conftest.$ac_ext
34330
34331 LIBS="$save_LIBS"
34332 CFLAGS=$save_CFLAGS
34333 fi
34334 done
34335 fi
34336 done
34337
34338 if test "$libs_found" = "0"; then
34339 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34340 echo "${ECHO_T}can't find the right libraries" >&6; }
34341 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34342 echo "$as_me: error: can't link a simple motif program" >&2;}
34343 { (exit 1); exit 1; }; }
34344 fi
34345
34346 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34347 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34348 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 else
34351 ac_check_lib_save_LIBS=$LIBS
34352 LIBS="-lSgm $LIBS"
34353 cat >conftest.$ac_ext <<_ACEOF
34354 /* confdefs.h. */
34355 _ACEOF
34356 cat confdefs.h >>conftest.$ac_ext
34357 cat >>conftest.$ac_ext <<_ACEOF
34358 /* end confdefs.h. */
34359
34360 /* Override any GCC internal prototype to avoid an error.
34361 Use char because int might match the return type of a GCC
34362 builtin and then its argument prototype would still apply. */
34363 #ifdef __cplusplus
34364 extern "C"
34365 #endif
34366 char SgCreateList ();
34367 int
34368 main ()
34369 {
34370 return SgCreateList ();
34371 ;
34372 return 0;
34373 }
34374 _ACEOF
34375 rm -f conftest.$ac_objext conftest$ac_exeext
34376 if { (ac_try="$ac_link"
34377 case "(($ac_try" in
34378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34379 *) ac_try_echo=$ac_try;;
34380 esac
34381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34382 (eval "$ac_link") 2>conftest.er1
34383 ac_status=$?
34384 grep -v '^ *+' conftest.er1 >conftest.err
34385 rm -f conftest.er1
34386 cat conftest.err >&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } && {
34389 test -z "$ac_c_werror_flag" ||
34390 test ! -s conftest.err
34391 } && test -s conftest$ac_exeext &&
34392 $as_test_x conftest$ac_exeext; then
34393 ac_cv_lib_Sgm_SgCreateList=yes
34394 else
34395 echo "$as_me: failed program was:" >&5
34396 sed 's/^/| /' conftest.$ac_ext >&5
34397
34398 ac_cv_lib_Sgm_SgCreateList=no
34399 fi
34400
34401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34402 conftest$ac_exeext conftest.$ac_ext
34403 LIBS=$ac_check_lib_save_LIBS
34404 fi
34405 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34406 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34407 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34408 libsgm_link=" -lSgm"
34409 fi
34410
34411
34412 save_CFLAGS=$CFLAGS
34413 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34414
34415 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34416 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34417 if test "${wx_cv_lib_motif2+set}" = set; then
34418 echo $ECHO_N "(cached) $ECHO_C" >&6
34419 else
34420 cat >conftest.$ac_ext <<_ACEOF
34421 /* confdefs.h. */
34422 _ACEOF
34423 cat confdefs.h >>conftest.$ac_ext
34424 cat >>conftest.$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426
34427 #include <Xm/Xm.h>
34428
34429 int
34430 main ()
34431 {
34432
34433 #if XmVersion < 2000
34434 Not Motif 2
34435 #endif
34436
34437 ;
34438 return 0;
34439 }
34440 _ACEOF
34441 rm -f conftest.$ac_objext
34442 if { (ac_try="$ac_compile"
34443 case "(($ac_try" in
34444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34445 *) ac_try_echo=$ac_try;;
34446 esac
34447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34448 (eval "$ac_compile") 2>conftest.er1
34449 ac_status=$?
34450 grep -v '^ *+' conftest.er1 >conftest.err
34451 rm -f conftest.er1
34452 cat conftest.err >&5
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); } && {
34455 test -z "$ac_c_werror_flag" ||
34456 test ! -s conftest.err
34457 } && test -s conftest.$ac_objext; then
34458 wx_cv_lib_motif2="yes"
34459 else
34460 echo "$as_me: failed program was:" >&5
34461 sed 's/^/| /' conftest.$ac_ext >&5
34462
34463 wx_cv_lib_motif2="no"
34464 fi
34465
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 fi
34468 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34469 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34470 if test "$wx_cv_lib_motif2" = "yes"; then
34471 cat >>confdefs.h <<\_ACEOF
34472 #define __WXMOTIF20__ 1
34473 _ACEOF
34474
34475 else
34476 cat >>confdefs.h <<\_ACEOF
34477 #define __WXMOTIF20__ 0
34478 _ACEOF
34479
34480 fi
34481
34482 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34483 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34484 if test "${wx_cv_lib_lesstif+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 else
34487 cat >conftest.$ac_ext <<_ACEOF
34488 /* confdefs.h. */
34489 _ACEOF
34490 cat confdefs.h >>conftest.$ac_ext
34491 cat >>conftest.$ac_ext <<_ACEOF
34492 /* end confdefs.h. */
34493
34494 #include <Xm/Xm.h>
34495
34496 int
34497 main ()
34498 {
34499
34500 #if !defined(LesstifVersion) || LesstifVersion <= 0
34501 Not Lesstif
34502 #endif
34503
34504 ;
34505 return 0;
34506 }
34507 _ACEOF
34508 rm -f conftest.$ac_objext
34509 if { (ac_try="$ac_compile"
34510 case "(($ac_try" in
34511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34512 *) ac_try_echo=$ac_try;;
34513 esac
34514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34515 (eval "$ac_compile") 2>conftest.er1
34516 ac_status=$?
34517 grep -v '^ *+' conftest.er1 >conftest.err
34518 rm -f conftest.er1
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } && {
34522 test -z "$ac_c_werror_flag" ||
34523 test ! -s conftest.err
34524 } && test -s conftest.$ac_objext; then
34525 wx_cv_lib_lesstif="yes"
34526 else
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34529
34530 wx_cv_lib_lesstif="no"
34531 fi
34532
34533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34534
34535 fi
34536 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34537 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34538 if test "$wx_cv_lib_lesstif" = "yes"; then
34539 cat >>confdefs.h <<\_ACEOF
34540 #define __WXLESSTIF__ 1
34541 _ACEOF
34542
34543 else
34544 cat >>confdefs.h <<\_ACEOF
34545 #define __WXLESSTIF__ 0
34546 _ACEOF
34547
34548 fi
34549
34550 CFLAGS=$save_CFLAGS
34551
34552 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34553 TOOLKIT=MOTIF
34554 GUIDIST=MOTIF_DIST
34555 fi
34556
34557 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34558 if test "$wxUSE_LIBXPM" = "sys"; then
34559 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34560 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34561
34562 ac_find_libraries=
34563 for ac_dir in $SEARCH_LIB;
34564 do
34565 for ac_extension in a so sl dylib dll.a; do
34566 if test -f "$ac_dir/libXpm.$ac_extension"; then
34567 ac_find_libraries=$ac_dir
34568 break 2
34569 fi
34570 done
34571 done
34572
34573 if test "$ac_find_libraries" != "" ; then
34574
34575 if test "$ac_find_libraries" = "default location"; then
34576 ac_path_to_link=""
34577 else
34578 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34579 result=$?
34580 if test $result = 0; then
34581 ac_path_to_link=""
34582 else
34583 ac_path_to_link=" -L$ac_find_libraries"
34584 fi
34585 fi
34586
34587 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34588 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34589 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34590
34591 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34592 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34593 if test "${wx_cv_x11_xpm_h+set}" = set; then
34594 echo $ECHO_N "(cached) $ECHO_C" >&6
34595 else
34596
34597 save_CFLAGS=$CFLAGS
34598 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34599
34600 cat >conftest.$ac_ext <<_ACEOF
34601 /* confdefs.h. */
34602 _ACEOF
34603 cat confdefs.h >>conftest.$ac_ext
34604 cat >>conftest.$ac_ext <<_ACEOF
34605 /* end confdefs.h. */
34606
34607 #include <X11/xpm.h>
34608
34609 int
34610 main ()
34611 {
34612
34613 int version;
34614 version = XpmLibraryVersion();
34615
34616 ;
34617 return 0;
34618 }
34619 _ACEOF
34620 rm -f conftest.$ac_objext
34621 if { (ac_try="$ac_compile"
34622 case "(($ac_try" in
34623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34624 *) ac_try_echo=$ac_try;;
34625 esac
34626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34627 (eval "$ac_compile") 2>conftest.er1
34628 ac_status=$?
34629 grep -v '^ *+' conftest.er1 >conftest.err
34630 rm -f conftest.er1
34631 cat conftest.err >&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); } && {
34634 test -z "$ac_c_werror_flag" ||
34635 test ! -s conftest.err
34636 } && test -s conftest.$ac_objext; then
34637 wx_cv_x11_xpm_h=yes
34638 else
34639 echo "$as_me: failed program was:" >&5
34640 sed 's/^/| /' conftest.$ac_ext >&5
34641
34642 wx_cv_x11_xpm_h=no
34643
34644 fi
34645
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647
34648 CFLAGS=$save_CFLAGS
34649
34650
34651 fi
34652 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34653 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34654
34655 if test $wx_cv_x11_xpm_h = "yes"; then
34656 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34657 cat >>confdefs.h <<\_ACEOF
34658 #define wxHAVE_LIB_XPM 1
34659 _ACEOF
34660
34661 else
34662 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34663 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34664 fi
34665 fi
34666
34667 fi
34668
34669 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34670 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34671 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34674 ac_check_lib_save_LIBS=$LIBS
34675 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34676 cat >conftest.$ac_ext <<_ACEOF
34677 /* confdefs.h. */
34678 _ACEOF
34679 cat confdefs.h >>conftest.$ac_ext
34680 cat >>conftest.$ac_ext <<_ACEOF
34681 /* end confdefs.h. */
34682
34683 /* Override any GCC internal prototype to avoid an error.
34684 Use char because int might match the return type of a GCC
34685 builtin and then its argument prototype would still apply. */
34686 #ifdef __cplusplus
34687 extern "C"
34688 #endif
34689 char XShapeQueryExtension ();
34690 int
34691 main ()
34692 {
34693 return XShapeQueryExtension ();
34694 ;
34695 return 0;
34696 }
34697 _ACEOF
34698 rm -f conftest.$ac_objext conftest$ac_exeext
34699 if { (ac_try="$ac_link"
34700 case "(($ac_try" in
34701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34702 *) ac_try_echo=$ac_try;;
34703 esac
34704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34705 (eval "$ac_link") 2>conftest.er1
34706 ac_status=$?
34707 grep -v '^ *+' conftest.er1 >conftest.err
34708 rm -f conftest.er1
34709 cat conftest.err >&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); } && {
34712 test -z "$ac_c_werror_flag" ||
34713 test ! -s conftest.err
34714 } && test -s conftest$ac_exeext &&
34715 $as_test_x conftest$ac_exeext; then
34716 ac_cv_lib_Xext_XShapeQueryExtension=yes
34717 else
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34720
34721 ac_cv_lib_Xext_XShapeQueryExtension=no
34722 fi
34723
34724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34725 conftest$ac_exeext conftest.$ac_ext
34726 LIBS=$ac_check_lib_save_LIBS
34727 fi
34728 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34729 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34730 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34731
34732 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34733 wxHAVE_XEXT_LIB=1
34734
34735 fi
34736
34737
34738 if test "$wxHAVE_XEXT_LIB" = 1; then
34739 save_CFLAGS="$CFLAGS"
34740 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34741
34742 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34743 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34744 cat >conftest.$ac_ext <<_ACEOF
34745 /* confdefs.h. */
34746 _ACEOF
34747 cat confdefs.h >>conftest.$ac_ext
34748 cat >>conftest.$ac_ext <<_ACEOF
34749 /* end confdefs.h. */
34750
34751 #include <X11/Xlib.h>
34752 #include <X11/extensions/shape.h>
34753
34754 int
34755 main ()
34756 {
34757
34758 int dummy1, dummy2;
34759 XShapeQueryExtension((Display*)NULL,
34760 (int*)NULL, (int*)NULL);
34761
34762 ;
34763 return 0;
34764 }
34765 _ACEOF
34766 rm -f conftest.$ac_objext
34767 if { (ac_try="$ac_compile"
34768 case "(($ac_try" in
34769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34770 *) ac_try_echo=$ac_try;;
34771 esac
34772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34773 (eval "$ac_compile") 2>conftest.er1
34774 ac_status=$?
34775 grep -v '^ *+' conftest.er1 >conftest.err
34776 rm -f conftest.er1
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && {
34780 test -z "$ac_c_werror_flag" ||
34781 test ! -s conftest.err
34782 } && test -s conftest.$ac_objext; then
34783
34784 cat >>confdefs.h <<\_ACEOF
34785 #define HAVE_XSHAPE 1
34786 _ACEOF
34787
34788 { echo "$as_me:$LINENO: result: found" >&5
34789 echo "${ECHO_T}found" >&6; }
34790
34791 else
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.$ac_ext >&5
34794
34795
34796 { echo "$as_me:$LINENO: result: not found" >&5
34797 echo "${ECHO_T}not found" >&6; }
34798
34799 fi
34800
34801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34802 CFLAGS="$save_CFLAGS"
34803
34804 fi
34805 fi
34806
34807 if test "$wxUSE_MAC" = 1; then
34808 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34809 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34810 if test "$GCC" = yes; then
34811 { echo "$as_me:$LINENO: result: gcc" >&5
34812 echo "${ECHO_T}gcc" >&6; }
34813 CPPFLAGS_PASCAL="-fpascal-strings"
34814 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34815 { echo "$as_me:$LINENO: result: xlc" >&5
34816 echo "${ECHO_T}xlc" >&6; }
34817 CPPFLAGS_PASCAL="-qmacpstr"
34818 else
34819 { echo "$as_me:$LINENO: result: none" >&5
34820 echo "${ECHO_T}none" >&6; }
34821 fi
34822
34823 if test "x$wxUSE_UNIX" = "xyes"; then
34824 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34825 else
34826 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34827 fi
34828
34829 TOOLKIT=MAC
34830 GUIDIST=MACX_DIST
34831 WXBASEPORT="_carbon"
34832 fi
34833
34834 if test "$wxUSE_COCOA" = 1; then
34835 TOOLKIT=COCOA
34836 GUIDIST=COCOA_DIST
34837 fi
34838
34839 if test "$wxUSE_PM" = 1; then
34840 TOOLKIT=PM
34841 GUIDIST=PM_DIST
34842 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34843 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34844 if test "${wx_cv_spbcdata+set}" = set; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 else
34847
34848 cat >conftest.$ac_ext <<_ACEOF
34849 /* confdefs.h. */
34850 _ACEOF
34851 cat confdefs.h >>conftest.$ac_ext
34852 cat >>conftest.$ac_ext <<_ACEOF
34853 /* end confdefs.h. */
34854
34855 #define INCL_PM
34856 #include <os2.h>
34857
34858 int
34859 main ()
34860 {
34861
34862 SPBCDATA test;
34863
34864 ;
34865 return 0;
34866 }
34867 _ACEOF
34868 rm -f conftest.$ac_objext
34869 if { (ac_try="$ac_compile"
34870 case "(($ac_try" in
34871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34872 *) ac_try_echo=$ac_try;;
34873 esac
34874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34875 (eval "$ac_compile") 2>conftest.er1
34876 ac_status=$?
34877 grep -v '^ *+' conftest.er1 >conftest.err
34878 rm -f conftest.er1
34879 cat conftest.err >&5
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); } && {
34882 test -z "$ac_c_werror_flag" ||
34883 test ! -s conftest.err
34884 } && test -s conftest.$ac_objext; then
34885 wx_cv_spbcdata=yes
34886 else
34887 echo "$as_me: failed program was:" >&5
34888 sed 's/^/| /' conftest.$ac_ext >&5
34889
34890 wx_cv_spbcdata=no
34891
34892 fi
34893
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34895
34896
34897 fi
34898 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34899 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34900
34901 if test $wx_cv_spbcdata = "yes"; then
34902 cat >>confdefs.h <<\_ACEOF
34903 #define HAVE_SPBCDATA 1
34904 _ACEOF
34905
34906 fi
34907 fi
34908
34909 if test "$TOOLKIT" = "PM" ; then
34910 TOOLKIT_DIR="os2"
34911 else
34912 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34913 fi
34914
34915 if test "$wxUSE_UNIVERSAL" = "yes"; then
34916 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34917 WIDGET_SET=univ
34918 fi
34919
34920 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34921 DISTDIR="wx\$(TOOLKIT)"
34922 else
34923 USE_GUI=0
34924
34925 TOOLKIT_DIR="base"
34926
34927 if test "$USE_WIN32" = 1 ; then
34928 TOOLKIT="MSW"
34929 fi
34930
34931 GUIDIST="BASE_DIST"
34932 DISTDIR="wxBase"
34933 fi
34934
34935
34936
34937 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34938 if test "$TOOLKIT" = "DFB" ; then
34939 wxUSE_UNICODE_UTF8=yes
34940 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34941 wxUSE_UNICODE_UTF8=yes
34942 elif test "$USE_OS2" = "1" ; then
34943 wxUSE_UNICODE_UTF8=yes
34944 else
34945 wxUSE_UNICODE_UTF8=no
34946 fi
34947 fi
34948
34949
34950 if test "$wxUSE_GUI" = "yes"; then
34951 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34952
34953 for ac_header in X11/Xlib.h
34954 do
34955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 cat >conftest.$ac_ext <<_ACEOF
34962 /* confdefs.h. */
34963 _ACEOF
34964 cat confdefs.h >>conftest.$ac_ext
34965 cat >>conftest.$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967
34968
34969 #include <$ac_header>
34970 _ACEOF
34971 rm -f conftest.$ac_objext
34972 if { (ac_try="$ac_compile"
34973 case "(($ac_try" in
34974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34975 *) ac_try_echo=$ac_try;;
34976 esac
34977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34978 (eval "$ac_compile") 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } && {
34985 test -z "$ac_c_werror_flag" ||
34986 test ! -s conftest.err
34987 } && test -s conftest.$ac_objext; then
34988 eval "$as_ac_Header=yes"
34989 else
34990 echo "$as_me: failed program was:" >&5
34991 sed 's/^/| /' conftest.$ac_ext >&5
34992
34993 eval "$as_ac_Header=no"
34994 fi
34995
34996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997 fi
34998 ac_res=`eval echo '${'$as_ac_Header'}'`
34999 { echo "$as_me:$LINENO: result: $ac_res" >&5
35000 echo "${ECHO_T}$ac_res" >&6; }
35001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35002 cat >>confdefs.h <<_ACEOF
35003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35004 _ACEOF
35005
35006 fi
35007
35008 done
35009
35010
35011 for ac_header in X11/XKBlib.h
35012 do
35013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35018 else
35019 cat >conftest.$ac_ext <<_ACEOF
35020 /* confdefs.h. */
35021 _ACEOF
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025
35026 #if HAVE_X11_XLIB_H
35027 #include <X11/Xlib.h>
35028 #endif
35029
35030
35031 #include <$ac_header>
35032 _ACEOF
35033 rm -f conftest.$ac_objext
35034 if { (ac_try="$ac_compile"
35035 case "(($ac_try" in
35036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35037 *) ac_try_echo=$ac_try;;
35038 esac
35039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35040 (eval "$ac_compile") 2>conftest.er1
35041 ac_status=$?
35042 grep -v '^ *+' conftest.er1 >conftest.err
35043 rm -f conftest.er1
35044 cat conftest.err >&5
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); } && {
35047 test -z "$ac_c_werror_flag" ||
35048 test ! -s conftest.err
35049 } && test -s conftest.$ac_objext; then
35050 eval "$as_ac_Header=yes"
35051 else
35052 echo "$as_me: failed program was:" >&5
35053 sed 's/^/| /' conftest.$ac_ext >&5
35054
35055 eval "$as_ac_Header=no"
35056 fi
35057
35058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35059 fi
35060 ac_res=`eval echo '${'$as_ac_Header'}'`
35061 { echo "$as_me:$LINENO: result: $ac_res" >&5
35062 echo "${ECHO_T}$ac_res" >&6; }
35063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35064 cat >>confdefs.h <<_ACEOF
35065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35066 _ACEOF
35067
35068 fi
35069
35070 done
35071
35072 fi
35073 fi
35074
35075
35076
35077 IODBC_C_SRC=""
35078
35079
35080 if test "$TOOLKIT" != "MSW" ; then
35081
35082 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35083
35084 { echo "$as_me:$LINENO: checking for sql.h" >&5
35085 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35086 if test "${ac_cv_header_sql_h+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35088 else
35089 cat >conftest.$ac_ext <<_ACEOF
35090 /* confdefs.h. */
35091 _ACEOF
35092 cat confdefs.h >>conftest.$ac_ext
35093 cat >>conftest.$ac_ext <<_ACEOF
35094 /* end confdefs.h. */
35095
35096
35097 #include <sql.h>
35098 _ACEOF
35099 rm -f conftest.$ac_objext
35100 if { (ac_try="$ac_compile"
35101 case "(($ac_try" in
35102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35103 *) ac_try_echo=$ac_try;;
35104 esac
35105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35106 (eval "$ac_compile") 2>conftest.er1
35107 ac_status=$?
35108 grep -v '^ *+' conftest.er1 >conftest.err
35109 rm -f conftest.er1
35110 cat conftest.err >&5
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); } && {
35113 test -z "$ac_c_werror_flag" ||
35114 test ! -s conftest.err
35115 } && test -s conftest.$ac_objext; then
35116 ac_cv_header_sql_h=yes
35117 else
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35120
35121 ac_cv_header_sql_h=no
35122 fi
35123
35124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35125 fi
35126 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35127 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35128 if test $ac_cv_header_sql_h = yes; then
35129 found_sql_h=1
35130 fi
35131
35132
35133 if test "x$found_sql_h" = "x1" ; then
35134 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35135 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35136 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35137 echo $ECHO_N "(cached) $ECHO_C" >&6
35138 else
35139 ac_check_lib_save_LIBS=$LIBS
35140 LIBS="-liodbc $LIBS"
35141 cat >conftest.$ac_ext <<_ACEOF
35142 /* confdefs.h. */
35143 _ACEOF
35144 cat confdefs.h >>conftest.$ac_ext
35145 cat >>conftest.$ac_ext <<_ACEOF
35146 /* end confdefs.h. */
35147
35148 /* Override any GCC internal prototype to avoid an error.
35149 Use char because int might match the return type of a GCC
35150 builtin and then its argument prototype would still apply. */
35151 #ifdef __cplusplus
35152 extern "C"
35153 #endif
35154 char SQLAllocEnv ();
35155 int
35156 main ()
35157 {
35158 return SQLAllocEnv ();
35159 ;
35160 return 0;
35161 }
35162 _ACEOF
35163 rm -f conftest.$ac_objext conftest$ac_exeext
35164 if { (ac_try="$ac_link"
35165 case "(($ac_try" in
35166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35167 *) ac_try_echo=$ac_try;;
35168 esac
35169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35170 (eval "$ac_link") 2>conftest.er1
35171 ac_status=$?
35172 grep -v '^ *+' conftest.er1 >conftest.err
35173 rm -f conftest.er1
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } && {
35177 test -z "$ac_c_werror_flag" ||
35178 test ! -s conftest.err
35179 } && test -s conftest$ac_exeext &&
35180 $as_test_x conftest$ac_exeext; then
35181 ac_cv_lib_iodbc_SQLAllocEnv=yes
35182 else
35183 echo "$as_me: failed program was:" >&5
35184 sed 's/^/| /' conftest.$ac_ext >&5
35185
35186 ac_cv_lib_iodbc_SQLAllocEnv=no
35187 fi
35188
35189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35190 conftest$ac_exeext conftest.$ac_ext
35191 LIBS=$ac_check_lib_save_LIBS
35192 fi
35193 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35194 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35195 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35196 ODBC_LINK=" -liodbc"
35197 else
35198
35199 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35200 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35201 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 else
35204 ac_check_lib_save_LIBS=$LIBS
35205 LIBS="-lunixodbc $LIBS"
35206 cat >conftest.$ac_ext <<_ACEOF
35207 /* confdefs.h. */
35208 _ACEOF
35209 cat confdefs.h >>conftest.$ac_ext
35210 cat >>conftest.$ac_ext <<_ACEOF
35211 /* end confdefs.h. */
35212
35213 /* Override any GCC internal prototype to avoid an error.
35214 Use char because int might match the return type of a GCC
35215 builtin and then its argument prototype would still apply. */
35216 #ifdef __cplusplus
35217 extern "C"
35218 #endif
35219 char SQLAllocEnv ();
35220 int
35221 main ()
35222 {
35223 return SQLAllocEnv ();
35224 ;
35225 return 0;
35226 }
35227 _ACEOF
35228 rm -f conftest.$ac_objext conftest$ac_exeext
35229 if { (ac_try="$ac_link"
35230 case "(($ac_try" in
35231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35232 *) ac_try_echo=$ac_try;;
35233 esac
35234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35235 (eval "$ac_link") 2>conftest.er1
35236 ac_status=$?
35237 grep -v '^ *+' conftest.er1 >conftest.err
35238 rm -f conftest.er1
35239 cat conftest.err >&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } && {
35242 test -z "$ac_c_werror_flag" ||
35243 test ! -s conftest.err
35244 } && test -s conftest$ac_exeext &&
35245 $as_test_x conftest$ac_exeext; then
35246 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35247 else
35248 echo "$as_me: failed program was:" >&5
35249 sed 's/^/| /' conftest.$ac_ext >&5
35250
35251 ac_cv_lib_unixodbc_SQLAllocEnv=no
35252 fi
35253
35254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35255 conftest$ac_exeext conftest.$ac_ext
35256 LIBS=$ac_check_lib_save_LIBS
35257 fi
35258 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35259 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35260 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35261 ODBC_LINK=" -lunixodbc"
35262 else
35263
35264 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35265 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35266 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35267 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 else
35269 ac_check_lib_save_LIBS=$LIBS
35270 LIBS="-lodbc $LIBS"
35271 cat >conftest.$ac_ext <<_ACEOF
35272 /* confdefs.h. */
35273 _ACEOF
35274 cat confdefs.h >>conftest.$ac_ext
35275 cat >>conftest.$ac_ext <<_ACEOF
35276 /* end confdefs.h. */
35277
35278 /* Override any GCC internal prototype to avoid an error.
35279 Use char because int might match the return type of a GCC
35280 builtin and then its argument prototype would still apply. */
35281 #ifdef __cplusplus
35282 extern "C"
35283 #endif
35284 char SQLAllocEnv ();
35285 int
35286 main ()
35287 {
35288 return SQLAllocEnv ();
35289 ;
35290 return 0;
35291 }
35292 _ACEOF
35293 rm -f conftest.$ac_objext conftest$ac_exeext
35294 if { (ac_try="$ac_link"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_link") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest$ac_exeext &&
35310 $as_test_x conftest$ac_exeext; then
35311 ac_cv_lib_odbc_SQLAllocEnv=yes
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35315
35316 ac_cv_lib_odbc_SQLAllocEnv=no
35317 fi
35318
35319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35320 conftest$ac_exeext conftest.$ac_ext
35321 LIBS=$ac_check_lib_save_LIBS
35322 fi
35323 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35324 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35325 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35326 ODBC_LINK=" -lodbc"
35327 fi
35328
35329
35330 fi
35331
35332
35333 fi
35334
35335 fi
35336 if test "x$ODBC_LINK" = "x" ; then
35337 if test "$wxUSE_ODBC" = "sys" ; then
35338 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35339 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35340 { (exit 1); exit 1; }; }
35341 else
35342 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35343 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35344 wxUSE_ODBC=builtin
35345 fi
35346 else
35347 wxUSE_ODBC=sys
35348 fi
35349 fi
35350
35351 if test "$wxUSE_ODBC" = "builtin" ; then
35352 cat >>confdefs.h <<\_ACEOF
35353 #define wxUSE_BUILTIN_IODBC 1
35354 _ACEOF
35355
35356 fi
35357 fi
35358
35359 if test "$wxUSE_ODBC" != "no" ; then
35360 cat >>confdefs.h <<\_ACEOF
35361 #define wxUSE_ODBC 1
35362 _ACEOF
35363
35364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35365
35366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35367 fi
35368
35369
35370 if test "$wxUSE_DISPLAY" = "yes"; then
35371 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35372 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35373 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35374
35375 ac_find_libraries=
35376 for ac_dir in $SEARCH_LIB;
35377 do
35378 for ac_extension in a so sl dylib dll.a; do
35379 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35380 ac_find_libraries=$ac_dir
35381 break 2
35382 fi
35383 done
35384 done
35385
35386 if test "$ac_find_libraries" != "" ; then
35387
35388 if test "$ac_find_libraries" = "default location"; then
35389 ac_path_to_link=""
35390 else
35391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35392 result=$?
35393 if test $result = 0; then
35394 ac_path_to_link=""
35395 else
35396 ac_path_to_link=" -L$ac_find_libraries"
35397 fi
35398 fi
35399
35400 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35401 LDFLAGS="$LDFLAGS $ac_path_to_link"
35402 fi
35403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35404 { echo "$as_me:$LINENO: result: yes" >&5
35405 echo "${ECHO_T}yes" >&6; }
35406
35407 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35408 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35409
35410 ac_find_libraries=
35411 for ac_dir in $SEARCH_LIB;
35412 do
35413 for ac_extension in a so sl dylib dll.a; do
35414 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35415 ac_find_libraries=$ac_dir
35416 break 2
35417 fi
35418 done
35419 done
35420
35421 if test "$ac_find_libraries" != "" ; then
35422 { echo "$as_me:$LINENO: result: yes" >&5
35423 echo "${ECHO_T}yes" >&6; }
35424
35425 for ac_header in X11/extensions/xf86vmode.h
35426 do
35427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35431 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 else
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439
35440 #if HAVE_X11_XLIB_H
35441 #include <X11/Xlib.h>
35442 #endif
35443
35444
35445 #include <$ac_header>
35446 _ACEOF
35447 rm -f conftest.$ac_objext
35448 if { (ac_try="$ac_compile"
35449 case "(($ac_try" in
35450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35451 *) ac_try_echo=$ac_try;;
35452 esac
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_compile") 2>conftest.er1
35455 ac_status=$?
35456 grep -v '^ *+' conftest.er1 >conftest.err
35457 rm -f conftest.er1
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest.$ac_objext; then
35464 eval "$as_ac_Header=yes"
35465 else
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35468
35469 eval "$as_ac_Header=no"
35470 fi
35471
35472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35473 fi
35474 ac_res=`eval echo '${'$as_ac_Header'}'`
35475 { echo "$as_me:$LINENO: result: $ac_res" >&5
35476 echo "${ECHO_T}$ac_res" >&6; }
35477 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35478 cat >>confdefs.h <<_ACEOF
35479 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35480 _ACEOF
35481
35482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35483
35484 fi
35485
35486 done
35487
35488 else
35489 { echo "$as_me:$LINENO: result: no" >&5
35490 echo "${ECHO_T}no" >&6; }
35491 fi
35492
35493 else
35494 { echo "$as_me:$LINENO: result: no" >&5
35495 echo "${ECHO_T}no" >&6; }
35496 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35497 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35498 wxUSE_DISPLAY="no"
35499 fi
35500 elif test "$wxUSE_MSW" = 1; then
35501 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35502 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35503 if test "${ac_cv_header_ddraw_h+set}" = set; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35505 else
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 #include <windows.h>
35513
35514 #include <ddraw.h>
35515 _ACEOF
35516 rm -f conftest.$ac_objext
35517 if { (ac_try="$ac_compile"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35520 *) ac_try_echo=$ac_try;;
35521 esac
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_compile") 2>conftest.er1
35524 ac_status=$?
35525 grep -v '^ *+' conftest.er1 >conftest.err
35526 rm -f conftest.er1
35527 cat conftest.err >&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_c_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest.$ac_objext; then
35533 ac_cv_header_ddraw_h=yes
35534 else
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.$ac_ext >&5
35537
35538 ac_cv_header_ddraw_h=no
35539 fi
35540
35541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35542 fi
35543 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35544 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35545
35546
35547 fi
35548 fi
35549
35550 if test "$wxUSE_DETECT_SM" = "yes"; then
35551 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35552 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35553 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35554
35555 ac_find_libraries=
35556 for ac_dir in $SEARCH_LIB;
35557 do
35558 for ac_extension in a so sl dylib dll.a; do
35559 if test -f "$ac_dir/libSM.$ac_extension"; then
35560 ac_find_libraries=$ac_dir
35561 break 2
35562 fi
35563 done
35564 done
35565
35566 if test "$ac_find_libraries" != "" ; then
35567
35568 if test "$ac_find_libraries" = "default location"; then
35569 ac_path_to_link=""
35570 else
35571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35572 result=$?
35573 if test $result = 0; then
35574 ac_path_to_link=""
35575 else
35576 ac_path_to_link=" -L$ac_find_libraries"
35577 fi
35578 fi
35579
35580 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35581 LDFLAGS="$LDFLAGS $ac_path_to_link"
35582 fi
35583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35584 { echo "$as_me:$LINENO: result: yes" >&5
35585 echo "${ECHO_T}yes" >&6; }
35586 else
35587 { echo "$as_me:$LINENO: result: no" >&5
35588 echo "${ECHO_T}no" >&6; }
35589 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35590 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35591 wxUSE_DETECT_SM="no"
35592 fi
35593 else
35594 wxUSE_DETECT_SM="no"
35595 fi
35596 fi
35597
35598
35599
35600 USE_OPENGL=0
35601 if test "$wxUSE_OPENGL" = "yes"; then
35602 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35603 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35604 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35605 wxUSE_OPENGL="no"
35606 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35607 OPENGL_LIBS="-framework OpenGL -framework AGL"
35608 elif test "$wxUSE_MSW" = 1; then
35609 OPENGL_LIBS="-lopengl32 -lglu32"
35610 else
35611 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35612 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35613
35614 ac_find_includes=
35615 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35616 do
35617 if test -f "$ac_dir/GL/gl.h"; then
35618 ac_find_includes=$ac_dir
35619 break
35620 fi
35621 done
35622
35623 if test "$ac_find_includes" != "" ; then
35624 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35625 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35626
35627 if test "x$ac_find_includes" = "x/usr/include"; then
35628 ac_path_to_include=""
35629 else
35630 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35631 result=$?
35632 if test $result = 0; then
35633 ac_path_to_include=""
35634 else
35635 ac_path_to_include=" -I$ac_find_includes"
35636 fi
35637 fi
35638
35639 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35640 else
35641 { echo "$as_me:$LINENO: result: not found" >&5
35642 echo "${ECHO_T}not found" >&6; }
35643 fi
35644
35645 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35646 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35647 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35648 echo $ECHO_N "(cached) $ECHO_C" >&6
35649 else
35650 cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h. */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656
35657
35658 #include <GL/gl.h>
35659 _ACEOF
35660 rm -f conftest.$ac_objext
35661 if { (ac_try="$ac_compile"
35662 case "(($ac_try" in
35663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35665 esac
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_compile") 2>conftest.er1
35668 ac_status=$?
35669 grep -v '^ *+' conftest.er1 >conftest.err
35670 rm -f conftest.er1
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_c_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest.$ac_objext; then
35677 ac_cv_header_GL_gl_h=yes
35678 else
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35681
35682 ac_cv_header_GL_gl_h=no
35683 fi
35684
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35686 fi
35687 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35688 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35689 if test $ac_cv_header_GL_gl_h = yes; then
35690
35691 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35692 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35693 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35694 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 fi
35697 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35698 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35699 else
35700 # Is the header compilable?
35701 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35702 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35703 cat >conftest.$ac_ext <<_ACEOF
35704 /* confdefs.h. */
35705 _ACEOF
35706 cat confdefs.h >>conftest.$ac_ext
35707 cat >>conftest.$ac_ext <<_ACEOF
35708 /* end confdefs.h. */
35709 $ac_includes_default
35710 #include <GL/glu.h>
35711 _ACEOF
35712 rm -f conftest.$ac_objext
35713 if { (ac_try="$ac_compile"
35714 case "(($ac_try" in
35715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35716 *) ac_try_echo=$ac_try;;
35717 esac
35718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35719 (eval "$ac_compile") 2>conftest.er1
35720 ac_status=$?
35721 grep -v '^ *+' conftest.er1 >conftest.err
35722 rm -f conftest.er1
35723 cat conftest.err >&5
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); } && {
35726 test -z "$ac_c_werror_flag" ||
35727 test ! -s conftest.err
35728 } && test -s conftest.$ac_objext; then
35729 ac_header_compiler=yes
35730 else
35731 echo "$as_me: failed program was:" >&5
35732 sed 's/^/| /' conftest.$ac_ext >&5
35733
35734 ac_header_compiler=no
35735 fi
35736
35737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35738 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35739 echo "${ECHO_T}$ac_header_compiler" >&6; }
35740
35741 # Is the header present?
35742 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35743 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35744 cat >conftest.$ac_ext <<_ACEOF
35745 /* confdefs.h. */
35746 _ACEOF
35747 cat confdefs.h >>conftest.$ac_ext
35748 cat >>conftest.$ac_ext <<_ACEOF
35749 /* end confdefs.h. */
35750 #include <GL/glu.h>
35751 _ACEOF
35752 if { (ac_try="$ac_cpp conftest.$ac_ext"
35753 case "(($ac_try" in
35754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35755 *) ac_try_echo=$ac_try;;
35756 esac
35757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35759 ac_status=$?
35760 grep -v '^ *+' conftest.er1 >conftest.err
35761 rm -f conftest.er1
35762 cat conftest.err >&5
35763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764 (exit $ac_status); } >/dev/null && {
35765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35766 test ! -s conftest.err
35767 }; then
35768 ac_header_preproc=yes
35769 else
35770 echo "$as_me: failed program was:" >&5
35771 sed 's/^/| /' conftest.$ac_ext >&5
35772
35773 ac_header_preproc=no
35774 fi
35775
35776 rm -f conftest.err conftest.$ac_ext
35777 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35778 echo "${ECHO_T}$ac_header_preproc" >&6; }
35779
35780 # So? What about this header?
35781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35782 yes:no: )
35783 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35784 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35785 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35786 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35787 ac_header_preproc=yes
35788 ;;
35789 no:yes:* )
35790 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35791 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35792 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35793 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35794 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35795 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35796 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35797 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35798 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35799 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35800 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35801 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35802 ( cat <<\_ASBOX
35803 ## ----------------------------------------- ##
35804 ## Report this to wx-dev@lists.wxwidgets.org ##
35805 ## ----------------------------------------- ##
35806 _ASBOX
35807 ) | sed "s/^/$as_me: WARNING: /" >&2
35808 ;;
35809 esac
35810 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35811 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35812 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35813 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 else
35815 ac_cv_header_GL_glu_h=$ac_header_preproc
35816 fi
35817 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35818 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35819
35820 fi
35821 if test $ac_cv_header_GL_glu_h = yes; then
35822
35823 found_gl=0
35824
35825 { echo "$as_me:$LINENO: checking for -lGL" >&5
35826 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35827
35828 ac_find_libraries=
35829 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35830 do
35831 for ac_extension in a so sl dylib dll.a; do
35832 if test -f "$ac_dir/libGL.$ac_extension"; then
35833 ac_find_libraries=$ac_dir
35834 break 2
35835 fi
35836 done
35837 done
35838
35839 if test "$ac_find_libraries" != "" ; then
35840 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35841 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35842
35843
35844 if test "$ac_find_libraries" = "default location"; then
35845 ac_path_to_link=""
35846 else
35847 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35848 result=$?
35849 if test $result = 0; then
35850 ac_path_to_link=""
35851 else
35852 ac_path_to_link=" -L$ac_find_libraries"
35853 fi
35854 fi
35855
35856 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35857 LDFLAGS_GL="$ac_path_to_link"
35858 fi
35859
35860 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35861 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35862
35863 ac_find_libraries=
35864 for ac_dir in $SEARCH_LIB;
35865 do
35866 for ac_extension in a so sl dylib dll.a; do
35867 if test -f "$ac_dir/libGLU.$ac_extension"; then
35868 ac_find_libraries=$ac_dir
35869 break 2
35870 fi
35871 done
35872 done
35873
35874 if test "$ac_find_libraries" != "" ; then
35875
35876 if test "$ac_find_libraries" = "default location"; then
35877 ac_path_to_link=""
35878 else
35879 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35880 result=$?
35881 if test $result = 0; then
35882 ac_path_to_link=""
35883 else
35884 ac_path_to_link=" -L$ac_find_libraries"
35885 fi
35886 fi
35887
35888 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35889 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35890 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35891 fi
35892
35893 found_gl=1
35894 OPENGL_LIBS="-lGL -lGLU"
35895 { echo "$as_me:$LINENO: result: yes" >&5
35896 echo "${ECHO_T}yes" >&6; }
35897 else
35898 { echo "$as_me:$LINENO: result: no" >&5
35899 echo "${ECHO_T}no" >&6; }
35900 fi
35901 else
35902 { echo "$as_me:$LINENO: result: no" >&5
35903 echo "${ECHO_T}no" >&6; }
35904 fi
35905
35906 if test "$found_gl" != 1; then
35907 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35908 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35909
35910 ac_find_libraries=
35911 for ac_dir in $SEARCH_LIB;
35912 do
35913 for ac_extension in a so sl dylib dll.a; do
35914 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35915 ac_find_libraries=$ac_dir
35916 break 2
35917 fi
35918 done
35919 done
35920
35921 if test "$ac_find_libraries" != "" ; then
35922
35923 if test "$ac_find_libraries" = "default location"; then
35924 ac_path_to_link=""
35925 else
35926 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35927 result=$?
35928 if test $result = 0; then
35929 ac_path_to_link=""
35930 else
35931 ac_path_to_link=" -L$ac_find_libraries"
35932 fi
35933 fi
35934
35935 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35936 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35937 { echo "$as_me:$LINENO: result: yes" >&5
35938 echo "${ECHO_T}yes" >&6; }
35939 else
35940 { echo "$as_me:$LINENO: result: no" >&5
35941 echo "${ECHO_T}no" >&6; }
35942 fi
35943 fi
35944
35945 fi
35946
35947
35948
35949 fi
35950
35951
35952
35953 if test "x$OPENGL_LIBS" = "x"; then
35954 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35955 echo "$as_me: error: OpenGL libraries not available" >&2;}
35956 { (exit 1); exit 1; }; }
35957 fi
35958 fi
35959
35960 if test "$wxUSE_OPENGL" = "yes"; then
35961 USE_OPENGL=1
35962 cat >>confdefs.h <<\_ACEOF
35963 #define wxUSE_OPENGL 1
35964 _ACEOF
35965
35966 cat >>confdefs.h <<\_ACEOF
35967 #define wxUSE_GLCANVAS 1
35968 _ACEOF
35969
35970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35971 fi
35972 fi
35973
35974
35975 if test -n "$TOOLKIT" ; then
35976 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35977 fi
35978
35979
35980
35981 if test "$wxUSE_SHARED" = "yes"; then
35982 case "${host}" in
35983 *-pc-msdosdjgpp )
35984 wxUSE_SHARED=no
35985 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35986 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35987 ;;
35988 esac
35989 fi
35990
35991 if test "$wxUSE_SHARED" = "yes"; then
35992
35993
35994 case "${host}" in
35995 *-*-cygwin* | *-*-mingw* )
35996 wx_cv_version_script=no
35997 ;;
35998
35999 *)
36000 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
36001 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
36002 if test "${wx_cv_version_script+set}" = set; then
36003 echo $ECHO_N "(cached) $ECHO_C" >&6
36004 else
36005
36006 echo "VER_1 { *; };" >conftest.sym
36007 echo "int main() { return 0; }" >conftest.cpp
36008
36009 if { ac_try='
36010 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36011 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
36012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36013 (eval $ac_try) 2>&5
36014 ac_status=$?
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); }; } ; then
36017 if test -s conftest.stderr ; then
36018 wx_cv_version_script=no
36019 else
36020 wx_cv_version_script=yes
36021 fi
36022 else
36023 wx_cv_version_script=no
36024 fi
36025
36026 if test $wx_cv_version_script = yes
36027 then
36028 echo "struct B { virtual ~B() { } }; \
36029 struct D : public B { }; \
36030 void F() { D d; }" > conftest.cpp
36031
36032 if { ac_try='
36033 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36034 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
36035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036 (eval $ac_try) 2>&5
36037 ac_status=$?
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); }; } &&
36040 { ac_try='
36041 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36042 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
36043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36044 (eval $ac_try) 2>&5
36045 ac_status=$?
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); }; }
36048 then
36049 if { ac_try='
36050 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
36051 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; }
36057 then
36058 wx_cv_version_script=yes
36059 else
36060 wx_cv_version_script=no
36061 fi
36062 fi
36063 fi
36064
36065 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36066 rm -f conftest1.output conftest2.output conftest3.output
36067
36068 fi
36069 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36070 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36071
36072 if test $wx_cv_version_script = yes ; then
36073 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36074 fi
36075 ;;
36076 esac
36077
36078
36079 if test "$wxUSE_VISIBILITY" != "no"; then
36080
36081
36082 if test -n "$GCC"; then
36083 CFLAGS_VISIBILITY="-fvisibility=hidden"
36084 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36085 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36086 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36087 if test "${wx_cv_cc_visibility+set}" = set; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 else
36090
36091 wx_save_CXXFLAGS="$CXXFLAGS"
36092 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36093 ac_ext=cpp
36094 ac_cpp='$CXXCPP $CPPFLAGS'
36095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098
36099 cat >conftest.$ac_ext <<_ACEOF
36100 /* confdefs.h. */
36101 _ACEOF
36102 cat confdefs.h >>conftest.$ac_ext
36103 cat >>conftest.$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36105
36106 /* we need gcc >= 4.0, older versions with visibility support
36107 didn't have class visibility: */
36108 #if defined(__GNUC__) && __GNUC__ < 4
36109 error this gcc is too old;
36110 #endif
36111
36112 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36113 extern __attribute__((__visibility__("default"))) int exportedvar;
36114 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36115 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36116 class __attribute__((__visibility__("default"))) Foo {
36117 Foo() {}
36118 };
36119
36120 int
36121 main ()
36122 {
36123
36124 ;
36125 return 0;
36126 }
36127 _ACEOF
36128 rm -f conftest.$ac_objext
36129 if { (ac_try="$ac_compile"
36130 case "(($ac_try" in
36131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36132 *) ac_try_echo=$ac_try;;
36133 esac
36134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36135 (eval "$ac_compile") 2>conftest.er1
36136 ac_status=$?
36137 grep -v '^ *+' conftest.er1 >conftest.err
36138 rm -f conftest.er1
36139 cat conftest.err >&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); } && {
36142 test -z "$ac_cxx_werror_flag" ||
36143 test ! -s conftest.err
36144 } && test -s conftest.$ac_objext; then
36145 wx_cv_cc_visibility=yes
36146 else
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36149
36150 wx_cv_cc_visibility=no
36151 fi
36152
36153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36154 ac_ext=c
36155 ac_cpp='$CPP $CPPFLAGS'
36156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36159
36160 CXXFLAGS="$wx_save_CXXFLAGS"
36161 fi
36162
36163 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36164 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36165 if test $wx_cv_cc_visibility = yes; then
36166 cat >>confdefs.h <<\_ACEOF
36167 #define HAVE_VISIBILITY 1
36168 _ACEOF
36169
36170 else
36171 CFLAGS_VISIBILITY=""
36172 CXXFLAGS_VISIBILITY=""
36173 fi
36174
36175
36176 fi
36177
36178 fi
36179
36180 if test "x$SUNCXX" = xyes; then
36181 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36182 WXCONFIG_RPATH="-R\$libdir"
36183 else
36184 case "${host}" in
36185 *-*-linux* | *-*-gnu* )
36186 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36187 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36188 ;;
36189
36190 *-*-solaris2* )
36191
36192 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36193
36194 saveLdflags="$LDFLAGS"
36195 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36196 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36197 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36198 cat >conftest.$ac_ext <<_ACEOF
36199 /* confdefs.h. */
36200 _ACEOF
36201 cat confdefs.h >>conftest.$ac_ext
36202 cat >>conftest.$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36204
36205 int
36206 main ()
36207 {
36208
36209 ;
36210 return 0;
36211 }
36212 _ACEOF
36213 rm -f conftest.$ac_objext conftest$ac_exeext
36214 if { (ac_try="$ac_link"
36215 case "(($ac_try" in
36216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36217 *) ac_try_echo=$ac_try;;
36218 esac
36219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36220 (eval "$ac_link") 2>conftest.er1
36221 ac_status=$?
36222 grep -v '^ *+' conftest.er1 >conftest.err
36223 rm -f conftest.er1
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } && {
36227 test -z "$ac_c_werror_flag" ||
36228 test ! -s conftest.err
36229 } && test -s conftest$ac_exeext &&
36230 $as_test_x conftest$ac_exeext; then
36231
36232 { echo "$as_me:$LINENO: result: yes" >&5
36233 echo "${ECHO_T}yes" >&6; }
36234 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36235 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36236
36237 else
36238 echo "$as_me: failed program was:" >&5
36239 sed 's/^/| /' conftest.$ac_ext >&5
36240
36241
36242 { echo "$as_me:$LINENO: result: no" >&5
36243 echo "${ECHO_T}no" >&6; }
36244 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36245 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36246 LDFLAGS="$saveLdflags -Wl,-R,/"
36247 cat >conftest.$ac_ext <<_ACEOF
36248 /* confdefs.h. */
36249 _ACEOF
36250 cat confdefs.h >>conftest.$ac_ext
36251 cat >>conftest.$ac_ext <<_ACEOF
36252 /* end confdefs.h. */
36253
36254 int
36255 main ()
36256 {
36257
36258 ;
36259 return 0;
36260 }
36261 _ACEOF
36262 rm -f conftest.$ac_objext conftest$ac_exeext
36263 if { (ac_try="$ac_link"
36264 case "(($ac_try" in
36265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36266 *) ac_try_echo=$ac_try;;
36267 esac
36268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36269 (eval "$ac_link") 2>conftest.er1
36270 ac_status=$?
36271 grep -v '^ *+' conftest.er1 >conftest.err
36272 rm -f conftest.er1
36273 cat conftest.err >&5
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); } && {
36276 test -z "$ac_c_werror_flag" ||
36277 test ! -s conftest.err
36278 } && test -s conftest$ac_exeext &&
36279 $as_test_x conftest$ac_exeext; then
36280
36281 { echo "$as_me:$LINENO: result: yes" >&5
36282 echo "${ECHO_T}yes" >&6; }
36283 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36284 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36285
36286 else
36287 echo "$as_me: failed program was:" >&5
36288 sed 's/^/| /' conftest.$ac_ext >&5
36289
36290
36291 { echo "$as_me:$LINENO: result: no" >&5
36292 echo "${ECHO_T}no" >&6; }
36293
36294 fi
36295
36296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36297 conftest$ac_exeext conftest.$ac_ext
36298
36299 fi
36300
36301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36302 conftest$ac_exeext conftest.$ac_ext
36303 LDFLAGS="$saveLdflags"
36304 ;;
36305
36306 *-*-darwin* )
36307 install_name_tool=`which install_name_tool`
36308 if test "$install_name_tool" -a -x "$install_name_tool"; then
36309 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36310 cat <<EOF >change-install-names
36311 #!/bin/sh
36312 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36313 inst_cmd="install_name_tool "
36314 for i in \${libnames} ; do
36315 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36316 done
36317 \${inst_cmd} \${3}
36318 EOF
36319 chmod +x change-install-names
36320 fi
36321 ;;
36322
36323 *-*-cygwin* | *-*-mingw32* )
36324 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36325 ;;
36326
36327 *-*-hpux* )
36328 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36329 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36330 ;;
36331
36332 esac
36333 fi
36334
36335 if test $wxUSE_RPATH = "no"; then
36336 SAMPLES_RPATH_FLAG=''
36337 SAMPLES_RPATH_POSTLINK=''
36338 WXCONFIG_RPATH=''
36339 fi
36340
36341 SHARED=1
36342
36343 else
36344
36345 config_linkage_component="-static"
36346 SHARED=0
36347
36348 fi
36349
36350
36351 UNICODE=0
36352 lib_unicode_suffix=
36353 WX_CHARTYPE="ansi"
36354 if test "$wxUSE_UNICODE" = "yes"; then
36355 lib_unicode_suffix=u
36356 WX_CHARTYPE="unicode"
36357 UNICODE=1
36358 fi
36359
36360 lib_debug_suffix=
36361 WX_DEBUGTYPE="release"
36362 DEBUG_FLAG=0
36363 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36364 lib_debug_suffix=d
36365 WX_DEBUGTYPE="debug"
36366 DEBUG_FLAG=1
36367 fi
36368
36369 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36370 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36371
36372 DEBUG_INFO=0
36373 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36374 DEBUG_INFO=1
36375 fi
36376
36377 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36378
36379 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36380
36381 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36382
36383 if test "$cross_compiling" = "yes"; then
36384 HOST_SUFFIX="-$host_alias"
36385 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36386 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36387 fi
36388
36389 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36390 if test "${TOOLKIT_DIR}" = "os2"; then
36391 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36392 else
36393 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36394 fi
36395
36396
36397
36398 if test "$wxUSE_COCOA" = 1; then
36399
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36405
36406 ac_ext=m
36407
36408 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36409 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36410 cat >conftest.$ac_ext <<_ACEOF
36411 /* confdefs.h. */
36412 _ACEOF
36413 cat confdefs.h >>conftest.$ac_ext
36414 cat >>conftest.$ac_ext <<_ACEOF
36415 /* end confdefs.h. */
36416 #include <AppKit/NSEvent.h>
36417 #include <CoreFoundation/CoreFoundation.h>
36418
36419 int
36420 main ()
36421 {
36422
36423 ;
36424 return 0;
36425 }
36426 _ACEOF
36427 rm -f conftest.$ac_objext
36428 if { (ac_try="$ac_compile"
36429 case "(($ac_try" in
36430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36431 *) ac_try_echo=$ac_try;;
36432 esac
36433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36434 (eval "$ac_compile") 2>conftest.er1
36435 ac_status=$?
36436 grep -v '^ *+' conftest.er1 >conftest.err
36437 rm -f conftest.er1
36438 cat conftest.err >&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); } && {
36441 test -z "$ac_c_werror_flag" ||
36442 test ! -s conftest.err
36443 } && test -s conftest.$ac_objext; then
36444 { echo "$as_me:$LINENO: result: no" >&5
36445 echo "${ECHO_T}no" >&6; }
36446 else
36447 echo "$as_me: failed program was:" >&5
36448 sed 's/^/| /' conftest.$ac_ext >&5
36449
36450 { echo "$as_me:$LINENO: result: yes" >&5
36451 echo "${ECHO_T}yes" >&6; }
36452 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36453 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36454 cat >conftest.$ac_ext <<_ACEOF
36455 /* confdefs.h. */
36456 _ACEOF
36457 cat confdefs.h >>conftest.$ac_ext
36458 cat >>conftest.$ac_ext <<_ACEOF
36459 /* end confdefs.h. */
36460 #define __Point__ 1
36461 #include <AppKit/NSEvent.h>
36462 #include <CoreFoundation/CoreFoundation.h>
36463
36464 int
36465 main ()
36466 {
36467
36468 ;
36469 return 0;
36470 }
36471 _ACEOF
36472 rm -f conftest.$ac_objext
36473 if { (ac_try="$ac_compile"
36474 case "(($ac_try" in
36475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36476 *) ac_try_echo=$ac_try;;
36477 esac
36478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36479 (eval "$ac_compile") 2>conftest.er1
36480 ac_status=$?
36481 grep -v '^ *+' conftest.er1 >conftest.err
36482 rm -f conftest.er1
36483 cat conftest.err >&5
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); } && {
36486 test -z "$ac_c_werror_flag" ||
36487 test ! -s conftest.err
36488 } && test -s conftest.$ac_objext; then
36489 { echo "$as_me:$LINENO: result: yes" >&5
36490 echo "${ECHO_T}yes" >&6; }
36491 cat >>confdefs.h <<\_ACEOF
36492 #define __Point__ 1
36493 _ACEOF
36494
36495
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36499
36500 { { echo "$as_me:$LINENO: error: no
36501 See \`config.log' for more details." >&5
36502 echo "$as_me: error: no
36503 See \`config.log' for more details." >&2;}
36504 { (exit 1); exit 1; }; }
36505
36506 fi
36507
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36509
36510 fi
36511
36512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36513 ac_ext=c
36514 ac_cpp='$CPP $CPPFLAGS'
36515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36518
36519 fi
36520
36521 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36522 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36523 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36524
36525 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36526
36527 # Extract the first word of "Rez", so it can be a program name with args.
36528 set dummy Rez; ac_word=$2
36529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36531 if test "${ac_cv_prog_REZ+set}" = set; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 else
36534 if test -n "$REZ"; then
36535 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36536 else
36537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36538 for as_dir in $PATH
36539 do
36540 IFS=$as_save_IFS
36541 test -z "$as_dir" && as_dir=.
36542 for ac_exec_ext in '' $ac_executable_extensions; do
36543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36544 ac_cv_prog_REZ="Rez"
36545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36546 break 2
36547 fi
36548 done
36549 done
36550 IFS=$as_save_IFS
36551
36552 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36553 fi
36554 fi
36555 REZ=$ac_cv_prog_REZ
36556 if test -n "$REZ"; then
36557 { echo "$as_me:$LINENO: result: $REZ" >&5
36558 echo "${ECHO_T}$REZ" >&6; }
36559 else
36560 { echo "$as_me:$LINENO: result: no" >&5
36561 echo "${ECHO_T}no" >&6; }
36562 fi
36563
36564
36565 # Extract the first word of "DeRez", so it can be a program name with args.
36566 set dummy DeRez; ac_word=$2
36567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36569 if test "${ac_cv_prog_DEREZ+set}" = set; then
36570 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 else
36572 if test -n "$DEREZ"; then
36573 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36574 else
36575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36576 for as_dir in $PATH
36577 do
36578 IFS=$as_save_IFS
36579 test -z "$as_dir" && as_dir=.
36580 for ac_exec_ext in '' $ac_executable_extensions; do
36581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36582 ac_cv_prog_DEREZ="DeRez"
36583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36584 break 2
36585 fi
36586 done
36587 done
36588 IFS=$as_save_IFS
36589
36590 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36591 fi
36592 fi
36593 DEREZ=$ac_cv_prog_DEREZ
36594 if test -n "$DEREZ"; then
36595 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36596 echo "${ECHO_T}$DEREZ" >&6; }
36597 else
36598 { echo "$as_me:$LINENO: result: no" >&5
36599 echo "${ECHO_T}no" >&6; }
36600 fi
36601
36602
36603 # Extract the first word of "SetFile", so it can be a program name with args.
36604 set dummy SetFile; ac_word=$2
36605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36607 if test "${ac_cv_prog_SETFILE+set}" = set; then
36608 echo $ECHO_N "(cached) $ECHO_C" >&6
36609 else
36610 if test -n "$SETFILE"; then
36611 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36612 else
36613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36614 for as_dir in $PATH
36615 do
36616 IFS=$as_save_IFS
36617 test -z "$as_dir" && as_dir=.
36618 for ac_exec_ext in '' $ac_executable_extensions; do
36619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36620 ac_cv_prog_SETFILE="SetFile"
36621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36622 break 2
36623 fi
36624 done
36625 done
36626 IFS=$as_save_IFS
36627
36628 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36629 fi
36630 fi
36631 SETFILE=$ac_cv_prog_SETFILE
36632 if test -n "$SETFILE"; then
36633 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36634 echo "${ECHO_T}$SETFILE" >&6; }
36635 else
36636 { echo "$as_me:$LINENO: result: no" >&5
36637 echo "${ECHO_T}no" >&6; }
36638 fi
36639
36640
36641
36642 MACSETFILE="\$(SETFILE)"
36643
36644 if test "$wxUSE_MAC" = 1; then
36645 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36646 RESCOMP="$REZ"
36647 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36648 else
36649 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36650 RESCOMP="echo -n \| $REZ"
36651 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36652 fi
36653
36654 else
36655 MACSETFILE="@true"
36656
36657 if test "$wxUSE_PM" = 1; then
36658 RESCOMP="emxbind"
36659 WXCONFIG_RESFLAGS="-ep"
36660
36661 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36662 else
36663 POSTLINK_COMMAND="@true"
36664 fi
36665
36666 fi
36667
36668
36669
36670 { echo "$as_me:$LINENO: checking for mode_t" >&5
36671 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36672 if test "${ac_cv_type_mode_t+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36675 cat >conftest.$ac_ext <<_ACEOF
36676 /* confdefs.h. */
36677 _ACEOF
36678 cat confdefs.h >>conftest.$ac_ext
36679 cat >>conftest.$ac_ext <<_ACEOF
36680 /* end confdefs.h. */
36681 $ac_includes_default
36682 typedef mode_t ac__type_new_;
36683 int
36684 main ()
36685 {
36686 if ((ac__type_new_ *) 0)
36687 return 0;
36688 if (sizeof (ac__type_new_))
36689 return 0;
36690 ;
36691 return 0;
36692 }
36693 _ACEOF
36694 rm -f conftest.$ac_objext
36695 if { (ac_try="$ac_compile"
36696 case "(($ac_try" in
36697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36698 *) ac_try_echo=$ac_try;;
36699 esac
36700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36701 (eval "$ac_compile") 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } && {
36708 test -z "$ac_c_werror_flag" ||
36709 test ! -s conftest.err
36710 } && test -s conftest.$ac_objext; then
36711 ac_cv_type_mode_t=yes
36712 else
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.$ac_ext >&5
36715
36716 ac_cv_type_mode_t=no
36717 fi
36718
36719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36720 fi
36721 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36722 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36723 if test $ac_cv_type_mode_t = yes; then
36724 :
36725 else
36726
36727 cat >>confdefs.h <<_ACEOF
36728 #define mode_t int
36729 _ACEOF
36730
36731 fi
36732
36733 { echo "$as_me:$LINENO: checking for off_t" >&5
36734 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36735 if test "${ac_cv_type_off_t+set}" = set; then
36736 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 else
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744 $ac_includes_default
36745 typedef off_t ac__type_new_;
36746 int
36747 main ()
36748 {
36749 if ((ac__type_new_ *) 0)
36750 return 0;
36751 if (sizeof (ac__type_new_))
36752 return 0;
36753 ;
36754 return 0;
36755 }
36756 _ACEOF
36757 rm -f conftest.$ac_objext
36758 if { (ac_try="$ac_compile"
36759 case "(($ac_try" in
36760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36761 *) ac_try_echo=$ac_try;;
36762 esac
36763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36764 (eval "$ac_compile") 2>conftest.er1
36765 ac_status=$?
36766 grep -v '^ *+' conftest.er1 >conftest.err
36767 rm -f conftest.er1
36768 cat conftest.err >&5
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); } && {
36771 test -z "$ac_c_werror_flag" ||
36772 test ! -s conftest.err
36773 } && test -s conftest.$ac_objext; then
36774 ac_cv_type_off_t=yes
36775 else
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 ac_cv_type_off_t=no
36780 fi
36781
36782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36783 fi
36784 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36785 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36786 if test $ac_cv_type_off_t = yes; then
36787 :
36788 else
36789
36790 cat >>confdefs.h <<_ACEOF
36791 #define off_t long int
36792 _ACEOF
36793
36794 fi
36795
36796 { echo "$as_me:$LINENO: checking for pid_t" >&5
36797 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36798 if test "${ac_cv_type_pid_t+set}" = set; then
36799 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 else
36801 cat >conftest.$ac_ext <<_ACEOF
36802 /* confdefs.h. */
36803 _ACEOF
36804 cat confdefs.h >>conftest.$ac_ext
36805 cat >>conftest.$ac_ext <<_ACEOF
36806 /* end confdefs.h. */
36807 $ac_includes_default
36808 typedef pid_t ac__type_new_;
36809 int
36810 main ()
36811 {
36812 if ((ac__type_new_ *) 0)
36813 return 0;
36814 if (sizeof (ac__type_new_))
36815 return 0;
36816 ;
36817 return 0;
36818 }
36819 _ACEOF
36820 rm -f conftest.$ac_objext
36821 if { (ac_try="$ac_compile"
36822 case "(($ac_try" in
36823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36824 *) ac_try_echo=$ac_try;;
36825 esac
36826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36827 (eval "$ac_compile") 2>conftest.er1
36828 ac_status=$?
36829 grep -v '^ *+' conftest.er1 >conftest.err
36830 rm -f conftest.er1
36831 cat conftest.err >&5
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); } && {
36834 test -z "$ac_c_werror_flag" ||
36835 test ! -s conftest.err
36836 } && test -s conftest.$ac_objext; then
36837 ac_cv_type_pid_t=yes
36838 else
36839 echo "$as_me: failed program was:" >&5
36840 sed 's/^/| /' conftest.$ac_ext >&5
36841
36842 ac_cv_type_pid_t=no
36843 fi
36844
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846 fi
36847 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36848 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36849 if test $ac_cv_type_pid_t = yes; then
36850 :
36851 else
36852
36853 cat >>confdefs.h <<_ACEOF
36854 #define pid_t int
36855 _ACEOF
36856
36857 fi
36858
36859 { echo "$as_me:$LINENO: checking for size_t" >&5
36860 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36861 if test "${ac_cv_type_size_t+set}" = set; then
36862 echo $ECHO_N "(cached) $ECHO_C" >&6
36863 else
36864 cat >conftest.$ac_ext <<_ACEOF
36865 /* confdefs.h. */
36866 _ACEOF
36867 cat confdefs.h >>conftest.$ac_ext
36868 cat >>conftest.$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36870 $ac_includes_default
36871 typedef size_t ac__type_new_;
36872 int
36873 main ()
36874 {
36875 if ((ac__type_new_ *) 0)
36876 return 0;
36877 if (sizeof (ac__type_new_))
36878 return 0;
36879 ;
36880 return 0;
36881 }
36882 _ACEOF
36883 rm -f conftest.$ac_objext
36884 if { (ac_try="$ac_compile"
36885 case "(($ac_try" in
36886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36887 *) ac_try_echo=$ac_try;;
36888 esac
36889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36890 (eval "$ac_compile") 2>conftest.er1
36891 ac_status=$?
36892 grep -v '^ *+' conftest.er1 >conftest.err
36893 rm -f conftest.er1
36894 cat conftest.err >&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } && {
36897 test -z "$ac_c_werror_flag" ||
36898 test ! -s conftest.err
36899 } && test -s conftest.$ac_objext; then
36900 ac_cv_type_size_t=yes
36901 else
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36904
36905 ac_cv_type_size_t=no
36906 fi
36907
36908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36909 fi
36910 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36911 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36912 if test $ac_cv_type_size_t = yes; then
36913 :
36914 else
36915
36916 cat >>confdefs.h <<_ACEOF
36917 #define size_t unsigned int
36918 _ACEOF
36919
36920 fi
36921
36922 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36923 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36924 if test "${ac_cv_type_uid_t+set}" = set; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 #include <sys/types.h>
36934
36935 _ACEOF
36936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36937 $EGREP "uid_t" >/dev/null 2>&1; then
36938 ac_cv_type_uid_t=yes
36939 else
36940 ac_cv_type_uid_t=no
36941 fi
36942 rm -f conftest*
36943
36944 fi
36945 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36946 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36947 if test $ac_cv_type_uid_t = no; then
36948
36949 cat >>confdefs.h <<\_ACEOF
36950 #define uid_t int
36951 _ACEOF
36952
36953
36954 cat >>confdefs.h <<\_ACEOF
36955 #define gid_t int
36956 _ACEOF
36957
36958 fi
36959
36960
36961 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36962 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36963 if test "${ac_cv_type_ssize_t+set}" = set; then
36964 echo $ECHO_N "(cached) $ECHO_C" >&6
36965 else
36966 cat >conftest.$ac_ext <<_ACEOF
36967 /* confdefs.h. */
36968 _ACEOF
36969 cat confdefs.h >>conftest.$ac_ext
36970 cat >>conftest.$ac_ext <<_ACEOF
36971 /* end confdefs.h. */
36972 $ac_includes_default
36973 typedef ssize_t ac__type_new_;
36974 int
36975 main ()
36976 {
36977 if ((ac__type_new_ *) 0)
36978 return 0;
36979 if (sizeof (ac__type_new_))
36980 return 0;
36981 ;
36982 return 0;
36983 }
36984 _ACEOF
36985 rm -f conftest.$ac_objext
36986 if { (ac_try="$ac_compile"
36987 case "(($ac_try" in
36988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36989 *) ac_try_echo=$ac_try;;
36990 esac
36991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36992 (eval "$ac_compile") 2>conftest.er1
36993 ac_status=$?
36994 grep -v '^ *+' conftest.er1 >conftest.err
36995 rm -f conftest.er1
36996 cat conftest.err >&5
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); } && {
36999 test -z "$ac_c_werror_flag" ||
37000 test ! -s conftest.err
37001 } && test -s conftest.$ac_objext; then
37002 ac_cv_type_ssize_t=yes
37003 else
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.$ac_ext >&5
37006
37007 ac_cv_type_ssize_t=no
37008 fi
37009
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37011 fi
37012 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
37013 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
37014 if test $ac_cv_type_ssize_t = yes; then
37015
37016 cat >>confdefs.h <<_ACEOF
37017 #define HAVE_SSIZE_T 1
37018 _ACEOF
37019
37020
37021 fi
37022
37023
37024 ac_ext=cpp
37025 ac_cpp='$CXXCPP $CPPFLAGS'
37026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37029 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
37030 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
37031 if test "${wx_cv_size_t_is_uint+set}" = set; then
37032 echo $ECHO_N "(cached) $ECHO_C" >&6
37033 else
37034
37035 cat >conftest.$ac_ext <<_ACEOF
37036 /* confdefs.h. */
37037 _ACEOF
37038 cat confdefs.h >>conftest.$ac_ext
37039 cat >>conftest.$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041 #include <stddef.h>
37042 int
37043 main ()
37044 {
37045
37046 return 0; }
37047
37048 struct Foo { void foo(size_t); void foo(unsigned int); };
37049
37050 int bar() {
37051
37052 ;
37053 return 0;
37054 }
37055 _ACEOF
37056 rm -f conftest.$ac_objext
37057 if { (ac_try="$ac_compile"
37058 case "(($ac_try" in
37059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37060 *) ac_try_echo=$ac_try;;
37061 esac
37062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37063 (eval "$ac_compile") 2>conftest.er1
37064 ac_status=$?
37065 grep -v '^ *+' conftest.er1 >conftest.err
37066 rm -f conftest.er1
37067 cat conftest.err >&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); } && {
37070 test -z "$ac_cxx_werror_flag" ||
37071 test ! -s conftest.err
37072 } && test -s conftest.$ac_objext; then
37073 wx_cv_size_t_is_uint=no
37074 else
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37077
37078 wx_cv_size_t_is_uint=yes
37079
37080 fi
37081
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083
37084
37085 fi
37086 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37087 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37088
37089 if test "$wx_cv_size_t_is_uint" = "yes"; then
37090 cat >>confdefs.h <<\_ACEOF
37091 #define wxSIZE_T_IS_UINT 1
37092 _ACEOF
37093
37094 else
37095 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37096 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37097 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37099 else
37100 cat >conftest.$ac_ext <<_ACEOF
37101 /* confdefs.h. */
37102 _ACEOF
37103 cat confdefs.h >>conftest.$ac_ext
37104 cat >>conftest.$ac_ext <<_ACEOF
37105 /* end confdefs.h. */
37106 #include <stddef.h>
37107 int
37108 main ()
37109 {
37110
37111 return 0; }
37112
37113 struct Foo { void foo(size_t); void foo(unsigned long); };
37114
37115 int bar() {
37116
37117 ;
37118 return 0;
37119 }
37120 _ACEOF
37121 rm -f conftest.$ac_objext
37122 if { (ac_try="$ac_compile"
37123 case "(($ac_try" in
37124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37125 *) ac_try_echo=$ac_try;;
37126 esac
37127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37128 (eval "$ac_compile") 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } && {
37135 test -z "$ac_cxx_werror_flag" ||
37136 test ! -s conftest.err
37137 } && test -s conftest.$ac_objext; then
37138 wx_cv_size_t_is_ulong=no
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37142
37143 wx_cv_size_t_is_ulong=yes
37144
37145 fi
37146
37147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37148
37149 fi
37150 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37151 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37152
37153 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define wxSIZE_T_IS_ULONG 1
37156 _ACEOF
37157
37158 fi
37159 fi
37160
37161 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37162 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37163 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37164 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 else
37166 cat >conftest.$ac_ext <<_ACEOF
37167 /* confdefs.h. */
37168 _ACEOF
37169 cat confdefs.h >>conftest.$ac_ext
37170 cat >>conftest.$ac_ext <<_ACEOF
37171 /* end confdefs.h. */
37172 #include <wchar.h>
37173 int
37174 main ()
37175 {
37176
37177 return 0; }
37178
37179 struct Foo { void foo(wchar_t);
37180 void foo(unsigned short);
37181 void foo(unsigned int);
37182 void foo(unsigned long); };
37183
37184 int bar() {
37185
37186 ;
37187 return 0;
37188 }
37189 _ACEOF
37190 rm -f conftest.$ac_objext
37191 if { (ac_try="$ac_compile"
37192 case "(($ac_try" in
37193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37194 *) ac_try_echo=$ac_try;;
37195 esac
37196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37197 (eval "$ac_compile") 2>conftest.er1
37198 ac_status=$?
37199 grep -v '^ *+' conftest.er1 >conftest.err
37200 rm -f conftest.er1
37201 cat conftest.err >&5
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); } && {
37204 test -z "$ac_cxx_werror_flag" ||
37205 test ! -s conftest.err
37206 } && test -s conftest.$ac_objext; then
37207 wx_cv_wchar_t_is_separate_type=yes
37208 else
37209 echo "$as_me: failed program was:" >&5
37210 sed 's/^/| /' conftest.$ac_ext >&5
37211
37212 wx_cv_wchar_t_is_separate_type=no
37213
37214 fi
37215
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37217
37218 fi
37219 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37220 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37221
37222 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37223 cat >>confdefs.h <<\_ACEOF
37224 #define wxWCHAR_T_IS_REAL_TYPE 1
37225 _ACEOF
37226
37227 else
37228 cat >>confdefs.h <<\_ACEOF
37229 #define wxWCHAR_T_IS_REAL_TYPE 0
37230 _ACEOF
37231
37232 fi
37233
37234 ac_ext=c
37235 ac_cpp='$CPP $CPPFLAGS'
37236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37239
37240
37241 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37242 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37243 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37244 echo $ECHO_N "(cached) $ECHO_C" >&6
37245 else
37246
37247 cat >conftest.$ac_ext <<_ACEOF
37248 /* confdefs.h. */
37249 _ACEOF
37250 cat confdefs.h >>conftest.$ac_ext
37251 cat >>conftest.$ac_ext <<_ACEOF
37252 /* end confdefs.h. */
37253 #include <pwd.h>
37254 int
37255 main ()
37256 {
37257
37258 char *p;
37259 struct passwd *pw;
37260 p = pw->pw_gecos;
37261
37262 ;
37263 return 0;
37264 }
37265 _ACEOF
37266 rm -f conftest.$ac_objext
37267 if { (ac_try="$ac_compile"
37268 case "(($ac_try" in
37269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37270 *) ac_try_echo=$ac_try;;
37271 esac
37272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37273 (eval "$ac_compile") 2>conftest.er1
37274 ac_status=$?
37275 grep -v '^ *+' conftest.er1 >conftest.err
37276 rm -f conftest.er1
37277 cat conftest.err >&5
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); } && {
37280 test -z "$ac_c_werror_flag" ||
37281 test ! -s conftest.err
37282 } && test -s conftest.$ac_objext; then
37283
37284 wx_cv_struct_pw_gecos=yes
37285
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290
37291 wx_cv_struct_pw_gecos=no
37292
37293
37294 fi
37295
37296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37297
37298
37299 fi
37300 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37301 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37302
37303 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37304 cat >>confdefs.h <<\_ACEOF
37305 #define HAVE_PW_GECOS 1
37306 _ACEOF
37307
37308 fi
37309
37310
37311 if test "$wxUSE_WCHAR_T" = "yes"; then
37312 cat >>confdefs.h <<\_ACEOF
37313 #define wxUSE_WCHAR_T 1
37314 _ACEOF
37315
37316
37317 WCSLEN_FOUND=0
37318 WCHAR_LINK=
37319
37320 for ac_func in wcslen
37321 do
37322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328 cat >conftest.$ac_ext <<_ACEOF
37329 /* confdefs.h. */
37330 _ACEOF
37331 cat confdefs.h >>conftest.$ac_ext
37332 cat >>conftest.$ac_ext <<_ACEOF
37333 /* end confdefs.h. */
37334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37336 #define $ac_func innocuous_$ac_func
37337
37338 /* System header to define __stub macros and hopefully few prototypes,
37339 which can conflict with char $ac_func (); below.
37340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37341 <limits.h> exists even on freestanding compilers. */
37342
37343 #ifdef __STDC__
37344 # include <limits.h>
37345 #else
37346 # include <assert.h>
37347 #endif
37348
37349 #undef $ac_func
37350
37351 /* Override any GCC internal prototype to avoid an error.
37352 Use char because int might match the return type of a GCC
37353 builtin and then its argument prototype would still apply. */
37354 #ifdef __cplusplus
37355 extern "C"
37356 #endif
37357 char $ac_func ();
37358 /* The GNU C library defines this for functions which it implements
37359 to always fail with ENOSYS. Some functions are actually named
37360 something starting with __ and the normal name is an alias. */
37361 #if defined __stub_$ac_func || defined __stub___$ac_func
37362 choke me
37363 #endif
37364
37365 int
37366 main ()
37367 {
37368 return $ac_func ();
37369 ;
37370 return 0;
37371 }
37372 _ACEOF
37373 rm -f conftest.$ac_objext conftest$ac_exeext
37374 if { (ac_try="$ac_link"
37375 case "(($ac_try" in
37376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37377 *) ac_try_echo=$ac_try;;
37378 esac
37379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37380 (eval "$ac_link") 2>conftest.er1
37381 ac_status=$?
37382 grep -v '^ *+' conftest.er1 >conftest.err
37383 rm -f conftest.er1
37384 cat conftest.err >&5
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); } && {
37387 test -z "$ac_c_werror_flag" ||
37388 test ! -s conftest.err
37389 } && test -s conftest$ac_exeext &&
37390 $as_test_x conftest$ac_exeext; then
37391 eval "$as_ac_var=yes"
37392 else
37393 echo "$as_me: failed program was:" >&5
37394 sed 's/^/| /' conftest.$ac_ext >&5
37395
37396 eval "$as_ac_var=no"
37397 fi
37398
37399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37400 conftest$ac_exeext conftest.$ac_ext
37401 fi
37402 ac_res=`eval echo '${'$as_ac_var'}'`
37403 { echo "$as_me:$LINENO: result: $ac_res" >&5
37404 echo "${ECHO_T}$ac_res" >&6; }
37405 if test `eval echo '${'$as_ac_var'}'` = yes; then
37406 cat >>confdefs.h <<_ACEOF
37407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37408 _ACEOF
37409 WCSLEN_FOUND=1
37410 fi
37411 done
37412
37413
37414 if test "$WCSLEN_FOUND" = 0; then
37415 if test "$TOOLKIT" = "MSW"; then
37416 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37417 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37418 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421 ac_check_lib_save_LIBS=$LIBS
37422 LIBS="-lmsvcrt $LIBS"
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429
37430 /* Override any GCC internal prototype to avoid an error.
37431 Use char because int might match the return type of a GCC
37432 builtin and then its argument prototype would still apply. */
37433 #ifdef __cplusplus
37434 extern "C"
37435 #endif
37436 char wcslen ();
37437 int
37438 main ()
37439 {
37440 return wcslen ();
37441 ;
37442 return 0;
37443 }
37444 _ACEOF
37445 rm -f conftest.$ac_objext conftest$ac_exeext
37446 if { (ac_try="$ac_link"
37447 case "(($ac_try" in
37448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37449 *) ac_try_echo=$ac_try;;
37450 esac
37451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37452 (eval "$ac_link") 2>conftest.er1
37453 ac_status=$?
37454 grep -v '^ *+' conftest.er1 >conftest.err
37455 rm -f conftest.er1
37456 cat conftest.err >&5
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); } && {
37459 test -z "$ac_c_werror_flag" ||
37460 test ! -s conftest.err
37461 } && test -s conftest$ac_exeext &&
37462 $as_test_x conftest$ac_exeext; then
37463 ac_cv_lib_msvcrt_wcslen=yes
37464 else
37465 echo "$as_me: failed program was:" >&5
37466 sed 's/^/| /' conftest.$ac_ext >&5
37467
37468 ac_cv_lib_msvcrt_wcslen=no
37469 fi
37470
37471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37472 conftest$ac_exeext conftest.$ac_ext
37473 LIBS=$ac_check_lib_save_LIBS
37474 fi
37475 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37476 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37477 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37478 WCHAR_OK=1
37479 fi
37480
37481 else
37482 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37483 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37484 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37485 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 else
37487 ac_check_lib_save_LIBS=$LIBS
37488 LIBS="-lw $LIBS"
37489 cat >conftest.$ac_ext <<_ACEOF
37490 /* confdefs.h. */
37491 _ACEOF
37492 cat confdefs.h >>conftest.$ac_ext
37493 cat >>conftest.$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495
37496 /* Override any GCC internal prototype to avoid an error.
37497 Use char because int might match the return type of a GCC
37498 builtin and then its argument prototype would still apply. */
37499 #ifdef __cplusplus
37500 extern "C"
37501 #endif
37502 char wcslen ();
37503 int
37504 main ()
37505 {
37506 return wcslen ();
37507 ;
37508 return 0;
37509 }
37510 _ACEOF
37511 rm -f conftest.$ac_objext conftest$ac_exeext
37512 if { (ac_try="$ac_link"
37513 case "(($ac_try" in
37514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37515 *) ac_try_echo=$ac_try;;
37516 esac
37517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37518 (eval "$ac_link") 2>conftest.er1
37519 ac_status=$?
37520 grep -v '^ *+' conftest.er1 >conftest.err
37521 rm -f conftest.er1
37522 cat conftest.err >&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } && {
37525 test -z "$ac_c_werror_flag" ||
37526 test ! -s conftest.err
37527 } && test -s conftest$ac_exeext &&
37528 $as_test_x conftest$ac_exeext; then
37529 ac_cv_lib_w_wcslen=yes
37530 else
37531 echo "$as_me: failed program was:" >&5
37532 sed 's/^/| /' conftest.$ac_ext >&5
37533
37534 ac_cv_lib_w_wcslen=no
37535 fi
37536
37537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37538 conftest$ac_exeext conftest.$ac_ext
37539 LIBS=$ac_check_lib_save_LIBS
37540 fi
37541 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37542 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37543 if test $ac_cv_lib_w_wcslen = yes; then
37544
37545 WCHAR_LINK=" -lw"
37546 WCSLEN_FOUND=1
37547
37548 fi
37549
37550 fi
37551 fi
37552
37553 if test "$WCSLEN_FOUND" = 1; then
37554 cat >>confdefs.h <<\_ACEOF
37555 #define HAVE_WCSLEN 1
37556 _ACEOF
37557
37558 fi
37559
37560
37561 for ac_func in wcsdup
37562 do
37563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37567 echo $ECHO_N "(cached) $ECHO_C" >&6
37568 else
37569 cat >conftest.$ac_ext <<_ACEOF
37570 /* confdefs.h. */
37571 _ACEOF
37572 cat confdefs.h >>conftest.$ac_ext
37573 cat >>conftest.$ac_ext <<_ACEOF
37574 /* end confdefs.h. */
37575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37577 #define $ac_func innocuous_$ac_func
37578
37579 /* System header to define __stub macros and hopefully few prototypes,
37580 which can conflict with char $ac_func (); below.
37581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37582 <limits.h> exists even on freestanding compilers. */
37583
37584 #ifdef __STDC__
37585 # include <limits.h>
37586 #else
37587 # include <assert.h>
37588 #endif
37589
37590 #undef $ac_func
37591
37592 /* Override any GCC internal prototype to avoid an error.
37593 Use char because int might match the return type of a GCC
37594 builtin and then its argument prototype would still apply. */
37595 #ifdef __cplusplus
37596 extern "C"
37597 #endif
37598 char $ac_func ();
37599 /* The GNU C library defines this for functions which it implements
37600 to always fail with ENOSYS. Some functions are actually named
37601 something starting with __ and the normal name is an alias. */
37602 #if defined __stub_$ac_func || defined __stub___$ac_func
37603 choke me
37604 #endif
37605
37606 int
37607 main ()
37608 {
37609 return $ac_func ();
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext conftest$ac_exeext
37615 if { (ac_try="$ac_link"
37616 case "(($ac_try" in
37617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37618 *) ac_try_echo=$ac_try;;
37619 esac
37620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37621 (eval "$ac_link") 2>conftest.er1
37622 ac_status=$?
37623 grep -v '^ *+' conftest.er1 >conftest.err
37624 rm -f conftest.er1
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_c_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest$ac_exeext &&
37631 $as_test_x conftest$ac_exeext; then
37632 eval "$as_ac_var=yes"
37633 else
37634 echo "$as_me: failed program was:" >&5
37635 sed 's/^/| /' conftest.$ac_ext >&5
37636
37637 eval "$as_ac_var=no"
37638 fi
37639
37640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37641 conftest$ac_exeext conftest.$ac_ext
37642 fi
37643 ac_res=`eval echo '${'$as_ac_var'}'`
37644 { echo "$as_me:$LINENO: result: $ac_res" >&5
37645 echo "${ECHO_T}$ac_res" >&6; }
37646 if test `eval echo '${'$as_ac_var'}'` = yes; then
37647 cat >>confdefs.h <<_ACEOF
37648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37649 _ACEOF
37650
37651 fi
37652 done
37653
37654
37655 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37656 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37657 fi
37658
37659 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37660 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37661 if test "${ac_cv_type_mbstate_t+set}" = set; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 else
37664 cat >conftest.$ac_ext <<_ACEOF
37665 /* confdefs.h. */
37666 _ACEOF
37667 cat confdefs.h >>conftest.$ac_ext
37668 cat >>conftest.$ac_ext <<_ACEOF
37669 /* end confdefs.h. */
37670 #include <wchar.h>
37671
37672 typedef mbstate_t ac__type_new_;
37673 int
37674 main ()
37675 {
37676 if ((ac__type_new_ *) 0)
37677 return 0;
37678 if (sizeof (ac__type_new_))
37679 return 0;
37680 ;
37681 return 0;
37682 }
37683 _ACEOF
37684 rm -f conftest.$ac_objext
37685 if { (ac_try="$ac_compile"
37686 case "(($ac_try" in
37687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37688 *) ac_try_echo=$ac_try;;
37689 esac
37690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37691 (eval "$ac_compile") 2>conftest.er1
37692 ac_status=$?
37693 grep -v '^ *+' conftest.er1 >conftest.err
37694 rm -f conftest.er1
37695 cat conftest.err >&5
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); } && {
37698 test -z "$ac_c_werror_flag" ||
37699 test ! -s conftest.err
37700 } && test -s conftest.$ac_objext; then
37701 ac_cv_type_mbstate_t=yes
37702 else
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37705
37706 ac_cv_type_mbstate_t=no
37707 fi
37708
37709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37710 fi
37711 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37712 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37713 if test $ac_cv_type_mbstate_t = yes; then
37714
37715 cat >>confdefs.h <<_ACEOF
37716 #define HAVE_MBSTATE_T 1
37717 _ACEOF
37718
37719
37720 for ac_func in wcsrtombs
37721 do
37722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37723 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37725 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 else
37728 cat >conftest.$ac_ext <<_ACEOF
37729 /* confdefs.h. */
37730 _ACEOF
37731 cat confdefs.h >>conftest.$ac_ext
37732 cat >>conftest.$ac_ext <<_ACEOF
37733 /* end confdefs.h. */
37734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37736 #define $ac_func innocuous_$ac_func
37737
37738 /* System header to define __stub macros and hopefully few prototypes,
37739 which can conflict with char $ac_func (); below.
37740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37741 <limits.h> exists even on freestanding compilers. */
37742
37743 #ifdef __STDC__
37744 # include <limits.h>
37745 #else
37746 # include <assert.h>
37747 #endif
37748
37749 #undef $ac_func
37750
37751 /* Override any GCC internal prototype to avoid an error.
37752 Use char because int might match the return type of a GCC
37753 builtin and then its argument prototype would still apply. */
37754 #ifdef __cplusplus
37755 extern "C"
37756 #endif
37757 char $ac_func ();
37758 /* The GNU C library defines this for functions which it implements
37759 to always fail with ENOSYS. Some functions are actually named
37760 something starting with __ and the normal name is an alias. */
37761 #if defined __stub_$ac_func || defined __stub___$ac_func
37762 choke me
37763 #endif
37764
37765 int
37766 main ()
37767 {
37768 return $ac_func ();
37769 ;
37770 return 0;
37771 }
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (ac_try="$ac_link"
37775 case "(($ac_try" in
37776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37777 *) ac_try_echo=$ac_try;;
37778 esac
37779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37780 (eval "$ac_link") 2>conftest.er1
37781 ac_status=$?
37782 grep -v '^ *+' conftest.er1 >conftest.err
37783 rm -f conftest.er1
37784 cat conftest.err >&5
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); } && {
37787 test -z "$ac_c_werror_flag" ||
37788 test ! -s conftest.err
37789 } && test -s conftest$ac_exeext &&
37790 $as_test_x conftest$ac_exeext; then
37791 eval "$as_ac_var=yes"
37792 else
37793 echo "$as_me: failed program was:" >&5
37794 sed 's/^/| /' conftest.$ac_ext >&5
37795
37796 eval "$as_ac_var=no"
37797 fi
37798
37799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37800 conftest$ac_exeext conftest.$ac_ext
37801 fi
37802 ac_res=`eval echo '${'$as_ac_var'}'`
37803 { echo "$as_me:$LINENO: result: $ac_res" >&5
37804 echo "${ECHO_T}$ac_res" >&6; }
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37808 _ACEOF
37809
37810 fi
37811 done
37812
37813 fi
37814
37815 else
37816 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37817 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37818 fi
37819
37820
37821
37822 for ac_func in snprintf vsnprintf
37823 do
37824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 else
37830 cat >conftest.$ac_ext <<_ACEOF
37831 /* confdefs.h. */
37832 _ACEOF
37833 cat confdefs.h >>conftest.$ac_ext
37834 cat >>conftest.$ac_ext <<_ACEOF
37835 /* end confdefs.h. */
37836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37838 #define $ac_func innocuous_$ac_func
37839
37840 /* System header to define __stub macros and hopefully few prototypes,
37841 which can conflict with char $ac_func (); below.
37842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37843 <limits.h> exists even on freestanding compilers. */
37844
37845 #ifdef __STDC__
37846 # include <limits.h>
37847 #else
37848 # include <assert.h>
37849 #endif
37850
37851 #undef $ac_func
37852
37853 /* Override any GCC internal prototype to avoid an error.
37854 Use char because int might match the return type of a GCC
37855 builtin and then its argument prototype would still apply. */
37856 #ifdef __cplusplus
37857 extern "C"
37858 #endif
37859 char $ac_func ();
37860 /* The GNU C library defines this for functions which it implements
37861 to always fail with ENOSYS. Some functions are actually named
37862 something starting with __ and the normal name is an alias. */
37863 #if defined __stub_$ac_func || defined __stub___$ac_func
37864 choke me
37865 #endif
37866
37867 int
37868 main ()
37869 {
37870 return $ac_func ();
37871 ;
37872 return 0;
37873 }
37874 _ACEOF
37875 rm -f conftest.$ac_objext conftest$ac_exeext
37876 if { (ac_try="$ac_link"
37877 case "(($ac_try" in
37878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37879 *) ac_try_echo=$ac_try;;
37880 esac
37881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37882 (eval "$ac_link") 2>conftest.er1
37883 ac_status=$?
37884 grep -v '^ *+' conftest.er1 >conftest.err
37885 rm -f conftest.er1
37886 cat conftest.err >&5
37887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37888 (exit $ac_status); } && {
37889 test -z "$ac_c_werror_flag" ||
37890 test ! -s conftest.err
37891 } && test -s conftest$ac_exeext &&
37892 $as_test_x conftest$ac_exeext; then
37893 eval "$as_ac_var=yes"
37894 else
37895 echo "$as_me: failed program was:" >&5
37896 sed 's/^/| /' conftest.$ac_ext >&5
37897
37898 eval "$as_ac_var=no"
37899 fi
37900
37901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37902 conftest$ac_exeext conftest.$ac_ext
37903 fi
37904 ac_res=`eval echo '${'$as_ac_var'}'`
37905 { echo "$as_me:$LINENO: result: $ac_res" >&5
37906 echo "${ECHO_T}$ac_res" >&6; }
37907 if test `eval echo '${'$as_ac_var'}'` = yes; then
37908 cat >>confdefs.h <<_ACEOF
37909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37910 _ACEOF
37911
37912 fi
37913 done
37914
37915
37916 if test "$ac_cv_func_vsnprintf" = "yes"; then
37917 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37918 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37919 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37920 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 else
37922
37923 cat >conftest.$ac_ext <<_ACEOF
37924 /* confdefs.h. */
37925 _ACEOF
37926 cat confdefs.h >>conftest.$ac_ext
37927 cat >>conftest.$ac_ext <<_ACEOF
37928 /* end confdefs.h. */
37929
37930 #include <stdio.h>
37931 #include <stdarg.h>
37932 #ifdef __MSL__
37933 #if __MSL__ >= 0x6000
37934 namespace std {}
37935 using namespace std;
37936 #endif
37937 #endif
37938
37939 int
37940 main ()
37941 {
37942
37943 char *buf;
37944 va_list ap;
37945 vsnprintf(buf, 10u, "%s", ap);
37946
37947 ;
37948 return 0;
37949 }
37950 _ACEOF
37951 rm -f conftest.$ac_objext
37952 if { (ac_try="$ac_compile"
37953 case "(($ac_try" in
37954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37955 *) ac_try_echo=$ac_try;;
37956 esac
37957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37958 (eval "$ac_compile") 2>conftest.er1
37959 ac_status=$?
37960 grep -v '^ *+' conftest.er1 >conftest.err
37961 rm -f conftest.er1
37962 cat conftest.err >&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); } && {
37965 test -z "$ac_c_werror_flag" ||
37966 test ! -s conftest.err
37967 } && test -s conftest.$ac_objext; then
37968 wx_cv_func_vsnprintf_decl=yes
37969 else
37970 echo "$as_me: failed program was:" >&5
37971 sed 's/^/| /' conftest.$ac_ext >&5
37972
37973 wx_cv_func_vsnprintf_decl=no
37974
37975 fi
37976
37977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37978
37979
37980 fi
37981 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37982 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37983
37984 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37985 cat >>confdefs.h <<\_ACEOF
37986 #define HAVE_VSNPRINTF_DECL 1
37987 _ACEOF
37988
37989
37990 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37991 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37992 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37993 echo $ECHO_N "(cached) $ECHO_C" >&6
37994 else
37995
37996 cat >conftest.$ac_ext <<_ACEOF
37997 /* confdefs.h. */
37998 _ACEOF
37999 cat confdefs.h >>conftest.$ac_ext
38000 cat >>conftest.$ac_ext <<_ACEOF
38001 /* end confdefs.h. */
38002
38003 #include <stdio.h>
38004 #include <stdarg.h>
38005 #ifdef __MSL__
38006 #if __MSL__ >= 0x6000
38007 namespace std {}
38008 using namespace std;
38009 #endif
38010 #endif
38011
38012 int
38013 main ()
38014 {
38015
38016 char *buf;
38017 va_list ap;
38018 const char *fmt = "%s";
38019 vsnprintf(buf, 10u, fmt, ap);
38020
38021 ;
38022 return 0;
38023 }
38024 _ACEOF
38025 rm -f conftest.$ac_objext
38026 if { (ac_try="$ac_compile"
38027 case "(($ac_try" in
38028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38029 *) ac_try_echo=$ac_try;;
38030 esac
38031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38032 (eval "$ac_compile") 2>conftest.er1
38033 ac_status=$?
38034 grep -v '^ *+' conftest.er1 >conftest.err
38035 rm -f conftest.er1
38036 cat conftest.err >&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } && {
38039 test -z "$ac_c_werror_flag" ||
38040 test ! -s conftest.err
38041 } && test -s conftest.$ac_objext; then
38042 wx_cv_func_broken_vsnprintf_decl=no
38043 else
38044 echo "$as_me: failed program was:" >&5
38045 sed 's/^/| /' conftest.$ac_ext >&5
38046
38047 wx_cv_func_broken_vsnprintf_decl=yes
38048
38049 fi
38050
38051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38052
38053
38054 fi
38055 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38056 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38057
38058 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38059 cat >>confdefs.h <<\_ACEOF
38060 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38061 _ACEOF
38062
38063 fi
38064 fi
38065 fi
38066
38067 if test "$ac_cv_func_snprintf" = "yes"; then
38068 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38069 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38070 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 else
38073
38074 cat >conftest.$ac_ext <<_ACEOF
38075 /* confdefs.h. */
38076 _ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38080
38081 #include <stdio.h>
38082 #include <stdarg.h>
38083 #ifdef __MSL__
38084 #if __MSL__ >= 0x6000
38085 namespace std {}
38086 using namespace std;
38087 #endif
38088 #endif
38089
38090 int
38091 main ()
38092 {
38093
38094 char *buf;
38095 snprintf(buf, 10u, "%s", "wx");
38096
38097 ;
38098 return 0;
38099 }
38100 _ACEOF
38101 rm -f conftest.$ac_objext
38102 if { (ac_try="$ac_compile"
38103 case "(($ac_try" in
38104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38105 *) ac_try_echo=$ac_try;;
38106 esac
38107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38108 (eval "$ac_compile") 2>conftest.er1
38109 ac_status=$?
38110 grep -v '^ *+' conftest.er1 >conftest.err
38111 rm -f conftest.er1
38112 cat conftest.err >&5
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); } && {
38115 test -z "$ac_c_werror_flag" ||
38116 test ! -s conftest.err
38117 } && test -s conftest.$ac_objext; then
38118 wx_cv_func_snprintf_decl=yes
38119 else
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38122
38123 wx_cv_func_snprintf_decl=no
38124
38125 fi
38126
38127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38128
38129
38130 fi
38131 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38132 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38133
38134 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38135 cat >>confdefs.h <<\_ACEOF
38136 #define HAVE_SNPRINTF_DECL 1
38137 _ACEOF
38138
38139
38140 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38141 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38142 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38143 echo $ECHO_N "(cached) $ECHO_C" >&6
38144 else
38145
38146 cat >conftest.$ac_ext <<_ACEOF
38147 /* confdefs.h. */
38148 _ACEOF
38149 cat confdefs.h >>conftest.$ac_ext
38150 cat >>conftest.$ac_ext <<_ACEOF
38151 /* end confdefs.h. */
38152
38153 #include <stdio.h>
38154 #include <stdarg.h>
38155 #ifdef __MSL__
38156 #if __MSL__ >= 0x6000
38157 namespace std {}
38158 using namespace std;
38159 #endif
38160 #endif
38161
38162 int
38163 main ()
38164 {
38165
38166 char *buf;
38167 const char *fmt = "%s";
38168 snprintf(buf, 10u, fmt, "wx");
38169
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 rm -f conftest.$ac_objext
38175 if { (ac_try="$ac_compile"
38176 case "(($ac_try" in
38177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38178 *) ac_try_echo=$ac_try;;
38179 esac
38180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38181 (eval "$ac_compile") 2>conftest.er1
38182 ac_status=$?
38183 grep -v '^ *+' conftest.er1 >conftest.err
38184 rm -f conftest.er1
38185 cat conftest.err >&5
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); } && {
38188 test -z "$ac_c_werror_flag" ||
38189 test ! -s conftest.err
38190 } && test -s conftest.$ac_objext; then
38191 wx_cv_func_broken_snprintf_decl=no
38192 else
38193 echo "$as_me: failed program was:" >&5
38194 sed 's/^/| /' conftest.$ac_ext >&5
38195
38196 wx_cv_func_broken_snprintf_decl=yes
38197
38198 fi
38199
38200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38201
38202
38203 fi
38204 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38205 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38206
38207 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38208 cat >>confdefs.h <<\_ACEOF
38209 #define HAVE_BROKEN_SNPRINTF_DECL 1
38210 _ACEOF
38211
38212 fi
38213 fi
38214
38215 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38216
38217 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38218 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38219 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 else
38222
38223 if test "$cross_compiling" = yes; then
38224
38225 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38226 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38227 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38228 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38229 wx_cv_func_snprintf_pos_params=no
38230
38231
38232 else
38233 cat >conftest.$ac_ext <<_ACEOF
38234 /* confdefs.h. */
38235 _ACEOF
38236 cat confdefs.h >>conftest.$ac_ext
38237 cat >>conftest.$ac_ext <<_ACEOF
38238 /* end confdefs.h. */
38239
38240 #include <stdio.h>
38241
38242 int main (void)
38243 {
38244 char buffer[128];
38245 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38246 if (strcmp ("2 3 1", buffer) == 0)
38247 exit (0);
38248 exit (1);
38249 }
38250
38251 _ACEOF
38252 rm -f conftest$ac_exeext
38253 if { (ac_try="$ac_link"
38254 case "(($ac_try" in
38255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38256 *) ac_try_echo=$ac_try;;
38257 esac
38258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38259 (eval "$ac_link") 2>&5
38260 ac_status=$?
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38263 { (case "(($ac_try" in
38264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38265 *) ac_try_echo=$ac_try;;
38266 esac
38267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38268 (eval "$ac_try") 2>&5
38269 ac_status=$?
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); }; }; then
38272 wx_cv_func_snprintf_pos_params=no
38273 else
38274 echo "$as_me: program exited with status $ac_status" >&5
38275 echo "$as_me: failed program was:" >&5
38276 sed 's/^/| /' conftest.$ac_ext >&5
38277
38278 ( exit $ac_status )
38279 wx_cv_func_snprintf_pos_params=yes
38280 fi
38281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38282 fi
38283
38284
38285
38286
38287 fi
38288 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38289 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38290
38291 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38292 cat >>confdefs.h <<\_ACEOF
38293 #define HAVE_UNIX98_PRINTF 1
38294 _ACEOF
38295
38296 fi
38297 fi
38298 fi
38299
38300 if test "$wxUSE_UNICODE" = yes; then
38301
38302
38303 for ac_func in swprintf
38304 do
38305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38308 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38309 echo $ECHO_N "(cached) $ECHO_C" >&6
38310 else
38311 cat >conftest.$ac_ext <<_ACEOF
38312 /* confdefs.h. */
38313 _ACEOF
38314 cat confdefs.h >>conftest.$ac_ext
38315 cat >>conftest.$ac_ext <<_ACEOF
38316 /* end confdefs.h. */
38317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38319 #define $ac_func innocuous_$ac_func
38320
38321 /* System header to define __stub macros and hopefully few prototypes,
38322 which can conflict with char $ac_func (); below.
38323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38324 <limits.h> exists even on freestanding compilers. */
38325
38326 #ifdef __STDC__
38327 # include <limits.h>
38328 #else
38329 # include <assert.h>
38330 #endif
38331
38332 #undef $ac_func
38333
38334 /* Override any GCC internal prototype to avoid an error.
38335 Use char because int might match the return type of a GCC
38336 builtin and then its argument prototype would still apply. */
38337 #ifdef __cplusplus
38338 extern "C"
38339 #endif
38340 char $ac_func ();
38341 /* The GNU C library defines this for functions which it implements
38342 to always fail with ENOSYS. Some functions are actually named
38343 something starting with __ and the normal name is an alias. */
38344 #if defined __stub_$ac_func || defined __stub___$ac_func
38345 choke me
38346 #endif
38347
38348 int
38349 main ()
38350 {
38351 return $ac_func ();
38352 ;
38353 return 0;
38354 }
38355 _ACEOF
38356 rm -f conftest.$ac_objext conftest$ac_exeext
38357 if { (ac_try="$ac_link"
38358 case "(($ac_try" in
38359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38360 *) ac_try_echo=$ac_try;;
38361 esac
38362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38363 (eval "$ac_link") 2>conftest.er1
38364 ac_status=$?
38365 grep -v '^ *+' conftest.er1 >conftest.err
38366 rm -f conftest.er1
38367 cat conftest.err >&5
38368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369 (exit $ac_status); } && {
38370 test -z "$ac_c_werror_flag" ||
38371 test ! -s conftest.err
38372 } && test -s conftest$ac_exeext &&
38373 $as_test_x conftest$ac_exeext; then
38374 eval "$as_ac_var=yes"
38375 else
38376 echo "$as_me: failed program was:" >&5
38377 sed 's/^/| /' conftest.$ac_ext >&5
38378
38379 eval "$as_ac_var=no"
38380 fi
38381
38382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38383 conftest$ac_exeext conftest.$ac_ext
38384 fi
38385 ac_res=`eval echo '${'$as_ac_var'}'`
38386 { echo "$as_me:$LINENO: result: $ac_res" >&5
38387 echo "${ECHO_T}$ac_res" >&6; }
38388 if test `eval echo '${'$as_ac_var'}'` = yes; then
38389 cat >>confdefs.h <<_ACEOF
38390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38391 _ACEOF
38392
38393 fi
38394 done
38395
38396
38397 if test "$ac_cv_func_swprintf" = "yes"; then
38398 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38399 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38400 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38401 echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403
38404 cat >conftest.$ac_ext <<_ACEOF
38405 /* confdefs.h. */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h. */
38410
38411 #include <stdio.h>
38412 #include <stdarg.h>
38413 #include <wchar.h>
38414
38415 int
38416 main ()
38417 {
38418
38419 wchar_t *buf;
38420 const wchar_t *fmt = L"test";
38421 swprintf(buf, 10u, fmt);
38422
38423 ;
38424 return 0;
38425 }
38426 _ACEOF
38427 rm -f conftest.$ac_objext
38428 if { (ac_try="$ac_compile"
38429 case "(($ac_try" in
38430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38431 *) ac_try_echo=$ac_try;;
38432 esac
38433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38434 (eval "$ac_compile") 2>conftest.er1
38435 ac_status=$?
38436 grep -v '^ *+' conftest.er1 >conftest.err
38437 rm -f conftest.er1
38438 cat conftest.err >&5
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); } && {
38441 test -z "$ac_c_werror_flag" ||
38442 test ! -s conftest.err
38443 } && test -s conftest.$ac_objext; then
38444 wx_cv_func_broken_swprintf_decl=no
38445 else
38446 echo "$as_me: failed program was:" >&5
38447 sed 's/^/| /' conftest.$ac_ext >&5
38448
38449 wx_cv_func_broken_swprintf_decl=yes
38450
38451 fi
38452
38453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38454
38455
38456 fi
38457 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38458 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38459
38460 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38461 cat >>confdefs.h <<\_ACEOF
38462 #define HAVE_BROKEN_SWPRINTF_DECL 1
38463 _ACEOF
38464
38465 fi
38466 fi
38467
38468 wchar_headers="#include <stdio.h>
38469 #include <wchar.h>"
38470 case "${host}" in
38471 *-*-solaris2* )
38472
38473 for ac_header in widec.h
38474 do
38475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 else
38481 cat >conftest.$ac_ext <<_ACEOF
38482 /* confdefs.h. */
38483 _ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38487 $ac_includes_default
38488
38489 #include <$ac_header>
38490 _ACEOF
38491 rm -f conftest.$ac_objext
38492 if { (ac_try="$ac_compile"
38493 case "(($ac_try" in
38494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38495 *) ac_try_echo=$ac_try;;
38496 esac
38497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38498 (eval "$ac_compile") 2>conftest.er1
38499 ac_status=$?
38500 grep -v '^ *+' conftest.er1 >conftest.err
38501 rm -f conftest.er1
38502 cat conftest.err >&5
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); } && {
38505 test -z "$ac_c_werror_flag" ||
38506 test ! -s conftest.err
38507 } && test -s conftest.$ac_objext; then
38508 eval "$as_ac_Header=yes"
38509 else
38510 echo "$as_me: failed program was:" >&5
38511 sed 's/^/| /' conftest.$ac_ext >&5
38512
38513 eval "$as_ac_Header=no"
38514 fi
38515
38516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38517 fi
38518 ac_res=`eval echo '${'$as_ac_Header'}'`
38519 { echo "$as_me:$LINENO: result: $ac_res" >&5
38520 echo "${ECHO_T}$ac_res" >&6; }
38521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38522 cat >>confdefs.h <<_ACEOF
38523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38524 _ACEOF
38525
38526 fi
38527
38528 done
38529
38530 if test "$ac_cv_header_widec_h" = "yes"; then
38531 wchar_headers="$wchar_headers
38532 #include <widec.h>"
38533 fi
38534 esac
38535
38536
38537 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38538 do
38539 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38540 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38541 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544
38545 cat >conftest.$ac_ext <<_ACEOF
38546
38547 /* confdefs.h. */
38548 _ACEOF
38549 cat confdefs.h >>conftest.$ac_ext
38550 cat >>conftest.$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38552
38553 $wchar_headers
38554 $ac_includes_default
38555
38556 int
38557 main ()
38558 {
38559
38560 #ifndef $wx_func
38561 &$wx_func;
38562 #endif
38563
38564
38565 ;
38566 return 0;
38567 }
38568
38569 _ACEOF
38570 rm -f conftest.$ac_objext conftest$ac_exeext
38571 if { (ac_try="$ac_link"
38572 case "(($ac_try" in
38573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38575 esac
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_link") 2>conftest.er1
38578 ac_status=$?
38579 grep -v '^ *+' conftest.er1 >conftest.err
38580 rm -f conftest.er1
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } && {
38584 test -z "$ac_c_werror_flag" ||
38585 test ! -s conftest.err
38586 } && test -s conftest$ac_exeext &&
38587 $as_test_x conftest$ac_exeext; then
38588 eval wx_cv_func_$wx_func=yes
38589 else
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38592
38593 eval wx_cv_func_$wx_func=no
38594 fi
38595
38596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38597 conftest$ac_exeext conftest.$ac_ext
38598
38599 fi
38600 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38601 { echo "$as_me:$LINENO: result: $ac_res" >&5
38602 echo "${ECHO_T}$ac_res" >&6; }
38603
38604 if eval test \$wx_cv_func_$wx_func = yes
38605 then
38606 cat >>confdefs.h <<_ACEOF
38607 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38608 _ACEOF
38609
38610
38611 else
38612 :
38613
38614 fi
38615 done
38616
38617
38618 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38619 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38620 cat >conftest.$ac_ext <<_ACEOF
38621 /* confdefs.h. */
38622 _ACEOF
38623 cat confdefs.h >>conftest.$ac_ext
38624 cat >>conftest.$ac_ext <<_ACEOF
38625 /* end confdefs.h. */
38626 #include <wchar.h>
38627 int
38628 main ()
38629 {
38630 &_vsnwprintf;
38631 ;
38632 return 0;
38633 }
38634 _ACEOF
38635 rm -f conftest.$ac_objext
38636 if { (ac_try="$ac_compile"
38637 case "(($ac_try" in
38638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38639 *) ac_try_echo=$ac_try;;
38640 esac
38641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38642 (eval "$ac_compile") 2>conftest.er1
38643 ac_status=$?
38644 grep -v '^ *+' conftest.er1 >conftest.err
38645 rm -f conftest.er1
38646 cat conftest.err >&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); } && {
38649 test -z "$ac_c_werror_flag" ||
38650 test ! -s conftest.err
38651 } && test -s conftest.$ac_objext; then
38652 { echo "$as_me:$LINENO: result: yes" >&5
38653 echo "${ECHO_T}yes" >&6; }
38654 cat >>confdefs.h <<\_ACEOF
38655 #define HAVE__VSNWPRINTF 1
38656 _ACEOF
38657
38658 else
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38661
38662 { echo "$as_me:$LINENO: result: no" >&5
38663 echo "${ECHO_T}no" >&6; }
38664 fi
38665
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38667 fi
38668
38669 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38670
38671 for wx_func in fnmatch
38672 do
38673 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38674 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38675 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38676 echo $ECHO_N "(cached) $ECHO_C" >&6
38677 else
38678
38679 cat >conftest.$ac_ext <<_ACEOF
38680
38681 /* confdefs.h. */
38682 _ACEOF
38683 cat confdefs.h >>conftest.$ac_ext
38684 cat >>conftest.$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38686
38687 #include <fnmatch.h>
38688 $ac_includes_default
38689
38690 int
38691 main ()
38692 {
38693
38694 #ifndef $wx_func
38695 &$wx_func;
38696 #endif
38697
38698
38699 ;
38700 return 0;
38701 }
38702
38703 _ACEOF
38704 rm -f conftest.$ac_objext conftest$ac_exeext
38705 if { (ac_try="$ac_link"
38706 case "(($ac_try" in
38707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38708 *) ac_try_echo=$ac_try;;
38709 esac
38710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38711 (eval "$ac_link") 2>conftest.er1
38712 ac_status=$?
38713 grep -v '^ *+' conftest.er1 >conftest.err
38714 rm -f conftest.er1
38715 cat conftest.err >&5
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); } && {
38718 test -z "$ac_c_werror_flag" ||
38719 test ! -s conftest.err
38720 } && test -s conftest$ac_exeext &&
38721 $as_test_x conftest$ac_exeext; then
38722 eval wx_cv_func_$wx_func=yes
38723 else
38724 echo "$as_me: failed program was:" >&5
38725 sed 's/^/| /' conftest.$ac_ext >&5
38726
38727 eval wx_cv_func_$wx_func=no
38728 fi
38729
38730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38731 conftest$ac_exeext conftest.$ac_ext
38732
38733 fi
38734 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38735 { echo "$as_me:$LINENO: result: $ac_res" >&5
38736 echo "${ECHO_T}$ac_res" >&6; }
38737
38738 if eval test \$wx_cv_func_$wx_func = yes
38739 then
38740 cat >>confdefs.h <<_ACEOF
38741 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38742 _ACEOF
38743
38744
38745 else
38746 :
38747
38748 fi
38749 done
38750
38751 fi
38752
38753 if test "$wxUSE_FILE" = "yes"; then
38754
38755 for wx_func in fsync
38756 do
38757 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38758 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38759 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762
38763 cat >conftest.$ac_ext <<_ACEOF
38764
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770
38771
38772 $ac_includes_default
38773
38774 int
38775 main ()
38776 {
38777
38778 #ifndef $wx_func
38779 &$wx_func;
38780 #endif
38781
38782
38783 ;
38784 return 0;
38785 }
38786
38787 _ACEOF
38788 rm -f conftest.$ac_objext conftest$ac_exeext
38789 if { (ac_try="$ac_link"
38790 case "(($ac_try" in
38791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38792 *) ac_try_echo=$ac_try;;
38793 esac
38794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38795 (eval "$ac_link") 2>conftest.er1
38796 ac_status=$?
38797 grep -v '^ *+' conftest.er1 >conftest.err
38798 rm -f conftest.er1
38799 cat conftest.err >&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } && {
38802 test -z "$ac_c_werror_flag" ||
38803 test ! -s conftest.err
38804 } && test -s conftest$ac_exeext &&
38805 $as_test_x conftest$ac_exeext; then
38806 eval wx_cv_func_$wx_func=yes
38807 else
38808 echo "$as_me: failed program was:" >&5
38809 sed 's/^/| /' conftest.$ac_ext >&5
38810
38811 eval wx_cv_func_$wx_func=no
38812 fi
38813
38814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38815 conftest$ac_exeext conftest.$ac_ext
38816
38817 fi
38818 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38819 { echo "$as_me:$LINENO: result: $ac_res" >&5
38820 echo "${ECHO_T}$ac_res" >&6; }
38821
38822 if eval test \$wx_cv_func_$wx_func = yes
38823 then
38824 cat >>confdefs.h <<_ACEOF
38825 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38826 _ACEOF
38827
38828
38829 else
38830 :
38831
38832 fi
38833 done
38834
38835 fi
38836
38837 ac_ext=cpp
38838 ac_cpp='$CXXCPP $CPPFLAGS'
38839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38842
38843
38844 for wx_func in round
38845 do
38846 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38847 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38848 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38849 echo $ECHO_N "(cached) $ECHO_C" >&6
38850 else
38851
38852 cat >conftest.$ac_ext <<_ACEOF
38853
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859
38860 #include <math.h>
38861 $ac_includes_default
38862
38863 int
38864 main ()
38865 {
38866
38867 #ifndef $wx_func
38868 &$wx_func;
38869 #endif
38870
38871
38872 ;
38873 return 0;
38874 }
38875
38876 _ACEOF
38877 rm -f conftest.$ac_objext conftest$ac_exeext
38878 if { (ac_try="$ac_link"
38879 case "(($ac_try" in
38880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38881 *) ac_try_echo=$ac_try;;
38882 esac
38883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38884 (eval "$ac_link") 2>conftest.er1
38885 ac_status=$?
38886 grep -v '^ *+' conftest.er1 >conftest.err
38887 rm -f conftest.er1
38888 cat conftest.err >&5
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); } && {
38891 test -z "$ac_cxx_werror_flag" ||
38892 test ! -s conftest.err
38893 } && test -s conftest$ac_exeext &&
38894 $as_test_x conftest$ac_exeext; then
38895 eval wx_cv_func_$wx_func=yes
38896 else
38897 echo "$as_me: failed program was:" >&5
38898 sed 's/^/| /' conftest.$ac_ext >&5
38899
38900 eval wx_cv_func_$wx_func=no
38901 fi
38902
38903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38904 conftest$ac_exeext conftest.$ac_ext
38905
38906 fi
38907 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38908 { echo "$as_me:$LINENO: result: $ac_res" >&5
38909 echo "${ECHO_T}$ac_res" >&6; }
38910
38911 if eval test \$wx_cv_func_$wx_func = yes
38912 then
38913 cat >>confdefs.h <<_ACEOF
38914 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38915 _ACEOF
38916
38917
38918 else
38919 :
38920
38921 fi
38922 done
38923
38924 ac_ext=c
38925 ac_cpp='$CPP $CPPFLAGS'
38926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38929
38930
38931 if test "$TOOLKIT" != "MSW"; then
38932
38933
38934
38935
38936
38937 # Check whether --with-libiconv-prefix was given.
38938 if test "${with_libiconv_prefix+set}" = set; then
38939 withval=$with_libiconv_prefix;
38940 for dir in `echo "$withval" | tr : ' '`; do
38941 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38942 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38943 done
38944
38945 fi
38946
38947
38948 { echo "$as_me:$LINENO: checking for iconv" >&5
38949 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38950 if test "${am_cv_func_iconv+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 else
38953
38954 am_cv_func_iconv="no, consider installing GNU libiconv"
38955 am_cv_lib_iconv=no
38956 cat >conftest.$ac_ext <<_ACEOF
38957 /* confdefs.h. */
38958 _ACEOF
38959 cat confdefs.h >>conftest.$ac_ext
38960 cat >>conftest.$ac_ext <<_ACEOF
38961 /* end confdefs.h. */
38962 #include <stdlib.h>
38963 #include <iconv.h>
38964 int
38965 main ()
38966 {
38967 iconv_t cd = iconv_open("","");
38968 iconv(cd,NULL,NULL,NULL,NULL);
38969 iconv_close(cd);
38970 ;
38971 return 0;
38972 }
38973 _ACEOF
38974 rm -f conftest.$ac_objext conftest$ac_exeext
38975 if { (ac_try="$ac_link"
38976 case "(($ac_try" in
38977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38978 *) ac_try_echo=$ac_try;;
38979 esac
38980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38981 (eval "$ac_link") 2>conftest.er1
38982 ac_status=$?
38983 grep -v '^ *+' conftest.er1 >conftest.err
38984 rm -f conftest.er1
38985 cat conftest.err >&5
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); } && {
38988 test -z "$ac_c_werror_flag" ||
38989 test ! -s conftest.err
38990 } && test -s conftest$ac_exeext &&
38991 $as_test_x conftest$ac_exeext; then
38992 am_cv_func_iconv=yes
38993 else
38994 echo "$as_me: failed program was:" >&5
38995 sed 's/^/| /' conftest.$ac_ext >&5
38996
38997
38998 fi
38999
39000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39001 conftest$ac_exeext conftest.$ac_ext
39002 if test "$am_cv_func_iconv" != yes; then
39003 am_save_LIBS="$LIBS"
39004 LIBS="$LIBS -liconv"
39005 cat >conftest.$ac_ext <<_ACEOF
39006 /* confdefs.h. */
39007 _ACEOF
39008 cat confdefs.h >>conftest.$ac_ext
39009 cat >>conftest.$ac_ext <<_ACEOF
39010 /* end confdefs.h. */
39011 #include <stdlib.h>
39012 #include <iconv.h>
39013 int
39014 main ()
39015 {
39016 iconv_t cd = iconv_open("","");
39017 iconv(cd,NULL,NULL,NULL,NULL);
39018 iconv_close(cd);
39019 ;
39020 return 0;
39021 }
39022 _ACEOF
39023 rm -f conftest.$ac_objext conftest$ac_exeext
39024 if { (ac_try="$ac_link"
39025 case "(($ac_try" in
39026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39027 *) ac_try_echo=$ac_try;;
39028 esac
39029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39030 (eval "$ac_link") 2>conftest.er1
39031 ac_status=$?
39032 grep -v '^ *+' conftest.er1 >conftest.err
39033 rm -f conftest.er1
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } && {
39037 test -z "$ac_c_werror_flag" ||
39038 test ! -s conftest.err
39039 } && test -s conftest$ac_exeext &&
39040 $as_test_x conftest$ac_exeext; then
39041 am_cv_lib_iconv=yes
39042 am_cv_func_iconv=yes
39043 else
39044 echo "$as_me: failed program was:" >&5
39045 sed 's/^/| /' conftest.$ac_ext >&5
39046
39047
39048 fi
39049
39050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39051 conftest$ac_exeext conftest.$ac_ext
39052 LIBS="$am_save_LIBS"
39053 fi
39054
39055 fi
39056 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39057 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39058 if test "$am_cv_func_iconv" = yes; then
39059
39060 cat >>confdefs.h <<\_ACEOF
39061 #define HAVE_ICONV 1
39062 _ACEOF
39063
39064 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39065 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39066 if test "${wx_cv_func_iconv_const+set}" = set; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 else
39069 cat >conftest.$ac_ext <<_ACEOF
39070 /* confdefs.h. */
39071 _ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075
39076 #include <stdlib.h>
39077 #include <iconv.h>
39078 extern
39079 #ifdef __cplusplus
39080 "C"
39081 #endif
39082 #if defined(__STDC__) || defined(__cplusplus)
39083 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39084 #else
39085 size_t iconv();
39086 #endif
39087
39088 int
39089 main ()
39090 {
39091
39092 ;
39093 return 0;
39094 }
39095 _ACEOF
39096 rm -f conftest.$ac_objext
39097 if { (ac_try="$ac_compile"
39098 case "(($ac_try" in
39099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39100 *) ac_try_echo=$ac_try;;
39101 esac
39102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39103 (eval "$ac_compile") 2>conftest.er1
39104 ac_status=$?
39105 grep -v '^ *+' conftest.er1 >conftest.err
39106 rm -f conftest.er1
39107 cat conftest.err >&5
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); } && {
39110 test -z "$ac_c_werror_flag" ||
39111 test ! -s conftest.err
39112 } && test -s conftest.$ac_objext; then
39113 wx_cv_func_iconv_const="no"
39114 else
39115 echo "$as_me: failed program was:" >&5
39116 sed 's/^/| /' conftest.$ac_ext >&5
39117
39118 wx_cv_func_iconv_const="yes"
39119
39120 fi
39121
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123
39124 fi
39125 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39126 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39127
39128 iconv_const=
39129 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39130 iconv_const="const"
39131 fi
39132
39133
39134 cat >>confdefs.h <<_ACEOF
39135 #define ICONV_CONST $iconv_const
39136 _ACEOF
39137
39138 fi
39139 LIBICONV=
39140 if test "$am_cv_lib_iconv" = yes; then
39141 LIBICONV="-liconv"
39142 fi
39143
39144
39145 LIBS="$LIBICONV $LIBS"
39146
39147 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39148
39149 for ac_func in sigaction
39150 do
39151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39155 echo $ECHO_N "(cached) $ECHO_C" >&6
39156 else
39157 cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h. */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h. */
39163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39165 #define $ac_func innocuous_$ac_func
39166
39167 /* System header to define __stub macros and hopefully few prototypes,
39168 which can conflict with char $ac_func (); below.
39169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39170 <limits.h> exists even on freestanding compilers. */
39171
39172 #ifdef __STDC__
39173 # include <limits.h>
39174 #else
39175 # include <assert.h>
39176 #endif
39177
39178 #undef $ac_func
39179
39180 /* Override any GCC internal prototype to avoid an error.
39181 Use char because int might match the return type of a GCC
39182 builtin and then its argument prototype would still apply. */
39183 #ifdef __cplusplus
39184 extern "C"
39185 #endif
39186 char $ac_func ();
39187 /* The GNU C library defines this for functions which it implements
39188 to always fail with ENOSYS. Some functions are actually named
39189 something starting with __ and the normal name is an alias. */
39190 #if defined __stub_$ac_func || defined __stub___$ac_func
39191 choke me
39192 #endif
39193
39194 int
39195 main ()
39196 {
39197 return $ac_func ();
39198 ;
39199 return 0;
39200 }
39201 _ACEOF
39202 rm -f conftest.$ac_objext conftest$ac_exeext
39203 if { (ac_try="$ac_link"
39204 case "(($ac_try" in
39205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39206 *) ac_try_echo=$ac_try;;
39207 esac
39208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39209 (eval "$ac_link") 2>conftest.er1
39210 ac_status=$?
39211 grep -v '^ *+' conftest.er1 >conftest.err
39212 rm -f conftest.er1
39213 cat conftest.err >&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } && {
39216 test -z "$ac_c_werror_flag" ||
39217 test ! -s conftest.err
39218 } && test -s conftest$ac_exeext &&
39219 $as_test_x conftest$ac_exeext; then
39220 eval "$as_ac_var=yes"
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39224
39225 eval "$as_ac_var=no"
39226 fi
39227
39228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39229 conftest$ac_exeext conftest.$ac_ext
39230 fi
39231 ac_res=`eval echo '${'$as_ac_var'}'`
39232 { echo "$as_me:$LINENO: result: $ac_res" >&5
39233 echo "${ECHO_T}$ac_res" >&6; }
39234 if test `eval echo '${'$as_ac_var'}'` = yes; then
39235 cat >>confdefs.h <<_ACEOF
39236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39237 _ACEOF
39238
39239 fi
39240 done
39241
39242
39243 if test "$ac_cv_func_sigaction" = "no"; then
39244 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39245 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39246 wxUSE_ON_FATAL_EXCEPTION=no
39247 fi
39248
39249 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39250 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39251 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39252 if test "${wx_cv_type_sa_handler+set}" = set; then
39253 echo $ECHO_N "(cached) $ECHO_C" >&6
39254 else
39255
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261
39262 cat >conftest.$ac_ext <<_ACEOF
39263 /* confdefs.h. */
39264 _ACEOF
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39268 #include <signal.h>
39269 int
39270 main ()
39271 {
39272
39273 extern void testSigHandler(int);
39274
39275 struct sigaction sa;
39276 sa.sa_handler = testSigHandler;
39277
39278 ;
39279 return 0;
39280 }
39281 _ACEOF
39282 rm -f conftest.$ac_objext
39283 if { (ac_try="$ac_compile"
39284 case "(($ac_try" in
39285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39286 *) ac_try_echo=$ac_try;;
39287 esac
39288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39289 (eval "$ac_compile") 2>conftest.er1
39290 ac_status=$?
39291 grep -v '^ *+' conftest.er1 >conftest.err
39292 rm -f conftest.er1
39293 cat conftest.err >&5
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); } && {
39296 test -z "$ac_cxx_werror_flag" ||
39297 test ! -s conftest.err
39298 } && test -s conftest.$ac_objext; then
39299
39300 wx_cv_type_sa_handler=int
39301
39302 else
39303 echo "$as_me: failed program was:" >&5
39304 sed 's/^/| /' conftest.$ac_ext >&5
39305
39306
39307 wx_cv_type_sa_handler=void
39308
39309 fi
39310
39311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39312 ac_ext=c
39313 ac_cpp='$CPP $CPPFLAGS'
39314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39317
39318
39319 fi
39320 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39321 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39322
39323 cat >>confdefs.h <<_ACEOF
39324 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39325 _ACEOF
39326
39327 fi
39328 fi
39329
39330 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39331 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39332 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39333 if test "${wx_cv_func_backtrace+set}" = set; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336
39337 ac_ext=cpp
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 #include <execinfo.h>
39350 int
39351 main ()
39352 {
39353
39354 void *trace[1];
39355 char **messages;
39356
39357 backtrace(trace, 1);
39358 messages = backtrace_symbols(trace, 1);
39359
39360 ;
39361 return 0;
39362 }
39363 _ACEOF
39364 rm -f conftest.$ac_objext
39365 if { (ac_try="$ac_compile"
39366 case "(($ac_try" in
39367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39368 *) ac_try_echo=$ac_try;;
39369 esac
39370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39371 (eval "$ac_compile") 2>conftest.er1
39372 ac_status=$?
39373 grep -v '^ *+' conftest.er1 >conftest.err
39374 rm -f conftest.er1
39375 cat conftest.err >&5
39376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39377 (exit $ac_status); } && {
39378 test -z "$ac_cxx_werror_flag" ||
39379 test ! -s conftest.err
39380 } && test -s conftest.$ac_objext; then
39381 wx_cv_func_backtrace=yes
39382 else
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39385
39386 wx_cv_func_backtrace=no
39387
39388 fi
39389
39390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39391 ac_ext=c
39392 ac_cpp='$CPP $CPPFLAGS'
39393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39396
39397
39398
39399 fi
39400 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39401 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39402
39403
39404 if test "$wx_cv_func_backtrace" = "no"; then
39405 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39406 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39407 wxUSE_STACKWALKER=no
39408 else
39409 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39410 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39411 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39412 echo $ECHO_N "(cached) $ECHO_C" >&6
39413 else
39414
39415 ac_ext=cpp
39416 ac_cpp='$CXXCPP $CPPFLAGS'
39417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39420
39421 cat >conftest.$ac_ext <<_ACEOF
39422 /* confdefs.h. */
39423 _ACEOF
39424 cat confdefs.h >>conftest.$ac_ext
39425 cat >>conftest.$ac_ext <<_ACEOF
39426 /* end confdefs.h. */
39427 #include <cxxabi.h>
39428 int
39429 main ()
39430 {
39431
39432 int rc;
39433 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39434
39435 ;
39436 return 0;
39437 }
39438 _ACEOF
39439 rm -f conftest.$ac_objext conftest$ac_exeext
39440 if { (ac_try="$ac_link"
39441 case "(($ac_try" in
39442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39443 *) ac_try_echo=$ac_try;;
39444 esac
39445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39446 (eval "$ac_link") 2>conftest.er1
39447 ac_status=$?
39448 grep -v '^ *+' conftest.er1 >conftest.err
39449 rm -f conftest.er1
39450 cat conftest.err >&5
39451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39452 (exit $ac_status); } && {
39453 test -z "$ac_cxx_werror_flag" ||
39454 test ! -s conftest.err
39455 } && test -s conftest$ac_exeext &&
39456 $as_test_x conftest$ac_exeext; then
39457 wx_cv_func_cxa_demangle=yes
39458 else
39459 echo "$as_me: failed program was:" >&5
39460 sed 's/^/| /' conftest.$ac_ext >&5
39461
39462 wx_cv_func_cxa_demangle=no
39463
39464 fi
39465
39466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39467 conftest$ac_exeext conftest.$ac_ext
39468 ac_ext=c
39469 ac_cpp='$CPP $CPPFLAGS'
39470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39473
39474
39475
39476 fi
39477 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39478 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39479
39480 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39481 cat >>confdefs.h <<\_ACEOF
39482 #define HAVE_CXA_DEMANGLE 1
39483 _ACEOF
39484
39485 fi
39486 fi
39487 fi
39488
39489 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39490 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39491 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39492 wxUSE_STACKWALKER=no
39493 fi
39494
39495
39496
39497
39498 for ac_func in mkstemp mktemp
39499 do
39500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39505 else
39506 cat >conftest.$ac_ext <<_ACEOF
39507 /* confdefs.h. */
39508 _ACEOF
39509 cat confdefs.h >>conftest.$ac_ext
39510 cat >>conftest.$ac_ext <<_ACEOF
39511 /* end confdefs.h. */
39512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39514 #define $ac_func innocuous_$ac_func
39515
39516 /* System header to define __stub macros and hopefully few prototypes,
39517 which can conflict with char $ac_func (); below.
39518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39519 <limits.h> exists even on freestanding compilers. */
39520
39521 #ifdef __STDC__
39522 # include <limits.h>
39523 #else
39524 # include <assert.h>
39525 #endif
39526
39527 #undef $ac_func
39528
39529 /* Override any GCC internal prototype to avoid an error.
39530 Use char because int might match the return type of a GCC
39531 builtin and then its argument prototype would still apply. */
39532 #ifdef __cplusplus
39533 extern "C"
39534 #endif
39535 char $ac_func ();
39536 /* The GNU C library defines this for functions which it implements
39537 to always fail with ENOSYS. Some functions are actually named
39538 something starting with __ and the normal name is an alias. */
39539 #if defined __stub_$ac_func || defined __stub___$ac_func
39540 choke me
39541 #endif
39542
39543 int
39544 main ()
39545 {
39546 return $ac_func ();
39547 ;
39548 return 0;
39549 }
39550 _ACEOF
39551 rm -f conftest.$ac_objext conftest$ac_exeext
39552 if { (ac_try="$ac_link"
39553 case "(($ac_try" in
39554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39555 *) ac_try_echo=$ac_try;;
39556 esac
39557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39558 (eval "$ac_link") 2>conftest.er1
39559 ac_status=$?
39560 grep -v '^ *+' conftest.er1 >conftest.err
39561 rm -f conftest.er1
39562 cat conftest.err >&5
39563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39564 (exit $ac_status); } && {
39565 test -z "$ac_c_werror_flag" ||
39566 test ! -s conftest.err
39567 } && test -s conftest$ac_exeext &&
39568 $as_test_x conftest$ac_exeext; then
39569 eval "$as_ac_var=yes"
39570 else
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39573
39574 eval "$as_ac_var=no"
39575 fi
39576
39577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39578 conftest$ac_exeext conftest.$ac_ext
39579 fi
39580 ac_res=`eval echo '${'$as_ac_var'}'`
39581 { echo "$as_me:$LINENO: result: $ac_res" >&5
39582 echo "${ECHO_T}$ac_res" >&6; }
39583 if test `eval echo '${'$as_ac_var'}'` = yes; then
39584 cat >>confdefs.h <<_ACEOF
39585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39586 _ACEOF
39587 break
39588 fi
39589 done
39590
39591
39592 { echo "$as_me:$LINENO: checking for statfs" >&5
39593 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39594 if test "${wx_cv_func_statfs+set}" = set; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39597 cat >conftest.$ac_ext <<_ACEOF
39598 /* confdefs.h. */
39599 _ACEOF
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39603
39604 #if defined(__BSD__)
39605 #include <sys/param.h>
39606 #include <sys/mount.h>
39607 #else
39608 #include <sys/vfs.h>
39609 #endif
39610
39611 int
39612 main ()
39613 {
39614
39615 long l;
39616 struct statfs fs;
39617 statfs("/", &fs);
39618 l = fs.f_bsize;
39619 l += fs.f_blocks;
39620 l += fs.f_bavail;
39621
39622 ;
39623 return 0;
39624 }
39625 _ACEOF
39626 rm -f conftest.$ac_objext
39627 if { (ac_try="$ac_compile"
39628 case "(($ac_try" in
39629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39630 *) ac_try_echo=$ac_try;;
39631 esac
39632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39633 (eval "$ac_compile") 2>conftest.er1
39634 ac_status=$?
39635 grep -v '^ *+' conftest.er1 >conftest.err
39636 rm -f conftest.er1
39637 cat conftest.err >&5
39638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39639 (exit $ac_status); } && {
39640 test -z "$ac_c_werror_flag" ||
39641 test ! -s conftest.err
39642 } && test -s conftest.$ac_objext; then
39643 wx_cv_func_statfs=yes
39644 else
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39647
39648 wx_cv_func_statfs=no
39649
39650 fi
39651
39652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39653
39654 fi
39655 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39656 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39657
39658 if test "$wx_cv_func_statfs" = "yes"; then
39659 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39660 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39661 if test "${wx_cv_func_statfs_decl+set}" = set; then
39662 echo $ECHO_N "(cached) $ECHO_C" >&6
39663 else
39664 ac_ext=cpp
39665 ac_cpp='$CXXCPP $CPPFLAGS'
39666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39669
39670 cat >conftest.$ac_ext <<_ACEOF
39671 /* confdefs.h. */
39672 _ACEOF
39673 cat confdefs.h >>conftest.$ac_ext
39674 cat >>conftest.$ac_ext <<_ACEOF
39675 /* end confdefs.h. */
39676
39677 #if defined(__BSD__)
39678 #include <sys/param.h>
39679 #include <sys/mount.h>
39680 #else
39681 #include <sys/vfs.h>
39682 #endif
39683
39684 int
39685 main ()
39686 {
39687
39688 struct statfs fs;
39689 statfs("", &fs);
39690
39691 ;
39692 return 0;
39693 }
39694 _ACEOF
39695 rm -f conftest.$ac_objext
39696 if { (ac_try="$ac_compile"
39697 case "(($ac_try" in
39698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39699 *) ac_try_echo=$ac_try;;
39700 esac
39701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39702 (eval "$ac_compile") 2>conftest.er1
39703 ac_status=$?
39704 grep -v '^ *+' conftest.er1 >conftest.err
39705 rm -f conftest.er1
39706 cat conftest.err >&5
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); } && {
39709 test -z "$ac_cxx_werror_flag" ||
39710 test ! -s conftest.err
39711 } && test -s conftest.$ac_objext; then
39712 wx_cv_func_statfs_decl=yes
39713 else
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39716
39717 wx_cv_func_statfs_decl=no
39718
39719 fi
39720
39721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39722 ac_ext=c
39723 ac_cpp='$CPP $CPPFLAGS'
39724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39727
39728
39729 fi
39730 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39731 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39732
39733 if test "$wx_cv_func_statfs_decl" = "yes"; then
39734 cat >>confdefs.h <<\_ACEOF
39735 #define HAVE_STATFS_DECL 1
39736 _ACEOF
39737
39738 fi
39739
39740 wx_cv_type_statvfs_t="struct statfs"
39741 cat >>confdefs.h <<\_ACEOF
39742 #define HAVE_STATFS 1
39743 _ACEOF
39744
39745 else
39746 { echo "$as_me:$LINENO: checking for statvfs" >&5
39747 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39748 if test "${wx_cv_func_statvfs+set}" = set; then
39749 echo $ECHO_N "(cached) $ECHO_C" >&6
39750 else
39751 cat >conftest.$ac_ext <<_ACEOF
39752 /* confdefs.h. */
39753 _ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h. */
39757
39758 #include <stddef.h>
39759 #include <sys/statvfs.h>
39760
39761 int
39762 main ()
39763 {
39764
39765 statvfs("/", NULL);
39766
39767 ;
39768 return 0;
39769 }
39770 _ACEOF
39771 rm -f conftest.$ac_objext
39772 if { (ac_try="$ac_compile"
39773 case "(($ac_try" in
39774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39775 *) ac_try_echo=$ac_try;;
39776 esac
39777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39778 (eval "$ac_compile") 2>conftest.er1
39779 ac_status=$?
39780 grep -v '^ *+' conftest.er1 >conftest.err
39781 rm -f conftest.er1
39782 cat conftest.err >&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } && {
39785 test -z "$ac_c_werror_flag" ||
39786 test ! -s conftest.err
39787 } && test -s conftest.$ac_objext; then
39788 wx_cv_func_statvfs=yes
39789 else
39790 echo "$as_me: failed program was:" >&5
39791 sed 's/^/| /' conftest.$ac_ext >&5
39792
39793 wx_cv_func_statvfs=no
39794
39795 fi
39796
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798
39799 fi
39800 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39801 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39802
39803 if test "$wx_cv_func_statvfs" = "yes"; then
39804 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39805 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39806 if test "${wx_cv_type_statvfs_t+set}" = set; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39808 else
39809 ac_ext=cpp
39810 ac_cpp='$CXXCPP $CPPFLAGS'
39811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39814
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821
39822 #include <sys/statvfs.h>
39823
39824 int
39825 main ()
39826 {
39827
39828 long l;
39829 statvfs_t fs;
39830 statvfs("/", &fs);
39831 l = fs.f_bsize;
39832 l += fs.f_blocks;
39833 l += fs.f_bavail;
39834
39835 ;
39836 return 0;
39837 }
39838 _ACEOF
39839 rm -f conftest.$ac_objext
39840 if { (ac_try="$ac_compile"
39841 case "(($ac_try" in
39842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39843 *) ac_try_echo=$ac_try;;
39844 esac
39845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39846 (eval "$ac_compile") 2>conftest.er1
39847 ac_status=$?
39848 grep -v '^ *+' conftest.er1 >conftest.err
39849 rm -f conftest.er1
39850 cat conftest.err >&5
39851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39852 (exit $ac_status); } && {
39853 test -z "$ac_cxx_werror_flag" ||
39854 test ! -s conftest.err
39855 } && test -s conftest.$ac_objext; then
39856 wx_cv_type_statvfs_t=statvfs_t
39857 else
39858 echo "$as_me: failed program was:" >&5
39859 sed 's/^/| /' conftest.$ac_ext >&5
39860
39861
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868
39869 #include <sys/statvfs.h>
39870
39871 int
39872 main ()
39873 {
39874
39875 long l;
39876 struct statvfs fs;
39877 statvfs("/", &fs);
39878 l = fs.f_bsize;
39879 l += fs.f_blocks;
39880 l += fs.f_bavail;
39881
39882 ;
39883 return 0;
39884 }
39885 _ACEOF
39886 rm -f conftest.$ac_objext
39887 if { (ac_try="$ac_compile"
39888 case "(($ac_try" in
39889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39890 *) ac_try_echo=$ac_try;;
39891 esac
39892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39893 (eval "$ac_compile") 2>conftest.er1
39894 ac_status=$?
39895 grep -v '^ *+' conftest.er1 >conftest.err
39896 rm -f conftest.er1
39897 cat conftest.err >&5
39898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39899 (exit $ac_status); } && {
39900 test -z "$ac_cxx_werror_flag" ||
39901 test ! -s conftest.err
39902 } && test -s conftest.$ac_objext; then
39903 wx_cv_type_statvfs_t="struct statvfs"
39904 else
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39907
39908 wx_cv_type_statvfs_t="unknown"
39909
39910 fi
39911
39912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39913
39914
39915 fi
39916
39917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39918 ac_ext=c
39919 ac_cpp='$CPP $CPPFLAGS'
39920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39923
39924
39925 fi
39926 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39927 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39928
39929 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_STATVFS 1
39932 _ACEOF
39933
39934 fi
39935 else
39936 wx_cv_type_statvfs_t="unknown"
39937 fi
39938 fi
39939
39940 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39941 cat >>confdefs.h <<_ACEOF
39942 #define WX_STATFS_T $wx_cv_type_statvfs_t
39943 _ACEOF
39944
39945 else
39946 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39947 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39948 fi
39949
39950 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39951
39952
39953 for ac_func in fcntl flock
39954 do
39955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39959 echo $ECHO_N "(cached) $ECHO_C" >&6
39960 else
39961 cat >conftest.$ac_ext <<_ACEOF
39962 /* confdefs.h. */
39963 _ACEOF
39964 cat confdefs.h >>conftest.$ac_ext
39965 cat >>conftest.$ac_ext <<_ACEOF
39966 /* end confdefs.h. */
39967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39969 #define $ac_func innocuous_$ac_func
39970
39971 /* System header to define __stub macros and hopefully few prototypes,
39972 which can conflict with char $ac_func (); below.
39973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39974 <limits.h> exists even on freestanding compilers. */
39975
39976 #ifdef __STDC__
39977 # include <limits.h>
39978 #else
39979 # include <assert.h>
39980 #endif
39981
39982 #undef $ac_func
39983
39984 /* Override any GCC internal prototype to avoid an error.
39985 Use char because int might match the return type of a GCC
39986 builtin and then its argument prototype would still apply. */
39987 #ifdef __cplusplus
39988 extern "C"
39989 #endif
39990 char $ac_func ();
39991 /* The GNU C library defines this for functions which it implements
39992 to always fail with ENOSYS. Some functions are actually named
39993 something starting with __ and the normal name is an alias. */
39994 #if defined __stub_$ac_func || defined __stub___$ac_func
39995 choke me
39996 #endif
39997
39998 int
39999 main ()
40000 {
40001 return $ac_func ();
40002 ;
40003 return 0;
40004 }
40005 _ACEOF
40006 rm -f conftest.$ac_objext conftest$ac_exeext
40007 if { (ac_try="$ac_link"
40008 case "(($ac_try" in
40009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40010 *) ac_try_echo=$ac_try;;
40011 esac
40012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40013 (eval "$ac_link") 2>conftest.er1
40014 ac_status=$?
40015 grep -v '^ *+' conftest.er1 >conftest.err
40016 rm -f conftest.er1
40017 cat conftest.err >&5
40018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40019 (exit $ac_status); } && {
40020 test -z "$ac_c_werror_flag" ||
40021 test ! -s conftest.err
40022 } && test -s conftest$ac_exeext &&
40023 $as_test_x conftest$ac_exeext; then
40024 eval "$as_ac_var=yes"
40025 else
40026 echo "$as_me: failed program was:" >&5
40027 sed 's/^/| /' conftest.$ac_ext >&5
40028
40029 eval "$as_ac_var=no"
40030 fi
40031
40032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40033 conftest$ac_exeext conftest.$ac_ext
40034 fi
40035 ac_res=`eval echo '${'$as_ac_var'}'`
40036 { echo "$as_me:$LINENO: result: $ac_res" >&5
40037 echo "${ECHO_T}$ac_res" >&6; }
40038 if test `eval echo '${'$as_ac_var'}'` = yes; then
40039 cat >>confdefs.h <<_ACEOF
40040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40041 _ACEOF
40042 break
40043 fi
40044 done
40045
40046
40047 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
40048 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
40049 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
40050 wxUSE_SNGLINST_CHECKER=no
40051 fi
40052 fi
40053
40054
40055 for ac_func in timegm
40056 do
40057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40058 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40061 echo $ECHO_N "(cached) $ECHO_C" >&6
40062 else
40063 cat >conftest.$ac_ext <<_ACEOF
40064 /* confdefs.h. */
40065 _ACEOF
40066 cat confdefs.h >>conftest.$ac_ext
40067 cat >>conftest.$ac_ext <<_ACEOF
40068 /* end confdefs.h. */
40069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40071 #define $ac_func innocuous_$ac_func
40072
40073 /* System header to define __stub macros and hopefully few prototypes,
40074 which can conflict with char $ac_func (); below.
40075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40076 <limits.h> exists even on freestanding compilers. */
40077
40078 #ifdef __STDC__
40079 # include <limits.h>
40080 #else
40081 # include <assert.h>
40082 #endif
40083
40084 #undef $ac_func
40085
40086 /* Override any GCC internal prototype to avoid an error.
40087 Use char because int might match the return type of a GCC
40088 builtin and then its argument prototype would still apply. */
40089 #ifdef __cplusplus
40090 extern "C"
40091 #endif
40092 char $ac_func ();
40093 /* The GNU C library defines this for functions which it implements
40094 to always fail with ENOSYS. Some functions are actually named
40095 something starting with __ and the normal name is an alias. */
40096 #if defined __stub_$ac_func || defined __stub___$ac_func
40097 choke me
40098 #endif
40099
40100 int
40101 main ()
40102 {
40103 return $ac_func ();
40104 ;
40105 return 0;
40106 }
40107 _ACEOF
40108 rm -f conftest.$ac_objext conftest$ac_exeext
40109 if { (ac_try="$ac_link"
40110 case "(($ac_try" in
40111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40112 *) ac_try_echo=$ac_try;;
40113 esac
40114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40115 (eval "$ac_link") 2>conftest.er1
40116 ac_status=$?
40117 grep -v '^ *+' conftest.er1 >conftest.err
40118 rm -f conftest.er1
40119 cat conftest.err >&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); } && {
40122 test -z "$ac_c_werror_flag" ||
40123 test ! -s conftest.err
40124 } && test -s conftest$ac_exeext &&
40125 $as_test_x conftest$ac_exeext; then
40126 eval "$as_ac_var=yes"
40127 else
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.$ac_ext >&5
40130
40131 eval "$as_ac_var=no"
40132 fi
40133
40134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40135 conftest$ac_exeext conftest.$ac_ext
40136 fi
40137 ac_res=`eval echo '${'$as_ac_var'}'`
40138 { echo "$as_me:$LINENO: result: $ac_res" >&5
40139 echo "${ECHO_T}$ac_res" >&6; }
40140 if test `eval echo '${'$as_ac_var'}'` = yes; then
40141 cat >>confdefs.h <<_ACEOF
40142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40143 _ACEOF
40144
40145 fi
40146 done
40147
40148
40149
40150
40151 for ac_func in setenv putenv
40152 do
40153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40154 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40156 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40157 echo $ECHO_N "(cached) $ECHO_C" >&6
40158 else
40159 cat >conftest.$ac_ext <<_ACEOF
40160 /* confdefs.h. */
40161 _ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h. */
40165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40167 #define $ac_func innocuous_$ac_func
40168
40169 /* System header to define __stub macros and hopefully few prototypes,
40170 which can conflict with char $ac_func (); below.
40171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40172 <limits.h> exists even on freestanding compilers. */
40173
40174 #ifdef __STDC__
40175 # include <limits.h>
40176 #else
40177 # include <assert.h>
40178 #endif
40179
40180 #undef $ac_func
40181
40182 /* Override any GCC internal prototype to avoid an error.
40183 Use char because int might match the return type of a GCC
40184 builtin and then its argument prototype would still apply. */
40185 #ifdef __cplusplus
40186 extern "C"
40187 #endif
40188 char $ac_func ();
40189 /* The GNU C library defines this for functions which it implements
40190 to always fail with ENOSYS. Some functions are actually named
40191 something starting with __ and the normal name is an alias. */
40192 #if defined __stub_$ac_func || defined __stub___$ac_func
40193 choke me
40194 #endif
40195
40196 int
40197 main ()
40198 {
40199 return $ac_func ();
40200 ;
40201 return 0;
40202 }
40203 _ACEOF
40204 rm -f conftest.$ac_objext conftest$ac_exeext
40205 if { (ac_try="$ac_link"
40206 case "(($ac_try" in
40207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40208 *) ac_try_echo=$ac_try;;
40209 esac
40210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40211 (eval "$ac_link") 2>conftest.er1
40212 ac_status=$?
40213 grep -v '^ *+' conftest.er1 >conftest.err
40214 rm -f conftest.er1
40215 cat conftest.err >&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); } && {
40218 test -z "$ac_c_werror_flag" ||
40219 test ! -s conftest.err
40220 } && test -s conftest$ac_exeext &&
40221 $as_test_x conftest$ac_exeext; then
40222 eval "$as_ac_var=yes"
40223 else
40224 echo "$as_me: failed program was:" >&5
40225 sed 's/^/| /' conftest.$ac_ext >&5
40226
40227 eval "$as_ac_var=no"
40228 fi
40229
40230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40231 conftest$ac_exeext conftest.$ac_ext
40232 fi
40233 ac_res=`eval echo '${'$as_ac_var'}'`
40234 { echo "$as_me:$LINENO: result: $ac_res" >&5
40235 echo "${ECHO_T}$ac_res" >&6; }
40236 if test `eval echo '${'$as_ac_var'}'` = yes; then
40237 cat >>confdefs.h <<_ACEOF
40238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40239 _ACEOF
40240 break
40241 fi
40242 done
40243
40244
40245 HAVE_SOME_SLEEP_FUNC=0
40246 if test "$USE_BEOS" = 1; then
40247 cat >>confdefs.h <<\_ACEOF
40248 #define HAVE_SLEEP 1
40249 _ACEOF
40250
40251 HAVE_SOME_SLEEP_FUNC=1
40252 fi
40253
40254 if test "$USE_DARWIN" = 1; then
40255 cat >>confdefs.h <<\_ACEOF
40256 #define HAVE_USLEEP 1
40257 _ACEOF
40258
40259 HAVE_SOME_SLEEP_FUNC=1
40260 fi
40261
40262 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40263 POSIX4_LINK=
40264
40265 for ac_func in nanosleep
40266 do
40267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40268 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40270 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40272 else
40273 cat >conftest.$ac_ext <<_ACEOF
40274 /* confdefs.h. */
40275 _ACEOF
40276 cat confdefs.h >>conftest.$ac_ext
40277 cat >>conftest.$ac_ext <<_ACEOF
40278 /* end confdefs.h. */
40279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40281 #define $ac_func innocuous_$ac_func
40282
40283 /* System header to define __stub macros and hopefully few prototypes,
40284 which can conflict with char $ac_func (); below.
40285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40286 <limits.h> exists even on freestanding compilers. */
40287
40288 #ifdef __STDC__
40289 # include <limits.h>
40290 #else
40291 # include <assert.h>
40292 #endif
40293
40294 #undef $ac_func
40295
40296 /* Override any GCC internal prototype to avoid an error.
40297 Use char because int might match the return type of a GCC
40298 builtin and then its argument prototype would still apply. */
40299 #ifdef __cplusplus
40300 extern "C"
40301 #endif
40302 char $ac_func ();
40303 /* The GNU C library defines this for functions which it implements
40304 to always fail with ENOSYS. Some functions are actually named
40305 something starting with __ and the normal name is an alias. */
40306 #if defined __stub_$ac_func || defined __stub___$ac_func
40307 choke me
40308 #endif
40309
40310 int
40311 main ()
40312 {
40313 return $ac_func ();
40314 ;
40315 return 0;
40316 }
40317 _ACEOF
40318 rm -f conftest.$ac_objext conftest$ac_exeext
40319 if { (ac_try="$ac_link"
40320 case "(($ac_try" in
40321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40322 *) ac_try_echo=$ac_try;;
40323 esac
40324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40325 (eval "$ac_link") 2>conftest.er1
40326 ac_status=$?
40327 grep -v '^ *+' conftest.er1 >conftest.err
40328 rm -f conftest.er1
40329 cat conftest.err >&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } && {
40332 test -z "$ac_c_werror_flag" ||
40333 test ! -s conftest.err
40334 } && test -s conftest$ac_exeext &&
40335 $as_test_x conftest$ac_exeext; then
40336 eval "$as_ac_var=yes"
40337 else
40338 echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.$ac_ext >&5
40340
40341 eval "$as_ac_var=no"
40342 fi
40343
40344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40345 conftest$ac_exeext conftest.$ac_ext
40346 fi
40347 ac_res=`eval echo '${'$as_ac_var'}'`
40348 { echo "$as_me:$LINENO: result: $ac_res" >&5
40349 echo "${ECHO_T}$ac_res" >&6; }
40350 if test `eval echo '${'$as_ac_var'}'` = yes; then
40351 cat >>confdefs.h <<_ACEOF
40352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40353 _ACEOF
40354 cat >>confdefs.h <<\_ACEOF
40355 #define HAVE_NANOSLEEP 1
40356 _ACEOF
40357
40358 else
40359
40360 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40361 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40362 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365 ac_check_lib_save_LIBS=$LIBS
40366 LIBS="-lposix4 $LIBS"
40367 cat >conftest.$ac_ext <<_ACEOF
40368 /* confdefs.h. */
40369 _ACEOF
40370 cat confdefs.h >>conftest.$ac_ext
40371 cat >>conftest.$ac_ext <<_ACEOF
40372 /* end confdefs.h. */
40373
40374 /* Override any GCC internal prototype to avoid an error.
40375 Use char because int might match the return type of a GCC
40376 builtin and then its argument prototype would still apply. */
40377 #ifdef __cplusplus
40378 extern "C"
40379 #endif
40380 char nanosleep ();
40381 int
40382 main ()
40383 {
40384 return nanosleep ();
40385 ;
40386 return 0;
40387 }
40388 _ACEOF
40389 rm -f conftest.$ac_objext conftest$ac_exeext
40390 if { (ac_try="$ac_link"
40391 case "(($ac_try" in
40392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40393 *) ac_try_echo=$ac_try;;
40394 esac
40395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40396 (eval "$ac_link") 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } && {
40403 test -z "$ac_c_werror_flag" ||
40404 test ! -s conftest.err
40405 } && test -s conftest$ac_exeext &&
40406 $as_test_x conftest$ac_exeext; then
40407 ac_cv_lib_posix4_nanosleep=yes
40408 else
40409 echo "$as_me: failed program was:" >&5
40410 sed 's/^/| /' conftest.$ac_ext >&5
40411
40412 ac_cv_lib_posix4_nanosleep=no
40413 fi
40414
40415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40416 conftest$ac_exeext conftest.$ac_ext
40417 LIBS=$ac_check_lib_save_LIBS
40418 fi
40419 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40420 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40421 if test $ac_cv_lib_posix4_nanosleep = yes; then
40422
40423 cat >>confdefs.h <<\_ACEOF
40424 #define HAVE_NANOSLEEP 1
40425 _ACEOF
40426
40427 POSIX4_LINK=" -lposix4"
40428
40429 else
40430
40431
40432 for wx_func in usleep
40433 do
40434 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40435 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40436 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40437 echo $ECHO_N "(cached) $ECHO_C" >&6
40438 else
40439
40440 cat >conftest.$ac_ext <<_ACEOF
40441
40442 /* confdefs.h. */
40443 _ACEOF
40444 cat confdefs.h >>conftest.$ac_ext
40445 cat >>conftest.$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40447
40448
40449 $ac_includes_default
40450
40451 int
40452 main ()
40453 {
40454
40455 #ifndef $wx_func
40456 &$wx_func;
40457 #endif
40458
40459
40460 ;
40461 return 0;
40462 }
40463
40464 _ACEOF
40465 rm -f conftest.$ac_objext conftest$ac_exeext
40466 if { (ac_try="$ac_link"
40467 case "(($ac_try" in
40468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40469 *) ac_try_echo=$ac_try;;
40470 esac
40471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40472 (eval "$ac_link") 2>conftest.er1
40473 ac_status=$?
40474 grep -v '^ *+' conftest.er1 >conftest.err
40475 rm -f conftest.er1
40476 cat conftest.err >&5
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); } && {
40479 test -z "$ac_c_werror_flag" ||
40480 test ! -s conftest.err
40481 } && test -s conftest$ac_exeext &&
40482 $as_test_x conftest$ac_exeext; then
40483 eval wx_cv_func_$wx_func=yes
40484 else
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40487
40488 eval wx_cv_func_$wx_func=no
40489 fi
40490
40491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40492 conftest$ac_exeext conftest.$ac_ext
40493
40494 fi
40495 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40496 { echo "$as_me:$LINENO: result: $ac_res" >&5
40497 echo "${ECHO_T}$ac_res" >&6; }
40498
40499 if eval test \$wx_cv_func_$wx_func = yes
40500 then
40501 cat >>confdefs.h <<_ACEOF
40502 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40503 _ACEOF
40504
40505
40506 else
40507 :
40508 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40509 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40510
40511 fi
40512 done
40513
40514
40515
40516 fi
40517
40518
40519
40520 fi
40521 done
40522
40523 fi
40524
40525
40526 for wx_func in uname
40527 do
40528 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40529 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40530 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40531 echo $ECHO_N "(cached) $ECHO_C" >&6
40532 else
40533
40534 cat >conftest.$ac_ext <<_ACEOF
40535
40536 /* confdefs.h. */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h. */
40541
40542 #include <sys/utsname.h>
40543 $ac_includes_default
40544
40545 int
40546 main ()
40547 {
40548
40549 #ifndef $wx_func
40550 &$wx_func;
40551 #endif
40552
40553
40554 ;
40555 return 0;
40556 }
40557
40558 _ACEOF
40559 rm -f conftest.$ac_objext conftest$ac_exeext
40560 if { (ac_try="$ac_link"
40561 case "(($ac_try" in
40562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40563 *) ac_try_echo=$ac_try;;
40564 esac
40565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40566 (eval "$ac_link") 2>conftest.er1
40567 ac_status=$?
40568 grep -v '^ *+' conftest.er1 >conftest.err
40569 rm -f conftest.er1
40570 cat conftest.err >&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } && {
40573 test -z "$ac_c_werror_flag" ||
40574 test ! -s conftest.err
40575 } && test -s conftest$ac_exeext &&
40576 $as_test_x conftest$ac_exeext; then
40577 eval wx_cv_func_$wx_func=yes
40578 else
40579 echo "$as_me: failed program was:" >&5
40580 sed 's/^/| /' conftest.$ac_ext >&5
40581
40582 eval wx_cv_func_$wx_func=no
40583 fi
40584
40585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40586 conftest$ac_exeext conftest.$ac_ext
40587
40588 fi
40589 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40590 { echo "$as_me:$LINENO: result: $ac_res" >&5
40591 echo "${ECHO_T}$ac_res" >&6; }
40592
40593 if eval test \$wx_cv_func_$wx_func = yes
40594 then
40595 cat >>confdefs.h <<_ACEOF
40596 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40597 _ACEOF
40598
40599
40600 else
40601 :
40602
40603 fi
40604 done
40605
40606 if test "$wx_cv_func_uname" != yes; then
40607
40608 for wx_func in gethostname
40609 do
40610 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40611 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40612 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40613 echo $ECHO_N "(cached) $ECHO_C" >&6
40614 else
40615
40616 cat >conftest.$ac_ext <<_ACEOF
40617
40618 /* confdefs.h. */
40619 _ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40623
40624
40625 $ac_includes_default
40626
40627 int
40628 main ()
40629 {
40630
40631 #ifndef $wx_func
40632 &$wx_func;
40633 #endif
40634
40635
40636 ;
40637 return 0;
40638 }
40639
40640 _ACEOF
40641 rm -f conftest.$ac_objext conftest$ac_exeext
40642 if { (ac_try="$ac_link"
40643 case "(($ac_try" in
40644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40645 *) ac_try_echo=$ac_try;;
40646 esac
40647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40648 (eval "$ac_link") 2>conftest.er1
40649 ac_status=$?
40650 grep -v '^ *+' conftest.er1 >conftest.err
40651 rm -f conftest.er1
40652 cat conftest.err >&5
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); } && {
40655 test -z "$ac_c_werror_flag" ||
40656 test ! -s conftest.err
40657 } && test -s conftest$ac_exeext &&
40658 $as_test_x conftest$ac_exeext; then
40659 eval wx_cv_func_$wx_func=yes
40660 else
40661 echo "$as_me: failed program was:" >&5
40662 sed 's/^/| /' conftest.$ac_ext >&5
40663
40664 eval wx_cv_func_$wx_func=no
40665 fi
40666
40667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40668 conftest$ac_exeext conftest.$ac_ext
40669
40670 fi
40671 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40672 { echo "$as_me:$LINENO: result: $ac_res" >&5
40673 echo "${ECHO_T}$ac_res" >&6; }
40674
40675 if eval test \$wx_cv_func_$wx_func = yes
40676 then
40677 cat >>confdefs.h <<_ACEOF
40678 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40679 _ACEOF
40680
40681
40682 else
40683 :
40684
40685 fi
40686 done
40687
40688 fi
40689
40690
40691 for wx_func in strtok_r
40692 do
40693 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40694 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40695 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40696 echo $ECHO_N "(cached) $ECHO_C" >&6
40697 else
40698
40699 cat >conftest.$ac_ext <<_ACEOF
40700
40701 /* confdefs.h. */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40706
40707 #define _REENTRANT
40708 $ac_includes_default
40709
40710 int
40711 main ()
40712 {
40713
40714 #ifndef $wx_func
40715 &$wx_func;
40716 #endif
40717
40718
40719 ;
40720 return 0;
40721 }
40722
40723 _ACEOF
40724 rm -f conftest.$ac_objext conftest$ac_exeext
40725 if { (ac_try="$ac_link"
40726 case "(($ac_try" in
40727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40728 *) ac_try_echo=$ac_try;;
40729 esac
40730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40731 (eval "$ac_link") 2>conftest.er1
40732 ac_status=$?
40733 grep -v '^ *+' conftest.er1 >conftest.err
40734 rm -f conftest.er1
40735 cat conftest.err >&5
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } && {
40738 test -z "$ac_c_werror_flag" ||
40739 test ! -s conftest.err
40740 } && test -s conftest$ac_exeext &&
40741 $as_test_x conftest$ac_exeext; then
40742 eval wx_cv_func_$wx_func=yes
40743 else
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40746
40747 eval wx_cv_func_$wx_func=no
40748 fi
40749
40750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40751 conftest$ac_exeext conftest.$ac_ext
40752
40753 fi
40754 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40755 { echo "$as_me:$LINENO: result: $ac_res" >&5
40756 echo "${ECHO_T}$ac_res" >&6; }
40757
40758 if eval test \$wx_cv_func_$wx_func = yes
40759 then
40760 cat >>confdefs.h <<_ACEOF
40761 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40762 _ACEOF
40763
40764
40765 else
40766 :
40767
40768 fi
40769 done
40770
40771
40772 INET_LINK=
40773
40774 for ac_func in inet_addr
40775 do
40776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40777 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40779 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782 cat >conftest.$ac_ext <<_ACEOF
40783 /* confdefs.h. */
40784 _ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40790 #define $ac_func innocuous_$ac_func
40791
40792 /* System header to define __stub macros and hopefully few prototypes,
40793 which can conflict with char $ac_func (); below.
40794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40795 <limits.h> exists even on freestanding compilers. */
40796
40797 #ifdef __STDC__
40798 # include <limits.h>
40799 #else
40800 # include <assert.h>
40801 #endif
40802
40803 #undef $ac_func
40804
40805 /* Override any GCC internal prototype to avoid an error.
40806 Use char because int might match the return type of a GCC
40807 builtin and then its argument prototype would still apply. */
40808 #ifdef __cplusplus
40809 extern "C"
40810 #endif
40811 char $ac_func ();
40812 /* The GNU C library defines this for functions which it implements
40813 to always fail with ENOSYS. Some functions are actually named
40814 something starting with __ and the normal name is an alias. */
40815 #if defined __stub_$ac_func || defined __stub___$ac_func
40816 choke me
40817 #endif
40818
40819 int
40820 main ()
40821 {
40822 return $ac_func ();
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 rm -f conftest.$ac_objext conftest$ac_exeext
40828 if { (ac_try="$ac_link"
40829 case "(($ac_try" in
40830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40831 *) ac_try_echo=$ac_try;;
40832 esac
40833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40834 (eval "$ac_link") 2>conftest.er1
40835 ac_status=$?
40836 grep -v '^ *+' conftest.er1 >conftest.err
40837 rm -f conftest.er1
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } && {
40841 test -z "$ac_c_werror_flag" ||
40842 test ! -s conftest.err
40843 } && test -s conftest$ac_exeext &&
40844 $as_test_x conftest$ac_exeext; then
40845 eval "$as_ac_var=yes"
40846 else
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.$ac_ext >&5
40849
40850 eval "$as_ac_var=no"
40851 fi
40852
40853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40854 conftest$ac_exeext conftest.$ac_ext
40855 fi
40856 ac_res=`eval echo '${'$as_ac_var'}'`
40857 { echo "$as_me:$LINENO: result: $ac_res" >&5
40858 echo "${ECHO_T}$ac_res" >&6; }
40859 if test `eval echo '${'$as_ac_var'}'` = yes; then
40860 cat >>confdefs.h <<_ACEOF
40861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40862 _ACEOF
40863 cat >>confdefs.h <<\_ACEOF
40864 #define HAVE_INET_ADDR 1
40865 _ACEOF
40866
40867 else
40868
40869 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40870 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40871 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40872 echo $ECHO_N "(cached) $ECHO_C" >&6
40873 else
40874 ac_check_lib_save_LIBS=$LIBS
40875 LIBS="-lnsl $LIBS"
40876 cat >conftest.$ac_ext <<_ACEOF
40877 /* confdefs.h. */
40878 _ACEOF
40879 cat confdefs.h >>conftest.$ac_ext
40880 cat >>conftest.$ac_ext <<_ACEOF
40881 /* end confdefs.h. */
40882
40883 /* Override any GCC internal prototype to avoid an error.
40884 Use char because int might match the return type of a GCC
40885 builtin and then its argument prototype would still apply. */
40886 #ifdef __cplusplus
40887 extern "C"
40888 #endif
40889 char inet_addr ();
40890 int
40891 main ()
40892 {
40893 return inet_addr ();
40894 ;
40895 return 0;
40896 }
40897 _ACEOF
40898 rm -f conftest.$ac_objext conftest$ac_exeext
40899 if { (ac_try="$ac_link"
40900 case "(($ac_try" in
40901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40902 *) ac_try_echo=$ac_try;;
40903 esac
40904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40905 (eval "$ac_link") 2>conftest.er1
40906 ac_status=$?
40907 grep -v '^ *+' conftest.er1 >conftest.err
40908 rm -f conftest.er1
40909 cat conftest.err >&5
40910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40911 (exit $ac_status); } && {
40912 test -z "$ac_c_werror_flag" ||
40913 test ! -s conftest.err
40914 } && test -s conftest$ac_exeext &&
40915 $as_test_x conftest$ac_exeext; then
40916 ac_cv_lib_nsl_inet_addr=yes
40917 else
40918 echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.$ac_ext >&5
40920
40921 ac_cv_lib_nsl_inet_addr=no
40922 fi
40923
40924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40925 conftest$ac_exeext conftest.$ac_ext
40926 LIBS=$ac_check_lib_save_LIBS
40927 fi
40928 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40929 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40930 if test $ac_cv_lib_nsl_inet_addr = yes; then
40931 INET_LINK="nsl"
40932 else
40933
40934 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40935 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40936 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40937 echo $ECHO_N "(cached) $ECHO_C" >&6
40938 else
40939 ac_check_lib_save_LIBS=$LIBS
40940 LIBS="-lresolv $LIBS"
40941 cat >conftest.$ac_ext <<_ACEOF
40942 /* confdefs.h. */
40943 _ACEOF
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40947
40948 /* Override any GCC internal prototype to avoid an error.
40949 Use char because int might match the return type of a GCC
40950 builtin and then its argument prototype would still apply. */
40951 #ifdef __cplusplus
40952 extern "C"
40953 #endif
40954 char inet_addr ();
40955 int
40956 main ()
40957 {
40958 return inet_addr ();
40959 ;
40960 return 0;
40961 }
40962 _ACEOF
40963 rm -f conftest.$ac_objext conftest$ac_exeext
40964 if { (ac_try="$ac_link"
40965 case "(($ac_try" in
40966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40967 *) ac_try_echo=$ac_try;;
40968 esac
40969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40970 (eval "$ac_link") 2>conftest.er1
40971 ac_status=$?
40972 grep -v '^ *+' conftest.er1 >conftest.err
40973 rm -f conftest.er1
40974 cat conftest.err >&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); } && {
40977 test -z "$ac_c_werror_flag" ||
40978 test ! -s conftest.err
40979 } && test -s conftest$ac_exeext &&
40980 $as_test_x conftest$ac_exeext; then
40981 ac_cv_lib_resolv_inet_addr=yes
40982 else
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40985
40986 ac_cv_lib_resolv_inet_addr=no
40987 fi
40988
40989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40990 conftest$ac_exeext conftest.$ac_ext
40991 LIBS=$ac_check_lib_save_LIBS
40992 fi
40993 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40994 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40995 if test $ac_cv_lib_resolv_inet_addr = yes; then
40996 INET_LINK="resolv"
40997 else
40998
40999 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
41000 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
41001 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 else
41004 ac_check_lib_save_LIBS=$LIBS
41005 LIBS="-lsocket $LIBS"
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012
41013 /* Override any GCC internal prototype to avoid an error.
41014 Use char because int might match the return type of a GCC
41015 builtin and then its argument prototype would still apply. */
41016 #ifdef __cplusplus
41017 extern "C"
41018 #endif
41019 char inet_addr ();
41020 int
41021 main ()
41022 {
41023 return inet_addr ();
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (ac_try="$ac_link"
41030 case "(($ac_try" in
41031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41032 *) ac_try_echo=$ac_try;;
41033 esac
41034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41035 (eval "$ac_link") 2>conftest.er1
41036 ac_status=$?
41037 grep -v '^ *+' conftest.er1 >conftest.err
41038 rm -f conftest.er1
41039 cat conftest.err >&5
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); } && {
41042 test -z "$ac_c_werror_flag" ||
41043 test ! -s conftest.err
41044 } && test -s conftest$ac_exeext &&
41045 $as_test_x conftest$ac_exeext; then
41046 ac_cv_lib_socket_inet_addr=yes
41047 else
41048 echo "$as_me: failed program was:" >&5
41049 sed 's/^/| /' conftest.$ac_ext >&5
41050
41051 ac_cv_lib_socket_inet_addr=no
41052 fi
41053
41054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41055 conftest$ac_exeext conftest.$ac_ext
41056 LIBS=$ac_check_lib_save_LIBS
41057 fi
41058 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41059 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41060 if test $ac_cv_lib_socket_inet_addr = yes; then
41061 INET_LINK="socket"
41062
41063 fi
41064
41065
41066
41067 fi
41068
41069
41070
41071 fi
41072
41073
41074
41075 fi
41076 done
41077
41078
41079
41080 for ac_func in inet_aton
41081 do
41082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41086 echo $ECHO_N "(cached) $ECHO_C" >&6
41087 else
41088 cat >conftest.$ac_ext <<_ACEOF
41089 /* confdefs.h. */
41090 _ACEOF
41091 cat confdefs.h >>conftest.$ac_ext
41092 cat >>conftest.$ac_ext <<_ACEOF
41093 /* end confdefs.h. */
41094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41096 #define $ac_func innocuous_$ac_func
41097
41098 /* System header to define __stub macros and hopefully few prototypes,
41099 which can conflict with char $ac_func (); below.
41100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41101 <limits.h> exists even on freestanding compilers. */
41102
41103 #ifdef __STDC__
41104 # include <limits.h>
41105 #else
41106 # include <assert.h>
41107 #endif
41108
41109 #undef $ac_func
41110
41111 /* Override any GCC internal prototype to avoid an error.
41112 Use char because int might match the return type of a GCC
41113 builtin and then its argument prototype would still apply. */
41114 #ifdef __cplusplus
41115 extern "C"
41116 #endif
41117 char $ac_func ();
41118 /* The GNU C library defines this for functions which it implements
41119 to always fail with ENOSYS. Some functions are actually named
41120 something starting with __ and the normal name is an alias. */
41121 #if defined __stub_$ac_func || defined __stub___$ac_func
41122 choke me
41123 #endif
41124
41125 int
41126 main ()
41127 {
41128 return $ac_func ();
41129 ;
41130 return 0;
41131 }
41132 _ACEOF
41133 rm -f conftest.$ac_objext conftest$ac_exeext
41134 if { (ac_try="$ac_link"
41135 case "(($ac_try" in
41136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41137 *) ac_try_echo=$ac_try;;
41138 esac
41139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41140 (eval "$ac_link") 2>conftest.er1
41141 ac_status=$?
41142 grep -v '^ *+' conftest.er1 >conftest.err
41143 rm -f conftest.er1
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } && {
41147 test -z "$ac_c_werror_flag" ||
41148 test ! -s conftest.err
41149 } && test -s conftest$ac_exeext &&
41150 $as_test_x conftest$ac_exeext; then
41151 eval "$as_ac_var=yes"
41152 else
41153 echo "$as_me: failed program was:" >&5
41154 sed 's/^/| /' conftest.$ac_ext >&5
41155
41156 eval "$as_ac_var=no"
41157 fi
41158
41159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41160 conftest$ac_exeext conftest.$ac_ext
41161 fi
41162 ac_res=`eval echo '${'$as_ac_var'}'`
41163 { echo "$as_me:$LINENO: result: $ac_res" >&5
41164 echo "${ECHO_T}$ac_res" >&6; }
41165 if test `eval echo '${'$as_ac_var'}'` = yes; then
41166 cat >>confdefs.h <<_ACEOF
41167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41168 _ACEOF
41169 cat >>confdefs.h <<\_ACEOF
41170 #define HAVE_INET_ATON 1
41171 _ACEOF
41172
41173 else
41174
41175 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41176 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41177 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41178 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41179 echo $ECHO_N "(cached) $ECHO_C" >&6
41180 else
41181 ac_check_lib_save_LIBS=$LIBS
41182 LIBS="-l$INET_LINK $LIBS"
41183 cat >conftest.$ac_ext <<_ACEOF
41184 /* confdefs.h. */
41185 _ACEOF
41186 cat confdefs.h >>conftest.$ac_ext
41187 cat >>conftest.$ac_ext <<_ACEOF
41188 /* end confdefs.h. */
41189
41190 /* Override any GCC internal prototype to avoid an error.
41191 Use char because int might match the return type of a GCC
41192 builtin and then its argument prototype would still apply. */
41193 #ifdef __cplusplus
41194 extern "C"
41195 #endif
41196 char inet_aton ();
41197 int
41198 main ()
41199 {
41200 return inet_aton ();
41201 ;
41202 return 0;
41203 }
41204 _ACEOF
41205 rm -f conftest.$ac_objext conftest$ac_exeext
41206 if { (ac_try="$ac_link"
41207 case "(($ac_try" in
41208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41209 *) ac_try_echo=$ac_try;;
41210 esac
41211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41212 (eval "$ac_link") 2>conftest.er1
41213 ac_status=$?
41214 grep -v '^ *+' conftest.er1 >conftest.err
41215 rm -f conftest.er1
41216 cat conftest.err >&5
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); } && {
41219 test -z "$ac_c_werror_flag" ||
41220 test ! -s conftest.err
41221 } && test -s conftest$ac_exeext &&
41222 $as_test_x conftest$ac_exeext; then
41223 eval "$as_ac_Lib=yes"
41224 else
41225 echo "$as_me: failed program was:" >&5
41226 sed 's/^/| /' conftest.$ac_ext >&5
41227
41228 eval "$as_ac_Lib=no"
41229 fi
41230
41231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41232 conftest$ac_exeext conftest.$ac_ext
41233 LIBS=$ac_check_lib_save_LIBS
41234 fi
41235 ac_res=`eval echo '${'$as_ac_Lib'}'`
41236 { echo "$as_me:$LINENO: result: $ac_res" >&5
41237 echo "${ECHO_T}$ac_res" >&6; }
41238 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41239 cat >>confdefs.h <<\_ACEOF
41240 #define HAVE_INET_ATON 1
41241 _ACEOF
41242
41243 fi
41244
41245
41246 fi
41247 done
41248
41249
41250 if test "x$INET_LINK" != "x"; then
41251 cat >>confdefs.h <<\_ACEOF
41252 #define HAVE_INET_ADDR 1
41253 _ACEOF
41254
41255 INET_LINK=" -l$INET_LINK"
41256 fi
41257
41258
41259 for wx_func in fdopen
41260 do
41261 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41262 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41263 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41264 echo $ECHO_N "(cached) $ECHO_C" >&6
41265 else
41266
41267 cat >conftest.$ac_ext <<_ACEOF
41268
41269 /* confdefs.h. */
41270 _ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41274
41275
41276 $ac_includes_default
41277
41278 int
41279 main ()
41280 {
41281
41282 #ifndef $wx_func
41283 &$wx_func;
41284 #endif
41285
41286
41287 ;
41288 return 0;
41289 }
41290
41291 _ACEOF
41292 rm -f conftest.$ac_objext conftest$ac_exeext
41293 if { (ac_try="$ac_link"
41294 case "(($ac_try" in
41295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41296 *) ac_try_echo=$ac_try;;
41297 esac
41298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41299 (eval "$ac_link") 2>conftest.er1
41300 ac_status=$?
41301 grep -v '^ *+' conftest.er1 >conftest.err
41302 rm -f conftest.er1
41303 cat conftest.err >&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); } && {
41306 test -z "$ac_c_werror_flag" ||
41307 test ! -s conftest.err
41308 } && test -s conftest$ac_exeext &&
41309 $as_test_x conftest$ac_exeext; then
41310 eval wx_cv_func_$wx_func=yes
41311 else
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.$ac_ext >&5
41314
41315 eval wx_cv_func_$wx_func=no
41316 fi
41317
41318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41319 conftest$ac_exeext conftest.$ac_ext
41320
41321 fi
41322 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41323 { echo "$as_me:$LINENO: result: $ac_res" >&5
41324 echo "${ECHO_T}$ac_res" >&6; }
41325
41326 if eval test \$wx_cv_func_$wx_func = yes
41327 then
41328 cat >>confdefs.h <<_ACEOF
41329 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41330 _ACEOF
41331
41332
41333 else
41334 :
41335
41336 fi
41337 done
41338
41339
41340 fi
41341
41342
41343
41344 cat >confcache <<\_ACEOF
41345 # This file is a shell script that caches the results of configure
41346 # tests run on this system so they can be shared between configure
41347 # scripts and configure runs, see configure's option --config-cache.
41348 # It is not useful on other systems. If it contains results you don't
41349 # want to keep, you may remove or edit it.
41350 #
41351 # config.status only pays attention to the cache file if you give it
41352 # the --recheck option to rerun configure.
41353 #
41354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41356 # following values.
41357
41358 _ACEOF
41359
41360 # The following way of writing the cache mishandles newlines in values,
41361 # but we know of no workaround that is simple, portable, and efficient.
41362 # So, we kill variables containing newlines.
41363 # Ultrix sh set writes to stderr and can't be redirected directly,
41364 # and sets the high bit in the cache file unless we assign to the vars.
41365 (
41366 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41367 eval ac_val=\$$ac_var
41368 case $ac_val in #(
41369 *${as_nl}*)
41370 case $ac_var in #(
41371 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41372 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41373 esac
41374 case $ac_var in #(
41375 _ | IFS | as_nl) ;; #(
41376 *) $as_unset $ac_var ;;
41377 esac ;;
41378 esac
41379 done
41380
41381 (set) 2>&1 |
41382 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41383 *${as_nl}ac_space=\ *)
41384 # `set' does not quote correctly, so add quotes (double-quote
41385 # substitution turns \\\\ into \\, and sed turns \\ into \).
41386 sed -n \
41387 "s/'/'\\\\''/g;
41388 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41389 ;; #(
41390 *)
41391 # `set' quotes correctly as required by POSIX, so do not add quotes.
41392 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41393 ;;
41394 esac |
41395 sort
41396 ) |
41397 sed '
41398 /^ac_cv_env_/b end
41399 t clear
41400 :clear
41401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41402 t end
41403 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41404 :end' >>confcache
41405 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41406 if test -w "$cache_file"; then
41407 test "x$cache_file" != "x/dev/null" &&
41408 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41409 echo "$as_me: updating cache $cache_file" >&6;}
41410 cat confcache >$cache_file
41411 else
41412 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41413 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41414 fi
41415 fi
41416 rm -f confcache
41417
41418
41419 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41420
41421
41422 THREADS_LINK=
41423 THREADS_CFLAGS=
41424
41425 if test "$wxUSE_THREADS" = "yes" ; then
41426 if test "$USE_BEOS" = 1; then
41427 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41428 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41429 wxUSE_THREADS="no"
41430 fi
41431 fi
41432
41433 if test "$wxUSE_THREADS" = "yes" ; then
41434
41435
41436 THREAD_OPTS="-pthread"
41437 if test "x$SUNCXX" = xyes; then
41438 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41439 fi
41440
41441 case "${host}" in
41442 *-*-solaris2* | *-*-sunos4* )
41443 if test "x$GCC" = "xyes"; then
41444 THREAD_OPTS="-pthreads $THREAD_OPTS"
41445 fi
41446 ;;
41447 *-*-freebsd*)
41448 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41449 ;;
41450 *-*-darwin* | *-*-cygwin* )
41451 THREAD_OPTS=""
41452 ;;
41453 *-*-aix*)
41454 THREAD_OPTS="pthreads"
41455 ;;
41456 *-hp-hpux* )
41457 if test "x$GCC" = "xyes"; then
41458 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41459 THREAD_OPTS=""
41460 else
41461 THREAD_OPTS="-mt"
41462 fi
41463 ;;
41464
41465 *-*-irix* )
41466 if test "x$GCC" = "xyes"; then
41467 THREAD_OPTS=""
41468 fi
41469 ;;
41470
41471 *-*-*UnixWare*)
41472 if test "x$GCC" != "xyes"; then
41473 THREAD_OPTS="-Ethread"
41474 fi
41475 ;;
41476 esac
41477
41478 THREAD_OPTS="$THREAD_OPTS pthread none"
41479
41480 THREADS_OK=no
41481 for flag in $THREAD_OPTS; do
41482 case $flag in
41483 none)
41484 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41485 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41486 ;;
41487
41488 -*)
41489 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41490 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41491 THREADS_CFLAGS="$flag"
41492 ;;
41493
41494 *)
41495 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41496 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41497 THREADS_LINK="-l$flag"
41498 ;;
41499 esac
41500
41501 save_LIBS="$LIBS"
41502 save_CFLAGS="$CFLAGS"
41503 LIBS="$THREADS_LINK $LIBS"
41504 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41505
41506 cat >conftest.$ac_ext <<_ACEOF
41507 /* confdefs.h. */
41508 _ACEOF
41509 cat confdefs.h >>conftest.$ac_ext
41510 cat >>conftest.$ac_ext <<_ACEOF
41511 /* end confdefs.h. */
41512 #include <pthread.h>
41513 int
41514 main ()
41515 {
41516 pthread_create(0,0,0,0);
41517 ;
41518 return 0;
41519 }
41520 _ACEOF
41521 rm -f conftest.$ac_objext conftest$ac_exeext
41522 if { (ac_try="$ac_link"
41523 case "(($ac_try" in
41524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41525 *) ac_try_echo=$ac_try;;
41526 esac
41527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41528 (eval "$ac_link") 2>conftest.er1
41529 ac_status=$?
41530 grep -v '^ *+' conftest.er1 >conftest.err
41531 rm -f conftest.er1
41532 cat conftest.err >&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } && {
41535 test -z "$ac_c_werror_flag" ||
41536 test ! -s conftest.err
41537 } && test -s conftest$ac_exeext &&
41538 $as_test_x conftest$ac_exeext; then
41539 THREADS_OK=yes
41540 else
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41543
41544
41545 fi
41546
41547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41548 conftest$ac_exeext conftest.$ac_ext
41549
41550 LIBS="$save_LIBS"
41551 CFLAGS="$save_CFLAGS"
41552
41553 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41554 echo "${ECHO_T}$THREADS_OK" >&6; }
41555 if test "x$THREADS_OK" = "xyes"; then
41556 break;
41557 fi
41558
41559 THREADS_LINK=""
41560 THREADS_CFLAGS=""
41561 done
41562
41563 if test "x$THREADS_OK" != "xyes"; then
41564 wxUSE_THREADS=no
41565 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41566 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41567 else
41568 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41569 LIBS="$THREADS_LINK $LIBS"
41570
41571 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41572 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41573 flag=no
41574 case "${host}" in
41575 *-aix*)
41576 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41577 flag="-D_THREAD_SAFE"
41578 ;;
41579 *-freebsd*)
41580 flag="-D_THREAD_SAFE"
41581 ;;
41582 *-hp-hpux* )
41583 flag="-D_REENTRANT"
41584 if test "x$GCC" != "xyes"; then
41585 flag="$flag -D_RWSTD_MULTI_THREAD"
41586 fi
41587 ;;
41588 *solaris* | alpha*-osf*)
41589 flag="-D_REENTRANT"
41590 ;;
41591 esac
41592 { echo "$as_me:$LINENO: result: ${flag}" >&5
41593 echo "${ECHO_T}${flag}" >&6; }
41594 if test "x$flag" != xno; then
41595 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41596 fi
41597
41598 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41599 fi
41600 fi
41601
41602 if test "$wxUSE_THREADS" = "yes" ; then
41603
41604 for ac_func in thr_setconcurrency
41605 do
41606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41607 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41609 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 else
41612 cat >conftest.$ac_ext <<_ACEOF
41613 /* confdefs.h. */
41614 _ACEOF
41615 cat confdefs.h >>conftest.$ac_ext
41616 cat >>conftest.$ac_ext <<_ACEOF
41617 /* end confdefs.h. */
41618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41620 #define $ac_func innocuous_$ac_func
41621
41622 /* System header to define __stub macros and hopefully few prototypes,
41623 which can conflict with char $ac_func (); below.
41624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41625 <limits.h> exists even on freestanding compilers. */
41626
41627 #ifdef __STDC__
41628 # include <limits.h>
41629 #else
41630 # include <assert.h>
41631 #endif
41632
41633 #undef $ac_func
41634
41635 /* Override any GCC internal prototype to avoid an error.
41636 Use char because int might match the return type of a GCC
41637 builtin and then its argument prototype would still apply. */
41638 #ifdef __cplusplus
41639 extern "C"
41640 #endif
41641 char $ac_func ();
41642 /* The GNU C library defines this for functions which it implements
41643 to always fail with ENOSYS. Some functions are actually named
41644 something starting with __ and the normal name is an alias. */
41645 #if defined __stub_$ac_func || defined __stub___$ac_func
41646 choke me
41647 #endif
41648
41649 int
41650 main ()
41651 {
41652 return $ac_func ();
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 rm -f conftest.$ac_objext conftest$ac_exeext
41658 if { (ac_try="$ac_link"
41659 case "(($ac_try" in
41660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41661 *) ac_try_echo=$ac_try;;
41662 esac
41663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41664 (eval "$ac_link") 2>conftest.er1
41665 ac_status=$?
41666 grep -v '^ *+' conftest.er1 >conftest.err
41667 rm -f conftest.er1
41668 cat conftest.err >&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } && {
41671 test -z "$ac_c_werror_flag" ||
41672 test ! -s conftest.err
41673 } && test -s conftest$ac_exeext &&
41674 $as_test_x conftest$ac_exeext; then
41675 eval "$as_ac_var=yes"
41676 else
41677 echo "$as_me: failed program was:" >&5
41678 sed 's/^/| /' conftest.$ac_ext >&5
41679
41680 eval "$as_ac_var=no"
41681 fi
41682
41683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41684 conftest$ac_exeext conftest.$ac_ext
41685 fi
41686 ac_res=`eval echo '${'$as_ac_var'}'`
41687 { echo "$as_me:$LINENO: result: $ac_res" >&5
41688 echo "${ECHO_T}$ac_res" >&6; }
41689 if test `eval echo '${'$as_ac_var'}'` = yes; then
41690 cat >>confdefs.h <<_ACEOF
41691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41692 _ACEOF
41693
41694 fi
41695 done
41696
41697
41698 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41699 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41700 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41702 else
41703
41704 ac_ext=cpp
41705 ac_cpp='$CXXCPP $CPPFLAGS'
41706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41709
41710 cat >conftest.$ac_ext <<_ACEOF
41711 /* confdefs.h. */
41712 _ACEOF
41713 cat confdefs.h >>conftest.$ac_ext
41714 cat >>conftest.$ac_ext <<_ACEOF
41715 /* end confdefs.h. */
41716 #include <pthread.h>
41717 void ThreadCleanupFunc(void *p);
41718
41719 int
41720 main ()
41721 {
41722
41723 void *p;
41724 pthread_cleanup_push(ThreadCleanupFunc, p);
41725 pthread_cleanup_pop(0);
41726
41727 ;
41728 return 0;
41729 }
41730 _ACEOF
41731 rm -f conftest.$ac_objext
41732 if { (ac_try="$ac_compile"
41733 case "(($ac_try" in
41734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41735 *) ac_try_echo=$ac_try;;
41736 esac
41737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41738 (eval "$ac_compile") 2>conftest.er1
41739 ac_status=$?
41740 grep -v '^ *+' conftest.er1 >conftest.err
41741 rm -f conftest.er1
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } && {
41745 test -z "$ac_cxx_werror_flag" ||
41746 test ! -s conftest.err
41747 } && test -s conftest.$ac_objext; then
41748
41749 wx_cv_func_pthread_cleanup=yes
41750
41751 else
41752 echo "$as_me: failed program was:" >&5
41753 sed 's/^/| /' conftest.$ac_ext >&5
41754
41755
41756 wx_cv_func_pthread_cleanup=no
41757
41758
41759 fi
41760
41761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41762 ac_ext=c
41763 ac_cpp='$CPP $CPPFLAGS'
41764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41767
41768
41769 fi
41770 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41771 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41772 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41773 cat >>confdefs.h <<\_ACEOF
41774 #define wxHAVE_PTHREAD_CLEANUP 1
41775 _ACEOF
41776
41777 fi
41778
41779
41780 for ac_header in sched.h
41781 do
41782 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41786 echo $ECHO_N "(cached) $ECHO_C" >&6
41787 else
41788 cat >conftest.$ac_ext <<_ACEOF
41789 /* confdefs.h. */
41790 _ACEOF
41791 cat confdefs.h >>conftest.$ac_ext
41792 cat >>conftest.$ac_ext <<_ACEOF
41793 /* end confdefs.h. */
41794 $ac_includes_default
41795
41796 #include <$ac_header>
41797 _ACEOF
41798 rm -f conftest.$ac_objext
41799 if { (ac_try="$ac_compile"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41803 esac
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_compile") 2>conftest.er1
41806 ac_status=$?
41807 grep -v '^ *+' conftest.er1 >conftest.err
41808 rm -f conftest.er1
41809 cat conftest.err >&5
41810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41811 (exit $ac_status); } && {
41812 test -z "$ac_c_werror_flag" ||
41813 test ! -s conftest.err
41814 } && test -s conftest.$ac_objext; then
41815 eval "$as_ac_Header=yes"
41816 else
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41819
41820 eval "$as_ac_Header=no"
41821 fi
41822
41823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41824 fi
41825 ac_res=`eval echo '${'$as_ac_Header'}'`
41826 { echo "$as_me:$LINENO: result: $ac_res" >&5
41827 echo "${ECHO_T}$ac_res" >&6; }
41828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41829 cat >>confdefs.h <<_ACEOF
41830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41831 _ACEOF
41832
41833 fi
41834
41835 done
41836
41837 if test "$ac_cv_header_sched_h" = "yes"; then
41838 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41839 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41840 if test "${ac_cv_func_sched_yield+set}" = set; then
41841 echo $ECHO_N "(cached) $ECHO_C" >&6
41842 else
41843 cat >conftest.$ac_ext <<_ACEOF
41844 /* confdefs.h. */
41845 _ACEOF
41846 cat confdefs.h >>conftest.$ac_ext
41847 cat >>conftest.$ac_ext <<_ACEOF
41848 /* end confdefs.h. */
41849 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41851 #define sched_yield innocuous_sched_yield
41852
41853 /* System header to define __stub macros and hopefully few prototypes,
41854 which can conflict with char sched_yield (); below.
41855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41856 <limits.h> exists even on freestanding compilers. */
41857
41858 #ifdef __STDC__
41859 # include <limits.h>
41860 #else
41861 # include <assert.h>
41862 #endif
41863
41864 #undef sched_yield
41865
41866 /* Override any GCC internal prototype to avoid an error.
41867 Use char because int might match the return type of a GCC
41868 builtin and then its argument prototype would still apply. */
41869 #ifdef __cplusplus
41870 extern "C"
41871 #endif
41872 char sched_yield ();
41873 /* The GNU C library defines this for functions which it implements
41874 to always fail with ENOSYS. Some functions are actually named
41875 something starting with __ and the normal name is an alias. */
41876 #if defined __stub_sched_yield || defined __stub___sched_yield
41877 choke me
41878 #endif
41879
41880 int
41881 main ()
41882 {
41883 return sched_yield ();
41884 ;
41885 return 0;
41886 }
41887 _ACEOF
41888 rm -f conftest.$ac_objext conftest$ac_exeext
41889 if { (ac_try="$ac_link"
41890 case "(($ac_try" in
41891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41892 *) ac_try_echo=$ac_try;;
41893 esac
41894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41895 (eval "$ac_link") 2>conftest.er1
41896 ac_status=$?
41897 grep -v '^ *+' conftest.er1 >conftest.err
41898 rm -f conftest.er1
41899 cat conftest.err >&5
41900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901 (exit $ac_status); } && {
41902 test -z "$ac_c_werror_flag" ||
41903 test ! -s conftest.err
41904 } && test -s conftest$ac_exeext &&
41905 $as_test_x conftest$ac_exeext; then
41906 ac_cv_func_sched_yield=yes
41907 else
41908 echo "$as_me: failed program was:" >&5
41909 sed 's/^/| /' conftest.$ac_ext >&5
41910
41911 ac_cv_func_sched_yield=no
41912 fi
41913
41914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41915 conftest$ac_exeext conftest.$ac_ext
41916 fi
41917 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41918 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41919 if test $ac_cv_func_sched_yield = yes; then
41920 cat >>confdefs.h <<\_ACEOF
41921 #define HAVE_SCHED_YIELD 1
41922 _ACEOF
41923
41924 else
41925
41926 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41927 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41928 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41929 echo $ECHO_N "(cached) $ECHO_C" >&6
41930 else
41931 ac_check_lib_save_LIBS=$LIBS
41932 LIBS="-lposix4 $LIBS"
41933 cat >conftest.$ac_ext <<_ACEOF
41934 /* confdefs.h. */
41935 _ACEOF
41936 cat confdefs.h >>conftest.$ac_ext
41937 cat >>conftest.$ac_ext <<_ACEOF
41938 /* end confdefs.h. */
41939
41940 /* Override any GCC internal prototype to avoid an error.
41941 Use char because int might match the return type of a GCC
41942 builtin and then its argument prototype would still apply. */
41943 #ifdef __cplusplus
41944 extern "C"
41945 #endif
41946 char sched_yield ();
41947 int
41948 main ()
41949 {
41950 return sched_yield ();
41951 ;
41952 return 0;
41953 }
41954 _ACEOF
41955 rm -f conftest.$ac_objext conftest$ac_exeext
41956 if { (ac_try="$ac_link"
41957 case "(($ac_try" in
41958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41959 *) ac_try_echo=$ac_try;;
41960 esac
41961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41962 (eval "$ac_link") 2>conftest.er1
41963 ac_status=$?
41964 grep -v '^ *+' conftest.er1 >conftest.err
41965 rm -f conftest.er1
41966 cat conftest.err >&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); } && {
41969 test -z "$ac_c_werror_flag" ||
41970 test ! -s conftest.err
41971 } && test -s conftest$ac_exeext &&
41972 $as_test_x conftest$ac_exeext; then
41973 ac_cv_lib_posix4_sched_yield=yes
41974 else
41975 echo "$as_me: failed program was:" >&5
41976 sed 's/^/| /' conftest.$ac_ext >&5
41977
41978 ac_cv_lib_posix4_sched_yield=no
41979 fi
41980
41981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41982 conftest$ac_exeext conftest.$ac_ext
41983 LIBS=$ac_check_lib_save_LIBS
41984 fi
41985 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41986 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41987 if test $ac_cv_lib_posix4_sched_yield = yes; then
41988 cat >>confdefs.h <<\_ACEOF
41989 #define HAVE_SCHED_YIELD 1
41990 _ACEOF
41991 POSIX4_LINK=" -lposix4"
41992 else
41993 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41994 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41995
41996 fi
41997
41998
41999
42000 fi
42001
42002 fi
42003
42004 HAVE_PRIOR_FUNCS=0
42005 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
42006 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
42007 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
42008 echo $ECHO_N "(cached) $ECHO_C" >&6
42009 else
42010 cat >conftest.$ac_ext <<_ACEOF
42011 /* confdefs.h. */
42012 _ACEOF
42013 cat confdefs.h >>conftest.$ac_ext
42014 cat >>conftest.$ac_ext <<_ACEOF
42015 /* end confdefs.h. */
42016 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
42017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42018 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
42019
42020 /* System header to define __stub macros and hopefully few prototypes,
42021 which can conflict with char pthread_attr_getschedpolicy (); below.
42022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42023 <limits.h> exists even on freestanding compilers. */
42024
42025 #ifdef __STDC__
42026 # include <limits.h>
42027 #else
42028 # include <assert.h>
42029 #endif
42030
42031 #undef pthread_attr_getschedpolicy
42032
42033 /* Override any GCC internal prototype to avoid an error.
42034 Use char because int might match the return type of a GCC
42035 builtin and then its argument prototype would still apply. */
42036 #ifdef __cplusplus
42037 extern "C"
42038 #endif
42039 char pthread_attr_getschedpolicy ();
42040 /* The GNU C library defines this for functions which it implements
42041 to always fail with ENOSYS. Some functions are actually named
42042 something starting with __ and the normal name is an alias. */
42043 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
42044 choke me
42045 #endif
42046
42047 int
42048 main ()
42049 {
42050 return pthread_attr_getschedpolicy ();
42051 ;
42052 return 0;
42053 }
42054 _ACEOF
42055 rm -f conftest.$ac_objext conftest$ac_exeext
42056 if { (ac_try="$ac_link"
42057 case "(($ac_try" in
42058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42059 *) ac_try_echo=$ac_try;;
42060 esac
42061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42062 (eval "$ac_link") 2>conftest.er1
42063 ac_status=$?
42064 grep -v '^ *+' conftest.er1 >conftest.err
42065 rm -f conftest.er1
42066 cat conftest.err >&5
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); } && {
42069 test -z "$ac_c_werror_flag" ||
42070 test ! -s conftest.err
42071 } && test -s conftest$ac_exeext &&
42072 $as_test_x conftest$ac_exeext; then
42073 ac_cv_func_pthread_attr_getschedpolicy=yes
42074 else
42075 echo "$as_me: failed program was:" >&5
42076 sed 's/^/| /' conftest.$ac_ext >&5
42077
42078 ac_cv_func_pthread_attr_getschedpolicy=no
42079 fi
42080
42081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42082 conftest$ac_exeext conftest.$ac_ext
42083 fi
42084 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42085 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42086 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42087 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42088 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42089 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42090 echo $ECHO_N "(cached) $ECHO_C" >&6
42091 else
42092 cat >conftest.$ac_ext <<_ACEOF
42093 /* confdefs.h. */
42094 _ACEOF
42095 cat confdefs.h >>conftest.$ac_ext
42096 cat >>conftest.$ac_ext <<_ACEOF
42097 /* end confdefs.h. */
42098 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42100 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42101
42102 /* System header to define __stub macros and hopefully few prototypes,
42103 which can conflict with char pthread_attr_setschedparam (); below.
42104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42105 <limits.h> exists even on freestanding compilers. */
42106
42107 #ifdef __STDC__
42108 # include <limits.h>
42109 #else
42110 # include <assert.h>
42111 #endif
42112
42113 #undef pthread_attr_setschedparam
42114
42115 /* Override any GCC internal prototype to avoid an error.
42116 Use char because int might match the return type of a GCC
42117 builtin and then its argument prototype would still apply. */
42118 #ifdef __cplusplus
42119 extern "C"
42120 #endif
42121 char pthread_attr_setschedparam ();
42122 /* The GNU C library defines this for functions which it implements
42123 to always fail with ENOSYS. Some functions are actually named
42124 something starting with __ and the normal name is an alias. */
42125 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42126 choke me
42127 #endif
42128
42129 int
42130 main ()
42131 {
42132 return pthread_attr_setschedparam ();
42133 ;
42134 return 0;
42135 }
42136 _ACEOF
42137 rm -f conftest.$ac_objext conftest$ac_exeext
42138 if { (ac_try="$ac_link"
42139 case "(($ac_try" in
42140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42141 *) ac_try_echo=$ac_try;;
42142 esac
42143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42144 (eval "$ac_link") 2>conftest.er1
42145 ac_status=$?
42146 grep -v '^ *+' conftest.er1 >conftest.err
42147 rm -f conftest.er1
42148 cat conftest.err >&5
42149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42150 (exit $ac_status); } && {
42151 test -z "$ac_c_werror_flag" ||
42152 test ! -s conftest.err
42153 } && test -s conftest$ac_exeext &&
42154 $as_test_x conftest$ac_exeext; then
42155 ac_cv_func_pthread_attr_setschedparam=yes
42156 else
42157 echo "$as_me: failed program was:" >&5
42158 sed 's/^/| /' conftest.$ac_ext >&5
42159
42160 ac_cv_func_pthread_attr_setschedparam=no
42161 fi
42162
42163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42164 conftest$ac_exeext conftest.$ac_ext
42165 fi
42166 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42167 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42168 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42169 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42170 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42171 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42172 echo $ECHO_N "(cached) $ECHO_C" >&6
42173 else
42174 cat >conftest.$ac_ext <<_ACEOF
42175 /* confdefs.h. */
42176 _ACEOF
42177 cat confdefs.h >>conftest.$ac_ext
42178 cat >>conftest.$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42180 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42182 #define sched_get_priority_max innocuous_sched_get_priority_max
42183
42184 /* System header to define __stub macros and hopefully few prototypes,
42185 which can conflict with char sched_get_priority_max (); below.
42186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42187 <limits.h> exists even on freestanding compilers. */
42188
42189 #ifdef __STDC__
42190 # include <limits.h>
42191 #else
42192 # include <assert.h>
42193 #endif
42194
42195 #undef sched_get_priority_max
42196
42197 /* Override any GCC internal prototype to avoid an error.
42198 Use char because int might match the return type of a GCC
42199 builtin and then its argument prototype would still apply. */
42200 #ifdef __cplusplus
42201 extern "C"
42202 #endif
42203 char sched_get_priority_max ();
42204 /* The GNU C library defines this for functions which it implements
42205 to always fail with ENOSYS. Some functions are actually named
42206 something starting with __ and the normal name is an alias. */
42207 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42208 choke me
42209 #endif
42210
42211 int
42212 main ()
42213 {
42214 return sched_get_priority_max ();
42215 ;
42216 return 0;
42217 }
42218 _ACEOF
42219 rm -f conftest.$ac_objext conftest$ac_exeext
42220 if { (ac_try="$ac_link"
42221 case "(($ac_try" in
42222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42223 *) ac_try_echo=$ac_try;;
42224 esac
42225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42226 (eval "$ac_link") 2>conftest.er1
42227 ac_status=$?
42228 grep -v '^ *+' conftest.er1 >conftest.err
42229 rm -f conftest.er1
42230 cat conftest.err >&5
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); } && {
42233 test -z "$ac_c_werror_flag" ||
42234 test ! -s conftest.err
42235 } && test -s conftest$ac_exeext &&
42236 $as_test_x conftest$ac_exeext; then
42237 ac_cv_func_sched_get_priority_max=yes
42238 else
42239 echo "$as_me: failed program was:" >&5
42240 sed 's/^/| /' conftest.$ac_ext >&5
42241
42242 ac_cv_func_sched_get_priority_max=no
42243 fi
42244
42245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42246 conftest$ac_exeext conftest.$ac_ext
42247 fi
42248 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42249 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42250 if test $ac_cv_func_sched_get_priority_max = yes; then
42251 HAVE_PRIOR_FUNCS=1
42252 else
42253 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42254 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42255 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42256 echo $ECHO_N "(cached) $ECHO_C" >&6
42257 else
42258 ac_check_lib_save_LIBS=$LIBS
42259 LIBS="-lposix4 $LIBS"
42260 cat >conftest.$ac_ext <<_ACEOF
42261 /* confdefs.h. */
42262 _ACEOF
42263 cat confdefs.h >>conftest.$ac_ext
42264 cat >>conftest.$ac_ext <<_ACEOF
42265 /* end confdefs.h. */
42266
42267 /* Override any GCC internal prototype to avoid an error.
42268 Use char because int might match the return type of a GCC
42269 builtin and then its argument prototype would still apply. */
42270 #ifdef __cplusplus
42271 extern "C"
42272 #endif
42273 char sched_get_priority_max ();
42274 int
42275 main ()
42276 {
42277 return sched_get_priority_max ();
42278 ;
42279 return 0;
42280 }
42281 _ACEOF
42282 rm -f conftest.$ac_objext conftest$ac_exeext
42283 if { (ac_try="$ac_link"
42284 case "(($ac_try" in
42285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42286 *) ac_try_echo=$ac_try;;
42287 esac
42288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42289 (eval "$ac_link") 2>conftest.er1
42290 ac_status=$?
42291 grep -v '^ *+' conftest.er1 >conftest.err
42292 rm -f conftest.er1
42293 cat conftest.err >&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } && {
42296 test -z "$ac_c_werror_flag" ||
42297 test ! -s conftest.err
42298 } && test -s conftest$ac_exeext &&
42299 $as_test_x conftest$ac_exeext; then
42300 ac_cv_lib_posix4_sched_get_priority_max=yes
42301 else
42302 echo "$as_me: failed program was:" >&5
42303 sed 's/^/| /' conftest.$ac_ext >&5
42304
42305 ac_cv_lib_posix4_sched_get_priority_max=no
42306 fi
42307
42308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42309 conftest$ac_exeext conftest.$ac_ext
42310 LIBS=$ac_check_lib_save_LIBS
42311 fi
42312 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42313 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42314 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42315
42316 HAVE_PRIOR_FUNCS=1
42317 POSIX4_LINK=" -lposix4"
42318
42319 fi
42320
42321
42322 fi
42323
42324
42325 fi
42326
42327
42328 fi
42329
42330
42331 if test "$HAVE_PRIOR_FUNCS" = 1; then
42332 cat >>confdefs.h <<\_ACEOF
42333 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42334 _ACEOF
42335
42336 else
42337 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42338 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42339 fi
42340
42341 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42342 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42343 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42344 echo $ECHO_N "(cached) $ECHO_C" >&6
42345 else
42346 cat >conftest.$ac_ext <<_ACEOF
42347 /* confdefs.h. */
42348 _ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42354 #define pthread_cancel innocuous_pthread_cancel
42355
42356 /* System header to define __stub macros and hopefully few prototypes,
42357 which can conflict with char pthread_cancel (); below.
42358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42359 <limits.h> exists even on freestanding compilers. */
42360
42361 #ifdef __STDC__
42362 # include <limits.h>
42363 #else
42364 # include <assert.h>
42365 #endif
42366
42367 #undef pthread_cancel
42368
42369 /* Override any GCC internal prototype to avoid an error.
42370 Use char because int might match the return type of a GCC
42371 builtin and then its argument prototype would still apply. */
42372 #ifdef __cplusplus
42373 extern "C"
42374 #endif
42375 char pthread_cancel ();
42376 /* The GNU C library defines this for functions which it implements
42377 to always fail with ENOSYS. Some functions are actually named
42378 something starting with __ and the normal name is an alias. */
42379 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42380 choke me
42381 #endif
42382
42383 int
42384 main ()
42385 {
42386 return pthread_cancel ();
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 rm -f conftest.$ac_objext conftest$ac_exeext
42392 if { (ac_try="$ac_link"
42393 case "(($ac_try" in
42394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42395 *) ac_try_echo=$ac_try;;
42396 esac
42397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42398 (eval "$ac_link") 2>conftest.er1
42399 ac_status=$?
42400 grep -v '^ *+' conftest.er1 >conftest.err
42401 rm -f conftest.er1
42402 cat conftest.err >&5
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); } && {
42405 test -z "$ac_c_werror_flag" ||
42406 test ! -s conftest.err
42407 } && test -s conftest$ac_exeext &&
42408 $as_test_x conftest$ac_exeext; then
42409 ac_cv_func_pthread_cancel=yes
42410 else
42411 echo "$as_me: failed program was:" >&5
42412 sed 's/^/| /' conftest.$ac_ext >&5
42413
42414 ac_cv_func_pthread_cancel=no
42415 fi
42416
42417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42418 conftest$ac_exeext conftest.$ac_ext
42419 fi
42420 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42421 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42422 if test $ac_cv_func_pthread_cancel = yes; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define HAVE_PTHREAD_CANCEL 1
42425 _ACEOF
42426
42427 else
42428 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42429 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42430 fi
42431
42432
42433 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42434 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42435 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42436 echo $ECHO_N "(cached) $ECHO_C" >&6
42437 else
42438 cat >conftest.$ac_ext <<_ACEOF
42439 /* confdefs.h. */
42440 _ACEOF
42441 cat confdefs.h >>conftest.$ac_ext
42442 cat >>conftest.$ac_ext <<_ACEOF
42443 /* end confdefs.h. */
42444 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42446 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42447
42448 /* System header to define __stub macros and hopefully few prototypes,
42449 which can conflict with char pthread_mutex_timedlock (); below.
42450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42451 <limits.h> exists even on freestanding compilers. */
42452
42453 #ifdef __STDC__
42454 # include <limits.h>
42455 #else
42456 # include <assert.h>
42457 #endif
42458
42459 #undef pthread_mutex_timedlock
42460
42461 /* Override any GCC internal prototype to avoid an error.
42462 Use char because int might match the return type of a GCC
42463 builtin and then its argument prototype would still apply. */
42464 #ifdef __cplusplus
42465 extern "C"
42466 #endif
42467 char pthread_mutex_timedlock ();
42468 /* The GNU C library defines this for functions which it implements
42469 to always fail with ENOSYS. Some functions are actually named
42470 something starting with __ and the normal name is an alias. */
42471 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42472 choke me
42473 #endif
42474
42475 int
42476 main ()
42477 {
42478 return pthread_mutex_timedlock ();
42479 ;
42480 return 0;
42481 }
42482 _ACEOF
42483 rm -f conftest.$ac_objext conftest$ac_exeext
42484 if { (ac_try="$ac_link"
42485 case "(($ac_try" in
42486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42487 *) ac_try_echo=$ac_try;;
42488 esac
42489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42490 (eval "$ac_link") 2>conftest.er1
42491 ac_status=$?
42492 grep -v '^ *+' conftest.er1 >conftest.err
42493 rm -f conftest.er1
42494 cat conftest.err >&5
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); } && {
42497 test -z "$ac_c_werror_flag" ||
42498 test ! -s conftest.err
42499 } && test -s conftest$ac_exeext &&
42500 $as_test_x conftest$ac_exeext; then
42501 ac_cv_func_pthread_mutex_timedlock=yes
42502 else
42503 echo "$as_me: failed program was:" >&5
42504 sed 's/^/| /' conftest.$ac_ext >&5
42505
42506 ac_cv_func_pthread_mutex_timedlock=no
42507 fi
42508
42509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42510 conftest$ac_exeext conftest.$ac_ext
42511 fi
42512 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42513 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42514 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42515 cat >>confdefs.h <<\_ACEOF
42516 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42517 _ACEOF
42518
42519 else
42520 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42521 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42522 fi
42523
42524
42525 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42526 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42527 if test "${ac_cv_func_pthread_attr_setstacksize+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 pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42538 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42539
42540 /* System header to define __stub macros and hopefully few prototypes,
42541 which can conflict with char pthread_attr_setstacksize (); 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 pthread_attr_setstacksize
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 pthread_attr_setstacksize ();
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_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42564 choke me
42565 #endif
42566
42567 int
42568 main ()
42569 {
42570 return pthread_attr_setstacksize ();
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_pthread_attr_setstacksize=yes
42594 else
42595 echo "$as_me: failed program was:" >&5
42596 sed 's/^/| /' conftest.$ac_ext >&5
42597
42598 ac_cv_func_pthread_attr_setstacksize=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_pthread_attr_setstacksize" >&5
42605 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42606 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42609 _ACEOF
42610
42611 fi
42612
42613
42614
42615 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42616 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42617 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42618 echo $ECHO_N "(cached) $ECHO_C" >&6
42619 else
42620
42621 cat >conftest.$ac_ext <<_ACEOF
42622 /* confdefs.h. */
42623 _ACEOF
42624 cat confdefs.h >>conftest.$ac_ext
42625 cat >>conftest.$ac_ext <<_ACEOF
42626 /* end confdefs.h. */
42627 #include <pthread.h>
42628 int
42629 main ()
42630 {
42631
42632 pthread_mutexattr_t attr;
42633 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42634
42635 ;
42636 return 0;
42637 }
42638 _ACEOF
42639 rm -f conftest.$ac_objext
42640 if { (ac_try="$ac_compile"
42641 case "(($ac_try" in
42642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42643 *) ac_try_echo=$ac_try;;
42644 esac
42645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42646 (eval "$ac_compile") 2>conftest.er1
42647 ac_status=$?
42648 grep -v '^ *+' conftest.er1 >conftest.err
42649 rm -f conftest.er1
42650 cat conftest.err >&5
42651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652 (exit $ac_status); } && {
42653 test -z "$ac_c_werror_flag" ||
42654 test ! -s conftest.err
42655 } && test -s conftest.$ac_objext; then
42656 wx_cv_type_pthread_mutexattr_t=yes
42657 else
42658 echo "$as_me: failed program was:" >&5
42659 sed 's/^/| /' conftest.$ac_ext >&5
42660
42661 wx_cv_type_pthread_mutexattr_t=no
42662
42663 fi
42664
42665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42666
42667 fi
42668 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42669 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42670
42671 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define HAVE_PTHREAD_MUTEXATTR_T 1
42674 _ACEOF
42675
42676
42677 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42678 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42679 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42680 echo $ECHO_N "(cached) $ECHO_C" >&6
42681 else
42682
42683 cat >conftest.$ac_ext <<_ACEOF
42684 /* confdefs.h. */
42685 _ACEOF
42686 cat confdefs.h >>conftest.$ac_ext
42687 cat >>conftest.$ac_ext <<_ACEOF
42688 /* end confdefs.h. */
42689 #include <pthread.h>
42690 int
42691 main ()
42692 {
42693
42694 pthread_mutexattr_t attr;
42695 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42696
42697 ;
42698 return 0;
42699 }
42700 _ACEOF
42701 rm -f conftest.$ac_objext
42702 if { (ac_try="$ac_compile"
42703 case "(($ac_try" in
42704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42705 *) ac_try_echo=$ac_try;;
42706 esac
42707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42708 (eval "$ac_compile") 2>conftest.er1
42709 ac_status=$?
42710 grep -v '^ *+' conftest.er1 >conftest.err
42711 rm -f conftest.er1
42712 cat conftest.err >&5
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); } && {
42715 test -z "$ac_c_werror_flag" ||
42716 test ! -s conftest.err
42717 } && test -s conftest.$ac_objext; then
42718 wx_cv_func_pthread_mutexattr_settype_decl=yes
42719 else
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.$ac_ext >&5
42722
42723 wx_cv_func_pthread_mutexattr_settype_decl=no
42724
42725 fi
42726
42727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42728
42729 fi
42730 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42731 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42732 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42735 _ACEOF
42736
42737 fi
42738 else
42739 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42740 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42741 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42742 echo $ECHO_N "(cached) $ECHO_C" >&6
42743 else
42744
42745 cat >conftest.$ac_ext <<_ACEOF
42746 /* confdefs.h. */
42747 _ACEOF
42748 cat confdefs.h >>conftest.$ac_ext
42749 cat >>conftest.$ac_ext <<_ACEOF
42750 /* end confdefs.h. */
42751 #include <pthread.h>
42752 int
42753 main ()
42754 {
42755
42756 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42757
42758 ;
42759 return 0;
42760 }
42761 _ACEOF
42762 rm -f conftest.$ac_objext
42763 if { (ac_try="$ac_compile"
42764 case "(($ac_try" in
42765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42766 *) ac_try_echo=$ac_try;;
42767 esac
42768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42769 (eval "$ac_compile") 2>conftest.er1
42770 ac_status=$?
42771 grep -v '^ *+' conftest.er1 >conftest.err
42772 rm -f conftest.er1
42773 cat conftest.err >&5
42774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42775 (exit $ac_status); } && {
42776 test -z "$ac_c_werror_flag" ||
42777 test ! -s conftest.err
42778 } && test -s conftest.$ac_objext; then
42779
42780 wx_cv_type_pthread_rec_mutex_init=yes
42781
42782 else
42783 echo "$as_me: failed program was:" >&5
42784 sed 's/^/| /' conftest.$ac_ext >&5
42785
42786
42787 wx_cv_type_pthread_rec_mutex_init=no
42788
42789
42790 fi
42791
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793
42794 fi
42795 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42796 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42797 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42798 cat >>confdefs.h <<\_ACEOF
42799 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42800 _ACEOF
42801
42802 else
42803 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42804 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42805 fi
42806 fi
42807 fi
42808
42809 else
42810 if test "$wxUSE_THREADS" = "yes" ; then
42811 case "${host}" in
42812 *-*-mingw32* )
42813 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42814 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42815 if test "${wx_cv_cflags_mthread+set}" = set; then
42816 echo $ECHO_N "(cached) $ECHO_C" >&6
42817 else
42818
42819 CFLAGS_OLD="$CFLAGS"
42820 CFLAGS="-mthreads $CFLAGS"
42821 cat >conftest.$ac_ext <<_ACEOF
42822 /* confdefs.h. */
42823 _ACEOF
42824 cat confdefs.h >>conftest.$ac_ext
42825 cat >>conftest.$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42827
42828 int
42829 main ()
42830 {
42831
42832 ;
42833 return 0;
42834 }
42835 _ACEOF
42836 rm -f conftest.$ac_objext
42837 if { (ac_try="$ac_compile"
42838 case "(($ac_try" in
42839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42840 *) ac_try_echo=$ac_try;;
42841 esac
42842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42843 (eval "$ac_compile") 2>conftest.er1
42844 ac_status=$?
42845 grep -v '^ *+' conftest.er1 >conftest.err
42846 rm -f conftest.er1
42847 cat conftest.err >&5
42848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42849 (exit $ac_status); } && {
42850 test -z "$ac_c_werror_flag" ||
42851 test ! -s conftest.err
42852 } && test -s conftest.$ac_objext; then
42853 wx_cv_cflags_mthread=yes
42854 else
42855 echo "$as_me: failed program was:" >&5
42856 sed 's/^/| /' conftest.$ac_ext >&5
42857
42858 wx_cv_cflags_mthread=no
42859
42860 fi
42861
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863
42864
42865 fi
42866 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42867 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42868
42869 if test "$wx_cv_cflags_mthread" = "yes"; then
42870 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42871 LDFLAGS="$LDFLAGS -mthreads"
42872 else
42873 CFLAGS="$CFLAGS_OLD"
42874 fi
42875 ;;
42876 *-pc-os2*emx )
42877 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42878 LDFLAGS="$LDFLAGS -Zmt"
42879 ;;
42880 esac
42881 fi
42882 fi
42883
42884 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42885 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42886 if test "${ac_cv_func_localtime_r+set}" = set; then
42887 echo $ECHO_N "(cached) $ECHO_C" >&6
42888 else
42889 cat >conftest.$ac_ext <<_ACEOF
42890 /* confdefs.h. */
42891 _ACEOF
42892 cat confdefs.h >>conftest.$ac_ext
42893 cat >>conftest.$ac_ext <<_ACEOF
42894 /* end confdefs.h. */
42895 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42897 #define localtime_r innocuous_localtime_r
42898
42899 /* System header to define __stub macros and hopefully few prototypes,
42900 which can conflict with char localtime_r (); below.
42901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42902 <limits.h> exists even on freestanding compilers. */
42903
42904 #ifdef __STDC__
42905 # include <limits.h>
42906 #else
42907 # include <assert.h>
42908 #endif
42909
42910 #undef localtime_r
42911
42912 /* Override any GCC internal prototype to avoid an error.
42913 Use char because int might match the return type of a GCC
42914 builtin and then its argument prototype would still apply. */
42915 #ifdef __cplusplus
42916 extern "C"
42917 #endif
42918 char localtime_r ();
42919 /* The GNU C library defines this for functions which it implements
42920 to always fail with ENOSYS. Some functions are actually named
42921 something starting with __ and the normal name is an alias. */
42922 #if defined __stub_localtime_r || defined __stub___localtime_r
42923 choke me
42924 #endif
42925
42926 int
42927 main ()
42928 {
42929 return localtime_r ();
42930 ;
42931 return 0;
42932 }
42933 _ACEOF
42934 rm -f conftest.$ac_objext conftest$ac_exeext
42935 if { (ac_try="$ac_link"
42936 case "(($ac_try" in
42937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42938 *) ac_try_echo=$ac_try;;
42939 esac
42940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42941 (eval "$ac_link") 2>conftest.er1
42942 ac_status=$?
42943 grep -v '^ *+' conftest.er1 >conftest.err
42944 rm -f conftest.er1
42945 cat conftest.err >&5
42946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42947 (exit $ac_status); } && {
42948 test -z "$ac_c_werror_flag" ||
42949 test ! -s conftest.err
42950 } && test -s conftest$ac_exeext &&
42951 $as_test_x conftest$ac_exeext; then
42952 ac_cv_func_localtime_r=yes
42953 else
42954 echo "$as_me: failed program was:" >&5
42955 sed 's/^/| /' conftest.$ac_ext >&5
42956
42957 ac_cv_func_localtime_r=no
42958 fi
42959
42960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42961 conftest$ac_exeext conftest.$ac_ext
42962 fi
42963 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42964 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42965 if test $ac_cv_func_localtime_r = yes; then
42966 cat >>confdefs.h <<\_ACEOF
42967 #define HAVE_LOCALTIME_R 1
42968 _ACEOF
42969
42970 fi
42971
42972 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42973 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42974 if test "${ac_cv_func_gmtime_r+set}" = set; then
42975 echo $ECHO_N "(cached) $ECHO_C" >&6
42976 else
42977 cat >conftest.$ac_ext <<_ACEOF
42978 /* confdefs.h. */
42979 _ACEOF
42980 cat confdefs.h >>conftest.$ac_ext
42981 cat >>conftest.$ac_ext <<_ACEOF
42982 /* end confdefs.h. */
42983 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42985 #define gmtime_r innocuous_gmtime_r
42986
42987 /* System header to define __stub macros and hopefully few prototypes,
42988 which can conflict with char gmtime_r (); below.
42989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42990 <limits.h> exists even on freestanding compilers. */
42991
42992 #ifdef __STDC__
42993 # include <limits.h>
42994 #else
42995 # include <assert.h>
42996 #endif
42997
42998 #undef gmtime_r
42999
43000 /* Override any GCC internal prototype to avoid an error.
43001 Use char because int might match the return type of a GCC
43002 builtin and then its argument prototype would still apply. */
43003 #ifdef __cplusplus
43004 extern "C"
43005 #endif
43006 char gmtime_r ();
43007 /* The GNU C library defines this for functions which it implements
43008 to always fail with ENOSYS. Some functions are actually named
43009 something starting with __ and the normal name is an alias. */
43010 #if defined __stub_gmtime_r || defined __stub___gmtime_r
43011 choke me
43012 #endif
43013
43014 int
43015 main ()
43016 {
43017 return gmtime_r ();
43018 ;
43019 return 0;
43020 }
43021 _ACEOF
43022 rm -f conftest.$ac_objext conftest$ac_exeext
43023 if { (ac_try="$ac_link"
43024 case "(($ac_try" in
43025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43026 *) ac_try_echo=$ac_try;;
43027 esac
43028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43029 (eval "$ac_link") 2>conftest.er1
43030 ac_status=$?
43031 grep -v '^ *+' conftest.er1 >conftest.err
43032 rm -f conftest.er1
43033 cat conftest.err >&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); } && {
43036 test -z "$ac_c_werror_flag" ||
43037 test ! -s conftest.err
43038 } && test -s conftest$ac_exeext &&
43039 $as_test_x conftest$ac_exeext; then
43040 ac_cv_func_gmtime_r=yes
43041 else
43042 echo "$as_me: failed program was:" >&5
43043 sed 's/^/| /' conftest.$ac_ext >&5
43044
43045 ac_cv_func_gmtime_r=no
43046 fi
43047
43048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43049 conftest$ac_exeext conftest.$ac_ext
43050 fi
43051 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43052 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
43053 if test $ac_cv_func_gmtime_r = yes; then
43054 cat >>confdefs.h <<\_ACEOF
43055 #define HAVE_GMTIME_R 1
43056 _ACEOF
43057
43058 fi
43059
43060 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43061 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43062 if test "${ac_cv_func_readdir_r+set}" = set; then
43063 echo $ECHO_N "(cached) $ECHO_C" >&6
43064 else
43065 cat >conftest.$ac_ext <<_ACEOF
43066 /* confdefs.h. */
43067 _ACEOF
43068 cat confdefs.h >>conftest.$ac_ext
43069 cat >>conftest.$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43071 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43073 #define readdir_r innocuous_readdir_r
43074
43075 /* System header to define __stub macros and hopefully few prototypes,
43076 which can conflict with char readdir_r (); below.
43077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43078 <limits.h> exists even on freestanding compilers. */
43079
43080 #ifdef __STDC__
43081 # include <limits.h>
43082 #else
43083 # include <assert.h>
43084 #endif
43085
43086 #undef readdir_r
43087
43088 /* Override any GCC internal prototype to avoid an error.
43089 Use char because int might match the return type of a GCC
43090 builtin and then its argument prototype would still apply. */
43091 #ifdef __cplusplus
43092 extern "C"
43093 #endif
43094 char readdir_r ();
43095 /* The GNU C library defines this for functions which it implements
43096 to always fail with ENOSYS. Some functions are actually named
43097 something starting with __ and the normal name is an alias. */
43098 #if defined __stub_readdir_r || defined __stub___readdir_r
43099 choke me
43100 #endif
43101
43102 int
43103 main ()
43104 {
43105 return readdir_r ();
43106 ;
43107 return 0;
43108 }
43109 _ACEOF
43110 rm -f conftest.$ac_objext conftest$ac_exeext
43111 if { (ac_try="$ac_link"
43112 case "(($ac_try" in
43113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43114 *) ac_try_echo=$ac_try;;
43115 esac
43116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43117 (eval "$ac_link") 2>conftest.er1
43118 ac_status=$?
43119 grep -v '^ *+' conftest.er1 >conftest.err
43120 rm -f conftest.er1
43121 cat conftest.err >&5
43122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43123 (exit $ac_status); } && {
43124 test -z "$ac_c_werror_flag" ||
43125 test ! -s conftest.err
43126 } && test -s conftest$ac_exeext &&
43127 $as_test_x conftest$ac_exeext; then
43128 ac_cv_func_readdir_r=yes
43129 else
43130 echo "$as_me: failed program was:" >&5
43131 sed 's/^/| /' conftest.$ac_ext >&5
43132
43133 ac_cv_func_readdir_r=no
43134 fi
43135
43136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43137 conftest$ac_exeext conftest.$ac_ext
43138 fi
43139 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43140 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43141 if test $ac_cv_func_readdir_r = yes; then
43142 cat >>confdefs.h <<\_ACEOF
43143 #define HAVE_READDIR_R 1
43144 _ACEOF
43145
43146 fi
43147
43148
43149
43150
43151 ac_ext=c
43152 ac_cpp='$CPP $CPPFLAGS'
43153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43156
43157 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43158 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43159
43160 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43161 echo $ECHO_N "(cached) $ECHO_C" >&6
43162 else
43163
43164
43165 ################################################################
43166
43167 ac_cv_func_which_gethostbyname_r=unknown
43168
43169 #
43170 # ONE ARGUMENT (sanity check)
43171 #
43172
43173 # This should fail, as there is no variant of gethostbyname_r() that takes
43174 # a single argument. If it actually compiles, then we can assume that
43175 # netdb.h is not declaring the function, and the compiler is thereby
43176 # assuming an implicit prototype. In which case, we're out of luck.
43177 #
43178 cat >conftest.$ac_ext <<_ACEOF
43179 /* confdefs.h. */
43180 _ACEOF
43181 cat confdefs.h >>conftest.$ac_ext
43182 cat >>conftest.$ac_ext <<_ACEOF
43183 /* end confdefs.h. */
43184 #include <netdb.h>
43185 int
43186 main ()
43187 {
43188
43189 char *name = "www.gnu.org";
43190 (void)gethostbyname_r(name) /* ; */
43191
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 rm -f conftest.$ac_objext
43197 if { (ac_try="$ac_compile"
43198 case "(($ac_try" in
43199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43201 esac
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_compile") 2>conftest.er1
43204 ac_status=$?
43205 grep -v '^ *+' conftest.er1 >conftest.err
43206 rm -f conftest.er1
43207 cat conftest.err >&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); } && {
43210 test -z "$ac_c_werror_flag" ||
43211 test ! -s conftest.err
43212 } && test -s conftest.$ac_objext; then
43213 ac_cv_func_which_gethostbyname_r=no
43214 else
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43217
43218
43219 fi
43220
43221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43222
43223 #
43224 # SIX ARGUMENTS
43225 # (e.g. Linux)
43226 #
43227
43228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43229
43230 cat >conftest.$ac_ext <<_ACEOF
43231 /* confdefs.h. */
43232 _ACEOF
43233 cat confdefs.h >>conftest.$ac_ext
43234 cat >>conftest.$ac_ext <<_ACEOF
43235 /* end confdefs.h. */
43236 #include <netdb.h>
43237 int
43238 main ()
43239 {
43240
43241 char *name = "www.gnu.org";
43242 struct hostent ret, *retp;
43243 char buf[1024];
43244 int buflen = 1024;
43245 int my_h_errno;
43246 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43247
43248 ;
43249 return 0;
43250 }
43251 _ACEOF
43252 rm -f conftest.$ac_objext
43253 if { (ac_try="$ac_compile"
43254 case "(($ac_try" in
43255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43256 *) ac_try_echo=$ac_try;;
43257 esac
43258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43259 (eval "$ac_compile") 2>conftest.er1
43260 ac_status=$?
43261 grep -v '^ *+' conftest.er1 >conftest.err
43262 rm -f conftest.er1
43263 cat conftest.err >&5
43264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43265 (exit $ac_status); } && {
43266 test -z "$ac_c_werror_flag" ||
43267 test ! -s conftest.err
43268 } && test -s conftest.$ac_objext; then
43269 ac_cv_func_which_gethostbyname_r=six
43270 else
43271 echo "$as_me: failed program was:" >&5
43272 sed 's/^/| /' conftest.$ac_ext >&5
43273
43274
43275 fi
43276
43277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43278
43279 fi
43280
43281 #
43282 # FIVE ARGUMENTS
43283 # (e.g. Solaris)
43284 #
43285
43286 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43287
43288 cat >conftest.$ac_ext <<_ACEOF
43289 /* confdefs.h. */
43290 _ACEOF
43291 cat confdefs.h >>conftest.$ac_ext
43292 cat >>conftest.$ac_ext <<_ACEOF
43293 /* end confdefs.h. */
43294 #include <netdb.h>
43295 int
43296 main ()
43297 {
43298
43299 char *name = "www.gnu.org";
43300 struct hostent ret;
43301 char buf[1024];
43302 int buflen = 1024;
43303 int my_h_errno;
43304 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
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_c_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.$ac_objext; then
43327 ac_cv_func_which_gethostbyname_r=five
43328 else
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43331
43332
43333 fi
43334
43335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43336
43337 fi
43338
43339 #
43340 # THREE ARGUMENTS
43341 # (e.g. AIX, HP-UX, Tru64)
43342 #
43343
43344 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43345
43346 cat >conftest.$ac_ext <<_ACEOF
43347 /* confdefs.h. */
43348 _ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h. */
43352 #include <netdb.h>
43353 int
43354 main ()
43355 {
43356
43357 char *name = "www.gnu.org";
43358 struct hostent ret;
43359 struct hostent_data data;
43360 (void)gethostbyname_r(name, &ret, &data) /* ; */
43361
43362 ;
43363 return 0;
43364 }
43365 _ACEOF
43366 rm -f conftest.$ac_objext
43367 if { (ac_try="$ac_compile"
43368 case "(($ac_try" in
43369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43370 *) ac_try_echo=$ac_try;;
43371 esac
43372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43373 (eval "$ac_compile") 2>conftest.er1
43374 ac_status=$?
43375 grep -v '^ *+' conftest.er1 >conftest.err
43376 rm -f conftest.er1
43377 cat conftest.err >&5
43378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43379 (exit $ac_status); } && {
43380 test -z "$ac_c_werror_flag" ||
43381 test ! -s conftest.err
43382 } && test -s conftest.$ac_objext; then
43383 ac_cv_func_which_gethostbyname_r=three
43384 else
43385 echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43387
43388
43389 fi
43390
43391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43392
43393 fi
43394
43395 ################################################################
43396
43397
43398 fi
43399
43400 case "$ac_cv_func_which_gethostbyname_r" in
43401 three)
43402 { echo "$as_me:$LINENO: result: three" >&5
43403 echo "${ECHO_T}three" >&6; }
43404 cat >>confdefs.h <<\_ACEOF
43405 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43406 _ACEOF
43407
43408 ;;
43409
43410 five)
43411 { echo "$as_me:$LINENO: result: five" >&5
43412 echo "${ECHO_T}five" >&6; }
43413 cat >>confdefs.h <<\_ACEOF
43414 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43415 _ACEOF
43416
43417 ;;
43418
43419 six)
43420 { echo "$as_me:$LINENO: result: six" >&5
43421 echo "${ECHO_T}six" >&6; }
43422 cat >>confdefs.h <<\_ACEOF
43423 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43424 _ACEOF
43425
43426 ;;
43427
43428 no)
43429 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43430 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43431 ;;
43432
43433 unknown)
43434 { echo "$as_me:$LINENO: result: can't tell" >&5
43435 echo "${ECHO_T}can't tell" >&6; }
43436 ;;
43437
43438 *)
43439 { { echo "$as_me:$LINENO: error: internal error" >&5
43440 echo "$as_me: error: internal error" >&2;}
43441 { (exit 1); exit 1; }; }
43442 ;;
43443 esac
43444
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43450
43451
43452
43453 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43454 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43455 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43456 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43457 if test "${ac_cv_func_gethostbyname+set}" = set; then
43458 echo $ECHO_N "(cached) $ECHO_C" >&6
43459 else
43460 cat >conftest.$ac_ext <<_ACEOF
43461 /* confdefs.h. */
43462 _ACEOF
43463 cat confdefs.h >>conftest.$ac_ext
43464 cat >>conftest.$ac_ext <<_ACEOF
43465 /* end confdefs.h. */
43466 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43468 #define gethostbyname innocuous_gethostbyname
43469
43470 /* System header to define __stub macros and hopefully few prototypes,
43471 which can conflict with char gethostbyname (); below.
43472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43473 <limits.h> exists even on freestanding compilers. */
43474
43475 #ifdef __STDC__
43476 # include <limits.h>
43477 #else
43478 # include <assert.h>
43479 #endif
43480
43481 #undef gethostbyname
43482
43483 /* Override any GCC internal prototype to avoid an error.
43484 Use char because int might match the return type of a GCC
43485 builtin and then its argument prototype would still apply. */
43486 #ifdef __cplusplus
43487 extern "C"
43488 #endif
43489 char gethostbyname ();
43490 /* The GNU C library defines this for functions which it implements
43491 to always fail with ENOSYS. Some functions are actually named
43492 something starting with __ and the normal name is an alias. */
43493 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43494 choke me
43495 #endif
43496
43497 int
43498 main ()
43499 {
43500 return gethostbyname ();
43501 ;
43502 return 0;
43503 }
43504 _ACEOF
43505 rm -f conftest.$ac_objext conftest$ac_exeext
43506 if { (ac_try="$ac_link"
43507 case "(($ac_try" in
43508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43509 *) ac_try_echo=$ac_try;;
43510 esac
43511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43512 (eval "$ac_link") 2>conftest.er1
43513 ac_status=$?
43514 grep -v '^ *+' conftest.er1 >conftest.err
43515 rm -f conftest.er1
43516 cat conftest.err >&5
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); } && {
43519 test -z "$ac_c_werror_flag" ||
43520 test ! -s conftest.err
43521 } && test -s conftest$ac_exeext &&
43522 $as_test_x conftest$ac_exeext; then
43523 ac_cv_func_gethostbyname=yes
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43527
43528 ac_cv_func_gethostbyname=no
43529 fi
43530
43531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43532 conftest$ac_exeext conftest.$ac_ext
43533 fi
43534 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43535 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43536 if test $ac_cv_func_gethostbyname = yes; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define HAVE_GETHOSTBYNAME 1
43539 _ACEOF
43540
43541 fi
43542
43543 fi
43544
43545 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43546 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43547 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43548 echo $ECHO_N "(cached) $ECHO_C" >&6
43549 else
43550
43551 ac_ext=cpp
43552 ac_cpp='$CXXCPP $CPPFLAGS'
43553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556
43557
43558 cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h. */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43564 #include <netdb.h>
43565 int
43566 main ()
43567 {
43568
43569 char *name;
43570 char *proto;
43571 struct servent *se, *res;
43572 char buffer[2048];
43573 int buflen = 2048;
43574 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43575
43576 ;
43577 return 0;
43578 }
43579 _ACEOF
43580 rm -f conftest.$ac_objext
43581 if { (ac_try="$ac_compile"
43582 case "(($ac_try" in
43583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43584 *) ac_try_echo=$ac_try;;
43585 esac
43586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43587 (eval "$ac_compile") 2>conftest.er1
43588 ac_status=$?
43589 grep -v '^ *+' conftest.er1 >conftest.err
43590 rm -f conftest.er1
43591 cat conftest.err >&5
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); } && {
43594 test -z "$ac_cxx_werror_flag" ||
43595 test ! -s conftest.err
43596 } && test -s conftest.$ac_objext; then
43597 ac_cv_func_which_getservbyname_r=six
43598 else
43599 echo "$as_me: failed program was:" >&5
43600 sed 's/^/| /' conftest.$ac_ext >&5
43601
43602
43603 cat >conftest.$ac_ext <<_ACEOF
43604 /* confdefs.h. */
43605 _ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43609 #include <netdb.h>
43610 int
43611 main ()
43612 {
43613
43614 char *name;
43615 char *proto;
43616 struct servent *se;
43617 char buffer[2048];
43618 int buflen = 2048;
43619 (void) getservbyname_r(name, proto, se, buffer, buflen)
43620
43621 ;
43622 return 0;
43623 }
43624 _ACEOF
43625 rm -f conftest.$ac_objext
43626 if { (ac_try="$ac_compile"
43627 case "(($ac_try" in
43628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43629 *) ac_try_echo=$ac_try;;
43630 esac
43631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43632 (eval "$ac_compile") 2>conftest.er1
43633 ac_status=$?
43634 grep -v '^ *+' conftest.er1 >conftest.err
43635 rm -f conftest.er1
43636 cat conftest.err >&5
43637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43638 (exit $ac_status); } && {
43639 test -z "$ac_cxx_werror_flag" ||
43640 test ! -s conftest.err
43641 } && test -s conftest.$ac_objext; then
43642 ac_cv_func_which_getservbyname_r=five
43643 else
43644 echo "$as_me: failed program was:" >&5
43645 sed 's/^/| /' conftest.$ac_ext >&5
43646
43647
43648 cat >conftest.$ac_ext <<_ACEOF
43649 /* confdefs.h. */
43650 _ACEOF
43651 cat confdefs.h >>conftest.$ac_ext
43652 cat >>conftest.$ac_ext <<_ACEOF
43653 /* end confdefs.h. */
43654 #include <netdb.h>
43655 int
43656 main ()
43657 {
43658
43659 char *name;
43660 char *proto;
43661 struct servent *se;
43662 struct servent_data data;
43663 (void) getservbyname_r(name, proto, se, &data);
43664
43665 ;
43666 return 0;
43667 }
43668 _ACEOF
43669 rm -f conftest.$ac_objext
43670 if { (ac_try="$ac_compile"
43671 case "(($ac_try" in
43672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43673 *) ac_try_echo=$ac_try;;
43674 esac
43675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43676 (eval "$ac_compile") 2>conftest.er1
43677 ac_status=$?
43678 grep -v '^ *+' conftest.er1 >conftest.err
43679 rm -f conftest.er1
43680 cat conftest.err >&5
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); } && {
43683 test -z "$ac_cxx_werror_flag" ||
43684 test ! -s conftest.err
43685 } && test -s conftest.$ac_objext; then
43686 ac_cv_func_which_getservbyname_r=four
43687 else
43688 echo "$as_me: failed program was:" >&5
43689 sed 's/^/| /' conftest.$ac_ext >&5
43690
43691 ac_cv_func_which_getservbyname_r=no
43692
43693 fi
43694
43695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43696
43697
43698 fi
43699
43700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43701
43702
43703 fi
43704
43705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43706 ac_ext=c
43707 ac_cpp='$CPP $CPPFLAGS'
43708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43711
43712
43713
43714 fi
43715 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43716 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43717
43718 if test $ac_cv_func_which_getservbyname_r = six; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43721 _ACEOF
43722
43723 elif test $ac_cv_func_which_getservbyname_r = five; then
43724 cat >>confdefs.h <<\_ACEOF
43725 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43726 _ACEOF
43727
43728 elif test $ac_cv_func_which_getservbyname_r = four; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43731 _ACEOF
43732
43733 fi
43734
43735
43736 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43737 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43738
43739 for ac_func in getservbyname
43740 do
43741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43744 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43746 else
43747 cat >conftest.$ac_ext <<_ACEOF
43748 /* confdefs.h. */
43749 _ACEOF
43750 cat confdefs.h >>conftest.$ac_ext
43751 cat >>conftest.$ac_ext <<_ACEOF
43752 /* end confdefs.h. */
43753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43755 #define $ac_func innocuous_$ac_func
43756
43757 /* System header to define __stub macros and hopefully few prototypes,
43758 which can conflict with char $ac_func (); below.
43759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43760 <limits.h> exists even on freestanding compilers. */
43761
43762 #ifdef __STDC__
43763 # include <limits.h>
43764 #else
43765 # include <assert.h>
43766 #endif
43767
43768 #undef $ac_func
43769
43770 /* Override any GCC internal prototype to avoid an error.
43771 Use char because int might match the return type of a GCC
43772 builtin and then its argument prototype would still apply. */
43773 #ifdef __cplusplus
43774 extern "C"
43775 #endif
43776 char $ac_func ();
43777 /* The GNU C library defines this for functions which it implements
43778 to always fail with ENOSYS. Some functions are actually named
43779 something starting with __ and the normal name is an alias. */
43780 #if defined __stub_$ac_func || defined __stub___$ac_func
43781 choke me
43782 #endif
43783
43784 int
43785 main ()
43786 {
43787 return $ac_func ();
43788 ;
43789 return 0;
43790 }
43791 _ACEOF
43792 rm -f conftest.$ac_objext conftest$ac_exeext
43793 if { (ac_try="$ac_link"
43794 case "(($ac_try" in
43795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43796 *) ac_try_echo=$ac_try;;
43797 esac
43798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43799 (eval "$ac_link") 2>conftest.er1
43800 ac_status=$?
43801 grep -v '^ *+' conftest.er1 >conftest.err
43802 rm -f conftest.er1
43803 cat conftest.err >&5
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); } && {
43806 test -z "$ac_c_werror_flag" ||
43807 test ! -s conftest.err
43808 } && test -s conftest$ac_exeext &&
43809 $as_test_x conftest$ac_exeext; then
43810 eval "$as_ac_var=yes"
43811 else
43812 echo "$as_me: failed program was:" >&5
43813 sed 's/^/| /' conftest.$ac_ext >&5
43814
43815 eval "$as_ac_var=no"
43816 fi
43817
43818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43819 conftest$ac_exeext conftest.$ac_ext
43820 fi
43821 ac_res=`eval echo '${'$as_ac_var'}'`
43822 { echo "$as_me:$LINENO: result: $ac_res" >&5
43823 echo "${ECHO_T}$ac_res" >&6; }
43824 if test `eval echo '${'$as_ac_var'}'` = yes; then
43825 cat >>confdefs.h <<_ACEOF
43826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43827 _ACEOF
43828 cat >>confdefs.h <<\_ACEOF
43829 #define HAVE_GETSERVBYNAME 1
43830 _ACEOF
43831
43832 fi
43833 done
43834
43835 fi
43836
43837 if test "$wxUSE_THREADS" = "yes"; then
43838 cat >>confdefs.h <<\_ACEOF
43839 #define wxUSE_THREADS 1
43840 _ACEOF
43841
43842
43843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43844 else
43845 if test "$wx_cv_func_strtok_r" = "yes"; then
43846 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43847 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43848 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43849 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43850 { echo "$as_me:$LINENO: result: yes" >&5
43851 echo "${ECHO_T}yes" >&6; }
43852 else
43853 { echo "$as_me:$LINENO: result: no" >&5
43854 echo "${ECHO_T}no" >&6; }
43855 fi
43856 fi
43857 fi
43858
43859 if test "$WXGTK20" = 1 ; then
43860 cat >>confdefs.h <<_ACEOF
43861 #define __WXGTK20__ $WXGTK20
43862 _ACEOF
43863
43864 WXGTK12=1
43865 fi
43866
43867 if test "$WXGTK12" = 1 ; then
43868 cat >>confdefs.h <<_ACEOF
43869 #define __WXGTK12__ $WXGTK12
43870 _ACEOF
43871
43872 fi
43873
43874 if test "$WXGTK127" = 1 ; then
43875 cat >>confdefs.h <<_ACEOF
43876 #define __WXGTK127__ $WXGTK127
43877 _ACEOF
43878
43879 fi
43880
43881 if test "$WXGPE" = 1 ; then
43882 cat >>confdefs.h <<_ACEOF
43883 #define __WXGPE__ $WXGPE
43884 _ACEOF
43885
43886 fi
43887
43888 DEBUG_CFLAGS=
43889 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43890 DEBUG_CFLAGS="-g"
43891 wxUSE_OPTIMISE=no
43892 fi
43893
43894 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43895 wxUSE_DEBUG_INFO=yes
43896 if test "$GCC" = yes; then
43897 DEBUG_CFLAGS="-ggdb"
43898 fi
43899 fi
43900
43901 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43902 cat >>confdefs.h <<\_ACEOF
43903 #define WXDEBUG 1
43904 _ACEOF
43905
43906 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43907 else
43908 if test "$wxUSE_GTK" = 1 ; then
43909 if test "x$wxGTK_VERSION" = "x1" ; then
43910 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43911 fi
43912 fi
43913 fi
43914
43915 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_MEMORY_TRACING 1
43918 _ACEOF
43919
43920 cat >>confdefs.h <<\_ACEOF
43921 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43922 _ACEOF
43923
43924 cat >>confdefs.h <<\_ACEOF
43925 #define wxUSE_DEBUG_NEW_ALWAYS 1
43926 _ACEOF
43927
43928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43929 fi
43930
43931 if test "$wxUSE_DMALLOC" = "yes" ; then
43932 DMALLOC_LIBS="-ldmallocthcxx"
43933 fi
43934
43935 PROFILE_FLAGS=
43936 if test "$wxUSE_PROFILE" = "yes" ; then
43937 PROFILE_FLAGS=" -pg"
43938 fi
43939
43940 if test "$GCC" = "yes" ; then
43941 if test "$wxUSE_NO_RTTI" = "yes" ; then
43942 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43943 fi
43944 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43945 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43946 fi
43947 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43948 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43949 fi
43950
43951 case "${host}" in
43952 powerpc*-*-aix* )
43953 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43954 ;;
43955 *-hppa* )
43956 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43957 ;;
43958 esac
43959 fi
43960
43961 OPTIMISE_CFLAGS=
43962 if test "$wxUSE_OPTIMISE" = "no" ; then
43963 if test "$GCC" = yes ; then
43964 OPTIMISE_CFLAGS="-O0"
43965 fi
43966 else
43967 if test "$GCC" = yes ; then
43968 case "${host}" in
43969 *-pc-os2_emx | *-pc-os2-emx )
43970 OPTIMISE_CFLAGS="-O2"
43971 ;;
43972 *)
43973 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43974 ;;
43975 esac
43976 else
43977 OPTIMISE_CFLAGS="-O"
43978 fi
43979 fi
43980
43981
43982 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43983 cat >>confdefs.h <<\_ACEOF
43984 #define WXWIN_COMPATIBILITY_2_6 1
43985 _ACEOF
43986
43987
43988 WXWIN_COMPATIBILITY_2_8="yes"
43989 fi
43990
43991 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define WXWIN_COMPATIBILITY_2_8 1
43994 _ACEOF
43995
43996 fi
43997
43998
43999 if test "$wxUSE_GUI" = "yes"; then
44000 cat >>confdefs.h <<\_ACEOF
44001 #define wxUSE_GUI 1
44002 _ACEOF
44003
44004
44005 fi
44006
44007
44008 if test "$wxUSE_UNIX" = "yes"; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_UNIX 1
44011 _ACEOF
44012
44013 fi
44014
44015
44016 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44017
44018 HAVE_DL_FUNCS=0
44019 HAVE_SHL_FUNCS=0
44020 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44021 if test "$USE_DARWIN" = 1; then
44022 HAVE_DL_FUNCS=1
44023 elif test "$USE_DOS" = 1; then
44024 HAVE_DL_FUNCS=0
44025 else
44026
44027 for ac_func in dlopen
44028 do
44029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44030 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44033 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 else
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44043 #define $ac_func innocuous_$ac_func
44044
44045 /* System header to define __stub macros and hopefully few prototypes,
44046 which can conflict with char $ac_func (); below.
44047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44048 <limits.h> exists even on freestanding compilers. */
44049
44050 #ifdef __STDC__
44051 # include <limits.h>
44052 #else
44053 # include <assert.h>
44054 #endif
44055
44056 #undef $ac_func
44057
44058 /* Override any GCC internal prototype to avoid an error.
44059 Use char because int might match the return type of a GCC
44060 builtin and then its argument prototype would still apply. */
44061 #ifdef __cplusplus
44062 extern "C"
44063 #endif
44064 char $ac_func ();
44065 /* The GNU C library defines this for functions which it implements
44066 to always fail with ENOSYS. Some functions are actually named
44067 something starting with __ and the normal name is an alias. */
44068 #if defined __stub_$ac_func || defined __stub___$ac_func
44069 choke me
44070 #endif
44071
44072 int
44073 main ()
44074 {
44075 return $ac_func ();
44076 ;
44077 return 0;
44078 }
44079 _ACEOF
44080 rm -f conftest.$ac_objext conftest$ac_exeext
44081 if { (ac_try="$ac_link"
44082 case "(($ac_try" in
44083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44084 *) ac_try_echo=$ac_try;;
44085 esac
44086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44087 (eval "$ac_link") 2>conftest.er1
44088 ac_status=$?
44089 grep -v '^ *+' conftest.er1 >conftest.err
44090 rm -f conftest.er1
44091 cat conftest.err >&5
44092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093 (exit $ac_status); } && {
44094 test -z "$ac_c_werror_flag" ||
44095 test ! -s conftest.err
44096 } && test -s conftest$ac_exeext &&
44097 $as_test_x conftest$ac_exeext; then
44098 eval "$as_ac_var=yes"
44099 else
44100 echo "$as_me: failed program was:" >&5
44101 sed 's/^/| /' conftest.$ac_ext >&5
44102
44103 eval "$as_ac_var=no"
44104 fi
44105
44106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44107 conftest$ac_exeext conftest.$ac_ext
44108 fi
44109 ac_res=`eval echo '${'$as_ac_var'}'`
44110 { echo "$as_me:$LINENO: result: $ac_res" >&5
44111 echo "${ECHO_T}$ac_res" >&6; }
44112 if test `eval echo '${'$as_ac_var'}'` = yes; then
44113 cat >>confdefs.h <<_ACEOF
44114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44115 _ACEOF
44116
44117 cat >>confdefs.h <<\_ACEOF
44118 #define HAVE_DLOPEN 1
44119 _ACEOF
44120
44121 HAVE_DL_FUNCS=1
44122
44123 else
44124
44125 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44126 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44127 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44128 echo $ECHO_N "(cached) $ECHO_C" >&6
44129 else
44130 ac_check_lib_save_LIBS=$LIBS
44131 LIBS="-ldl $LIBS"
44132 cat >conftest.$ac_ext <<_ACEOF
44133 /* confdefs.h. */
44134 _ACEOF
44135 cat confdefs.h >>conftest.$ac_ext
44136 cat >>conftest.$ac_ext <<_ACEOF
44137 /* end confdefs.h. */
44138
44139 /* Override any GCC internal prototype to avoid an error.
44140 Use char because int might match the return type of a GCC
44141 builtin and then its argument prototype would still apply. */
44142 #ifdef __cplusplus
44143 extern "C"
44144 #endif
44145 char dlopen ();
44146 int
44147 main ()
44148 {
44149 return dlopen ();
44150 ;
44151 return 0;
44152 }
44153 _ACEOF
44154 rm -f conftest.$ac_objext conftest$ac_exeext
44155 if { (ac_try="$ac_link"
44156 case "(($ac_try" in
44157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44158 *) ac_try_echo=$ac_try;;
44159 esac
44160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44161 (eval "$ac_link") 2>conftest.er1
44162 ac_status=$?
44163 grep -v '^ *+' conftest.er1 >conftest.err
44164 rm -f conftest.er1
44165 cat conftest.err >&5
44166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44167 (exit $ac_status); } && {
44168 test -z "$ac_c_werror_flag" ||
44169 test ! -s conftest.err
44170 } && test -s conftest$ac_exeext &&
44171 $as_test_x conftest$ac_exeext; then
44172 ac_cv_lib_dl_dlopen=yes
44173 else
44174 echo "$as_me: failed program was:" >&5
44175 sed 's/^/| /' conftest.$ac_ext >&5
44176
44177 ac_cv_lib_dl_dlopen=no
44178 fi
44179
44180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44181 conftest$ac_exeext conftest.$ac_ext
44182 LIBS=$ac_check_lib_save_LIBS
44183 fi
44184 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44185 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44186 if test $ac_cv_lib_dl_dlopen = yes; then
44187
44188 cat >>confdefs.h <<\_ACEOF
44189 #define HAVE_DLOPEN 1
44190 _ACEOF
44191
44192 HAVE_DL_FUNCS=1
44193 DL_LINK=" -ldl$DL_LINK"
44194
44195 else
44196
44197
44198 for ac_func in shl_load
44199 do
44200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44201 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44205 else
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define $ac_func innocuous_$ac_func
44215
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char $ac_func (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44220
44221 #ifdef __STDC__
44222 # include <limits.h>
44223 #else
44224 # include <assert.h>
44225 #endif
44226
44227 #undef $ac_func
44228
44229 /* Override any GCC internal prototype to avoid an error.
44230 Use char because int might match the return type of a GCC
44231 builtin and then its argument prototype would still apply. */
44232 #ifdef __cplusplus
44233 extern "C"
44234 #endif
44235 char $ac_func ();
44236 /* The GNU C library defines this for functions which it implements
44237 to always fail with ENOSYS. Some functions are actually named
44238 something starting with __ and the normal name is an alias. */
44239 #if defined __stub_$ac_func || defined __stub___$ac_func
44240 choke me
44241 #endif
44242
44243 int
44244 main ()
44245 {
44246 return $ac_func ();
44247 ;
44248 return 0;
44249 }
44250 _ACEOF
44251 rm -f conftest.$ac_objext conftest$ac_exeext
44252 if { (ac_try="$ac_link"
44253 case "(($ac_try" in
44254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44255 *) ac_try_echo=$ac_try;;
44256 esac
44257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44258 (eval "$ac_link") 2>conftest.er1
44259 ac_status=$?
44260 grep -v '^ *+' conftest.er1 >conftest.err
44261 rm -f conftest.er1
44262 cat conftest.err >&5
44263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44264 (exit $ac_status); } && {
44265 test -z "$ac_c_werror_flag" ||
44266 test ! -s conftest.err
44267 } && test -s conftest$ac_exeext &&
44268 $as_test_x conftest$ac_exeext; then
44269 eval "$as_ac_var=yes"
44270 else
44271 echo "$as_me: failed program was:" >&5
44272 sed 's/^/| /' conftest.$ac_ext >&5
44273
44274 eval "$as_ac_var=no"
44275 fi
44276
44277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44278 conftest$ac_exeext conftest.$ac_ext
44279 fi
44280 ac_res=`eval echo '${'$as_ac_var'}'`
44281 { echo "$as_me:$LINENO: result: $ac_res" >&5
44282 echo "${ECHO_T}$ac_res" >&6; }
44283 if test `eval echo '${'$as_ac_var'}'` = yes; then
44284 cat >>confdefs.h <<_ACEOF
44285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44286 _ACEOF
44287
44288 cat >>confdefs.h <<\_ACEOF
44289 #define HAVE_SHL_LOAD 1
44290 _ACEOF
44291
44292 HAVE_SHL_FUNCS=1
44293
44294 else
44295
44296 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44297 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44298 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 else
44301 ac_check_lib_save_LIBS=$LIBS
44302 LIBS="-lshl_load $LIBS"
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309
44310 /* Override any GCC internal prototype to avoid an error.
44311 Use char because int might match the return type of a GCC
44312 builtin and then its argument prototype would still apply. */
44313 #ifdef __cplusplus
44314 extern "C"
44315 #endif
44316 char dld ();
44317 int
44318 main ()
44319 {
44320 return dld ();
44321 ;
44322 return 0;
44323 }
44324 _ACEOF
44325 rm -f conftest.$ac_objext conftest$ac_exeext
44326 if { (ac_try="$ac_link"
44327 case "(($ac_try" in
44328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44329 *) ac_try_echo=$ac_try;;
44330 esac
44331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44332 (eval "$ac_link") 2>conftest.er1
44333 ac_status=$?
44334 grep -v '^ *+' conftest.er1 >conftest.err
44335 rm -f conftest.er1
44336 cat conftest.err >&5
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); } && {
44339 test -z "$ac_c_werror_flag" ||
44340 test ! -s conftest.err
44341 } && test -s conftest$ac_exeext &&
44342 $as_test_x conftest$ac_exeext; then
44343 ac_cv_lib_shl_load_dld=yes
44344 else
44345 echo "$as_me: failed program was:" >&5
44346 sed 's/^/| /' conftest.$ac_ext >&5
44347
44348 ac_cv_lib_shl_load_dld=no
44349 fi
44350
44351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44352 conftest$ac_exeext conftest.$ac_ext
44353 LIBS=$ac_check_lib_save_LIBS
44354 fi
44355 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44356 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44357 if test $ac_cv_lib_shl_load_dld = yes; then
44358
44359 HAVE_SHL_FUNCS=1
44360 DL_LINK=" -ldld$DL_LINK"
44361
44362 fi
44363
44364
44365 fi
44366 done
44367
44368
44369 fi
44370
44371
44372 fi
44373 done
44374
44375
44376 if test "$HAVE_DL_FUNCS" = 1; then
44377
44378 for ac_func in dlerror
44379 do
44380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44384 echo $ECHO_N "(cached) $ECHO_C" >&6
44385 else
44386 cat >conftest.$ac_ext <<_ACEOF
44387 /* confdefs.h. */
44388 _ACEOF
44389 cat confdefs.h >>conftest.$ac_ext
44390 cat >>conftest.$ac_ext <<_ACEOF
44391 /* end confdefs.h. */
44392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44394 #define $ac_func innocuous_$ac_func
44395
44396 /* System header to define __stub macros and hopefully few prototypes,
44397 which can conflict with char $ac_func (); below.
44398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44399 <limits.h> exists even on freestanding compilers. */
44400
44401 #ifdef __STDC__
44402 # include <limits.h>
44403 #else
44404 # include <assert.h>
44405 #endif
44406
44407 #undef $ac_func
44408
44409 /* Override any GCC internal prototype to avoid an error.
44410 Use char because int might match the return type of a GCC
44411 builtin and then its argument prototype would still apply. */
44412 #ifdef __cplusplus
44413 extern "C"
44414 #endif
44415 char $ac_func ();
44416 /* The GNU C library defines this for functions which it implements
44417 to always fail with ENOSYS. Some functions are actually named
44418 something starting with __ and the normal name is an alias. */
44419 #if defined __stub_$ac_func || defined __stub___$ac_func
44420 choke me
44421 #endif
44422
44423 int
44424 main ()
44425 {
44426 return $ac_func ();
44427 ;
44428 return 0;
44429 }
44430 _ACEOF
44431 rm -f conftest.$ac_objext conftest$ac_exeext
44432 if { (ac_try="$ac_link"
44433 case "(($ac_try" in
44434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44435 *) ac_try_echo=$ac_try;;
44436 esac
44437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44438 (eval "$ac_link") 2>conftest.er1
44439 ac_status=$?
44440 grep -v '^ *+' conftest.er1 >conftest.err
44441 rm -f conftest.er1
44442 cat conftest.err >&5
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); } && {
44445 test -z "$ac_c_werror_flag" ||
44446 test ! -s conftest.err
44447 } && test -s conftest$ac_exeext &&
44448 $as_test_x conftest$ac_exeext; then
44449 eval "$as_ac_var=yes"
44450 else
44451 echo "$as_me: failed program was:" >&5
44452 sed 's/^/| /' conftest.$ac_ext >&5
44453
44454 eval "$as_ac_var=no"
44455 fi
44456
44457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44458 conftest$ac_exeext conftest.$ac_ext
44459 fi
44460 ac_res=`eval echo '${'$as_ac_var'}'`
44461 { echo "$as_me:$LINENO: result: $ac_res" >&5
44462 echo "${ECHO_T}$ac_res" >&6; }
44463 if test `eval echo '${'$as_ac_var'}'` = yes; then
44464 cat >>confdefs.h <<_ACEOF
44465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44466 _ACEOF
44467 cat >>confdefs.h <<\_ACEOF
44468 #define HAVE_DLERROR 1
44469 _ACEOF
44470
44471 else
44472
44473 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44474 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44475 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44476 echo $ECHO_N "(cached) $ECHO_C" >&6
44477 else
44478 ac_check_lib_save_LIBS=$LIBS
44479 LIBS="-ldl $LIBS"
44480 cat >conftest.$ac_ext <<_ACEOF
44481 /* confdefs.h. */
44482 _ACEOF
44483 cat confdefs.h >>conftest.$ac_ext
44484 cat >>conftest.$ac_ext <<_ACEOF
44485 /* end confdefs.h. */
44486
44487 /* Override any GCC internal prototype to avoid an error.
44488 Use char because int might match the return type of a GCC
44489 builtin and then its argument prototype would still apply. */
44490 #ifdef __cplusplus
44491 extern "C"
44492 #endif
44493 char dlerror ();
44494 int
44495 main ()
44496 {
44497 return dlerror ();
44498 ;
44499 return 0;
44500 }
44501 _ACEOF
44502 rm -f conftest.$ac_objext conftest$ac_exeext
44503 if { (ac_try="$ac_link"
44504 case "(($ac_try" in
44505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44506 *) ac_try_echo=$ac_try;;
44507 esac
44508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44509 (eval "$ac_link") 2>conftest.er1
44510 ac_status=$?
44511 grep -v '^ *+' conftest.er1 >conftest.err
44512 rm -f conftest.er1
44513 cat conftest.err >&5
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); } && {
44516 test -z "$ac_c_werror_flag" ||
44517 test ! -s conftest.err
44518 } && test -s conftest$ac_exeext &&
44519 $as_test_x conftest$ac_exeext; then
44520 ac_cv_lib_dl_dlerror=yes
44521 else
44522 echo "$as_me: failed program was:" >&5
44523 sed 's/^/| /' conftest.$ac_ext >&5
44524
44525 ac_cv_lib_dl_dlerror=no
44526 fi
44527
44528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44529 conftest$ac_exeext conftest.$ac_ext
44530 LIBS=$ac_check_lib_save_LIBS
44531 fi
44532 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44533 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44534 if test $ac_cv_lib_dl_dlerror = yes; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define HAVE_DLERROR 1
44537 _ACEOF
44538
44539 fi
44540
44541
44542
44543 fi
44544 done
44545
44546 fi
44547 fi
44548
44549 if test "$HAVE_DL_FUNCS" = 0; then
44550 if test "$HAVE_SHL_FUNCS" = 0; then
44551 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44552 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44553 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44554 wxUSE_DYNAMIC_LOADER=no
44555 wxUSE_DYNLIB_CLASS=no
44556 else
44557 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44558 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44559 fi
44560 fi
44561 fi
44562 fi
44563 fi
44564
44565 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_DYNAMIC_LOADER 1
44568 _ACEOF
44569
44570 fi
44571 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DYNLIB_CLASS 1
44574 _ACEOF
44575
44576 fi
44577
44578
44579
44580 if test "$wxUSE_PLUGINS" = "yes" ; then
44581 if test "$wxUSE_SHARED" = "no" ; then
44582 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44583 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44584 wxUSE_PLUGINS=no
44585 fi
44586 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44587 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44588 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44589 wxUSE_PLUGINS=no
44590 fi
44591 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44592 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44593 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44594 wxUSE_PLUGINS=no
44595 fi
44596 if test "$wxUSE_PLUGINS" = "yes" ; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_PLUGINS 1
44599 _ACEOF
44600
44601 fi
44602 fi
44603
44604
44605 if test "$wxUSE_STL" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_STL 1
44608 _ACEOF
44609
44610 fi
44611
44612 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_EXTENDED_RTTI 1
44615 _ACEOF
44616
44617 fi
44618
44619 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_APPLE_IEEE 1
44622 _ACEOF
44623
44624 fi
44625
44626 if test "$wxUSE_TIMER" = "yes"; then
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_TIMER 1
44629 _ACEOF
44630
44631 fi
44632
44633 if test "$USE_UNIX" = "1" ; then
44634 if test "$wxUSE_MGL" != 1; then
44635 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44636 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44637 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44638 echo $ECHO_N "(cached) $ECHO_C" >&6
44639 else
44640
44641 cat >conftest.$ac_ext <<_ACEOF
44642 /* confdefs.h. */
44643 _ACEOF
44644 cat confdefs.h >>conftest.$ac_ext
44645 cat >>conftest.$ac_ext <<_ACEOF
44646 /* end confdefs.h. */
44647
44648 #include <sys/ioctl.h>
44649 #include <sys/soundcard.h>
44650
44651 int
44652 main ()
44653 {
44654
44655 ioctl(0, SNDCTL_DSP_SPEED, 0);
44656
44657 ;
44658 return 0;
44659 }
44660 _ACEOF
44661 rm -f conftest.$ac_objext conftest$ac_exeext
44662 if { (ac_try="$ac_link"
44663 case "(($ac_try" in
44664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44665 *) ac_try_echo=$ac_try;;
44666 esac
44667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44668 (eval "$ac_link") 2>conftest.er1
44669 ac_status=$?
44670 grep -v '^ *+' conftest.er1 >conftest.err
44671 rm -f conftest.er1
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } && {
44675 test -z "$ac_c_werror_flag" ||
44676 test ! -s conftest.err
44677 } && test -s conftest$ac_exeext &&
44678 $as_test_x conftest$ac_exeext; then
44679 ac_cv_header_sys_soundcard=yes
44680 else
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.$ac_ext >&5
44683
44684
44685 saveLibs="$LIBS"
44686 LIBS="$saveLibs -lossaudio"
44687 cat >conftest.$ac_ext <<_ACEOF
44688 /* confdefs.h. */
44689 _ACEOF
44690 cat confdefs.h >>conftest.$ac_ext
44691 cat >>conftest.$ac_ext <<_ACEOF
44692 /* end confdefs.h. */
44693
44694 #include <sys/ioctl.h>
44695 #include <sys/soundcard.h>
44696
44697 int
44698 main ()
44699 {
44700
44701 ioctl(0, SNDCTL_DSP_SPEED, 0);
44702
44703 ;
44704 return 0;
44705 }
44706 _ACEOF
44707 rm -f conftest.$ac_objext conftest$ac_exeext
44708 if { (ac_try="$ac_link"
44709 case "(($ac_try" in
44710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44711 *) ac_try_echo=$ac_try;;
44712 esac
44713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44714 (eval "$ac_link") 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } && {
44721 test -z "$ac_c_werror_flag" ||
44722 test ! -s conftest.err
44723 } && test -s conftest$ac_exeext &&
44724 $as_test_x conftest$ac_exeext; then
44725 ac_cv_header_sys_soundcard=yes
44726 else
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.$ac_ext >&5
44729
44730
44731 LIBS="$saveLibs"
44732 ac_cv_header_sys_soundcard=no
44733
44734
44735 fi
44736
44737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44738 conftest$ac_exeext conftest.$ac_ext
44739
44740
44741 fi
44742
44743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44744 conftest$ac_exeext conftest.$ac_ext
44745
44746 fi
44747 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44748 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44749 fi
44750
44751 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define HAVE_SYS_SOUNDCARD_H 1
44754 _ACEOF
44755
44756 fi
44757 fi
44758
44759 WITH_PLUGIN_SDL=0
44760 if test "$wxUSE_SOUND" = "yes"; then
44761 if test "$USE_UNIX" = "1" ; then
44762 if test "$wxUSE_LIBSDL" != "no"; then
44763
44764 # Check whether --with-sdl-prefix was given.
44765 if test "${with_sdl_prefix+set}" = set; then
44766 withval=$with_sdl_prefix; sdl_prefix="$withval"
44767 else
44768 sdl_prefix=""
44769 fi
44770
44771
44772 # Check whether --with-sdl-exec-prefix was given.
44773 if test "${with_sdl_exec_prefix+set}" = set; then
44774 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44775 else
44776 sdl_exec_prefix=""
44777 fi
44778
44779 # Check whether --enable-sdltest was given.
44780 if test "${enable_sdltest+set}" = set; then
44781 enableval=$enable_sdltest;
44782 else
44783 enable_sdltest=yes
44784 fi
44785
44786
44787 if test x$sdl_exec_prefix != x ; then
44788 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44789 if test x${SDL_CONFIG+set} != xset ; then
44790 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44791 fi
44792 fi
44793 if test x$sdl_prefix != x ; then
44794 sdl_args="$sdl_args --prefix=$sdl_prefix"
44795 if test x${SDL_CONFIG+set} != xset ; then
44796 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44797 fi
44798 fi
44799
44800 if test "x$prefix" != xNONE; then
44801 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44802 fi
44803 # Extract the first word of "sdl-config", so it can be a program name with args.
44804 set dummy sdl-config; ac_word=$2
44805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44807 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44808 echo $ECHO_N "(cached) $ECHO_C" >&6
44809 else
44810 case $SDL_CONFIG in
44811 [\\/]* | ?:[\\/]*)
44812 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44813 ;;
44814 *)
44815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44816 for as_dir in $PATH
44817 do
44818 IFS=$as_save_IFS
44819 test -z "$as_dir" && as_dir=.
44820 for ac_exec_ext in '' $ac_executable_extensions; do
44821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44822 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44824 break 2
44825 fi
44826 done
44827 done
44828 IFS=$as_save_IFS
44829
44830 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44831 ;;
44832 esac
44833 fi
44834 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44835 if test -n "$SDL_CONFIG"; then
44836 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44837 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44838 else
44839 { echo "$as_me:$LINENO: result: no" >&5
44840 echo "${ECHO_T}no" >&6; }
44841 fi
44842
44843
44844 min_sdl_version=1.2.0
44845 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44846 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44847 no_sdl=""
44848 if test "$SDL_CONFIG" = "no" ; then
44849 no_sdl=yes
44850 else
44851 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44852 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44853
44854 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44855 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44856 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44858 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44860 if test "x$enable_sdltest" = "xyes" ; then
44861 ac_save_CFLAGS="$CFLAGS"
44862 ac_save_CXXFLAGS="$CXXFLAGS"
44863 ac_save_LIBS="$LIBS"
44864 CFLAGS="$CFLAGS $SDL_CFLAGS"
44865 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44866 LIBS="$LIBS $SDL_LIBS"
44867 rm -f conf.sdltest
44868 if test "$cross_compiling" = yes; then
44869 echo $ac_n "cross compiling; assumed OK... $ac_c"
44870 else
44871 cat >conftest.$ac_ext <<_ACEOF
44872 /* confdefs.h. */
44873 _ACEOF
44874 cat confdefs.h >>conftest.$ac_ext
44875 cat >>conftest.$ac_ext <<_ACEOF
44876 /* end confdefs.h. */
44877
44878 #include <stdio.h>
44879 #include <stdlib.h>
44880 #include <string.h>
44881 #include "SDL.h"
44882
44883 char*
44884 my_strdup (char *str)
44885 {
44886 char *new_str;
44887
44888 if (str)
44889 {
44890 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44891 strcpy (new_str, str);
44892 }
44893 else
44894 new_str = NULL;
44895
44896 return new_str;
44897 }
44898
44899 int main (int argc, char *argv[])
44900 {
44901 int major, minor, micro;
44902 char *tmp_version;
44903
44904 /* This hangs on some systems (?)
44905 system ("touch conf.sdltest");
44906 */
44907 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44908
44909 /* HP/UX 9 (%@#!) writes to sscanf strings */
44910 tmp_version = my_strdup("$min_sdl_version");
44911 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44912 printf("%s, bad version string\n", "$min_sdl_version");
44913 exit(1);
44914 }
44915
44916 if (($sdl_major_version > major) ||
44917 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44918 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44919 {
44920 return 0;
44921 }
44922 else
44923 {
44924 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44925 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44926 printf("*** best to upgrade to the required version.\n");
44927 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44928 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44929 printf("*** config.cache before re-running configure\n");
44930 return 1;
44931 }
44932 }
44933
44934
44935 _ACEOF
44936 rm -f conftest$ac_exeext
44937 if { (ac_try="$ac_link"
44938 case "(($ac_try" in
44939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44940 *) ac_try_echo=$ac_try;;
44941 esac
44942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44943 (eval "$ac_link") 2>&5
44944 ac_status=$?
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44947 { (case "(($ac_try" in
44948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44949 *) ac_try_echo=$ac_try;;
44950 esac
44951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44952 (eval "$ac_try") 2>&5
44953 ac_status=$?
44954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955 (exit $ac_status); }; }; then
44956 :
44957 else
44958 echo "$as_me: program exited with status $ac_status" >&5
44959 echo "$as_me: failed program was:" >&5
44960 sed 's/^/| /' conftest.$ac_ext >&5
44961
44962 ( exit $ac_status )
44963 no_sdl=yes
44964 fi
44965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44966 fi
44967
44968
44969 CFLAGS="$ac_save_CFLAGS"
44970 CXXFLAGS="$ac_save_CXXFLAGS"
44971 LIBS="$ac_save_LIBS"
44972 fi
44973 fi
44974 if test "x$no_sdl" = x ; then
44975 { echo "$as_me:$LINENO: result: yes" >&5
44976 echo "${ECHO_T}yes" >&6; }
44977
44978 EXTRALIBS_SDL="$SDL_LIBS"
44979 CFLAGS="$SDL_CFLAGS $CFLAGS"
44980 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_LIBSDL 1
44983 _ACEOF
44984
44985
44986 else
44987 { echo "$as_me:$LINENO: result: no" >&5
44988 echo "${ECHO_T}no" >&6; }
44989 if test "$SDL_CONFIG" = "no" ; then
44990 echo "*** The sdl-config script installed by SDL could not be found"
44991 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44992 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44993 echo "*** full path to sdl-config."
44994 else
44995 if test -f conf.sdltest ; then
44996 :
44997 else
44998 echo "*** Could not run SDL test program, checking why..."
44999 CFLAGS="$CFLAGS $SDL_CFLAGS"
45000 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45001 LIBS="$LIBS $SDL_LIBS"
45002 cat >conftest.$ac_ext <<_ACEOF
45003 /* confdefs.h. */
45004 _ACEOF
45005 cat confdefs.h >>conftest.$ac_ext
45006 cat >>conftest.$ac_ext <<_ACEOF
45007 /* end confdefs.h. */
45008
45009 #include <stdio.h>
45010 #include "SDL.h"
45011
45012 int main(int argc, char *argv[])
45013 { return 0; }
45014 #undef main
45015 #define main K_and_R_C_main
45016
45017 int
45018 main ()
45019 {
45020 return 0;
45021 ;
45022 return 0;
45023 }
45024 _ACEOF
45025 rm -f conftest.$ac_objext conftest$ac_exeext
45026 if { (ac_try="$ac_link"
45027 case "(($ac_try" in
45028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45029 *) ac_try_echo=$ac_try;;
45030 esac
45031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45032 (eval "$ac_link") 2>conftest.er1
45033 ac_status=$?
45034 grep -v '^ *+' conftest.er1 >conftest.err
45035 rm -f conftest.er1
45036 cat conftest.err >&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); } && {
45039 test -z "$ac_c_werror_flag" ||
45040 test ! -s conftest.err
45041 } && test -s conftest$ac_exeext &&
45042 $as_test_x conftest$ac_exeext; then
45043 echo "*** The test program compiled, but did not run. This usually means"
45044 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45045 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45046 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45047 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45048 echo "*** is required on your system"
45049 echo "***"
45050 echo "*** If you have an old version installed, it is best to remove it, although"
45051 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45052 else
45053 echo "$as_me: failed program was:" >&5
45054 sed 's/^/| /' conftest.$ac_ext >&5
45055
45056 echo "*** The test program failed to compile or link. See the file config.log for the"
45057 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45058 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45059 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45060 fi
45061
45062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45063 conftest$ac_exeext conftest.$ac_ext
45064 CFLAGS="$ac_save_CFLAGS"
45065 CXXFLAGS="$ac_save_CXXFLAGS"
45066 LIBS="$ac_save_LIBS"
45067 fi
45068 fi
45069 SDL_CFLAGS=""
45070 SDL_LIBS=""
45071 wxUSE_LIBSDL="no"
45072 fi
45073
45074
45075 rm -f conf.sdltest
45076
45077 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45078 WITH_PLUGIN_SDL=1
45079 fi
45080 fi
45081 else
45082 if test "$wxUSE_MGL" = 1; then
45083 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45084 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45085 wxUSE_SOUND="no"
45086 fi
45087 fi
45088 fi
45089
45090 if test "$wxUSE_SOUND" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_SOUND 1
45093 _ACEOF
45094
45095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45096 fi
45097
45098 if test "$WXGTK20" = 1; then
45099
45100
45101 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45102 if test -n "$ac_tool_prefix"; then
45103 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45104 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45107 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45108 echo $ECHO_N "(cached) $ECHO_C" >&6
45109 else
45110 case $PKG_CONFIG in
45111 [\\/]* | ?:[\\/]*)
45112 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45113 ;;
45114 *)
45115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45116 for as_dir in $PATH
45117 do
45118 IFS=$as_save_IFS
45119 test -z "$as_dir" && as_dir=.
45120 for ac_exec_ext in '' $ac_executable_extensions; do
45121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45122 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45124 break 2
45125 fi
45126 done
45127 done
45128 IFS=$as_save_IFS
45129
45130 ;;
45131 esac
45132 fi
45133 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45134 if test -n "$PKG_CONFIG"; then
45135 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45136 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45137 else
45138 { echo "$as_me:$LINENO: result: no" >&5
45139 echo "${ECHO_T}no" >&6; }
45140 fi
45141
45142
45143 fi
45144 if test -z "$ac_cv_path_PKG_CONFIG"; then
45145 ac_pt_PKG_CONFIG=$PKG_CONFIG
45146 # Extract the first word of "pkg-config", so it can be a program name with args.
45147 set dummy pkg-config; ac_word=$2
45148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45150 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45151 echo $ECHO_N "(cached) $ECHO_C" >&6
45152 else
45153 case $ac_pt_PKG_CONFIG in
45154 [\\/]* | ?:[\\/]*)
45155 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45156 ;;
45157 *)
45158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45159 for as_dir in $PATH
45160 do
45161 IFS=$as_save_IFS
45162 test -z "$as_dir" && as_dir=.
45163 for ac_exec_ext in '' $ac_executable_extensions; do
45164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45165 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45167 break 2
45168 fi
45169 done
45170 done
45171 IFS=$as_save_IFS
45172
45173 ;;
45174 esac
45175 fi
45176 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45177 if test -n "$ac_pt_PKG_CONFIG"; then
45178 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45179 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45180 else
45181 { echo "$as_me:$LINENO: result: no" >&5
45182 echo "${ECHO_T}no" >&6; }
45183 fi
45184
45185 if test "x$ac_pt_PKG_CONFIG" = x; then
45186 PKG_CONFIG=""
45187 else
45188 case $cross_compiling:$ac_tool_warned in
45189 yes:)
45190 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45191 whose name does not start with the host triplet. If you think this
45192 configuration is useful to you, please write to autoconf@gnu.org." >&5
45193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45194 whose name does not start with the host triplet. If you think this
45195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45196 ac_tool_warned=yes ;;
45197 esac
45198 PKG_CONFIG=$ac_pt_PKG_CONFIG
45199 fi
45200 else
45201 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45202 fi
45203
45204 fi
45205 if test -n "$PKG_CONFIG"; then
45206 _pkg_min_version=0.9.0
45207 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45208 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45209 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45210 { echo "$as_me:$LINENO: result: yes" >&5
45211 echo "${ECHO_T}yes" >&6; }
45212 else
45213 { echo "$as_me:$LINENO: result: no" >&5
45214 echo "${ECHO_T}no" >&6; }
45215 PKG_CONFIG=""
45216 fi
45217
45218 fi
45219
45220 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45221 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45222
45223
45224 pkg_failed=no
45225 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45226 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45227
45228 if test -n "$PKG_CONFIG"; then
45229 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45230 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45231 else
45232 if test -n "$PKG_CONFIG" && \
45233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45234 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45235 ac_status=$?
45236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45237 (exit $ac_status); }; then
45238 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45239 else
45240 pkg_failed=yes
45241 fi
45242 fi
45243 else
45244 pkg_failed=untried
45245 fi
45246 if test -n "$PKG_CONFIG"; then
45247 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45248 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45249 else
45250 if test -n "$PKG_CONFIG" && \
45251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45252 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; then
45256 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45257 else
45258 pkg_failed=yes
45259 fi
45260 fi
45261 else
45262 pkg_failed=untried
45263 fi
45264
45265
45266
45267 if test $pkg_failed = yes; then
45268
45269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45270 _pkg_short_errors_supported=yes
45271 else
45272 _pkg_short_errors_supported=no
45273 fi
45274 if test $_pkg_short_errors_supported = yes; then
45275 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45276 else
45277 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45278 fi
45279 # Put the nasty error message in config.log where it belongs
45280 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45281
45282
45283 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45284 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45285 wxUSE_LIBGNOMEPRINT="no"
45286
45287
45288 elif test $pkg_failed = untried; then
45289
45290 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45291 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45292 wxUSE_LIBGNOMEPRINT="no"
45293
45294
45295 else
45296 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45297 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45298 { echo "$as_me:$LINENO: result: yes" >&5
45299 echo "${ECHO_T}yes" >&6; }
45300
45301 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45302 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_LIBGNOMEPRINT 1
45305 _ACEOF
45306
45307
45308 fi
45309 fi
45310 fi
45311
45312 if test "$wxUSE_MIMETYPE" = "yes" ; then
45313 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45314
45315
45316 pkg_failed=no
45317 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45318 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45319
45320 if test -n "$PKG_CONFIG"; then
45321 if test -n "$GNOMEVFS_CFLAGS"; then
45322 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45323 else
45324 if test -n "$PKG_CONFIG" && \
45325 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45326 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45327 ac_status=$?
45328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329 (exit $ac_status); }; then
45330 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45331 else
45332 pkg_failed=yes
45333 fi
45334 fi
45335 else
45336 pkg_failed=untried
45337 fi
45338 if test -n "$PKG_CONFIG"; then
45339 if test -n "$GNOMEVFS_LIBS"; then
45340 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45341 else
45342 if test -n "$PKG_CONFIG" && \
45343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45344 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45345 ac_status=$?
45346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45347 (exit $ac_status); }; then
45348 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45349 else
45350 pkg_failed=yes
45351 fi
45352 fi
45353 else
45354 pkg_failed=untried
45355 fi
45356
45357
45358
45359 if test $pkg_failed = yes; then
45360
45361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45362 _pkg_short_errors_supported=yes
45363 else
45364 _pkg_short_errors_supported=no
45365 fi
45366 if test $_pkg_short_errors_supported = yes; then
45367 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45368 else
45369 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45370 fi
45371 # Put the nasty error message in config.log where it belongs
45372 echo "$GNOMEVFS_PKG_ERRORS" >&5
45373
45374
45375 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45376 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45377 wxUSE_LIBGNOMEVFS="no"
45378
45379
45380 elif test $pkg_failed = untried; then
45381
45382 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45383 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45384 wxUSE_LIBGNOMEVFS="no"
45385
45386
45387 else
45388 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45389 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45390 { echo "$as_me:$LINENO: result: yes" >&5
45391 echo "${ECHO_T}yes" >&6; }
45392
45393 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45394 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45395 cat >>confdefs.h <<\_ACEOF
45396 #define wxUSE_LIBGNOMEVFS 1
45397 _ACEOF
45398
45399
45400 fi
45401 fi
45402 fi
45403
45404 if test "$wxUSE_LIBHILDON" = "yes" ; then
45405
45406 pkg_failed=no
45407 { echo "$as_me:$LINENO: checking for HILDON" >&5
45408 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45409
45410 if test -n "$PKG_CONFIG"; then
45411 if test -n "$HILDON_CFLAGS"; then
45412 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45413 else
45414 if test -n "$PKG_CONFIG" && \
45415 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45416 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45417 ac_status=$?
45418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45419 (exit $ac_status); }; then
45420 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45421 else
45422 pkg_failed=yes
45423 fi
45424 fi
45425 else
45426 pkg_failed=untried
45427 fi
45428 if test -n "$PKG_CONFIG"; then
45429 if test -n "$HILDON_LIBS"; then
45430 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45431 else
45432 if test -n "$PKG_CONFIG" && \
45433 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45434 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45435 ac_status=$?
45436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45437 (exit $ac_status); }; then
45438 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45439 else
45440 pkg_failed=yes
45441 fi
45442 fi
45443 else
45444 pkg_failed=untried
45445 fi
45446
45447
45448
45449 if test $pkg_failed = yes; then
45450
45451 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45452 _pkg_short_errors_supported=yes
45453 else
45454 _pkg_short_errors_supported=no
45455 fi
45456 if test $_pkg_short_errors_supported = yes; then
45457 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45458 else
45459 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45460 fi
45461 # Put the nasty error message in config.log where it belongs
45462 echo "$HILDON_PKG_ERRORS" >&5
45463
45464
45465 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45466 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45467 wxUSE_LIBHILDON="no"
45468
45469
45470 elif test $pkg_failed = untried; then
45471
45472 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45473 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45474 wxUSE_LIBHILDON="no"
45475
45476
45477 else
45478 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45479 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45480 { echo "$as_me:$LINENO: result: yes" >&5
45481 echo "${ECHO_T}yes" >&6; }
45482
45483 EXTRALIBS_HILDON="$HILDON_LIBS"
45484 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45485 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45486 cat >>confdefs.h <<\_ACEOF
45487 #define wxUSE_LIBHILDON 1
45488 _ACEOF
45489
45490
45491 fi
45492 fi
45493 fi
45494
45495 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_CMDLINE_PARSER 1
45498 _ACEOF
45499
45500 fi
45501
45502 if test "$wxUSE_STOPWATCH" = "yes"; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_STOPWATCH 1
45505 _ACEOF
45506
45507 fi
45508
45509 if test "$wxUSE_DATETIME" = "yes"; then
45510 cat >>confdefs.h <<\_ACEOF
45511 #define wxUSE_DATETIME 1
45512 _ACEOF
45513
45514 fi
45515
45516 if test "$wxUSE_FILE" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_FILE 1
45519 _ACEOF
45520
45521 fi
45522
45523 if test "$wxUSE_FFILE" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_FFILE 1
45526 _ACEOF
45527
45528 fi
45529
45530 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45531 if test "$wxUSE_STREAMS" != yes; then
45532 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45533 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45534 wxUSE_ARCHIVE_STREAMS=no
45535 else
45536 cat >>confdefs.h <<\_ACEOF
45537 #define wxUSE_ARCHIVE_STREAMS 1
45538 _ACEOF
45539
45540 fi
45541 fi
45542
45543 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45544 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45545 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45546 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45547 elif test "$wxUSE_ZLIB" = "no"; then
45548 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45549 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45550 else
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_ZIPSTREAM 1
45553 _ACEOF
45554
45555 fi
45556 fi
45557
45558 if test "$wxUSE_TARSTREAM" = "yes"; then
45559 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45560 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45561 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45562 else
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_TARSTREAM 1
45565 _ACEOF
45566
45567 fi
45568 fi
45569
45570 if test "$wxUSE_FILESYSTEM" = "yes"; then
45571 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45572 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45573 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45574 wxUSE_FILESYSTEM=no
45575 else
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_FILESYSTEM 1
45578 _ACEOF
45579
45580 fi
45581 fi
45582
45583 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45584 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45585 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45586 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45587 else
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_FS_ARCHIVE 1
45590 _ACEOF
45591
45592 fi
45593 fi
45594
45595 if test "$wxUSE_FS_ZIP" = "yes"; then
45596 if test "$wxUSE_FS_ARCHIVE" != yes; then
45597 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45598 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45599 else
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_FS_ZIP 1
45602 _ACEOF
45603
45604 fi
45605 fi
45606
45607 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45608 if test "$USE_UNIX" != 1; then
45609 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45610 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45611 wxUSE_ON_FATAL_EXCEPTION=no
45612 else
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_ON_FATAL_EXCEPTION 1
45615 _ACEOF
45616
45617 fi
45618 fi
45619
45620 if test "$wxUSE_STACKWALKER" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_STACKWALKER 1
45623 _ACEOF
45624
45625 fi
45626
45627 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45628 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45629 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45630 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45631 wxUSE_DEBUGREPORT=no
45632 else
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_DEBUGREPORT 1
45635 _ACEOF
45636
45637 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45639 fi
45640 fi
45641 fi
45642
45643 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_SNGLINST_CHECKER 1
45646 _ACEOF
45647
45648 fi
45649
45650 if test "$wxUSE_BUSYINFO" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_BUSYINFO 1
45653 _ACEOF
45654
45655 fi
45656
45657 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_STD_IOSTREAM 1
45660 _ACEOF
45661
45662 fi
45663
45664 if test "$wxUSE_STD_STRING" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_STD_STRING 1
45667 _ACEOF
45668
45669 fi
45670
45671 if test "$wxUSE_STDPATHS" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_STDPATHS 1
45674 _ACEOF
45675
45676 fi
45677
45678 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_TEXTBUFFER 1
45681 _ACEOF
45682
45683 fi
45684
45685 if test "$wxUSE_TEXTFILE" = "yes"; then
45686 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45687 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45688 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45689 else
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_TEXTFILE 1
45692 _ACEOF
45693
45694 fi
45695 fi
45696
45697 if test "$wxUSE_CONFIG" = "yes" ; then
45698 if test "$wxUSE_TEXTFILE" != "yes"; then
45699 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45700 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45701 else
45702 cat >>confdefs.h <<\_ACEOF
45703 #define wxUSE_CONFIG 1
45704 _ACEOF
45705
45706 cat >>confdefs.h <<\_ACEOF
45707 #define wxUSE_CONFIG_NATIVE 1
45708 _ACEOF
45709
45710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45711 fi
45712 fi
45713
45714 if test "$wxUSE_INTL" = "yes" ; then
45715 if test "$wxUSE_FILE" != "yes"; then
45716 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45717 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45718 else
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_INTL 1
45721 _ACEOF
45722
45723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45724 GUIDIST="$GUIDIST INTL_DIST"
45725 fi
45726 fi
45727
45728 if test "$wxUSE_LOG" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_LOG 1
45731 _ACEOF
45732
45733
45734 if test "$wxUSE_LOGGUI" = "yes"; then
45735 cat >>confdefs.h <<\_ACEOF
45736 #define wxUSE_LOGGUI 1
45737 _ACEOF
45738
45739 fi
45740
45741 if test "$wxUSE_LOGWINDOW" = "yes"; then
45742 cat >>confdefs.h <<\_ACEOF
45743 #define wxUSE_LOGWINDOW 1
45744 _ACEOF
45745
45746 fi
45747
45748 if test "$wxUSE_LOGDIALOG" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_LOG_DIALOG 1
45751 _ACEOF
45752
45753 fi
45754
45755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45756 fi
45757
45758 if test "$wxUSE_LONGLONG" = "yes"; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_LONGLONG 1
45761 _ACEOF
45762
45763 fi
45764
45765 if test "$wxUSE_GEOMETRY" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_GEOMETRY 1
45768 _ACEOF
45769
45770 fi
45771
45772 if test "$wxUSE_BASE64" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_BASE64 1
45775 _ACEOF
45776
45777 fi
45778
45779 if test "$wxUSE_STREAMS" = "yes" ; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_STREAMS 1
45782 _ACEOF
45783
45784 fi
45785
45786 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_PRINTF_POS_PARAMS 1
45789 _ACEOF
45790
45791 fi
45792
45793 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_OBJC_UNIQUIFYING 1
45796 _ACEOF
45797
45798 fi
45799
45800
45801 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_CONSOLE_EVENTLOOP 1
45804 _ACEOF
45805
45806
45807 if test "$wxUSE_UNIX" = "yes"; then
45808 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45809 cat >>confdefs.h <<\_ACEOF
45810 #define wxUSE_SELECT_DISPATCHER 1
45811 _ACEOF
45812
45813 fi
45814
45815 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45816
45817 for ac_header in sys/epoll.h
45818 do
45819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45824 echo $ECHO_N "(cached) $ECHO_C" >&6
45825 fi
45826 ac_res=`eval echo '${'$as_ac_Header'}'`
45827 { echo "$as_me:$LINENO: result: $ac_res" >&5
45828 echo "${ECHO_T}$ac_res" >&6; }
45829 else
45830 # Is the header compilable?
45831 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45833 cat >conftest.$ac_ext <<_ACEOF
45834 /* confdefs.h. */
45835 _ACEOF
45836 cat confdefs.h >>conftest.$ac_ext
45837 cat >>conftest.$ac_ext <<_ACEOF
45838 /* end confdefs.h. */
45839 $ac_includes_default
45840 #include <$ac_header>
45841 _ACEOF
45842 rm -f conftest.$ac_objext
45843 if { (ac_try="$ac_compile"
45844 case "(($ac_try" in
45845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45846 *) ac_try_echo=$ac_try;;
45847 esac
45848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45849 (eval "$ac_compile") 2>conftest.er1
45850 ac_status=$?
45851 grep -v '^ *+' conftest.er1 >conftest.err
45852 rm -f conftest.er1
45853 cat conftest.err >&5
45854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45855 (exit $ac_status); } && {
45856 test -z "$ac_c_werror_flag" ||
45857 test ! -s conftest.err
45858 } && test -s conftest.$ac_objext; then
45859 ac_header_compiler=yes
45860 else
45861 echo "$as_me: failed program was:" >&5
45862 sed 's/^/| /' conftest.$ac_ext >&5
45863
45864 ac_header_compiler=no
45865 fi
45866
45867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45869 echo "${ECHO_T}$ac_header_compiler" >&6; }
45870
45871 # Is the header present?
45872 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45874 cat >conftest.$ac_ext <<_ACEOF
45875 /* confdefs.h. */
45876 _ACEOF
45877 cat confdefs.h >>conftest.$ac_ext
45878 cat >>conftest.$ac_ext <<_ACEOF
45879 /* end confdefs.h. */
45880 #include <$ac_header>
45881 _ACEOF
45882 if { (ac_try="$ac_cpp conftest.$ac_ext"
45883 case "(($ac_try" in
45884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45885 *) ac_try_echo=$ac_try;;
45886 esac
45887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45889 ac_status=$?
45890 grep -v '^ *+' conftest.er1 >conftest.err
45891 rm -f conftest.er1
45892 cat conftest.err >&5
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); } >/dev/null && {
45895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45896 test ! -s conftest.err
45897 }; then
45898 ac_header_preproc=yes
45899 else
45900 echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.$ac_ext >&5
45902
45903 ac_header_preproc=no
45904 fi
45905
45906 rm -f conftest.err conftest.$ac_ext
45907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45908 echo "${ECHO_T}$ac_header_preproc" >&6; }
45909
45910 # So? What about this header?
45911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45912 yes:no: )
45913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45917 ac_header_preproc=yes
45918 ;;
45919 no:yes:* )
45920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45932 ( cat <<\_ASBOX
45933 ## ----------------------------------------- ##
45934 ## Report this to wx-dev@lists.wxwidgets.org ##
45935 ## ----------------------------------------- ##
45936 _ASBOX
45937 ) | sed "s/^/$as_me: WARNING: /" >&2
45938 ;;
45939 esac
45940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45943 echo $ECHO_N "(cached) $ECHO_C" >&6
45944 else
45945 eval "$as_ac_Header=\$ac_header_preproc"
45946 fi
45947 ac_res=`eval echo '${'$as_ac_Header'}'`
45948 { echo "$as_me:$LINENO: result: $ac_res" >&5
45949 echo "${ECHO_T}$ac_res" >&6; }
45950
45951 fi
45952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45953 cat >>confdefs.h <<_ACEOF
45954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45955 _ACEOF
45956
45957 fi
45958
45959 done
45960
45961 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_EPOLL_DISPATCHER 1
45964 _ACEOF
45965
45966 else
45967 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45968 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45969 fi
45970 fi
45971 fi
45972 fi
45973
45974
45975
45976
45977 for ac_func in gettimeofday ftime
45978 do
45979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45980 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45982 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45983 echo $ECHO_N "(cached) $ECHO_C" >&6
45984 else
45985 cat >conftest.$ac_ext <<_ACEOF
45986 /* confdefs.h. */
45987 _ACEOF
45988 cat confdefs.h >>conftest.$ac_ext
45989 cat >>conftest.$ac_ext <<_ACEOF
45990 /* end confdefs.h. */
45991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45993 #define $ac_func innocuous_$ac_func
45994
45995 /* System header to define __stub macros and hopefully few prototypes,
45996 which can conflict with char $ac_func (); below.
45997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45998 <limits.h> exists even on freestanding compilers. */
45999
46000 #ifdef __STDC__
46001 # include <limits.h>
46002 #else
46003 # include <assert.h>
46004 #endif
46005
46006 #undef $ac_func
46007
46008 /* Override any GCC internal prototype to avoid an error.
46009 Use char because int might match the return type of a GCC
46010 builtin and then its argument prototype would still apply. */
46011 #ifdef __cplusplus
46012 extern "C"
46013 #endif
46014 char $ac_func ();
46015 /* The GNU C library defines this for functions which it implements
46016 to always fail with ENOSYS. Some functions are actually named
46017 something starting with __ and the normal name is an alias. */
46018 #if defined __stub_$ac_func || defined __stub___$ac_func
46019 choke me
46020 #endif
46021
46022 int
46023 main ()
46024 {
46025 return $ac_func ();
46026 ;
46027 return 0;
46028 }
46029 _ACEOF
46030 rm -f conftest.$ac_objext conftest$ac_exeext
46031 if { (ac_try="$ac_link"
46032 case "(($ac_try" in
46033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46034 *) ac_try_echo=$ac_try;;
46035 esac
46036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46037 (eval "$ac_link") 2>conftest.er1
46038 ac_status=$?
46039 grep -v '^ *+' conftest.er1 >conftest.err
46040 rm -f conftest.er1
46041 cat conftest.err >&5
46042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46043 (exit $ac_status); } && {
46044 test -z "$ac_c_werror_flag" ||
46045 test ! -s conftest.err
46046 } && test -s conftest$ac_exeext &&
46047 $as_test_x conftest$ac_exeext; then
46048 eval "$as_ac_var=yes"
46049 else
46050 echo "$as_me: failed program was:" >&5
46051 sed 's/^/| /' conftest.$ac_ext >&5
46052
46053 eval "$as_ac_var=no"
46054 fi
46055
46056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46057 conftest$ac_exeext conftest.$ac_ext
46058 fi
46059 ac_res=`eval echo '${'$as_ac_var'}'`
46060 { echo "$as_me:$LINENO: result: $ac_res" >&5
46061 echo "${ECHO_T}$ac_res" >&6; }
46062 if test `eval echo '${'$as_ac_var'}'` = yes; then
46063 cat >>confdefs.h <<_ACEOF
46064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46065 _ACEOF
46066 break
46067 fi
46068 done
46069
46070
46071 if test "$ac_cv_func_gettimeofday" = "yes"; then
46072 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46073 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46074 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46075 echo $ECHO_N "(cached) $ECHO_C" >&6
46076 else
46077
46078 cat >conftest.$ac_ext <<_ACEOF
46079 /* confdefs.h. */
46080 _ACEOF
46081 cat confdefs.h >>conftest.$ac_ext
46082 cat >>conftest.$ac_ext <<_ACEOF
46083 /* end confdefs.h. */
46084
46085 #include <sys/time.h>
46086 #include <unistd.h>
46087
46088 int
46089 main ()
46090 {
46091
46092 struct timeval tv;
46093 gettimeofday(&tv, NULL);
46094
46095 ;
46096 return 0;
46097 }
46098 _ACEOF
46099 rm -f conftest.$ac_objext
46100 if { (ac_try="$ac_compile"
46101 case "(($ac_try" in
46102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46103 *) ac_try_echo=$ac_try;;
46104 esac
46105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46106 (eval "$ac_compile") 2>conftest.er1
46107 ac_status=$?
46108 grep -v '^ *+' conftest.er1 >conftest.err
46109 rm -f conftest.er1
46110 cat conftest.err >&5
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); } && {
46113 test -z "$ac_c_werror_flag" ||
46114 test ! -s conftest.err
46115 } && test -s conftest.$ac_objext; then
46116 wx_cv_func_gettimeofday_has_2_args=yes
46117 else
46118 echo "$as_me: failed program was:" >&5
46119 sed 's/^/| /' conftest.$ac_ext >&5
46120
46121 cat >conftest.$ac_ext <<_ACEOF
46122 /* confdefs.h. */
46123 _ACEOF
46124 cat confdefs.h >>conftest.$ac_ext
46125 cat >>conftest.$ac_ext <<_ACEOF
46126 /* end confdefs.h. */
46127
46128 #include <sys/time.h>
46129 #include <unistd.h>
46130
46131 int
46132 main ()
46133 {
46134
46135 struct timeval tv;
46136 gettimeofday(&tv);
46137
46138 ;
46139 return 0;
46140 }
46141 _ACEOF
46142 rm -f conftest.$ac_objext
46143 if { (ac_try="$ac_compile"
46144 case "(($ac_try" in
46145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46146 *) ac_try_echo=$ac_try;;
46147 esac
46148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46149 (eval "$ac_compile") 2>conftest.er1
46150 ac_status=$?
46151 grep -v '^ *+' conftest.er1 >conftest.err
46152 rm -f conftest.er1
46153 cat conftest.err >&5
46154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46155 (exit $ac_status); } && {
46156 test -z "$ac_c_werror_flag" ||
46157 test ! -s conftest.err
46158 } && test -s conftest.$ac_objext; then
46159 wx_cv_func_gettimeofday_has_2_args=no
46160 else
46161 echo "$as_me: failed program was:" >&5
46162 sed 's/^/| /' conftest.$ac_ext >&5
46163
46164
46165 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46166 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46167 wx_cv_func_gettimeofday_has_2_args=unknown
46168
46169
46170 fi
46171
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173
46174 fi
46175
46176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46177
46178 fi
46179 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46180 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46181
46182 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46183 cat >>confdefs.h <<\_ACEOF
46184 #define WX_GETTIMEOFDAY_NO_TZ 1
46185 _ACEOF
46186
46187 fi
46188 fi
46189
46190 if test "$wxUSE_DATETIME" = "yes"; then
46191 { echo "$as_me:$LINENO: checking for strptime" >&5
46192 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46193 if test "${ac_cv_func_strptime+set}" = set; then
46194 echo $ECHO_N "(cached) $ECHO_C" >&6
46195 else
46196 cat >conftest.$ac_ext <<_ACEOF
46197 /* confdefs.h. */
46198 _ACEOF
46199 cat confdefs.h >>conftest.$ac_ext
46200 cat >>conftest.$ac_ext <<_ACEOF
46201 /* end confdefs.h. */
46202 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46204 #define strptime innocuous_strptime
46205
46206 /* System header to define __stub macros and hopefully few prototypes,
46207 which can conflict with char strptime (); below.
46208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46209 <limits.h> exists even on freestanding compilers. */
46210
46211 #ifdef __STDC__
46212 # include <limits.h>
46213 #else
46214 # include <assert.h>
46215 #endif
46216
46217 #undef strptime
46218
46219 /* Override any GCC internal prototype to avoid an error.
46220 Use char because int might match the return type of a GCC
46221 builtin and then its argument prototype would still apply. */
46222 #ifdef __cplusplus
46223 extern "C"
46224 #endif
46225 char strptime ();
46226 /* The GNU C library defines this for functions which it implements
46227 to always fail with ENOSYS. Some functions are actually named
46228 something starting with __ and the normal name is an alias. */
46229 #if defined __stub_strptime || defined __stub___strptime
46230 choke me
46231 #endif
46232
46233 int
46234 main ()
46235 {
46236 return strptime ();
46237 ;
46238 return 0;
46239 }
46240 _ACEOF
46241 rm -f conftest.$ac_objext conftest$ac_exeext
46242 if { (ac_try="$ac_link"
46243 case "(($ac_try" in
46244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46245 *) ac_try_echo=$ac_try;;
46246 esac
46247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46248 (eval "$ac_link") 2>conftest.er1
46249 ac_status=$?
46250 grep -v '^ *+' conftest.er1 >conftest.err
46251 rm -f conftest.er1
46252 cat conftest.err >&5
46253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46254 (exit $ac_status); } && {
46255 test -z "$ac_c_werror_flag" ||
46256 test ! -s conftest.err
46257 } && test -s conftest$ac_exeext &&
46258 $as_test_x conftest$ac_exeext; then
46259 ac_cv_func_strptime=yes
46260 else
46261 echo "$as_me: failed program was:" >&5
46262 sed 's/^/| /' conftest.$ac_ext >&5
46263
46264 ac_cv_func_strptime=no
46265 fi
46266
46267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46268 conftest$ac_exeext conftest.$ac_ext
46269 fi
46270 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46271 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46272
46273 if test "$ac_cv_func_strptime" = "yes"; then
46274 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46275 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46276 if test "${wx_cv_func_strptime_decl+set}" = set; then
46277 echo $ECHO_N "(cached) $ECHO_C" >&6
46278 else
46279
46280 ac_ext=cpp
46281 ac_cpp='$CXXCPP $CPPFLAGS'
46282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46285
46286 cat >conftest.$ac_ext <<_ACEOF
46287 /* confdefs.h. */
46288 _ACEOF
46289 cat confdefs.h >>conftest.$ac_ext
46290 cat >>conftest.$ac_ext <<_ACEOF
46291 /* end confdefs.h. */
46292
46293 #include <time.h>
46294
46295 int
46296 main ()
46297 {
46298
46299 struct tm t;
46300 strptime("foo", "bar", &t);
46301
46302 ;
46303 return 0;
46304 }
46305 _ACEOF
46306 rm -f conftest.$ac_objext
46307 if { (ac_try="$ac_compile"
46308 case "(($ac_try" in
46309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46310 *) ac_try_echo=$ac_try;;
46311 esac
46312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46313 (eval "$ac_compile") 2>conftest.er1
46314 ac_status=$?
46315 grep -v '^ *+' conftest.er1 >conftest.err
46316 rm -f conftest.er1
46317 cat conftest.err >&5
46318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46319 (exit $ac_status); } && {
46320 test -z "$ac_cxx_werror_flag" ||
46321 test ! -s conftest.err
46322 } && test -s conftest.$ac_objext; then
46323 wx_cv_func_strptime_decl=yes
46324 else
46325 echo "$as_me: failed program was:" >&5
46326 sed 's/^/| /' conftest.$ac_ext >&5
46327
46328 wx_cv_func_strptime_decl=no
46329
46330 fi
46331
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 ac_ext=c
46334 ac_cpp='$CPP $CPPFLAGS'
46335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338
46339
46340
46341 fi
46342 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46343 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46344 fi
46345 if test "$wx_cv_func_strptime_decl" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define HAVE_STRPTIME_DECL 1
46348 _ACEOF
46349
46350 else
46351 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46352 fi
46353 if test "$ac_cv_func_strptime" = "yes"; then
46354 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46355 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46356 if test "${wx_cv_func_strptime_ok+set}" = set; then
46357 echo $ECHO_N "(cached) $ECHO_C" >&6
46358 else
46359 if test "$cross_compiling" = yes; then
46360 wx_cv_func_strptime_ok=no
46361
46362 else
46363 cat >conftest.$ac_ext <<_ACEOF
46364
46365 #include <stdlib.h>
46366 #include <time.h>
46367 #include "confdefs.h"
46368
46369 $wx_strptime_decl
46370
46371 int main()
46372 {
46373 struct tm t;
46374 return !!strptime("", "%x", &t);
46375 }
46376
46377 _ACEOF
46378 rm -f conftest$ac_exeext
46379 if { (ac_try="$ac_link"
46380 case "(($ac_try" in
46381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46382 *) ac_try_echo=$ac_try;;
46383 esac
46384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46385 (eval "$ac_link") 2>&5
46386 ac_status=$?
46387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46388 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46389 { (case "(($ac_try" in
46390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46391 *) ac_try_echo=$ac_try;;
46392 esac
46393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46394 (eval "$ac_try") 2>&5
46395 ac_status=$?
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); }; }; then
46398 wx_cv_func_strptime_ok=yes
46399 else
46400 echo "$as_me: program exited with status $ac_status" >&5
46401 echo "$as_me: failed program was:" >&5
46402 sed 's/^/| /' conftest.$ac_ext >&5
46403
46404 ( exit $ac_status )
46405 wx_cv_func_strptime_ok=no
46406 fi
46407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46408 fi
46409
46410
46411
46412 fi
46413 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46414 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46415
46416 if test "$wx_cv_func_strptime_ok" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define HAVE_STRPTIME 1
46419 _ACEOF
46420
46421 fi
46422 fi
46423
46424 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46425 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46426 if test "${wx_cv_var_timezone+set}" = set; then
46427 echo $ECHO_N "(cached) $ECHO_C" >&6
46428 else
46429
46430 ac_ext=cpp
46431 ac_cpp='$CXXCPP $CPPFLAGS'
46432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46435
46436 cat >conftest.$ac_ext <<_ACEOF
46437 /* confdefs.h. */
46438 _ACEOF
46439 cat confdefs.h >>conftest.$ac_ext
46440 cat >>conftest.$ac_ext <<_ACEOF
46441 /* end confdefs.h. */
46442
46443 #include <time.h>
46444
46445 int
46446 main ()
46447 {
46448
46449 int tz;
46450 tz = timezone;
46451
46452 ;
46453 return 0;
46454 }
46455 _ACEOF
46456 rm -f conftest.$ac_objext
46457 if { (ac_try="$ac_compile"
46458 case "(($ac_try" in
46459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46460 *) ac_try_echo=$ac_try;;
46461 esac
46462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46463 (eval "$ac_compile") 2>conftest.er1
46464 ac_status=$?
46465 grep -v '^ *+' conftest.er1 >conftest.err
46466 rm -f conftest.er1
46467 cat conftest.err >&5
46468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46469 (exit $ac_status); } && {
46470 test -z "$ac_cxx_werror_flag" ||
46471 test ! -s conftest.err
46472 } && test -s conftest.$ac_objext; then
46473
46474 wx_cv_var_timezone=timezone
46475
46476 else
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.$ac_ext >&5
46479
46480
46481 cat >conftest.$ac_ext <<_ACEOF
46482 /* confdefs.h. */
46483 _ACEOF
46484 cat confdefs.h >>conftest.$ac_ext
46485 cat >>conftest.$ac_ext <<_ACEOF
46486 /* end confdefs.h. */
46487
46488 #include <time.h>
46489
46490 int
46491 main ()
46492 {
46493
46494 int tz;
46495 tz = _timezone;
46496
46497 ;
46498 return 0;
46499 }
46500 _ACEOF
46501 rm -f conftest.$ac_objext
46502 if { (ac_try="$ac_compile"
46503 case "(($ac_try" in
46504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46505 *) ac_try_echo=$ac_try;;
46506 esac
46507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46508 (eval "$ac_compile") 2>conftest.er1
46509 ac_status=$?
46510 grep -v '^ *+' conftest.er1 >conftest.err
46511 rm -f conftest.er1
46512 cat conftest.err >&5
46513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46514 (exit $ac_status); } && {
46515 test -z "$ac_cxx_werror_flag" ||
46516 test ! -s conftest.err
46517 } && test -s conftest.$ac_objext; then
46518
46519 wx_cv_var_timezone=_timezone
46520
46521 else
46522 echo "$as_me: failed program was:" >&5
46523 sed 's/^/| /' conftest.$ac_ext >&5
46524
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 <time.h>
46534
46535 int
46536 main ()
46537 {
46538
46539 int tz;
46540 tz = __timezone;
46541
46542 ;
46543 return 0;
46544 }
46545 _ACEOF
46546 rm -f conftest.$ac_objext
46547 if { (ac_try="$ac_compile"
46548 case "(($ac_try" in
46549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46550 *) ac_try_echo=$ac_try;;
46551 esac
46552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46553 (eval "$ac_compile") 2>conftest.er1
46554 ac_status=$?
46555 grep -v '^ *+' conftest.er1 >conftest.err
46556 rm -f conftest.er1
46557 cat conftest.err >&5
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } && {
46560 test -z "$ac_cxx_werror_flag" ||
46561 test ! -s conftest.err
46562 } && test -s conftest.$ac_objext; then
46563
46564 wx_cv_var_timezone=__timezone
46565
46566 else
46567 echo "$as_me: failed program was:" >&5
46568 sed 's/^/| /' conftest.$ac_ext >&5
46569
46570
46571 if test "$USE_DOS" = 0 ; then
46572 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46573 echo "$as_me: WARNING: no timezone variable" >&2;}
46574 fi
46575
46576
46577 fi
46578
46579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46580
46581
46582 fi
46583
46584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46585
46586
46587 fi
46588
46589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46590 ac_ext=c
46591 ac_cpp='$CPP $CPPFLAGS'
46592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46595
46596
46597
46598 fi
46599 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46600 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46601
46602 if test "x$wx_cv_var_timezone" != x ; then
46603 cat >>confdefs.h <<_ACEOF
46604 #define WX_TIMEZONE $wx_cv_var_timezone
46605 _ACEOF
46606
46607 fi
46608
46609
46610 for ac_func in localtime
46611 do
46612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46626 #define $ac_func innocuous_$ac_func
46627
46628 /* System header to define __stub macros and hopefully few prototypes,
46629 which can conflict with char $ac_func (); below.
46630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46631 <limits.h> exists even on freestanding compilers. */
46632
46633 #ifdef __STDC__
46634 # include <limits.h>
46635 #else
46636 # include <assert.h>
46637 #endif
46638
46639 #undef $ac_func
46640
46641 /* Override any GCC internal prototype to avoid an error.
46642 Use char because int might match the return type of a GCC
46643 builtin and then its argument prototype would still apply. */
46644 #ifdef __cplusplus
46645 extern "C"
46646 #endif
46647 char $ac_func ();
46648 /* The GNU C library defines this for functions which it implements
46649 to always fail with ENOSYS. Some functions are actually named
46650 something starting with __ and the normal name is an alias. */
46651 #if defined __stub_$ac_func || defined __stub___$ac_func
46652 choke me
46653 #endif
46654
46655 int
46656 main ()
46657 {
46658 return $ac_func ();
46659 ;
46660 return 0;
46661 }
46662 _ACEOF
46663 rm -f conftest.$ac_objext conftest$ac_exeext
46664 if { (ac_try="$ac_link"
46665 case "(($ac_try" in
46666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46667 *) ac_try_echo=$ac_try;;
46668 esac
46669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46670 (eval "$ac_link") 2>conftest.er1
46671 ac_status=$?
46672 grep -v '^ *+' conftest.er1 >conftest.err
46673 rm -f conftest.er1
46674 cat conftest.err >&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); } && {
46677 test -z "$ac_c_werror_flag" ||
46678 test ! -s conftest.err
46679 } && test -s conftest$ac_exeext &&
46680 $as_test_x conftest$ac_exeext; then
46681 eval "$as_ac_var=yes"
46682 else
46683 echo "$as_me: failed program was:" >&5
46684 sed 's/^/| /' conftest.$ac_ext >&5
46685
46686 eval "$as_ac_var=no"
46687 fi
46688
46689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46690 conftest$ac_exeext conftest.$ac_ext
46691 fi
46692 ac_res=`eval echo '${'$as_ac_var'}'`
46693 { echo "$as_me:$LINENO: result: $ac_res" >&5
46694 echo "${ECHO_T}$ac_res" >&6; }
46695 if test `eval echo '${'$as_ac_var'}'` = yes; then
46696 cat >>confdefs.h <<_ACEOF
46697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46698 _ACEOF
46699
46700 fi
46701 done
46702
46703
46704 if test "$ac_cv_func_localtime" = "yes"; then
46705 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46706 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46707 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46708 echo $ECHO_N "(cached) $ECHO_C" >&6
46709 else
46710
46711 cat >conftest.$ac_ext <<_ACEOF
46712 /* confdefs.h. */
46713 _ACEOF
46714 cat confdefs.h >>conftest.$ac_ext
46715 cat >>conftest.$ac_ext <<_ACEOF
46716 /* end confdefs.h. */
46717
46718 #include <time.h>
46719
46720 int
46721 main ()
46722 {
46723
46724 struct tm tm;
46725 tm.tm_gmtoff++;
46726
46727 ;
46728 return 0;
46729 }
46730 _ACEOF
46731 rm -f conftest.$ac_objext
46732 if { (ac_try="$ac_compile"
46733 case "(($ac_try" in
46734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46735 *) ac_try_echo=$ac_try;;
46736 esac
46737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46738 (eval "$ac_compile") 2>conftest.er1
46739 ac_status=$?
46740 grep -v '^ *+' conftest.er1 >conftest.err
46741 rm -f conftest.er1
46742 cat conftest.err >&5
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); } && {
46745 test -z "$ac_c_werror_flag" ||
46746 test ! -s conftest.err
46747 } && test -s conftest.$ac_objext; then
46748
46749 wx_cv_struct_tm_has_gmtoff=yes
46750
46751 else
46752 echo "$as_me: failed program was:" >&5
46753 sed 's/^/| /' conftest.$ac_ext >&5
46754
46755 wx_cv_struct_tm_has_gmtoff=no
46756
46757 fi
46758
46759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46760
46761 fi
46762 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46763 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46764 fi
46765
46766 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46767 cat >>confdefs.h <<\_ACEOF
46768 #define WX_GMTOFF_IN_TM 1
46769 _ACEOF
46770
46771 fi
46772
46773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46774 fi
46775
46776
46777 if test "$wxUSE_SOCKETS" = "yes"; then
46778 if test "$wxUSE_MGL" = "1"; then
46779 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46780 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46781 wxUSE_SOCKETS="no"
46782 fi
46783 fi
46784
46785 if test "$wxUSE_SOCKETS" = "yes"; then
46786 if test "$TOOLKIT" != "MSW"; then
46787 { echo "$as_me:$LINENO: checking for socket" >&5
46788 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46789 if test "${ac_cv_func_socket+set}" = set; then
46790 echo $ECHO_N "(cached) $ECHO_C" >&6
46791 else
46792 cat >conftest.$ac_ext <<_ACEOF
46793 /* confdefs.h. */
46794 _ACEOF
46795 cat confdefs.h >>conftest.$ac_ext
46796 cat >>conftest.$ac_ext <<_ACEOF
46797 /* end confdefs.h. */
46798 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46800 #define socket innocuous_socket
46801
46802 /* System header to define __stub macros and hopefully few prototypes,
46803 which can conflict with char socket (); below.
46804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46805 <limits.h> exists even on freestanding compilers. */
46806
46807 #ifdef __STDC__
46808 # include <limits.h>
46809 #else
46810 # include <assert.h>
46811 #endif
46812
46813 #undef socket
46814
46815 /* Override any GCC internal prototype to avoid an error.
46816 Use char because int might match the return type of a GCC
46817 builtin and then its argument prototype would still apply. */
46818 #ifdef __cplusplus
46819 extern "C"
46820 #endif
46821 char socket ();
46822 /* The GNU C library defines this for functions which it implements
46823 to always fail with ENOSYS. Some functions are actually named
46824 something starting with __ and the normal name is an alias. */
46825 #if defined __stub_socket || defined __stub___socket
46826 choke me
46827 #endif
46828
46829 int
46830 main ()
46831 {
46832 return socket ();
46833 ;
46834 return 0;
46835 }
46836 _ACEOF
46837 rm -f conftest.$ac_objext conftest$ac_exeext
46838 if { (ac_try="$ac_link"
46839 case "(($ac_try" in
46840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46841 *) ac_try_echo=$ac_try;;
46842 esac
46843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46844 (eval "$ac_link") 2>conftest.er1
46845 ac_status=$?
46846 grep -v '^ *+' conftest.er1 >conftest.err
46847 rm -f conftest.er1
46848 cat conftest.err >&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); } && {
46851 test -z "$ac_c_werror_flag" ||
46852 test ! -s conftest.err
46853 } && test -s conftest$ac_exeext &&
46854 $as_test_x conftest$ac_exeext; then
46855 ac_cv_func_socket=yes
46856 else
46857 echo "$as_me: failed program was:" >&5
46858 sed 's/^/| /' conftest.$ac_ext >&5
46859
46860 ac_cv_func_socket=no
46861 fi
46862
46863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46864 conftest$ac_exeext conftest.$ac_ext
46865 fi
46866 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46867 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46868 if test $ac_cv_func_socket = yes; then
46869 :
46870 else
46871
46872 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46873 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46874 if test "${ac_cv_lib_socket_socket+set}" = set; then
46875 echo $ECHO_N "(cached) $ECHO_C" >&6
46876 else
46877 ac_check_lib_save_LIBS=$LIBS
46878 LIBS="-lsocket $LIBS"
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
46886 /* Override any GCC internal prototype to avoid an error.
46887 Use char because int might match the return type of a GCC
46888 builtin and then its argument prototype would still apply. */
46889 #ifdef __cplusplus
46890 extern "C"
46891 #endif
46892 char socket ();
46893 int
46894 main ()
46895 {
46896 return socket ();
46897 ;
46898 return 0;
46899 }
46900 _ACEOF
46901 rm -f conftest.$ac_objext conftest$ac_exeext
46902 if { (ac_try="$ac_link"
46903 case "(($ac_try" in
46904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46905 *) ac_try_echo=$ac_try;;
46906 esac
46907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46908 (eval "$ac_link") 2>conftest.er1
46909 ac_status=$?
46910 grep -v '^ *+' conftest.er1 >conftest.err
46911 rm -f conftest.er1
46912 cat conftest.err >&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } && {
46915 test -z "$ac_c_werror_flag" ||
46916 test ! -s conftest.err
46917 } && test -s conftest$ac_exeext &&
46918 $as_test_x conftest$ac_exeext; then
46919 ac_cv_lib_socket_socket=yes
46920 else
46921 echo "$as_me: failed program was:" >&5
46922 sed 's/^/| /' conftest.$ac_ext >&5
46923
46924 ac_cv_lib_socket_socket=no
46925 fi
46926
46927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46928 conftest$ac_exeext conftest.$ac_ext
46929 LIBS=$ac_check_lib_save_LIBS
46930 fi
46931 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46932 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46933 if test $ac_cv_lib_socket_socket = yes; then
46934 if test "$INET_LINK" != " -lsocket"; then
46935 INET_LINK="$INET_LINK -lsocket"
46936 fi
46937 else
46938
46939 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46940 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46941 wxUSE_SOCKETS=no
46942
46943
46944 fi
46945
46946
46947
46948 fi
46949
46950 fi
46951 fi
46952
46953 if test "$wxUSE_SOCKETS" = "yes" ; then
46954 if test "$TOOLKIT" != "MSW"; then
46955 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46956 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46957 if test "${wx_cv_type_getsockname3+set}" = set; then
46958 echo $ECHO_N "(cached) $ECHO_C" >&6
46959 else
46960
46961 ac_ext=cpp
46962 ac_cpp='$CXXCPP $CPPFLAGS'
46963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46966
46967 cat >conftest.$ac_ext <<_ACEOF
46968 /* confdefs.h. */
46969 _ACEOF
46970 cat confdefs.h >>conftest.$ac_ext
46971 cat >>conftest.$ac_ext <<_ACEOF
46972 /* end confdefs.h. */
46973
46974 #include <sys/types.h>
46975 #include <sys/socket.h>
46976
46977 int
46978 main ()
46979 {
46980
46981 socklen_t len;
46982 getsockname(0, 0, &len);
46983
46984 ;
46985 return 0;
46986 }
46987 _ACEOF
46988 rm -f conftest.$ac_objext
46989 if { (ac_try="$ac_compile"
46990 case "(($ac_try" in
46991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46992 *) ac_try_echo=$ac_try;;
46993 esac
46994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46995 (eval "$ac_compile") 2>conftest.er1
46996 ac_status=$?
46997 grep -v '^ *+' conftest.er1 >conftest.err
46998 rm -f conftest.er1
46999 cat conftest.err >&5
47000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47001 (exit $ac_status); } && {
47002 test -z "$ac_cxx_werror_flag" ||
47003 test ! -s conftest.err
47004 } && test -s conftest.$ac_objext; then
47005 wx_cv_type_getsockname3=socklen_t
47006 else
47007 echo "$as_me: failed program was:" >&5
47008 sed 's/^/| /' conftest.$ac_ext >&5
47009
47010
47011 CFLAGS_OLD="$CFLAGS"
47012 if test "$GCC" = yes ; then
47013 CFLAGS="-Werror $CFLAGS"
47014 fi
47015
47016 cat >conftest.$ac_ext <<_ACEOF
47017 /* confdefs.h. */
47018 _ACEOF
47019 cat confdefs.h >>conftest.$ac_ext
47020 cat >>conftest.$ac_ext <<_ACEOF
47021 /* end confdefs.h. */
47022
47023 #include <sys/types.h>
47024 #include <sys/socket.h>
47025
47026 int
47027 main ()
47028 {
47029
47030 size_t len;
47031 getsockname(0, 0, &len);
47032
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 rm -f conftest.$ac_objext
47038 if { (ac_try="$ac_compile"
47039 case "(($ac_try" in
47040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47041 *) ac_try_echo=$ac_try;;
47042 esac
47043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47044 (eval "$ac_compile") 2>conftest.er1
47045 ac_status=$?
47046 grep -v '^ *+' conftest.er1 >conftest.err
47047 rm -f conftest.er1
47048 cat conftest.err >&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); } && {
47051 test -z "$ac_cxx_werror_flag" ||
47052 test ! -s conftest.err
47053 } && test -s conftest.$ac_objext; then
47054 wx_cv_type_getsockname3=size_t
47055 else
47056 echo "$as_me: failed program was:" >&5
47057 sed 's/^/| /' conftest.$ac_ext >&5
47058
47059 cat >conftest.$ac_ext <<_ACEOF
47060 /* confdefs.h. */
47061 _ACEOF
47062 cat confdefs.h >>conftest.$ac_ext
47063 cat >>conftest.$ac_ext <<_ACEOF
47064 /* end confdefs.h. */
47065
47066 #include <sys/types.h>
47067 #include <sys/socket.h>
47068
47069 int
47070 main ()
47071 {
47072
47073 int len;
47074 getsockname(0, 0, &len);
47075
47076 ;
47077 return 0;
47078 }
47079 _ACEOF
47080 rm -f conftest.$ac_objext
47081 if { (ac_try="$ac_compile"
47082 case "(($ac_try" in
47083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47084 *) ac_try_echo=$ac_try;;
47085 esac
47086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47087 (eval "$ac_compile") 2>conftest.er1
47088 ac_status=$?
47089 grep -v '^ *+' conftest.er1 >conftest.err
47090 rm -f conftest.er1
47091 cat conftest.err >&5
47092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47093 (exit $ac_status); } && {
47094 test -z "$ac_cxx_werror_flag" ||
47095 test ! -s conftest.err
47096 } && test -s conftest.$ac_objext; then
47097 wx_cv_type_getsockname3=int
47098 else
47099 echo "$as_me: failed program was:" >&5
47100 sed 's/^/| /' conftest.$ac_ext >&5
47101
47102 wx_cv_type_getsockname3=unknown
47103
47104 fi
47105
47106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47107
47108 fi
47109
47110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47111
47112 CFLAGS="$CFLAGS_OLD"
47113
47114
47115 fi
47116
47117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47118 ac_ext=c
47119 ac_cpp='$CPP $CPPFLAGS'
47120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47123
47124
47125 fi
47126 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47127 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47128
47129 if test "$wx_cv_type_getsockname3" = "unknown"; then
47130 wxUSE_SOCKETS=no
47131 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47132 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47133 else
47134 cat >>confdefs.h <<_ACEOF
47135 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47136 _ACEOF
47137
47138 fi
47139 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47140 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47141 if test "${wx_cv_type_getsockopt5+set}" = set; then
47142 echo $ECHO_N "(cached) $ECHO_C" >&6
47143 else
47144
47145 ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47150
47151 cat >conftest.$ac_ext <<_ACEOF
47152 /* confdefs.h. */
47153 _ACEOF
47154 cat confdefs.h >>conftest.$ac_ext
47155 cat >>conftest.$ac_ext <<_ACEOF
47156 /* end confdefs.h. */
47157
47158 #include <sys/types.h>
47159 #include <sys/socket.h>
47160
47161 int
47162 main ()
47163 {
47164
47165 socklen_t len;
47166 getsockopt(0, 0, 0, 0, &len);
47167
47168 ;
47169 return 0;
47170 }
47171 _ACEOF
47172 rm -f conftest.$ac_objext
47173 if { (ac_try="$ac_compile"
47174 case "(($ac_try" in
47175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47176 *) ac_try_echo=$ac_try;;
47177 esac
47178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47179 (eval "$ac_compile") 2>conftest.er1
47180 ac_status=$?
47181 grep -v '^ *+' conftest.er1 >conftest.err
47182 rm -f conftest.er1
47183 cat conftest.err >&5
47184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } && {
47186 test -z "$ac_cxx_werror_flag" ||
47187 test ! -s conftest.err
47188 } && test -s conftest.$ac_objext; then
47189 wx_cv_type_getsockopt5=socklen_t
47190 else
47191 echo "$as_me: failed program was:" >&5
47192 sed 's/^/| /' conftest.$ac_ext >&5
47193
47194
47195 cat >conftest.$ac_ext <<_ACEOF
47196 /* confdefs.h. */
47197 _ACEOF
47198 cat confdefs.h >>conftest.$ac_ext
47199 cat >>conftest.$ac_ext <<_ACEOF
47200 /* end confdefs.h. */
47201
47202 #include <sys/types.h>
47203 #include <sys/socket.h>
47204
47205 int
47206 main ()
47207 {
47208
47209 size_t len;
47210 getsockopt(0, 0, 0, 0, &len);
47211
47212 ;
47213 return 0;
47214 }
47215 _ACEOF
47216 rm -f conftest.$ac_objext
47217 if { (ac_try="$ac_compile"
47218 case "(($ac_try" in
47219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47220 *) ac_try_echo=$ac_try;;
47221 esac
47222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47223 (eval "$ac_compile") 2>conftest.er1
47224 ac_status=$?
47225 grep -v '^ *+' conftest.er1 >conftest.err
47226 rm -f conftest.er1
47227 cat conftest.err >&5
47228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47229 (exit $ac_status); } && {
47230 test -z "$ac_cxx_werror_flag" ||
47231 test ! -s conftest.err
47232 } && test -s conftest.$ac_objext; then
47233 wx_cv_type_getsockopt5=size_t
47234 else
47235 echo "$as_me: failed program was:" >&5
47236 sed 's/^/| /' conftest.$ac_ext >&5
47237
47238 cat >conftest.$ac_ext <<_ACEOF
47239 /* confdefs.h. */
47240 _ACEOF
47241 cat confdefs.h >>conftest.$ac_ext
47242 cat >>conftest.$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47244
47245 #include <sys/types.h>
47246 #include <sys/socket.h>
47247
47248 int
47249 main ()
47250 {
47251
47252 int len;
47253 getsockopt(0, 0, 0, 0, &len);
47254
47255 ;
47256 return 0;
47257 }
47258 _ACEOF
47259 rm -f conftest.$ac_objext
47260 if { (ac_try="$ac_compile"
47261 case "(($ac_try" in
47262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47263 *) ac_try_echo=$ac_try;;
47264 esac
47265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47266 (eval "$ac_compile") 2>conftest.er1
47267 ac_status=$?
47268 grep -v '^ *+' conftest.er1 >conftest.err
47269 rm -f conftest.er1
47270 cat conftest.err >&5
47271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47272 (exit $ac_status); } && {
47273 test -z "$ac_cxx_werror_flag" ||
47274 test ! -s conftest.err
47275 } && test -s conftest.$ac_objext; then
47276 wx_cv_type_getsockopt5=int
47277 else
47278 echo "$as_me: failed program was:" >&5
47279 sed 's/^/| /' conftest.$ac_ext >&5
47280
47281 wx_cv_type_getsockopt5=unknown
47282
47283 fi
47284
47285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47286
47287 fi
47288
47289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47290
47291
47292 fi
47293
47294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47295 ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47300
47301
47302 fi
47303 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47304 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47305
47306 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47307 wxUSE_SOCKETS=no
47308 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47309 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47310 else
47311 cat >>confdefs.h <<_ACEOF
47312 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47313 _ACEOF
47314
47315 fi
47316 fi
47317 fi
47318
47319 if test "$wxUSE_SOCKETS" = "yes" ; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_SOCKETS 1
47322 _ACEOF
47323
47324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47325 fi
47326
47327 if test "$wxUSE_PROTOCOL" = "yes"; then
47328 if test "$wxUSE_SOCKETS" != "yes"; then
47329 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47330 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47331 wxUSE_PROTOCOL=no
47332 fi
47333 fi
47334
47335 if test "$wxUSE_PROTOCOL" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_PROTOCOL 1
47338 _ACEOF
47339
47340
47341 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47342 cat >>confdefs.h <<\_ACEOF
47343 #define wxUSE_PROTOCOL_HTTP 1
47344 _ACEOF
47345
47346 fi
47347 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47348 cat >>confdefs.h <<\_ACEOF
47349 #define wxUSE_PROTOCOL_FTP 1
47350 _ACEOF
47351
47352 fi
47353 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_PROTOCOL_FILE 1
47356 _ACEOF
47357
47358 fi
47359 else
47360 if test "$wxUSE_FS_INET" = "yes"; then
47361 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47362 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47363 wxUSE_FS_INET="no"
47364 fi
47365 fi
47366
47367 if test "$wxUSE_URL" = "yes"; then
47368 if test "$wxUSE_PROTOCOL" != "yes"; then
47369 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47370 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47371 wxUSE_URL=no
47372 fi
47373 if test "$wxUSE_URL" = "yes"; then
47374 cat >>confdefs.h <<\_ACEOF
47375 #define wxUSE_URL 1
47376 _ACEOF
47377
47378 fi
47379 fi
47380
47381 if test "$wxUSE_VARIANT" = "yes"; then
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_VARIANT 1
47384 _ACEOF
47385
47386 fi
47387
47388 if test "$wxUSE_FS_INET" = "yes"; then
47389 cat >>confdefs.h <<\_ACEOF
47390 #define wxUSE_FS_INET 1
47391 _ACEOF
47392
47393 fi
47394
47395
47396 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47397 wxUSE_JOYSTICK=no
47398
47399 if test "$TOOLKIT" = "MSW"; then
47400 wxUSE_JOYSTICK=yes
47401
47402 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47403 if test "$USE_DARWIN" = 1; then
47404 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47405 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47406 ac_ext=cpp
47407 ac_cpp='$CXXCPP $CPPFLAGS'
47408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47411
47412 cat >conftest.$ac_ext <<_ACEOF
47413 /* confdefs.h. */
47414 _ACEOF
47415 cat confdefs.h >>conftest.$ac_ext
47416 cat >>conftest.$ac_ext <<_ACEOF
47417 /* end confdefs.h. */
47418 #include <IOKit/hid/IOHIDLib.h>
47419 int
47420 main ()
47421 {
47422 IOHIDQueueInterface *qi = NULL;
47423 IOHIDCallbackFunction cb = NULL;
47424 qi->setEventCallout(NULL, cb, NULL, NULL);
47425 ;
47426 return 0;
47427 }
47428 _ACEOF
47429 rm -f conftest.$ac_objext
47430 if { (ac_try="$ac_compile"
47431 case "(($ac_try" in
47432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47433 *) ac_try_echo=$ac_try;;
47434 esac
47435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47436 (eval "$ac_compile") 2>conftest.er1
47437 ac_status=$?
47438 grep -v '^ *+' conftest.er1 >conftest.err
47439 rm -f conftest.er1
47440 cat conftest.err >&5
47441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442 (exit $ac_status); } && {
47443 test -z "$ac_cxx_werror_flag" ||
47444 test ! -s conftest.err
47445 } && test -s conftest.$ac_objext; then
47446 wxUSE_JOYSTICK=yes
47447
47448 else
47449 echo "$as_me: failed program was:" >&5
47450 sed 's/^/| /' conftest.$ac_ext >&5
47451
47452
47453 fi
47454
47455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47456 ac_ext=c
47457 ac_cpp='$CPP $CPPFLAGS'
47458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47461
47462 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47463 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47464 fi
47465
47466 else
47467 if test "$wxUSE_MGL" != "1"; then
47468
47469 for ac_header in linux/joystick.h
47470 do
47471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47472 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47476 else
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483 $ac_includes_default
47484
47485 #include <$ac_header>
47486 _ACEOF
47487 rm -f conftest.$ac_objext
47488 if { (ac_try="$ac_compile"
47489 case "(($ac_try" in
47490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47491 *) ac_try_echo=$ac_try;;
47492 esac
47493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47494 (eval "$ac_compile") 2>conftest.er1
47495 ac_status=$?
47496 grep -v '^ *+' conftest.er1 >conftest.err
47497 rm -f conftest.er1
47498 cat conftest.err >&5
47499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47500 (exit $ac_status); } && {
47501 test -z "$ac_c_werror_flag" ||
47502 test ! -s conftest.err
47503 } && test -s conftest.$ac_objext; then
47504 eval "$as_ac_Header=yes"
47505 else
47506 echo "$as_me: failed program was:" >&5
47507 sed 's/^/| /' conftest.$ac_ext >&5
47508
47509 eval "$as_ac_Header=no"
47510 fi
47511
47512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47513 fi
47514 ac_res=`eval echo '${'$as_ac_Header'}'`
47515 { echo "$as_me:$LINENO: result: $ac_res" >&5
47516 echo "${ECHO_T}$ac_res" >&6; }
47517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47518 cat >>confdefs.h <<_ACEOF
47519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47520 _ACEOF
47521 wxUSE_JOYSTICK=yes
47522 fi
47523
47524 done
47525
47526 fi
47527 fi
47528
47529 if test "$wxUSE_JOYSTICK" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_JOYSTICK 1
47532 _ACEOF
47533
47534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47535 else
47536 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47537 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47538 fi
47539 fi
47540
47541
47542
47543 if test "$wxUSE_FONTMAP" = "yes" ; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_FONTMAP 1
47546 _ACEOF
47547
47548 fi
47549
47550 if test "$wxUSE_UNICODE" = "yes" ; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_UNICODE 1
47553 _ACEOF
47554
47555
47556 if test "$USE_WIN32" != 1; then
47557 wxUSE_UNICODE_MSLU=no
47558 fi
47559
47560 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47561 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47562 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47563 if test "${ac_cv_lib_unicows_main+set}" = set; then
47564 echo $ECHO_N "(cached) $ECHO_C" >&6
47565 else
47566 ac_check_lib_save_LIBS=$LIBS
47567 LIBS="-lunicows $LIBS"
47568 cat >conftest.$ac_ext <<_ACEOF
47569 /* confdefs.h. */
47570 _ACEOF
47571 cat confdefs.h >>conftest.$ac_ext
47572 cat >>conftest.$ac_ext <<_ACEOF
47573 /* end confdefs.h. */
47574
47575
47576 int
47577 main ()
47578 {
47579 return main ();
47580 ;
47581 return 0;
47582 }
47583 _ACEOF
47584 rm -f conftest.$ac_objext conftest$ac_exeext
47585 if { (ac_try="$ac_link"
47586 case "(($ac_try" in
47587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47588 *) ac_try_echo=$ac_try;;
47589 esac
47590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47591 (eval "$ac_link") 2>conftest.er1
47592 ac_status=$?
47593 grep -v '^ *+' conftest.er1 >conftest.err
47594 rm -f conftest.er1
47595 cat conftest.err >&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } && {
47598 test -z "$ac_c_werror_flag" ||
47599 test ! -s conftest.err
47600 } && test -s conftest$ac_exeext &&
47601 $as_test_x conftest$ac_exeext; then
47602 ac_cv_lib_unicows_main=yes
47603 else
47604 echo "$as_me: failed program was:" >&5
47605 sed 's/^/| /' conftest.$ac_ext >&5
47606
47607 ac_cv_lib_unicows_main=no
47608 fi
47609
47610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47611 conftest$ac_exeext conftest.$ac_ext
47612 LIBS=$ac_check_lib_save_LIBS
47613 fi
47614 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47615 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47616 if test $ac_cv_lib_unicows_main = yes; then
47617
47618 cat >>confdefs.h <<\_ACEOF
47619 #define wxUSE_UNICODE_MSLU 1
47620 _ACEOF
47621
47622
47623 else
47624
47625 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47626 Applications will only run on Windows NT/2000/XP!" >&5
47627 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47628 Applications will only run on Windows NT/2000/XP!" >&2;}
47629 wxUSE_UNICODE_MSLU=no
47630
47631 fi
47632
47633 fi
47634 fi
47635
47636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_UNICODE_UTF8 1
47639 _ACEOF
47640
47641
47642 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_UTF8_LOCALE_ONLY 1
47645 _ACEOF
47646
47647 fi
47648 fi
47649
47650 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_EXPERIMENTAL_PRINTF 1
47653 _ACEOF
47654
47655 fi
47656
47657
47658 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_CONSTRAINTS 1
47661 _ACEOF
47662
47663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47664 fi
47665
47666 if test "$wxUSE_MDI" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_MDI 1
47669 _ACEOF
47670
47671
47672 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47673 cat >>confdefs.h <<\_ACEOF
47674 #define wxUSE_MDI_ARCHITECTURE 1
47675 _ACEOF
47676
47677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47678 fi
47679 fi
47680
47681 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47682 cat >>confdefs.h <<\_ACEOF
47683 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47684 _ACEOF
47685
47686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47687 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47689 fi
47690 fi
47691
47692 if test "$wxUSE_HELP" = "yes"; then
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_HELP 1
47695 _ACEOF
47696
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47698
47699 if test "$wxUSE_MSW" = 1; then
47700 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_MS_HTML_HELP 1
47703 _ACEOF
47704
47705 fi
47706 fi
47707
47708 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47709 if test "$wxUSE_HTML" = "yes"; then
47710 cat >>confdefs.h <<\_ACEOF
47711 #define wxUSE_WXHTML_HELP 1
47712 _ACEOF
47713
47714 else
47715 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47716 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47717 wxUSE_WXHTML_HELP=no
47718 fi
47719 fi
47720 fi
47721
47722 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47723 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47724 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47725 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47726 else
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_PRINTING_ARCHITECTURE 1
47729 _ACEOF
47730
47731 fi
47732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47733 fi
47734
47735 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_POSTSCRIPT 1
47738 _ACEOF
47739
47740 fi
47741
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47744 _ACEOF
47745
47746
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_NORMALIZED_PS_FONTS 1
47749 _ACEOF
47750
47751
47752 if test "$wxUSE_SVG" = "yes"; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_SVG 1
47755 _ACEOF
47756
47757 fi
47758
47759
47760 if test "$wxUSE_METAFILE" = "yes"; then
47761 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47762 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47763 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47764 wxUSE_METAFILE=no
47765 fi
47766 fi
47767
47768
47769 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47770 -o "$wxUSE_CLIPBOARD" = "yes" \
47771 -o "$wxUSE_OLE" = "yes" \
47772 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47773 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47774 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47775 if test "${ac_cv_header_ole2_h+set}" = set; then
47776 echo $ECHO_N "(cached) $ECHO_C" >&6
47777 else
47778 cat >conftest.$ac_ext <<_ACEOF
47779 /* confdefs.h. */
47780 _ACEOF
47781 cat confdefs.h >>conftest.$ac_ext
47782 cat >>conftest.$ac_ext <<_ACEOF
47783 /* end confdefs.h. */
47784
47785
47786 #include <ole2.h>
47787 _ACEOF
47788 rm -f conftest.$ac_objext
47789 if { (ac_try="$ac_compile"
47790 case "(($ac_try" in
47791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47792 *) ac_try_echo=$ac_try;;
47793 esac
47794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47795 (eval "$ac_compile") 2>conftest.er1
47796 ac_status=$?
47797 grep -v '^ *+' conftest.er1 >conftest.err
47798 rm -f conftest.er1
47799 cat conftest.err >&5
47800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47801 (exit $ac_status); } && {
47802 test -z "$ac_c_werror_flag" ||
47803 test ! -s conftest.err
47804 } && test -s conftest.$ac_objext; then
47805 ac_cv_header_ole2_h=yes
47806 else
47807 echo "$as_me: failed program was:" >&5
47808 sed 's/^/| /' conftest.$ac_ext >&5
47809
47810 ac_cv_header_ole2_h=no
47811 fi
47812
47813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47814 fi
47815 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47816 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47817
47818
47819
47820 if test "$ac_cv_header_ole2_h" = "yes" ; then
47821 if test "$GCC" = yes ; then
47822 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47823 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47824 cat >conftest.$ac_ext <<_ACEOF
47825 /* confdefs.h. */
47826 _ACEOF
47827 cat confdefs.h >>conftest.$ac_ext
47828 cat >>conftest.$ac_ext <<_ACEOF
47829 /* end confdefs.h. */
47830 #include <windows.h>
47831 #include <ole2.h>
47832 int
47833 main ()
47834 {
47835
47836 ;
47837 return 0;
47838 }
47839 _ACEOF
47840 rm -f conftest.$ac_objext
47841 if { (ac_try="$ac_compile"
47842 case "(($ac_try" in
47843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47844 *) ac_try_echo=$ac_try;;
47845 esac
47846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47847 (eval "$ac_compile") 2>conftest.er1
47848 ac_status=$?
47849 grep -v '^ *+' conftest.er1 >conftest.err
47850 rm -f conftest.er1
47851 cat conftest.err >&5
47852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47853 (exit $ac_status); } && {
47854 test -z "$ac_c_werror_flag" ||
47855 test ! -s conftest.err
47856 } && test -s conftest.$ac_objext; then
47857 { echo "$as_me:$LINENO: result: no" >&5
47858 echo "${ECHO_T}no" >&6; }
47859 else
47860 echo "$as_me: failed program was:" >&5
47861 sed 's/^/| /' conftest.$ac_ext >&5
47862
47863 { echo "$as_me:$LINENO: result: yes" >&5
47864 echo "${ECHO_T}yes" >&6; }
47865 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47866 fi
47867
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47870 if test "$wxUSE_OLE" = "yes" ; then
47871 cat >>confdefs.h <<\_ACEOF
47872 #define wxUSE_OLE 1
47873 _ACEOF
47874
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_OLE_AUTOMATION 1
47877 _ACEOF
47878
47879 cat >>confdefs.h <<\_ACEOF
47880 #define wxUSE_ACTIVEX 1
47881 _ACEOF
47882
47883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47884 fi
47885 fi
47886
47887 if test "$wxUSE_DATAOBJ" = "yes" ; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_DATAOBJ 1
47890 _ACEOF
47891
47892 fi
47893 else
47894 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47895 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47896
47897 wxUSE_CLIPBOARD=no
47898 wxUSE_DRAG_AND_DROP=no
47899 wxUSE_DATAOBJ=no
47900 wxUSE_OLE=no
47901 fi
47902
47903 if test "$wxUSE_METAFILE" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_METAFILE 1
47906 _ACEOF
47907
47908
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_ENH_METAFILE 1
47911 _ACEOF
47912
47913 fi
47914 fi
47915
47916 if test "$wxUSE_IPC" = "yes"; then
47917 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47918 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47919 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47920 wxUSE_IPC=no
47921 fi
47922
47923 if test "$wxUSE_IPC" = "yes"; then
47924 cat >>confdefs.h <<\_ACEOF
47925 #define wxUSE_IPC 1
47926 _ACEOF
47927
47928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47929 fi
47930 fi
47931
47932 if test "$wxUSE_DATAOBJ" = "yes"; then
47933 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47934 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47935 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47936 wxUSE_DATAOBJ=no
47937 else
47938 cat >>confdefs.h <<\_ACEOF
47939 #define wxUSE_DATAOBJ 1
47940 _ACEOF
47941
47942 fi
47943 else
47944 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47945 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47946 wxUSE_CLIPBOARD=no
47947 wxUSE_DRAG_AND_DROP=no
47948 fi
47949
47950 if test "$wxUSE_CLIPBOARD" = "yes"; then
47951 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47952 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47953 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47954 wxUSE_CLIPBOARD=no
47955 fi
47956
47957 if test "$wxUSE_CLIPBOARD" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_CLIPBOARD 1
47960 _ACEOF
47961
47962 fi
47963 fi
47964
47965 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47966 if test "$wxUSE_GTK" = 1; then
47967 if test "$WXGTK12" != 1; then
47968 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47969 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47970 wxUSE_DRAG_AND_DROP=no
47971 fi
47972 fi
47973
47974 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47975 "$wxUSE_DFB" = 1; then
47976 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47977 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47978 wxUSE_DRAG_AND_DROP=no
47979 fi
47980
47981 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_DRAG_AND_DROP 1
47984 _ACEOF
47985
47986 fi
47987
47988 fi
47989
47990 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47992 fi
47993
47994 if test "$wxUSE_SPLINES" = "yes" ; then
47995 cat >>confdefs.h <<\_ACEOF
47996 #define wxUSE_SPLINES 1
47997 _ACEOF
47998
47999 fi
48000
48001 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_MOUSEWHEEL 1
48004 _ACEOF
48005
48006 fi
48007
48008
48009 USES_CONTROLS=0
48010 if test "$wxUSE_CONTROLS" = "yes"; then
48011 USES_CONTROLS=1
48012 fi
48013
48014 if test "$wxUSE_ACCEL" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_ACCEL 1
48017 _ACEOF
48018
48019 USES_CONTROLS=1
48020 fi
48021
48022 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_ANIMATIONCTRL 1
48025 _ACEOF
48026
48027 USES_CONTROLS=1
48028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48029 fi
48030
48031 if test "$wxUSE_BUTTON" = "yes"; then
48032 cat >>confdefs.h <<\_ACEOF
48033 #define wxUSE_BUTTON 1
48034 _ACEOF
48035
48036 USES_CONTROLS=1
48037 fi
48038
48039 if test "$wxUSE_BMPBUTTON" = "yes"; then
48040 cat >>confdefs.h <<\_ACEOF
48041 #define wxUSE_BMPBUTTON 1
48042 _ACEOF
48043
48044 USES_CONTROLS=1
48045 fi
48046
48047 if test "$wxUSE_CALCTRL" = "yes"; then
48048 cat >>confdefs.h <<\_ACEOF
48049 #define wxUSE_CALENDARCTRL 1
48050 _ACEOF
48051
48052 USES_CONTROLS=1
48053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48054 fi
48055
48056 if test "$wxUSE_CARET" = "yes"; then
48057 cat >>confdefs.h <<\_ACEOF
48058 #define wxUSE_CARET 1
48059 _ACEOF
48060
48061 USES_CONTROLS=1
48062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48063 fi
48064
48065 if test "$wxUSE_COLLPANE" = "yes"; then
48066 cat >>confdefs.h <<\_ACEOF
48067 #define wxUSE_COLLPANE 1
48068 _ACEOF
48069
48070 USES_CONTROLS=1
48071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48072 fi
48073
48074 if test "$wxUSE_COMBOBOX" = "yes"; then
48075 cat >>confdefs.h <<\_ACEOF
48076 #define wxUSE_COMBOBOX 1
48077 _ACEOF
48078
48079 USES_CONTROLS=1
48080 fi
48081
48082 if test "$wxUSE_COMBOCTRL" = "yes"; then
48083 cat >>confdefs.h <<\_ACEOF
48084 #define wxUSE_COMBOCTRL 1
48085 _ACEOF
48086
48087 USES_CONTROLS=1
48088 fi
48089
48090 if test "$wxUSE_CHOICE" = "yes"; then
48091 cat >>confdefs.h <<\_ACEOF
48092 #define wxUSE_CHOICE 1
48093 _ACEOF
48094
48095 USES_CONTROLS=1
48096 fi
48097
48098 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_CHOICEBOOK 1
48101 _ACEOF
48102
48103 USES_CONTROLS=1
48104 fi
48105
48106 if test "$wxUSE_CHECKBOX" = "yes"; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_CHECKBOX 1
48109 _ACEOF
48110
48111 USES_CONTROLS=1
48112 fi
48113
48114 if test "$wxUSE_CHECKLST" = "yes"; then
48115 cat >>confdefs.h <<\_ACEOF
48116 #define wxUSE_CHECKLISTBOX 1
48117 _ACEOF
48118
48119 USES_CONTROLS=1
48120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48121 fi
48122
48123 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_COLOURPICKERCTRL 1
48126 _ACEOF
48127
48128 USES_CONTROLS=1
48129 fi
48130
48131 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48132 cat >>confdefs.h <<\_ACEOF
48133 #define wxUSE_DATEPICKCTRL 1
48134 _ACEOF
48135
48136 USES_CONTROLS=1
48137 fi
48138
48139 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_DIRPICKERCTRL 1
48142 _ACEOF
48143
48144 USES_CONTROLS=1
48145 fi
48146
48147 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48148 cat >>confdefs.h <<\_ACEOF
48149 #define wxUSE_FILEPICKERCTRL 1
48150 _ACEOF
48151
48152 USES_CONTROLS=1
48153 fi
48154
48155 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48156 cat >>confdefs.h <<\_ACEOF
48157 #define wxUSE_FONTPICKERCTRL 1
48158 _ACEOF
48159
48160 USES_CONTROLS=1
48161 fi
48162
48163 if test "$wxUSE_DISPLAY" = "yes"; then
48164 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48165 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48166 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48167 wxUSE_DISPLAY=no
48168 else
48169 cat >>confdefs.h <<\_ACEOF
48170 #define wxUSE_DISPLAY 1
48171 _ACEOF
48172
48173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48174 fi
48175 fi
48176
48177 if test "$wxUSE_DETECT_SM" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_DETECT_SM 1
48180 _ACEOF
48181
48182 fi
48183
48184 if test "$wxUSE_GAUGE" = "yes"; then
48185 cat >>confdefs.h <<\_ACEOF
48186 #define wxUSE_GAUGE 1
48187 _ACEOF
48188
48189 USES_CONTROLS=1
48190 fi
48191
48192 if test "$wxUSE_GRID" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_GRID 1
48195 _ACEOF
48196
48197 USES_CONTROLS=1
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48199 fi
48200
48201 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_HYPERLINKCTRL 1
48204 _ACEOF
48205
48206 USES_CONTROLS=1
48207 fi
48208
48209 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_BITMAPCOMBOBOX 1
48212 _ACEOF
48213
48214 USES_CONTROLS=1
48215 fi
48216
48217 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_DATAVIEWCTRL 1
48220 _ACEOF
48221
48222 USES_CONTROLS=1
48223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48224 fi
48225
48226 if test "$wxUSE_IMAGLIST" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_IMAGLIST 1
48229 _ACEOF
48230
48231 fi
48232
48233 if test "$wxUSE_LISTBOOK" = "yes"; then
48234 cat >>confdefs.h <<\_ACEOF
48235 #define wxUSE_LISTBOOK 1
48236 _ACEOF
48237
48238 USES_CONTROLS=1
48239 fi
48240
48241 if test "$wxUSE_LISTBOX" = "yes"; then
48242 cat >>confdefs.h <<\_ACEOF
48243 #define wxUSE_LISTBOX 1
48244 _ACEOF
48245
48246 USES_CONTROLS=1
48247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48248 fi
48249
48250 if test "$wxUSE_LISTCTRL" = "yes"; then
48251 if test "$wxUSE_IMAGLIST" = "yes"; then
48252 cat >>confdefs.h <<\_ACEOF
48253 #define wxUSE_LISTCTRL 1
48254 _ACEOF
48255
48256 USES_CONTROLS=1
48257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48258 else
48259 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48260 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48261 fi
48262 fi
48263
48264 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_EDITABLELISTBOX 1
48267 _ACEOF
48268
48269 USES_CONTROLS=1
48270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48271 fi
48272
48273 if test "$wxUSE_NOTEBOOK" = "yes"; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_NOTEBOOK 1
48276 _ACEOF
48277
48278 USES_CONTROLS=1
48279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48280 fi
48281
48282 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_ODCOMBOBOX 1
48285 _ACEOF
48286
48287 USES_CONTROLS=1
48288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48289 fi
48290
48291
48292 if test "$wxUSE_RADIOBOX" = "yes"; then
48293 cat >>confdefs.h <<\_ACEOF
48294 #define wxUSE_RADIOBOX 1
48295 _ACEOF
48296
48297 USES_CONTROLS=1
48298 fi
48299
48300 if test "$wxUSE_RADIOBTN" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_RADIOBTN 1
48303 _ACEOF
48304
48305 USES_CONTROLS=1
48306 fi
48307
48308 if test "$wxUSE_SASH" = "yes"; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_SASH 1
48311 _ACEOF
48312
48313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48314 fi
48315
48316 if test "$wxUSE_SCROLLBAR" = "yes"; then
48317 cat >>confdefs.h <<\_ACEOF
48318 #define wxUSE_SCROLLBAR 1
48319 _ACEOF
48320
48321 USES_CONTROLS=1
48322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48323 fi
48324
48325 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_SEARCHCTRL 1
48328 _ACEOF
48329
48330 USES_CONTROLS=1
48331 fi
48332
48333 if test "$wxUSE_SLIDER" = "yes"; then
48334 cat >>confdefs.h <<\_ACEOF
48335 #define wxUSE_SLIDER 1
48336 _ACEOF
48337
48338 USES_CONTROLS=1
48339 fi
48340
48341 if test "$wxUSE_SPINBTN" = "yes"; then
48342 cat >>confdefs.h <<\_ACEOF
48343 #define wxUSE_SPINBTN 1
48344 _ACEOF
48345
48346 USES_CONTROLS=1
48347 fi
48348
48349 if test "$wxUSE_SPINCTRL" = "yes"; then
48350 cat >>confdefs.h <<\_ACEOF
48351 #define wxUSE_SPINCTRL 1
48352 _ACEOF
48353
48354 USES_CONTROLS=1
48355 fi
48356
48357 if test "$wxUSE_SPLITTER" = "yes"; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_SPLITTER 1
48360 _ACEOF
48361
48362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48363 fi
48364
48365 if test "$wxUSE_STATBMP" = "yes"; then
48366 cat >>confdefs.h <<\_ACEOF
48367 #define wxUSE_STATBMP 1
48368 _ACEOF
48369
48370 USES_CONTROLS=1
48371 fi
48372
48373 if test "$wxUSE_STATBOX" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_STATBOX 1
48376 _ACEOF
48377
48378 USES_CONTROLS=1
48379 fi
48380
48381 if test "$wxUSE_STATTEXT" = "yes"; then
48382 cat >>confdefs.h <<\_ACEOF
48383 #define wxUSE_STATTEXT 1
48384 _ACEOF
48385
48386 USES_CONTROLS=1
48387 fi
48388
48389 if test "$wxUSE_STATLINE" = "yes"; then
48390 cat >>confdefs.h <<\_ACEOF
48391 #define wxUSE_STATLINE 1
48392 _ACEOF
48393
48394 USES_CONTROLS=1
48395 fi
48396
48397 if test "$wxUSE_STATUSBAR" = "yes"; then
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_NATIVE_STATUSBAR 1
48400 _ACEOF
48401
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_STATUSBAR 1
48404 _ACEOF
48405
48406 USES_CONTROLS=1
48407
48408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48409 fi
48410
48411 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48412 cat >>confdefs.h <<\_ACEOF
48413 #define wxUSE_TAB_DIALOG 1
48414 _ACEOF
48415
48416 fi
48417
48418 if test "$wxUSE_TEXTCTRL" = "yes"; then
48419 cat >>confdefs.h <<\_ACEOF
48420 #define wxUSE_TEXTCTRL 1
48421 _ACEOF
48422
48423 USES_CONTROLS=1
48424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48425 fi
48426
48427 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48428 if test "$wxUSE_COCOA" = 1 ; then
48429 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48430 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48431 wxUSE_TOGGLEBTN=no
48432 fi
48433
48434 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48435 cat >>confdefs.h <<\_ACEOF
48436 #define wxUSE_TOGGLEBTN 1
48437 _ACEOF
48438
48439 USES_CONTROLS=1
48440 fi
48441 fi
48442
48443 if test "$wxUSE_TOOLBAR" = "yes"; then
48444 cat >>confdefs.h <<\_ACEOF
48445 #define wxUSE_TOOLBAR 1
48446 _ACEOF
48447
48448 USES_CONTROLS=1
48449
48450 if test "$wxUSE_UNIVERSAL" = "yes"; then
48451 wxUSE_TOOLBAR_NATIVE="no"
48452 else
48453 wxUSE_TOOLBAR_NATIVE="yes"
48454 cat >>confdefs.h <<\_ACEOF
48455 #define wxUSE_TOOLBAR_NATIVE 1
48456 _ACEOF
48457
48458 fi
48459
48460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48461 fi
48462
48463 if test "$wxUSE_TOOLTIPS" = "yes"; then
48464 if test "$wxUSE_MOTIF" = 1; then
48465 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48466 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48467 else
48468 if test "$wxUSE_UNIVERSAL" = "yes"; then
48469 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48470 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48471 else
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_TOOLTIPS 1
48474 _ACEOF
48475
48476 fi
48477 fi
48478 fi
48479
48480 if test "$wxUSE_TREEBOOK" = "yes"; then
48481 cat >>confdefs.h <<\_ACEOF
48482 #define wxUSE_TREEBOOK 1
48483 _ACEOF
48484
48485 USES_CONTROLS=1
48486 fi
48487
48488 if test "$wxUSE_TOOLBOOK" = "yes"; then
48489 cat >>confdefs.h <<\_ACEOF
48490 #define wxUSE_TOOLBOOK 1
48491 _ACEOF
48492
48493 USES_CONTROLS=1
48494 fi
48495
48496 if test "$wxUSE_TREECTRL" = "yes"; then
48497 if test "$wxUSE_IMAGLIST" = "yes"; then
48498 cat >>confdefs.h <<\_ACEOF
48499 #define wxUSE_TREECTRL 1
48500 _ACEOF
48501
48502 USES_CONTROLS=1
48503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48504 else
48505 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48506 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48507 fi
48508 fi
48509
48510 if test "$wxUSE_POPUPWIN" = "yes"; then
48511 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48512 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48513 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48514 else
48515 if test "$wxUSE_PM" = 1; then
48516 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48517 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48518 else
48519 cat >>confdefs.h <<\_ACEOF
48520 #define wxUSE_POPUPWIN 1
48521 _ACEOF
48522
48523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48524
48525 USES_CONTROLS=1
48526 fi
48527 fi
48528 fi
48529
48530 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48531 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48532 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48533 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48534 else
48535 cat >>confdefs.h <<\_ACEOF
48536 #define wxUSE_DIALUP_MANAGER 1
48537 _ACEOF
48538
48539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48540 fi
48541 fi
48542
48543 if test "$wxUSE_TIPWINDOW" = "yes"; then
48544 if test "$wxUSE_PM" = 1; then
48545 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48546 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48547 else
48548 cat >>confdefs.h <<\_ACEOF
48549 #define wxUSE_TIPWINDOW 1
48550 _ACEOF
48551
48552 fi
48553 fi
48554
48555 if test "$USES_CONTROLS" = 1; then
48556 cat >>confdefs.h <<\_ACEOF
48557 #define wxUSE_CONTROLS 1
48558 _ACEOF
48559
48560 fi
48561
48562
48563 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48564 cat >>confdefs.h <<\_ACEOF
48565 #define wxUSE_ACCESSIBILITY 1
48566 _ACEOF
48567
48568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48569 fi
48570
48571 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48572 cat >>confdefs.h <<\_ACEOF
48573 #define wxUSE_DRAGIMAGE 1
48574 _ACEOF
48575
48576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48577 fi
48578
48579 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48580 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48581 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48582 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48583 else
48584 cat >>confdefs.h <<\_ACEOF
48585 #define wxUSE_EXCEPTIONS 1
48586 _ACEOF
48587
48588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48589 fi
48590 fi
48591
48592 USE_HTML=0
48593 if test "$wxUSE_HTML" = "yes"; then
48594 cat >>confdefs.h <<\_ACEOF
48595 #define wxUSE_HTML 1
48596 _ACEOF
48597
48598 USE_HTML=1
48599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48600 if test "$wxUSE_MAC" = 1; then
48601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48602 fi
48603 fi
48604 if test "$wxUSE_WEBKIT" = "yes"; then
48605 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48606 old_CPPFLAGS="$CPPFLAGS"
48607 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48608 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48609 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48610 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48611 echo $ECHO_N "(cached) $ECHO_C" >&6
48612 else
48613 cat >conftest.$ac_ext <<_ACEOF
48614 /* confdefs.h. */
48615 _ACEOF
48616 cat confdefs.h >>conftest.$ac_ext
48617 cat >>conftest.$ac_ext <<_ACEOF
48618 /* end confdefs.h. */
48619
48620 #include <Carbon/Carbon.h>
48621 #include <WebKit/WebKit.h>
48622
48623
48624 #include <WebKit/HIWebView.h>
48625 _ACEOF
48626 rm -f conftest.$ac_objext
48627 if { (ac_try="$ac_compile"
48628 case "(($ac_try" in
48629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48630 *) ac_try_echo=$ac_try;;
48631 esac
48632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48633 (eval "$ac_compile") 2>conftest.er1
48634 ac_status=$?
48635 grep -v '^ *+' conftest.er1 >conftest.err
48636 rm -f conftest.er1
48637 cat conftest.err >&5
48638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48639 (exit $ac_status); } && {
48640 test -z "$ac_c_werror_flag" ||
48641 test ! -s conftest.err
48642 } && test -s conftest.$ac_objext; then
48643 ac_cv_header_WebKit_HIWebView_h=yes
48644 else
48645 echo "$as_me: failed program was:" >&5
48646 sed 's/^/| /' conftest.$ac_ext >&5
48647
48648 ac_cv_header_WebKit_HIWebView_h=no
48649 fi
48650
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652 fi
48653 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48654 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48655 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48656
48657 cat >>confdefs.h <<\_ACEOF
48658 #define wxUSE_WEBKIT 1
48659 _ACEOF
48660
48661 WEBKIT_LINK="-framework WebKit"
48662
48663 else
48664
48665 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48666 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48667 wxUSE_WEBKIT=no
48668
48669 fi
48670
48671
48672 CPPFLAGS="$old_CPPFLAGS"
48673 elif test "$wxUSE_COCOA" = 1; then
48674 cat >>confdefs.h <<\_ACEOF
48675 #define wxUSE_WEBKIT 1
48676 _ACEOF
48677
48678 else
48679 wxUSE_WEBKIT=no
48680 fi
48681 fi
48682
48683 USE_XRC=0
48684 if test "$wxUSE_XRC" = "yes"; then
48685 if test "$wxUSE_XML" != "yes"; then
48686 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48687 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48688 wxUSE_XRC=no
48689 else
48690 cat >>confdefs.h <<\_ACEOF
48691 #define wxUSE_XRC 1
48692 _ACEOF
48693
48694 USE_XRC=1
48695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48696 fi
48697 fi
48698
48699 USE_AUI=0
48700 if test "$wxUSE_AUI" = "yes"; then
48701 cat >>confdefs.h <<\_ACEOF
48702 #define wxUSE_AUI 1
48703 _ACEOF
48704
48705 USE_AUI=1
48706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48707 fi
48708
48709 USE_STC=0
48710 if test "$wxUSE_STC" = "yes"; then
48711 cat >>confdefs.h <<\_ACEOF
48712 #define wxUSE_STC 1
48713 _ACEOF
48714
48715 USE_STC=1
48716 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48717 fi
48718
48719 if test "$wxUSE_MENUS" = "yes"; then
48720 cat >>confdefs.h <<\_ACEOF
48721 #define wxUSE_MENUS 1
48722 _ACEOF
48723
48724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48725 fi
48726
48727 if test "$wxUSE_METAFILE" = "yes"; then
48728 cat >>confdefs.h <<\_ACEOF
48729 #define wxUSE_METAFILE 1
48730 _ACEOF
48731
48732 fi
48733
48734 if test "$wxUSE_MIMETYPE" = "yes"; then
48735 cat >>confdefs.h <<\_ACEOF
48736 #define wxUSE_MIMETYPE 1
48737 _ACEOF
48738
48739 fi
48740
48741 if test "$wxUSE_MINIFRAME" = "yes"; then
48742 cat >>confdefs.h <<\_ACEOF
48743 #define wxUSE_MINIFRAME 1
48744 _ACEOF
48745
48746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48747 fi
48748
48749 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48750 cat >>confdefs.h <<\_ACEOF
48751 #define wxUSE_SYSTEM_OPTIONS 1
48752 _ACEOF
48753
48754 fi
48755
48756 if test "$wxUSE_TASKBARICON" = "yes"; then
48757 cat >>confdefs.h <<\_ACEOF
48758 #define wxUSE_TASKBARICON 1
48759 _ACEOF
48760
48761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48762 fi
48763
48764
48765 if test "$wxUSE_VALIDATORS" = "yes"; then
48766 cat >>confdefs.h <<\_ACEOF
48767 #define wxUSE_VALIDATORS 1
48768 _ACEOF
48769
48770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48771 fi
48772
48773 if test "$wxUSE_PALETTE" = "yes" ; then
48774 if test "$wxUSE_DFB" = 1; then
48775 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48776 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48777 wxUSE_PALETTE=no
48778 else
48779 cat >>confdefs.h <<\_ACEOF
48780 #define wxUSE_PALETTE 1
48781 _ACEOF
48782
48783 fi
48784 fi
48785
48786 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48787 LIBS=" -lunicows $LIBS"
48788 fi
48789
48790 USE_RICHTEXT=0
48791 if test "$wxUSE_RICHTEXT" = "yes"; then
48792 cat >>confdefs.h <<\_ACEOF
48793 #define wxUSE_RICHTEXT 1
48794 _ACEOF
48795
48796 USE_RICHTEXT=1
48797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48798 fi
48799
48800
48801 if test "$wxUSE_IMAGE" = "yes" ; then
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_IMAGE 1
48804 _ACEOF
48805
48806
48807 if test "$wxUSE_GIF" = "yes" ; then
48808 cat >>confdefs.h <<\_ACEOF
48809 #define wxUSE_GIF 1
48810 _ACEOF
48811
48812 fi
48813
48814 if test "$wxUSE_PCX" = "yes" ; then
48815 cat >>confdefs.h <<\_ACEOF
48816 #define wxUSE_PCX 1
48817 _ACEOF
48818
48819 fi
48820
48821 if test "$wxUSE_TGA" = "yes" ; then
48822 cat >>confdefs.h <<\_ACEOF
48823 #define wxUSE_TGA 1
48824 _ACEOF
48825
48826 fi
48827
48828 if test "$wxUSE_IFF" = "yes" ; then
48829 cat >>confdefs.h <<\_ACEOF
48830 #define wxUSE_IFF 1
48831 _ACEOF
48832
48833 fi
48834
48835 if test "$wxUSE_PNM" = "yes" ; then
48836 cat >>confdefs.h <<\_ACEOF
48837 #define wxUSE_PNM 1
48838 _ACEOF
48839
48840 fi
48841
48842 if test "$wxUSE_XPM" = "yes" ; then
48843 cat >>confdefs.h <<\_ACEOF
48844 #define wxUSE_XPM 1
48845 _ACEOF
48846
48847 fi
48848
48849 if test "$wxUSE_ICO_CUR" = "yes" ; then
48850 cat >>confdefs.h <<\_ACEOF
48851 #define wxUSE_ICO_CUR 1
48852 _ACEOF
48853
48854 fi
48855 fi
48856
48857
48858 if test "$wxUSE_ABOUTDLG" = "yes"; then
48859 cat >>confdefs.h <<\_ACEOF
48860 #define wxUSE_ABOUTDLG 1
48861 _ACEOF
48862
48863 fi
48864
48865 if test "$wxUSE_CHOICEDLG" = "yes"; then
48866 cat >>confdefs.h <<\_ACEOF
48867 #define wxUSE_CHOICEDLG 1
48868 _ACEOF
48869
48870 fi
48871
48872 if test "$wxUSE_COLOURDLG" = "yes"; then
48873 cat >>confdefs.h <<\_ACEOF
48874 #define wxUSE_COLOURDLG 1
48875 _ACEOF
48876
48877 fi
48878
48879 if test "$wxUSE_FILEDLG" = "yes"; then
48880 cat >>confdefs.h <<\_ACEOF
48881 #define wxUSE_FILEDLG 1
48882 _ACEOF
48883
48884 fi
48885
48886 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48887 cat >>confdefs.h <<\_ACEOF
48888 #define wxUSE_FINDREPLDLG 1
48889 _ACEOF
48890
48891 fi
48892
48893 if test "$wxUSE_FONTDLG" = "yes"; then
48894 cat >>confdefs.h <<\_ACEOF
48895 #define wxUSE_FONTDLG 1
48896 _ACEOF
48897
48898 fi
48899
48900 if test "$wxUSE_DIRDLG" = "yes"; then
48901 if test "$wxUSE_TREECTRL" != "yes"; then
48902 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48903 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48904 else
48905 cat >>confdefs.h <<\_ACEOF
48906 #define wxUSE_DIRDLG 1
48907 _ACEOF
48908
48909 fi
48910 fi
48911
48912 if test "$wxUSE_MSGDLG" = "yes"; then
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_MSGDLG 1
48915 _ACEOF
48916
48917 fi
48918
48919 if test "$wxUSE_NUMBERDLG" = "yes"; then
48920 cat >>confdefs.h <<\_ACEOF
48921 #define wxUSE_NUMBERDLG 1
48922 _ACEOF
48923
48924 fi
48925
48926 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48928 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48929 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48930 else
48931 cat >>confdefs.h <<\_ACEOF
48932 #define wxUSE_PROGRESSDLG 1
48933 _ACEOF
48934
48935 fi
48936 fi
48937
48938 if test "$wxUSE_SPLASH" = "yes"; then
48939 cat >>confdefs.h <<\_ACEOF
48940 #define wxUSE_SPLASH 1
48941 _ACEOF
48942
48943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48944 fi
48945
48946 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48947 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48948 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48949 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48950 else
48951 cat >>confdefs.h <<\_ACEOF
48952 #define wxUSE_STARTUP_TIPS 1
48953 _ACEOF
48954
48955 fi
48956 fi
48957
48958 if test "$wxUSE_TEXTDLG" = "yes"; then
48959 cat >>confdefs.h <<\_ACEOF
48960 #define wxUSE_TEXTDLG 1
48961 _ACEOF
48962
48963 fi
48964
48965 if test "$wxUSE_WIZARDDLG" = "yes"; then
48966 cat >>confdefs.h <<\_ACEOF
48967 #define wxUSE_WIZARDDLG 1
48968 _ACEOF
48969
48970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48971 fi
48972
48973
48974 if test "$wxUSE_MSW" = 1 ; then
48975
48976 if test "$wxUSE_DC_CACHEING" = "yes"; then
48977 cat >>confdefs.h <<\_ACEOF
48978 #define wxUSE_DC_CACHEING 1
48979 _ACEOF
48980
48981 fi
48982
48983 if test "$wxUSE_UXTHEME" = "yes"; then
48984 cat >>confdefs.h <<\_ACEOF
48985 #define wxUSE_UXTHEME 1
48986 _ACEOF
48987
48988 fi
48989
48990 fi
48991
48992
48993 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48994 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48995 cat >>confdefs.h <<\_ACEOF
48996 #define wxUSE_GRAPHICS_CONTEXT 1
48997 _ACEOF
48998
48999 elif test "$wxUSE_GTK" != 1; then
49000 cat >>confdefs.h <<\_ACEOF
49001 #define wxUSE_GRAPHICS_CONTEXT 1
49002 _ACEOF
49003
49004 else
49005
49006 pkg_failed=no
49007 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49008 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49009
49010 if test -n "$PKG_CONFIG"; then
49011 if test -n "$CAIRO_CFLAGS"; then
49012 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49013 else
49014 if test -n "$PKG_CONFIG" && \
49015 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49016 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49017 ac_status=$?
49018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49019 (exit $ac_status); }; then
49020 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49021 else
49022 pkg_failed=yes
49023 fi
49024 fi
49025 else
49026 pkg_failed=untried
49027 fi
49028 if test -n "$PKG_CONFIG"; then
49029 if test -n "$CAIRO_LIBS"; then
49030 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49031 else
49032 if test -n "$PKG_CONFIG" && \
49033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49034 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49035 ac_status=$?
49036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49037 (exit $ac_status); }; then
49038 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49039 else
49040 pkg_failed=yes
49041 fi
49042 fi
49043 else
49044 pkg_failed=untried
49045 fi
49046
49047
49048
49049 if test $pkg_failed = yes; then
49050
49051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49052 _pkg_short_errors_supported=yes
49053 else
49054 _pkg_short_errors_supported=no
49055 fi
49056 if test $_pkg_short_errors_supported = yes; then
49057 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49058 else
49059 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49060 fi
49061 # Put the nasty error message in config.log where it belongs
49062 echo "$CAIRO_PKG_ERRORS" >&5
49063
49064 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49065 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49066
49067 elif test $pkg_failed = untried; then
49068 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49069 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49070
49071 else
49072 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49073 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49074 { echo "$as_me:$LINENO: result: yes" >&5
49075 echo "${ECHO_T}yes" >&6; }
49076 cat >>confdefs.h <<\_ACEOF
49077 #define wxUSE_GRAPHICS_CONTEXT 1
49078 _ACEOF
49079
49080 fi
49081 fi
49082 fi
49083
49084
49085 USE_MEDIA=0
49086
49087 if test "$wxUSE_MEDIACTRL" = "yes"; then
49088 USE_MEDIA=1
49089
49090 if test "$wxUSE_GTK" = 1; then
49091 wxUSE_GSTREAMER="no"
49092
49093 GST_VERSION_MAJOR=0
49094 GST_VERSION_MINOR=10
49095 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49096
49097 if test "$wxUSE_GSTREAMER8" = "no"; then
49098
49099 pkg_failed=no
49100 { echo "$as_me:$LINENO: checking for GST" >&5
49101 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49102
49103 if test -n "$PKG_CONFIG"; then
49104 if test -n "$GST_CFLAGS"; then
49105 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49106 else
49107 if test -n "$PKG_CONFIG" && \
49108 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49109 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49110 ac_status=$?
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); }; then
49113 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49114 else
49115 pkg_failed=yes
49116 fi
49117 fi
49118 else
49119 pkg_failed=untried
49120 fi
49121 if test -n "$PKG_CONFIG"; then
49122 if test -n "$GST_LIBS"; then
49123 pkg_cv_GST_LIBS="$GST_LIBS"
49124 else
49125 if test -n "$PKG_CONFIG" && \
49126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49127 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49128 ac_status=$?
49129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49130 (exit $ac_status); }; then
49131 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49132 else
49133 pkg_failed=yes
49134 fi
49135 fi
49136 else
49137 pkg_failed=untried
49138 fi
49139
49140
49141
49142 if test $pkg_failed = yes; then
49143
49144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49145 _pkg_short_errors_supported=yes
49146 else
49147 _pkg_short_errors_supported=no
49148 fi
49149 if test $_pkg_short_errors_supported = yes; then
49150 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49151 else
49152 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49153 fi
49154 # Put the nasty error message in config.log where it belongs
49155 echo "$GST_PKG_ERRORS" >&5
49156
49157
49158 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49159 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49160 GST_VERSION_MINOR=8
49161
49162
49163 elif test $pkg_failed = untried; then
49164
49165 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49166 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49167 GST_VERSION_MINOR=8
49168
49169
49170 else
49171 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49172 GST_LIBS=$pkg_cv_GST_LIBS
49173 { echo "$as_me:$LINENO: result: yes" >&5
49174 echo "${ECHO_T}yes" >&6; }
49175
49176 wxUSE_GSTREAMER="yes"
49177 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49178
49179 fi
49180 else
49181 GST_VERSION_MINOR=8
49182 fi
49183
49184 if test $GST_VERSION_MINOR = "8"; then
49185 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49186
49187 pkg_failed=no
49188 { echo "$as_me:$LINENO: checking for GST" >&5
49189 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49190
49191 if test -n "$PKG_CONFIG"; then
49192 if test -n "$GST_CFLAGS"; then
49193 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49194 else
49195 if test -n "$PKG_CONFIG" && \
49196 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49197 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; then
49201 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49202 else
49203 pkg_failed=yes
49204 fi
49205 fi
49206 else
49207 pkg_failed=untried
49208 fi
49209 if test -n "$PKG_CONFIG"; then
49210 if test -n "$GST_LIBS"; then
49211 pkg_cv_GST_LIBS="$GST_LIBS"
49212 else
49213 if test -n "$PKG_CONFIG" && \
49214 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49215 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49216 ac_status=$?
49217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218 (exit $ac_status); }; then
49219 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49220 else
49221 pkg_failed=yes
49222 fi
49223 fi
49224 else
49225 pkg_failed=untried
49226 fi
49227
49228
49229
49230 if test $pkg_failed = yes; then
49231
49232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49233 _pkg_short_errors_supported=yes
49234 else
49235 _pkg_short_errors_supported=no
49236 fi
49237 if test $_pkg_short_errors_supported = yes; then
49238 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49239 else
49240 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49241 fi
49242 # Put the nasty error message in config.log where it belongs
49243 echo "$GST_PKG_ERRORS" >&5
49244
49245
49246 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49247 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49248
49249 elif test $pkg_failed = untried; then
49250
49251 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49252 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49253
49254 else
49255 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49256 GST_LIBS=$pkg_cv_GST_LIBS
49257 { echo "$as_me:$LINENO: result: yes" >&5
49258 echo "${ECHO_T}yes" >&6; }
49259 wxUSE_GSTREAMER="yes"
49260 fi
49261 fi
49262
49263
49264 if test "$wxUSE_GSTREAMER" = "yes"; then
49265 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49266 LIBS="$GST_LIBS $LIBS"
49267
49268 cat >>confdefs.h <<\_ACEOF
49269 #define wxUSE_GSTREAMER 1
49270 _ACEOF
49271
49272 else
49273 USE_MEDIA=0
49274 fi
49275 fi
49276
49277 if test $USE_MEDIA = 1; then
49278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49279 cat >>confdefs.h <<\_ACEOF
49280 #define wxUSE_MEDIACTRL 1
49281 _ACEOF
49282
49283 fi
49284 fi
49285
49286
49287 if test "$cross_compiling" = "yes"; then
49288 OSINFO="\"$host\""
49289 else
49290 OSINFO=`uname -s -r -m`
49291 OSINFO="\"$OSINFO\""
49292 fi
49293
49294 cat >>confdefs.h <<_ACEOF
49295 #define WXWIN_OS_DESCRIPTION $OSINFO
49296 _ACEOF
49297
49298
49299
49300 if test "x$prefix" != "xNONE"; then
49301 wxPREFIX=$prefix
49302 else
49303 wxPREFIX=$ac_default_prefix
49304 fi
49305
49306 cat >>confdefs.h <<_ACEOF
49307 #define wxINSTALL_PREFIX "$wxPREFIX"
49308 _ACEOF
49309
49310
49311
49312
49313 STD_BASE_LIBS="base"
49314 STD_GUI_LIBS=""
49315 BUILT_WX_LIBS="base"
49316 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49317
49318 if test "$wxUSE_SOCKETS" = "yes" ; then
49319 STD_BASE_LIBS="net $STD_BASE_LIBS"
49320 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49321 fi
49322 if test "$wxUSE_ODBC" != "no" ; then
49323 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49324 fi
49325 if test "$wxUSE_XML" = "yes" ; then
49326 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49327 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49328 fi
49329
49330 if test "$wxUSE_GUI" = "yes"; then
49331 STD_GUI_LIBS="adv core"
49332 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49333
49334 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49335 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49336 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49337 fi
49338 if test "$wxUSE_ODBC" != "no" ; then
49339 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49340 fi
49341 if test "$wxUSE_HTML" = "yes" ; then
49342 STD_GUI_LIBS="html $STD_GUI_LIBS"
49343 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49344 fi
49345 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49346 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49347 fi
49348 if test "$wxUSE_OPENGL" = "yes" ; then
49349 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49350 fi
49351 if test "$wxUSE_AUI" = "yes" ; then
49352 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49353 fi
49354 if test "$wxUSE_STC" = "yes" ; then
49355 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49356 fi
49357 if test "$wxUSE_XRC" = "yes" ; then
49358 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49359 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49360 fi
49361 fi
49362
49363
49364
49365
49366
49367
49368
49369
49370 if test "$wxUSE_MAC" = 1 ; then
49371 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49372 if test "$USE_DARWIN" = 1; then
49373 LDFLAGS="$LDFLAGS -framework QuickTime"
49374 else
49375 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49376 fi
49377 fi
49378 if test "$USE_DARWIN" = 1; then
49379 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49380 else
49381 LDFLAGS="$LDFLAGS -lCarbonLib"
49382 fi
49383 fi
49384 if test "$wxUSE_COCOA" = 1 ; then
49385 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49386 if test "$wxUSE_MEDIACTRL" = "yes"; then
49387 LDFLAGS="$LDFLAGS -framework QuickTime"
49388 fi
49389 fi
49390 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49391 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49392 fi
49393
49394 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49395
49396 if test "$wxUSE_GUI" = "yes"; then
49397
49398
49399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49400 dynamic erase event exec font image minimal mobile \
49401 mobile/wxedit mobile/styles propsize render \
49402 rotate shaped svg taborder vscroll widgets"
49403
49404 if test "$wxUSE_MONOLITHIC" != "yes"; then
49405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49406 fi
49407 if test "$TOOLKIT" = "MSW"; then
49408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49409 if test "$wxUSE_UNIVERSAL" != "yes"; then
49410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49411 fi
49412 fi
49413 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49415 fi
49416 else
49417 SAMPLES_SUBDIRS="console"
49418 fi
49419
49420
49421 if test "x$INTELCC" = "xyes" ; then
49422 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49423 elif test "$GCC" = yes ; then
49424 CWARNINGS="-Wall -Wundef"
49425 fi
49426
49427 if test "x$INTELCXX" = "xyes" ; then
49428 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49429 elif test "$GXX" = yes ; then
49430 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49431 fi
49432
49433
49434 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49435 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49436
49437
49438 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49439 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49440 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49441 $CPPFLAGS `
49442
49443 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49444 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49445 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49446
49447 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49448
49449
49450 if test "x$MWCC" = "xyes"; then
49451
49452 CC="$CC -cwd source -I-"
49453 CXX="$CXX -cwd source -I-"
49454 fi
49455
49456
49457 LIBS=`echo $LIBS`
49458 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49459 EXTRALIBS_XML="$EXPAT_LINK"
49460 EXTRALIBS_HTML="$MSPACK_LINK"
49461 EXTRALIBS_ODBC="$ODBC_LINK"
49462 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49463 if test "$wxUSE_GUI" = "yes"; then
49464 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49465 fi
49466 if test "$wxUSE_OPENGL" = "yes"; then
49467 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49468 fi
49469
49470 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49471
49472 WXCONFIG_LIBS="$LIBS"
49473
49474 if test "$wxUSE_REGEX" = "builtin" ; then
49475 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49476 fi
49477 if test "$wxUSE_EXPAT" = "builtin" ; then
49478 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49479 fi
49480 if test "$wxUSE_ODBC" = "builtin" ; then
49481 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49482 fi
49483 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49484 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49485 fi
49486 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49487 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49488 fi
49489 if test "$wxUSE_LIBPNG" = "builtin" ; then
49490 wxconfig_3rdparty="png $wxconfig_3rdparty"
49491 fi
49492 if test "$wxUSE_ZLIB" = "builtin" ; then
49493 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49494 fi
49495
49496 for i in $wxconfig_3rdparty ; do
49497 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49498 done
49499
49500
49501 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49502 WXUNIV=1
49503
49504 case "$wxUNIV_THEMES" in
49505 ''|all)
49506 cat >>confdefs.h <<\_ACEOF
49507 #define wxUSE_ALL_THEMES 1
49508 _ACEOF
49509
49510 ;;
49511
49512 *)
49513 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49514 cat >>confdefs.h <<_ACEOF
49515 #define wxUSE_THEME_$t 1
49516 _ACEOF
49517
49518 done
49519 esac
49520 else
49521 WXUNIV=0
49522 fi
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532 if test $wxUSE_MONOLITHIC = "yes" ; then
49533 MONOLITHIC=1
49534 else
49535 MONOLITHIC=0
49536 fi
49537
49538 if test $wxUSE_PLUGINS = "yes" ; then
49539 USE_PLUGINS=1
49540 else
49541 USE_PLUGINS=0
49542 fi
49543
49544 if test $wxUSE_ODBC != "no" ; then
49545 USE_ODBC=1
49546 else
49547 USE_ODBC=0
49548 fi
49549
49550 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49551 USE_QA=1
49552 else
49553 USE_QA=0
49554 fi
49555
49556 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49557 OFFICIAL_BUILD=1
49558 else
49559 OFFICIAL_BUILD=0
49560 fi
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49588
49589
49590
49591
49592
49593
49594
49595
49596 case "$TOOLKIT" in
49597 GTK)
49598 TOOLKIT_DESC="GTK+"
49599 if test "$WXGTK20" = 1; then
49600 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49601 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49602 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49603 fi
49604 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49605 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49606 fi
49607 if test "$wxUSE_LIBHILDON" = "yes"; then
49608 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49609 fi
49610
49611 if test "$TOOLKIT_EXTRA" != ""; then
49612 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49613 fi
49614 fi
49615 ;;
49616
49617 ?*)
49618 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49619 ;;
49620
49621 *)
49622 TOOLKIT_DESC="base only"
49623 ;;
49624 esac
49625
49626 if test "$wxUSE_WINE" = "yes"; then
49627 BAKEFILE_FORCE_PLATFORM=win32
49628 fi
49629
49630 if test "$wxUSE_MAC" = 1 ; then
49631 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49632 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49633 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49634 else
49635 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49636 fi
49637 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49638 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49639 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49640 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49641 bk_use_pch=no
49642 fi
49643 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49644 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49645 fi
49646
49647 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49648 then
49649 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49650 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49651 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49652 echo $ECHO_N "(cached) $ECHO_C" >&6
49653 else
49654
49655 echo '#include <stdio.h>
49656 const wchar_t test_var[] = L"awidetest";' > conftest.h
49657
49658 echo '#include "conftest.h"
49659 int main()
49660 {
49661 printf("%ls", test_var);
49662 return 0;
49663 }' > conftest.cpp
49664
49665 wx_cv_gcc_pch_bug="pch not supported"
49666
49667 if $CXX conftest.h >/dev/null 2>&1
49668 then
49669 wx_cv_gcc_pch_bug=
49670
49671 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49672 then
49673 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49674 grep awidetest >/dev/null
49675 then
49676 wx_cv_gcc_pch_bug=no
49677 else
49678 wx_cv_gcc_pch_bug=yes
49679 fi
49680 fi
49681 fi
49682
49683 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49684
49685 fi
49686 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49687 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49688
49689 if test "$wx_cv_gcc_pch_bug" = yes; then
49690 bk_use_pch=no
49691 fi
49692 fi
49693
49694
49695
49696
49697 if test "x$BAKEFILE_HOST" = "x"; then
49698 if test "x${host}" = "x" ; then
49699 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49700 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49701 { (exit 1); exit 1; }; }
49702 fi
49703
49704 BAKEFILE_HOST="${host}"
49705 fi
49706
49707 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49708
49709 if test -n "$ac_tool_prefix"; then
49710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49714 if test "${ac_cv_prog_RANLIB+set}" = set; then
49715 echo $ECHO_N "(cached) $ECHO_C" >&6
49716 else
49717 if test -n "$RANLIB"; then
49718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49719 else
49720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49721 for as_dir in $PATH
49722 do
49723 IFS=$as_save_IFS
49724 test -z "$as_dir" && as_dir=.
49725 for ac_exec_ext in '' $ac_executable_extensions; do
49726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49729 break 2
49730 fi
49731 done
49732 done
49733 IFS=$as_save_IFS
49734
49735 fi
49736 fi
49737 RANLIB=$ac_cv_prog_RANLIB
49738 if test -n "$RANLIB"; then
49739 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49740 echo "${ECHO_T}$RANLIB" >&6; }
49741 else
49742 { echo "$as_me:$LINENO: result: no" >&5
49743 echo "${ECHO_T}no" >&6; }
49744 fi
49745
49746
49747 fi
49748 if test -z "$ac_cv_prog_RANLIB"; then
49749 ac_ct_RANLIB=$RANLIB
49750 # Extract the first word of "ranlib", so it can be a program name with args.
49751 set dummy ranlib; ac_word=$2
49752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49754 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49755 echo $ECHO_N "(cached) $ECHO_C" >&6
49756 else
49757 if test -n "$ac_ct_RANLIB"; then
49758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49759 else
49760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49761 for as_dir in $PATH
49762 do
49763 IFS=$as_save_IFS
49764 test -z "$as_dir" && as_dir=.
49765 for ac_exec_ext in '' $ac_executable_extensions; do
49766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49767 ac_cv_prog_ac_ct_RANLIB="ranlib"
49768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49769 break 2
49770 fi
49771 done
49772 done
49773 IFS=$as_save_IFS
49774
49775 fi
49776 fi
49777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49778 if test -n "$ac_ct_RANLIB"; then
49779 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49780 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49781 else
49782 { echo "$as_me:$LINENO: result: no" >&5
49783 echo "${ECHO_T}no" >&6; }
49784 fi
49785
49786 if test "x$ac_ct_RANLIB" = x; then
49787 RANLIB=":"
49788 else
49789 case $cross_compiling:$ac_tool_warned in
49790 yes:)
49791 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49792 whose name does not start with the host triplet. If you think this
49793 configuration is useful to you, please write to autoconf@gnu.org." >&5
49794 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49795 whose name does not start with the host triplet. If you think this
49796 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49797 ac_tool_warned=yes ;;
49798 esac
49799 RANLIB=$ac_ct_RANLIB
49800 fi
49801 else
49802 RANLIB="$ac_cv_prog_RANLIB"
49803 fi
49804
49805 # Find a good install program. We prefer a C program (faster),
49806 # so one script is as good as another. But avoid the broken or
49807 # incompatible versions:
49808 # SysV /etc/install, /usr/sbin/install
49809 # SunOS /usr/etc/install
49810 # IRIX /sbin/install
49811 # AIX /bin/install
49812 # AmigaOS /C/install, which installs bootblocks on floppy discs
49813 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49814 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49816 # OS/2's system install, which has a completely different semantic
49817 # ./install, which can be erroneously created by make from ./install.sh.
49818 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49819 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49820 if test -z "$INSTALL"; then
49821 if test "${ac_cv_path_install+set}" = set; then
49822 echo $ECHO_N "(cached) $ECHO_C" >&6
49823 else
49824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49825 for as_dir in $PATH
49826 do
49827 IFS=$as_save_IFS
49828 test -z "$as_dir" && as_dir=.
49829 # Account for people who put trailing slashes in PATH elements.
49830 case $as_dir/ in
49831 ./ | .// | /cC/* | \
49832 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49833 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49834 /usr/ucb/* ) ;;
49835 *)
49836 # OSF1 and SCO ODT 3.0 have their own names for install.
49837 # Don't use installbsd from OSF since it installs stuff as root
49838 # by default.
49839 for ac_prog in ginstall scoinst install; do
49840 for ac_exec_ext in '' $ac_executable_extensions; do
49841 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49842 if test $ac_prog = install &&
49843 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49844 # AIX install. It has an incompatible calling convention.
49845 :
49846 elif test $ac_prog = install &&
49847 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49848 # program-specific install script used by HP pwplus--don't use.
49849 :
49850 else
49851 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49852 break 3
49853 fi
49854 fi
49855 done
49856 done
49857 ;;
49858 esac
49859 done
49860 IFS=$as_save_IFS
49861
49862
49863 fi
49864 if test "${ac_cv_path_install+set}" = set; then
49865 INSTALL=$ac_cv_path_install
49866 else
49867 # As a last resort, use the slow shell script. Don't cache a
49868 # value for INSTALL within a source directory, because that will
49869 # break other packages using the cache if that directory is
49870 # removed, or if the value is a relative name.
49871 INSTALL=$ac_install_sh
49872 fi
49873 fi
49874 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49875 echo "${ECHO_T}$INSTALL" >&6; }
49876
49877 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49878 # It thinks the first close brace ends the variable substitution.
49879 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49880
49881 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49882
49883 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49884
49885 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49886 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49887 LN_S=$as_ln_s
49888 if test "$LN_S" = "ln -s"; then
49889 { echo "$as_me:$LINENO: result: yes" >&5
49890 echo "${ECHO_T}yes" >&6; }
49891 else
49892 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49893 echo "${ECHO_T}no, using $LN_S" >&6; }
49894 fi
49895
49896
49897 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49898 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49899 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49900 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49901 echo $ECHO_N "(cached) $ECHO_C" >&6
49902 else
49903 cat >conftest.make <<\_ACEOF
49904 SHELL = /bin/sh
49905 all:
49906 @echo '@@@%%%=$(MAKE)=@@@%%%'
49907 _ACEOF
49908 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49909 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49910 *@@@%%%=?*=@@@%%%*)
49911 eval ac_cv_prog_make_${ac_make}_set=yes;;
49912 *)
49913 eval ac_cv_prog_make_${ac_make}_set=no;;
49914 esac
49915 rm -f conftest.make
49916 fi
49917 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49918 { echo "$as_me:$LINENO: result: yes" >&5
49919 echo "${ECHO_T}yes" >&6; }
49920 SET_MAKE=
49921 else
49922 { echo "$as_me:$LINENO: result: no" >&5
49923 echo "${ECHO_T}no" >&6; }
49924 SET_MAKE="MAKE=${MAKE-make}"
49925 fi
49926
49927
49928
49929 if test "x$SUNCXX" = "xyes"; then
49930 AR=$CXX
49931 AROPTIONS="-xar -o"
49932
49933 elif test "x$SGICC" = "xyes"; then
49934 AR=$CXX
49935 AROPTIONS="-ar -o"
49936
49937 else
49938 if test -n "$ac_tool_prefix"; then
49939 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49940 set dummy ${ac_tool_prefix}ar; ac_word=$2
49941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49943 if test "${ac_cv_prog_AR+set}" = set; then
49944 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 else
49946 if test -n "$AR"; then
49947 ac_cv_prog_AR="$AR" # Let the user override the test.
49948 else
49949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49950 for as_dir in $PATH
49951 do
49952 IFS=$as_save_IFS
49953 test -z "$as_dir" && as_dir=.
49954 for ac_exec_ext in '' $ac_executable_extensions; do
49955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49956 ac_cv_prog_AR="${ac_tool_prefix}ar"
49957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49958 break 2
49959 fi
49960 done
49961 done
49962 IFS=$as_save_IFS
49963
49964 fi
49965 fi
49966 AR=$ac_cv_prog_AR
49967 if test -n "$AR"; then
49968 { echo "$as_me:$LINENO: result: $AR" >&5
49969 echo "${ECHO_T}$AR" >&6; }
49970 else
49971 { echo "$as_me:$LINENO: result: no" >&5
49972 echo "${ECHO_T}no" >&6; }
49973 fi
49974
49975
49976 fi
49977 if test -z "$ac_cv_prog_AR"; then
49978 ac_ct_AR=$AR
49979 # Extract the first word of "ar", so it can be a program name with args.
49980 set dummy ar; ac_word=$2
49981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49983 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49984 echo $ECHO_N "(cached) $ECHO_C" >&6
49985 else
49986 if test -n "$ac_ct_AR"; then
49987 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49988 else
49989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49990 for as_dir in $PATH
49991 do
49992 IFS=$as_save_IFS
49993 test -z "$as_dir" && as_dir=.
49994 for ac_exec_ext in '' $ac_executable_extensions; do
49995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49996 ac_cv_prog_ac_ct_AR="ar"
49997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49998 break 2
49999 fi
50000 done
50001 done
50002 IFS=$as_save_IFS
50003
50004 fi
50005 fi
50006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50007 if test -n "$ac_ct_AR"; then
50008 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50009 echo "${ECHO_T}$ac_ct_AR" >&6; }
50010 else
50011 { echo "$as_me:$LINENO: result: no" >&5
50012 echo "${ECHO_T}no" >&6; }
50013 fi
50014
50015 if test "x$ac_ct_AR" = x; then
50016 AR="ar"
50017 else
50018 case $cross_compiling:$ac_tool_warned in
50019 yes:)
50020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50021 whose name does not start with the host triplet. If you think this
50022 configuration is useful to you, please write to autoconf@gnu.org." >&5
50023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50024 whose name does not start with the host triplet. If you think this
50025 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50026 ac_tool_warned=yes ;;
50027 esac
50028 AR=$ac_ct_AR
50029 fi
50030 else
50031 AR="$ac_cv_prog_AR"
50032 fi
50033
50034 AROPTIONS=rcu
50035 fi
50036
50037
50038 if test -n "$ac_tool_prefix"; then
50039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50040 set dummy ${ac_tool_prefix}strip; ac_word=$2
50041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50043 if test "${ac_cv_prog_STRIP+set}" = set; then
50044 echo $ECHO_N "(cached) $ECHO_C" >&6
50045 else
50046 if test -n "$STRIP"; then
50047 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50048 else
50049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50050 for as_dir in $PATH
50051 do
50052 IFS=$as_save_IFS
50053 test -z "$as_dir" && as_dir=.
50054 for ac_exec_ext in '' $ac_executable_extensions; do
50055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50056 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50058 break 2
50059 fi
50060 done
50061 done
50062 IFS=$as_save_IFS
50063
50064 fi
50065 fi
50066 STRIP=$ac_cv_prog_STRIP
50067 if test -n "$STRIP"; then
50068 { echo "$as_me:$LINENO: result: $STRIP" >&5
50069 echo "${ECHO_T}$STRIP" >&6; }
50070 else
50071 { echo "$as_me:$LINENO: result: no" >&5
50072 echo "${ECHO_T}no" >&6; }
50073 fi
50074
50075
50076 fi
50077 if test -z "$ac_cv_prog_STRIP"; then
50078 ac_ct_STRIP=$STRIP
50079 # Extract the first word of "strip", so it can be a program name with args.
50080 set dummy strip; ac_word=$2
50081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50083 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50084 echo $ECHO_N "(cached) $ECHO_C" >&6
50085 else
50086 if test -n "$ac_ct_STRIP"; then
50087 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50088 else
50089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50090 for as_dir in $PATH
50091 do
50092 IFS=$as_save_IFS
50093 test -z "$as_dir" && as_dir=.
50094 for ac_exec_ext in '' $ac_executable_extensions; do
50095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50096 ac_cv_prog_ac_ct_STRIP="strip"
50097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50098 break 2
50099 fi
50100 done
50101 done
50102 IFS=$as_save_IFS
50103
50104 fi
50105 fi
50106 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50107 if test -n "$ac_ct_STRIP"; then
50108 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50109 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50110 else
50111 { echo "$as_me:$LINENO: result: no" >&5
50112 echo "${ECHO_T}no" >&6; }
50113 fi
50114
50115 if test "x$ac_ct_STRIP" = x; then
50116 STRIP=":"
50117 else
50118 case $cross_compiling:$ac_tool_warned in
50119 yes:)
50120 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50121 whose name does not start with the host triplet. If you think this
50122 configuration is useful to you, please write to autoconf@gnu.org." >&5
50123 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50124 whose name does not start with the host triplet. If you think this
50125 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50126 ac_tool_warned=yes ;;
50127 esac
50128 STRIP=$ac_ct_STRIP
50129 fi
50130 else
50131 STRIP="$ac_cv_prog_STRIP"
50132 fi
50133
50134 if test -n "$ac_tool_prefix"; then
50135 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50136 set dummy ${ac_tool_prefix}nm; ac_word=$2
50137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50139 if test "${ac_cv_prog_NM+set}" = set; then
50140 echo $ECHO_N "(cached) $ECHO_C" >&6
50141 else
50142 if test -n "$NM"; then
50143 ac_cv_prog_NM="$NM" # Let the user override the test.
50144 else
50145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50146 for as_dir in $PATH
50147 do
50148 IFS=$as_save_IFS
50149 test -z "$as_dir" && as_dir=.
50150 for ac_exec_ext in '' $ac_executable_extensions; do
50151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50152 ac_cv_prog_NM="${ac_tool_prefix}nm"
50153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50154 break 2
50155 fi
50156 done
50157 done
50158 IFS=$as_save_IFS
50159
50160 fi
50161 fi
50162 NM=$ac_cv_prog_NM
50163 if test -n "$NM"; then
50164 { echo "$as_me:$LINENO: result: $NM" >&5
50165 echo "${ECHO_T}$NM" >&6; }
50166 else
50167 { echo "$as_me:$LINENO: result: no" >&5
50168 echo "${ECHO_T}no" >&6; }
50169 fi
50170
50171
50172 fi
50173 if test -z "$ac_cv_prog_NM"; then
50174 ac_ct_NM=$NM
50175 # Extract the first word of "nm", so it can be a program name with args.
50176 set dummy nm; ac_word=$2
50177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50179 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50180 echo $ECHO_N "(cached) $ECHO_C" >&6
50181 else
50182 if test -n "$ac_ct_NM"; then
50183 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50184 else
50185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50186 for as_dir in $PATH
50187 do
50188 IFS=$as_save_IFS
50189 test -z "$as_dir" && as_dir=.
50190 for ac_exec_ext in '' $ac_executable_extensions; do
50191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50192 ac_cv_prog_ac_ct_NM="nm"
50193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50194 break 2
50195 fi
50196 done
50197 done
50198 IFS=$as_save_IFS
50199
50200 fi
50201 fi
50202 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50203 if test -n "$ac_ct_NM"; then
50204 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50205 echo "${ECHO_T}$ac_ct_NM" >&6; }
50206 else
50207 { echo "$as_me:$LINENO: result: no" >&5
50208 echo "${ECHO_T}no" >&6; }
50209 fi
50210
50211 if test "x$ac_ct_NM" = x; then
50212 NM=":"
50213 else
50214 case $cross_compiling:$ac_tool_warned in
50215 yes:)
50216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50217 whose name does not start with the host triplet. If you think this
50218 configuration is useful to you, please write to autoconf@gnu.org." >&5
50219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50220 whose name does not start with the host triplet. If you think this
50221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50222 ac_tool_warned=yes ;;
50223 esac
50224 NM=$ac_ct_NM
50225 fi
50226 else
50227 NM="$ac_cv_prog_NM"
50228 fi
50229
50230
50231 case ${BAKEFILE_HOST} in
50232 *-hp-hpux* )
50233 INSTALL_DIR="mkdir -p"
50234 ;;
50235 * )
50236 INSTALL_DIR='$(INSTALL) -d'
50237 ;;
50238 esac
50239
50240
50241 LDFLAGS_GUI=
50242 case ${BAKEFILE_HOST} in
50243 *-*-cygwin* | *-*-mingw32* )
50244 LDFLAGS_GUI="-mwindows"
50245 esac
50246
50247
50248 fi
50249
50250 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50251 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50252 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50253 echo $ECHO_N "(cached) $ECHO_C" >&6
50254 else
50255
50256 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50257 egrep -s GNU > /dev/null); then
50258 bakefile_cv_prog_makeisgnu="yes"
50259 else
50260 bakefile_cv_prog_makeisgnu="no"
50261 fi
50262
50263 fi
50264 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50265 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50266
50267 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50268 IF_GNU_MAKE=""
50269 else
50270 IF_GNU_MAKE="#"
50271 fi
50272
50273
50274
50275 PLATFORM_UNIX=0
50276 PLATFORM_WIN32=0
50277 PLATFORM_MSDOS=0
50278 PLATFORM_MAC=0
50279 PLATFORM_MACOS=0
50280 PLATFORM_MACOSX=0
50281 PLATFORM_OS2=0
50282 PLATFORM_BEOS=0
50283
50284 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50285 case "${BAKEFILE_HOST}" in
50286 *-*-mingw32* )
50287 PLATFORM_WIN32=1
50288 ;;
50289 *-pc-msdosdjgpp )
50290 PLATFORM_MSDOS=1
50291 ;;
50292 *-pc-os2_emx | *-pc-os2-emx )
50293 PLATFORM_OS2=1
50294 ;;
50295 *-*-darwin* )
50296 PLATFORM_MAC=1
50297 PLATFORM_MACOSX=1
50298 ;;
50299 *-*-beos* )
50300 PLATFORM_BEOS=1
50301 ;;
50302 powerpc-apple-macos* )
50303 PLATFORM_MAC=1
50304 PLATFORM_MACOS=1
50305 ;;
50306 * )
50307 PLATFORM_UNIX=1
50308 ;;
50309 esac
50310 else
50311 case "$BAKEFILE_FORCE_PLATFORM" in
50312 win32 )
50313 PLATFORM_WIN32=1
50314 ;;
50315 msdos )
50316 PLATFORM_MSDOS=1
50317 ;;
50318 os2 )
50319 PLATFORM_OS2=1
50320 ;;
50321 darwin )
50322 PLATFORM_MAC=1
50323 PLATFORM_MACOSX=1
50324 ;;
50325 unix )
50326 PLATFORM_UNIX=1
50327 ;;
50328 beos )
50329 PLATFORM_BEOS=1
50330 ;;
50331 * )
50332 ;;
50333 esac
50334 fi
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346 # Check whether --enable-omf was given.
50347 if test "${enable_omf+set}" = set; then
50348 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50349 fi
50350
50351
50352 case "${BAKEFILE_HOST}" in
50353 *-*-darwin* )
50354 if test "x$GCC" = "xyes"; then
50355 CFLAGS="$CFLAGS -fno-common"
50356 CXXFLAGS="$CXXFLAGS -fno-common"
50357 fi
50358 if test "x$XLCC" = "xyes"; then
50359 CFLAGS="$CFLAGS -qnocommon"
50360 CXXFLAGS="$CXXFLAGS -qnocommon"
50361 fi
50362 ;;
50363
50364 *-pc-os2_emx | *-pc-os2-emx )
50365 if test "x$bk_os2_use_omf" = "xyes" ; then
50366 AR=emxomfar
50367 RANLIB=:
50368 LDFLAGS="-Zomf $LDFLAGS"
50369 CFLAGS="-Zomf $CFLAGS"
50370 CXXFLAGS="-Zomf $CXXFLAGS"
50371 OS2_LIBEXT="lib"
50372 else
50373 OS2_LIBEXT="a"
50374 fi
50375 ;;
50376
50377 i*86-*-beos* )
50378 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50379 ;;
50380 esac
50381
50382
50383 SO_SUFFIX="so"
50384 SO_SUFFIX_MODULE="so"
50385 EXEEXT=""
50386 LIBPREFIX="lib"
50387 LIBEXT=".a"
50388 DLLPREFIX="lib"
50389 DLLPREFIX_MODULE=""
50390 DLLIMP_SUFFIX=""
50391 dlldir="$libdir"
50392
50393 case "${BAKEFILE_HOST}" in
50394 *-hp-hpux* )
50395 SO_SUFFIX="sl"
50396 SO_SUFFIX_MODULE="sl"
50397 ;;
50398 *-*-aix* )
50399 SO_SUFFIX="a"
50400 SO_SUFFIX_MODULE="a"
50401 ;;
50402 *-*-cygwin* )
50403 SO_SUFFIX="dll"
50404 SO_SUFFIX_MODULE="dll"
50405 DLLIMP_SUFFIX="dll.a"
50406 EXEEXT=".exe"
50407 DLLPREFIX="cyg"
50408 dlldir="$bindir"
50409 ;;
50410 *-*-mingw32* )
50411 SO_SUFFIX="dll"
50412 SO_SUFFIX_MODULE="dll"
50413 DLLIMP_SUFFIX="dll.a"
50414 EXEEXT=".exe"
50415 DLLPREFIX=""
50416 dlldir="$bindir"
50417 ;;
50418 *-pc-msdosdjgpp )
50419 EXEEXT=".exe"
50420 DLLPREFIX=""
50421 dlldir="$bindir"
50422 ;;
50423 *-pc-os2_emx | *-pc-os2-emx )
50424 SO_SUFFIX="dll"
50425 SO_SUFFIX_MODULE="dll"
50426 DLLIMP_SUFFIX=$OS2_LIBEXT
50427 EXEEXT=".exe"
50428 DLLPREFIX=""
50429 LIBPREFIX=""
50430 LIBEXT=".$OS2_LIBEXT"
50431 dlldir="$bindir"
50432 ;;
50433 *-*-darwin* )
50434 SO_SUFFIX="dylib"
50435 SO_SUFFIX_MODULE="bundle"
50436 ;;
50437 esac
50438
50439 if test "x$DLLIMP_SUFFIX" = "x" ; then
50440 DLLIMP_SUFFIX="$SO_SUFFIX"
50441 fi
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454 PIC_FLAG=""
50455 if test "x$GCC" = "xyes"; then
50456 PIC_FLAG="-fPIC"
50457 fi
50458
50459 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50460 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50461 WINDOWS_IMPLIB=0
50462
50463 case "${BAKEFILE_HOST}" in
50464 *-hp-hpux* )
50465 if test "x$GCC" != "xyes"; then
50466 LDFLAGS="$LDFLAGS -L/usr/lib"
50467
50468 SHARED_LD_CC="${CC} -b -o"
50469 SHARED_LD_CXX="${CXX} -b -o"
50470 PIC_FLAG="+Z"
50471 fi
50472 ;;
50473
50474 *-*-linux* )
50475 if test "$INTELCC" = "yes"; then
50476 PIC_FLAG="-KPIC"
50477 elif test "x$SUNCXX" = "xyes"; then
50478 SHARED_LD_CC="${CC} -G -o"
50479 SHARED_LD_CXX="${CXX} -G -o"
50480 PIC_FLAG="-KPIC"
50481 fi
50482 ;;
50483
50484 *-*-solaris2* )
50485 if test "x$SUNCXX" = xyes ; then
50486 SHARED_LD_CC="${CC} -G -o"
50487 SHARED_LD_CXX="${CXX} -G -o"
50488 PIC_FLAG="-KPIC"
50489 fi
50490 ;;
50491
50492 *-*-darwin* )
50493
50494 D='$'
50495 cat <<EOF >shared-ld-sh
50496 #!/bin/sh
50497 #-----------------------------------------------------------------------------
50498 #-- Name: distrib/mac/shared-ld-sh
50499 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50500 #-- Author: Gilles Depeyrot
50501 #-- Copyright: (c) 2002 Gilles Depeyrot
50502 #-- Licence: any use permitted
50503 #-----------------------------------------------------------------------------
50504
50505 verbose=0
50506 args=""
50507 objects=""
50508 linking_flag="-dynamiclib"
50509 ldargs="-r -keep_private_externs -nostdlib"
50510
50511 while test ${D}# -gt 0; do
50512 case ${D}1 in
50513
50514 -v)
50515 verbose=1
50516 ;;
50517
50518 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50519 # collect these options and values
50520 args="${D}{args} ${D}1 ${D}2"
50521 shift
50522 ;;
50523
50524 -s|-Wl,*)
50525 # collect these load args
50526 ldargs="${D}{ldargs} ${D}1"
50527 ;;
50528
50529 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50530 # collect these options
50531 args="${D}{args} ${D}1"
50532 ;;
50533
50534 -dynamiclib|-bundle)
50535 linking_flag="${D}1"
50536 ;;
50537
50538 -*)
50539 echo "shared-ld: unhandled option '${D}1'"
50540 exit 1
50541 ;;
50542
50543 *.o | *.a | *.dylib)
50544 # collect object files
50545 objects="${D}{objects} ${D}1"
50546 ;;
50547
50548 *)
50549 echo "shared-ld: unhandled argument '${D}1'"
50550 exit 1
50551 ;;
50552
50553 esac
50554 shift
50555 done
50556
50557 status=0
50558
50559 #
50560 # Link one module containing all the others
50561 #
50562 if test ${D}{verbose} = 1; then
50563 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50564 fi
50565 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50566 status=${D}?
50567
50568 #
50569 # Link the shared library from the single module created, but only if the
50570 # previous command didn't fail:
50571 #
50572 if test ${D}{status} = 0; then
50573 if test ${D}{verbose} = 1; then
50574 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50575 fi
50576 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50577 status=${D}?
50578 fi
50579
50580 #
50581 # Remove intermediate module
50582 #
50583 rm -f master.${D}${D}.o
50584
50585 exit ${D}status
50586 EOF
50587
50588 chmod +x shared-ld-sh
50589
50590 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50591 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50592
50593
50594 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50595 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50596 if test "${bakefile_cv_gcc31+set}" = set; then
50597 echo $ECHO_N "(cached) $ECHO_C" >&6
50598 else
50599
50600 cat >conftest.$ac_ext <<_ACEOF
50601 /* confdefs.h. */
50602 _ACEOF
50603 cat confdefs.h >>conftest.$ac_ext
50604 cat >>conftest.$ac_ext <<_ACEOF
50605 /* end confdefs.h. */
50606
50607 int
50608 main ()
50609 {
50610
50611 #if (__GNUC__ < 3) || \
50612 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50613 This is old gcc
50614 #endif
50615
50616 ;
50617 return 0;
50618 }
50619 _ACEOF
50620 rm -f conftest.$ac_objext
50621 if { (ac_try="$ac_compile"
50622 case "(($ac_try" in
50623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50624 *) ac_try_echo=$ac_try;;
50625 esac
50626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50627 (eval "$ac_compile") 2>conftest.er1
50628 ac_status=$?
50629 grep -v '^ *+' conftest.er1 >conftest.err
50630 rm -f conftest.er1
50631 cat conftest.err >&5
50632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50633 (exit $ac_status); } && {
50634 test -z "$ac_c_werror_flag" ||
50635 test ! -s conftest.err
50636 } && test -s conftest.$ac_objext; then
50637
50638 bakefile_cv_gcc31=yes
50639
50640 else
50641 echo "$as_me: failed program was:" >&5
50642 sed 's/^/| /' conftest.$ac_ext >&5
50643
50644
50645 bakefile_cv_gcc31=no
50646
50647
50648 fi
50649
50650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50651
50652 fi
50653 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50654 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50655 if test "$bakefile_cv_gcc31" = "no"; then
50656 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50657 SHARED_LD_CXX="$SHARED_LD_CC"
50658 else
50659 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50660 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50661 fi
50662
50663 if test "x$GCC" == "xyes"; then
50664 PIC_FLAG="-dynamic -fPIC"
50665 fi
50666 if test "x$XLCC" = "xyes"; then
50667 PIC_FLAG="-dynamic -DPIC"
50668 fi
50669 ;;
50670
50671 *-*-aix* )
50672 if test "x$GCC" = "xyes"; then
50673 PIC_FLAG=""
50674
50675 case "${BAKEFILE_HOST}" in
50676 *-*-aix5* )
50677 LD_EXPFULL="-Wl,-bexpfull"
50678 ;;
50679 esac
50680
50681 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50682 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50683 else
50684 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50685 set dummy makeC++SharedLib; ac_word=$2
50686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50688 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50689 echo $ECHO_N "(cached) $ECHO_C" >&6
50690 else
50691 if test -n "$AIX_CXX_LD"; then
50692 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50693 else
50694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50695 for as_dir in $PATH
50696 do
50697 IFS=$as_save_IFS
50698 test -z "$as_dir" && as_dir=.
50699 for ac_exec_ext in '' $ac_executable_extensions; do
50700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50701 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50703 break 2
50704 fi
50705 done
50706 done
50707 IFS=$as_save_IFS
50708
50709 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50710 fi
50711 fi
50712 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50713 if test -n "$AIX_CXX_LD"; then
50714 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50715 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50716 else
50717 { echo "$as_me:$LINENO: result: no" >&5
50718 echo "${ECHO_T}no" >&6; }
50719 fi
50720
50721
50722 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50723 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50724 fi
50725 ;;
50726
50727 *-*-beos* )
50728 SHARED_LD_CC="${LD} -nostart -o"
50729 SHARED_LD_CXX="${LD} -nostart -o"
50730 ;;
50731
50732 *-*-irix* )
50733 if test "x$GCC" != "xyes"; then
50734 PIC_FLAG="-KPIC"
50735 fi
50736 ;;
50737
50738 *-*-cygwin* | *-*-mingw32* )
50739 PIC_FLAG=""
50740 SHARED_LD_CC="\$(CC) -shared -o"
50741 SHARED_LD_CXX="\$(CXX) -shared -o"
50742 WINDOWS_IMPLIB=1
50743 ;;
50744
50745 *-pc-os2_emx | *-pc-os2-emx )
50746 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50747 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50748 PIC_FLAG=""
50749
50750 D='$'
50751 cat <<EOF >dllar.sh
50752 #!/bin/sh
50753 #
50754 # dllar - a tool to build both a .dll and an .a file
50755 # from a set of object (.o) files for EMX/OS2.
50756 #
50757 # Written by Andrew Zabolotny, bit@freya.etu.ru
50758 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50759 #
50760 # This script will accept a set of files on the command line.
50761 # All the public symbols from the .o files will be exported into
50762 # a .DEF file, then linker will be run (through gcc) against them to
50763 # build a shared library consisting of all given .o files. All libraries
50764 # (.a) will be first decompressed into component .o files then act as
50765 # described above. You can optionally give a description (-d "description")
50766 # which will be put into .DLL. To see the list of accepted options (as well
50767 # as command-line format) simply run this program without options. The .DLL
50768 # is built to be imported by name (there is no guarantee that new versions
50769 # of the library you build will have same ordinals for same symbols).
50770 #
50771 # dllar is free software; you can redistribute it and/or modify
50772 # it under the terms of the GNU General Public License as published by
50773 # the Free Software Foundation; either version 2, or (at your option)
50774 # any later version.
50775 #
50776 # dllar is distributed in the hope that it will be useful,
50777 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50778 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50779 # GNU General Public License for more details.
50780 #
50781 # You should have received a copy of the GNU General Public License
50782 # along with dllar; see the file COPYING. If not, write to the Free
50783 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50784 # 02111-1307, USA.
50785
50786 # To successfuly run this program you will need:
50787 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50788 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50789 # - gcc
50790 # (used to build the .dll)
50791 # - emxexp
50792 # (used to create .def file from .o files)
50793 # - emximp
50794 # (used to create .a file from .def file)
50795 # - GNU text utilites (cat, sort, uniq)
50796 # used to process emxexp output
50797 # - GNU file utilities (mv, rm)
50798 # - GNU sed
50799 # - lxlite (optional, see flag below)
50800 # (used for general .dll cleanup)
50801 #
50802
50803 flag_USE_LXLITE=1;
50804
50805 #
50806 # helper functions
50807 # basnam, variant of basename, which does _not_ remove the path, _iff_
50808 # second argument (suffix to remove) is given
50809 basnam(){
50810 case ${D}# in
50811 1)
50812 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50813 ;;
50814 2)
50815 echo ${D}1 | sed 's/'${D}2'${D}//'
50816 ;;
50817 *)
50818 echo "error in basnam ${D}*"
50819 exit 8
50820 ;;
50821 esac
50822 }
50823
50824 # Cleanup temporary files and output
50825 CleanUp() {
50826 cd ${D}curDir
50827 for i in ${D}inputFiles ; do
50828 case ${D}i in
50829 *!)
50830 rm -rf \`basnam ${D}i !\`
50831 ;;
50832 *)
50833 ;;
50834 esac
50835 done
50836
50837 # Kill result in case of failure as there is just to many stupid make/nmake
50838 # things out there which doesn't do this.
50839 if [ ${D}# -eq 0 ]; then
50840 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50841 fi
50842 }
50843
50844 # Print usage and exit script with rc=1.
50845 PrintHelp() {
50846 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50847 echo ' [-name-mangler-script script.sh]'
50848 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50849 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50850 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50851 echo ' [*.o] [*.a]'
50852 echo '*> "output_file" should have no extension.'
50853 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50854 echo ' The import library name is derived from this and is set to "name".a,'
50855 echo ' unless overridden by -import'
50856 echo '*> "importlib_name" should have no extension.'
50857 echo ' If it has the .o, or .a extension, it is automatically removed.'
50858 echo ' This name is used as the import library name and may be longer and'
50859 echo ' more descriptive than the DLL name which has to follow the old '
50860 echo ' 8.3 convention of FAT.'
50861 echo '*> "script.sh may be given to override the output_file name by a'
50862 echo ' different name. It is mainly useful if the regular make process'
50863 echo ' of some package does not take into account OS/2 restriction of'
50864 echo ' DLL name lengths. It takes the importlib name as input and is'
50865 echo ' supposed to procude a shorter name as output. The script should'
50866 echo ' expect to get importlib_name without extension and should produce'
50867 echo ' a (max.) 8 letter name without extension.'
50868 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50869 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50870 echo ' These flags will be put at the start of GCC command line.'
50871 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50872 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50873 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50874 echo ' If the last character of a symbol is "*", all symbols beginning'
50875 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50876 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50877 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50878 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50879 echo ' C runtime DLLs.'
50880 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50881 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50882 echo ' unchanged to GCC at the end of command line.'
50883 echo '*> If you create a DLL from a library and you do not specify -o,'
50884 echo ' the basename for DLL and import library will be set to library name,'
50885 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50886 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50887 echo ' library will be renamed into gcc_s.a.'
50888 echo '--------'
50889 echo 'Example:'
50890 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50891 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50892 CleanUp
50893 exit 1
50894 }
50895
50896 # Execute a command.
50897 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50898 # @Uses Whatever CleanUp() uses.
50899 doCommand() {
50900 echo "${D}*"
50901 eval ${D}*
50902 rcCmd=${D}?
50903
50904 if [ ${D}rcCmd -ne 0 ]; then
50905 echo "command failed, exit code="${D}rcCmd
50906 CleanUp
50907 exit ${D}rcCmd
50908 fi
50909 }
50910
50911 # main routine
50912 # setup globals
50913 cmdLine=${D}*
50914 outFile=""
50915 outimpFile=""
50916 inputFiles=""
50917 renameScript=""
50918 description=""
50919 CC=gcc.exe
50920 CFLAGS="-s -Zcrtdll"
50921 EXTRA_CFLAGS=""
50922 EXPORT_BY_ORDINALS=0
50923 exclude_symbols=""
50924 library_flags=""
50925 curDir=\`pwd\`
50926 curDirS=curDir
50927 case ${D}curDirS in
50928 */)
50929 ;;
50930 *)
50931 curDirS=${D}{curDirS}"/"
50932 ;;
50933 esac
50934 # Parse commandline
50935 libsToLink=0
50936 omfLinking=0
50937 while [ ${D}1 ]; do
50938 case ${D}1 in
50939 -ord*)
50940 EXPORT_BY_ORDINALS=1;
50941 ;;
50942 -o*)
50943 shift
50944 outFile=${D}1
50945 ;;
50946 -i*)
50947 shift
50948 outimpFile=${D}1
50949 ;;
50950 -name-mangler-script)
50951 shift
50952 renameScript=${D}1
50953 ;;
50954 -d*)
50955 shift
50956 description=${D}1
50957 ;;
50958 -f*)
50959 shift
50960 CFLAGS=${D}1
50961 ;;
50962 -c*)
50963 shift
50964 CC=${D}1
50965 ;;
50966 -h*)
50967 PrintHelp
50968 ;;
50969 -ex*)
50970 shift
50971 exclude_symbols=${D}{exclude_symbols}${D}1" "
50972 ;;
50973 -libf*)
50974 shift
50975 library_flags=${D}{library_flags}${D}1" "
50976 ;;
50977 -nocrt*)
50978 CFLAGS="-s"
50979 ;;
50980 -nolxl*)
50981 flag_USE_LXLITE=0
50982 ;;
50983 -* | /*)
50984 case ${D}1 in
50985 -L* | -l*)
50986 libsToLink=1
50987 ;;
50988 -Zomf)
50989 omfLinking=1
50990 ;;
50991 *)
50992 ;;
50993 esac
50994 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50995 ;;
50996 *.dll)
50997 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50998 if [ ${D}omfLinking -eq 1 ]; then
50999 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51000 else
51001 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51002 fi
51003 ;;
51004 *)
51005 found=0;
51006 if [ ${D}libsToLink -ne 0 ]; then
51007 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51008 else
51009 for file in ${D}1 ; do
51010 if [ -f ${D}file ]; then
51011 inputFiles="${D}{inputFiles} ${D}file"
51012 found=1
51013 fi
51014 done
51015 if [ ${D}found -eq 0 ]; then
51016 echo "ERROR: No file(s) found: "${D}1
51017 exit 8
51018 fi
51019 fi
51020 ;;
51021 esac
51022 shift
51023 done # iterate cmdline words
51024
51025 #
51026 if [ -z "${D}inputFiles" ]; then
51027 echo "dllar: no input files"
51028 PrintHelp
51029 fi
51030
51031 # Now extract all .o files from .a files
51032 newInputFiles=""
51033 for file in ${D}inputFiles ; do
51034 case ${D}file in
51035 *.a | *.lib)
51036 case ${D}file in
51037 *.a)
51038 suffix=".a"
51039 AR="ar"
51040 ;;
51041 *.lib)
51042 suffix=".lib"
51043 AR="emxomfar"
51044 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51045 ;;
51046 *)
51047 ;;
51048 esac
51049 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51050 mkdir ${D}dirname
51051 if [ ${D}? -ne 0 ]; then
51052 echo "Failed to create subdirectory ./${D}dirname"
51053 CleanUp
51054 exit 8;
51055 fi
51056 # Append '!' to indicate archive
51057 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51058 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51059 cd ${D}curDir
51060 found=0;
51061 for subfile in ${D}dirname/*.o* ; do
51062 if [ -f ${D}subfile ]; then
51063 found=1
51064 if [ -s ${D}subfile ]; then
51065 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51066 newInputFiles="${D}newInputFiles ${D}subfile"
51067 fi
51068 fi
51069 done
51070 if [ ${D}found -eq 0 ]; then
51071 echo "WARNING: there are no files in archive \\'${D}file\\'"
51072 fi
51073 ;;
51074 *)
51075 newInputFiles="${D}{newInputFiles} ${D}file"
51076 ;;
51077 esac
51078 done
51079 inputFiles="${D}newInputFiles"
51080
51081 # Output filename(s).
51082 do_backup=0;
51083 if [ -z ${D}outFile ]; then
51084 do_backup=1;
51085 set outFile ${D}inputFiles; outFile=${D}2
51086 fi
51087
51088 # If it is an archive, remove the '!' and the '_%' suffixes
51089 case ${D}outFile in
51090 *_%!)
51091 outFile=\`basnam ${D}outFile _%!\`
51092 ;;
51093 *)
51094 ;;
51095 esac
51096 case ${D}outFile in
51097 *.dll)
51098 outFile=\`basnam ${D}outFile .dll\`
51099 ;;
51100 *.DLL)
51101 outFile=\`basnam ${D}outFile .DLL\`
51102 ;;
51103 *.o)
51104 outFile=\`basnam ${D}outFile .o\`
51105 ;;
51106 *.obj)
51107 outFile=\`basnam ${D}outFile .obj\`
51108 ;;
51109 *.a)
51110 outFile=\`basnam ${D}outFile .a\`
51111 ;;
51112 *.lib)
51113 outFile=\`basnam ${D}outFile .lib\`
51114 ;;
51115 *)
51116 ;;
51117 esac
51118 case ${D}outimpFile in
51119 *.a)
51120 outimpFile=\`basnam ${D}outimpFile .a\`
51121 ;;
51122 *.lib)
51123 outimpFile=\`basnam ${D}outimpFile .lib\`
51124 ;;
51125 *)
51126 ;;
51127 esac
51128 if [ -z ${D}outimpFile ]; then
51129 outimpFile=${D}outFile
51130 fi
51131 defFile="${D}{outFile}.def"
51132 arcFile="${D}{outimpFile}.a"
51133 arcFile2="${D}{outimpFile}.lib"
51134
51135 #create ${D}dllFile as something matching 8.3 restrictions,
51136 if [ -z ${D}renameScript ] ; then
51137 dllFile="${D}outFile"
51138 else
51139 dllFile=\`${D}renameScript ${D}outimpFile\`
51140 fi
51141
51142 if [ ${D}do_backup -ne 0 ] ; then
51143 if [ -f ${D}arcFile ] ; then
51144 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51145 fi
51146 if [ -f ${D}arcFile2 ] ; then
51147 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51148 fi
51149 fi
51150
51151 # Extract public symbols from all the object files.
51152 tmpdefFile=${D}{defFile}_%
51153 rm -f ${D}tmpdefFile
51154 for file in ${D}inputFiles ; do
51155 case ${D}file in
51156 *!)
51157 ;;
51158 *)
51159 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51160 ;;
51161 esac
51162 done
51163
51164 # Create the def file.
51165 rm -f ${D}defFile
51166 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51167 dllFile="${D}{dllFile}.dll"
51168 if [ ! -z ${D}description ]; then
51169 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51170 fi
51171 echo "EXPORTS" >> ${D}defFile
51172
51173 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51174 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51175
51176 # Checks if the export is ok or not.
51177 for word in ${D}exclude_symbols; do
51178 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51179 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51180 done
51181
51182
51183 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51184 sed "=" < ${D}tmpdefFile | \\
51185 sed '
51186 N
51187 : loop
51188 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51189 t loop
51190 ' > ${D}{tmpdefFile}%
51191 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51192 else
51193 rm -f ${D}{tmpdefFile}%
51194 fi
51195 cat ${D}tmpdefFile >> ${D}defFile
51196 rm -f ${D}tmpdefFile
51197
51198 # Do linking, create implib, and apply lxlite.
51199 gccCmdl="";
51200 for file in ${D}inputFiles ; do
51201 case ${D}file in
51202 *!)
51203 ;;
51204 *)
51205 gccCmdl="${D}gccCmdl ${D}file"
51206 ;;
51207 esac
51208 done
51209 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51210 touch "${D}{outFile}.dll"
51211
51212 doCommand "emximp -o ${D}arcFile ${D}defFile"
51213 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51214 add_flags="";
51215 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51216 add_flags="-ynd"
51217 fi
51218 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51219 fi
51220 doCommand "emxomf -s -l ${D}arcFile"
51221
51222 # Successful exit.
51223 CleanUp 1
51224 exit 0
51225 EOF
51226
51227 chmod +x dllar.sh
51228 ;;
51229
51230 powerpc-apple-macos* | \
51231 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51232 *-*-mirbsd* | \
51233 *-*-sunos4* | \
51234 *-*-osf* | \
51235 *-*-dgux5* | \
51236 *-*-sysv5* | \
51237 *-pc-msdosdjgpp )
51238 ;;
51239
51240 *)
51241 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51242 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51243 { (exit 1); exit 1; }; }
51244 esac
51245
51246 if test "x$PIC_FLAG" != "x" ; then
51247 PIC_FLAG="$PIC_FLAG -DPIC"
51248 fi
51249
51250 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51251 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51252 fi
51253 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51254 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51255 fi
51256
51257
51258
51259
51260
51261
51262
51263
51264
51265 USE_SOVERSION=0
51266 USE_SOVERLINUX=0
51267 USE_SOVERSOLARIS=0
51268 USE_SOVERCYGWIN=0
51269 USE_SOSYMLINKS=0
51270 USE_MACVERSION=0
51271 SONAME_FLAG=
51272
51273 case "${BAKEFILE_HOST}" in
51274 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51275 if test "x$SUNCXX" = "xyes"; then
51276 SONAME_FLAG="-h "
51277 else
51278 SONAME_FLAG="-Wl,-soname,"
51279 fi
51280 USE_SOVERSION=1
51281 USE_SOVERLINUX=1
51282 USE_SOSYMLINKS=1
51283 ;;
51284
51285 *-*-solaris2* )
51286 SONAME_FLAG="-h "
51287 USE_SOVERSION=1
51288 USE_SOVERSOLARIS=1
51289 USE_SOSYMLINKS=1
51290 ;;
51291
51292 *-*-darwin* )
51293 USE_MACVERSION=1
51294 USE_SOVERSION=1
51295 USE_SOSYMLINKS=1
51296 ;;
51297
51298 *-*-cygwin* )
51299 USE_SOVERSION=1
51300 USE_SOVERCYGWIN=1
51301 ;;
51302 esac
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313 # Check whether --enable-dependency-tracking was given.
51314 if test "${enable_dependency_tracking+set}" = set; then
51315 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51316 fi
51317
51318
51319 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51320 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51321
51322 BK_DEPS=""
51323 if test "x$bk_use_trackdeps" = "xno" ; then
51324 DEPS_TRACKING=0
51325 { echo "$as_me:$LINENO: result: disabled" >&5
51326 echo "${ECHO_T}disabled" >&6; }
51327 else
51328 DEPS_TRACKING=1
51329
51330 if test "x$GCC" = "xyes"; then
51331 DEPSMODE=gcc
51332 case "${BAKEFILE_HOST}" in
51333 *-*-darwin* )
51334 DEPSFLAG="-no-cpp-precomp -MMD"
51335 ;;
51336 * )
51337 DEPSFLAG="-MMD"
51338 ;;
51339 esac
51340 { echo "$as_me:$LINENO: result: gcc" >&5
51341 echo "${ECHO_T}gcc" >&6; }
51342 elif test "x$MWCC" = "xyes"; then
51343 DEPSMODE=mwcc
51344 DEPSFLAG="-MM"
51345 { echo "$as_me:$LINENO: result: mwcc" >&5
51346 echo "${ECHO_T}mwcc" >&6; }
51347 elif test "x$SUNCC" = "xyes"; then
51348 DEPSMODE=unixcc
51349 DEPSFLAG="-xM1"
51350 { echo "$as_me:$LINENO: result: Sun cc" >&5
51351 echo "${ECHO_T}Sun cc" >&6; }
51352 elif test "x$SGICC" = "xyes"; then
51353 DEPSMODE=unixcc
51354 DEPSFLAG="-M"
51355 { echo "$as_me:$LINENO: result: SGI cc" >&5
51356 echo "${ECHO_T}SGI cc" >&6; }
51357 elif test "x$HPCC" = "xyes"; then
51358 DEPSMODE=unixcc
51359 DEPSFLAG="+make"
51360 { echo "$as_me:$LINENO: result: HP cc" >&5
51361 echo "${ECHO_T}HP cc" >&6; }
51362 elif test "x$COMPAQCC" = "xyes"; then
51363 DEPSMODE=gcc
51364 DEPSFLAG="-MD"
51365 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51366 echo "${ECHO_T}Compaq cc" >&6; }
51367 else
51368 DEPS_TRACKING=0
51369 { echo "$as_me:$LINENO: result: none" >&5
51370 echo "${ECHO_T}none" >&6; }
51371 fi
51372
51373 if test $DEPS_TRACKING = 1 ; then
51374
51375 D='$'
51376 cat <<EOF >bk-deps
51377 #!/bin/sh
51378
51379 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51380 # script. It is used to track C/C++ files dependencies in portable way.
51381 #
51382 # Permission is given to use this file in any way.
51383
51384 DEPSMODE=${DEPSMODE}
51385 DEPSDIR=.deps
51386 DEPSFLAG="${DEPSFLAG}"
51387
51388 mkdir -p ${D}DEPSDIR
51389
51390 if test ${D}DEPSMODE = gcc ; then
51391 ${D}* ${D}{DEPSFLAG}
51392 status=${D}?
51393 if test ${D}{status} != 0 ; then
51394 exit ${D}{status}
51395 fi
51396 # move created file to the location we want it in:
51397 while test ${D}# -gt 0; do
51398 case "${D}1" in
51399 -o )
51400 shift
51401 objfile=${D}1
51402 ;;
51403 -* )
51404 ;;
51405 * )
51406 srcfile=${D}1
51407 ;;
51408 esac
51409 shift
51410 done
51411 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51412 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51413 if test -f ${D}depfile ; then
51414 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51415 rm -f ${D}depfile
51416 else
51417 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51418 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51419 if test ! -f ${D}depfile ; then
51420 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51421 depfile="${D}objfile.d"
51422 fi
51423 if test -f ${D}depfile ; then
51424 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51425 rm -f ${D}depfile
51426 fi
51427 fi
51428 exit 0
51429 elif test ${D}DEPSMODE = mwcc ; then
51430 ${D}* || exit ${D}?
51431 # Run mwcc again with -MM and redirect into the dep file we want
51432 # NOTE: We can't use shift here because we need ${D}* to be valid
51433 prevarg=
51434 for arg in ${D}* ; do
51435 if test "${D}prevarg" = "-o"; then
51436 objfile=${D}arg
51437 else
51438 case "${D}arg" in
51439 -* )
51440 ;;
51441 * )
51442 srcfile=${D}arg
51443 ;;
51444 esac
51445 fi
51446 prevarg="${D}arg"
51447 done
51448 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51449 exit 0
51450 elif test ${D}DEPSMODE = unixcc; then
51451 ${D}* || exit ${D}?
51452 # Run compiler again with deps flag and redirect into the dep file.
51453 # It doesn't work if the '-o FILE' option is used, but without it the
51454 # dependency file will contain the wrong name for the object. So it is
51455 # removed from the command line, and the dep file is fixed with sed.
51456 cmd=""
51457 while test ${D}# -gt 0; do
51458 case "${D}1" in
51459 -o )
51460 shift
51461 objfile=${D}1
51462 ;;
51463 * )
51464 eval arg${D}#=\\${D}1
51465 cmd="${D}cmd \\${D}arg${D}#"
51466 ;;
51467 esac
51468 shift
51469 done
51470 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51471 exit 0
51472 else
51473 ${D}*
51474 exit ${D}?
51475 fi
51476 EOF
51477
51478 chmod +x bk-deps
51479 BK_DEPS="`pwd`/bk-deps"
51480 fi
51481 fi
51482
51483
51484
51485
51486
51487 case ${BAKEFILE_HOST} in
51488 *-*-cygwin* | *-*-mingw32* )
51489 if test -n "$ac_tool_prefix"; then
51490 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51491 set dummy ${ac_tool_prefix}windres; ac_word=$2
51492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51494 if test "${ac_cv_prog_WINDRES+set}" = set; then
51495 echo $ECHO_N "(cached) $ECHO_C" >&6
51496 else
51497 if test -n "$WINDRES"; then
51498 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51499 else
51500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51501 for as_dir in $PATH
51502 do
51503 IFS=$as_save_IFS
51504 test -z "$as_dir" && as_dir=.
51505 for ac_exec_ext in '' $ac_executable_extensions; do
51506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51507 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51509 break 2
51510 fi
51511 done
51512 done
51513 IFS=$as_save_IFS
51514
51515 fi
51516 fi
51517 WINDRES=$ac_cv_prog_WINDRES
51518 if test -n "$WINDRES"; then
51519 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51520 echo "${ECHO_T}$WINDRES" >&6; }
51521 else
51522 { echo "$as_me:$LINENO: result: no" >&5
51523 echo "${ECHO_T}no" >&6; }
51524 fi
51525
51526
51527 fi
51528 if test -z "$ac_cv_prog_WINDRES"; then
51529 ac_ct_WINDRES=$WINDRES
51530 # Extract the first word of "windres", so it can be a program name with args.
51531 set dummy windres; ac_word=$2
51532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51534 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51535 echo $ECHO_N "(cached) $ECHO_C" >&6
51536 else
51537 if test -n "$ac_ct_WINDRES"; then
51538 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51539 else
51540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51541 for as_dir in $PATH
51542 do
51543 IFS=$as_save_IFS
51544 test -z "$as_dir" && as_dir=.
51545 for ac_exec_ext in '' $ac_executable_extensions; do
51546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51547 ac_cv_prog_ac_ct_WINDRES="windres"
51548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51549 break 2
51550 fi
51551 done
51552 done
51553 IFS=$as_save_IFS
51554
51555 fi
51556 fi
51557 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51558 if test -n "$ac_ct_WINDRES"; then
51559 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51560 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51561 else
51562 { echo "$as_me:$LINENO: result: no" >&5
51563 echo "${ECHO_T}no" >&6; }
51564 fi
51565
51566 if test "x$ac_ct_WINDRES" = x; then
51567 WINDRES=""
51568 else
51569 case $cross_compiling:$ac_tool_warned in
51570 yes:)
51571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51572 whose name does not start with the host triplet. If you think this
51573 configuration is useful to you, please write to autoconf@gnu.org." >&5
51574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51575 whose name does not start with the host triplet. If you think this
51576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51577 ac_tool_warned=yes ;;
51578 esac
51579 WINDRES=$ac_ct_WINDRES
51580 fi
51581 else
51582 WINDRES="$ac_cv_prog_WINDRES"
51583 fi
51584
51585 ;;
51586
51587 *-*-darwin* | powerpc-apple-macos* )
51588 # Extract the first word of "Rez", so it can be a program name with args.
51589 set dummy Rez; ac_word=$2
51590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51592 if test "${ac_cv_prog_REZ+set}" = set; then
51593 echo $ECHO_N "(cached) $ECHO_C" >&6
51594 else
51595 if test -n "$REZ"; then
51596 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51597 else
51598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51599 for as_dir in $PATH
51600 do
51601 IFS=$as_save_IFS
51602 test -z "$as_dir" && as_dir=.
51603 for ac_exec_ext in '' $ac_executable_extensions; do
51604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51605 ac_cv_prog_REZ="Rez"
51606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51607 break 2
51608 fi
51609 done
51610 done
51611 IFS=$as_save_IFS
51612
51613 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51614 fi
51615 fi
51616 REZ=$ac_cv_prog_REZ
51617 if test -n "$REZ"; then
51618 { echo "$as_me:$LINENO: result: $REZ" >&5
51619 echo "${ECHO_T}$REZ" >&6; }
51620 else
51621 { echo "$as_me:$LINENO: result: no" >&5
51622 echo "${ECHO_T}no" >&6; }
51623 fi
51624
51625
51626 # Extract the first word of "SetFile", so it can be a program name with args.
51627 set dummy SetFile; ac_word=$2
51628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51630 if test "${ac_cv_prog_SETFILE+set}" = set; then
51631 echo $ECHO_N "(cached) $ECHO_C" >&6
51632 else
51633 if test -n "$SETFILE"; then
51634 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51635 else
51636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51637 for as_dir in $PATH
51638 do
51639 IFS=$as_save_IFS
51640 test -z "$as_dir" && as_dir=.
51641 for ac_exec_ext in '' $ac_executable_extensions; do
51642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51643 ac_cv_prog_SETFILE="SetFile"
51644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51645 break 2
51646 fi
51647 done
51648 done
51649 IFS=$as_save_IFS
51650
51651 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51652 fi
51653 fi
51654 SETFILE=$ac_cv_prog_SETFILE
51655 if test -n "$SETFILE"; then
51656 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51657 echo "${ECHO_T}$SETFILE" >&6; }
51658 else
51659 { echo "$as_me:$LINENO: result: no" >&5
51660 echo "${ECHO_T}no" >&6; }
51661 fi
51662
51663
51664 ;;
51665 esac
51666
51667
51668
51669
51670
51671
51672 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51673
51674
51675 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51676
51677
51678
51679 # Check whether --enable-precomp-headers was given.
51680 if test "${enable_precomp_headers+set}" = set; then
51681 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51682 fi
51683
51684
51685 GCC_PCH=0
51686 ICC_PCH=0
51687 USE_PCH=0
51688 BK_MAKE_PCH=""
51689
51690 case ${BAKEFILE_HOST} in
51691 *-*-cygwin* )
51692 bk_use_pch="no"
51693 ;;
51694 esac
51695
51696 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51697 if test "x$GCC" = "xyes"; then
51698 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51699 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51700 cat >conftest.$ac_ext <<_ACEOF
51701 /* confdefs.h. */
51702 _ACEOF
51703 cat confdefs.h >>conftest.$ac_ext
51704 cat >>conftest.$ac_ext <<_ACEOF
51705 /* end confdefs.h. */
51706
51707 int
51708 main ()
51709 {
51710
51711 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51712 There is no PCH support
51713 #endif
51714 #if (__GNUC__ < 3)
51715 There is no PCH support
51716 #endif
51717 #if (__GNUC__ == 3) && \
51718 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51719 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51720 ( defined(__INTEL_COMPILER) )
51721 There is no PCH support
51722 #endif
51723
51724 ;
51725 return 0;
51726 }
51727 _ACEOF
51728 rm -f conftest.$ac_objext
51729 if { (ac_try="$ac_compile"
51730 case "(($ac_try" in
51731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51732 *) ac_try_echo=$ac_try;;
51733 esac
51734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51735 (eval "$ac_compile") 2>conftest.er1
51736 ac_status=$?
51737 grep -v '^ *+' conftest.er1 >conftest.err
51738 rm -f conftest.er1
51739 cat conftest.err >&5
51740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51741 (exit $ac_status); } && {
51742 test -z "$ac_c_werror_flag" ||
51743 test ! -s conftest.err
51744 } && test -s conftest.$ac_objext; then
51745
51746 { echo "$as_me:$LINENO: result: yes" >&5
51747 echo "${ECHO_T}yes" >&6; }
51748 GCC_PCH=1
51749
51750 else
51751 echo "$as_me: failed program was:" >&5
51752 sed 's/^/| /' conftest.$ac_ext >&5
51753
51754
51755 cat >conftest.$ac_ext <<_ACEOF
51756 /* confdefs.h. */
51757 _ACEOF
51758 cat confdefs.h >>conftest.$ac_ext
51759 cat >>conftest.$ac_ext <<_ACEOF
51760 /* end confdefs.h. */
51761
51762 int
51763 main ()
51764 {
51765
51766 #if !defined(__INTEL_COMPILER) || \
51767 (__INTEL_COMPILER < 800)
51768 There is no PCH support
51769 #endif
51770
51771 ;
51772 return 0;
51773 }
51774 _ACEOF
51775 rm -f conftest.$ac_objext
51776 if { (ac_try="$ac_compile"
51777 case "(($ac_try" in
51778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51779 *) ac_try_echo=$ac_try;;
51780 esac
51781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51782 (eval "$ac_compile") 2>conftest.er1
51783 ac_status=$?
51784 grep -v '^ *+' conftest.er1 >conftest.err
51785 rm -f conftest.er1
51786 cat conftest.err >&5
51787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51788 (exit $ac_status); } && {
51789 test -z "$ac_c_werror_flag" ||
51790 test ! -s conftest.err
51791 } && test -s conftest.$ac_objext; then
51792
51793 { echo "$as_me:$LINENO: result: yes" >&5
51794 echo "${ECHO_T}yes" >&6; }
51795 ICC_PCH=1
51796
51797 else
51798 echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51800
51801
51802 { echo "$as_me:$LINENO: result: no" >&5
51803 echo "${ECHO_T}no" >&6; }
51804
51805 fi
51806
51807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51808
51809 fi
51810
51811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51812 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51813 USE_PCH=1
51814
51815 D='$'
51816 cat <<EOF >bk-make-pch
51817 #!/bin/sh
51818
51819 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51820 # script. It is used to generated precompiled headers.
51821 #
51822 # Permission is given to use this file in any way.
51823
51824 outfile="${D}{1}"
51825 header="${D}{2}"
51826 shift
51827 shift
51828
51829 compiler=""
51830 headerfile=""
51831
51832 while test ${D}{#} -gt 0; do
51833 add_to_cmdline=1
51834 case "${D}{1}" in
51835 -I* )
51836 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51837 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51838 headerfile="${D}{incdir}/${D}{header}"
51839 fi
51840 ;;
51841 -use-pch|-use_pch )
51842 shift
51843 add_to_cmdline=0
51844 ;;
51845 esac
51846 if test ${D}add_to_cmdline = 1 ; then
51847 compiler="${D}{compiler} ${D}{1}"
51848 fi
51849 shift
51850 done
51851
51852 if test "x${D}{headerfile}" = "x" ; then
51853 echo "error: can't find header ${D}{header} in include paths" >&2
51854 else
51855 if test -f ${D}{outfile} ; then
51856 rm -f ${D}{outfile}
51857 else
51858 mkdir -p \`dirname ${D}{outfile}\`
51859 fi
51860 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51861 mkdir -p .deps
51862 if test "x${GCC_PCH}" = "x1" ; then
51863 # can do this because gcc is >= 3.4:
51864 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51865 elif test "x${ICC_PCH}" = "x1" ; then
51866 filename=pch_gen-${D}${D}
51867 file=${D}{filename}.c
51868 dfile=${D}{filename}.d
51869 cat > ${D}file <<EOT
51870 #include "${D}header"
51871 EOT
51872 # using -MF icc complains about differing command lines in creation/use
51873 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51874 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51875 rm -f ${D}file ${D}dfile ${D}{filename}.o
51876 fi
51877 exit ${D}{?}
51878 fi
51879 EOF
51880
51881 chmod +x bk-make-pch
51882 BK_MAKE_PCH="`pwd`/bk-make-pch"
51883 fi
51884 fi
51885 fi
51886
51887
51888
51889
51890
51891 COND_BUILD_DEBUG="#"
51892 if test "x$BUILD" = "xdebug" ; then
51893 COND_BUILD_DEBUG=""
51894 fi
51895
51896 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51897 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51898 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51899 fi
51900
51901 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51902 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51903 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51904 fi
51905
51906 COND_BUILD_DEBUG_UNICODE_0="#"
51907 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51908 COND_BUILD_DEBUG_UNICODE_0=""
51909 fi
51910
51911 COND_BUILD_DEBUG_UNICODE_1="#"
51912 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51913 COND_BUILD_DEBUG_UNICODE_1=""
51914 fi
51915
51916 COND_BUILD_RELEASE="#"
51917 if test "x$BUILD" = "xrelease" ; then
51918 COND_BUILD_RELEASE=""
51919 fi
51920
51921 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51922 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51923 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51924 fi
51925
51926 COND_BUILD_RELEASE_UNICODE_0="#"
51927 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51928 COND_BUILD_RELEASE_UNICODE_0=""
51929 fi
51930
51931 COND_BUILD_RELEASE_UNICODE_1="#"
51932 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51933 COND_BUILD_RELEASE_UNICODE_1=""
51934 fi
51935
51936 COND_DEBUG_FLAG_1="#"
51937 if test "x$DEBUG_FLAG" = "x1" ; then
51938 COND_DEBUG_FLAG_1=""
51939 fi
51940
51941 COND_DEBUG_INFO_0="#"
51942 if test "x$DEBUG_INFO" = "x0" ; then
51943 COND_DEBUG_INFO_0=""
51944 fi
51945
51946 COND_DEBUG_INFO_1="#"
51947 if test "x$DEBUG_INFO" = "x1" ; then
51948 COND_DEBUG_INFO_1=""
51949 fi
51950
51951 COND_DEPS_TRACKING_0="#"
51952 if test "x$DEPS_TRACKING" = "x0" ; then
51953 COND_DEPS_TRACKING_0=""
51954 fi
51955
51956 COND_DEPS_TRACKING_1="#"
51957 if test "x$DEPS_TRACKING" = "x1" ; then
51958 COND_DEPS_TRACKING_1=""
51959 fi
51960
51961 COND_GCC_PCH_1="#"
51962 if test "x$GCC_PCH" = "x1" ; then
51963 COND_GCC_PCH_1=""
51964 fi
51965
51966 COND_ICC_PCH_1="#"
51967 if test "x$ICC_PCH" = "x1" ; then
51968 COND_ICC_PCH_1=""
51969 fi
51970
51971 COND_MONOLITHIC_0="#"
51972 if test "x$MONOLITHIC" = "x0" ; then
51973 COND_MONOLITHIC_0=""
51974 fi
51975
51976 COND_MONOLITHIC_0_SHARED_0="#"
51977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51978 COND_MONOLITHIC_0_SHARED_0=""
51979 fi
51980
51981 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51983 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51984 fi
51985
51986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51989 fi
51990
51991 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51993 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51994 fi
51995
51996 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51999 fi
52000
52001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52004 fi
52005
52006 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52009 fi
52010
52011 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52013 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52014 fi
52015
52016 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52018 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52019 fi
52020
52021 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52024 fi
52025
52026 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52028 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52029 fi
52030
52031 COND_MONOLITHIC_0_SHARED_1="#"
52032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52033 COND_MONOLITHIC_0_SHARED_1=""
52034 fi
52035
52036 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52038 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52039 fi
52040
52041 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52043 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52044 fi
52045
52046 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52048 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52049 fi
52050
52051 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52053 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52054 fi
52055
52056 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52059 fi
52060
52061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52064 fi
52065
52066 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52068 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52069 fi
52070
52071 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52073 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52074 fi
52075
52076 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52078 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52079 fi
52080
52081 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52083 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52084 fi
52085
52086 COND_MONOLITHIC_0_USE_AUI_1="#"
52087 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52088 COND_MONOLITHIC_0_USE_AUI_1=""
52089 fi
52090
52091 COND_MONOLITHIC_0_USE_GUI_1="#"
52092 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52093 COND_MONOLITHIC_0_USE_GUI_1=""
52094 fi
52095
52096 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52097 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52098 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52099 fi
52100
52101 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52102 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52103 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52104 fi
52105
52106 COND_MONOLITHIC_0_USE_HTML_1="#"
52107 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52108 COND_MONOLITHIC_0_USE_HTML_1=""
52109 fi
52110
52111 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52112 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52113 COND_MONOLITHIC_0_USE_MEDIA_1=""
52114 fi
52115
52116 COND_MONOLITHIC_0_USE_ODBC_1="#"
52117 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52118 COND_MONOLITHIC_0_USE_ODBC_1=""
52119 fi
52120
52121 COND_MONOLITHIC_0_USE_QA_1="#"
52122 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52123 COND_MONOLITHIC_0_USE_QA_1=""
52124 fi
52125
52126 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52127 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52128 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52129 fi
52130
52131 COND_MONOLITHIC_0_USE_STC_1="#"
52132 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52133 COND_MONOLITHIC_0_USE_STC_1=""
52134 fi
52135
52136 COND_MONOLITHIC_0_USE_XRC_1="#"
52137 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52138 COND_MONOLITHIC_0_USE_XRC_1=""
52139 fi
52140
52141 COND_MONOLITHIC_1="#"
52142 if test "x$MONOLITHIC" = "x1" ; then
52143 COND_MONOLITHIC_1=""
52144 fi
52145
52146 COND_MONOLITHIC_1_SHARED_0="#"
52147 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52148 COND_MONOLITHIC_1_SHARED_0=""
52149 fi
52150
52151 COND_MONOLITHIC_1_SHARED_1="#"
52152 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52153 COND_MONOLITHIC_1_SHARED_1=""
52154 fi
52155
52156 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52157 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52158 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52159 fi
52160
52161 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52162 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52163 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52164 fi
52165
52166 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52167 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52168 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52169 fi
52170
52171 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52172 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52173 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52174 fi
52175
52176 COND_PLATFORM_MACOSX_1="#"
52177 if test "x$PLATFORM_MACOSX" = "x1" ; then
52178 COND_PLATFORM_MACOSX_1=""
52179 fi
52180
52181 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52182 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52183 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52184 fi
52185
52186 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52188 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52189 fi
52190
52191 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52193 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52194 fi
52195
52196 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52198 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52199 fi
52200
52201 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52204 fi
52205
52206 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52208 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52209 fi
52210
52211 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52213 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52214 fi
52215
52216 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52218 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52219 fi
52220
52221 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52223 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52224 fi
52225
52226 COND_PLATFORM_MACOS_1="#"
52227 if test "x$PLATFORM_MACOS" = "x1" ; then
52228 COND_PLATFORM_MACOS_1=""
52229 fi
52230
52231 COND_PLATFORM_MAC_1="#"
52232 if test "x$PLATFORM_MAC" = "x1" ; then
52233 COND_PLATFORM_MAC_1=""
52234 fi
52235
52236 COND_PLATFORM_MSDOS_0="#"
52237 if test "x$PLATFORM_MSDOS" = "x0" ; then
52238 COND_PLATFORM_MSDOS_0=""
52239 fi
52240
52241 COND_PLATFORM_MSDOS_1="#"
52242 if test "x$PLATFORM_MSDOS" = "x1" ; then
52243 COND_PLATFORM_MSDOS_1=""
52244 fi
52245
52246 COND_PLATFORM_OS2_1="#"
52247 if test "x$PLATFORM_OS2" = "x1" ; then
52248 COND_PLATFORM_OS2_1=""
52249 fi
52250
52251 COND_PLATFORM_UNIX_0="#"
52252 if test "x$PLATFORM_UNIX" = "x0" ; then
52253 COND_PLATFORM_UNIX_0=""
52254 fi
52255
52256 COND_PLATFORM_UNIX_1="#"
52257 if test "x$PLATFORM_UNIX" = "x1" ; then
52258 COND_PLATFORM_UNIX_1=""
52259 fi
52260
52261 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52262 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52263 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52264 fi
52265
52266 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52267 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52268 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52269 fi
52270
52271 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52273 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52274 fi
52275
52276 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52277 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52279 fi
52280
52281 COND_PLATFORM_WIN32_0="#"
52282 if test "x$PLATFORM_WIN32" = "x0" ; then
52283 COND_PLATFORM_WIN32_0=""
52284 fi
52285
52286 COND_PLATFORM_WIN32_1="#"
52287 if test "x$PLATFORM_WIN32" = "x1" ; then
52288 COND_PLATFORM_WIN32_1=""
52289 fi
52290
52291 COND_SHARED_0="#"
52292 if test "x$SHARED" = "x0" ; then
52293 COND_SHARED_0=""
52294 fi
52295
52296 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52299 fi
52300
52301 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52304 fi
52305
52306 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52307 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52309 fi
52310
52311 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52314 fi
52315
52316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52319 fi
52320
52321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52324 fi
52325
52326 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52329 fi
52330
52331 COND_SHARED_0_USE_STC_1="#"
52332 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52333 COND_SHARED_0_USE_STC_1=""
52334 fi
52335
52336 COND_SHARED_0_USE_XRC_1="#"
52337 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52338 COND_SHARED_0_USE_XRC_1=""
52339 fi
52340
52341 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52342 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52343 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52344 fi
52345
52346 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52347 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52348 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52349 fi
52350
52351 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52352 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52353 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52354 fi
52355
52356 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52357 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52358 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52359 fi
52360
52361 COND_SHARED_1="#"
52362 if test "x$SHARED" = "x1" ; then
52363 COND_SHARED_1=""
52364 fi
52365
52366 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52367 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52368 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52369 fi
52370
52371 COND_SHARED_1_USE_XRC_1="#"
52372 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52373 COND_SHARED_1_USE_XRC_1=""
52374 fi
52375
52376 COND_TOOLKIT_="#"
52377 if test "x$TOOLKIT" = "x" ; then
52378 COND_TOOLKIT_=""
52379 fi
52380
52381 COND_TOOLKIT_COCOA="#"
52382 if test "x$TOOLKIT" = "xCOCOA" ; then
52383 COND_TOOLKIT_COCOA=""
52384 fi
52385
52386 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52388 COND_TOOLKIT_COCOA_USE_GUI_1=""
52389 fi
52390
52391 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52392 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52393 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52394 fi
52395
52396 COND_TOOLKIT_DFB="#"
52397 if test "x$TOOLKIT" = "xDFB" ; then
52398 COND_TOOLKIT_DFB=""
52399 fi
52400
52401 COND_TOOLKIT_DFB_USE_GUI_1="#"
52402 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52403 COND_TOOLKIT_DFB_USE_GUI_1=""
52404 fi
52405
52406 COND_TOOLKIT_GTK="#"
52407 if test "x$TOOLKIT" = "xGTK" ; then
52408 COND_TOOLKIT_GTK=""
52409 fi
52410
52411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52412 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52414 fi
52415
52416 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52417 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52418 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52419 fi
52420
52421 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52422 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52423 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52424 fi
52425
52426 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52427 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52429 fi
52430
52431 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52432 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52433 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52434 fi
52435
52436 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52437 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52438 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52439 fi
52440
52441 COND_TOOLKIT_GTK_USE_GUI_1="#"
52442 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52443 COND_TOOLKIT_GTK_USE_GUI_1=""
52444 fi
52445
52446 COND_TOOLKIT_MAC="#"
52447 if test "x$TOOLKIT" = "xMAC" ; then
52448 COND_TOOLKIT_MAC=""
52449 fi
52450
52451 COND_TOOLKIT_MAC_USE_GUI_1="#"
52452 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52453 COND_TOOLKIT_MAC_USE_GUI_1=""
52454 fi
52455
52456 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52457 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52458 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52459 fi
52460
52461 COND_TOOLKIT_MGL="#"
52462 if test "x$TOOLKIT" = "xMGL" ; then
52463 COND_TOOLKIT_MGL=""
52464 fi
52465
52466 COND_TOOLKIT_MGL_USE_GUI_1="#"
52467 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52468 COND_TOOLKIT_MGL_USE_GUI_1=""
52469 fi
52470
52471 COND_TOOLKIT_MOTIF="#"
52472 if test "x$TOOLKIT" = "xMOTIF" ; then
52473 COND_TOOLKIT_MOTIF=""
52474 fi
52475
52476 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52477 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52478 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52479 fi
52480
52481 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52482 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52483 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52484 fi
52485
52486 COND_TOOLKIT_MSW="#"
52487 if test "x$TOOLKIT" = "xMSW" ; then
52488 COND_TOOLKIT_MSW=""
52489 fi
52490
52491 COND_TOOLKIT_MSW_USE_GUI_1="#"
52492 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52493 COND_TOOLKIT_MSW_USE_GUI_1=""
52494 fi
52495
52496 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52497 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52498 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52499 fi
52500
52501 COND_TOOLKIT_MSW_WXUNIV_0="#"
52502 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52503 COND_TOOLKIT_MSW_WXUNIV_0=""
52504 fi
52505
52506 COND_TOOLKIT_PM="#"
52507 if test "x$TOOLKIT" = "xPM" ; then
52508 COND_TOOLKIT_PM=""
52509 fi
52510
52511 COND_TOOLKIT_PM_USE_GUI_1="#"
52512 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52513 COND_TOOLKIT_PM_USE_GUI_1=""
52514 fi
52515
52516 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52517 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52518 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52519 fi
52520
52521 COND_TOOLKIT_WINCE="#"
52522 if test "x$TOOLKIT" = "xWINCE" ; then
52523 COND_TOOLKIT_WINCE=""
52524 fi
52525
52526 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52527 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52528 COND_TOOLKIT_WINCE_USE_GUI_1=""
52529 fi
52530
52531 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52532 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52533 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52534 fi
52535
52536 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52537 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52538 COND_TOOLKIT_WINCE_WXUNIV_0=""
52539 fi
52540
52541 COND_TOOLKIT_X11="#"
52542 if test "x$TOOLKIT" = "xX11" ; then
52543 COND_TOOLKIT_X11=""
52544 fi
52545
52546 COND_TOOLKIT_X11_USE_GUI_1="#"
52547 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52548 COND_TOOLKIT_X11_USE_GUI_1=""
52549 fi
52550
52551 COND_UNICODE_1="#"
52552 if test "x$UNICODE" = "x1" ; then
52553 COND_UNICODE_1=""
52554 fi
52555
52556 COND_USE_EXCEPTIONS_0="#"
52557 if test "x$USE_EXCEPTIONS" = "x0" ; then
52558 COND_USE_EXCEPTIONS_0=""
52559 fi
52560
52561 COND_USE_EXCEPTIONS_1="#"
52562 if test "x$USE_EXCEPTIONS" = "x1" ; then
52563 COND_USE_EXCEPTIONS_1=""
52564 fi
52565
52566 COND_USE_GUI_0="#"
52567 if test "x$USE_GUI" = "x0" ; then
52568 COND_USE_GUI_0=""
52569 fi
52570
52571 COND_USE_GUI_1="#"
52572 if test "x$USE_GUI" = "x1" ; then
52573 COND_USE_GUI_1=""
52574 fi
52575
52576 COND_USE_GUI_1_USE_OPENGL_1="#"
52577 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52578 COND_USE_GUI_1_USE_OPENGL_1=""
52579 fi
52580
52581 COND_USE_GUI_1_WXUNIV_0="#"
52582 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52583 COND_USE_GUI_1_WXUNIV_0=""
52584 fi
52585
52586 COND_USE_GUI_1_WXUNIV_1="#"
52587 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52588 COND_USE_GUI_1_WXUNIV_1=""
52589 fi
52590
52591 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52592 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52593 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52594 fi
52595
52596 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52597 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52598 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52599 fi
52600
52601 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52602 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52603 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52604 fi
52605
52606 COND_USE_ODBC_1="#"
52607 if test "x$USE_ODBC" = "x1" ; then
52608 COND_USE_ODBC_1=""
52609 fi
52610
52611 COND_USE_OPENGL_1="#"
52612 if test "x$USE_OPENGL" = "x1" ; then
52613 COND_USE_OPENGL_1=""
52614 fi
52615
52616 COND_USE_PCH_1="#"
52617 if test "x$USE_PCH" = "x1" ; then
52618 COND_USE_PCH_1=""
52619 fi
52620
52621 COND_USE_PLUGINS_0="#"
52622 if test "x$USE_PLUGINS" = "x0" ; then
52623 COND_USE_PLUGINS_0=""
52624 fi
52625
52626 COND_USE_RTTI_0="#"
52627 if test "x$USE_RTTI" = "x0" ; then
52628 COND_USE_RTTI_0=""
52629 fi
52630
52631 COND_USE_RTTI_1="#"
52632 if test "x$USE_RTTI" = "x1" ; then
52633 COND_USE_RTTI_1=""
52634 fi
52635
52636 COND_USE_SOSYMLINKS_1="#"
52637 if test "x$USE_SOSYMLINKS" = "x1" ; then
52638 COND_USE_SOSYMLINKS_1=""
52639 fi
52640
52641 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52642 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52643 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52644 fi
52645
52646 COND_USE_SOVERLINUX_1="#"
52647 if test "x$USE_SOVERLINUX" = "x1" ; then
52648 COND_USE_SOVERLINUX_1=""
52649 fi
52650
52651 COND_USE_SOVERSION_0="#"
52652 if test "x$USE_SOVERSION" = "x0" ; then
52653 COND_USE_SOVERSION_0=""
52654 fi
52655
52656 COND_USE_SOVERSOLARIS_1="#"
52657 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52658 COND_USE_SOVERSOLARIS_1=""
52659 fi
52660
52661 COND_USE_STC_1="#"
52662 if test "x$USE_STC" = "x1" ; then
52663 COND_USE_STC_1=""
52664 fi
52665
52666 COND_USE_THREADS_0="#"
52667 if test "x$USE_THREADS" = "x0" ; then
52668 COND_USE_THREADS_0=""
52669 fi
52670
52671 COND_USE_THREADS_1="#"
52672 if test "x$USE_THREADS" = "x1" ; then
52673 COND_USE_THREADS_1=""
52674 fi
52675
52676 COND_USE_XRC_1="#"
52677 if test "x$USE_XRC" = "x1" ; then
52678 COND_USE_XRC_1=""
52679 fi
52680
52681 COND_WINDOWS_IMPLIB_1="#"
52682 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52683 COND_WINDOWS_IMPLIB_1=""
52684 fi
52685
52686 COND_WITH_PLUGIN_SDL_1="#"
52687 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52688 COND_WITH_PLUGIN_SDL_1=""
52689 fi
52690
52691 COND_WXUNIV_0="#"
52692 if test "x$WXUNIV" = "x0" ; then
52693 COND_WXUNIV_0=""
52694 fi
52695
52696 COND_WXUNIV_1="#"
52697 if test "x$WXUNIV" = "x1" ; then
52698 COND_WXUNIV_1=""
52699 fi
52700
52701 COND_WXUSE_EXPAT_BUILTIN="#"
52702 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52703 COND_WXUSE_EXPAT_BUILTIN=""
52704 fi
52705
52706 COND_WXUSE_LIBJPEG_BUILTIN="#"
52707 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52708 COND_WXUSE_LIBJPEG_BUILTIN=""
52709 fi
52710
52711 COND_WXUSE_LIBPNG_BUILTIN="#"
52712 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52713 COND_WXUSE_LIBPNG_BUILTIN=""
52714 fi
52715
52716 COND_WXUSE_LIBTIFF_BUILTIN="#"
52717 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52718 COND_WXUSE_LIBTIFF_BUILTIN=""
52719 fi
52720
52721 COND_WXUSE_ODBC_BUILTIN="#"
52722 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52723 COND_WXUSE_ODBC_BUILTIN=""
52724 fi
52725
52726 COND_WXUSE_REGEX_BUILTIN="#"
52727 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52728 COND_WXUSE_REGEX_BUILTIN=""
52729 fi
52730
52731 COND_WXUSE_ZLIB_BUILTIN="#"
52732 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52733 COND_WXUSE_ZLIB_BUILTIN=""
52734 fi
52735
52736
52737
52738 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52739 { { 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
52740 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;}
52741 { (exit 1); exit 1; }; }
52742 fi
52743
52744 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52745 { { 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
52746 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;}
52747 { (exit 1); exit 1; }; }
52748 fi
52749
52750
52751 if test $GCC_PCH = 1
52752 then
52753 if test "$wx_cv_gcc_pch_bug" = yes; then
52754 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52755 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52756 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52757 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52758 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52759 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52760 fi
52761
52762 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52763 fi
52764
52765
52766 if test "$wxUSE_MAC" = 1 ; then
52767 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52768 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52769 mv temp bk-deps
52770 chmod +x bk-deps
52771 fi
52772 fi
52773
52774 if test "$wxUSE_SHARED" = "yes"; then
52775
52776 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52777 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52778
52779 case "${host}" in
52780 *-pc-os2_emx | *-pc-os2-emx )
52781 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52782 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52783 cp -p ${srcdir}/src/os2/dllnames.sh .
52784 cp -p ${srcdir}/src/os2/dllar.sh .
52785 ;;
52786 esac
52787 else
52788
52789 EXE_LINKER="$CXX -o"
52790
52791 fi
52792 if test "$wxUSE_OMF" = "yes"; then
52793 case "${host}" in
52794 *-pc-os2_emx | *-pc-os2-emx )
52795 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52796 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52797 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52798 ;;
52799 esac
52800 fi
52801
52802 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52803
52804
52805 case "${host}" in
52806 *-*-solaris2* )
52807 if "$GCC" = yes; then
52808 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52809 LIBS=`echo $LIBS | sed 's/-mt//'`
52810 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52811 fi
52812 ;;
52813
52814 *-*-linux* )
52815 if test "x$SUNCXX" = xyes; then
52816 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52817 LIBS=`echo $LIBS | sed 's/-pthread//'`
52818 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52819 fi
52820 ;;
52821 esac
52822
52823 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52824 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52825
52826 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52827
52828
52829
52830
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857
52858
52859
52860
52861
52862
52863
52864
52865
52866
52867
52868
52869
52870
52871
52872
52873
52874
52875
52876
52877
52878
52879
52880
52881
52882
52883
52884
52885
52886
52887
52888 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52889 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52890 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52891 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52892 echo $ECHO_N "(cached) $ECHO_C" >&6
52893 else
52894 cat >conftest.make <<\_ACEOF
52895 SHELL = /bin/sh
52896 all:
52897 @echo '@@@%%%=$(MAKE)=@@@%%%'
52898 _ACEOF
52899 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52900 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52901 *@@@%%%=?*=@@@%%%*)
52902 eval ac_cv_prog_make_${ac_make}_set=yes;;
52903 *)
52904 eval ac_cv_prog_make_${ac_make}_set=no;;
52905 esac
52906 rm -f conftest.make
52907 fi
52908 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52909 { echo "$as_me:$LINENO: result: yes" >&5
52910 echo "${ECHO_T}yes" >&6; }
52911 SET_MAKE=
52912 else
52913 { echo "$as_me:$LINENO: result: no" >&5
52914 echo "${ECHO_T}no" >&6; }
52915 SET_MAKE="MAKE=${MAKE-make}"
52916 fi
52917
52918
52919
52920 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52921
52922
52923 if test "$USE_WIN32" = 1; then
52924 ac_config_commands="$ac_config_commands
52925 rcdefs.h
52926 "
52927
52928 fi
52929
52930 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52931
52932
52933 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52934
52935
52936 if test "$wx_cv_version_script" = "yes"; then
52937 ac_config_files="$ac_config_files version-script"
52938
52939 fi
52940 ac_config_files="$ac_config_files Makefile"
52941
52942
52943 ac_config_commands="$ac_config_commands wx-config"
52944
52945
52946
52947 if test "$wxWITH_SUBDIRS" != "no"; then
52948 if test "$wxUSE_GUI" = "yes"; then
52949 SUBDIRS="samples demos utils"
52950 else SUBDIRS="samples utils"
52951 fi
52952
52953
52954
52955 # Check whether --with-cppunit-prefix was given.
52956 if test "${with_cppunit_prefix+set}" = set; then
52957 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52958 else
52959 cppunit_config_prefix=""
52960 fi
52961
52962
52963 # Check whether --with-cppunit-exec-prefix was given.
52964 if test "${with_cppunit_exec_prefix+set}" = set; then
52965 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52966 else
52967 cppunit_config_exec_prefix=""
52968 fi
52969
52970
52971 if test x$cppunit_config_exec_prefix != x ; then
52972 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52973 if test x${CPPUNIT_CONFIG+set} != xset ; then
52974 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52975 fi
52976 fi
52977 if test x$cppunit_config_prefix != x ; then
52978 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52979 if test x${CPPUNIT_CONFIG+set} != xset ; then
52980 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52981 fi
52982 fi
52983
52984 # Extract the first word of "cppunit-config", so it can be a program name with args.
52985 set dummy cppunit-config; ac_word=$2
52986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52988 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52989 echo $ECHO_N "(cached) $ECHO_C" >&6
52990 else
52991 case $CPPUNIT_CONFIG in
52992 [\\/]* | ?:[\\/]*)
52993 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52994 ;;
52995 *)
52996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52997 for as_dir in $PATH
52998 do
52999 IFS=$as_save_IFS
53000 test -z "$as_dir" && as_dir=.
53001 for ac_exec_ext in '' $ac_executable_extensions; do
53002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53003 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53005 break 2
53006 fi
53007 done
53008 done
53009 IFS=$as_save_IFS
53010
53011 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53012 ;;
53013 esac
53014 fi
53015 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53016 if test -n "$CPPUNIT_CONFIG"; then
53017 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53018 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53019 else
53020 { echo "$as_me:$LINENO: result: no" >&5
53021 echo "${ECHO_T}no" >&6; }
53022 fi
53023
53024
53025 cppunit_version_min=1.8.0
53026
53027 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53028 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53029 no_cppunit=""
53030 if test "$CPPUNIT_CONFIG" = "no" ; then
53031 { echo "$as_me:$LINENO: result: no" >&5
53032 echo "${ECHO_T}no" >&6; }
53033 no_cppunit=yes
53034 else
53035 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53036 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53037 cppunit_version=`$CPPUNIT_CONFIG --version`
53038
53039 cppunit_major_version=`echo $cppunit_version | \
53040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53041 cppunit_minor_version=`echo $cppunit_version | \
53042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53043 cppunit_micro_version=`echo $cppunit_version | \
53044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53045
53046 cppunit_major_min=`echo $cppunit_version_min | \
53047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53048 cppunit_minor_min=`echo $cppunit_version_min | \
53049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53050 cppunit_micro_min=`echo $cppunit_version_min | \
53051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53052
53053 cppunit_version_proper=`expr \
53054 $cppunit_major_version \> $cppunit_major_min \| \
53055 $cppunit_major_version \= $cppunit_major_min \& \
53056 $cppunit_minor_version \> $cppunit_minor_min \| \
53057 $cppunit_major_version \= $cppunit_major_min \& \
53058 $cppunit_minor_version \= $cppunit_minor_min \& \
53059 $cppunit_micro_version \>= $cppunit_micro_min `
53060
53061 if test "$cppunit_version_proper" = "1" ; then
53062 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53063 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53064 else
53065 { echo "$as_me:$LINENO: result: no" >&5
53066 echo "${ECHO_T}no" >&6; }
53067 no_cppunit=yes
53068 fi
53069 fi
53070
53071 if test "x$no_cppunit" = x ; then
53072 SUBDIRS="$SUBDIRS tests"
53073 else
53074 CPPUNIT_CFLAGS=""
53075 CPPUNIT_LIBS=""
53076 :
53077 fi
53078
53079
53080
53081
53082
53083 for subdir in `echo $SUBDIRS`; do
53084 if test -d ${srcdir}/${subdir} ; then
53085 if test "$wxUSE_GUI" = "yes"; then
53086 if test ${subdir} = "samples"; then
53087 makefiles="samples/Makefile.in $makefiles"
53088 for sample in `echo $SAMPLES_SUBDIRS`; do
53089 if test -d $srcdir/samples/$sample; then
53090 makefiles="samples/$sample/Makefile.in $makefiles"
53091 fi
53092 done
53093 else
53094 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53095 eval "disabled=\$$disabled_var"
53096 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53097 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53098 fi
53099 else if test ${subdir} = "samples"; then
53100 makefiles="samples/Makefile.in samples/console/Makefile.in"
53101 elif test ${subdir} = "utils"; then
53102 makefiles=""
53103 for util in HelpGen tex2rtf ; do
53104 if test -d $srcdir/utils/$util ; then
53105 makefiles="utils/$util/Makefile.in \
53106 utils/$util/src/Makefile.in \
53107 $makefiles"
53108 fi
53109 done
53110 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53111 fi
53112 fi
53113
53114 for mkin in $makefiles ; do
53115 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53116 ac_config_files="$ac_config_files $mk"
53117
53118 done
53119 fi
53120 done
53121 fi
53122 cat >confcache <<\_ACEOF
53123 # This file is a shell script that caches the results of configure
53124 # tests run on this system so they can be shared between configure
53125 # scripts and configure runs, see configure's option --config-cache.
53126 # It is not useful on other systems. If it contains results you don't
53127 # want to keep, you may remove or edit it.
53128 #
53129 # config.status only pays attention to the cache file if you give it
53130 # the --recheck option to rerun configure.
53131 #
53132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53134 # following values.
53135
53136 _ACEOF
53137
53138 # The following way of writing the cache mishandles newlines in values,
53139 # but we know of no workaround that is simple, portable, and efficient.
53140 # So, we kill variables containing newlines.
53141 # Ultrix sh set writes to stderr and can't be redirected directly,
53142 # and sets the high bit in the cache file unless we assign to the vars.
53143 (
53144 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53145 eval ac_val=\$$ac_var
53146 case $ac_val in #(
53147 *${as_nl}*)
53148 case $ac_var in #(
53149 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53150 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53151 esac
53152 case $ac_var in #(
53153 _ | IFS | as_nl) ;; #(
53154 *) $as_unset $ac_var ;;
53155 esac ;;
53156 esac
53157 done
53158
53159 (set) 2>&1 |
53160 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53161 *${as_nl}ac_space=\ *)
53162 # `set' does not quote correctly, so add quotes (double-quote
53163 # substitution turns \\\\ into \\, and sed turns \\ into \).
53164 sed -n \
53165 "s/'/'\\\\''/g;
53166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53167 ;; #(
53168 *)
53169 # `set' quotes correctly as required by POSIX, so do not add quotes.
53170 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53171 ;;
53172 esac |
53173 sort
53174 ) |
53175 sed '
53176 /^ac_cv_env_/b end
53177 t clear
53178 :clear
53179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53180 t end
53181 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53182 :end' >>confcache
53183 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53184 if test -w "$cache_file"; then
53185 test "x$cache_file" != "x/dev/null" &&
53186 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53187 echo "$as_me: updating cache $cache_file" >&6;}
53188 cat confcache >$cache_file
53189 else
53190 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53191 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53192 fi
53193 fi
53194 rm -f confcache
53195
53196 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53197 # Let make expand exec_prefix.
53198 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53199
53200 DEFS=-DHAVE_CONFIG_H
53201
53202 ac_libobjs=
53203 ac_ltlibobjs=
53204 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53205 # 1. Remove the extension, and $U if already installed.
53206 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53207 ac_i=`echo "$ac_i" | sed "$ac_script"`
53208 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53209 # will be set to the directory where LIBOBJS objects are built.
53210 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53211 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53212 done
53213 LIBOBJS=$ac_libobjs
53214
53215 LTLIBOBJS=$ac_ltlibobjs
53216
53217
53218
53219 : ${CONFIG_STATUS=./config.status}
53220 ac_clean_files_save=$ac_clean_files
53221 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53222 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53223 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53224 cat >$CONFIG_STATUS <<_ACEOF
53225 #! $SHELL
53226 # Generated by $as_me.
53227 # Run this file to recreate the current configuration.
53228 # Compiler output produced by configure, useful for debugging
53229 # configure, is in config.log if it exists.
53230
53231 debug=false
53232 ac_cs_recheck=false
53233 ac_cs_silent=false
53234 SHELL=\${CONFIG_SHELL-$SHELL}
53235 _ACEOF
53236
53237 cat >>$CONFIG_STATUS <<\_ACEOF
53238 ## --------------------- ##
53239 ## M4sh Initialization. ##
53240 ## --------------------- ##
53241
53242 # Be more Bourne compatible
53243 DUALCASE=1; export DUALCASE # for MKS sh
53244 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53245 emulate sh
53246 NULLCMD=:
53247 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53248 # is contrary to our usage. Disable this feature.
53249 alias -g '${1+"$@"}'='"$@"'
53250 setopt NO_GLOB_SUBST
53251 else
53252 case `(set -o) 2>/dev/null` in
53253 *posix*) set -o posix ;;
53254 esac
53255
53256 fi
53257
53258
53259
53260
53261 # PATH needs CR
53262 # Avoid depending upon Character Ranges.
53263 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53264 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53265 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53266 as_cr_digits='0123456789'
53267 as_cr_alnum=$as_cr_Letters$as_cr_digits
53268
53269 # The user is always right.
53270 if test "${PATH_SEPARATOR+set}" != set; then
53271 echo "#! /bin/sh" >conf$$.sh
53272 echo "exit 0" >>conf$$.sh
53273 chmod +x conf$$.sh
53274 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53275 PATH_SEPARATOR=';'
53276 else
53277 PATH_SEPARATOR=:
53278 fi
53279 rm -f conf$$.sh
53280 fi
53281
53282 # Support unset when possible.
53283 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53284 as_unset=unset
53285 else
53286 as_unset=false
53287 fi
53288
53289
53290 # IFS
53291 # We need space, tab and new line, in precisely that order. Quoting is
53292 # there to prevent editors from complaining about space-tab.
53293 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53294 # splitting by setting IFS to empty value.)
53295 as_nl='
53296 '
53297 IFS=" "" $as_nl"
53298
53299 # Find who we are. Look in the path if we contain no directory separator.
53300 case $0 in
53301 *[\\/]* ) as_myself=$0 ;;
53302 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53303 for as_dir in $PATH
53304 do
53305 IFS=$as_save_IFS
53306 test -z "$as_dir" && as_dir=.
53307 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53308 done
53309 IFS=$as_save_IFS
53310
53311 ;;
53312 esac
53313 # We did not find ourselves, most probably we were run as `sh COMMAND'
53314 # in which case we are not to be found in the path.
53315 if test "x$as_myself" = x; then
53316 as_myself=$0
53317 fi
53318 if test ! -f "$as_myself"; then
53319 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53320 { (exit 1); exit 1; }
53321 fi
53322
53323 # Work around bugs in pre-3.0 UWIN ksh.
53324 for as_var in ENV MAIL MAILPATH
53325 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53326 done
53327 PS1='$ '
53328 PS2='> '
53329 PS4='+ '
53330
53331 # NLS nuisances.
53332 for as_var in \
53333 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53334 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53335 LC_TELEPHONE LC_TIME
53336 do
53337 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53338 eval $as_var=C; export $as_var
53339 else
53340 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53341 fi
53342 done
53343
53344 # Required to use basename.
53345 if expr a : '\(a\)' >/dev/null 2>&1 &&
53346 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53347 as_expr=expr
53348 else
53349 as_expr=false
53350 fi
53351
53352 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53353 as_basename=basename
53354 else
53355 as_basename=false
53356 fi
53357
53358
53359 # Name of the executable.
53360 as_me=`$as_basename -- "$0" ||
53361 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53362 X"$0" : 'X\(//\)$' \| \
53363 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53364 echo X/"$0" |
53365 sed '/^.*\/\([^/][^/]*\)\/*$/{
53366 s//\1/
53367 q
53368 }
53369 /^X\/\(\/\/\)$/{
53370 s//\1/
53371 q
53372 }
53373 /^X\/\(\/\).*/{
53374 s//\1/
53375 q
53376 }
53377 s/.*/./; q'`
53378
53379 # CDPATH.
53380 $as_unset CDPATH
53381
53382
53383
53384 as_lineno_1=$LINENO
53385 as_lineno_2=$LINENO
53386 test "x$as_lineno_1" != "x$as_lineno_2" &&
53387 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53388
53389 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53390 # uniformly replaced by the line number. The first 'sed' inserts a
53391 # line-number line after each line using $LINENO; the second 'sed'
53392 # does the real work. The second script uses 'N' to pair each
53393 # line-number line with the line containing $LINENO, and appends
53394 # trailing '-' during substitution so that $LINENO is not a special
53395 # case at line end.
53396 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53397 # scripts with optimization help from Paolo Bonzini. Blame Lee
53398 # E. McMahon (1931-1989) for sed's syntax. :-)
53399 sed -n '
53400 p
53401 /[$]LINENO/=
53402 ' <$as_myself |
53403 sed '
53404 s/[$]LINENO.*/&-/
53405 t lineno
53406 b
53407 :lineno
53408 N
53409 :loop
53410 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53411 t loop
53412 s/-\n.*//
53413 ' >$as_me.lineno &&
53414 chmod +x "$as_me.lineno" ||
53415 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53416 { (exit 1); exit 1; }; }
53417
53418 # Don't try to exec as it changes $[0], causing all sort of problems
53419 # (the dirname of $[0] is not the place where we might find the
53420 # original and so on. Autoconf is especially sensitive to this).
53421 . "./$as_me.lineno"
53422 # Exit status is that of the last command.
53423 exit
53424 }
53425
53426
53427 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53428 as_dirname=dirname
53429 else
53430 as_dirname=false
53431 fi
53432
53433 ECHO_C= ECHO_N= ECHO_T=
53434 case `echo -n x` in
53435 -n*)
53436 case `echo 'x\c'` in
53437 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53438 *) ECHO_C='\c';;
53439 esac;;
53440 *)
53441 ECHO_N='-n';;
53442 esac
53443
53444 if expr a : '\(a\)' >/dev/null 2>&1 &&
53445 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53446 as_expr=expr
53447 else
53448 as_expr=false
53449 fi
53450
53451 rm -f conf$$ conf$$.exe conf$$.file
53452 if test -d conf$$.dir; then
53453 rm -f conf$$.dir/conf$$.file
53454 else
53455 rm -f conf$$.dir
53456 mkdir conf$$.dir
53457 fi
53458 echo >conf$$.file
53459 if ln -s conf$$.file conf$$ 2>/dev/null; then
53460 as_ln_s='ln -s'
53461 # ... but there are two gotchas:
53462 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53463 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53464 # In both cases, we have to default to `cp -p'.
53465 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53466 as_ln_s='cp -p'
53467 elif ln conf$$.file conf$$ 2>/dev/null; then
53468 as_ln_s=ln
53469 else
53470 as_ln_s='cp -p'
53471 fi
53472 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53473 rmdir conf$$.dir 2>/dev/null
53474
53475 if mkdir -p . 2>/dev/null; then
53476 as_mkdir_p=:
53477 else
53478 test -d ./-p && rmdir ./-p
53479 as_mkdir_p=false
53480 fi
53481
53482 if test -x / >/dev/null 2>&1; then
53483 as_test_x='test -x'
53484 else
53485 if ls -dL / >/dev/null 2>&1; then
53486 as_ls_L_option=L
53487 else
53488 as_ls_L_option=
53489 fi
53490 as_test_x='
53491 eval sh -c '\''
53492 if test -d "$1"; then
53493 test -d "$1/.";
53494 else
53495 case $1 in
53496 -*)set "./$1";;
53497 esac;
53498 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53499 ???[sx]*):;;*)false;;esac;fi
53500 '\'' sh
53501 '
53502 fi
53503 as_executable_p=$as_test_x
53504
53505 # Sed expression to map a string onto a valid CPP name.
53506 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53507
53508 # Sed expression to map a string onto a valid variable name.
53509 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53510
53511
53512 exec 6>&1
53513
53514 # Save the log message, to keep $[0] and so on meaningful, and to
53515 # report actual input values of CONFIG_FILES etc. instead of their
53516 # values after options handling.
53517 ac_log="
53518 This file was extended by wxWidgets $as_me 2.9.0, which was
53519 generated by GNU Autoconf 2.61. Invocation command line was
53520
53521 CONFIG_FILES = $CONFIG_FILES
53522 CONFIG_HEADERS = $CONFIG_HEADERS
53523 CONFIG_LINKS = $CONFIG_LINKS
53524 CONFIG_COMMANDS = $CONFIG_COMMANDS
53525 $ $0 $@
53526
53527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53528 "
53529
53530 _ACEOF
53531
53532 cat >>$CONFIG_STATUS <<_ACEOF
53533 # Files that config.status was made for.
53534 config_files="$ac_config_files"
53535 config_headers="$ac_config_headers"
53536 config_commands="$ac_config_commands"
53537
53538 _ACEOF
53539
53540 cat >>$CONFIG_STATUS <<\_ACEOF
53541 ac_cs_usage="\
53542 \`$as_me' instantiates files from templates according to the
53543 current configuration.
53544
53545 Usage: $0 [OPTIONS] [FILE]...
53546
53547 -h, --help print this help, then exit
53548 -V, --version print version number and configuration settings, then exit
53549 -q, --quiet do not print progress messages
53550 -d, --debug don't remove temporary files
53551 --recheck update $as_me by reconfiguring in the same conditions
53552 --file=FILE[:TEMPLATE]
53553 instantiate the configuration file FILE
53554 --header=FILE[:TEMPLATE]
53555 instantiate the configuration header FILE
53556
53557 Configuration files:
53558 $config_files
53559
53560 Configuration headers:
53561 $config_headers
53562
53563 Configuration commands:
53564 $config_commands
53565
53566 Report bugs to <bug-autoconf@gnu.org>."
53567
53568 _ACEOF
53569 cat >>$CONFIG_STATUS <<_ACEOF
53570 ac_cs_version="\\
53571 wxWidgets config.status 2.9.0
53572 configured by $0, generated by GNU Autoconf 2.61,
53573 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53574
53575 Copyright (C) 2006 Free Software Foundation, Inc.
53576 This config.status script is free software; the Free Software Foundation
53577 gives unlimited permission to copy, distribute and modify it."
53578
53579 ac_pwd='$ac_pwd'
53580 srcdir='$srcdir'
53581 INSTALL='$INSTALL'
53582 _ACEOF
53583
53584 cat >>$CONFIG_STATUS <<\_ACEOF
53585 # If no file are specified by the user, then we need to provide default
53586 # value. By we need to know if files were specified by the user.
53587 ac_need_defaults=:
53588 while test $# != 0
53589 do
53590 case $1 in
53591 --*=*)
53592 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53593 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53594 ac_shift=:
53595 ;;
53596 *)
53597 ac_option=$1
53598 ac_optarg=$2
53599 ac_shift=shift
53600 ;;
53601 esac
53602
53603 case $ac_option in
53604 # Handling of the options.
53605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53606 ac_cs_recheck=: ;;
53607 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53608 echo "$ac_cs_version"; exit ;;
53609 --debug | --debu | --deb | --de | --d | -d )
53610 debug=: ;;
53611 --file | --fil | --fi | --f )
53612 $ac_shift
53613 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53614 ac_need_defaults=false;;
53615 --header | --heade | --head | --hea )
53616 $ac_shift
53617 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53618 ac_need_defaults=false;;
53619 --he | --h)
53620 # Conflict between --help and --header
53621 { echo "$as_me: error: ambiguous option: $1
53622 Try \`$0 --help' for more information." >&2
53623 { (exit 1); exit 1; }; };;
53624 --help | --hel | -h )
53625 echo "$ac_cs_usage"; exit ;;
53626 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53627 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53628 ac_cs_silent=: ;;
53629
53630 # This is an error.
53631 -*) { echo "$as_me: error: unrecognized option: $1
53632 Try \`$0 --help' for more information." >&2
53633 { (exit 1); exit 1; }; } ;;
53634
53635 *) ac_config_targets="$ac_config_targets $1"
53636 ac_need_defaults=false ;;
53637
53638 esac
53639 shift
53640 done
53641
53642 ac_configure_extra_args=
53643
53644 if $ac_cs_silent; then
53645 exec 6>/dev/null
53646 ac_configure_extra_args="$ac_configure_extra_args --silent"
53647 fi
53648
53649 _ACEOF
53650 cat >>$CONFIG_STATUS <<_ACEOF
53651 if \$ac_cs_recheck; then
53652 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53653 CONFIG_SHELL=$SHELL
53654 export CONFIG_SHELL
53655 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53656 fi
53657
53658 _ACEOF
53659 cat >>$CONFIG_STATUS <<\_ACEOF
53660 exec 5>>config.log
53661 {
53662 echo
53663 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53664 ## Running $as_me. ##
53665 _ASBOX
53666 echo "$ac_log"
53667 } >&5
53668
53669 _ACEOF
53670 cat >>$CONFIG_STATUS <<_ACEOF
53671 #
53672 # INIT-COMMANDS
53673 #
53674
53675 CPP="$CPP"
53676 infile="$srcdir/include/wx/msw/genrcdefs.h"
53677 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53678
53679
53680 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53681 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53682 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53683 LN_S="${LN_S}"
53684
53685
53686 _ACEOF
53687
53688 cat >>$CONFIG_STATUS <<\_ACEOF
53689
53690 # Handling of arguments.
53691 for ac_config_target in $ac_config_targets
53692 do
53693 case $ac_config_target in
53694 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53695 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53696 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53697 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53698 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53699 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53700 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53701 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53702
53703 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53704 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53705 { (exit 1); exit 1; }; };;
53706 esac
53707 done
53708
53709
53710 # If the user did not use the arguments to specify the items to instantiate,
53711 # then the envvar interface is used. Set only those that are not.
53712 # We use the long form for the default assignment because of an extremely
53713 # bizarre bug on SunOS 4.1.3.
53714 if $ac_need_defaults; then
53715 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53716 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53717 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53718 fi
53719
53720 # Have a temporary directory for convenience. Make it in the build tree
53721 # simply because there is no reason against having it here, and in addition,
53722 # creating and moving files from /tmp can sometimes cause problems.
53723 # Hook for its removal unless debugging.
53724 # Note that there is a small window in which the directory will not be cleaned:
53725 # after its creation but before its name has been assigned to `$tmp'.
53726 $debug ||
53727 {
53728 tmp=
53729 trap 'exit_status=$?
53730 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53731 ' 0
53732 trap '{ (exit 1); exit 1; }' 1 2 13 15
53733 }
53734 # Create a (secure) tmp directory for tmp files.
53735
53736 {
53737 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53738 test -n "$tmp" && test -d "$tmp"
53739 } ||
53740 {
53741 tmp=./conf$$-$RANDOM
53742 (umask 077 && mkdir "$tmp")
53743 } ||
53744 {
53745 echo "$me: cannot create a temporary directory in ." >&2
53746 { (exit 1); exit 1; }
53747 }
53748
53749 #
53750 # Set up the sed scripts for CONFIG_FILES section.
53751 #
53752
53753 # No need to generate the scripts if there are no CONFIG_FILES.
53754 # This happens for instance when ./config.status config.h
53755 if test -n "$CONFIG_FILES"; then
53756
53757 _ACEOF
53758
53759
53760
53761 ac_delim='%!_!# '
53762 for ac_last_try in false false false false false :; do
53763 cat >conf$$subs.sed <<_ACEOF
53764 SHELL!$SHELL$ac_delim
53765 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53766 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53767 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53768 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53769 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53770 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53771 exec_prefix!$exec_prefix$ac_delim
53772 prefix!$prefix$ac_delim
53773 program_transform_name!$program_transform_name$ac_delim
53774 bindir!$bindir$ac_delim
53775 sbindir!$sbindir$ac_delim
53776 libexecdir!$libexecdir$ac_delim
53777 datarootdir!$datarootdir$ac_delim
53778 datadir!$datadir$ac_delim
53779 sysconfdir!$sysconfdir$ac_delim
53780 sharedstatedir!$sharedstatedir$ac_delim
53781 localstatedir!$localstatedir$ac_delim
53782 includedir!$includedir$ac_delim
53783 oldincludedir!$oldincludedir$ac_delim
53784 docdir!$docdir$ac_delim
53785 infodir!$infodir$ac_delim
53786 htmldir!$htmldir$ac_delim
53787 dvidir!$dvidir$ac_delim
53788 pdfdir!$pdfdir$ac_delim
53789 psdir!$psdir$ac_delim
53790 libdir!$libdir$ac_delim
53791 localedir!$localedir$ac_delim
53792 mandir!$mandir$ac_delim
53793 DEFS!$DEFS$ac_delim
53794 ECHO_C!$ECHO_C$ac_delim
53795 ECHO_N!$ECHO_N$ac_delim
53796 ECHO_T!$ECHO_T$ac_delim
53797 LIBS!$LIBS$ac_delim
53798 build_alias!$build_alias$ac_delim
53799 host_alias!$host_alias$ac_delim
53800 target_alias!$target_alias$ac_delim
53801 build!$build$ac_delim
53802 build_cpu!$build_cpu$ac_delim
53803 build_vendor!$build_vendor$ac_delim
53804 build_os!$build_os$ac_delim
53805 host!$host$ac_delim
53806 host_cpu!$host_cpu$ac_delim
53807 host_vendor!$host_vendor$ac_delim
53808 host_os!$host_os$ac_delim
53809 target!$target$ac_delim
53810 target_cpu!$target_cpu$ac_delim
53811 target_vendor!$target_vendor$ac_delim
53812 target_os!$target_os$ac_delim
53813 wx_top_builddir!$wx_top_builddir$ac_delim
53814 CC!$CC$ac_delim
53815 CFLAGS!$CFLAGS$ac_delim
53816 LDFLAGS!$LDFLAGS$ac_delim
53817 CPPFLAGS!$CPPFLAGS$ac_delim
53818 ac_ct_CC!$ac_ct_CC$ac_delim
53819 EXEEXT!$EXEEXT$ac_delim
53820 OBJEXT!$OBJEXT$ac_delim
53821 CPP!$CPP$ac_delim
53822 GREP!$GREP$ac_delim
53823 EGREP!$EGREP$ac_delim
53824 CXX!$CXX$ac_delim
53825 CXXFLAGS!$CXXFLAGS$ac_delim
53826 ac_ct_CXX!$ac_ct_CXX$ac_delim
53827 RANLIB!$RANLIB$ac_delim
53828 AR!$AR$ac_delim
53829 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53830 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53831 INSTALL_DATA!$INSTALL_DATA$ac_delim
53832 STRIP!$STRIP$ac_delim
53833 WINDRES!$WINDRES$ac_delim
53834 DLLTOOL!$DLLTOOL$ac_delim
53835 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53836 LN_S!$LN_S$ac_delim
53837 subdirs!$subdirs$ac_delim
53838 PKG_CONFIG!$PKG_CONFIG$ac_delim
53839 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53840 GTK_LIBS!$GTK_LIBS$ac_delim
53841 GTK_CONFIG!$GTK_CONFIG$ac_delim
53842 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53843 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53844 XMKMF!$XMKMF$ac_delim
53845 X_CFLAGS!$X_CFLAGS$ac_delim
53846 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53847 X_LIBS!$X_LIBS$ac_delim
53848 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53849 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53850 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53851 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53852 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53853 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53854 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53855 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53856 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53857 REZ!$REZ$ac_delim
53858 DEREZ!$DEREZ$ac_delim
53859 SETFILE!$SETFILE$ac_delim
53860 LIBICONV!$LIBICONV$ac_delim
53861 _ACEOF
53862
53863 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53864 break
53865 elif $ac_last_try; then
53866 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53867 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53868 { (exit 1); exit 1; }; }
53869 else
53870 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53871 fi
53872 done
53873
53874 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53875 if test -n "$ac_eof"; then
53876 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53877 ac_eof=`expr $ac_eof + 1`
53878 fi
53879
53880 cat >>$CONFIG_STATUS <<_ACEOF
53881 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53883 _ACEOF
53884 sed '
53885 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53886 s/^/s,@/; s/!/@,|#_!!_#|/
53887 :n
53888 t n
53889 s/'"$ac_delim"'$/,g/; t
53890 s/$/\\/; p
53891 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53892 ' >>$CONFIG_STATUS <conf$$subs.sed
53893 rm -f conf$$subs.sed
53894 cat >>$CONFIG_STATUS <<_ACEOF
53895 CEOF$ac_eof
53896 _ACEOF
53897
53898
53899 ac_delim='%!_!# '
53900 for ac_last_try in false false false false false :; do
53901 cat >conf$$subs.sed <<_ACEOF
53902 SDL_CONFIG!$SDL_CONFIG$ac_delim
53903 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53904 SDL_LIBS!$SDL_LIBS$ac_delim
53905 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53906 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53907 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53908 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53909 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53910 HILDON_LIBS!$HILDON_LIBS$ac_delim
53911 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53912 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53913 GST_CFLAGS!$GST_CFLAGS$ac_delim
53914 GST_LIBS!$GST_LIBS$ac_delim
53915 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53916 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53917 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53918 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53919 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53920 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53921 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53922 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53923 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53924 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53925 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53926 VENDOR!$VENDOR$ac_delim
53927 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53928 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53929 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53930 WXUNIV!$WXUNIV$ac_delim
53931 MONOLITHIC!$MONOLITHIC$ac_delim
53932 USE_PLUGINS!$USE_PLUGINS$ac_delim
53933 CXXWARNINGS!$CXXWARNINGS$ac_delim
53934 EXTRALIBS!$EXTRALIBS$ac_delim
53935 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53936 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53937 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53938 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53939 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53940 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53941 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53942 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53943 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53944 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53945 UNICODE!$UNICODE$ac_delim
53946 BUILD!$BUILD$ac_delim
53947 DEBUG_INFO!$DEBUG_INFO$ac_delim
53948 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53949 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53950 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53951 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53952 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53953 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53954 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53955 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53956 SET_MAKE!$SET_MAKE$ac_delim
53957 MAKE_SET!$MAKE_SET$ac_delim
53958 AROPTIONS!$AROPTIONS$ac_delim
53959 NM!$NM$ac_delim
53960 INSTALL_DIR!$INSTALL_DIR$ac_delim
53961 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53962 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53963 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53964 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53965 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53966 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53967 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53968 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53969 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53970 SO_SUFFIX!$SO_SUFFIX$ac_delim
53971 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53972 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53973 LIBPREFIX!$LIBPREFIX$ac_delim
53974 LIBEXT!$LIBEXT$ac_delim
53975 DLLPREFIX!$DLLPREFIX$ac_delim
53976 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53977 dlldir!$dlldir$ac_delim
53978 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53979 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53980 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53981 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53982 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53983 PIC_FLAG!$PIC_FLAG$ac_delim
53984 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53985 USE_SOVERSION!$USE_SOVERSION$ac_delim
53986 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53987 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53988 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53989 USE_MACVERSION!$USE_MACVERSION$ac_delim
53990 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53991 SONAME_FLAG!$SONAME_FLAG$ac_delim
53992 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53993 BK_DEPS!$BK_DEPS$ac_delim
53994 GCC_PCH!$GCC_PCH$ac_delim
53995 ICC_PCH!$ICC_PCH$ac_delim
53996 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53997 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53998 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53999 _ACEOF
54000
54001 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54002 break
54003 elif $ac_last_try; then
54004 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54005 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54006 { (exit 1); exit 1; }; }
54007 else
54008 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54009 fi
54010 done
54011
54012 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54013 if test -n "$ac_eof"; then
54014 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54015 ac_eof=`expr $ac_eof + 1`
54016 fi
54017
54018 cat >>$CONFIG_STATUS <<_ACEOF
54019 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54020 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54021 _ACEOF
54022 sed '
54023 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54024 s/^/s,@/; s/!/@,|#_!!_#|/
54025 :n
54026 t n
54027 s/'"$ac_delim"'$/,g/; t
54028 s/$/\\/; p
54029 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54030 ' >>$CONFIG_STATUS <conf$$subs.sed
54031 rm -f conf$$subs.sed
54032 cat >>$CONFIG_STATUS <<_ACEOF
54033 CEOF$ac_eof
54034 _ACEOF
54035
54036
54037 ac_delim='%!_!# '
54038 for ac_last_try in false false false false false :; do
54039 cat >conf$$subs.sed <<_ACEOF
54040 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54041 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54042 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54043 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54044 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54045 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54046 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54047 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54048 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54049 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54050 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54051 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54052 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54053 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54054 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54055 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54056 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54062 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54063 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54064 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54065 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54066 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54067 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54069 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54073 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54074 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54075 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54076 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54077 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54078 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54079 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54080 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54081 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54082 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54083 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54084 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54085 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54086 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54087 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54088 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54089 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54090 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54091 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54092 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54093 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54094 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54095 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54096 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54097 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54098 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54099 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54100 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54101 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54102 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54103 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54104 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54105 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54106 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54107 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54108 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54109 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54110 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54111 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54112 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54113 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54114 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54115 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54116 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54117 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54118 COND_SHARED_0!$COND_SHARED_0$ac_delim
54119 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54120 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54121 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54122 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54123 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54124 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54126 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54127 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54128 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54129 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54130 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54131 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54132 COND_SHARED_1!$COND_SHARED_1$ac_delim
54133 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54134 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54135 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54136 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54137 _ACEOF
54138
54139 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54140 break
54141 elif $ac_last_try; then
54142 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54143 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54144 { (exit 1); exit 1; }; }
54145 else
54146 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54147 fi
54148 done
54149
54150 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54151 if test -n "$ac_eof"; then
54152 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54153 ac_eof=`expr $ac_eof + 1`
54154 fi
54155
54156 cat >>$CONFIG_STATUS <<_ACEOF
54157 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54158 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54159 _ACEOF
54160 sed '
54161 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54162 s/^/s,@/; s/!/@,|#_!!_#|/
54163 :n
54164 t n
54165 s/'"$ac_delim"'$/,g/; t
54166 s/$/\\/; p
54167 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54168 ' >>$CONFIG_STATUS <conf$$subs.sed
54169 rm -f conf$$subs.sed
54170 cat >>$CONFIG_STATUS <<_ACEOF
54171 CEOF$ac_eof
54172 _ACEOF
54173
54174
54175 ac_delim='%!_!# '
54176 for ac_last_try in false false false false false :; do
54177 cat >conf$$subs.sed <<_ACEOF
54178 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54179 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54180 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54181 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54182 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54188 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54189 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54190 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54191 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54192 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54193 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54194 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54195 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54196 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54197 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54198 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54199 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54200 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54201 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54202 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54203 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54204 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54205 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54206 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54207 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54208 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54209 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54210 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54211 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54212 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54213 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54214 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54215 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54216 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54217 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54218 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54219 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54220 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54221 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54222 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54223 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54224 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54225 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54226 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54227 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54228 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54229 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54230 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54231 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54232 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54233 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54234 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54235 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54236 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54237 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54238 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54239 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54240 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54241 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54242 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54243 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54244 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54245 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54246 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54247 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54248 SHARED!$SHARED$ac_delim
54249 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54250 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54251 USE_GUI!$USE_GUI$ac_delim
54252 AFMINSTALL!$AFMINSTALL$ac_delim
54253 WIN32INSTALL!$WIN32INSTALL$ac_delim
54254 TOOLKIT!$TOOLKIT$ac_delim
54255 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54256 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54257 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54258 cross_compiling!$cross_compiling$ac_delim
54259 WIDGET_SET!$WIDGET_SET$ac_delim
54260 WX_RELEASE!$WX_RELEASE$ac_delim
54261 WX_VERSION!$WX_VERSION$ac_delim
54262 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54263 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54264 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54265 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54266 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54267 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54268 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54269 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54270 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54271 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54272 EXE_LINKER!$EXE_LINKER$ac_delim
54273 GUIDIST!$GUIDIST$ac_delim
54274 DISTDIR!$DISTDIR$ac_delim
54275 _ACEOF
54276
54277 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54278 break
54279 elif $ac_last_try; then
54280 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54281 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54282 { (exit 1); exit 1; }; }
54283 else
54284 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54285 fi
54286 done
54287
54288 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54289 if test -n "$ac_eof"; then
54290 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54291 ac_eof=`expr $ac_eof + 1`
54292 fi
54293
54294 cat >>$CONFIG_STATUS <<_ACEOF
54295 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54296 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54297 _ACEOF
54298 sed '
54299 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54300 s/^/s,@/; s/!/@,|#_!!_#|/
54301 :n
54302 t n
54303 s/'"$ac_delim"'$/,g/; t
54304 s/$/\\/; p
54305 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54306 ' >>$CONFIG_STATUS <conf$$subs.sed
54307 rm -f conf$$subs.sed
54308 cat >>$CONFIG_STATUS <<_ACEOF
54309 CEOF$ac_eof
54310 _ACEOF
54311
54312
54313 ac_delim='%!_!# '
54314 for ac_last_try in false false false false false :; do
54315 cat >conf$$subs.sed <<_ACEOF
54316 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54317 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54318 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54319 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54320 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54321 RESCOMP!$RESCOMP$ac_delim
54322 RESFLAGS!$RESFLAGS$ac_delim
54323 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54324 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54325 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54326 LIBWXMACRES!$LIBWXMACRES$ac_delim
54327 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54328 MACSETFILE!$MACSETFILE$ac_delim
54329 GCC!$GCC$ac_delim
54330 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54331 LIBOBJS!$LIBOBJS$ac_delim
54332 LTLIBOBJS!$LTLIBOBJS$ac_delim
54333 _ACEOF
54334
54335 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54336 break
54337 elif $ac_last_try; then
54338 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54339 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54340 { (exit 1); exit 1; }; }
54341 else
54342 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54343 fi
54344 done
54345
54346 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54347 if test -n "$ac_eof"; then
54348 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54349 ac_eof=`expr $ac_eof + 1`
54350 fi
54351
54352 cat >>$CONFIG_STATUS <<_ACEOF
54353 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54355 _ACEOF
54356 sed '
54357 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54358 s/^/s,@/; s/!/@,|#_!!_#|/
54359 :n
54360 t n
54361 s/'"$ac_delim"'$/,g/; t
54362 s/$/\\/; p
54363 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54364 ' >>$CONFIG_STATUS <conf$$subs.sed
54365 rm -f conf$$subs.sed
54366 cat >>$CONFIG_STATUS <<_ACEOF
54367 :end
54368 s/|#_!!_#|//g
54369 CEOF$ac_eof
54370 _ACEOF
54371
54372
54373 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54374 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54375 # trailing colons and then remove the whole line if VPATH becomes empty
54376 # (actually we leave an empty line to preserve line numbers).
54377 if test "x$srcdir" = x.; then
54378 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54379 s/:*\$(srcdir):*/:/
54380 s/:*\${srcdir}:*/:/
54381 s/:*@srcdir@:*/:/
54382 s/^\([^=]*=[ ]*\):*/\1/
54383 s/:*$//
54384 s/^[^=]*=[ ]*$//
54385 }'
54386 fi
54387
54388 cat >>$CONFIG_STATUS <<\_ACEOF
54389 fi # test -n "$CONFIG_FILES"
54390
54391
54392 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54393 do
54394 case $ac_tag in
54395 :[FHLC]) ac_mode=$ac_tag; continue;;
54396 esac
54397 case $ac_mode$ac_tag in
54398 :[FHL]*:*);;
54399 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54400 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54401 { (exit 1); exit 1; }; };;
54402 :[FH]-) ac_tag=-:-;;
54403 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54404 esac
54405 ac_save_IFS=$IFS
54406 IFS=:
54407 set x $ac_tag
54408 IFS=$ac_save_IFS
54409 shift
54410 ac_file=$1
54411 shift
54412
54413 case $ac_mode in
54414 :L) ac_source=$1;;
54415 :[FH])
54416 ac_file_inputs=
54417 for ac_f
54418 do
54419 case $ac_f in
54420 -) ac_f="$tmp/stdin";;
54421 *) # Look for the file first in the build tree, then in the source tree
54422 # (if the path is not absolute). The absolute path cannot be DOS-style,
54423 # because $ac_f cannot contain `:'.
54424 test -f "$ac_f" ||
54425 case $ac_f in
54426 [\\/$]*) false;;
54427 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54428 esac ||
54429 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54430 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54431 { (exit 1); exit 1; }; };;
54432 esac
54433 ac_file_inputs="$ac_file_inputs $ac_f"
54434 done
54435
54436 # Let's still pretend it is `configure' which instantiates (i.e., don't
54437 # use $as_me), people would be surprised to read:
54438 # /* config.h. Generated by config.status. */
54439 configure_input="Generated from "`IFS=:
54440 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54441 if test x"$ac_file" != x-; then
54442 configure_input="$ac_file. $configure_input"
54443 { echo "$as_me:$LINENO: creating $ac_file" >&5
54444 echo "$as_me: creating $ac_file" >&6;}
54445 fi
54446
54447 case $ac_tag in
54448 *:-:* | *:-) cat >"$tmp/stdin";;
54449 esac
54450 ;;
54451 esac
54452
54453 ac_dir=`$as_dirname -- "$ac_file" ||
54454 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54455 X"$ac_file" : 'X\(//\)[^/]' \| \
54456 X"$ac_file" : 'X\(//\)$' \| \
54457 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54458 echo X"$ac_file" |
54459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54460 s//\1/
54461 q
54462 }
54463 /^X\(\/\/\)[^/].*/{
54464 s//\1/
54465 q
54466 }
54467 /^X\(\/\/\)$/{
54468 s//\1/
54469 q
54470 }
54471 /^X\(\/\).*/{
54472 s//\1/
54473 q
54474 }
54475 s/.*/./; q'`
54476 { as_dir="$ac_dir"
54477 case $as_dir in #(
54478 -*) as_dir=./$as_dir;;
54479 esac
54480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54481 as_dirs=
54482 while :; do
54483 case $as_dir in #(
54484 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54485 *) as_qdir=$as_dir;;
54486 esac
54487 as_dirs="'$as_qdir' $as_dirs"
54488 as_dir=`$as_dirname -- "$as_dir" ||
54489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54490 X"$as_dir" : 'X\(//\)[^/]' \| \
54491 X"$as_dir" : 'X\(//\)$' \| \
54492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54493 echo X"$as_dir" |
54494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54495 s//\1/
54496 q
54497 }
54498 /^X\(\/\/\)[^/].*/{
54499 s//\1/
54500 q
54501 }
54502 /^X\(\/\/\)$/{
54503 s//\1/
54504 q
54505 }
54506 /^X\(\/\).*/{
54507 s//\1/
54508 q
54509 }
54510 s/.*/./; q'`
54511 test -d "$as_dir" && break
54512 done
54513 test -z "$as_dirs" || eval "mkdir $as_dirs"
54514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54516 { (exit 1); exit 1; }; }; }
54517 ac_builddir=.
54518
54519 case "$ac_dir" in
54520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54521 *)
54522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54523 # A ".." for each directory in $ac_dir_suffix.
54524 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54525 case $ac_top_builddir_sub in
54526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54528 esac ;;
54529 esac
54530 ac_abs_top_builddir=$ac_pwd
54531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54532 # for backward compatibility:
54533 ac_top_builddir=$ac_top_build_prefix
54534
54535 case $srcdir in
54536 .) # We are building in place.
54537 ac_srcdir=.
54538 ac_top_srcdir=$ac_top_builddir_sub
54539 ac_abs_top_srcdir=$ac_pwd ;;
54540 [\\/]* | ?:[\\/]* ) # Absolute name.
54541 ac_srcdir=$srcdir$ac_dir_suffix;
54542 ac_top_srcdir=$srcdir
54543 ac_abs_top_srcdir=$srcdir ;;
54544 *) # Relative name.
54545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54546 ac_top_srcdir=$ac_top_build_prefix$srcdir
54547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54548 esac
54549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54550
54551
54552 case $ac_mode in
54553 :F)
54554 #
54555 # CONFIG_FILE
54556 #
54557
54558 case $INSTALL in
54559 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54560 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54561 esac
54562 _ACEOF
54563
54564 cat >>$CONFIG_STATUS <<\_ACEOF
54565 # If the template does not know about datarootdir, expand it.
54566 # FIXME: This hack should be removed a few years after 2.60.
54567 ac_datarootdir_hack=; ac_datarootdir_seen=
54568
54569 case `sed -n '/datarootdir/ {
54570 p
54571 q
54572 }
54573 /@datadir@/p
54574 /@docdir@/p
54575 /@infodir@/p
54576 /@localedir@/p
54577 /@mandir@/p
54578 ' $ac_file_inputs` in
54579 *datarootdir*) ac_datarootdir_seen=yes;;
54580 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54581 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54582 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54583 _ACEOF
54584 cat >>$CONFIG_STATUS <<_ACEOF
54585 ac_datarootdir_hack='
54586 s&@datadir@&$datadir&g
54587 s&@docdir@&$docdir&g
54588 s&@infodir@&$infodir&g
54589 s&@localedir@&$localedir&g
54590 s&@mandir@&$mandir&g
54591 s&\\\${datarootdir}&$datarootdir&g' ;;
54592 esac
54593 _ACEOF
54594
54595 # Neutralize VPATH when `$srcdir' = `.'.
54596 # Shell code in configure.ac might set extrasub.
54597 # FIXME: do we really want to maintain this feature?
54598 cat >>$CONFIG_STATUS <<_ACEOF
54599 sed "$ac_vpsub
54600 $extrasub
54601 _ACEOF
54602 cat >>$CONFIG_STATUS <<\_ACEOF
54603 :t
54604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54605 s&@configure_input@&$configure_input&;t t
54606 s&@top_builddir@&$ac_top_builddir_sub&;t t
54607 s&@srcdir@&$ac_srcdir&;t t
54608 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54609 s&@top_srcdir@&$ac_top_srcdir&;t t
54610 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54611 s&@builddir@&$ac_builddir&;t t
54612 s&@abs_builddir@&$ac_abs_builddir&;t t
54613 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54614 s&@INSTALL@&$ac_INSTALL&;t t
54615 $ac_datarootdir_hack
54616 " $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
54617
54618 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54619 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54620 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54621 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54622 which seems to be undefined. Please make sure it is defined." >&5
54623 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54624 which seems to be undefined. Please make sure it is defined." >&2;}
54625
54626 rm -f "$tmp/stdin"
54627 case $ac_file in
54628 -) cat "$tmp/out"; rm -f "$tmp/out";;
54629 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54630 esac
54631 ;;
54632 :H)
54633 #
54634 # CONFIG_HEADER
54635 #
54636 _ACEOF
54637
54638 # Transform confdefs.h into a sed script `conftest.defines', that
54639 # substitutes the proper values into config.h.in to produce config.h.
54640 rm -f conftest.defines conftest.tail
54641 # First, append a space to every undef/define line, to ease matching.
54642 echo 's/$/ /' >conftest.defines
54643 # Then, protect against being on the right side of a sed subst, or in
54644 # an unquoted here document, in config.status. If some macros were
54645 # called several times there might be several #defines for the same
54646 # symbol, which is useless. But do not sort them, since the last
54647 # AC_DEFINE must be honored.
54648 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54649 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54650 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54651 # PARAMS is the parameter list in the macro definition--in most cases, it's
54652 # just an empty string.
54653 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54654 ac_dB='\\)[ (].*,\\1define\\2'
54655 ac_dC=' '
54656 ac_dD=' ,'
54657
54658 uniq confdefs.h |
54659 sed -n '
54660 t rset
54661 :rset
54662 s/^[ ]*#[ ]*define[ ][ ]*//
54663 t ok
54664 d
54665 :ok
54666 s/[\\&,]/\\&/g
54667 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54668 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54669 ' >>conftest.defines
54670
54671 # Remove the space that was appended to ease matching.
54672 # Then replace #undef with comments. This is necessary, for
54673 # example, in the case of _POSIX_SOURCE, which is predefined and required
54674 # on some systems where configure will not decide to define it.
54675 # (The regexp can be short, since the line contains either #define or #undef.)
54676 echo 's/ $//
54677 s,^[ #]*u.*,/* & */,' >>conftest.defines
54678
54679 # Break up conftest.defines:
54680 ac_max_sed_lines=50
54681
54682 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54683 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54684 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54685 # et cetera.
54686 ac_in='$ac_file_inputs'
54687 ac_out='"$tmp/out1"'
54688 ac_nxt='"$tmp/out2"'
54689
54690 while :
54691 do
54692 # Write a here document:
54693 cat >>$CONFIG_STATUS <<_ACEOF
54694 # First, check the format of the line:
54695 cat >"\$tmp/defines.sed" <<\\CEOF
54696 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54697 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54698 b
54699 :def
54700 _ACEOF
54701 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54702 echo 'CEOF
54703 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54704 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54705 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54706 grep . conftest.tail >/dev/null || break
54707 rm -f conftest.defines
54708 mv conftest.tail conftest.defines
54709 done
54710 rm -f conftest.defines conftest.tail
54711
54712 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54713 cat >>$CONFIG_STATUS <<\_ACEOF
54714 if test x"$ac_file" != x-; then
54715 echo "/* $configure_input */" >"$tmp/config.h"
54716 cat "$ac_result" >>"$tmp/config.h"
54717 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54719 echo "$as_me: $ac_file is unchanged" >&6;}
54720 else
54721 rm -f $ac_file
54722 mv "$tmp/config.h" $ac_file
54723 fi
54724 else
54725 echo "/* $configure_input */"
54726 cat "$ac_result"
54727 fi
54728 rm -f "$tmp/out12"
54729 ;;
54730
54731 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54732 echo "$as_me: executing $ac_file commands" >&6;}
54733 ;;
54734 esac
54735
54736
54737 case $ac_file$ac_mode in
54738 "rcdefs.h":C)
54739 mkdir -p $outdir &&
54740 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54741 ;;
54742 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54743 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54744 "wx-config":C) rm -f wx-config
54745 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54746 ;;
54747
54748 esac
54749 done # for ac_tag
54750
54751
54752 { (exit 0); exit 0; }
54753 _ACEOF
54754 chmod +x $CONFIG_STATUS
54755 ac_clean_files=$ac_clean_files_save
54756
54757
54758 # configure is writing to config.log, and then calls config.status.
54759 # config.status does its own redirection, appending to config.log.
54760 # Unfortunately, on DOS this fails, as config.log is still kept open
54761 # by configure, so config.status won't be able to write to it; its
54762 # output is simply discarded. So we exec the FD to /dev/null,
54763 # effectively closing config.log, so it can be properly (re)opened and
54764 # appended to by config.status. When coming back to configure, we
54765 # need to make the FD available again.
54766 if test "$no_create" != yes; then
54767 ac_cs_success=:
54768 ac_config_status_args=
54769 test "$silent" = yes &&
54770 ac_config_status_args="$ac_config_status_args --quiet"
54771 exec 5>/dev/null
54772 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54773 exec 5>>config.log
54774 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54775 # would make configure fail if this is the last instruction.
54776 $ac_cs_success || { (exit 1); exit 1; }
54777 fi
54778
54779 #
54780 # CONFIG_SUBDIRS section.
54781 #
54782 if test "$no_recursion" != yes; then
54783
54784 # Remove --cache-file and --srcdir arguments so they do not pile up.
54785 ac_sub_configure_args=
54786 ac_prev=
54787 eval "set x $ac_configure_args"
54788 shift
54789 for ac_arg
54790 do
54791 if test -n "$ac_prev"; then
54792 ac_prev=
54793 continue
54794 fi
54795 case $ac_arg in
54796 -cache-file | --cache-file | --cache-fil | --cache-fi \
54797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54798 ac_prev=cache_file ;;
54799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54801 | --c=*)
54802 ;;
54803 --config-cache | -C)
54804 ;;
54805 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54806 ac_prev=srcdir ;;
54807 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54808 ;;
54809 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54810 ac_prev=prefix ;;
54811 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54812 ;;
54813 *)
54814 case $ac_arg in
54815 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54816 esac
54817 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54818 esac
54819 done
54820
54821 # Always prepend --prefix to ensure using the same prefix
54822 # in subdir configurations.
54823 ac_arg="--prefix=$prefix"
54824 case $ac_arg in
54825 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54826 esac
54827 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54828
54829 # Pass --silent
54830 if test "$silent" = yes; then
54831 ac_sub_configure_args="--silent $ac_sub_configure_args"
54832 fi
54833
54834 ac_popdir=`pwd`
54835 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54836
54837 # Do not complain, so a configure script can configure whichever
54838 # parts of a large source tree are present.
54839 test -d "$srcdir/$ac_dir" || continue
54840
54841 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54842 echo "$as_me:$LINENO: $ac_msg" >&5
54843 echo "$ac_msg" >&6
54844 { as_dir="$ac_dir"
54845 case $as_dir in #(
54846 -*) as_dir=./$as_dir;;
54847 esac
54848 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54849 as_dirs=
54850 while :; do
54851 case $as_dir in #(
54852 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54853 *) as_qdir=$as_dir;;
54854 esac
54855 as_dirs="'$as_qdir' $as_dirs"
54856 as_dir=`$as_dirname -- "$as_dir" ||
54857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54858 X"$as_dir" : 'X\(//\)[^/]' \| \
54859 X"$as_dir" : 'X\(//\)$' \| \
54860 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54861 echo X"$as_dir" |
54862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54863 s//\1/
54864 q
54865 }
54866 /^X\(\/\/\)[^/].*/{
54867 s//\1/
54868 q
54869 }
54870 /^X\(\/\/\)$/{
54871 s//\1/
54872 q
54873 }
54874 /^X\(\/\).*/{
54875 s//\1/
54876 q
54877 }
54878 s/.*/./; q'`
54879 test -d "$as_dir" && break
54880 done
54881 test -z "$as_dirs" || eval "mkdir $as_dirs"
54882 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54883 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54884 { (exit 1); exit 1; }; }; }
54885 ac_builddir=.
54886
54887 case "$ac_dir" in
54888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54889 *)
54890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54891 # A ".." for each directory in $ac_dir_suffix.
54892 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54893 case $ac_top_builddir_sub in
54894 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54895 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54896 esac ;;
54897 esac
54898 ac_abs_top_builddir=$ac_pwd
54899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54900 # for backward compatibility:
54901 ac_top_builddir=$ac_top_build_prefix
54902
54903 case $srcdir in
54904 .) # We are building in place.
54905 ac_srcdir=.
54906 ac_top_srcdir=$ac_top_builddir_sub
54907 ac_abs_top_srcdir=$ac_pwd ;;
54908 [\\/]* | ?:[\\/]* ) # Absolute name.
54909 ac_srcdir=$srcdir$ac_dir_suffix;
54910 ac_top_srcdir=$srcdir
54911 ac_abs_top_srcdir=$srcdir ;;
54912 *) # Relative name.
54913 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54914 ac_top_srcdir=$ac_top_build_prefix$srcdir
54915 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54916 esac
54917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54918
54919
54920 cd "$ac_dir"
54921
54922 # Check for guested configure; otherwise get Cygnus style configure.
54923 if test -f "$ac_srcdir/configure.gnu"; then
54924 ac_sub_configure=$ac_srcdir/configure.gnu
54925 elif test -f "$ac_srcdir/configure"; then
54926 ac_sub_configure=$ac_srcdir/configure
54927 elif test -f "$ac_srcdir/configure.in"; then
54928 # This should be Cygnus configure.
54929 ac_sub_configure=$ac_aux_dir/configure
54930 else
54931 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54932 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54933 ac_sub_configure=
54934 fi
54935
54936 # The recursion is here.
54937 if test -n "$ac_sub_configure"; then
54938 # Make the cache file name correct relative to the subdirectory.
54939 case $cache_file in
54940 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54941 *) # Relative name.
54942 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54943 esac
54944
54945 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54946 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54947 # The eval makes quoting arguments work.
54948 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54949 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54950 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54951 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54952 { (exit 1); exit 1; }; }
54953 fi
54954
54955 cd "$ac_popdir"
54956 done
54957 fi
54958
54959
54960 echo
54961 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54962 echo ""
54963 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54964 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54965
54966 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54967 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54968 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54969 if test "$wxUSE_UNICODE" = "yes"; then
54970 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54971 echo " (using UTF-8)"
54972 else
54973 echo " (using wchar_t)"
54974 fi
54975 else
54976 echo
54977 fi
54978
54979 echo " What level of wxWidgets compatibility should be enabled?"
54980 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54981 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54982
54983 echo " Which libraries should wxWidgets use?"
54984 echo " jpeg ${wxUSE_LIBJPEG-none}"
54985 echo " png ${wxUSE_LIBPNG-none}"
54986 echo " regex ${wxUSE_REGEX}"
54987 echo " tiff ${wxUSE_LIBTIFF-none}"
54988 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54989 echo " xpm ${wxUSE_LIBXPM-none}"
54990 fi
54991 echo " zlib ${wxUSE_ZLIB}"
54992 echo " odbc ${wxUSE_ODBC}"
54993 echo " expat ${wxUSE_EXPAT}"
54994 echo " libmspack ${wxUSE_LIBMSPACK}"
54995 echo " sdl ${wxUSE_LIBSDL}"
54996
54997 echo ""
54998