]> git.saurik.com Git - wxWidgets.git/blob - configure
removed all MSW-specific options from this file, what were they doing here?
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47615 2007-07-21 12:56:22Z 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-regkey use wxRegKey class (Win32 only)
1851 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1852 --enable-wxdib use wxDIB class (Win32 only)
1853 --disable-largefile omit support for large files
1854 --disable-gtktest do not try to compile and run a test GTK+ program
1855 --disable-gtktest Do not try to compile and run a test GTK program
1856 --disable-sdltest Do not try to compile and run a test SDL program
1857 --enable-omf use OMF object format (OS/2)
1858 --disable-dependency-tracking
1859 don't use dependency tracking even if the compiler
1860 can
1861 --disable-precomp-headers
1862 don't use precompiled headers even if compiler can
1863
1864 Optional Packages:
1865 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1866 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1867 --without-subdirs don't generate makefiles for samples/demos/...
1868 --with-flavour=NAME specify a name to identify this build
1869 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1870 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1871 --with-motif use Motif/Lesstif
1872 --with-mac use Mac OS X
1873 --with-cocoa use Cocoa
1874 --with-wine use Wine
1875 --with-msw use MS-Windows
1876 --with-pm use OS/2 Presentation Manager
1877 --with-mgl use SciTech MGL
1878 --with-directfb use DirectFB
1879 --with-microwin use MicroWindows
1880 --with-x11 use X11
1881 --with-libpng use libpng (PNG image format)
1882 --with-libjpeg use libjpeg (JPEG file format)
1883 --with-libtiff use libtiff (TIFF file format)
1884 --with-libxpm use libxpm (XPM file format)
1885 --with-libmspack use libmspack (CHM help files loading)
1886 --without-gnomeprint don't use GNOME printing libraries
1887 --with-gnomevfs use GNOME VFS for associating MIME types
1888 --with-hildon use Hildon framework for Nokia 770
1889 --with-opengl use OpenGL (or Mesa)
1890 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1891 --with-sdl use SDL for audio on Unix
1892 --with-regex enable support for wxRegEx class
1893 --with-zlib use zlib for LZW compression
1894 --with-odbc use the IODBC and wxODBC classes
1895 --with-expat enable XML support using expat parser
1896 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1897 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1898 --with-x use the X Window System
1899 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1900 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1901 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1902 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1903 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1904
1905 Some influential environment variables:
1906 CC C compiler command
1907 CFLAGS C compiler flags
1908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1909 nonstandard directory <lib dir>
1910 LIBS libraries to pass to the linker, e.g. -l<library>
1911 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1912 you have headers in a nonstandard directory <include dir>
1913 CPP C preprocessor
1914 CXX C++ compiler command
1915 CXXFLAGS C++ compiler flags
1916 PKG_CONFIG path to pkg-config utility
1917 DIRECTFB_CFLAGS
1918 C compiler flags for DIRECTFB, overriding pkg-config
1919 DIRECTFB_LIBS
1920 linker flags for DIRECTFB, overriding pkg-config
1921 XMKMF Path to xmkmf, Makefile generator for X Window System
1922 PANGOX_CFLAGS
1923 C compiler flags for PANGOX, overriding pkg-config
1924 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1925 PANGOFT2_CFLAGS
1926 C compiler flags for PANGOFT2, overriding pkg-config
1927 PANGOFT2_LIBS
1928 linker flags for PANGOFT2, overriding pkg-config
1929 PANGOXFT_CFLAGS
1930 C compiler flags for PANGOXFT, overriding pkg-config
1931 PANGOXFT_LIBS
1932 linker flags for PANGOXFT, overriding pkg-config
1933 LIBGNOMEPRINTUI_CFLAGS
1934 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1935 LIBGNOMEPRINTUI_LIBS
1936 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1937 GNOMEVFS_CFLAGS
1938 C compiler flags for GNOMEVFS, overriding pkg-config
1939 GNOMEVFS_LIBS
1940 linker flags for GNOMEVFS, overriding pkg-config
1941 HILDON_CFLAGS
1942 C compiler flags for HILDON, overriding pkg-config
1943 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1944 CAIRO_CFLAGS
1945 C compiler flags for CAIRO, overriding pkg-config
1946 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1947 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1948 GST_LIBS linker flags for GST, overriding pkg-config
1949
1950 Use these variables to override the choices made by `configure' or to help
1951 it to find libraries and programs with nonstandard names/locations.
1952
1953 Report bugs to <wx-dev@lists.wxwidgets.org>.
1954 _ACEOF
1955 ac_status=$?
1956 fi
1957
1958 if test "$ac_init_help" = "recursive"; then
1959 # If there are subdirs, report their specific --help.
1960 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1961 test -d "$ac_dir" || continue
1962 ac_builddir=.
1963
1964 case "$ac_dir" in
1965 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1966 *)
1967 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1968 # A ".." for each directory in $ac_dir_suffix.
1969 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1970 case $ac_top_builddir_sub in
1971 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1972 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1973 esac ;;
1974 esac
1975 ac_abs_top_builddir=$ac_pwd
1976 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1977 # for backward compatibility:
1978 ac_top_builddir=$ac_top_build_prefix
1979
1980 case $srcdir in
1981 .) # We are building in place.
1982 ac_srcdir=.
1983 ac_top_srcdir=$ac_top_builddir_sub
1984 ac_abs_top_srcdir=$ac_pwd ;;
1985 [\\/]* | ?:[\\/]* ) # Absolute name.
1986 ac_srcdir=$srcdir$ac_dir_suffix;
1987 ac_top_srcdir=$srcdir
1988 ac_abs_top_srcdir=$srcdir ;;
1989 *) # Relative name.
1990 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1991 ac_top_srcdir=$ac_top_build_prefix$srcdir
1992 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1993 esac
1994 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1995
1996 cd "$ac_dir" || { ac_status=$?; continue; }
1997 # Check for guested configure.
1998 if test -f "$ac_srcdir/configure.gnu"; then
1999 echo &&
2000 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2001 elif test -f "$ac_srcdir/configure"; then
2002 echo &&
2003 $SHELL "$ac_srcdir/configure" --help=recursive
2004 else
2005 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2006 fi || ac_status=$?
2007 cd "$ac_pwd" || { ac_status=$?; break; }
2008 done
2009 fi
2010
2011 test -n "$ac_init_help" && exit $ac_status
2012 if $ac_init_version; then
2013 cat <<\_ACEOF
2014 wxWidgets configure 2.9.0
2015 generated by GNU Autoconf 2.61
2016
2017 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2018 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2019 This configure script is free software; the Free Software Foundation
2020 gives unlimited permission to copy, distribute and modify it.
2021 _ACEOF
2022 exit
2023 fi
2024 cat >config.log <<_ACEOF
2025 This file contains any messages produced by compilers while
2026 running configure, to aid debugging if configure makes a mistake.
2027
2028 It was created by wxWidgets $as_me 2.9.0, which was
2029 generated by GNU Autoconf 2.61. Invocation command line was
2030
2031 $ $0 $@
2032
2033 _ACEOF
2034 exec 5>>config.log
2035 {
2036 cat <<_ASUNAME
2037 ## --------- ##
2038 ## Platform. ##
2039 ## --------- ##
2040
2041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2046
2047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2049
2050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2053 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2057
2058 _ASUNAME
2059
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2062 do
2063 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.
2065 echo "PATH: $as_dir"
2066 done
2067 IFS=$as_save_IFS
2068
2069 } >&5
2070
2071 cat >&5 <<_ACEOF
2072
2073
2074 ## ----------- ##
2075 ## Core tests. ##
2076 ## ----------- ##
2077
2078 _ACEOF
2079
2080
2081 # Keep a trace of the command line.
2082 # Strip out --no-create and --no-recursion so they do not pile up.
2083 # Strip out --silent because we don't want to record it for future runs.
2084 # Also quote any args containing shell meta-characters.
2085 # Make two passes to allow for proper duplicate-argument suppression.
2086 ac_configure_args=
2087 ac_configure_args0=
2088 ac_configure_args1=
2089 ac_must_keep_next=false
2090 for ac_pass in 1 2
2091 do
2092 for ac_arg
2093 do
2094 case $ac_arg in
2095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2097 | -silent | --silent | --silen | --sile | --sil)
2098 continue ;;
2099 *\'*)
2100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2101 esac
2102 case $ac_pass in
2103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2104 2)
2105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2106 if test $ac_must_keep_next = true; then
2107 ac_must_keep_next=false # Got value, back to normal.
2108 else
2109 case $ac_arg in
2110 *=* | --config-cache | -C | -disable-* | --disable-* \
2111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2113 | -with-* | --with-* | -without-* | --without-* | --x)
2114 case "$ac_configure_args0 " in
2115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2116 esac
2117 ;;
2118 -* ) ac_must_keep_next=true ;;
2119 esac
2120 fi
2121 ac_configure_args="$ac_configure_args '$ac_arg'"
2122 ;;
2123 esac
2124 done
2125 done
2126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2128
2129 # When interrupted or exit'd, cleanup temporary files, and complete
2130 # config.log. We remove comments because anyway the quotes in there
2131 # would cause problems or look ugly.
2132 # WARNING: Use '\'' to represent an apostrophe within the trap.
2133 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2134 trap 'exit_status=$?
2135 # Save into config.log some information that might help in debugging.
2136 {
2137 echo
2138
2139 cat <<\_ASBOX
2140 ## ---------------- ##
2141 ## Cache variables. ##
2142 ## ---------------- ##
2143 _ASBOX
2144 echo
2145 # The following way of writing the cache mishandles newlines in values,
2146 (
2147 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2148 eval ac_val=\$$ac_var
2149 case $ac_val in #(
2150 *${as_nl}*)
2151 case $ac_var in #(
2152 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2153 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2154 esac
2155 case $ac_var in #(
2156 _ | IFS | as_nl) ;; #(
2157 *) $as_unset $ac_var ;;
2158 esac ;;
2159 esac
2160 done
2161 (set) 2>&1 |
2162 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2163 *${as_nl}ac_space=\ *)
2164 sed -n \
2165 "s/'\''/'\''\\\\'\'''\''/g;
2166 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2167 ;; #(
2168 *)
2169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2170 ;;
2171 esac |
2172 sort
2173 )
2174 echo
2175
2176 cat <<\_ASBOX
2177 ## ----------------- ##
2178 ## Output variables. ##
2179 ## ----------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_vars
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191
2192 if test -n "$ac_subst_files"; then
2193 cat <<\_ASBOX
2194 ## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##
2197 _ASBOX
2198 echo
2199 for ac_var in $ac_subst_files
2200 do
2201 eval ac_val=\$$ac_var
2202 case $ac_val in
2203 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 esac
2205 echo "$ac_var='\''$ac_val'\''"
2206 done | sort
2207 echo
2208 fi
2209
2210 if test -s confdefs.h; then
2211 cat <<\_ASBOX
2212 ## ----------- ##
2213 ## confdefs.h. ##
2214 ## ----------- ##
2215 _ASBOX
2216 echo
2217 cat confdefs.h
2218 echo
2219 fi
2220 test "$ac_signal" != 0 &&
2221 echo "$as_me: caught signal $ac_signal"
2222 echo "$as_me: exit $exit_status"
2223 } >&5
2224 rm -f core *.core core.conftest.* &&
2225 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2226 exit $exit_status
2227 ' 0
2228 for ac_signal in 1 2 13 15; do
2229 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2230 done
2231 ac_signal=0
2232
2233 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2234 rm -f -r conftest* confdefs.h
2235
2236 # Predefined preprocessor variables.
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_NAME "$PACKAGE_NAME"
2240 _ACEOF
2241
2242
2243 cat >>confdefs.h <<_ACEOF
2244 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2245 _ACEOF
2246
2247
2248 cat >>confdefs.h <<_ACEOF
2249 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2250 _ACEOF
2251
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_STRING "$PACKAGE_STRING"
2255 _ACEOF
2256
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2260 _ACEOF
2261
2262
2263 # Let the site file select an alternate cache file if it wants to.
2264 # Prefer explicitly selected file to automatically selected ones.
2265 if test -n "$CONFIG_SITE"; then
2266 set x "$CONFIG_SITE"
2267 elif test "x$prefix" != xNONE; then
2268 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2269 else
2270 set x "$ac_default_prefix/share/config.site" \
2271 "$ac_default_prefix/etc/config.site"
2272 fi
2273 shift
2274 for ac_site_file
2275 do
2276 if test -r "$ac_site_file"; then
2277 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2278 echo "$as_me: loading site script $ac_site_file" >&6;}
2279 sed 's/^/| /' "$ac_site_file" >&5
2280 . "$ac_site_file"
2281 fi
2282 done
2283
2284 if test -r "$cache_file"; then
2285 # Some versions of bash will fail to source /dev/null (special
2286 # files actually), so we avoid doing that.
2287 if test -f "$cache_file"; then
2288 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2289 echo "$as_me: loading cache $cache_file" >&6;}
2290 case $cache_file in
2291 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2292 *) . "./$cache_file";;
2293 esac
2294 fi
2295 else
2296 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2297 echo "$as_me: creating cache $cache_file" >&6;}
2298 >$cache_file
2299 fi
2300
2301 # Check that the precious variables saved in the cache have kept the same
2302 # value.
2303 ac_cache_corrupted=false
2304 for ac_var in $ac_precious_vars; do
2305 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2306 eval ac_new_set=\$ac_env_${ac_var}_set
2307 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2308 eval ac_new_val=\$ac_env_${ac_var}_value
2309 case $ac_old_set,$ac_new_set in
2310 set,)
2311 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2312 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2313 ac_cache_corrupted=: ;;
2314 ,set)
2315 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2316 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2317 ac_cache_corrupted=: ;;
2318 ,);;
2319 *)
2320 if test "x$ac_old_val" != "x$ac_new_val"; then
2321 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2322 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2323 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2324 echo "$as_me: former value: $ac_old_val" >&2;}
2325 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2326 echo "$as_me: current value: $ac_new_val" >&2;}
2327 ac_cache_corrupted=:
2328 fi;;
2329 esac
2330 # Pass precious variables to config.status.
2331 if test "$ac_new_set" = set; then
2332 case $ac_new_val in
2333 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 *) ac_arg=$ac_var=$ac_new_val ;;
2335 esac
2336 case " $ac_configure_args " in
2337 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2338 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2339 esac
2340 fi
2341 done
2342 if $ac_cache_corrupted; then
2343 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2344 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2345 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2346 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2347 { (exit 1); exit 1; }; }
2348 fi
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374 ac_ext=c
2375 ac_cpp='$CPP $CPPFLAGS'
2376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2379
2380
2381
2382
2383
2384 ac_aux_dir=
2385 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2386 if test -f "$ac_dir/install-sh"; then
2387 ac_aux_dir=$ac_dir
2388 ac_install_sh="$ac_aux_dir/install-sh -c"
2389 break
2390 elif test -f "$ac_dir/install.sh"; then
2391 ac_aux_dir=$ac_dir
2392 ac_install_sh="$ac_aux_dir/install.sh -c"
2393 break
2394 elif test -f "$ac_dir/shtool"; then
2395 ac_aux_dir=$ac_dir
2396 ac_install_sh="$ac_aux_dir/shtool install -c"
2397 break
2398 fi
2399 done
2400 if test -z "$ac_aux_dir"; then
2401 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2402 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2403 { (exit 1); exit 1; }; }
2404 fi
2405
2406 # These three variables are undocumented and unsupported,
2407 # and are intended to be withdrawn in a future Autoconf release.
2408 # They can cause serious problems if a builder's source tree is in a directory
2409 # whose full name contains unusual characters.
2410 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2411 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2412 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2413
2414
2415 # Make sure we can run config.sub.
2416 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2417 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2418 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 { echo "$as_me:$LINENO: checking build system type" >&5
2422 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2423 if test "${ac_cv_build+set}" = set; then
2424 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426 ac_build_alias=$build_alias
2427 test "x$ac_build_alias" = x &&
2428 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2429 test "x$ac_build_alias" = x &&
2430 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2431 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2432 { (exit 1); exit 1; }; }
2433 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2434 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2435 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2436 { (exit 1); exit 1; }; }
2437
2438 fi
2439 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2440 echo "${ECHO_T}$ac_cv_build" >&6; }
2441 case $ac_cv_build in
2442 *-*-*) ;;
2443 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2444 echo "$as_me: error: invalid value of canonical build" >&2;}
2445 { (exit 1); exit 1; }; };;
2446 esac
2447 build=$ac_cv_build
2448 ac_save_IFS=$IFS; IFS='-'
2449 set x $ac_cv_build
2450 shift
2451 build_cpu=$1
2452 build_vendor=$2
2453 shift; shift
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2456 build_os=$*
2457 IFS=$ac_save_IFS
2458 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2459
2460
2461 { echo "$as_me:$LINENO: checking host system type" >&5
2462 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_host+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 else
2466 if test "x$host_alias" = x; then
2467 ac_cv_host=$ac_cv_build
2468 else
2469 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2470 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2471 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2472 { (exit 1); exit 1; }; }
2473 fi
2474
2475 fi
2476 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2477 echo "${ECHO_T}$ac_cv_host" >&6; }
2478 case $ac_cv_host in
2479 *-*-*) ;;
2480 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2481 echo "$as_me: error: invalid value of canonical host" >&2;}
2482 { (exit 1); exit 1; }; };;
2483 esac
2484 host=$ac_cv_host
2485 ac_save_IFS=$IFS; IFS='-'
2486 set x $ac_cv_host
2487 shift
2488 host_cpu=$1
2489 host_vendor=$2
2490 shift; shift
2491 # Remember, the first character of IFS is used to create $*,
2492 # except with old shells:
2493 host_os=$*
2494 IFS=$ac_save_IFS
2495 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2496
2497
2498 { echo "$as_me:$LINENO: checking target system type" >&5
2499 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2500 if test "${ac_cv_target+set}" = set; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 else
2503 if test "x$target_alias" = x; then
2504 ac_cv_target=$ac_cv_host
2505 else
2506 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2507 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2508 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2509 { (exit 1); exit 1; }; }
2510 fi
2511
2512 fi
2513 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2514 echo "${ECHO_T}$ac_cv_target" >&6; }
2515 case $ac_cv_target in
2516 *-*-*) ;;
2517 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2518 echo "$as_me: error: invalid value of canonical target" >&2;}
2519 { (exit 1); exit 1; }; };;
2520 esac
2521 target=$ac_cv_target
2522 ac_save_IFS=$IFS; IFS='-'
2523 set x $ac_cv_target
2524 shift
2525 target_cpu=$1
2526 target_vendor=$2
2527 shift; shift
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2530 target_os=$*
2531 IFS=$ac_save_IFS
2532 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2533
2534
2535 # The aliases save the names the user supplied, while $host etc.
2536 # will get canonicalized.
2537 test -n "$target_alias" &&
2538 test "$program_prefix$program_suffix$program_transform_name" = \
2539 NONENONEs,x,x, &&
2540 program_prefix=${target_alias}-
2541
2542
2543
2544 wx_major_version_number=2
2545 wx_minor_version_number=9
2546 wx_release_number=0
2547 wx_subrelease_number=0
2548
2549 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2550 WX_VERSION=$WX_RELEASE.$wx_release_number
2551 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2552
2553 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2554
2555
2556 wx_top_builddir="`pwd`"
2557
2558
2559
2560
2561 USE_UNIX=1
2562 USE_OS2=0
2563 USE_WIN32=0
2564 USE_DOS=0
2565 USE_BEOS=0
2566 USE_MAC=0
2567
2568 USE_AIX=
2569 USE_BSD= USE_DARWIN= USE_FREEBSD=
2570 USE_GNU= USE_HPUX=
2571 USE_LINUX=
2572 USE_NETBSD=
2573 USE_OPENBSD=
2574 USE_OSF= USE_SGI=
2575 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2576 USE_ULTRIX=
2577 USE_UNIXWARE=
2578
2579 USE_ALPHA=
2580
2581 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2582
2583 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2584
2585 DEFAULT_wxUSE_COCOA=0
2586 DEFAULT_wxUSE_GTK=0
2587 DEFAULT_wxUSE_MAC=0
2588 DEFAULT_wxUSE_MGL=0
2589 DEFAULT_wxUSE_MICROWIN=0
2590 DEFAULT_wxUSE_MOTIF=0
2591 DEFAULT_wxUSE_MSW=0
2592 DEFAULT_wxUSE_PM=0
2593 DEFAULT_wxUSE_X11=0
2594 DEFAULT_wxUSE_DFB=0
2595
2596 DEFAULT_DEFAULT_wxUSE_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_GTK=0
2598 DEFAULT_DEFAULT_wxUSE_MAC=0
2599 DEFAULT_DEFAULT_wxUSE_MGL=0
2600 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2602 DEFAULT_DEFAULT_wxUSE_MSW=0
2603 DEFAULT_DEFAULT_wxUSE_PM=0
2604 DEFAULT_DEFAULT_wxUSE_X11=0
2605 DEFAULT_DEFAULT_wxUSE_DFB=0
2606
2607 PROGRAM_EXT=
2608 SO_SUFFIX=so
2609 SAMPLES_RPATH_FLAG=
2610 SAMPLES_RPATH_POSTLINK=
2611
2612 DEFAULT_STD_FLAG=yes
2613
2614 case "${host}" in
2615 *-hp-hpux* )
2616 USE_HPUX=1
2617 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2618 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2619 SO_SUFFIX=sl
2620 cat >>confdefs.h <<\_ACEOF
2621 #define __HPUX__ 1
2622 _ACEOF
2623
2624
2625 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2626 ;;
2627 *-*-linux* )
2628 USE_LINUX=1
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __LINUX__ 1
2631 _ACEOF
2632
2633 TMP=`uname -m`
2634 if test "x$TMP" = "xalpha"; then
2635 USE_ALPHA=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __ALPHA__ 1
2638 _ACEOF
2639
2640 fi
2641 DEFAULT_DEFAULT_wxUSE_GTK=1
2642 ;;
2643 *-*-gnu* | *-*-k*bsd*-gnu )
2644 USE_GNU=1
2645 TMP=`uname -m`
2646 if test "x$TMP" = "xalpha"; then
2647 USE_ALPHA=1
2648 cat >>confdefs.h <<\_ACEOF
2649 #define __ALPHA__ 1
2650 _ACEOF
2651
2652 fi
2653 DEFAULT_DEFAULT_wxUSE_GTK=1
2654 ;;
2655 *-*-irix5* | *-*-irix6* )
2656 USE_SGI=1
2657 USE_SVR4=1
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SGI__ 1
2660 _ACEOF
2661
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __SVR4__ 1
2664 _ACEOF
2665
2666 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2667 ;;
2668 *-*-solaris2* )
2669 USE_SUN=1
2670 USE_SOLARIS=1
2671 USE_SVR4=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SUN__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SOLARIS__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __SVR4__ 1
2682 _ACEOF
2683
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2685 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2686 ;;
2687 *-*-sunos4* )
2688 USE_SUN=1
2689 USE_SUNOS=1
2690 USE_BSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUN__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SUNOS__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __BSD__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2704 ;;
2705 *-*-freebsd*)
2706 USE_BSD=1
2707 USE_FREEBSD=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __FREEBSD__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 ;;
2718 *-*-openbsd*|*-*-mirbsd*)
2719 USE_BSD=1
2720 USE_OPENBSD=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __OPENBSD__ 1
2723 _ACEOF
2724
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __BSD__ 1
2727 _ACEOF
2728
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 ;;
2731 *-*-netbsd*)
2732 USE_BSD=1
2733 USE_NETBSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __NETBSD__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744
2745 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2746 ;;
2747 *-*-osf* )
2748 USE_ALPHA=1
2749 USE_OSF=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __OSF__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2759 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2760 ;;
2761 *-*-dgux5* )
2762 USE_ALPHA=1
2763 USE_SVR4=1
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __ALPHA__ 1
2766 _ACEOF
2767
2768 cat >>confdefs.h <<\_ACEOF
2769 #define __SVR4__ 1
2770 _ACEOF
2771
2772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2773 ;;
2774 *-*-sysv5* )
2775 USE_SYSV=1
2776 USE_SVR4=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SYSV__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787 *-*-aix* )
2788 USE_AIX=1
2789 USE_SYSV=1
2790 USE_SVR4=1
2791 SO_SUFFIX=a
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __AIX__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __SYSV__ 1
2798 _ACEOF
2799
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __SVR4__ 1
2802 _ACEOF
2803
2804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2805 ;;
2806
2807 *-*-*UnixWare*)
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 USE_UNIXWARE=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __UNIXWARE__ 1
2813 _ACEOF
2814
2815 ;;
2816
2817 *-*-cygwin* | *-*-mingw32* )
2818 SO_SUFFIX=dll
2819 PROGRAM_EXT=".exe"
2820 DEFAULT_DEFAULT_wxUSE_MSW=1
2821 ;;
2822
2823 *-pc-msdosdjgpp )
2824 USE_UNIX=0
2825 USE_DOS=1
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __DOS__ 1
2828 _ACEOF
2829
2830 PROGRAM_EXT=".exe"
2831 DEFAULT_DEFAULT_wxUSE_MGL=1
2832 ;;
2833
2834 *-pc-os2_emx | *-pc-os2-emx )
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __EMX__ 1
2837 _ACEOF
2838
2839 USE_OS2=1
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __OS2__ 1
2842 _ACEOF
2843
2844 PROGRAM_EXT=".exe"
2845 DEFAULT_DEFAULT_wxUSE_PM=1
2846 CXX=gcc
2847 LDFLAGS="$LDFLAGS -Zcrtdll"
2848 ac_executable_extensions=".exe"
2849 export ac_executable_extensions
2850 ac_save_IFS="$IFS"
2851 IFS='\\'
2852 ac_TEMP_PATH=
2853 for ac_dir in $PATH; do
2854 IFS=$ac_save_IFS
2855 if test -z "$ac_TEMP_PATH"; then
2856 ac_TEMP_PATH="$ac_dir"
2857 else
2858 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2859 fi
2860 done
2861 export PATH="$ac_TEMP_PATH"
2862 unset ac_TEMP_PATH
2863 DEFAULT_STD_FLAG=no
2864 ;;
2865
2866 *-*-darwin* )
2867 USE_BSD=1
2868 USE_DARWIN=1
2869 SO_SUFFIX=dylib
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __BSD__ 1
2872 _ACEOF
2873
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __DARWIN__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define TARGET_CARBON 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_MAC=1
2883 DEFAULT_STD_FLAG=no
2884 ;;
2885 powerpc-apple-macos* )
2886 USE_UNIX=0
2887 ac_cv_c_bigendian=yes
2888 SO_SUFFIX=shlib
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 DEFAULT_STD_FLAG=no
2891 ;;
2892
2893 *-*-beos* )
2894 USE_BEOS=1
2895 cat >>confdefs.h <<\_ACEOF
2896 #define __BEOS__ 1
2897 _ACEOF
2898
2899 ;;
2900
2901 *)
2902 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2903 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2904 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2905 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2906
2907 DEFAULT_DEFAULT_wxUSE_X11=1
2908 DEFAULT_wxUSE_SHARED=no
2909 esac
2910
2911
2912
2913
2914 wx_arg_cache_file="configarg.cache"
2915 echo "loading argument cache $wx_arg_cache_file"
2916 rm -f ${wx_arg_cache_file}.tmp
2917 touch ${wx_arg_cache_file}.tmp
2918 touch ${wx_arg_cache_file}
2919
2920
2921 DEFAULT_wxUSE_ALL_FEATURES=yes
2922
2923 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2924 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2925
2926 DEFAULT_wxUSE_DMALLOC=no
2927 DEFAULT_wxUSE_LIBGNOMEVFS=no
2928 DEFAULT_wxUSE_LIBHILDON=no
2929 DEFAULT_wxUSE_LIBMSPACK=no
2930 DEFAULT_wxUSE_LIBSDL=no
2931 DEFAULT_wxUSE_ODBC=no
2932 DEFAULT_wxUSE_OPENGL=no
2933
2934 DEFAULT_wxUSE_ACCESSIBILITY=no
2935 DEFAULT_wxUSE_DATAVIEWCTRL=no
2936 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2937 DEFAULT_wxUSE_MEDIACTRL=no
2938 DEFAULT_wxUSE_TAB_DIALOG=no
2939
2940 DEFAULT_wxUSE_UNICODE_UTF8=auto
2941 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2942
2943 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2944
2945 DEFAULT_wxUSE_GTK2=yes
2946
2947 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2948
2949
2950 for toolkit in `echo $ALL_TOOLKITS`; do
2951 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2952 if test "x$LINE" != "x" ; then
2953 has_toolkit_in_cache=1
2954 eval "DEFAULT_$LINE"
2955 eval "CACHE_$toolkit=1"
2956
2957 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2958 if test "x$LINE" != "x" ; then
2959 eval "DEFAULT_$LINE"
2960 fi
2961 fi
2962 done
2963
2964
2965
2966
2967
2968 enablestring=disable
2969 defaultval=
2970 if test -z "$defaultval"; then
2971 if test x"$enablestring" = xdisable; then
2972 defaultval=yes
2973 else
2974 defaultval=no
2975 fi
2976 fi
2977
2978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2979 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2980 # Check whether --enable-gui was given.
2981 if test "${enable_gui+set}" = set; then
2982 enableval=$enable_gui;
2983 if test "$enableval" = yes; then
2984 wx_cv_use_gui='wxUSE_GUI=yes'
2985 else
2986 wx_cv_use_gui='wxUSE_GUI=no'
2987 fi
2988 cache=yes
2989
2990 else
2991
2992 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x ; then
2994 eval "DEFAULT_$LINE"
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 "x$cache" = xyes; then
3004 echo "wxUSE_GUI=$wxUSE_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 # Check whether --enable-monolithic was given.
3034 if test "${enable_monolithic+set}" = set; then
3035 enableval=$enable_monolithic;
3036 if test "$enableval" = yes; then
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3038 else
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3040 fi
3041 cache=yes
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 fi
3049
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_monolithic"
3056 if test "x$cache" = xyes; then
3057 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
3058 fi
3059
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3062 result=no
3063 else
3064 result=yes
3065 fi
3066 else
3067 result=$wxUSE_MONOLITHIC
3068 fi
3069
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3072
3073
3074 enablestring=
3075 defaultval=
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3078 defaultval=yes
3079 else
3080 defaultval=no
3081 fi
3082 fi
3083
3084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 else
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3093 fi
3094 cache=yes
3095
3096 else
3097
3098 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x ; then
3100 eval "DEFAULT_$LINE"
3101 fi
3102
3103 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3104
3105 fi
3106
3107
3108 eval "$wx_cv_use_plugins"
3109 if test "x$cache" = xyes; then
3110 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
3111 fi
3112
3113 if test x"$enablestring" = xdisable; then
3114 if test $wxUSE_PLUGINS = yes; then
3115 result=no
3116 else
3117 result=yes
3118 fi
3119 else
3120 result=$wxUSE_PLUGINS
3121 fi
3122
3123 { echo "$as_me:$LINENO: result: $result" >&5
3124 echo "${ECHO_T}$result" >&6; }
3125
3126
3127 withstring=without
3128 defaultval=$wxUSE_ALL_FEATURES
3129 if test -z "$defaultval"; then
3130 if test x"$withstring" = xwithout; then
3131 defaultval=yes
3132 else
3133 defaultval=no
3134 fi
3135 fi
3136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3137 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3138
3139 # Check whether --with-subdirs was given.
3140 if test "${with_subdirs+set}" = set; then
3141 withval=$with_subdirs;
3142 if test "$withval" = yes; then
3143 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3144 else
3145 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3146 fi
3147 cache=yes
3148
3149 else
3150
3151 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 fi
3155
3156 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3157
3158 fi
3159
3160
3161 eval "$wx_cv_use_subdirs"
3162 if test "x$cache" != xyes; then
3163 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
3164 fi
3165
3166 if test x"$withstring" = xwithout; then
3167 if test $wxWITH_SUBDIRS = yes; then
3168 result=no
3169 else
3170 result=yes
3171 fi
3172 else
3173 result=$wxWITH_SUBDIRS
3174 fi
3175
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3178
3179
3180 # Check whether --with-flavour was given.
3181 if test "${with_flavour+set}" = set; then
3182 withval=$with_flavour; WX_FLAVOUR="$withval"
3183 fi
3184
3185
3186 enablestring=
3187 defaultval=
3188 if test -z "$defaultval"; then
3189 if test x"$enablestring" = xdisable; then
3190 defaultval=yes
3191 else
3192 defaultval=no
3193 fi
3194 fi
3195
3196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3197 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3198 # Check whether --enable-official_build was given.
3199 if test "${enable_official_build+set}" = set; then
3200 enableval=$enable_official_build;
3201 if test "$enableval" = yes; then
3202 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3203 else
3204 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3205 fi
3206 cache=yes
3207
3208 else
3209
3210 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 fi
3214
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3216
3217 fi
3218
3219
3220 eval "$wx_cv_use_official_build"
3221 if test "x$cache" = xyes; then
3222 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
3223 fi
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = yes; then
3227 result=no
3228 else
3229 result=yes
3230 fi
3231 else
3232 result=$wxUSE_OFFICIAL_BUILD
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3241 fi
3242
3243 if test "x$VENDOR" = "x"; then
3244 VENDOR="custom"
3245 fi
3246
3247
3248 enablestring=disable
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3265 else
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3267 fi
3268 cache=yes
3269
3270 else
3271
3272 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3275 fi
3276
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3278
3279 fi
3280
3281
3282 eval "$wx_cv_use_all_features"
3283 if test "x$cache" = xyes; then
3284 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
3285 fi
3286
3287 if test x"$enablestring" = xdisable; then
3288 if test $wxUSE_ALL_FEATURES = yes; then
3289 result=no
3290 else
3291 result=yes
3292 fi
3293 else
3294 result=$wxUSE_ALL_FEATURES
3295 fi
3296
3297 { echo "$as_me:$LINENO: result: $result" >&5
3298 echo "${ECHO_T}$result" >&6; }
3299
3300
3301
3302 if test "$wxUSE_GUI" = "yes"; then
3303
3304
3305 enablestring=
3306 defaultval=
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3309 defaultval=yes
3310 else
3311 defaultval=no
3312 fi
3313 fi
3314
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3322 else
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3324 fi
3325 cache=yes
3326
3327 else
3328
3329 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x ; then
3331 eval "DEFAULT_$LINE"
3332 fi
3333
3334 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3335
3336 fi
3337
3338
3339 eval "$wx_cv_use_universal"
3340 if test "x$cache" = xyes; then
3341 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
3342 fi
3343
3344 if test x"$enablestring" = xdisable; then
3345 if test $wxUSE_UNIVERSAL = yes; then
3346 result=no
3347 else
3348 result=yes
3349 fi
3350 else
3351 result=$wxUSE_UNIVERSAL
3352 fi
3353
3354 { echo "$as_me:$LINENO: result: $result" >&5
3355 echo "${ECHO_T}$result" >&6; }
3356
3357 if test "$wxUSE_UNIVERSAL" = "yes"; then
3358
3359 # Check whether --with-themes was given.
3360 if test "${with_themes+set}" = set; then
3361 withval=$with_themes; wxUNIV_THEMES="$withval"
3362 fi
3363
3364 fi
3365
3366
3367 # Check whether --with-gtk was given.
3368 if test "${with_gtk+set}" = set; then
3369 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-motif was given.
3374 if test "${with_motif+set}" = set; then
3375 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-mac was given.
3380 if test "${with_mac+set}" = set; then
3381 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-cocoa was given.
3386 if test "${with_cocoa+set}" = set; then
3387 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-wine was given.
3392 if test "${with_wine+set}" = set; then
3393 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3394 fi
3395
3396
3397 # Check whether --with-msw was given.
3398 if test "${with_msw+set}" = set; then
3399 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-pm was given.
3404 if test "${with_pm+set}" = set; then
3405 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-mgl was given.
3410 if test "${with_mgl+set}" = set; then
3411 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3412 fi
3413
3414
3415 # Check whether --with-directfb was given.
3416 if test "${with_directfb+set}" = set; then
3417 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3418 fi
3419
3420
3421 # Check whether --with-microwin was given.
3422 if test "${with_microwin+set}" = set; then
3423 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-x11 was given.
3428 if test "${with_x11+set}" = set; then
3429 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 enablestring=
3434 defaultval=
3435 if test -z "$defaultval"; then
3436 if test x"$enablestring" = xdisable; then
3437 defaultval=yes
3438 else
3439 defaultval=no
3440 fi
3441 fi
3442
3443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3444 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3445 # Check whether --enable-nanox was given.
3446 if test "${enable_nanox+set}" = set; then
3447 enableval=$enable_nanox;
3448 if test "$enableval" = yes; then
3449 wx_cv_use_nanox='wxUSE_NANOX=yes'
3450 else
3451 wx_cv_use_nanox='wxUSE_NANOX=no'
3452 fi
3453 cache=yes
3454
3455 else
3456
3457 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3458 if test "x$LINE" != x ; then
3459 eval "DEFAULT_$LINE"
3460 fi
3461
3462 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3463
3464 fi
3465
3466
3467 eval "$wx_cv_use_nanox"
3468 if test "x$cache" = xyes; then
3469 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test x"$enablestring" = xdisable; then
3473 if test $wxUSE_NANOX = yes; then
3474 result=no
3475 else
3476 result=yes
3477 fi
3478 else
3479 result=$wxUSE_NANOX
3480 fi
3481
3482 { echo "$as_me:$LINENO: result: $result" >&5
3483 echo "${ECHO_T}$result" >&6; }
3484
3485
3486 # Check whether --enable-gtk2 was given.
3487 if test "${enable_gtk2+set}" = set; then
3488 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3489 fi
3490
3491
3492 enablestring=
3493 defaultval=
3494 if test -z "$defaultval"; then
3495 if test x"$enablestring" = xdisable; then
3496 defaultval=yes
3497 else
3498 defaultval=no
3499 fi
3500 fi
3501
3502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3503 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3504 # Check whether --enable-gpe was given.
3505 if test "${enable_gpe+set}" = set; then
3506 enableval=$enable_gpe;
3507 if test "$enableval" = yes; then
3508 wx_cv_use_gpe='wxUSE_GPE=yes'
3509 else
3510 wx_cv_use_gpe='wxUSE_GPE=no'
3511 fi
3512 cache=yes
3513
3514 else
3515
3516 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 fi
3520
3521 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3522
3523 fi
3524
3525
3526 eval "$wx_cv_use_gpe"
3527 if test "x$cache" = xyes; then
3528 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
3529 fi
3530
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_GPE = yes; then
3533 result=no
3534 else
3535 result=yes
3536 fi
3537 else
3538 result=$wxUSE_GPE
3539 fi
3540
3541 { echo "$as_me:$LINENO: result: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3543
3544
3545
3546
3547 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3548 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3549
3550 # Check whether --with-libpng was given.
3551 if test "${with_libpng+set}" = set; then
3552 withval=$with_libpng;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3555 elif test "$withval" = no; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3557 elif test "$withval" = sys; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3561 else
3562 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3563 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3565 fi
3566 cache=yes
3567
3568 else
3569
3570 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 fi
3574
3575 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3576
3577 fi
3578
3579
3580 eval "$wx_cv_use_libpng"
3581 if test "x$cache" = xyes; then
3582 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
3583 fi
3584
3585 if test "$wxUSE_LIBPNG" = yes; then
3586 { echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6; }
3588 elif test "$wxUSE_LIBPNG" = no; then
3589 { echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6; }
3591 elif test "$wxUSE_LIBPNG" = sys; then
3592 { echo "$as_me:$LINENO: result: system version" >&5
3593 echo "${ECHO_T}system version" >&6; }
3594 elif test "$wxUSE_LIBPNG" = builtin; then
3595 { echo "$as_me:$LINENO: result: builtin version" >&5
3596 echo "${ECHO_T}builtin version" >&6; }
3597 else
3598 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3599 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3600 { (exit 1); exit 1; }; }
3601 fi
3602
3603
3604 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3605 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3606
3607 # Check whether --with-libjpeg was given.
3608 if test "${with_libjpeg+set}" = set; then
3609 withval=$with_libjpeg;
3610 if test "$withval" = yes; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3612 elif test "$withval" = no; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3614 elif test "$withval" = sys; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3616 elif test "$withval" = builtin; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3618 else
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3622 fi
3623 cache=yes
3624
3625 else
3626
3627 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3628 if test "x$LINE" != x ; then
3629 eval "DEFAULT_$LINE"
3630 fi
3631
3632 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3633
3634 fi
3635
3636
3637 eval "$wx_cv_use_libjpeg"
3638 if test "x$cache" = xyes; then
3639 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_LIBJPEG" = yes; then
3643 { echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6; }
3645 elif test "$wxUSE_LIBJPEG" = no; then
3646 { echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6; }
3648 elif test "$wxUSE_LIBJPEG" = sys; then
3649 { echo "$as_me:$LINENO: result: system version" >&5
3650 echo "${ECHO_T}system version" >&6; }
3651 elif test "$wxUSE_LIBJPEG" = builtin; then
3652 { echo "$as_me:$LINENO: result: builtin version" >&5
3653 echo "${ECHO_T}builtin version" >&6; }
3654 else
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3658 fi
3659
3660
3661 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3662 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3663
3664 # Check whether --with-libtiff was given.
3665 if test "${with_libtiff+set}" = set; then
3666 withval=$with_libtiff;
3667 if test "$withval" = yes; then
3668 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3669 elif test "$withval" = no; then
3670 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3671 elif test "$withval" = sys; then
3672 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3673 elif test "$withval" = builtin; then
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3675 else
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3679 fi
3680 cache=yes
3681
3682 else
3683
3684 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x ; then
3686 eval "DEFAULT_$LINE"
3687 fi
3688
3689 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3690
3691 fi
3692
3693
3694 eval "$wx_cv_use_libtiff"
3695 if test "x$cache" = xyes; then
3696 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3697 fi
3698
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3711 else
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3715 fi
3716
3717
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3720
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no; then
3727 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys; then
3729 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737 cache=yes
3738
3739 else
3740
3741 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 fi
3745
3746 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3747
3748 fi
3749
3750
3751 eval "$wx_cv_use_libxpm"
3752 if test "x$cache" = xyes; then
3753 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3754 fi
3755
3756 if test "$wxUSE_LIBXPM" = yes; then
3757 { echo "$as_me:$LINENO: result: yes" >&5
3758 echo "${ECHO_T}yes" >&6; }
3759 elif test "$wxUSE_LIBXPM" = no; then
3760 { echo "$as_me:$LINENO: result: no" >&5
3761 echo "${ECHO_T}no" >&6; }
3762 elif test "$wxUSE_LIBXPM" = sys; then
3763 { echo "$as_me:$LINENO: result: system version" >&5
3764 echo "${ECHO_T}system version" >&6; }
3765 elif test "$wxUSE_LIBXPM" = builtin; then
3766 { echo "$as_me:$LINENO: result: builtin version" >&5
3767 echo "${ECHO_T}builtin version" >&6; }
3768 else
3769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3770 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3771 { (exit 1); exit 1; }; }
3772 fi
3773
3774
3775 withstring=
3776 defaultval=$wxUSE_ALL_FEATURES
3777 if test -z "$defaultval"; then
3778 if test x"$withstring" = xwithout; then
3779 defaultval=yes
3780 else
3781 defaultval=no
3782 fi
3783 fi
3784 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3785 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3786
3787 # Check whether --with-libmspack was given.
3788 if test "${with_libmspack+set}" = set; then
3789 withval=$with_libmspack;
3790 if test "$withval" = yes; then
3791 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3792 else
3793 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3794 fi
3795 cache=yes
3796
3797 else
3798
3799 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x ; then
3801 eval "DEFAULT_$LINE"
3802 fi
3803
3804 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3805
3806 fi
3807
3808
3809 eval "$wx_cv_use_libmspack"
3810 if test "x$cache" != xyes; then
3811 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test x"$withstring" = xwithout; then
3815 if test $wxUSE_LIBMSPACK = yes; then
3816 result=no
3817 else
3818 result=yes
3819 fi
3820 else
3821 result=$wxUSE_LIBMSPACK
3822 fi
3823
3824 { echo "$as_me:$LINENO: result: $result" >&5
3825 echo "${ECHO_T}$result" >&6; }
3826
3827
3828 withstring=without
3829 defaultval=$wxUSE_ALL_FEATURES
3830 if test -z "$defaultval"; then
3831 if test x"$withstring" = xwithout; then
3832 defaultval=yes
3833 else
3834 defaultval=no
3835 fi
3836 fi
3837 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3838 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3839
3840 # Check whether --with-gnomeprint was given.
3841 if test "${with_gnomeprint+set}" = set; then
3842 withval=$with_gnomeprint;
3843 if test "$withval" = yes; then
3844 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3845 else
3846 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3847 fi
3848 cache=yes
3849
3850 else
3851
3852 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 fi
3856
3857 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3858
3859 fi
3860
3861
3862 eval "$wx_cv_use_gnomeprint"
3863 if test "x$cache" != xyes; then
3864 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3865 fi
3866
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_LIBGNOMEPRINT = yes; then
3869 result=no
3870 else
3871 result=yes
3872 fi
3873 else
3874 result=$wxUSE_LIBGNOMEPRINT
3875 fi
3876
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3879
3880
3881 withstring=
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3885 defaultval=yes
3886 else
3887 defaultval=no
3888 fi
3889 fi
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3892
3893 # Check whether --with-gnomevfs was given.
3894 if test "${with_gnomevfs+set}" = set; then
3895 withval=$with_gnomevfs;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3898 else
3899 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3900 fi
3901 cache=yes
3902
3903 else
3904
3905 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3908 fi
3909
3910 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3911
3912 fi
3913
3914
3915 eval "$wx_cv_use_gnomevfs"
3916 if test "x$cache" != xyes; then
3917 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3918 fi
3919
3920 if test x"$withstring" = xwithout; then
3921 if test $wxUSE_LIBGNOMEVFS = yes; then
3922 result=no
3923 else
3924 result=yes
3925 fi
3926 else
3927 result=$wxUSE_LIBGNOMEVFS
3928 fi
3929
3930 { echo "$as_me:$LINENO: result: $result" >&5
3931 echo "${ECHO_T}$result" >&6; }
3932
3933
3934 withstring=
3935 defaultval=$wxUSE_ALL_FEATURES
3936 if test -z "$defaultval"; then
3937 if test x"$withstring" = xwithout; then
3938 defaultval=yes
3939 else
3940 defaultval=no
3941 fi
3942 fi
3943 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3944 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3945
3946 # Check whether --with-hildon was given.
3947 if test "${with_hildon+set}" = set; then
3948 withval=$with_hildon;
3949 if test "$withval" = yes; then
3950 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3951 else
3952 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3953 fi
3954 cache=yes
3955
3956 else
3957
3958 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x ; then
3960 eval "DEFAULT_$LINE"
3961 fi
3962
3963 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3964
3965 fi
3966
3967
3968 eval "$wx_cv_use_hildon"
3969 if test "x$cache" != xyes; then
3970 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3971 fi
3972
3973 if test x"$withstring" = xwithout; then
3974 if test $wxUSE_LIBHILDON = yes; then
3975 result=no
3976 else
3977 result=yes
3978 fi
3979 else
3980 result=$wxUSE_LIBHILDON
3981 fi
3982
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3985
3986
3987 withstring=
3988 defaultval=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x"$withstring" = xwithout; then
3991 defaultval=yes
3992 else
3993 defaultval=no
3994 fi
3995 fi
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3998
3999 # Check whether --with-opengl was given.
4000 if test "${with_opengl+set}" = set; then
4001 withval=$with_opengl;
4002 if test "$withval" = yes; then
4003 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4004 else
4005 wx_cv_use_opengl='wxUSE_OPENGL=no'
4006 fi
4007 cache=yes
4008
4009 else
4010
4011 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x ; then
4013 eval "DEFAULT_$LINE"
4014 fi
4015
4016 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4017
4018 fi
4019
4020
4021 eval "$wx_cv_use_opengl"
4022 if test "x$cache" != xyes; then
4023 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
4024 fi
4025
4026 if test x"$withstring" = xwithout; then
4027 if test $wxUSE_OPENGL = yes; then
4028 result=no
4029 else
4030 result=yes
4031 fi
4032 else
4033 result=$wxUSE_OPENGL
4034 fi
4035
4036 { echo "$as_me:$LINENO: result: $result" >&5
4037 echo "${ECHO_T}$result" >&6; }
4038
4039
4040 fi
4041
4042
4043 withstring=
4044 defaultval=$wxUSE_ALL_FEATURES
4045 if test -z "$defaultval"; then
4046 if test x"$withstring" = xwithout; then
4047 defaultval=yes
4048 else
4049 defaultval=no
4050 fi
4051 fi
4052 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4053 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4054
4055 # Check whether --with-dmalloc was given.
4056 if test "${with_dmalloc+set}" = set; then
4057 withval=$with_dmalloc;
4058 if test "$withval" = yes; then
4059 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4060 else
4061 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4062 fi
4063 cache=yes
4064
4065 else
4066
4067 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4070 fi
4071
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4073
4074 fi
4075
4076
4077 eval "$wx_cv_use_dmalloc"
4078 if test "x$cache" != xyes; then
4079 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
4080 fi
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_DMALLOC = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_DMALLOC
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 withstring=
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4100 defaultval=yes
4101 else
4102 defaultval=no
4103 fi
4104 fi
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4110 withval=$with_sdl;
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 else
4114 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4115 fi
4116 cache=yes
4117
4118 else
4119
4120 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 fi
4124
4125 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4126
4127 fi
4128
4129
4130 eval "$wx_cv_use_sdl"
4131 if test "x$cache" != xyes; then
4132 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
4133 fi
4134
4135 if test x"$withstring" = xwithout; then
4136 if test $wxUSE_LIBSDL = yes; then
4137 result=no
4138 else
4139 result=yes
4140 fi
4141 else
4142 result=$wxUSE_LIBSDL
4143 fi
4144
4145 { echo "$as_me:$LINENO: result: $result" >&5
4146 echo "${ECHO_T}$result" >&6; }
4147
4148
4149 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4150 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151
4152 # Check whether --with-regex was given.
4153 if test "${with_regex+set}" = set; then
4154 withval=$with_regex;
4155 if test "$withval" = yes; then
4156 wx_cv_use_regex='wxUSE_REGEX=yes'
4157 elif test "$withval" = no; then
4158 wx_cv_use_regex='wxUSE_REGEX=no'
4159 elif test "$withval" = sys; then
4160 wx_cv_use_regex='wxUSE_REGEX=sys'
4161 elif test "$withval" = builtin; then
4162 wx_cv_use_regex='wxUSE_REGEX=builtin'
4163 else
4164 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4165 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4166 { (exit 1); exit 1; }; }
4167 fi
4168 cache=yes
4169
4170 else
4171
4172 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x ; then
4174 eval "DEFAULT_$LINE"
4175 fi
4176
4177 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4178
4179 fi
4180
4181
4182 eval "$wx_cv_use_regex"
4183 if test "x$cache" = xyes; then
4184 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
4185 fi
4186
4187 if test "$wxUSE_REGEX" = yes; then
4188 { echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6; }
4190 elif test "$wxUSE_REGEX" = no; then
4191 { echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6; }
4193 elif test "$wxUSE_REGEX" = sys; then
4194 { echo "$as_me:$LINENO: result: system version" >&5
4195 echo "${ECHO_T}system version" >&6; }
4196 elif test "$wxUSE_REGEX" = builtin; then
4197 { echo "$as_me:$LINENO: result: builtin version" >&5
4198 echo "${ECHO_T}builtin version" >&6; }
4199 else
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4203 fi
4204
4205
4206 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4207 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4208
4209 # Check whether --with-zlib was given.
4210 if test "${with_zlib+set}" = set; then
4211 withval=$with_zlib;
4212 if test "$withval" = yes; then
4213 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4214 elif test "$withval" = no; then
4215 wx_cv_use_zlib='wxUSE_ZLIB=no'
4216 elif test "$withval" = sys; then
4217 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4218 elif test "$withval" = builtin; then
4219 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4220 else
4221 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4222 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4223 { (exit 1); exit 1; }; }
4224 fi
4225 cache=yes
4226
4227 else
4228
4229 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x ; then
4231 eval "DEFAULT_$LINE"
4232 fi
4233
4234 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4235
4236 fi
4237
4238
4239 eval "$wx_cv_use_zlib"
4240 if test "x$cache" = xyes; then
4241 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
4242 fi
4243
4244 if test "$wxUSE_ZLIB" = yes; then
4245 { echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6; }
4247 elif test "$wxUSE_ZLIB" = no; then
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4250 elif test "$wxUSE_ZLIB" = sys; then
4251 { echo "$as_me:$LINENO: result: system version" >&5
4252 echo "${ECHO_T}system version" >&6; }
4253 elif test "$wxUSE_ZLIB" = builtin; then
4254 { echo "$as_me:$LINENO: result: builtin version" >&5
4255 echo "${ECHO_T}builtin version" >&6; }
4256 else
4257 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4258 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4259 { (exit 1); exit 1; }; }
4260 fi
4261
4262
4263 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4264 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4265
4266 # Check whether --with-odbc was given.
4267 if test "${with_odbc+set}" = set; then
4268 withval=$with_odbc;
4269 if test "$withval" = yes; then
4270 wx_cv_use_odbc='wxUSE_ODBC=yes'
4271 elif test "$withval" = no; then
4272 wx_cv_use_odbc='wxUSE_ODBC=no'
4273 elif test "$withval" = sys; then
4274 wx_cv_use_odbc='wxUSE_ODBC=sys'
4275 elif test "$withval" = builtin; then
4276 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282 cache=yes
4283
4284 else
4285
4286 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x ; then
4288 eval "DEFAULT_$LINE"
4289 fi
4290
4291 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4292
4293 fi
4294
4295
4296 eval "$wx_cv_use_odbc"
4297 if test "x$cache" = xyes; then
4298 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_ODBC" = yes; then
4302 { echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6; }
4304 elif test "$wxUSE_ODBC" = no; then
4305 { echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6; }
4307 elif test "$wxUSE_ODBC" = sys; then
4308 { echo "$as_me:$LINENO: result: system version" >&5
4309 echo "${ECHO_T}system version" >&6; }
4310 elif test "$wxUSE_ODBC" = builtin; then
4311 { echo "$as_me:$LINENO: result: builtin version" >&5
4312 echo "${ECHO_T}builtin version" >&6; }
4313 else
4314 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4315 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4316 { (exit 1); exit 1; }; }
4317 fi
4318
4319
4320 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4321 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4322
4323 # Check whether --with-expat was given.
4324 if test "${with_expat+set}" = set; then
4325 withval=$with_expat;
4326 if test "$withval" = yes; then
4327 wx_cv_use_expat='wxUSE_EXPAT=yes'
4328 elif test "$withval" = no; then
4329 wx_cv_use_expat='wxUSE_EXPAT=no'
4330 elif test "$withval" = sys; then
4331 wx_cv_use_expat='wxUSE_EXPAT=sys'
4332 elif test "$withval" = builtin; then
4333 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4334 else
4335 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4336 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4337 { (exit 1); exit 1; }; }
4338 fi
4339 cache=yes
4340
4341 else
4342
4343 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4344 if test "x$LINE" != x ; then
4345 eval "DEFAULT_$LINE"
4346 fi
4347
4348 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4349
4350 fi
4351
4352
4353 eval "$wx_cv_use_expat"
4354 if test "x$cache" = xyes; then
4355 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
4356 fi
4357
4358 if test "$wxUSE_EXPAT" = yes; then
4359 { echo "$as_me:$LINENO: result: yes" >&5
4360 echo "${ECHO_T}yes" >&6; }
4361 elif test "$wxUSE_EXPAT" = no; then
4362 { echo "$as_me:$LINENO: result: no" >&5
4363 echo "${ECHO_T}no" >&6; }
4364 elif test "$wxUSE_EXPAT" = sys; then
4365 { echo "$as_me:$LINENO: result: system version" >&5
4366 echo "${ECHO_T}system version" >&6; }
4367 elif test "$wxUSE_EXPAT" = builtin; then
4368 { echo "$as_me:$LINENO: result: builtin version" >&5
4369 echo "${ECHO_T}builtin version" >&6; }
4370 else
4371 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4372 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4373 { (exit 1); exit 1; }; }
4374 fi
4375
4376
4377
4378
4379 enablestring=disable
4380 defaultval=
4381 if test -z "$defaultval"; then
4382 if test x"$enablestring" = xdisable; then
4383 defaultval=yes
4384 else
4385 defaultval=no
4386 fi
4387 fi
4388
4389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4391 # Check whether --enable-shared was given.
4392 if test "${enable_shared+set}" = set; then
4393 enableval=$enable_shared;
4394 if test "$enableval" = yes; then
4395 wx_cv_use_shared='wxUSE_SHARED=yes'
4396 else
4397 wx_cv_use_shared='wxUSE_SHARED=no'
4398 fi
4399 cache=yes
4400
4401 else
4402
4403 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4406 fi
4407
4408 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4409
4410 fi
4411
4412
4413 eval "$wx_cv_use_shared"
4414 if test "x$cache" = xyes; then
4415 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
4416 fi
4417
4418 if test x"$enablestring" = xdisable; then
4419 if test $wxUSE_SHARED = yes; then
4420 result=no
4421 else
4422 result=yes
4423 fi
4424 else
4425 result=$wxUSE_SHARED
4426 fi
4427
4428 { echo "$as_me:$LINENO: result: $result" >&5
4429 echo "${ECHO_T}$result" >&6; }
4430
4431
4432 enablestring=disable
4433 defaultval=
4434 if test -z "$defaultval"; then
4435 if test x"$enablestring" = xdisable; then
4436 defaultval=yes
4437 else
4438 defaultval=no
4439 fi
4440 fi
4441
4442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4444 # Check whether --enable-optimise was given.
4445 if test "${enable_optimise+set}" = set; then
4446 enableval=$enable_optimise;
4447 if test "$enableval" = yes; then
4448 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4449 else
4450 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4451 fi
4452 cache=yes
4453
4454 else
4455
4456 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x ; then
4458 eval "DEFAULT_$LINE"
4459 fi
4460
4461 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4462
4463 fi
4464
4465
4466 eval "$wx_cv_use_optimise"
4467 if test "x$cache" = xyes; then
4468 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
4469 fi
4470
4471 if test x"$enablestring" = xdisable; then
4472 if test $wxUSE_OPTIMISE = yes; then
4473 result=no
4474 else
4475 result=yes
4476 fi
4477 else
4478 result=$wxUSE_OPTIMISE
4479 fi
4480
4481 { echo "$as_me:$LINENO: result: $result" >&5
4482 echo "${ECHO_T}$result" >&6; }
4483
4484
4485 enablestring=
4486 defaultval=
4487 if test -z "$defaultval"; then
4488 if test x"$enablestring" = xdisable; then
4489 defaultval=yes
4490 else
4491 defaultval=no
4492 fi
4493 fi
4494
4495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4496 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4497 # Check whether --enable-debug was given.
4498 if test "${enable_debug+set}" = set; then
4499 enableval=$enable_debug;
4500 if test "$enableval" = yes; then
4501 wx_cv_use_debug='wxUSE_DEBUG=yes'
4502 else
4503 wx_cv_use_debug='wxUSE_DEBUG=no'
4504 fi
4505 cache=yes
4506
4507 else
4508
4509 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4512 fi
4513
4514 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4515
4516 fi
4517
4518
4519 eval "$wx_cv_use_debug"
4520 if test "x$cache" = xyes; then
4521 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4522 fi
4523
4524 if test x"$enablestring" = xdisable; then
4525 if test $wxUSE_DEBUG = yes; then
4526 result=no
4527 else
4528 result=yes
4529 fi
4530 else
4531 result=$wxUSE_DEBUG
4532 fi
4533
4534 { echo "$as_me:$LINENO: result: $result" >&5
4535 echo "${ECHO_T}$result" >&6; }
4536
4537
4538 enablestring=
4539 defaultval=
4540 if test -z "$defaultval"; then
4541 if test x"$enablestring" = xdisable; then
4542 defaultval=yes
4543 else
4544 defaultval=no
4545 fi
4546 fi
4547
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4550 # Check whether --enable-stl was given.
4551 if test "${enable_stl+set}" = set; then
4552 enableval=$enable_stl;
4553 if test "$enableval" = yes; then
4554 wx_cv_use_stl='wxUSE_STL=yes'
4555 else
4556 wx_cv_use_stl='wxUSE_STL=no'
4557 fi
4558 cache=yes
4559
4560 else
4561
4562 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 fi
4566
4567 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4568
4569 fi
4570
4571
4572 eval "$wx_cv_use_stl"
4573 if test "x$cache" = xyes; then
4574 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4575 fi
4576
4577 if test x"$enablestring" = xdisable; then
4578 if test $wxUSE_STL = yes; then
4579 result=no
4580 else
4581 result=yes
4582 fi
4583 else
4584 result=$wxUSE_STL
4585 fi
4586
4587 { echo "$as_me:$LINENO: result: $result" >&5
4588 echo "${ECHO_T}$result" >&6; }
4589
4590
4591 enablestring=
4592 defaultval=
4593 if test -z "$defaultval"; then
4594 if test x"$enablestring" = xdisable; then
4595 defaultval=yes
4596 else
4597 defaultval=no
4598 fi
4599 fi
4600
4601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4602 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4603 # Check whether --enable-std_iostreams was given.
4604 if test "${enable_std_iostreams+set}" = set; then
4605 enableval=$enable_std_iostreams;
4606 if test "$enableval" = yes; then
4607 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4608 else
4609 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4610 fi
4611 cache=yes
4612
4613 else
4614
4615 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4618 fi
4619
4620 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4621
4622 fi
4623
4624
4625 eval "$wx_cv_use_std_iostreams"
4626 if test "x$cache" = xyes; then
4627 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_STD_IOSTREAM = yes; then
4632 result=no
4633 else
4634 result=yes
4635 fi
4636 else
4637 result=$wxUSE_STD_IOSTREAM
4638 fi
4639
4640 { echo "$as_me:$LINENO: result: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4642
4643
4644 enablestring=
4645 defaultval=
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4648 defaultval=yes
4649 else
4650 defaultval=no
4651 fi
4652 fi
4653
4654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4656 # Check whether --enable-std_string was given.
4657 if test "${enable_std_string+set}" = set; then
4658 enableval=$enable_std_string;
4659 if test "$enableval" = yes; then
4660 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4661 else
4662 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4663 fi
4664 cache=yes
4665
4666 else
4667
4668 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 fi
4672
4673 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4674
4675 fi
4676
4677
4678 eval "$wx_cv_use_std_string"
4679 if test "x$cache" = xyes; then
4680 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test x"$enablestring" = xdisable; then
4684 if test $wxUSE_STD_STRING = yes; then
4685 result=no
4686 else
4687 result=yes
4688 fi
4689 else
4690 result=$wxUSE_STD_STRING
4691 fi
4692
4693 { echo "$as_me:$LINENO: result: $result" >&5
4694 echo "${ECHO_T}$result" >&6; }
4695
4696
4697 enablestring=disable
4698 defaultval=
4699 if test -z "$defaultval"; then
4700 if test x"$enablestring" = xdisable; then
4701 defaultval=yes
4702 else
4703 defaultval=no
4704 fi
4705 fi
4706
4707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4708 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4709 # Check whether --enable-unicode was given.
4710 if test "${enable_unicode+set}" = set; then
4711 enableval=$enable_unicode;
4712 if test "$enableval" = yes; then
4713 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4714 else
4715 wx_cv_use_unicode='wxUSE_UNICODE=no'
4716 fi
4717 cache=yes
4718
4719 else
4720
4721 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 fi
4725
4726 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4727
4728 fi
4729
4730
4731 eval "$wx_cv_use_unicode"
4732 if test "x$cache" = xyes; then
4733 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4734 fi
4735
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_UNICODE = yes; then
4738 result=no
4739 else
4740 result=yes
4741 fi
4742 else
4743 result=$wxUSE_UNICODE
4744 fi
4745
4746 { echo "$as_me:$LINENO: result: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4748
4749
4750 enablestring=
4751 defaultval=
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4754 defaultval=yes
4755 else
4756 defaultval=no
4757 fi
4758 fi
4759
4760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4762 # Check whether --enable-mslu was given.
4763 if test "${enable_mslu+set}" = set; then
4764 enableval=$enable_mslu;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4767 else
4768 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4769 fi
4770 cache=yes
4771
4772 else
4773
4774 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4777 fi
4778
4779 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4780
4781 fi
4782
4783
4784 eval "$wx_cv_use_mslu"
4785 if test "x$cache" = xyes; then
4786 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4787 fi
4788
4789 if test x"$enablestring" = xdisable; then
4790 if test $wxUSE_UNICODE_MSLU = yes; then
4791 result=no
4792 else
4793 result=yes
4794 fi
4795 else
4796 result=$wxUSE_UNICODE_MSLU
4797 fi
4798
4799 { echo "$as_me:$LINENO: result: $result" >&5
4800 echo "${ECHO_T}$result" >&6; }
4801
4802
4803 enablestring=
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4806 # Check whether --enable-utf8 was given.
4807 if test "${enable_utf8+set}" = set; then
4808 enableval=$enable_utf8;
4809 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4810 cache=yes
4811
4812 else
4813
4814 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x ; then
4816 eval "DEFAULT_$LINE"
4817 fi
4818
4819 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4820
4821 fi
4822
4823
4824 eval "$wx_cv_use_utf8"
4825 if test "x$cache" = xyes; then
4826 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4827 fi
4828
4829 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4830 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4831
4832
4833 enablestring=
4834 defaultval=
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4837 defaultval=yes
4838 else
4839 defaultval=no
4840 fi
4841 fi
4842
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4845 # Check whether --enable-utf8only was given.
4846 if test "${enable_utf8only+set}" = set; then
4847 enableval=$enable_utf8only;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4850 else
4851 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4852 fi
4853 cache=yes
4854
4855 else
4856
4857 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 fi
4861
4862 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4863
4864 fi
4865
4866
4867 eval "$wx_cv_use_utf8only"
4868 if test "x$cache" = xyes; then
4869 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4870 fi
4871
4872 if test x"$enablestring" = xdisable; then
4873 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4874 result=no
4875 else
4876 result=yes
4877 fi
4878 else
4879 result=$wxUSE_UNICODE_UTF8_LOCALE
4880 fi
4881
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4884
4885
4886 enablestring=
4887 defaultval=
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4890 defaultval=yes
4891 else
4892 defaultval=no
4893 fi
4894 fi
4895
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4898 # Check whether --enable-extended_rtti was given.
4899 if test "${enable_extended_rtti+set}" = set; then
4900 enableval=$enable_extended_rtti;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4903 else
4904 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4905 fi
4906 cache=yes
4907
4908 else
4909
4910 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4913 fi
4914
4915 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4916
4917 fi
4918
4919
4920 eval "$wx_cv_use_extended_rtti"
4921 if test "x$cache" = xyes; then
4922 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4923 fi
4924
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_EXTENDED_RTTI = yes; then
4927 result=no
4928 else
4929 result=yes
4930 fi
4931 else
4932 result=$wxUSE_EXTENDED_RTTI
4933 fi
4934
4935 { echo "$as_me:$LINENO: result: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4937
4938 if test "$USE_OS2" = "1"; then
4939 DEFAULT_wxUSE_OMF=no
4940
4941 enablestring=
4942 defaultval=
4943 if test -z "$defaultval"; then
4944 if test x"$enablestring" = xdisable; then
4945 defaultval=yes
4946 else
4947 defaultval=no
4948 fi
4949 fi
4950
4951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4952 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4953 # Check whether --enable-omf was given.
4954 if test "${enable_omf+set}" = set; then
4955 enableval=$enable_omf;
4956 if test "$enableval" = yes; then
4957 wx_cv_use_omf='wxUSE_OMF=yes'
4958 else
4959 wx_cv_use_omf='wxUSE_OMF=no'
4960 fi
4961 cache=yes
4962
4963 else
4964
4965 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x ; then
4967 eval "DEFAULT_$LINE"
4968 fi
4969
4970 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_omf"
4976 if test "x$cache" = xyes; then
4977 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test x"$enablestring" = xdisable; then
4981 if test $wxUSE_OMF = yes; then
4982 result=no
4983 else
4984 result=yes
4985 fi
4986 else
4987 result=$wxUSE_OMF
4988 fi
4989
4990 { echo "$as_me:$LINENO: result: $result" >&5
4991 echo "${ECHO_T}$result" >&6; }
4992
4993 fi
4994
4995 if test "$wxUSE_DEBUG" = "yes"; then
4996 DEFAULT_wxUSE_DEBUG_FLAG=yes
4997 DEFAULT_wxUSE_DEBUG_INFO=yes
4998 BUILD=debug
4999 elif test "$wxUSE_DEBUG" = "no"; then
5000 DEFAULT_wxUSE_DEBUG_FLAG=no
5001 DEFAULT_wxUSE_DEBUG_INFO=no
5002 BUILD=release
5003 fi
5004
5005
5006 enablestring=
5007 defaultval=
5008 if test -z "$defaultval"; then
5009 if test x"$enablestring" = xdisable; then
5010 defaultval=yes
5011 else
5012 defaultval=no
5013 fi
5014 fi
5015
5016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5018 # Check whether --enable-debug_flag was given.
5019 if test "${enable_debug_flag+set}" = set; then
5020 enableval=$enable_debug_flag;
5021 if test "$enableval" = yes; then
5022 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5023 else
5024 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5025 fi
5026 cache=yes
5027
5028 else
5029
5030 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x ; then
5032 eval "DEFAULT_$LINE"
5033 fi
5034
5035 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5036
5037 fi
5038
5039
5040 eval "$wx_cv_use_debug_flag"
5041 if test "x$cache" = xyes; then
5042 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
5043 fi
5044
5045 if test x"$enablestring" = xdisable; then
5046 if test $wxUSE_DEBUG_FLAG = yes; then
5047 result=no
5048 else
5049 result=yes
5050 fi
5051 else
5052 result=$wxUSE_DEBUG_FLAG
5053 fi
5054
5055 { echo "$as_me:$LINENO: result: $result" >&5
5056 echo "${ECHO_T}$result" >&6; }
5057
5058
5059 enablestring=
5060 defaultval=
5061 if test -z "$defaultval"; then
5062 if test x"$enablestring" = xdisable; then
5063 defaultval=yes
5064 else
5065 defaultval=no
5066 fi
5067 fi
5068
5069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5071 # Check whether --enable-debug_info was given.
5072 if test "${enable_debug_info+set}" = set; then
5073 enableval=$enable_debug_info;
5074 if test "$enableval" = yes; then
5075 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5076 else
5077 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5078 fi
5079 cache=yes
5080
5081 else
5082
5083 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 fi
5087
5088 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5089
5090 fi
5091
5092
5093 eval "$wx_cv_use_debug_info"
5094 if test "x$cache" = xyes; then
5095 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
5096 fi
5097
5098 if test x"$enablestring" = xdisable; then
5099 if test $wxUSE_DEBUG_INFO = yes; then
5100 result=no
5101 else
5102 result=yes
5103 fi
5104 else
5105 result=$wxUSE_DEBUG_INFO
5106 fi
5107
5108 { echo "$as_me:$LINENO: result: $result" >&5
5109 echo "${ECHO_T}$result" >&6; }
5110
5111
5112 enablestring=
5113 defaultval=
5114 if test -z "$defaultval"; then
5115 if test x"$enablestring" = xdisable; then
5116 defaultval=yes
5117 else
5118 defaultval=no
5119 fi
5120 fi
5121
5122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5124 # Check whether --enable-debug_gdb was given.
5125 if test "${enable_debug_gdb+set}" = set; then
5126 enableval=$enable_debug_gdb;
5127 if test "$enableval" = yes; then
5128 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5129 else
5130 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5131 fi
5132 cache=yes
5133
5134 else
5135
5136 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x ; then
5138 eval "DEFAULT_$LINE"
5139 fi
5140
5141 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5142
5143 fi
5144
5145
5146 eval "$wx_cv_use_debug_gdb"
5147 if test "x$cache" = xyes; then
5148 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
5149 fi
5150
5151 if test x"$enablestring" = xdisable; then
5152 if test $wxUSE_DEBUG_GDB = yes; then
5153 result=no
5154 else
5155 result=yes
5156 fi
5157 else
5158 result=$wxUSE_DEBUG_GDB
5159 fi
5160
5161 { echo "$as_me:$LINENO: result: $result" >&5
5162 echo "${ECHO_T}$result" >&6; }
5163
5164
5165 enablestring=
5166 defaultval=
5167 if test -z "$defaultval"; then
5168 if test x"$enablestring" = xdisable; then
5169 defaultval=yes
5170 else
5171 defaultval=no
5172 fi
5173 fi
5174
5175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5177 # Check whether --enable-debug_cntxt was given.
5178 if test "${enable_debug_cntxt+set}" = set; then
5179 enableval=$enable_debug_cntxt;
5180 if test "$enableval" = yes; then
5181 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5182 else
5183 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5184 fi
5185 cache=yes
5186
5187 else
5188
5189 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 fi
5193
5194 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5195
5196 fi
5197
5198
5199 eval "$wx_cv_use_debug_cntxt"
5200 if test "x$cache" = xyes; then
5201 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test x"$enablestring" = xdisable; then
5205 if test $wxUSE_DEBUG_CONTEXT = yes; then
5206 result=no
5207 else
5208 result=yes
5209 fi
5210 else
5211 result=$wxUSE_DEBUG_CONTEXT
5212 fi
5213
5214 { echo "$as_me:$LINENO: result: $result" >&5
5215 echo "${ECHO_T}$result" >&6; }
5216
5217
5218 enablestring=
5219 defaultval=
5220 if test -z "$defaultval"; then
5221 if test x"$enablestring" = xdisable; then
5222 defaultval=yes
5223 else
5224 defaultval=no
5225 fi
5226 fi
5227
5228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5229 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5230 # Check whether --enable-mem_tracing was given.
5231 if test "${enable_mem_tracing+set}" = set; then
5232 enableval=$enable_mem_tracing;
5233 if test "$enableval" = yes; then
5234 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5235 else
5236 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5237 fi
5238 cache=yes
5239
5240 else
5241
5242 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5245 fi
5246
5247 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5248
5249 fi
5250
5251
5252 eval "$wx_cv_use_mem_tracing"
5253 if test "x$cache" = xyes; then
5254 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
5255 fi
5256
5257 if test x"$enablestring" = xdisable; then
5258 if test $wxUSE_MEM_TRACING = yes; then
5259 result=no
5260 else
5261 result=yes
5262 fi
5263 else
5264 result=$wxUSE_MEM_TRACING
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $result" >&5
5268 echo "${ECHO_T}$result" >&6; }
5269
5270
5271 enablestring=
5272 defaultval=
5273 if test -z "$defaultval"; then
5274 if test x"$enablestring" = xdisable; then
5275 defaultval=yes
5276 else
5277 defaultval=no
5278 fi
5279 fi
5280
5281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5282 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5283 # Check whether --enable-profile was given.
5284 if test "${enable_profile+set}" = set; then
5285 enableval=$enable_profile;
5286 if test "$enableval" = yes; then
5287 wx_cv_use_profile='wxUSE_PROFILE=yes'
5288 else
5289 wx_cv_use_profile='wxUSE_PROFILE=no'
5290 fi
5291 cache=yes
5292
5293 else
5294
5295 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5296 if test "x$LINE" != x ; then
5297 eval "DEFAULT_$LINE"
5298 fi
5299
5300 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5301
5302 fi
5303
5304
5305 eval "$wx_cv_use_profile"
5306 if test "x$cache" = xyes; then
5307 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
5308 fi
5309
5310 if test x"$enablestring" = xdisable; then
5311 if test $wxUSE_PROFILE = yes; then
5312 result=no
5313 else
5314 result=yes
5315 fi
5316 else
5317 result=$wxUSE_PROFILE
5318 fi
5319
5320 { echo "$as_me:$LINENO: result: $result" >&5
5321 echo "${ECHO_T}$result" >&6; }
5322
5323
5324 enablestring=
5325 defaultval=
5326 if test -z "$defaultval"; then
5327 if test x"$enablestring" = xdisable; then
5328 defaultval=yes
5329 else
5330 defaultval=no
5331 fi
5332 fi
5333
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5336 # Check whether --enable-no_rtti was given.
5337 if test "${enable_no_rtti+set}" = set; then
5338 enableval=$enable_no_rtti;
5339 if test "$enableval" = yes; then
5340 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5341 else
5342 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5343 fi
5344 cache=yes
5345
5346 else
5347
5348 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5351 fi
5352
5353 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_no_rtti"
5359 if test "x$cache" = xyes; then
5360 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
5361 fi
5362
5363 if test x"$enablestring" = xdisable; then
5364 if test $wxUSE_NO_RTTI = yes; then
5365 result=no
5366 else
5367 result=yes
5368 fi
5369 else
5370 result=$wxUSE_NO_RTTI
5371 fi
5372
5373 { echo "$as_me:$LINENO: result: $result" >&5
5374 echo "${ECHO_T}$result" >&6; }
5375
5376
5377 enablestring=
5378 defaultval=
5379 if test -z "$defaultval"; then
5380 if test x"$enablestring" = xdisable; then
5381 defaultval=yes
5382 else
5383 defaultval=no
5384 fi
5385 fi
5386
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5389 # Check whether --enable-no_exceptions was given.
5390 if test "${enable_no_exceptions+set}" = set; then
5391 enableval=$enable_no_exceptions;
5392 if test "$enableval" = yes; then
5393 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5394 else
5395 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5396 fi
5397 cache=yes
5398
5399 else
5400
5401 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5404 fi
5405
5406 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5407
5408 fi
5409
5410
5411 eval "$wx_cv_use_no_exceptions"
5412 if test "x$cache" = xyes; then
5413 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
5414 fi
5415
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_NO_EXCEPTIONS = yes; then
5418 result=no
5419 else
5420 result=yes
5421 fi
5422 else
5423 result=$wxUSE_NO_EXCEPTIONS
5424 fi
5425
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5428
5429
5430 enablestring=
5431 defaultval=
5432 if test -z "$defaultval"; then
5433 if test x"$enablestring" = xdisable; then
5434 defaultval=yes
5435 else
5436 defaultval=no
5437 fi
5438 fi
5439
5440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5442 # Check whether --enable-permissive was given.
5443 if test "${enable_permissive+set}" = set; then
5444 enableval=$enable_permissive;
5445 if test "$enableval" = yes; then
5446 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5447 else
5448 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5449 fi
5450 cache=yes
5451
5452 else
5453
5454 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 fi
5458
5459 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5460
5461 fi
5462
5463
5464 eval "$wx_cv_use_permissive"
5465 if test "x$cache" = xyes; then
5466 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5467 fi
5468
5469 if test x"$enablestring" = xdisable; then
5470 if test $wxUSE_PERMISSIVE = yes; then
5471 result=no
5472 else
5473 result=yes
5474 fi
5475 else
5476 result=$wxUSE_PERMISSIVE
5477 fi
5478
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5481
5482
5483 enablestring=
5484 defaultval=
5485 if test -z "$defaultval"; then
5486 if test x"$enablestring" = xdisable; then
5487 defaultval=yes
5488 else
5489 defaultval=no
5490 fi
5491 fi
5492
5493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5495 # Check whether --enable-no_deps was given.
5496 if test "${enable_no_deps+set}" = set; then
5497 enableval=$enable_no_deps;
5498 if test "$enableval" = yes; then
5499 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5500 else
5501 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5502 fi
5503 cache=yes
5504
5505 else
5506
5507 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x ; then
5509 eval "DEFAULT_$LINE"
5510 fi
5511
5512 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5513
5514 fi
5515
5516
5517 eval "$wx_cv_use_no_deps"
5518 if test "x$cache" = xyes; then
5519 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5520 fi
5521
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_NO_DEPS = yes; then
5524 result=no
5525 else
5526 result=yes
5527 fi
5528 else
5529 result=$wxUSE_NO_DEPS
5530 fi
5531
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5534
5535
5536 enablestring=disable
5537 defaultval=
5538 if test -z "$defaultval"; then
5539 if test x"$enablestring" = xdisable; then
5540 defaultval=yes
5541 else
5542 defaultval=no
5543 fi
5544 fi
5545
5546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5548 # Check whether --enable-vararg_macros was given.
5549 if test "${enable_vararg_macros+set}" = set; then
5550 enableval=$enable_vararg_macros;
5551 if test "$enableval" = yes; then
5552 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5553 else
5554 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5555 fi
5556 cache=yes
5557
5558 else
5559
5560 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x ; then
5562 eval "DEFAULT_$LINE"
5563 fi
5564
5565 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5566
5567 fi
5568
5569
5570 eval "$wx_cv_use_vararg_macros"
5571 if test "x$cache" = xyes; then
5572 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5573 fi
5574
5575 if test x"$enablestring" = xdisable; then
5576 if test $wxUSE_VARARG_MACROS = yes; then
5577 result=no
5578 else
5579 result=yes
5580 fi
5581 else
5582 result=$wxUSE_VARARG_MACROS
5583 fi
5584
5585 { echo "$as_me:$LINENO: result: $result" >&5
5586 echo "${ECHO_T}$result" >&6; }
5587
5588
5589 enablestring=
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5592 # Check whether --enable-universal_binary was given.
5593 if test "${enable_universal_binary+set}" = set; then
5594 enableval=$enable_universal_binary;
5595 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5596 cache=yes
5597
5598 else
5599
5600 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 fi
5604
5605 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5606
5607 fi
5608
5609
5610 eval "$wx_cv_use_universal_binary"
5611 if test "x$cache" = xyes; then
5612 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5616 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5617
5618
5619
5620 enablestring=
5621 defaultval=
5622 if test -z "$defaultval"; then
5623 if test x"$enablestring" = xdisable; then
5624 defaultval=yes
5625 else
5626 defaultval=no
5627 fi
5628 fi
5629
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5632 # Check whether --enable-compat26 was given.
5633 if test "${enable_compat26+set}" = set; then
5634 enableval=$enable_compat26;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5637 else
5638 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5639 fi
5640 cache=yes
5641
5642 else
5643
5644 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 fi
5648
5649 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5650
5651 fi
5652
5653
5654 eval "$wx_cv_use_compat26"
5655 if test "x$cache" = xyes; then
5656 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test x"$enablestring" = xdisable; then
5660 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5661 result=no
5662 else
5663 result=yes
5664 fi
5665 else
5666 result=$WXWIN_COMPATIBILITY_2_6
5667 fi
5668
5669 { echo "$as_me:$LINENO: result: $result" >&5
5670 echo "${ECHO_T}$result" >&6; }
5671
5672
5673 enablestring=disable
5674 defaultval=
5675 if test -z "$defaultval"; then
5676 if test x"$enablestring" = xdisable; then
5677 defaultval=yes
5678 else
5679 defaultval=no
5680 fi
5681 fi
5682
5683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5684 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5685 # Check whether --enable-compat28 was given.
5686 if test "${enable_compat28+set}" = set; then
5687 enableval=$enable_compat28;
5688 if test "$enableval" = yes; then
5689 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5690 else
5691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5692 fi
5693 cache=yes
5694
5695 else
5696
5697 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x ; then
5699 eval "DEFAULT_$LINE"
5700 fi
5701
5702 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5703
5704 fi
5705
5706
5707 eval "$wx_cv_use_compat28"
5708 if test "x$cache" = xyes; then
5709 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test x"$enablestring" = xdisable; then
5713 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5714 result=no
5715 else
5716 result=yes
5717 fi
5718 else
5719 result=$WXWIN_COMPATIBILITY_2_8
5720 fi
5721
5722 { echo "$as_me:$LINENO: result: $result" >&5
5723 echo "${ECHO_T}$result" >&6; }
5724
5725
5726
5727 enablestring=disable
5728 defaultval=
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5731 defaultval=yes
5732 else
5733 defaultval=no
5734 fi
5735 fi
5736
5737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5739 # Check whether --enable-rpath was given.
5740 if test "${enable_rpath+set}" = set; then
5741 enableval=$enable_rpath;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_rpath='wxUSE_RPATH=yes'
5744 else
5745 wx_cv_use_rpath='wxUSE_RPATH=no'
5746 fi
5747 cache=yes
5748
5749 else
5750
5751 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5752 if test "x$LINE" != x ; then
5753 eval "DEFAULT_$LINE"
5754 fi
5755
5756 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5757
5758 fi
5759
5760
5761 eval "$wx_cv_use_rpath"
5762 if test "x$cache" = xyes; then
5763 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5764 fi
5765
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_RPATH = yes; then
5768 result=no
5769 else
5770 result=yes
5771 fi
5772 else
5773 result=$wxUSE_RPATH
5774 fi
5775
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5778
5779
5780
5781 enablestring=
5782 defaultval=
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5785 defaultval=yes
5786 else
5787 defaultval=no
5788 fi
5789 fi
5790
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5793 # Check whether --enable-objc_uniquifying was given.
5794 if test "${enable_objc_uniquifying+set}" = set; then
5795 enableval=$enable_objc_uniquifying;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5798 else
5799 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5800 fi
5801 cache=yes
5802
5803 else
5804
5805 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 fi
5809
5810 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5811
5812 fi
5813
5814
5815 eval "$wx_cv_use_objc_uniquifying"
5816 if test "x$cache" = xyes; then
5817 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5822 result=no
5823 else
5824 result=yes
5825 fi
5826 else
5827 result=$wxUSE_OBJC_UNIQUIFYING
5828 fi
5829
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5832
5833
5834
5835 enablestring=disable
5836 defaultval=
5837 if test -z "$defaultval"; then
5838 if test x"$enablestring" = xdisable; then
5839 defaultval=yes
5840 else
5841 defaultval=no
5842 fi
5843 fi
5844
5845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5847 # Check whether --enable-visibility was given.
5848 if test "${enable_visibility+set}" = set; then
5849 enableval=$enable_visibility;
5850 if test "$enableval" = yes; then
5851 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5852 else
5853 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5854 fi
5855 cache=yes
5856
5857 else
5858
5859 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x ; then
5861 eval "DEFAULT_$LINE"
5862 fi
5863
5864 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5865
5866 fi
5867
5868
5869 eval "$wx_cv_use_visibility"
5870 if test "x$cache" = xyes; then
5871 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test x"$enablestring" = xdisable; then
5875 if test $wxUSE_VISIBILITY = yes; then
5876 result=no
5877 else
5878 result=yes
5879 fi
5880 else
5881 result=$wxUSE_VISIBILITY
5882 fi
5883
5884 { echo "$as_me:$LINENO: result: $result" >&5
5885 echo "${ECHO_T}$result" >&6; }
5886
5887
5888
5889
5890 enablestring=
5891 defaultval=$wxUSE_ALL_FEATURES
5892 if test -z "$defaultval"; then
5893 if test x"$enablestring" = xdisable; then
5894 defaultval=yes
5895 else
5896 defaultval=no
5897 fi
5898 fi
5899
5900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5901 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5902 # Check whether --enable-intl was given.
5903 if test "${enable_intl+set}" = set; then
5904 enableval=$enable_intl;
5905 if test "$enableval" = yes; then
5906 wx_cv_use_intl='wxUSE_INTL=yes'
5907 else
5908 wx_cv_use_intl='wxUSE_INTL=no'
5909 fi
5910 cache=yes
5911
5912 else
5913
5914 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x ; then
5916 eval "DEFAULT_$LINE"
5917 fi
5918
5919 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5920
5921 fi
5922
5923
5924 eval "$wx_cv_use_intl"
5925 if test "x$cache" = xyes; then
5926 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_INTL = yes; then
5931 result=no
5932 else
5933 result=yes
5934 fi
5935 else
5936 result=$wxUSE_INTL
5937 fi
5938
5939 { echo "$as_me:$LINENO: result: $result" >&5
5940 echo "${ECHO_T}$result" >&6; }
5941
5942
5943 enablestring=
5944 defaultval=$wxUSE_ALL_FEATURES
5945 if test -z "$defaultval"; then
5946 if test x"$enablestring" = xdisable; then
5947 defaultval=yes
5948 else
5949 defaultval=no
5950 fi
5951 fi
5952
5953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5955 # Check whether --enable-config was given.
5956 if test "${enable_config+set}" = set; then
5957 enableval=$enable_config;
5958 if test "$enableval" = yes; then
5959 wx_cv_use_config='wxUSE_CONFIG=yes'
5960 else
5961 wx_cv_use_config='wxUSE_CONFIG=no'
5962 fi
5963 cache=yes
5964
5965 else
5966
5967 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5970 fi
5971
5972 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5973
5974 fi
5975
5976
5977 eval "$wx_cv_use_config"
5978 if test "x$cache" = xyes; then
5979 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5980 fi
5981
5982 if test x"$enablestring" = xdisable; then
5983 if test $wxUSE_CONFIG = yes; then
5984 result=no
5985 else
5986 result=yes
5987 fi
5988 else
5989 result=$wxUSE_CONFIG
5990 fi
5991
5992 { echo "$as_me:$LINENO: result: $result" >&5
5993 echo "${ECHO_T}$result" >&6; }
5994
5995
5996
5997 enablestring=
5998 defaultval=$wxUSE_ALL_FEATURES
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6001 defaultval=yes
6002 else
6003 defaultval=no
6004 fi
6005 fi
6006
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6009 # Check whether --enable-protocols was given.
6010 if test "${enable_protocols+set}" = set; then
6011 enableval=$enable_protocols;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6014 else
6015 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6016 fi
6017 cache=yes
6018
6019 else
6020
6021 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x ; then
6023 eval "DEFAULT_$LINE"
6024 fi
6025
6026 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6027
6028 fi
6029
6030
6031 eval "$wx_cv_use_protocols"
6032 if test "x$cache" = xyes; then
6033 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test x"$enablestring" = xdisable; then
6037 if test $wxUSE_PROTOCOL = yes; then
6038 result=no
6039 else
6040 result=yes
6041 fi
6042 else
6043 result=$wxUSE_PROTOCOL
6044 fi
6045
6046 { echo "$as_me:$LINENO: result: $result" >&5
6047 echo "${ECHO_T}$result" >&6; }
6048
6049
6050 enablestring=
6051 defaultval=$wxUSE_ALL_FEATURES
6052 if test -z "$defaultval"; then
6053 if test x"$enablestring" = xdisable; then
6054 defaultval=yes
6055 else
6056 defaultval=no
6057 fi
6058 fi
6059
6060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6061 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6062 # Check whether --enable-ftp was given.
6063 if test "${enable_ftp+set}" = set; then
6064 enableval=$enable_ftp;
6065 if test "$enableval" = yes; then
6066 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6067 else
6068 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6069 fi
6070 cache=yes
6071
6072 else
6073
6074 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6075 if test "x$LINE" != x ; then
6076 eval "DEFAULT_$LINE"
6077 fi
6078
6079 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6080
6081 fi
6082
6083
6084 eval "$wx_cv_use_ftp"
6085 if test "x$cache" = xyes; then
6086 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
6087 fi
6088
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_PROTOCOL_FTP = yes; then
6091 result=no
6092 else
6093 result=yes
6094 fi
6095 else
6096 result=$wxUSE_PROTOCOL_FTP
6097 fi
6098
6099 { echo "$as_me:$LINENO: result: $result" >&5
6100 echo "${ECHO_T}$result" >&6; }
6101
6102
6103 enablestring=
6104 defaultval=$wxUSE_ALL_FEATURES
6105 if test -z "$defaultval"; then
6106 if test x"$enablestring" = xdisable; then
6107 defaultval=yes
6108 else
6109 defaultval=no
6110 fi
6111 fi
6112
6113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6115 # Check whether --enable-http was given.
6116 if test "${enable_http+set}" = set; then
6117 enableval=$enable_http;
6118 if test "$enableval" = yes; then
6119 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6120 else
6121 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6122 fi
6123 cache=yes
6124
6125 else
6126
6127 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x ; then
6129 eval "DEFAULT_$LINE"
6130 fi
6131
6132 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6133
6134 fi
6135
6136
6137 eval "$wx_cv_use_http"
6138 if test "x$cache" = xyes; then
6139 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
6140 fi
6141
6142 if test x"$enablestring" = xdisable; then
6143 if test $wxUSE_PROTOCOL_HTTP = yes; then
6144 result=no
6145 else
6146 result=yes
6147 fi
6148 else
6149 result=$wxUSE_PROTOCOL_HTTP
6150 fi
6151
6152 { echo "$as_me:$LINENO: result: $result" >&5
6153 echo "${ECHO_T}$result" >&6; }
6154
6155
6156 enablestring=
6157 defaultval=$wxUSE_ALL_FEATURES
6158 if test -z "$defaultval"; then
6159 if test x"$enablestring" = xdisable; then
6160 defaultval=yes
6161 else
6162 defaultval=no
6163 fi
6164 fi
6165
6166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6168 # Check whether --enable-fileproto was given.
6169 if test "${enable_fileproto+set}" = set; then
6170 enableval=$enable_fileproto;
6171 if test "$enableval" = yes; then
6172 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6173 else
6174 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6175 fi
6176 cache=yes
6177
6178 else
6179
6180 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 fi
6184
6185 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6186
6187 fi
6188
6189
6190 eval "$wx_cv_use_fileproto"
6191 if test "x$cache" = xyes; then
6192 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
6193 fi
6194
6195 if test x"$enablestring" = xdisable; then
6196 if test $wxUSE_PROTOCOL_FILE = yes; then
6197 result=no
6198 else
6199 result=yes
6200 fi
6201 else
6202 result=$wxUSE_PROTOCOL_FILE
6203 fi
6204
6205 { echo "$as_me:$LINENO: result: $result" >&5
6206 echo "${ECHO_T}$result" >&6; }
6207
6208
6209 enablestring=
6210 defaultval=$wxUSE_ALL_FEATURES
6211 if test -z "$defaultval"; then
6212 if test x"$enablestring" = xdisable; then
6213 defaultval=yes
6214 else
6215 defaultval=no
6216 fi
6217 fi
6218
6219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6221 # Check whether --enable-sockets was given.
6222 if test "${enable_sockets+set}" = set; then
6223 enableval=$enable_sockets;
6224 if test "$enableval" = yes; then
6225 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6226 else
6227 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6228 fi
6229 cache=yes
6230
6231 else
6232
6233 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x ; then
6235 eval "DEFAULT_$LINE"
6236 fi
6237
6238 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6239
6240 fi
6241
6242
6243 eval "$wx_cv_use_sockets"
6244 if test "x$cache" = xyes; then
6245 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_SOCKETS = yes; then
6250 result=no
6251 else
6252 result=yes
6253 fi
6254 else
6255 result=$wxUSE_SOCKETS
6256 fi
6257
6258 { echo "$as_me:$LINENO: result: $result" >&5
6259 echo "${ECHO_T}$result" >&6; }
6260
6261
6262 enablestring=
6263 defaultval=$wxUSE_ALL_FEATURES
6264 if test -z "$defaultval"; then
6265 if test x"$enablestring" = xdisable; then
6266 defaultval=yes
6267 else
6268 defaultval=no
6269 fi
6270 fi
6271
6272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6274 # Check whether --enable-ole was given.
6275 if test "${enable_ole+set}" = set; then
6276 enableval=$enable_ole;
6277 if test "$enableval" = yes; then
6278 wx_cv_use_ole='wxUSE_OLE=yes'
6279 else
6280 wx_cv_use_ole='wxUSE_OLE=no'
6281 fi
6282 cache=yes
6283
6284 else
6285
6286 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6287 if test "x$LINE" != x ; then
6288 eval "DEFAULT_$LINE"
6289 fi
6290
6291 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6292
6293 fi
6294
6295
6296 eval "$wx_cv_use_ole"
6297 if test "x$cache" = xyes; then
6298 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
6299 fi
6300
6301 if test x"$enablestring" = xdisable; then
6302 if test $wxUSE_OLE = yes; then
6303 result=no
6304 else
6305 result=yes
6306 fi
6307 else
6308 result=$wxUSE_OLE
6309 fi
6310
6311 { echo "$as_me:$LINENO: result: $result" >&5
6312 echo "${ECHO_T}$result" >&6; }
6313
6314
6315 enablestring=
6316 defaultval=$wxUSE_ALL_FEATURES
6317 if test -z "$defaultval"; then
6318 if test x"$enablestring" = xdisable; then
6319 defaultval=yes
6320 else
6321 defaultval=no
6322 fi
6323 fi
6324
6325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6326 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6327 # Check whether --enable-dataobj was given.
6328 if test "${enable_dataobj+set}" = set; then
6329 enableval=$enable_dataobj;
6330 if test "$enableval" = yes; then
6331 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6332 else
6333 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6334 fi
6335 cache=yes
6336
6337 else
6338
6339 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6342 fi
6343
6344 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_dataobj"
6350 if test "x$cache" = xyes; then
6351 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
6352 fi
6353
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_DATAOBJ = yes; then
6356 result=no
6357 else
6358 result=yes
6359 fi
6360 else
6361 result=$wxUSE_DATAOBJ
6362 fi
6363
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6366
6367
6368
6369 enablestring=
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6373 defaultval=yes
6374 else
6375 defaultval=no
6376 fi
6377 fi
6378
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6381 # Check whether --enable-ipc was given.
6382 if test "${enable_ipc+set}" = set; then
6383 enableval=$enable_ipc;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_ipc='wxUSE_IPC=yes'
6386 else
6387 wx_cv_use_ipc='wxUSE_IPC=no'
6388 fi
6389 cache=yes
6390
6391 else
6392
6393 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 fi
6397
6398 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6399
6400 fi
6401
6402
6403 eval "$wx_cv_use_ipc"
6404 if test "x$cache" = xyes; then
6405 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
6406 fi
6407
6408 if test x"$enablestring" = xdisable; then
6409 if test $wxUSE_IPC = yes; then
6410 result=no
6411 else
6412 result=yes
6413 fi
6414 else
6415 result=$wxUSE_IPC
6416 fi
6417
6418 { echo "$as_me:$LINENO: result: $result" >&5
6419 echo "${ECHO_T}$result" >&6; }
6420
6421
6422
6423 enablestring=
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6427 defaultval=yes
6428 else
6429 defaultval=no
6430 fi
6431 fi
6432
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6435 # Check whether --enable-baseevtloop was given.
6436 if test "${enable_baseevtloop+set}" = set; then
6437 enableval=$enable_baseevtloop;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6440 else
6441 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6442 fi
6443 cache=yes
6444
6445 else
6446
6447 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x ; then
6449 eval "DEFAULT_$LINE"
6450 fi
6451
6452 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6453
6454 fi
6455
6456
6457 eval "$wx_cv_use_baseevtloop"
6458 if test "x$cache" = xyes; then
6459 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6460 fi
6461
6462 if test x"$enablestring" = xdisable; then
6463 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6464 result=no
6465 else
6466 result=yes
6467 fi
6468 else
6469 result=$wxUSE_CONSOLE_EVENTLOOP
6470 fi
6471
6472 { echo "$as_me:$LINENO: result: $result" >&5
6473 echo "${ECHO_T}$result" >&6; }
6474
6475
6476 enablestring=
6477 defaultval=$wxUSE_ALL_FEATURES
6478 if test -z "$defaultval"; then
6479 if test x"$enablestring" = xdisable; then
6480 defaultval=yes
6481 else
6482 defaultval=no
6483 fi
6484 fi
6485
6486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6487 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6488 # Check whether --enable-epoolloop was given.
6489 if test "${enable_epoolloop+set}" = set; then
6490 enableval=$enable_epoolloop;
6491 if test "$enableval" = yes; then
6492 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6493 else
6494 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6495 fi
6496 cache=yes
6497
6498 else
6499
6500 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x ; then
6502 eval "DEFAULT_$LINE"
6503 fi
6504
6505 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6506
6507 fi
6508
6509
6510 eval "$wx_cv_use_epoolloop"
6511 if test "x$cache" = xyes; then
6512 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6513 fi
6514
6515 if test x"$enablestring" = xdisable; then
6516 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6517 result=no
6518 else
6519 result=yes
6520 fi
6521 else
6522 result=$wxUSE_EPOLL_DISPATCHER
6523 fi
6524
6525 { echo "$as_me:$LINENO: result: $result" >&5
6526 echo "${ECHO_T}$result" >&6; }
6527
6528
6529 enablestring=
6530 defaultval=$wxUSE_ALL_FEATURES
6531 if test -z "$defaultval"; then
6532 if test x"$enablestring" = xdisable; then
6533 defaultval=yes
6534 else
6535 defaultval=no
6536 fi
6537 fi
6538
6539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6540 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6541 # Check whether --enable-selectloop was given.
6542 if test "${enable_selectloop+set}" = set; then
6543 enableval=$enable_selectloop;
6544 if test "$enableval" = yes; then
6545 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6546 else
6547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6548 fi
6549 cache=yes
6550
6551 else
6552
6553 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x ; then
6555 eval "DEFAULT_$LINE"
6556 fi
6557
6558 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6559
6560 fi
6561
6562
6563 eval "$wx_cv_use_selectloop"
6564 if test "x$cache" = xyes; then
6565 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6566 fi
6567
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_SELECT_DISPATCHER = yes; then
6570 result=no
6571 else
6572 result=yes
6573 fi
6574 else
6575 result=$wxUSE_SELECT_DISPATCHER
6576 fi
6577
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6580
6581
6582
6583 enablestring=
6584 defaultval=$wxUSE_ALL_FEATURES
6585 if test -z "$defaultval"; then
6586 if test x"$enablestring" = xdisable; then
6587 defaultval=yes
6588 else
6589 defaultval=no
6590 fi
6591 fi
6592
6593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6594 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6595 # Check whether --enable-apple_ieee was given.
6596 if test "${enable_apple_ieee+set}" = set; then
6597 enableval=$enable_apple_ieee;
6598 if test "$enableval" = yes; then
6599 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6600 else
6601 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6602 fi
6603 cache=yes
6604
6605 else
6606
6607 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6610 fi
6611
6612 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6613
6614 fi
6615
6616
6617 eval "$wx_cv_use_apple_ieee"
6618 if test "x$cache" = xyes; then
6619 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test x"$enablestring" = xdisable; then
6623 if test $wxUSE_APPLE_IEEE = yes; then
6624 result=no
6625 else
6626 result=yes
6627 fi
6628 else
6629 result=$wxUSE_APPLE_IEEE
6630 fi
6631
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6634
6635
6636 enablestring=
6637 defaultval=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x"$enablestring" = xdisable; then
6640 defaultval=yes
6641 else
6642 defaultval=no
6643 fi
6644 fi
6645
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6648 # Check whether --enable-arcstream was given.
6649 if test "${enable_arcstream+set}" = set; then
6650 enableval=$enable_arcstream;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6653 else
6654 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6655 fi
6656 cache=yes
6657
6658 else
6659
6660 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6661 if test "x$LINE" != x ; then
6662 eval "DEFAULT_$LINE"
6663 fi
6664
6665 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6666
6667 fi
6668
6669
6670 eval "$wx_cv_use_arcstream"
6671 if test "x$cache" = xyes; then
6672 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6673 fi
6674
6675 if test x"$enablestring" = xdisable; then
6676 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6677 result=no
6678 else
6679 result=yes
6680 fi
6681 else
6682 result=$wxUSE_ARCHIVE_STREAMS
6683 fi
6684
6685 { echo "$as_me:$LINENO: result: $result" >&5
6686 echo "${ECHO_T}$result" >&6; }
6687
6688
6689 enablestring=
6690 defaultval=$wxUSE_ALL_FEATURES
6691 if test -z "$defaultval"; then
6692 if test x"$enablestring" = xdisable; then
6693 defaultval=yes
6694 else
6695 defaultval=no
6696 fi
6697 fi
6698
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6701 # Check whether --enable-base64 was given.
6702 if test "${enable_base64+set}" = set; then
6703 enableval=$enable_base64;
6704 if test "$enableval" = yes; then
6705 wx_cv_use_base64='wxUSE_BASE64=yes'
6706 else
6707 wx_cv_use_base64='wxUSE_BASE64=no'
6708 fi
6709 cache=yes
6710
6711 else
6712
6713 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6716 fi
6717
6718 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6719
6720 fi
6721
6722
6723 eval "$wx_cv_use_base64"
6724 if test "x$cache" = xyes; then
6725 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6726 fi
6727
6728 if test x"$enablestring" = xdisable; then
6729 if test $wxUSE_BASE64 = yes; then
6730 result=no
6731 else
6732 result=yes
6733 fi
6734 else
6735 result=$wxUSE_BASE64
6736 fi
6737
6738 { echo "$as_me:$LINENO: result: $result" >&5
6739 echo "${ECHO_T}$result" >&6; }
6740
6741
6742 enablestring=
6743 defaultval=$wxUSE_ALL_FEATURES
6744 if test -z "$defaultval"; then
6745 if test x"$enablestring" = xdisable; then
6746 defaultval=yes
6747 else
6748 defaultval=no
6749 fi
6750 fi
6751
6752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6753 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6754 # Check whether --enable-backtrace was given.
6755 if test "${enable_backtrace+set}" = set; then
6756 enableval=$enable_backtrace;
6757 if test "$enableval" = yes; then
6758 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6759 else
6760 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6761 fi
6762 cache=yes
6763
6764 else
6765
6766 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 fi
6770
6771 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6772
6773 fi
6774
6775
6776 eval "$wx_cv_use_backtrace"
6777 if test "x$cache" = xyes; then
6778 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test x"$enablestring" = xdisable; then
6782 if test $wxUSE_STACKWALKER = yes; then
6783 result=no
6784 else
6785 result=yes
6786 fi
6787 else
6788 result=$wxUSE_STACKWALKER
6789 fi
6790
6791 { echo "$as_me:$LINENO: result: $result" >&5
6792 echo "${ECHO_T}$result" >&6; }
6793
6794
6795 enablestring=
6796 defaultval=$wxUSE_ALL_FEATURES
6797 if test -z "$defaultval"; then
6798 if test x"$enablestring" = xdisable; then
6799 defaultval=yes
6800 else
6801 defaultval=no
6802 fi
6803 fi
6804
6805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6806 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6807 # Check whether --enable-catch_segvs was given.
6808 if test "${enable_catch_segvs+set}" = set; then
6809 enableval=$enable_catch_segvs;
6810 if test "$enableval" = yes; then
6811 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6812 else
6813 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6814 fi
6815 cache=yes
6816
6817 else
6818
6819 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x ; then
6821 eval "DEFAULT_$LINE"
6822 fi
6823
6824 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6825
6826 fi
6827
6828
6829 eval "$wx_cv_use_catch_segvs"
6830 if test "x$cache" = xyes; then
6831 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6832 fi
6833
6834 if test x"$enablestring" = xdisable; then
6835 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6836 result=no
6837 else
6838 result=yes
6839 fi
6840 else
6841 result=$wxUSE_ON_FATAL_EXCEPTION
6842 fi
6843
6844 { echo "$as_me:$LINENO: result: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6846
6847
6848 enablestring=
6849 defaultval=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x"$enablestring" = xdisable; then
6852 defaultval=yes
6853 else
6854 defaultval=no
6855 fi
6856 fi
6857
6858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6860 # Check whether --enable-cmdline was given.
6861 if test "${enable_cmdline+set}" = set; then
6862 enableval=$enable_cmdline;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6865 else
6866 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6867 fi
6868 cache=yes
6869
6870 else
6871
6872 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 fi
6876
6877 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6878
6879 fi
6880
6881
6882 eval "$wx_cv_use_cmdline"
6883 if test "x$cache" = xyes; then
6884 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6885 fi
6886
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_CMDLINE_PARSER = yes; then
6889 result=no
6890 else
6891 result=yes
6892 fi
6893 else
6894 result=$wxUSE_CMDLINE_PARSER
6895 fi
6896
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6899
6900
6901 enablestring=
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6905 defaultval=yes
6906 else
6907 defaultval=no
6908 fi
6909 fi
6910
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6913 # Check whether --enable-datetime was given.
6914 if test "${enable_datetime+set}" = set; then
6915 enableval=$enable_datetime;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6918 else
6919 wx_cv_use_datetime='wxUSE_DATETIME=no'
6920 fi
6921 cache=yes
6922
6923 else
6924
6925 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 fi
6929
6930 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6931
6932 fi
6933
6934
6935 eval "$wx_cv_use_datetime"
6936 if test "x$cache" = xyes; then
6937 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6938 fi
6939
6940 if test x"$enablestring" = xdisable; then
6941 if test $wxUSE_DATETIME = yes; then
6942 result=no
6943 else
6944 result=yes
6945 fi
6946 else
6947 result=$wxUSE_DATETIME
6948 fi
6949
6950 { echo "$as_me:$LINENO: result: $result" >&5
6951 echo "${ECHO_T}$result" >&6; }
6952
6953
6954 enablestring=
6955 defaultval=$wxUSE_ALL_FEATURES
6956 if test -z "$defaultval"; then
6957 if test x"$enablestring" = xdisable; then
6958 defaultval=yes
6959 else
6960 defaultval=no
6961 fi
6962 fi
6963
6964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6965 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6966 # Check whether --enable-debugreport was given.
6967 if test "${enable_debugreport+set}" = set; then
6968 enableval=$enable_debugreport;
6969 if test "$enableval" = yes; then
6970 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6971 else
6972 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6973 fi
6974 cache=yes
6975
6976 else
6977
6978 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 fi
6982
6983 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6984
6985 fi
6986
6987
6988 eval "$wx_cv_use_debugreport"
6989 if test "x$cache" = xyes; then
6990 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6991 fi
6992
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_DEBUGREPORT = yes; then
6995 result=no
6996 else
6997 result=yes
6998 fi
6999 else
7000 result=$wxUSE_DEBUGREPORT
7001 fi
7002
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7005
7006
7007 enablestring=
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7011 defaultval=yes
7012 else
7013 defaultval=no
7014 fi
7015 fi
7016
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7019 # Check whether --enable-dialupman was given.
7020 if test "${enable_dialupman+set}" = set; then
7021 enableval=$enable_dialupman;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7024 else
7025 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7026 fi
7027 cache=yes
7028
7029 else
7030
7031 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7032 if test "x$LINE" != x ; then
7033 eval "DEFAULT_$LINE"
7034 fi
7035
7036 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7037
7038 fi
7039
7040
7041 eval "$wx_cv_use_dialupman"
7042 if test "x$cache" = xyes; then
7043 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_DIALUP_MANAGER = yes; then
7048 result=no
7049 else
7050 result=yes
7051 fi
7052 else
7053 result=$wxUSE_DIALUP_MANAGER
7054 fi
7055
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7058
7059
7060 enablestring=
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7064 defaultval=yes
7065 else
7066 defaultval=no
7067 fi
7068 fi
7069
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7072 # Check whether --enable-dynlib was given.
7073 if test "${enable_dynlib+set}" = set; then
7074 enableval=$enable_dynlib;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7077 else
7078 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7079 fi
7080 cache=yes
7081
7082 else
7083
7084 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7087 fi
7088
7089 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7090
7091 fi
7092
7093
7094 eval "$wx_cv_use_dynlib"
7095 if test "x$cache" = xyes; then
7096 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_DYNLIB_CLASS = yes; then
7101 result=no
7102 else
7103 result=yes
7104 fi
7105 else
7106 result=$wxUSE_DYNLIB_CLASS
7107 fi
7108
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7111
7112
7113 enablestring=
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7117 defaultval=yes
7118 else
7119 defaultval=no
7120 fi
7121 fi
7122
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7125 # Check whether --enable-dynamicloader was given.
7126 if test "${enable_dynamicloader+set}" = set; then
7127 enableval=$enable_dynamicloader;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7130 else
7131 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7132 fi
7133 cache=yes
7134
7135 else
7136
7137 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7138 if test "x$LINE" != x ; then
7139 eval "DEFAULT_$LINE"
7140 fi
7141
7142 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7143
7144 fi
7145
7146
7147 eval "$wx_cv_use_dynamicloader"
7148 if test "x$cache" = xyes; then
7149 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
7150 fi
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_DYNAMIC_LOADER = yes; then
7154 result=no
7155 else
7156 result=yes
7157 fi
7158 else
7159 result=$wxUSE_DYNAMIC_LOADER
7160 fi
7161
7162 { echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6; }
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z "$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7178 # Check whether --enable-exceptions was given.
7179 if test "${enable_exceptions+set}" = set; then
7180 enableval=$enable_exceptions;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7183 else
7184 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7185 fi
7186 cache=yes
7187
7188 else
7189
7190 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x ; then
7192 eval "DEFAULT_$LINE"
7193 fi
7194
7195 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7196
7197 fi
7198
7199
7200 eval "$wx_cv_use_exceptions"
7201 if test "x$cache" = xyes; then
7202 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
7203 fi
7204
7205 if test x"$enablestring" = xdisable; then
7206 if test $wxUSE_EXCEPTIONS = yes; then
7207 result=no
7208 else
7209 result=yes
7210 fi
7211 else
7212 result=$wxUSE_EXCEPTIONS
7213 fi
7214
7215 { echo "$as_me:$LINENO: result: $result" >&5
7216 echo "${ECHO_T}$result" >&6; }
7217
7218
7219 enablestring=
7220 defaultval=$wxUSE_ALL_FEATURES
7221 if test -z "$defaultval"; then
7222 if test x"$enablestring" = xdisable; then
7223 defaultval=yes
7224 else
7225 defaultval=no
7226 fi
7227 fi
7228
7229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7231 # Check whether --enable-ffile was given.
7232 if test "${enable_ffile+set}" = set; then
7233 enableval=$enable_ffile;
7234 if test "$enableval" = yes; then
7235 wx_cv_use_ffile='wxUSE_FFILE=yes'
7236 else
7237 wx_cv_use_ffile='wxUSE_FFILE=no'
7238 fi
7239 cache=yes
7240
7241 else
7242
7243 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 fi
7247
7248 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7249
7250 fi
7251
7252
7253 eval "$wx_cv_use_ffile"
7254 if test "x$cache" = xyes; then
7255 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
7256 fi
7257
7258 if test x"$enablestring" = xdisable; then
7259 if test $wxUSE_FFILE = yes; then
7260 result=no
7261 else
7262 result=yes
7263 fi
7264 else
7265 result=$wxUSE_FFILE
7266 fi
7267
7268 { echo "$as_me:$LINENO: result: $result" >&5
7269 echo "${ECHO_T}$result" >&6; }
7270
7271
7272 enablestring=
7273 defaultval=$wxUSE_ALL_FEATURES
7274 if test -z "$defaultval"; then
7275 if test x"$enablestring" = xdisable; then
7276 defaultval=yes
7277 else
7278 defaultval=no
7279 fi
7280 fi
7281
7282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7283 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7284 # Check whether --enable-file was given.
7285 if test "${enable_file+set}" = set; then
7286 enableval=$enable_file;
7287 if test "$enableval" = yes; then
7288 wx_cv_use_file='wxUSE_FILE=yes'
7289 else
7290 wx_cv_use_file='wxUSE_FILE=no'
7291 fi
7292 cache=yes
7293
7294 else
7295
7296 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x ; then
7298 eval "DEFAULT_$LINE"
7299 fi
7300
7301 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7302
7303 fi
7304
7305
7306 eval "$wx_cv_use_file"
7307 if test "x$cache" = xyes; then
7308 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FILE = yes; then
7313 result=no
7314 else
7315 result=yes
7316 fi
7317 else
7318 result=$wxUSE_FILE
7319 fi
7320
7321 { echo "$as_me:$LINENO: result: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7323
7324
7325 enablestring=
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7329 defaultval=yes
7330 else
7331 defaultval=no
7332 fi
7333 fi
7334
7335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7337 # Check whether --enable-filesystem was given.
7338 if test "${enable_filesystem+set}" = set; then
7339 enableval=$enable_filesystem;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7342 else
7343 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7344 fi
7345 cache=yes
7346
7347 else
7348
7349 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x ; then
7351 eval "DEFAULT_$LINE"
7352 fi
7353
7354 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7355
7356 fi
7357
7358
7359 eval "$wx_cv_use_filesystem"
7360 if test "x$cache" = xyes; then
7361 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7362 fi
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FILESYSTEM = yes; then
7366 result=no
7367 else
7368 result=yes
7369 fi
7370 else
7371 result=$wxUSE_FILESYSTEM
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7390 # Check whether --enable-fontenum was given.
7391 if test "${enable_fontenum+set}" = set; then
7392 enableval=$enable_fontenum;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7395 else
7396 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7397 fi
7398 cache=yes
7399
7400 else
7401
7402 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7405 fi
7406
7407 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7408
7409 fi
7410
7411
7412 eval "$wx_cv_use_fontenum"
7413 if test "x$cache" = xyes; then
7414 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7415 fi
7416
7417 if test x"$enablestring" = xdisable; then
7418 if test $wxUSE_FONTENUM = yes; then
7419 result=no
7420 else
7421 result=yes
7422 fi
7423 else
7424 result=$wxUSE_FONTENUM
7425 fi
7426
7427 { echo "$as_me:$LINENO: result: $result" >&5
7428 echo "${ECHO_T}$result" >&6; }
7429
7430
7431 enablestring=
7432 defaultval=$wxUSE_ALL_FEATURES
7433 if test -z "$defaultval"; then
7434 if test x"$enablestring" = xdisable; then
7435 defaultval=yes
7436 else
7437 defaultval=no
7438 fi
7439 fi
7440
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7443 # Check whether --enable-fontmap was given.
7444 if test "${enable_fontmap+set}" = set; then
7445 enableval=$enable_fontmap;
7446 if test "$enableval" = yes; then
7447 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7448 else
7449 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7450 fi
7451 cache=yes
7452
7453 else
7454
7455 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7458 fi
7459
7460 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7461
7462 fi
7463
7464
7465 eval "$wx_cv_use_fontmap"
7466 if test "x$cache" = xyes; then
7467 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7468 fi
7469
7470 if test x"$enablestring" = xdisable; then
7471 if test $wxUSE_FONTMAP = yes; then
7472 result=no
7473 else
7474 result=yes
7475 fi
7476 else
7477 result=$wxUSE_FONTMAP
7478 fi
7479
7480 { echo "$as_me:$LINENO: result: $result" >&5
7481 echo "${ECHO_T}$result" >&6; }
7482
7483
7484 enablestring=
7485 defaultval=$wxUSE_ALL_FEATURES
7486 if test -z "$defaultval"; then
7487 if test x"$enablestring" = xdisable; then
7488 defaultval=yes
7489 else
7490 defaultval=no
7491 fi
7492 fi
7493
7494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7495 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7496 # Check whether --enable-fs_archive was given.
7497 if test "${enable_fs_archive+set}" = set; then
7498 enableval=$enable_fs_archive;
7499 if test "$enableval" = yes; then
7500 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7501 else
7502 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7503 fi
7504 cache=yes
7505
7506 else
7507
7508 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x ; then
7510 eval "DEFAULT_$LINE"
7511 fi
7512
7513 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7514
7515 fi
7516
7517
7518 eval "$wx_cv_use_fs_archive"
7519 if test "x$cache" = xyes; then
7520 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7521 fi
7522
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_FS_ARCHIVE = yes; then
7525 result=no
7526 else
7527 result=yes
7528 fi
7529 else
7530 result=$wxUSE_FS_ARCHIVE
7531 fi
7532
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7535
7536
7537 enablestring=
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7541 defaultval=yes
7542 else
7543 defaultval=no
7544 fi
7545 fi
7546
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7549 # Check whether --enable-fs_inet was given.
7550 if test "${enable_fs_inet+set}" = set; then
7551 enableval=$enable_fs_inet;
7552 if test "$enableval" = yes; then
7553 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7554 else
7555 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7556 fi
7557 cache=yes
7558
7559 else
7560
7561 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 fi
7565
7566 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7567
7568 fi
7569
7570
7571 eval "$wx_cv_use_fs_inet"
7572 if test "x$cache" = xyes; then
7573 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test x"$enablestring" = xdisable; then
7577 if test $wxUSE_FS_INET = yes; then
7578 result=no
7579 else
7580 result=yes
7581 fi
7582 else
7583 result=$wxUSE_FS_INET
7584 fi
7585
7586 { echo "$as_me:$LINENO: result: $result" >&5
7587 echo "${ECHO_T}$result" >&6; }
7588
7589
7590 enablestring=
7591 defaultval=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x"$enablestring" = xdisable; then
7594 defaultval=yes
7595 else
7596 defaultval=no
7597 fi
7598 fi
7599
7600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7601 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7602 # Check whether --enable-fs_zip was given.
7603 if test "${enable_fs_zip+set}" = set; then
7604 enableval=$enable_fs_zip;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7607 else
7608 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7609 fi
7610 cache=yes
7611
7612 else
7613
7614 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7615 if test "x$LINE" != x ; then
7616 eval "DEFAULT_$LINE"
7617 fi
7618
7619 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7620
7621 fi
7622
7623
7624 eval "$wx_cv_use_fs_zip"
7625 if test "x$cache" = xyes; then
7626 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7627 fi
7628
7629 if test x"$enablestring" = xdisable; then
7630 if test $wxUSE_FS_ZIP = yes; then
7631 result=no
7632 else
7633 result=yes
7634 fi
7635 else
7636 result=$wxUSE_FS_ZIP
7637 fi
7638
7639 { echo "$as_me:$LINENO: result: $result" >&5
7640 echo "${ECHO_T}$result" >&6; }
7641
7642
7643 enablestring=
7644 defaultval=$wxUSE_ALL_FEATURES
7645 if test -z "$defaultval"; then
7646 if test x"$enablestring" = xdisable; then
7647 defaultval=yes
7648 else
7649 defaultval=no
7650 fi
7651 fi
7652
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7655 # Check whether --enable-geometry was given.
7656 if test "${enable_geometry+set}" = set; then
7657 enableval=$enable_geometry;
7658 if test "$enableval" = yes; then
7659 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7660 else
7661 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7662 fi
7663 cache=yes
7664
7665 else
7666
7667 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7670 fi
7671
7672 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7673
7674 fi
7675
7676
7677 eval "$wx_cv_use_geometry"
7678 if test "x$cache" = xyes; then
7679 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7680 fi
7681
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_GEOMETRY = yes; then
7684 result=no
7685 else
7686 result=yes
7687 fi
7688 else
7689 result=$wxUSE_GEOMETRY
7690 fi
7691
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7694
7695
7696 enablestring=
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7700 defaultval=yes
7701 else
7702 defaultval=no
7703 fi
7704 fi
7705
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7708 # Check whether --enable-log was given.
7709 if test "${enable_log+set}" = set; then
7710 enableval=$enable_log;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_log='wxUSE_LOG=yes'
7713 else
7714 wx_cv_use_log='wxUSE_LOG=no'
7715 fi
7716 cache=yes
7717
7718 else
7719
7720 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x ; then
7722 eval "DEFAULT_$LINE"
7723 fi
7724
7725 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7726
7727 fi
7728
7729
7730 eval "$wx_cv_use_log"
7731 if test "x$cache" = xyes; then
7732 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test x"$enablestring" = xdisable; then
7736 if test $wxUSE_LOG = yes; then
7737 result=no
7738 else
7739 result=yes
7740 fi
7741 else
7742 result=$wxUSE_LOG
7743 fi
7744
7745 { echo "$as_me:$LINENO: result: $result" >&5
7746 echo "${ECHO_T}$result" >&6; }
7747
7748
7749 enablestring=
7750 defaultval=$wxUSE_ALL_FEATURES
7751 if test -z "$defaultval"; then
7752 if test x"$enablestring" = xdisable; then
7753 defaultval=yes
7754 else
7755 defaultval=no
7756 fi
7757 fi
7758
7759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7761 # Check whether --enable-longlong was given.
7762 if test "${enable_longlong+set}" = set; then
7763 enableval=$enable_longlong;
7764 if test "$enableval" = yes; then
7765 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7766 else
7767 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7768 fi
7769 cache=yes
7770
7771 else
7772
7773 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7776 fi
7777
7778 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7779
7780 fi
7781
7782
7783 eval "$wx_cv_use_longlong"
7784 if test "x$cache" = xyes; then
7785 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7786 fi
7787
7788 if test x"$enablestring" = xdisable; then
7789 if test $wxUSE_LONGLONG = yes; then
7790 result=no
7791 else
7792 result=yes
7793 fi
7794 else
7795 result=$wxUSE_LONGLONG
7796 fi
7797
7798 { echo "$as_me:$LINENO: result: $result" >&5
7799 echo "${ECHO_T}$result" >&6; }
7800
7801
7802 enablestring=
7803 defaultval=$wxUSE_ALL_FEATURES
7804 if test -z "$defaultval"; then
7805 if test x"$enablestring" = xdisable; then
7806 defaultval=yes
7807 else
7808 defaultval=no
7809 fi
7810 fi
7811
7812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7813 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7814 # Check whether --enable-mimetype was given.
7815 if test "${enable_mimetype+set}" = set; then
7816 enableval=$enable_mimetype;
7817 if test "$enableval" = yes; then
7818 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7819 else
7820 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7821 fi
7822 cache=yes
7823
7824 else
7825
7826 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x ; then
7828 eval "DEFAULT_$LINE"
7829 fi
7830
7831 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7832
7833 fi
7834
7835
7836 eval "$wx_cv_use_mimetype"
7837 if test "x$cache" = xyes; then
7838 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7839 fi
7840
7841 if test x"$enablestring" = xdisable; then
7842 if test $wxUSE_MIMETYPE = yes; then
7843 result=no
7844 else
7845 result=yes
7846 fi
7847 else
7848 result=$wxUSE_MIMETYPE
7849 fi
7850
7851 { echo "$as_me:$LINENO: result: $result" >&5
7852 echo "${ECHO_T}$result" >&6; }
7853
7854
7855 enablestring=
7856 defaultval=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x"$enablestring" = xdisable; then
7859 defaultval=yes
7860 else
7861 defaultval=no
7862 fi
7863 fi
7864
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7867 # Check whether --enable-snglinst was given.
7868 if test "${enable_snglinst+set}" = set; then
7869 enableval=$enable_snglinst;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7872 else
7873 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7874 fi
7875 cache=yes
7876
7877 else
7878
7879 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 fi
7883
7884 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7885
7886 fi
7887
7888
7889 eval "$wx_cv_use_snglinst"
7890 if test "x$cache" = xyes; then
7891 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7892 fi
7893
7894 if test x"$enablestring" = xdisable; then
7895 if test $wxUSE_SNGLINST_CHECKER = yes; then
7896 result=no
7897 else
7898 result=yes
7899 fi
7900 else
7901 result=$wxUSE_SNGLINST_CHECKER
7902 fi
7903
7904 { echo "$as_me:$LINENO: result: $result" >&5
7905 echo "${ECHO_T}$result" >&6; }
7906
7907
7908 enablestring=
7909 defaultval=$wxUSE_ALL_FEATURES
7910 if test -z "$defaultval"; then
7911 if test x"$enablestring" = xdisable; then
7912 defaultval=yes
7913 else
7914 defaultval=no
7915 fi
7916 fi
7917
7918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7920 # Check whether --enable-stdpaths was given.
7921 if test "${enable_stdpaths+set}" = set; then
7922 enableval=$enable_stdpaths;
7923 if test "$enableval" = yes; then
7924 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7925 else
7926 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7927 fi
7928 cache=yes
7929
7930 else
7931
7932 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 fi
7936
7937 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_stdpaths"
7943 if test "x$cache" = xyes; then
7944 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7945 fi
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_STDPATHS = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_STDPATHS
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7973 # Check whether --enable-stopwatch was given.
7974 if test "${enable_stopwatch+set}" = set; then
7975 enableval=$enable_stopwatch;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7978 else
7979 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7980 fi
7981 cache=yes
7982
7983 else
7984
7985 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7986 if test "x$LINE" != x ; then
7987 eval "DEFAULT_$LINE"
7988 fi
7989
7990 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7991
7992 fi
7993
7994
7995 eval "$wx_cv_use_stopwatch"
7996 if test "x$cache" = xyes; then
7997 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7998 fi
7999
8000 if test x"$enablestring" = xdisable; then
8001 if test $wxUSE_STOPWATCH = yes; then
8002 result=no
8003 else
8004 result=yes
8005 fi
8006 else
8007 result=$wxUSE_STOPWATCH
8008 fi
8009
8010 { echo "$as_me:$LINENO: result: $result" >&5
8011 echo "${ECHO_T}$result" >&6; }
8012
8013
8014 enablestring=
8015 defaultval=$wxUSE_ALL_FEATURES
8016 if test -z "$defaultval"; then
8017 if test x"$enablestring" = xdisable; then
8018 defaultval=yes
8019 else
8020 defaultval=no
8021 fi
8022 fi
8023
8024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8025 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8026 # Check whether --enable-streams was given.
8027 if test "${enable_streams+set}" = set; then
8028 enableval=$enable_streams;
8029 if test "$enableval" = yes; then
8030 wx_cv_use_streams='wxUSE_STREAMS=yes'
8031 else
8032 wx_cv_use_streams='wxUSE_STREAMS=no'
8033 fi
8034 cache=yes
8035
8036 else
8037
8038 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8039 if test "x$LINE" != x ; then
8040 eval "DEFAULT_$LINE"
8041 fi
8042
8043 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8044
8045 fi
8046
8047
8048 eval "$wx_cv_use_streams"
8049 if test "x$cache" = xyes; then
8050 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
8051 fi
8052
8053 if test x"$enablestring" = xdisable; then
8054 if test $wxUSE_STREAMS = yes; then
8055 result=no
8056 else
8057 result=yes
8058 fi
8059 else
8060 result=$wxUSE_STREAMS
8061 fi
8062
8063 { echo "$as_me:$LINENO: result: $result" >&5
8064 echo "${ECHO_T}$result" >&6; }
8065
8066
8067 enablestring=
8068 defaultval=$wxUSE_ALL_FEATURES
8069 if test -z "$defaultval"; then
8070 if test x"$enablestring" = xdisable; then
8071 defaultval=yes
8072 else
8073 defaultval=no
8074 fi
8075 fi
8076
8077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8078 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8079 # Check whether --enable-system_options was given.
8080 if test "${enable_system_options+set}" = set; then
8081 enableval=$enable_system_options;
8082 if test "$enableval" = yes; then
8083 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8084 else
8085 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8086 fi
8087 cache=yes
8088
8089 else
8090
8091 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 fi
8095
8096 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8097
8098 fi
8099
8100
8101 eval "$wx_cv_use_system_options"
8102 if test "x$cache" = xyes; then
8103 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
8104 fi
8105
8106 if test x"$enablestring" = xdisable; then
8107 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8108 result=no
8109 else
8110 result=yes
8111 fi
8112 else
8113 result=$wxUSE_SYSTEM_OPTIONS
8114 fi
8115
8116 { echo "$as_me:$LINENO: result: $result" >&5
8117 echo "${ECHO_T}$result" >&6; }
8118
8119
8120 enablestring=
8121 defaultval=$wxUSE_ALL_FEATURES
8122 if test -z "$defaultval"; then
8123 if test x"$enablestring" = xdisable; then
8124 defaultval=yes
8125 else
8126 defaultval=no
8127 fi
8128 fi
8129
8130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8132 # Check whether --enable-tarstream was given.
8133 if test "${enable_tarstream+set}" = set; then
8134 enableval=$enable_tarstream;
8135 if test "$enableval" = yes; then
8136 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8137 else
8138 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8139 fi
8140 cache=yes
8141
8142 else
8143
8144 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8145 if test "x$LINE" != x ; then
8146 eval "DEFAULT_$LINE"
8147 fi
8148
8149 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_tarstream"
8155 if test "x$cache" = xyes; then
8156 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_TARSTREAM = yes; then
8161 result=no
8162 else
8163 result=yes
8164 fi
8165 else
8166 result=$wxUSE_TARSTREAM
8167 fi
8168
8169 { echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6; }
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8185 # Check whether --enable-textbuf was given.
8186 if test "${enable_textbuf+set}" = set; then
8187 enableval=$enable_textbuf;
8188 if test "$enableval" = yes; then
8189 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8190 else
8191 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8192 fi
8193 cache=yes
8194
8195 else
8196
8197 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8200 fi
8201
8202 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8203
8204 fi
8205
8206
8207 eval "$wx_cv_use_textbuf"
8208 if test "x$cache" = xyes; then
8209 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test x"$enablestring" = xdisable; then
8213 if test $wxUSE_TEXTBUFFER = yes; then
8214 result=no
8215 else
8216 result=yes
8217 fi
8218 else
8219 result=$wxUSE_TEXTBUFFER
8220 fi
8221
8222 { echo "$as_me:$LINENO: result: $result" >&5
8223 echo "${ECHO_T}$result" >&6; }
8224
8225
8226 enablestring=
8227 defaultval=$wxUSE_ALL_FEATURES
8228 if test -z "$defaultval"; then
8229 if test x"$enablestring" = xdisable; then
8230 defaultval=yes
8231 else
8232 defaultval=no
8233 fi
8234 fi
8235
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8238 # Check whether --enable-textfile was given.
8239 if test "${enable_textfile+set}" = set; then
8240 enableval=$enable_textfile;
8241 if test "$enableval" = yes; then
8242 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8243 else
8244 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8245 fi
8246 cache=yes
8247
8248 else
8249
8250 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 fi
8254
8255 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8256
8257 fi
8258
8259
8260 eval "$wx_cv_use_textfile"
8261 if test "x$cache" = xyes; then
8262 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test x"$enablestring" = xdisable; then
8266 if test $wxUSE_TEXTFILE = yes; then
8267 result=no
8268 else
8269 result=yes
8270 fi
8271 else
8272 result=$wxUSE_TEXTFILE
8273 fi
8274
8275 { echo "$as_me:$LINENO: result: $result" >&5
8276 echo "${ECHO_T}$result" >&6; }
8277
8278
8279 enablestring=
8280 defaultval=$wxUSE_ALL_FEATURES
8281 if test -z "$defaultval"; then
8282 if test x"$enablestring" = xdisable; then
8283 defaultval=yes
8284 else
8285 defaultval=no
8286 fi
8287 fi
8288
8289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8290 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8291 # Check whether --enable-timer was given.
8292 if test "${enable_timer+set}" = set; then
8293 enableval=$enable_timer;
8294 if test "$enableval" = yes; then
8295 wx_cv_use_timer='wxUSE_TIMER=yes'
8296 else
8297 wx_cv_use_timer='wxUSE_TIMER=no'
8298 fi
8299 cache=yes
8300
8301 else
8302
8303 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8304 if test "x$LINE" != x ; then
8305 eval "DEFAULT_$LINE"
8306 fi
8307
8308 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8309
8310 fi
8311
8312
8313 eval "$wx_cv_use_timer"
8314 if test "x$cache" = xyes; then
8315 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8316 fi
8317
8318 if test x"$enablestring" = xdisable; then
8319 if test $wxUSE_TIMER = yes; then
8320 result=no
8321 else
8322 result=yes
8323 fi
8324 else
8325 result=$wxUSE_TIMER
8326 fi
8327
8328 { echo "$as_me:$LINENO: result: $result" >&5
8329 echo "${ECHO_T}$result" >&6; }
8330
8331
8332 enablestring=
8333 defaultval=$wxUSE_ALL_FEATURES
8334 if test -z "$defaultval"; then
8335 if test x"$enablestring" = xdisable; then
8336 defaultval=yes
8337 else
8338 defaultval=no
8339 fi
8340 fi
8341
8342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8343 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8344 # Check whether --enable-sound was given.
8345 if test "${enable_sound+set}" = set; then
8346 enableval=$enable_sound;
8347 if test "$enableval" = yes; then
8348 wx_cv_use_sound='wxUSE_SOUND=yes'
8349 else
8350 wx_cv_use_sound='wxUSE_SOUND=no'
8351 fi
8352 cache=yes
8353
8354 else
8355
8356 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x ; then
8358 eval "DEFAULT_$LINE"
8359 fi
8360
8361 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8362
8363 fi
8364
8365
8366 eval "$wx_cv_use_sound"
8367 if test "x$cache" = xyes; then
8368 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8369 fi
8370
8371 if test x"$enablestring" = xdisable; then
8372 if test $wxUSE_SOUND = yes; then
8373 result=no
8374 else
8375 result=yes
8376 fi
8377 else
8378 result=$wxUSE_SOUND
8379 fi
8380
8381 { echo "$as_me:$LINENO: result: $result" >&5
8382 echo "${ECHO_T}$result" >&6; }
8383
8384
8385 enablestring=
8386 defaultval=$wxUSE_ALL_FEATURES
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8389 defaultval=yes
8390 else
8391 defaultval=no
8392 fi
8393 fi
8394
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8397 # Check whether --enable-mediactrl was given.
8398 if test "${enable_mediactrl+set}" = set; then
8399 enableval=$enable_mediactrl;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8402 else
8403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8404 fi
8405 cache=yes
8406
8407 else
8408
8409 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 fi
8413
8414 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_mediactrl"
8420 if test "x$cache" = xyes; then
8421 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8422 fi
8423
8424 if test x"$enablestring" = xdisable; then
8425 if test $wxUSE_MEDIACTRL = yes; then
8426 result=no
8427 else
8428 result=yes
8429 fi
8430 else
8431 result=$wxUSE_MEDIACTRL
8432 fi
8433
8434 { echo "$as_me:$LINENO: result: $result" >&5
8435 echo "${ECHO_T}$result" >&6; }
8436
8437
8438 enablestring=
8439 defaultval=$wxUSE_ALL_FEATURES
8440 if test -z "$defaultval"; then
8441 if test x"$enablestring" = xdisable; then
8442 defaultval=yes
8443 else
8444 defaultval=no
8445 fi
8446 fi
8447
8448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8450 # Check whether --enable-gstreamer8 was given.
8451 if test "${enable_gstreamer8+set}" = set; then
8452 enableval=$enable_gstreamer8;
8453 if test "$enableval" = yes; then
8454 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8455 else
8456 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8457 fi
8458 cache=yes
8459
8460 else
8461
8462 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x ; then
8464 eval "DEFAULT_$LINE"
8465 fi
8466
8467 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8468
8469 fi
8470
8471
8472 eval "$wx_cv_use_gstreamer8"
8473 if test "x$cache" = xyes; then
8474 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8475 fi
8476
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_GSTREAMER8 = yes; then
8479 result=no
8480 else
8481 result=yes
8482 fi
8483 else
8484 result=$wxUSE_GSTREAMER8
8485 fi
8486
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8489
8490
8491 enablestring=
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8495 defaultval=yes
8496 else
8497 defaultval=no
8498 fi
8499 fi
8500
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8503 # Check whether --enable-printfposparam was given.
8504 if test "${enable_printfposparam+set}" = set; then
8505 enableval=$enable_printfposparam;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8508 else
8509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8510 fi
8511 cache=yes
8512
8513 else
8514
8515 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x ; then
8517 eval "DEFAULT_$LINE"
8518 fi
8519
8520 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8521
8522 fi
8523
8524
8525 eval "$wx_cv_use_printfposparam"
8526 if test "x$cache" = xyes; then
8527 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test x"$enablestring" = xdisable; then
8531 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8532 result=no
8533 else
8534 result=yes
8535 fi
8536 else
8537 result=$wxUSE_PRINTF_POS_PARAMS
8538 fi
8539
8540 { echo "$as_me:$LINENO: result: $result" >&5
8541 echo "${ECHO_T}$result" >&6; }
8542
8543
8544 enablestring=
8545 defaultval=$wxUSE_ALL_FEATURES
8546 if test -z "$defaultval"; then
8547 if test x"$enablestring" = xdisable; then
8548 defaultval=yes
8549 else
8550 defaultval=no
8551 fi
8552 fi
8553
8554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8555 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8556 # Check whether --enable-zipstream was given.
8557 if test "${enable_zipstream+set}" = set; then
8558 enableval=$enable_zipstream;
8559 if test "$enableval" = yes; then
8560 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8561 else
8562 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8563 fi
8564 cache=yes
8565
8566 else
8567
8568 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8571 fi
8572
8573 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8574
8575 fi
8576
8577
8578 eval "$wx_cv_use_zipstream"
8579 if test "x$cache" = xyes; then
8580 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test x"$enablestring" = xdisable; then
8584 if test $wxUSE_ZIPSTREAM = yes; then
8585 result=no
8586 else
8587 result=yes
8588 fi
8589 else
8590 result=$wxUSE_ZIPSTREAM
8591 fi
8592
8593 { echo "$as_me:$LINENO: result: $result" >&5
8594 echo "${ECHO_T}$result" >&6; }
8595
8596
8597
8598 enablestring=
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8602 defaultval=yes
8603 else
8604 defaultval=no
8605 fi
8606 fi
8607
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8610 # Check whether --enable-url was given.
8611 if test "${enable_url+set}" = set; then
8612 enableval=$enable_url;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_url='wxUSE_URL=yes'
8615 else
8616 wx_cv_use_url='wxUSE_URL=no'
8617 fi
8618 cache=yes
8619
8620 else
8621
8622 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 fi
8626
8627 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8628
8629 fi
8630
8631
8632 eval "$wx_cv_use_url"
8633 if test "x$cache" = xyes; then
8634 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8635 fi
8636
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_URL = yes; then
8639 result=no
8640 else
8641 result=yes
8642 fi
8643 else
8644 result=$wxUSE_URL
8645 fi
8646
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8649
8650
8651 enablestring=
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8655 defaultval=yes
8656 else
8657 defaultval=no
8658 fi
8659 fi
8660
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8663 # Check whether --enable-variant was given.
8664 if test "${enable_variant+set}" = set; then
8665 enableval=$enable_variant;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_variant='wxUSE_VARIANT=yes'
8668 else
8669 wx_cv_use_variant='wxUSE_VARIANT=no'
8670 fi
8671 cache=yes
8672
8673 else
8674
8675 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x ; then
8677 eval "DEFAULT_$LINE"
8678 fi
8679
8680 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8681
8682 fi
8683
8684
8685 eval "$wx_cv_use_variant"
8686 if test "x$cache" = xyes; then
8687 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8688 fi
8689
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_VARIANT = yes; then
8692 result=no
8693 else
8694 result=yes
8695 fi
8696 else
8697 result=$wxUSE_VARIANT
8698 fi
8699
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8702
8703
8704 enablestring=
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8708 defaultval=yes
8709 else
8710 defaultval=no
8711 fi
8712 fi
8713
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8716 # Check whether --enable-protocol was given.
8717 if test "${enable_protocol+set}" = set; then
8718 enableval=$enable_protocol;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8721 else
8722 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8723 fi
8724 cache=yes
8725
8726 else
8727
8728 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8729 if test "x$LINE" != x ; then
8730 eval "DEFAULT_$LINE"
8731 fi
8732
8733 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8734
8735 fi
8736
8737
8738 eval "$wx_cv_use_protocol"
8739 if test "x$cache" = xyes; then
8740 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8741 fi
8742
8743 if test x"$enablestring" = xdisable; then
8744 if test $wxUSE_PROTOCOL = yes; then
8745 result=no
8746 else
8747 result=yes
8748 fi
8749 else
8750 result=$wxUSE_PROTOCOL
8751 fi
8752
8753 { echo "$as_me:$LINENO: result: $result" >&5
8754 echo "${ECHO_T}$result" >&6; }
8755
8756
8757 enablestring=
8758 defaultval=$wxUSE_ALL_FEATURES
8759 if test -z "$defaultval"; then
8760 if test x"$enablestring" = xdisable; then
8761 defaultval=yes
8762 else
8763 defaultval=no
8764 fi
8765 fi
8766
8767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8769 # Check whether --enable-protocol_http was given.
8770 if test "${enable_protocol_http+set}" = set; then
8771 enableval=$enable_protocol_http;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8774 else
8775 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8776 fi
8777 cache=yes
8778
8779 else
8780
8781 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8782 if test "x$LINE" != x ; then
8783 eval "DEFAULT_$LINE"
8784 fi
8785
8786 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8787
8788 fi
8789
8790
8791 eval "$wx_cv_use_protocol_http"
8792 if test "x$cache" = xyes; then
8793 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8794 fi
8795
8796 if test x"$enablestring" = xdisable; then
8797 if test $wxUSE_PROTOCOL_HTTP = yes; then
8798 result=no
8799 else
8800 result=yes
8801 fi
8802 else
8803 result=$wxUSE_PROTOCOL_HTTP
8804 fi
8805
8806 { echo "$as_me:$LINENO: result: $result" >&5
8807 echo "${ECHO_T}$result" >&6; }
8808
8809
8810 enablestring=
8811 defaultval=$wxUSE_ALL_FEATURES
8812 if test -z "$defaultval"; then
8813 if test x"$enablestring" = xdisable; then
8814 defaultval=yes
8815 else
8816 defaultval=no
8817 fi
8818 fi
8819
8820 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8822 # Check whether --enable-protocol_ftp was given.
8823 if test "${enable_protocol_ftp+set}" = set; then
8824 enableval=$enable_protocol_ftp;
8825 if test "$enableval" = yes; then
8826 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8827 else
8828 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8829 fi
8830 cache=yes
8831
8832 else
8833
8834 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x ; then
8836 eval "DEFAULT_$LINE"
8837 fi
8838
8839 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8840
8841 fi
8842
8843
8844 eval "$wx_cv_use_protocol_ftp"
8845 if test "x$cache" = xyes; then
8846 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8847 fi
8848
8849 if test x"$enablestring" = xdisable; then
8850 if test $wxUSE_PROTOCOL_FTP = yes; then
8851 result=no
8852 else
8853 result=yes
8854 fi
8855 else
8856 result=$wxUSE_PROTOCOL_FTP
8857 fi
8858
8859 { echo "$as_me:$LINENO: result: $result" >&5
8860 echo "${ECHO_T}$result" >&6; }
8861
8862
8863 enablestring=
8864 defaultval=$wxUSE_ALL_FEATURES
8865 if test -z "$defaultval"; then
8866 if test x"$enablestring" = xdisable; then
8867 defaultval=yes
8868 else
8869 defaultval=no
8870 fi
8871 fi
8872
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8875 # Check whether --enable-protocol_file was given.
8876 if test "${enable_protocol_file+set}" = set; then
8877 enableval=$enable_protocol_file;
8878 if test "$enableval" = yes; then
8879 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8880 else
8881 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8882 fi
8883 cache=yes
8884
8885 else
8886
8887 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 fi
8891
8892 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8893
8894 fi
8895
8896
8897 eval "$wx_cv_use_protocol_file"
8898 if test "x$cache" = xyes; then
8899 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8900 fi
8901
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_PROTOCOL_FILE = yes; then
8904 result=no
8905 else
8906 result=yes
8907 fi
8908 else
8909 result=$wxUSE_PROTOCOL_FILE
8910 fi
8911
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8914
8915
8916
8917 enablestring=
8918 defaultval=$wxUSE_ALL_FEATURES
8919 if test -z "$defaultval"; then
8920 if test x"$enablestring" = xdisable; then
8921 defaultval=yes
8922 else
8923 defaultval=no
8924 fi
8925 fi
8926
8927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8928 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8929 # Check whether --enable-threads was given.
8930 if test "${enable_threads+set}" = set; then
8931 enableval=$enable_threads;
8932 if test "$enableval" = yes; then
8933 wx_cv_use_threads='wxUSE_THREADS=yes'
8934 else
8935 wx_cv_use_threads='wxUSE_THREADS=no'
8936 fi
8937 cache=yes
8938
8939 else
8940
8941 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8942 if test "x$LINE" != x ; then
8943 eval "DEFAULT_$LINE"
8944 fi
8945
8946 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8947
8948 fi
8949
8950
8951 eval "$wx_cv_use_threads"
8952 if test "x$cache" = xyes; then
8953 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8954 fi
8955
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_THREADS = yes; then
8958 result=no
8959 else
8960 result=yes
8961 fi
8962 else
8963 result=$wxUSE_THREADS
8964 fi
8965
8966 { echo "$as_me:$LINENO: result: $result" >&5
8967 echo "${ECHO_T}$result" >&6; }
8968
8969
8970 if test "$wxUSE_GUI" = "yes"; then
8971
8972
8973
8974 enablestring=
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8978 defaultval=yes
8979 else
8980 defaultval=no
8981 fi
8982 fi
8983
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8986 # Check whether --enable-docview was given.
8987 if test "${enable_docview+set}" = set; then
8988 enableval=$enable_docview;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8991 else
8992 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8993 fi
8994 cache=yes
8995
8996 else
8997
8998 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x ; then
9000 eval "DEFAULT_$LINE"
9001 fi
9002
9003 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9004
9005 fi
9006
9007
9008 eval "$wx_cv_use_docview"
9009 if test "x$cache" = xyes; then
9010 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9011 fi
9012
9013 if test x"$enablestring" = xdisable; then
9014 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9015 result=no
9016 else
9017 result=yes
9018 fi
9019 else
9020 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9021 fi
9022
9023 { echo "$as_me:$LINENO: result: $result" >&5
9024 echo "${ECHO_T}$result" >&6; }
9025
9026
9027 enablestring=
9028 defaultval=$wxUSE_ALL_FEATURES
9029 if test -z "$defaultval"; then
9030 if test x"$enablestring" = xdisable; then
9031 defaultval=yes
9032 else
9033 defaultval=no
9034 fi
9035 fi
9036
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9039 # Check whether --enable-help was given.
9040 if test "${enable_help+set}" = set; then
9041 enableval=$enable_help;
9042 if test "$enableval" = yes; then
9043 wx_cv_use_help='wxUSE_HELP=yes'
9044 else
9045 wx_cv_use_help='wxUSE_HELP=no'
9046 fi
9047 cache=yes
9048
9049 else
9050
9051 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9054 fi
9055
9056 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9057
9058 fi
9059
9060
9061 eval "$wx_cv_use_help"
9062 if test "x$cache" = xyes; then
9063 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
9064 fi
9065
9066 if test x"$enablestring" = xdisable; then
9067 if test $wxUSE_HELP = yes; then
9068 result=no
9069 else
9070 result=yes
9071 fi
9072 else
9073 result=$wxUSE_HELP
9074 fi
9075
9076 { echo "$as_me:$LINENO: result: $result" >&5
9077 echo "${ECHO_T}$result" >&6; }
9078
9079
9080 enablestring=
9081 defaultval=$wxUSE_ALL_FEATURES
9082 if test -z "$defaultval"; then
9083 if test x"$enablestring" = xdisable; then
9084 defaultval=yes
9085 else
9086 defaultval=no
9087 fi
9088 fi
9089
9090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9091 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9092 # Check whether --enable-mshtmlhelp was given.
9093 if test "${enable_mshtmlhelp+set}" = set; then
9094 enableval=$enable_mshtmlhelp;
9095 if test "$enableval" = yes; then
9096 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9097 else
9098 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9099 fi
9100 cache=yes
9101
9102 else
9103
9104 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9107 fi
9108
9109 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9110
9111 fi
9112
9113
9114 eval "$wx_cv_use_mshtmlhelp"
9115 if test "x$cache" = xyes; then
9116 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test x"$enablestring" = xdisable; then
9120 if test $wxUSE_MS_HTML_HELP = yes; then
9121 result=no
9122 else
9123 result=yes
9124 fi
9125 else
9126 result=$wxUSE_MS_HTML_HELP
9127 fi
9128
9129 { echo "$as_me:$LINENO: result: $result" >&5
9130 echo "${ECHO_T}$result" >&6; }
9131
9132
9133 enablestring=
9134 defaultval=$wxUSE_ALL_FEATURES
9135 if test -z "$defaultval"; then
9136 if test x"$enablestring" = xdisable; then
9137 defaultval=yes
9138 else
9139 defaultval=no
9140 fi
9141 fi
9142
9143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9145 # Check whether --enable-html was given.
9146 if test "${enable_html+set}" = set; then
9147 enableval=$enable_html;
9148 if test "$enableval" = yes; then
9149 wx_cv_use_html='wxUSE_HTML=yes'
9150 else
9151 wx_cv_use_html='wxUSE_HTML=no'
9152 fi
9153 cache=yes
9154
9155 else
9156
9157 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 fi
9161
9162 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9163
9164 fi
9165
9166
9167 eval "$wx_cv_use_html"
9168 if test "x$cache" = xyes; then
9169 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9170 fi
9171
9172 if test x"$enablestring" = xdisable; then
9173 if test $wxUSE_HTML = yes; then
9174 result=no
9175 else
9176 result=yes
9177 fi
9178 else
9179 result=$wxUSE_HTML
9180 fi
9181
9182 { echo "$as_me:$LINENO: result: $result" >&5
9183 echo "${ECHO_T}$result" >&6; }
9184
9185
9186 enablestring=
9187 defaultval=$wxUSE_ALL_FEATURES
9188 if test -z "$defaultval"; then
9189 if test x"$enablestring" = xdisable; then
9190 defaultval=yes
9191 else
9192 defaultval=no
9193 fi
9194 fi
9195
9196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9198 # Check whether --enable-htmlhelp was given.
9199 if test "${enable_htmlhelp+set}" = set; then
9200 enableval=$enable_htmlhelp;
9201 if test "$enableval" = yes; then
9202 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9203 else
9204 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9205 fi
9206 cache=yes
9207
9208 else
9209
9210 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9213 fi
9214
9215 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9216
9217 fi
9218
9219
9220 eval "$wx_cv_use_htmlhelp"
9221 if test "x$cache" = xyes; then
9222 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9223 fi
9224
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_WXHTML_HELP = yes; then
9227 result=no
9228 else
9229 result=yes
9230 fi
9231 else
9232 result=$wxUSE_WXHTML_HELP
9233 fi
9234
9235 { echo "$as_me:$LINENO: result: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
9237
9238
9239 enablestring=
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9243 defaultval=yes
9244 else
9245 defaultval=no
9246 fi
9247 fi
9248
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9251 # Check whether --enable-xrc was given.
9252 if test "${enable_xrc+set}" = set; then
9253 enableval=$enable_xrc;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_xrc='wxUSE_XRC=yes'
9256 else
9257 wx_cv_use_xrc='wxUSE_XRC=no'
9258 fi
9259 cache=yes
9260
9261 else
9262
9263 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 fi
9267
9268 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9269
9270 fi
9271
9272
9273 eval "$wx_cv_use_xrc"
9274 if test "x$cache" = xyes; then
9275 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9276 fi
9277
9278 if test x"$enablestring" = xdisable; then
9279 if test $wxUSE_XRC = yes; then
9280 result=no
9281 else
9282 result=yes
9283 fi
9284 else
9285 result=$wxUSE_XRC
9286 fi
9287
9288 { echo "$as_me:$LINENO: result: $result" >&5
9289 echo "${ECHO_T}$result" >&6; }
9290
9291
9292 enablestring=
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9296 defaultval=yes
9297 else
9298 defaultval=no
9299 fi
9300 fi
9301
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9304 # Check whether --enable-aui was given.
9305 if test "${enable_aui+set}" = set; then
9306 enableval=$enable_aui;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_aui='wxUSE_AUI=yes'
9309 else
9310 wx_cv_use_aui='wxUSE_AUI=no'
9311 fi
9312 cache=yes
9313
9314 else
9315
9316 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 fi
9320
9321 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9322
9323 fi
9324
9325
9326 eval "$wx_cv_use_aui"
9327 if test "x$cache" = xyes; then
9328 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9329 fi
9330
9331 if test x"$enablestring" = xdisable; then
9332 if test $wxUSE_AUI = yes; then
9333 result=no
9334 else
9335 result=yes
9336 fi
9337 else
9338 result=$wxUSE_AUI
9339 fi
9340
9341 { echo "$as_me:$LINENO: result: $result" >&5
9342 echo "${ECHO_T}$result" >&6; }
9343
9344
9345 enablestring=
9346 defaultval=$wxUSE_ALL_FEATURES
9347 if test -z "$defaultval"; then
9348 if test x"$enablestring" = xdisable; then
9349 defaultval=yes
9350 else
9351 defaultval=no
9352 fi
9353 fi
9354
9355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9357 # Check whether --enable-stc was given.
9358 if test "${enable_stc+set}" = set; then
9359 enableval=$enable_stc;
9360 if test "$enableval" = yes; then
9361 wx_cv_use_stc='wxUSE_STC=yes'
9362 else
9363 wx_cv_use_stc='wxUSE_STC=no'
9364 fi
9365 cache=yes
9366
9367 else
9368
9369 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9370 if test "x$LINE" != x ; then
9371 eval "DEFAULT_$LINE"
9372 fi
9373
9374 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9375
9376 fi
9377
9378
9379 eval "$wx_cv_use_stc"
9380 if test "x$cache" = xyes; then
9381 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test x"$enablestring" = xdisable; then
9385 if test $wxUSE_STC = yes; then
9386 result=no
9387 else
9388 result=yes
9389 fi
9390 else
9391 result=$wxUSE_STC
9392 fi
9393
9394 { echo "$as_me:$LINENO: result: $result" >&5
9395 echo "${ECHO_T}$result" >&6; }
9396
9397
9398 enablestring=
9399 defaultval=$wxUSE_ALL_FEATURES
9400 if test -z "$defaultval"; then
9401 if test x"$enablestring" = xdisable; then
9402 defaultval=yes
9403 else
9404 defaultval=no
9405 fi
9406 fi
9407
9408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9409 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9410 # Check whether --enable-constraints was given.
9411 if test "${enable_constraints+set}" = set; then
9412 enableval=$enable_constraints;
9413 if test "$enableval" = yes; then
9414 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9415 else
9416 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9417 fi
9418 cache=yes
9419
9420 else
9421
9422 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 fi
9426
9427 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9428
9429 fi
9430
9431
9432 eval "$wx_cv_use_constraints"
9433 if test "x$cache" = xyes; then
9434 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9435 fi
9436
9437 if test x"$enablestring" = xdisable; then
9438 if test $wxUSE_CONSTRAINTS = yes; then
9439 result=no
9440 else
9441 result=yes
9442 fi
9443 else
9444 result=$wxUSE_CONSTRAINTS
9445 fi
9446
9447 { echo "$as_me:$LINENO: result: $result" >&5
9448 echo "${ECHO_T}$result" >&6; }
9449
9450
9451 enablestring=
9452 defaultval=$wxUSE_ALL_FEATURES
9453 if test -z "$defaultval"; then
9454 if test x"$enablestring" = xdisable; then
9455 defaultval=yes
9456 else
9457 defaultval=no
9458 fi
9459 fi
9460
9461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9462 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9463 # Check whether --enable-printarch was given.
9464 if test "${enable_printarch+set}" = set; then
9465 enableval=$enable_printarch;
9466 if test "$enableval" = yes; then
9467 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9468 else
9469 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9470 fi
9471 cache=yes
9472
9473 else
9474
9475 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9476 if test "x$LINE" != x ; then
9477 eval "DEFAULT_$LINE"
9478 fi
9479
9480 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9481
9482 fi
9483
9484
9485 eval "$wx_cv_use_printarch"
9486 if test "x$cache" = xyes; then
9487 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9488 fi
9489
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9492 result=no
9493 else
9494 result=yes
9495 fi
9496 else
9497 result=$wxUSE_PRINTING_ARCHITECTURE
9498 fi
9499
9500 { echo "$as_me:$LINENO: result: $result" >&5
9501 echo "${ECHO_T}$result" >&6; }
9502
9503
9504 enablestring=
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9508 defaultval=yes
9509 else
9510 defaultval=no
9511 fi
9512 fi
9513
9514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9516 # Check whether --enable-mdi was given.
9517 if test "${enable_mdi+set}" = set; then
9518 enableval=$enable_mdi;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_mdi='wxUSE_MDI=yes'
9521 else
9522 wx_cv_use_mdi='wxUSE_MDI=no'
9523 fi
9524 cache=yes
9525
9526 else
9527
9528 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9529 if test "x$LINE" != x ; then
9530 eval "DEFAULT_$LINE"
9531 fi
9532
9533 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9534
9535 fi
9536
9537
9538 eval "$wx_cv_use_mdi"
9539 if test "x$cache" = xyes; then
9540 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9541 fi
9542
9543 if test x"$enablestring" = xdisable; then
9544 if test $wxUSE_MDI = yes; then
9545 result=no
9546 else
9547 result=yes
9548 fi
9549 else
9550 result=$wxUSE_MDI
9551 fi
9552
9553 { echo "$as_me:$LINENO: result: $result" >&5
9554 echo "${ECHO_T}$result" >&6; }
9555
9556
9557 enablestring=
9558 defaultval=$wxUSE_ALL_FEATURES
9559 if test -z "$defaultval"; then
9560 if test x"$enablestring" = xdisable; then
9561 defaultval=yes
9562 else
9563 defaultval=no
9564 fi
9565 fi
9566
9567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9568 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9569 # Check whether --enable-mdidoc was given.
9570 if test "${enable_mdidoc+set}" = set; then
9571 enableval=$enable_mdidoc;
9572 if test "$enableval" = yes; then
9573 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9574 else
9575 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9576 fi
9577 cache=yes
9578
9579 else
9580
9581 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x ; then
9583 eval "DEFAULT_$LINE"
9584 fi
9585
9586 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9587
9588 fi
9589
9590
9591 eval "$wx_cv_use_mdidoc"
9592 if test "x$cache" = xyes; then
9593 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9594 fi
9595
9596 if test x"$enablestring" = xdisable; then
9597 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9598 result=no
9599 else
9600 result=yes
9601 fi
9602 else
9603 result=$wxUSE_MDI_ARCHITECTURE
9604 fi
9605
9606 { echo "$as_me:$LINENO: result: $result" >&5
9607 echo "${ECHO_T}$result" >&6; }
9608
9609
9610 enablestring=
9611 defaultval=$wxUSE_ALL_FEATURES
9612 if test -z "$defaultval"; then
9613 if test x"$enablestring" = xdisable; then
9614 defaultval=yes
9615 else
9616 defaultval=no
9617 fi
9618 fi
9619
9620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9621 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9622 # Check whether --enable-loggui was given.
9623 if test "${enable_loggui+set}" = set; then
9624 enableval=$enable_loggui;
9625 if test "$enableval" = yes; then
9626 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9627 else
9628 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9629 fi
9630 cache=yes
9631
9632 else
9633
9634 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x ; then
9636 eval "DEFAULT_$LINE"
9637 fi
9638
9639 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9640
9641 fi
9642
9643
9644 eval "$wx_cv_use_loggui"
9645 if test "x$cache" = xyes; then
9646 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test x"$enablestring" = xdisable; then
9650 if test $wxUSE_LOGGUI = yes; then
9651 result=no
9652 else
9653 result=yes
9654 fi
9655 else
9656 result=$wxUSE_LOGGUI
9657 fi
9658
9659 { echo "$as_me:$LINENO: result: $result" >&5
9660 echo "${ECHO_T}$result" >&6; }
9661
9662
9663 enablestring=
9664 defaultval=$wxUSE_ALL_FEATURES
9665 if test -z "$defaultval"; then
9666 if test x"$enablestring" = xdisable; then
9667 defaultval=yes
9668 else
9669 defaultval=no
9670 fi
9671 fi
9672
9673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9675 # Check whether --enable-logwin was given.
9676 if test "${enable_logwin+set}" = set; then
9677 enableval=$enable_logwin;
9678 if test "$enableval" = yes; then
9679 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9680 else
9681 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9682 fi
9683 cache=yes
9684
9685 else
9686
9687 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9688 if test "x$LINE" != x ; then
9689 eval "DEFAULT_$LINE"
9690 fi
9691
9692 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9693
9694 fi
9695
9696
9697 eval "$wx_cv_use_logwin"
9698 if test "x$cache" = xyes; then
9699 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9700 fi
9701
9702 if test x"$enablestring" = xdisable; then
9703 if test $wxUSE_LOGWINDOW = yes; then
9704 result=no
9705 else
9706 result=yes
9707 fi
9708 else
9709 result=$wxUSE_LOGWINDOW
9710 fi
9711
9712 { echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6; }
9714
9715
9716 enablestring=
9717 defaultval=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x"$enablestring" = xdisable; then
9720 defaultval=yes
9721 else
9722 defaultval=no
9723 fi
9724 fi
9725
9726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9728 # Check whether --enable-logdialog was given.
9729 if test "${enable_logdialog+set}" = set; then
9730 enableval=$enable_logdialog;
9731 if test "$enableval" = yes; then
9732 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9733 else
9734 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9735 fi
9736 cache=yes
9737
9738 else
9739
9740 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9741 if test "x$LINE" != x ; then
9742 eval "DEFAULT_$LINE"
9743 fi
9744
9745 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9746
9747 fi
9748
9749
9750 eval "$wx_cv_use_logdialog"
9751 if test "x$cache" = xyes; then
9752 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9753 fi
9754
9755 if test x"$enablestring" = xdisable; then
9756 if test $wxUSE_LOGDIALOG = yes; then
9757 result=no
9758 else
9759 result=yes
9760 fi
9761 else
9762 result=$wxUSE_LOGDIALOG
9763 fi
9764
9765 { echo "$as_me:$LINENO: result: $result" >&5
9766 echo "${ECHO_T}$result" >&6; }
9767
9768
9769 enablestring=
9770 defaultval=$wxUSE_ALL_FEATURES
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9773 defaultval=yes
9774 else
9775 defaultval=no
9776 fi
9777 fi
9778
9779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9781 # Check whether --enable-webkit was given.
9782 if test "${enable_webkit+set}" = set; then
9783 enableval=$enable_webkit;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9786 else
9787 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9788 fi
9789 cache=yes
9790
9791 else
9792
9793 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9794 if test "x$LINE" != x ; then
9795 eval "DEFAULT_$LINE"
9796 fi
9797
9798 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9799
9800 fi
9801
9802
9803 eval "$wx_cv_use_webkit"
9804 if test "x$cache" = xyes; then
9805 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9806 fi
9807
9808 if test x"$enablestring" = xdisable; then
9809 if test $wxUSE_WEBKIT = yes; then
9810 result=no
9811 else
9812 result=yes
9813 fi
9814 else
9815 result=$wxUSE_WEBKIT
9816 fi
9817
9818 { echo "$as_me:$LINENO: result: $result" >&5
9819 echo "${ECHO_T}$result" >&6; }
9820
9821
9822 enablestring=
9823 defaultval=$wxUSE_ALL_FEATURES
9824 if test -z "$defaultval"; then
9825 if test x"$enablestring" = xdisable; then
9826 defaultval=yes
9827 else
9828 defaultval=no
9829 fi
9830 fi
9831
9832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9834 # Check whether --enable-richtext was given.
9835 if test "${enable_richtext+set}" = set; then
9836 enableval=$enable_richtext;
9837 if test "$enableval" = yes; then
9838 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9839 else
9840 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9841 fi
9842 cache=yes
9843
9844 else
9845
9846 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9847 if test "x$LINE" != x ; then
9848 eval "DEFAULT_$LINE"
9849 fi
9850
9851 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9852
9853 fi
9854
9855
9856 eval "$wx_cv_use_richtext"
9857 if test "x$cache" = xyes; then
9858 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9859 fi
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_RICHTEXT = yes; then
9863 result=no
9864 else
9865 result=yes
9866 fi
9867 else
9868 result=$wxUSE_RICHTEXT
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9887 # Check whether --enable-graphics_ctx was given.
9888 if test "${enable_graphics_ctx+set}" = set; then
9889 enableval=$enable_graphics_ctx;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9892 else
9893 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9894 fi
9895 cache=yes
9896
9897 else
9898
9899 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 fi
9903
9904 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9905
9906 fi
9907
9908
9909 eval "$wx_cv_use_graphics_ctx"
9910 if test "x$cache" = xyes; then
9911 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9912 fi
9913
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9916 result=no
9917 else
9918 result=yes
9919 fi
9920 else
9921 result=$wxUSE_GRAPHICS_CONTEXT
9922 fi
9923
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9926
9927
9928 enablestring=
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9932 defaultval=yes
9933 else
9934 defaultval=no
9935 fi
9936 fi
9937
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9940 # Check whether --enable-postscript was given.
9941 if test "${enable_postscript+set}" = set; then
9942 enableval=$enable_postscript;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9945 else
9946 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9947 fi
9948 cache=yes
9949
9950 else
9951
9952 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 fi
9956
9957 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9958
9959 fi
9960
9961
9962 eval "$wx_cv_use_postscript"
9963 if test "x$cache" = xyes; then
9964 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9965 fi
9966
9967 if test x"$enablestring" = xdisable; then
9968 if test $wxUSE_POSTSCRIPT = yes; then
9969 result=no
9970 else
9971 result=yes
9972 fi
9973 else
9974 result=$wxUSE_POSTSCRIPT
9975 fi
9976
9977 { echo "$as_me:$LINENO: result: $result" >&5
9978 echo "${ECHO_T}$result" >&6; }
9979
9980
9981 enablestring=
9982 defaultval=$wxUSE_ALL_FEATURES
9983 if test -z "$defaultval"; then
9984 if test x"$enablestring" = xdisable; then
9985 defaultval=yes
9986 else
9987 defaultval=no
9988 fi
9989 fi
9990
9991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9993 # Check whether --enable-svg was given.
9994 if test "${enable_svg+set}" = set; then
9995 enableval=$enable_svg;
9996 if test "$enableval" = yes; then
9997 wx_cv_use_svg='wxUSE_SVG=yes'
9998 else
9999 wx_cv_use_svg='wxUSE_SVG=no'
10000 fi
10001 cache=yes
10002
10003 else
10004
10005 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x ; then
10007 eval "DEFAULT_$LINE"
10008 fi
10009
10010 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10011
10012 fi
10013
10014
10015 eval "$wx_cv_use_svg"
10016 if test "x$cache" = xyes; then
10017 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
10018 fi
10019
10020 if test x"$enablestring" = xdisable; then
10021 if test $wxUSE_SVG = yes; then
10022 result=no
10023 else
10024 result=yes
10025 fi
10026 else
10027 result=$wxUSE_SVG
10028 fi
10029
10030 { echo "$as_me:$LINENO: result: $result" >&5
10031 echo "${ECHO_T}$result" >&6; }
10032
10033
10034
10035
10036 enablestring=
10037 defaultval=$wxUSE_ALL_FEATURES
10038 if test -z "$defaultval"; then
10039 if test x"$enablestring" = xdisable; then
10040 defaultval=yes
10041 else
10042 defaultval=no
10043 fi
10044 fi
10045
10046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10048 # Check whether --enable-clipboard was given.
10049 if test "${enable_clipboard+set}" = set; then
10050 enableval=$enable_clipboard;
10051 if test "$enableval" = yes; then
10052 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10053 else
10054 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10055 fi
10056 cache=yes
10057
10058 else
10059
10060 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10061 if test "x$LINE" != x ; then
10062 eval "DEFAULT_$LINE"
10063 fi
10064
10065 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10066
10067 fi
10068
10069
10070 eval "$wx_cv_use_clipboard"
10071 if test "x$cache" = xyes; then
10072 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
10073 fi
10074
10075 if test x"$enablestring" = xdisable; then
10076 if test $wxUSE_CLIPBOARD = yes; then
10077 result=no
10078 else
10079 result=yes
10080 fi
10081 else
10082 result=$wxUSE_CLIPBOARD
10083 fi
10084
10085 { echo "$as_me:$LINENO: result: $result" >&5
10086 echo "${ECHO_T}$result" >&6; }
10087
10088
10089 enablestring=
10090 defaultval=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x"$enablestring" = xdisable; then
10093 defaultval=yes
10094 else
10095 defaultval=no
10096 fi
10097 fi
10098
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10101 # Check whether --enable-dnd was given.
10102 if test "${enable_dnd+set}" = set; then
10103 enableval=$enable_dnd;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10106 else
10107 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10108 fi
10109 cache=yes
10110
10111 else
10112
10113 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10116 fi
10117
10118 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10119
10120 fi
10121
10122
10123 eval "$wx_cv_use_dnd"
10124 if test "x$cache" = xyes; then
10125 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10126 fi
10127
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_DRAG_AND_DROP = yes; then
10130 result=no
10131 else
10132 result=yes
10133 fi
10134 else
10135 result=$wxUSE_DRAG_AND_DROP
10136 fi
10137
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10140
10141
10142 enablestring=
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10146 defaultval=yes
10147 else
10148 defaultval=no
10149 fi
10150 fi
10151
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10154 # Check whether --enable-metafile was given.
10155 if test "${enable_metafile+set}" = set; then
10156 enableval=$enable_metafile;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10159 else
10160 wx_cv_use_metafile='wxUSE_METAFILE=no'
10161 fi
10162 cache=yes
10163
10164 else
10165
10166 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x ; then
10168 eval "DEFAULT_$LINE"
10169 fi
10170
10171 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10172
10173 fi
10174
10175
10176 eval "$wx_cv_use_metafile"
10177 if test "x$cache" = xyes; then
10178 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10179 fi
10180
10181 if test x"$enablestring" = xdisable; then
10182 if test $wxUSE_METAFILE = yes; then
10183 result=no
10184 else
10185 result=yes
10186 fi
10187 else
10188 result=$wxUSE_METAFILE
10189 fi
10190
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10193
10194
10195
10196 DEFAULT_wxUSE_CONTROLS=none
10197
10198 enablestring=disable
10199 defaultval=
10200 if test -z "$defaultval"; then
10201 if test x"$enablestring" = xdisable; then
10202 defaultval=yes
10203 else
10204 defaultval=no
10205 fi
10206 fi
10207
10208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10209 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10210 # Check whether --enable-controls was given.
10211 if test "${enable_controls+set}" = set; then
10212 enableval=$enable_controls;
10213 if test "$enableval" = yes; then
10214 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10215 else
10216 wx_cv_use_controls='wxUSE_CONTROLS=no'
10217 fi
10218 cache=yes
10219
10220 else
10221
10222 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10223 if test "x$LINE" != x ; then
10224 eval "DEFAULT_$LINE"
10225 fi
10226
10227 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10228
10229 fi
10230
10231
10232 eval "$wx_cv_use_controls"
10233 if test "x$cache" = xyes; then
10234 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10235 fi
10236
10237 if test x"$enablestring" = xdisable; then
10238 if test $wxUSE_CONTROLS = yes; then
10239 result=no
10240 else
10241 result=yes
10242 fi
10243 else
10244 result=$wxUSE_CONTROLS
10245 fi
10246
10247 { echo "$as_me:$LINENO: result: $result" >&5
10248 echo "${ECHO_T}$result" >&6; }
10249
10250
10251 if test "$wxUSE_CONTROLS" = "yes"; then
10252 DEFAULT_wxUSE_ACCEL=yes
10253 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10254 DEFAULT_wxUSE_BMPBUTTON=yes
10255 DEFAULT_wxUSE_BUTTON=yes
10256 DEFAULT_wxUSE_CALCTRL=yes
10257 DEFAULT_wxUSE_CARET=yes
10258 DEFAULT_wxUSE_COMBOBOX=yes
10259 DEFAULT_wxUSE_CHECKBOX=yes
10260 DEFAULT_wxUSE_CHECKLISTBOX=yes
10261 DEFAULT_wxUSE_CHOICE=yes
10262 DEFAULT_wxUSE_CHOICEBOOK=yes
10263 DEFAULT_wxUSE_COLLPANE=yes
10264 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10265 DEFAULT_wxUSE_COMBOBOX=yes
10266 DEFAULT_wxUSE_DATEPICKCTRL=yes
10267 DEFAULT_wxUSE_DISPLAY=yes
10268 DEFAULT_wxUSE_DETECT_SM=yes
10269 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10270 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10271 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10272 DEFAULT_wxUSE_GAUGE=yes
10273 DEFAULT_wxUSE_GRID=yes
10274 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10275 DEFAULT_wxUSE_DATAVIEWCTRL=no
10276 DEFAULT_wxUSE_IMAGLIST=yes
10277 DEFAULT_wxUSE_LISTBOOK=yes
10278 DEFAULT_wxUSE_LISTBOX=yes
10279 DEFAULT_wxUSE_LISTCTRL=yes
10280 DEFAULT_wxUSE_NOTEBOOK=yes
10281 DEFAULT_wxUSE_RADIOBOX=yes
10282 DEFAULT_wxUSE_RADIOBTN=yes
10283 DEFAULT_wxUSE_SASH=yes
10284 DEFAULT_wxUSE_SCROLLBAR=yes
10285 DEFAULT_wxUSE_SEARCHCTRL=yes
10286 DEFAULT_wxUSE_SLIDER=yes
10287 DEFAULT_wxUSE_SPINBTN=yes
10288 DEFAULT_wxUSE_SPINCTRL=yes
10289 DEFAULT_wxUSE_SPLITTER=yes
10290 DEFAULT_wxUSE_STATBMP=yes
10291 DEFAULT_wxUSE_STATBOX=yes
10292 DEFAULT_wxUSE_STATLINE=yes
10293 DEFAULT_wxUSE_STATUSBAR=yes
10294 DEFAULT_wxUSE_TAB_DIALOG=yes
10295 DEFAULT_wxUSE_TOGGLEBTN=yes
10296 DEFAULT_wxUSE_TOOLBAR=yes
10297 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10298 DEFAULT_wxUSE_TOOLTIPS=yes
10299 DEFAULT_wxUSE_TREEBOOK=yes
10300 DEFAULT_wxUSE_TOOLBOOK=yes
10301 DEFAULT_wxUSE_TREECTRL=yes
10302 DEFAULT_wxUSE_POPUPWIN=yes
10303 DEFAULT_wxUSE_TIPWINDOW=yes
10304 elif test "$wxUSE_CONTROLS" = "no"; then
10305 DEFAULT_wxUSE_ACCEL=no
10306 DEFAULT_wxUSE_ANIMATIONCTRL=no
10307 DEFAULT_wxUSE_BMPBUTTON=no
10308 DEFAULT_wxUSE_BUTTON=no
10309 DEFAULT_wxUSE_CALCTRL=no
10310 DEFAULT_wxUSE_CARET=no
10311 DEFAULT_wxUSE_COLLPANE=no
10312 DEFAULT_wxUSE_COMBOBOX=no
10313 DEFAULT_wxUSE_CHECKBOX=no
10314 DEFAULT_wxUSE_CHECKLISTBOX=no
10315 DEFAULT_wxUSE_CHOICE=no
10316 DEFAULT_wxUSE_CHOICEBOOK=no
10317 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10318 DEFAULT_wxUSE_COMBOBOX=no
10319 DEFAULT_wxUSE_DATEPICKCTRL=no
10320 DEFAULT_wxUSE_DISPLAY=no
10321 DEFAULT_wxUSE_DETECT_SM=no
10322 DEFAULT_wxUSE_DIRPICKERCTRL=no
10323 DEFAULT_wxUSE_FILEPICKERCTRL=no
10324 DEFAULT_wxUSE_FONTPICKERCTRL=no
10325 DEFAULT_wxUSE_GAUGE=no
10326 DEFAULT_wxUSE_GRID=no
10327 DEFAULT_wxUSE_HYPERLINKCTRL=no
10328 DEFAULT_wxUSE_DATAVIEWCTRL=no
10329 DEFAULT_wxUSE_IMAGLIST=no
10330 DEFAULT_wxUSE_LISTBOOK=no
10331 DEFAULT_wxUSE_LISTBOX=no
10332 DEFAULT_wxUSE_LISTCTRL=no
10333 DEFAULT_wxUSE_NOTEBOOK=no
10334 DEFAULT_wxUSE_RADIOBOX=no
10335 DEFAULT_wxUSE_RADIOBTN=no
10336 DEFAULT_wxUSE_SASH=no
10337 DEFAULT_wxUSE_SCROLLBAR=no
10338 DEFAULT_wxUSE_SEARCHCTRL=no
10339 DEFAULT_wxUSE_SLIDER=no
10340 DEFAULT_wxUSE_SPINBTN=no
10341 DEFAULT_wxUSE_SPINCTRL=no
10342 DEFAULT_wxUSE_SPLITTER=no
10343 DEFAULT_wxUSE_STATBMP=no
10344 DEFAULT_wxUSE_STATBOX=no
10345 DEFAULT_wxUSE_STATLINE=no
10346 DEFAULT_wxUSE_STATUSBAR=no
10347 DEFAULT_wxUSE_TAB_DIALOG=no
10348 DEFAULT_wxUSE_TOGGLEBTN=no
10349 DEFAULT_wxUSE_TOOLBAR=no
10350 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10351 DEFAULT_wxUSE_TOOLTIPS=no
10352 DEFAULT_wxUSE_TREEBOOK=no
10353 DEFAULT_wxUSE_TOOLBOOK=no
10354 DEFAULT_wxUSE_TREECTRL=no
10355 DEFAULT_wxUSE_POPUPWIN=no
10356 DEFAULT_wxUSE_TIPWINDOW=no
10357 fi
10358
10359
10360 enablestring=
10361 defaultval=$wxUSE_ALL_FEATURES
10362 if test -z "$defaultval"; then
10363 if test x"$enablestring" = xdisable; then
10364 defaultval=yes
10365 else
10366 defaultval=no
10367 fi
10368 fi
10369
10370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10372 # Check whether --enable-accel was given.
10373 if test "${enable_accel+set}" = set; then
10374 enableval=$enable_accel;
10375 if test "$enableval" = yes; then
10376 wx_cv_use_accel='wxUSE_ACCEL=yes'
10377 else
10378 wx_cv_use_accel='wxUSE_ACCEL=no'
10379 fi
10380 cache=yes
10381
10382 else
10383
10384 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 fi
10388
10389 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10390
10391 fi
10392
10393
10394 eval "$wx_cv_use_accel"
10395 if test "x$cache" = xyes; then
10396 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10397 fi
10398
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_ACCEL = yes; then
10401 result=no
10402 else
10403 result=yes
10404 fi
10405 else
10406 result=$wxUSE_ACCEL
10407 fi
10408
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10411
10412
10413 enablestring=
10414 defaultval=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x"$enablestring" = xdisable; then
10417 defaultval=yes
10418 else
10419 defaultval=no
10420 fi
10421 fi
10422
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10425 # Check whether --enable-animatectrl was given.
10426 if test "${enable_animatectrl+set}" = set; then
10427 enableval=$enable_animatectrl;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10430 else
10431 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10432 fi
10433 cache=yes
10434
10435 else
10436
10437 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10438 if test "x$LINE" != x ; then
10439 eval "DEFAULT_$LINE"
10440 fi
10441
10442 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10443
10444 fi
10445
10446
10447 eval "$wx_cv_use_animatectrl"
10448 if test "x$cache" = xyes; then
10449 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10450 fi
10451
10452 if test x"$enablestring" = xdisable; then
10453 if test $wxUSE_ANIMATIONCTRL = yes; then
10454 result=no
10455 else
10456 result=yes
10457 fi
10458 else
10459 result=$wxUSE_ANIMATIONCTRL
10460 fi
10461
10462 { echo "$as_me:$LINENO: result: $result" >&5
10463 echo "${ECHO_T}$result" >&6; }
10464
10465
10466 enablestring=
10467 defaultval=$wxUSE_ALL_FEATURES
10468 if test -z "$defaultval"; then
10469 if test x"$enablestring" = xdisable; then
10470 defaultval=yes
10471 else
10472 defaultval=no
10473 fi
10474 fi
10475
10476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10477 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10478 # Check whether --enable-button was given.
10479 if test "${enable_button+set}" = set; then
10480 enableval=$enable_button;
10481 if test "$enableval" = yes; then
10482 wx_cv_use_button='wxUSE_BUTTON=yes'
10483 else
10484 wx_cv_use_button='wxUSE_BUTTON=no'
10485 fi
10486 cache=yes
10487
10488 else
10489
10490 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10491 if test "x$LINE" != x ; then
10492 eval "DEFAULT_$LINE"
10493 fi
10494
10495 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10496
10497 fi
10498
10499
10500 eval "$wx_cv_use_button"
10501 if test "x$cache" = xyes; then
10502 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10503 fi
10504
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_BUTTON = yes; then
10507 result=no
10508 else
10509 result=yes
10510 fi
10511 else
10512 result=$wxUSE_BUTTON
10513 fi
10514
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10517
10518
10519 enablestring=
10520 defaultval=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x"$enablestring" = xdisable; then
10523 defaultval=yes
10524 else
10525 defaultval=no
10526 fi
10527 fi
10528
10529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10530 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10531 # Check whether --enable-bmpbutton was given.
10532 if test "${enable_bmpbutton+set}" = set; then
10533 enableval=$enable_bmpbutton;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10536 else
10537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10538 fi
10539 cache=yes
10540
10541 else
10542
10543 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10544 if test "x$LINE" != x ; then
10545 eval "DEFAULT_$LINE"
10546 fi
10547
10548 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_bmpbutton"
10554 if test "x$cache" = xyes; then
10555 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10556 fi
10557
10558 if test x"$enablestring" = xdisable; then
10559 if test $wxUSE_BMPBUTTON = yes; then
10560 result=no
10561 else
10562 result=yes
10563 fi
10564 else
10565 result=$wxUSE_BMPBUTTON
10566 fi
10567
10568 { echo "$as_me:$LINENO: result: $result" >&5
10569 echo "${ECHO_T}$result" >&6; }
10570
10571
10572 enablestring=
10573 defaultval=$wxUSE_ALL_FEATURES
10574 if test -z "$defaultval"; then
10575 if test x"$enablestring" = xdisable; then
10576 defaultval=yes
10577 else
10578 defaultval=no
10579 fi
10580 fi
10581
10582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10584 # Check whether --enable-bmpcombobox was given.
10585 if test "${enable_bmpcombobox+set}" = set; then
10586 enableval=$enable_bmpcombobox;
10587 if test "$enableval" = yes; then
10588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10589 else
10590 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10591 fi
10592 cache=yes
10593
10594 else
10595
10596 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x ; then
10598 eval "DEFAULT_$LINE"
10599 fi
10600
10601 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10602
10603 fi
10604
10605
10606 eval "$wx_cv_use_bmpcombobox"
10607 if test "x$cache" = xyes; then
10608 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10609 fi
10610
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10613 result=no
10614 else
10615 result=yes
10616 fi
10617 else
10618 result=$wxUSE_BITMAPCOMBOBOX
10619 fi
10620
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10623
10624
10625 enablestring=
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10629 defaultval=yes
10630 else
10631 defaultval=no
10632 fi
10633 fi
10634
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10637 # Check whether --enable-calendar was given.
10638 if test "${enable_calendar+set}" = set; then
10639 enableval=$enable_calendar;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10642 else
10643 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10644 fi
10645 cache=yes
10646
10647 else
10648
10649 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10650 if test "x$LINE" != x ; then
10651 eval "DEFAULT_$LINE"
10652 fi
10653
10654 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10655
10656 fi
10657
10658
10659 eval "$wx_cv_use_calendar"
10660 if test "x$cache" = xyes; then
10661 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10662 fi
10663
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_CALCTRL = yes; then
10666 result=no
10667 else
10668 result=yes
10669 fi
10670 else
10671 result=$wxUSE_CALCTRL
10672 fi
10673
10674 { echo "$as_me:$LINENO: result: $result" >&5
10675 echo "${ECHO_T}$result" >&6; }
10676
10677
10678 enablestring=
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10682 defaultval=yes
10683 else
10684 defaultval=no
10685 fi
10686 fi
10687
10688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10690 # Check whether --enable-caret was given.
10691 if test "${enable_caret+set}" = set; then
10692 enableval=$enable_caret;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_caret='wxUSE_CARET=yes'
10695 else
10696 wx_cv_use_caret='wxUSE_CARET=no'
10697 fi
10698 cache=yes
10699
10700 else
10701
10702 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10703 if test "x$LINE" != x ; then
10704 eval "DEFAULT_$LINE"
10705 fi
10706
10707 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10708
10709 fi
10710
10711
10712 eval "$wx_cv_use_caret"
10713 if test "x$cache" = xyes; then
10714 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10715 fi
10716
10717 if test x"$enablestring" = xdisable; then
10718 if test $wxUSE_CARET = yes; then
10719 result=no
10720 else
10721 result=yes
10722 fi
10723 else
10724 result=$wxUSE_CARET
10725 fi
10726
10727 { echo "$as_me:$LINENO: result: $result" >&5
10728 echo "${ECHO_T}$result" >&6; }
10729
10730
10731 enablestring=
10732 defaultval=$wxUSE_ALL_FEATURES
10733 if test -z "$defaultval"; then
10734 if test x"$enablestring" = xdisable; then
10735 defaultval=yes
10736 else
10737 defaultval=no
10738 fi
10739 fi
10740
10741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10743 # Check whether --enable-checkbox was given.
10744 if test "${enable_checkbox+set}" = set; then
10745 enableval=$enable_checkbox;
10746 if test "$enableval" = yes; then
10747 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10748 else
10749 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10750 fi
10751 cache=yes
10752
10753 else
10754
10755 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10756 if test "x$LINE" != x ; then
10757 eval "DEFAULT_$LINE"
10758 fi
10759
10760 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10761
10762 fi
10763
10764
10765 eval "$wx_cv_use_checkbox"
10766 if test "x$cache" = xyes; then
10767 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10768 fi
10769
10770 if test x"$enablestring" = xdisable; then
10771 if test $wxUSE_CHECKBOX = yes; then
10772 result=no
10773 else
10774 result=yes
10775 fi
10776 else
10777 result=$wxUSE_CHECKBOX
10778 fi
10779
10780 { echo "$as_me:$LINENO: result: $result" >&5
10781 echo "${ECHO_T}$result" >&6; }
10782
10783
10784 enablestring=
10785 defaultval=$wxUSE_ALL_FEATURES
10786 if test -z "$defaultval"; then
10787 if test x"$enablestring" = xdisable; then
10788 defaultval=yes
10789 else
10790 defaultval=no
10791 fi
10792 fi
10793
10794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10795 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10796 # Check whether --enable-checklst was given.
10797 if test "${enable_checklst+set}" = set; then
10798 enableval=$enable_checklst;
10799 if test "$enableval" = yes; then
10800 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10801 else
10802 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10803 fi
10804 cache=yes
10805
10806 else
10807
10808 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10809 if test "x$LINE" != x ; then
10810 eval "DEFAULT_$LINE"
10811 fi
10812
10813 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10814
10815 fi
10816
10817
10818 eval "$wx_cv_use_checklst"
10819 if test "x$cache" = xyes; then
10820 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10821 fi
10822
10823 if test x"$enablestring" = xdisable; then
10824 if test $wxUSE_CHECKLST = yes; then
10825 result=no
10826 else
10827 result=yes
10828 fi
10829 else
10830 result=$wxUSE_CHECKLST
10831 fi
10832
10833 { echo "$as_me:$LINENO: result: $result" >&5
10834 echo "${ECHO_T}$result" >&6; }
10835
10836
10837 enablestring=
10838 defaultval=$wxUSE_ALL_FEATURES
10839 if test -z "$defaultval"; then
10840 if test x"$enablestring" = xdisable; then
10841 defaultval=yes
10842 else
10843 defaultval=no
10844 fi
10845 fi
10846
10847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10848 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10849 # Check whether --enable-choice was given.
10850 if test "${enable_choice+set}" = set; then
10851 enableval=$enable_choice;
10852 if test "$enableval" = yes; then
10853 wx_cv_use_choice='wxUSE_CHOICE=yes'
10854 else
10855 wx_cv_use_choice='wxUSE_CHOICE=no'
10856 fi
10857 cache=yes
10858
10859 else
10860
10861 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x ; then
10863 eval "DEFAULT_$LINE"
10864 fi
10865
10866 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10867
10868 fi
10869
10870
10871 eval "$wx_cv_use_choice"
10872 if test "x$cache" = xyes; then
10873 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10874 fi
10875
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_CHOICE = yes; then
10878 result=no
10879 else
10880 result=yes
10881 fi
10882 else
10883 result=$wxUSE_CHOICE
10884 fi
10885
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10888
10889
10890 enablestring=
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10894 defaultval=yes
10895 else
10896 defaultval=no
10897 fi
10898 fi
10899
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10902 # Check whether --enable-choicebook was given.
10903 if test "${enable_choicebook+set}" = set; then
10904 enableval=$enable_choicebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10907 else
10908 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10909 fi
10910 cache=yes
10911
10912 else
10913
10914 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10915 if test "x$LINE" != x ; then
10916 eval "DEFAULT_$LINE"
10917 fi
10918
10919 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10920
10921 fi
10922
10923
10924 eval "$wx_cv_use_choicebook"
10925 if test "x$cache" = xyes; then
10926 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10927 fi
10928
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_CHOICEBOOK = yes; then
10931 result=no
10932 else
10933 result=yes
10934 fi
10935 else
10936 result=$wxUSE_CHOICEBOOK
10937 fi
10938
10939 { echo "$as_me:$LINENO: result: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10941
10942
10943 enablestring=
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10947 defaultval=yes
10948 else
10949 defaultval=no
10950 fi
10951 fi
10952
10953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10955 # Check whether --enable-collpane was given.
10956 if test "${enable_collpane+set}" = set; then
10957 enableval=$enable_collpane;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10960 else
10961 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10962 fi
10963 cache=yes
10964
10965 else
10966
10967 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10970 fi
10971
10972 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10973
10974 fi
10975
10976
10977 eval "$wx_cv_use_collpane"
10978 if test "x$cache" = xyes; then
10979 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10980 fi
10981
10982 if test x"$enablestring" = xdisable; then
10983 if test $wxUSE_COLLPANE = yes; then
10984 result=no
10985 else
10986 result=yes
10987 fi
10988 else
10989 result=$wxUSE_COLLPANE
10990 fi
10991
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10994
10995
10996 enablestring=
10997 defaultval=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x"$enablestring" = xdisable; then
11000 defaultval=yes
11001 else
11002 defaultval=no
11003 fi
11004 fi
11005
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11008 # Check whether --enable-colourpicker was given.
11009 if test "${enable_colourpicker+set}" = set; then
11010 enableval=$enable_colourpicker;
11011 if test "$enableval" = yes; then
11012 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11013 else
11014 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11015 fi
11016 cache=yes
11017
11018 else
11019
11020 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11021 if test "x$LINE" != x ; then
11022 eval "DEFAULT_$LINE"
11023 fi
11024
11025 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11026
11027 fi
11028
11029
11030 eval "$wx_cv_use_colourpicker"
11031 if test "x$cache" = xyes; then
11032 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11033 fi
11034
11035 if test x"$enablestring" = xdisable; then
11036 if test $wxUSE_COLOURPICKERCTRL = yes; then
11037 result=no
11038 else
11039 result=yes
11040 fi
11041 else
11042 result=$wxUSE_COLOURPICKERCTRL
11043 fi
11044
11045 { echo "$as_me:$LINENO: result: $result" >&5
11046 echo "${ECHO_T}$result" >&6; }
11047
11048
11049 enablestring=
11050 defaultval=$wxUSE_ALL_FEATURES
11051 if test -z "$defaultval"; then
11052 if test x"$enablestring" = xdisable; then
11053 defaultval=yes
11054 else
11055 defaultval=no
11056 fi
11057 fi
11058
11059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11060 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11061 # Check whether --enable-combobox was given.
11062 if test "${enable_combobox+set}" = set; then
11063 enableval=$enable_combobox;
11064 if test "$enableval" = yes; then
11065 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11066 else
11067 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11068 fi
11069 cache=yes
11070
11071 else
11072
11073 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11076 fi
11077
11078 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11079
11080 fi
11081
11082
11083 eval "$wx_cv_use_combobox"
11084 if test "x$cache" = xyes; then
11085 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11086 fi
11087
11088 if test x"$enablestring" = xdisable; then
11089 if test $wxUSE_COMBOBOX = yes; then
11090 result=no
11091 else
11092 result=yes
11093 fi
11094 else
11095 result=$wxUSE_COMBOBOX
11096 fi
11097
11098 { echo "$as_me:$LINENO: result: $result" >&5
11099 echo "${ECHO_T}$result" >&6; }
11100
11101
11102 enablestring=
11103 defaultval=$wxUSE_ALL_FEATURES
11104 if test -z "$defaultval"; then
11105 if test x"$enablestring" = xdisable; then
11106 defaultval=yes
11107 else
11108 defaultval=no
11109 fi
11110 fi
11111
11112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11114 # Check whether --enable-comboctrl was given.
11115 if test "${enable_comboctrl+set}" = set; then
11116 enableval=$enable_comboctrl;
11117 if test "$enableval" = yes; then
11118 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11119 else
11120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11121 fi
11122 cache=yes
11123
11124 else
11125
11126 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11127 if test "x$LINE" != x ; then
11128 eval "DEFAULT_$LINE"
11129 fi
11130
11131 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11132
11133 fi
11134
11135
11136 eval "$wx_cv_use_comboctrl"
11137 if test "x$cache" = xyes; then
11138 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11139 fi
11140
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_COMBOCTRL = yes; then
11143 result=no
11144 else
11145 result=yes
11146 fi
11147 else
11148 result=$wxUSE_COMBOCTRL
11149 fi
11150
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11153
11154
11155 enablestring=
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11159 defaultval=yes
11160 else
11161 defaultval=no
11162 fi
11163 fi
11164
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11167 # Check whether --enable-datepick was given.
11168 if test "${enable_datepick+set}" = set; then
11169 enableval=$enable_datepick;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11172 else
11173 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11174 fi
11175 cache=yes
11176
11177 else
11178
11179 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11180 if test "x$LINE" != x ; then
11181 eval "DEFAULT_$LINE"
11182 fi
11183
11184 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11185
11186 fi
11187
11188
11189 eval "$wx_cv_use_datepick"
11190 if test "x$cache" = xyes; then
11191 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11192 fi
11193
11194 if test x"$enablestring" = xdisable; then
11195 if test $wxUSE_DATEPICKCTRL = yes; then
11196 result=no
11197 else
11198 result=yes
11199 fi
11200 else
11201 result=$wxUSE_DATEPICKCTRL
11202 fi
11203
11204 { echo "$as_me:$LINENO: result: $result" >&5
11205 echo "${ECHO_T}$result" >&6; }
11206
11207
11208 enablestring=
11209 defaultval=$wxUSE_ALL_FEATURES
11210 if test -z "$defaultval"; then
11211 if test x"$enablestring" = xdisable; then
11212 defaultval=yes
11213 else
11214 defaultval=no
11215 fi
11216 fi
11217
11218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11219 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11220 # Check whether --enable-dirpicker was given.
11221 if test "${enable_dirpicker+set}" = set; then
11222 enableval=$enable_dirpicker;
11223 if test "$enableval" = yes; then
11224 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11225 else
11226 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11227 fi
11228 cache=yes
11229
11230 else
11231
11232 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11233 if test "x$LINE" != x ; then
11234 eval "DEFAULT_$LINE"
11235 fi
11236
11237 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11238
11239 fi
11240
11241
11242 eval "$wx_cv_use_dirpicker"
11243 if test "x$cache" = xyes; then
11244 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11245 fi
11246
11247 if test x"$enablestring" = xdisable; then
11248 if test $wxUSE_DIRPICKERCTRL = yes; then
11249 result=no
11250 else
11251 result=yes
11252 fi
11253 else
11254 result=$wxUSE_DIRPICKERCTRL
11255 fi
11256
11257 { echo "$as_me:$LINENO: result: $result" >&5
11258 echo "${ECHO_T}$result" >&6; }
11259
11260
11261 enablestring=
11262 defaultval=$wxUSE_ALL_FEATURES
11263 if test -z "$defaultval"; then
11264 if test x"$enablestring" = xdisable; then
11265 defaultval=yes
11266 else
11267 defaultval=no
11268 fi
11269 fi
11270
11271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11272 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11273 # Check whether --enable-display was given.
11274 if test "${enable_display+set}" = set; then
11275 enableval=$enable_display;
11276 if test "$enableval" = yes; then
11277 wx_cv_use_display='wxUSE_DISPLAY=yes'
11278 else
11279 wx_cv_use_display='wxUSE_DISPLAY=no'
11280 fi
11281 cache=yes
11282
11283 else
11284
11285 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11286 if test "x$LINE" != x ; then
11287 eval "DEFAULT_$LINE"
11288 fi
11289
11290 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11291
11292 fi
11293
11294
11295 eval "$wx_cv_use_display"
11296 if test "x$cache" = xyes; then
11297 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11298 fi
11299
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_DISPLAY = yes; then
11302 result=no
11303 else
11304 result=yes
11305 fi
11306 else
11307 result=$wxUSE_DISPLAY
11308 fi
11309
11310 { echo "$as_me:$LINENO: result: $result" >&5
11311 echo "${ECHO_T}$result" >&6; }
11312
11313
11314 enablestring=
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11318 defaultval=yes
11319 else
11320 defaultval=no
11321 fi
11322 fi
11323
11324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11326 # Check whether --enable-detect_sm was given.
11327 if test "${enable_detect_sm+set}" = set; then
11328 enableval=$enable_detect_sm;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11331 else
11332 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11333 fi
11334 cache=yes
11335
11336 else
11337
11338 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11339 if test "x$LINE" != x ; then
11340 eval "DEFAULT_$LINE"
11341 fi
11342
11343 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11344
11345 fi
11346
11347
11348 eval "$wx_cv_use_detect_sm"
11349 if test "x$cache" = xyes; then
11350 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11351 fi
11352
11353 if test x"$enablestring" = xdisable; then
11354 if test $wxUSE_DETECT_SM = yes; then
11355 result=no
11356 else
11357 result=yes
11358 fi
11359 else
11360 result=$wxUSE_DETECT_SM
11361 fi
11362
11363 { echo "$as_me:$LINENO: result: $result" >&5
11364 echo "${ECHO_T}$result" >&6; }
11365
11366
11367 enablestring=
11368 defaultval=$wxUSE_ALL_FEATURES
11369 if test -z "$defaultval"; then
11370 if test x"$enablestring" = xdisable; then
11371 defaultval=yes
11372 else
11373 defaultval=no
11374 fi
11375 fi
11376
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11379 # Check whether --enable-editablebox was given.
11380 if test "${enable_editablebox+set}" = set; then
11381 enableval=$enable_editablebox;
11382 if test "$enableval" = yes; then
11383 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11384 else
11385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11386 fi
11387 cache=yes
11388
11389 else
11390
11391 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11392 if test "x$LINE" != x ; then
11393 eval "DEFAULT_$LINE"
11394 fi
11395
11396 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_editablebox"
11402 if test "x$cache" = xyes; then
11403 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11404 fi
11405
11406 if test x"$enablestring" = xdisable; then
11407 if test $wxUSE_EDITABLELISTBOX = yes; then
11408 result=no
11409 else
11410 result=yes
11411 fi
11412 else
11413 result=$wxUSE_EDITABLELISTBOX
11414 fi
11415
11416 { echo "$as_me:$LINENO: result: $result" >&5
11417 echo "${ECHO_T}$result" >&6; }
11418
11419
11420 enablestring=
11421 defaultval=$wxUSE_ALL_FEATURES
11422 if test -z "$defaultval"; then
11423 if test x"$enablestring" = xdisable; then
11424 defaultval=yes
11425 else
11426 defaultval=no
11427 fi
11428 fi
11429
11430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11431 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11432 # Check whether --enable-filepicker was given.
11433 if test "${enable_filepicker+set}" = set; then
11434 enableval=$enable_filepicker;
11435 if test "$enableval" = yes; then
11436 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11437 else
11438 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11439 fi
11440 cache=yes
11441
11442 else
11443
11444 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11445 if test "x$LINE" != x ; then
11446 eval "DEFAULT_$LINE"
11447 fi
11448
11449 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11450
11451 fi
11452
11453
11454 eval "$wx_cv_use_filepicker"
11455 if test "x$cache" = xyes; then
11456 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11457 fi
11458
11459 if test x"$enablestring" = xdisable; then
11460 if test $wxUSE_FILEPICKERCTRL = yes; then
11461 result=no
11462 else
11463 result=yes
11464 fi
11465 else
11466 result=$wxUSE_FILEPICKERCTRL
11467 fi
11468
11469 { echo "$as_me:$LINENO: result: $result" >&5
11470 echo "${ECHO_T}$result" >&6; }
11471
11472
11473 enablestring=
11474 defaultval=$wxUSE_ALL_FEATURES
11475 if test -z "$defaultval"; then
11476 if test x"$enablestring" = xdisable; then
11477 defaultval=yes
11478 else
11479 defaultval=no
11480 fi
11481 fi
11482
11483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11485 # Check whether --enable-fontpicker was given.
11486 if test "${enable_fontpicker+set}" = set; then
11487 enableval=$enable_fontpicker;
11488 if test "$enableval" = yes; then
11489 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11490 else
11491 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11492 fi
11493 cache=yes
11494
11495 else
11496
11497 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11498 if test "x$LINE" != x ; then
11499 eval "DEFAULT_$LINE"
11500 fi
11501
11502 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11503
11504 fi
11505
11506
11507 eval "$wx_cv_use_fontpicker"
11508 if test "x$cache" = xyes; then
11509 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11510 fi
11511
11512 if test x"$enablestring" = xdisable; then
11513 if test $wxUSE_FONTPICKERCTRL = yes; then
11514 result=no
11515 else
11516 result=yes
11517 fi
11518 else
11519 result=$wxUSE_FONTPICKERCTRL
11520 fi
11521
11522 { echo "$as_me:$LINENO: result: $result" >&5
11523 echo "${ECHO_T}$result" >&6; }
11524
11525
11526 enablestring=
11527 defaultval=$wxUSE_ALL_FEATURES
11528 if test -z "$defaultval"; then
11529 if test x"$enablestring" = xdisable; then
11530 defaultval=yes
11531 else
11532 defaultval=no
11533 fi
11534 fi
11535
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11538 # Check whether --enable-gauge was given.
11539 if test "${enable_gauge+set}" = set; then
11540 enableval=$enable_gauge;
11541 if test "$enableval" = yes; then
11542 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11543 else
11544 wx_cv_use_gauge='wxUSE_GAUGE=no'
11545 fi
11546 cache=yes
11547
11548 else
11549
11550 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11553 fi
11554
11555 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11556
11557 fi
11558
11559
11560 eval "$wx_cv_use_gauge"
11561 if test "x$cache" = xyes; then
11562 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11563 fi
11564
11565 if test x"$enablestring" = xdisable; then
11566 if test $wxUSE_GAUGE = yes; then
11567 result=no
11568 else
11569 result=yes
11570 fi
11571 else
11572 result=$wxUSE_GAUGE
11573 fi
11574
11575 { echo "$as_me:$LINENO: result: $result" >&5
11576 echo "${ECHO_T}$result" >&6; }
11577
11578
11579 enablestring=
11580 defaultval=$wxUSE_ALL_FEATURES
11581 if test -z "$defaultval"; then
11582 if test x"$enablestring" = xdisable; then
11583 defaultval=yes
11584 else
11585 defaultval=no
11586 fi
11587 fi
11588
11589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11590 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11591 # Check whether --enable-grid was given.
11592 if test "${enable_grid+set}" = set; then
11593 enableval=$enable_grid;
11594 if test "$enableval" = yes; then
11595 wx_cv_use_grid='wxUSE_GRID=yes'
11596 else
11597 wx_cv_use_grid='wxUSE_GRID=no'
11598 fi
11599 cache=yes
11600
11601 else
11602
11603 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11604 if test "x$LINE" != x ; then
11605 eval "DEFAULT_$LINE"
11606 fi
11607
11608 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11609
11610 fi
11611
11612
11613 eval "$wx_cv_use_grid"
11614 if test "x$cache" = xyes; then
11615 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11616 fi
11617
11618 if test x"$enablestring" = xdisable; then
11619 if test $wxUSE_GRID = yes; then
11620 result=no
11621 else
11622 result=yes
11623 fi
11624 else
11625 result=$wxUSE_GRID
11626 fi
11627
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11630
11631
11632 enablestring=
11633 defaultval=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x"$enablestring" = xdisable; then
11636 defaultval=yes
11637 else
11638 defaultval=no
11639 fi
11640 fi
11641
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11644 # Check whether --enable-dataviewctrl was given.
11645 if test "${enable_dataviewctrl+set}" = set; then
11646 enableval=$enable_dataviewctrl;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11649 else
11650 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11651 fi
11652 cache=yes
11653
11654 else
11655
11656 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11657 if test "x$LINE" != x ; then
11658 eval "DEFAULT_$LINE"
11659 fi
11660
11661 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11662
11663 fi
11664
11665
11666 eval "$wx_cv_use_dataviewctrl"
11667 if test "x$cache" = xyes; then
11668 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11669 fi
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_DATAVIEWCTRL = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_DATAVIEWCTRL
11679 fi
11680
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11697 # Check whether --enable-hyperlink was given.
11698 if test "${enable_hyperlink+set}" = set; then
11699 enableval=$enable_hyperlink;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11702 else
11703 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11704 fi
11705 cache=yes
11706
11707 else
11708
11709 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11710 if test "x$LINE" != x ; then
11711 eval "DEFAULT_$LINE"
11712 fi
11713
11714 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11715
11716 fi
11717
11718
11719 eval "$wx_cv_use_hyperlink"
11720 if test "x$cache" = xyes; then
11721 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11722 fi
11723
11724 if test x"$enablestring" = xdisable; then
11725 if test $wxUSE_HYPERLINKCTRL = yes; then
11726 result=no
11727 else
11728 result=yes
11729 fi
11730 else
11731 result=$wxUSE_HYPERLINKCTRL
11732 fi
11733
11734 { echo "$as_me:$LINENO: result: $result" >&5
11735 echo "${ECHO_T}$result" >&6; }
11736
11737
11738 enablestring=
11739 defaultval=$wxUSE_ALL_FEATURES
11740 if test -z "$defaultval"; then
11741 if test x"$enablestring" = xdisable; then
11742 defaultval=yes
11743 else
11744 defaultval=no
11745 fi
11746 fi
11747
11748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11749 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11750 # Check whether --enable-imaglist was given.
11751 if test "${enable_imaglist+set}" = set; then
11752 enableval=$enable_imaglist;
11753 if test "$enableval" = yes; then
11754 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11755 else
11756 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11757 fi
11758 cache=yes
11759
11760 else
11761
11762 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11763 if test "x$LINE" != x ; then
11764 eval "DEFAULT_$LINE"
11765 fi
11766
11767 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11768
11769 fi
11770
11771
11772 eval "$wx_cv_use_imaglist"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11775 fi
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_IMAGLIST = yes; then
11779 result=no
11780 else
11781 result=yes
11782 fi
11783 else
11784 result=$wxUSE_IMAGLIST
11785 fi
11786
11787 { echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6; }
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11803 # Check whether --enable-listbook was given.
11804 if test "${enable_listbook+set}" = set; then
11805 enableval=$enable_listbook;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11808 else
11809 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11810 fi
11811 cache=yes
11812
11813 else
11814
11815 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11816 if test "x$LINE" != x ; then
11817 eval "DEFAULT_$LINE"
11818 fi
11819
11820 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11821
11822 fi
11823
11824
11825 eval "$wx_cv_use_listbook"
11826 if test "x$cache" = xyes; then
11827 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11828 fi
11829
11830 if test x"$enablestring" = xdisable; then
11831 if test $wxUSE_LISTBOOK = yes; then
11832 result=no
11833 else
11834 result=yes
11835 fi
11836 else
11837 result=$wxUSE_LISTBOOK
11838 fi
11839
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11842
11843
11844 enablestring=
11845 defaultval=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x"$enablestring" = xdisable; then
11848 defaultval=yes
11849 else
11850 defaultval=no
11851 fi
11852 fi
11853
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11856 # Check whether --enable-listbox was given.
11857 if test "${enable_listbox+set}" = set; then
11858 enableval=$enable_listbox;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11861 else
11862 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11863 fi
11864 cache=yes
11865
11866 else
11867
11868 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11869 if test "x$LINE" != x ; then
11870 eval "DEFAULT_$LINE"
11871 fi
11872
11873 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11874
11875 fi
11876
11877
11878 eval "$wx_cv_use_listbox"
11879 if test "x$cache" = xyes; then
11880 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11881 fi
11882
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_LISTBOX = yes; then
11885 result=no
11886 else
11887 result=yes
11888 fi
11889 else
11890 result=$wxUSE_LISTBOX
11891 fi
11892
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11895
11896
11897 enablestring=
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11901 defaultval=yes
11902 else
11903 defaultval=no
11904 fi
11905 fi
11906
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11909 # Check whether --enable-listctrl was given.
11910 if test "${enable_listctrl+set}" = set; then
11911 enableval=$enable_listctrl;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11914 else
11915 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11916 fi
11917 cache=yes
11918
11919 else
11920
11921 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11922 if test "x$LINE" != x ; then
11923 eval "DEFAULT_$LINE"
11924 fi
11925
11926 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11927
11928 fi
11929
11930
11931 eval "$wx_cv_use_listctrl"
11932 if test "x$cache" = xyes; then
11933 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11934 fi
11935
11936 if test x"$enablestring" = xdisable; then
11937 if test $wxUSE_LISTCTRL = yes; then
11938 result=no
11939 else
11940 result=yes
11941 fi
11942 else
11943 result=$wxUSE_LISTCTRL
11944 fi
11945
11946 { echo "$as_me:$LINENO: result: $result" >&5
11947 echo "${ECHO_T}$result" >&6; }
11948
11949
11950 enablestring=
11951 defaultval=$wxUSE_ALL_FEATURES
11952 if test -z "$defaultval"; then
11953 if test x"$enablestring" = xdisable; then
11954 defaultval=yes
11955 else
11956 defaultval=no
11957 fi
11958 fi
11959
11960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11961 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11962 # Check whether --enable-notebook was given.
11963 if test "${enable_notebook+set}" = set; then
11964 enableval=$enable_notebook;
11965 if test "$enableval" = yes; then
11966 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11967 else
11968 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11969 fi
11970 cache=yes
11971
11972 else
11973
11974 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11975 if test "x$LINE" != x ; then
11976 eval "DEFAULT_$LINE"
11977 fi
11978
11979 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11980
11981 fi
11982
11983
11984 eval "$wx_cv_use_notebook"
11985 if test "x$cache" = xyes; then
11986 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11987 fi
11988
11989 if test x"$enablestring" = xdisable; then
11990 if test $wxUSE_NOTEBOOK = yes; then
11991 result=no
11992 else
11993 result=yes
11994 fi
11995 else
11996 result=$wxUSE_NOTEBOOK
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}-odcombobox" >&5
12014 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12015 # Check whether --enable-odcombobox was given.
12016 if test "${enable_odcombobox+set}" = set; then
12017 enableval=$enable_odcombobox;
12018 if test "$enableval" = yes; then
12019 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12020 else
12021 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12022 fi
12023 cache=yes
12024
12025 else
12026
12027 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12028 if test "x$LINE" != x ; then
12029 eval "DEFAULT_$LINE"
12030 fi
12031
12032 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12033
12034 fi
12035
12036
12037 eval "$wx_cv_use_odcombobox"
12038 if test "x$cache" = xyes; then
12039 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12040 fi
12041
12042 if test x"$enablestring" = xdisable; then
12043 if test $wxUSE_ODCOMBOBOX = yes; then
12044 result=no
12045 else
12046 result=yes
12047 fi
12048 else
12049 result=$wxUSE_ODCOMBOBOX
12050 fi
12051
12052 { echo "$as_me:$LINENO: result: $result" >&5
12053 echo "${ECHO_T}$result" >&6; }
12054
12055
12056 enablestring=
12057 defaultval=$wxUSE_ALL_FEATURES
12058 if test -z "$defaultval"; then
12059 if test x"$enablestring" = xdisable; then
12060 defaultval=yes
12061 else
12062 defaultval=no
12063 fi
12064 fi
12065
12066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12067 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12068 # Check whether --enable-radiobox was given.
12069 if test "${enable_radiobox+set}" = set; then
12070 enableval=$enable_radiobox;
12071 if test "$enableval" = yes; then
12072 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12073 else
12074 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12075 fi
12076 cache=yes
12077
12078 else
12079
12080 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12081 if test "x$LINE" != x ; then
12082 eval "DEFAULT_$LINE"
12083 fi
12084
12085 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12086
12087 fi
12088
12089
12090 eval "$wx_cv_use_radiobox"
12091 if test "x$cache" = xyes; then
12092 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12093 fi
12094
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_RADIOBOX = yes; then
12097 result=no
12098 else
12099 result=yes
12100 fi
12101 else
12102 result=$wxUSE_RADIOBOX
12103 fi
12104
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12107
12108
12109 enablestring=
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12113 defaultval=yes
12114 else
12115 defaultval=no
12116 fi
12117 fi
12118
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12121 # Check whether --enable-radiobtn was given.
12122 if test "${enable_radiobtn+set}" = set; then
12123 enableval=$enable_radiobtn;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12126 else
12127 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12128 fi
12129 cache=yes
12130
12131 else
12132
12133 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12134 if test "x$LINE" != x ; then
12135 eval "DEFAULT_$LINE"
12136 fi
12137
12138 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12139
12140 fi
12141
12142
12143 eval "$wx_cv_use_radiobtn"
12144 if test "x$cache" = xyes; then
12145 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12146 fi
12147
12148 if test x"$enablestring" = xdisable; then
12149 if test $wxUSE_RADIOBTN = yes; then
12150 result=no
12151 else
12152 result=yes
12153 fi
12154 else
12155 result=$wxUSE_RADIOBTN
12156 fi
12157
12158 { echo "$as_me:$LINENO: result: $result" >&5
12159 echo "${ECHO_T}$result" >&6; }
12160
12161
12162 enablestring=
12163 defaultval=$wxUSE_ALL_FEATURES
12164 if test -z "$defaultval"; then
12165 if test x"$enablestring" = xdisable; then
12166 defaultval=yes
12167 else
12168 defaultval=no
12169 fi
12170 fi
12171
12172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12173 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12174 # Check whether --enable-sash was given.
12175 if test "${enable_sash+set}" = set; then
12176 enableval=$enable_sash;
12177 if test "$enableval" = yes; then
12178 wx_cv_use_sash='wxUSE_SASH=yes'
12179 else
12180 wx_cv_use_sash='wxUSE_SASH=no'
12181 fi
12182 cache=yes
12183
12184 else
12185
12186 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12187 if test "x$LINE" != x ; then
12188 eval "DEFAULT_$LINE"
12189 fi
12190
12191 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12192
12193 fi
12194
12195
12196 eval "$wx_cv_use_sash"
12197 if test "x$cache" = xyes; then
12198 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12199 fi
12200
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_SASH = yes; then
12203 result=no
12204 else
12205 result=yes
12206 fi
12207 else
12208 result=$wxUSE_SASH
12209 fi
12210
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12213
12214
12215 enablestring=
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12219 defaultval=yes
12220 else
12221 defaultval=no
12222 fi
12223 fi
12224
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12227 # Check whether --enable-scrollbar was given.
12228 if test "${enable_scrollbar+set}" = set; then
12229 enableval=$enable_scrollbar;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12232 else
12233 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12234 fi
12235 cache=yes
12236
12237 else
12238
12239 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12240 if test "x$LINE" != x ; then
12241 eval "DEFAULT_$LINE"
12242 fi
12243
12244 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12245
12246 fi
12247
12248
12249 eval "$wx_cv_use_scrollbar"
12250 if test "x$cache" = xyes; then
12251 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12252 fi
12253
12254 if test x"$enablestring" = xdisable; then
12255 if test $wxUSE_SCROLLBAR = yes; then
12256 result=no
12257 else
12258 result=yes
12259 fi
12260 else
12261 result=$wxUSE_SCROLLBAR
12262 fi
12263
12264 { echo "$as_me:$LINENO: result: $result" >&5
12265 echo "${ECHO_T}$result" >&6; }
12266
12267
12268 enablestring=
12269 defaultval=$wxUSE_ALL_FEATURES
12270 if test -z "$defaultval"; then
12271 if test x"$enablestring" = xdisable; then
12272 defaultval=yes
12273 else
12274 defaultval=no
12275 fi
12276 fi
12277
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12280 # Check whether --enable-searchctrl was given.
12281 if test "${enable_searchctrl+set}" = set; then
12282 enableval=$enable_searchctrl;
12283 if test "$enableval" = yes; then
12284 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12285 else
12286 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12287 fi
12288 cache=yes
12289
12290 else
12291
12292 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12295 fi
12296
12297 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12298
12299 fi
12300
12301
12302 eval "$wx_cv_use_searchctrl"
12303 if test "x$cache" = xyes; then
12304 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12305 fi
12306
12307 if test x"$enablestring" = xdisable; then
12308 if test $wxUSE_SEARCHCTRL = yes; then
12309 result=no
12310 else
12311 result=yes
12312 fi
12313 else
12314 result=$wxUSE_SEARCHCTRL
12315 fi
12316
12317 { echo "$as_me:$LINENO: result: $result" >&5
12318 echo "${ECHO_T}$result" >&6; }
12319
12320
12321 enablestring=
12322 defaultval=$wxUSE_ALL_FEATURES
12323 if test -z "$defaultval"; then
12324 if test x"$enablestring" = xdisable; then
12325 defaultval=yes
12326 else
12327 defaultval=no
12328 fi
12329 fi
12330
12331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12332 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12333 # Check whether --enable-slider was given.
12334 if test "${enable_slider+set}" = set; then
12335 enableval=$enable_slider;
12336 if test "$enableval" = yes; then
12337 wx_cv_use_slider='wxUSE_SLIDER=yes'
12338 else
12339 wx_cv_use_slider='wxUSE_SLIDER=no'
12340 fi
12341 cache=yes
12342
12343 else
12344
12345 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12346 if test "x$LINE" != x ; then
12347 eval "DEFAULT_$LINE"
12348 fi
12349
12350 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12351
12352 fi
12353
12354
12355 eval "$wx_cv_use_slider"
12356 if test "x$cache" = xyes; then
12357 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12358 fi
12359
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_SLIDER = yes; then
12362 result=no
12363 else
12364 result=yes
12365 fi
12366 else
12367 result=$wxUSE_SLIDER
12368 fi
12369
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12372
12373
12374 enablestring=
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12378 defaultval=yes
12379 else
12380 defaultval=no
12381 fi
12382 fi
12383
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12386 # Check whether --enable-spinbtn was given.
12387 if test "${enable_spinbtn+set}" = set; then
12388 enableval=$enable_spinbtn;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12391 else
12392 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12393 fi
12394 cache=yes
12395
12396 else
12397
12398 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12399 if test "x$LINE" != x ; then
12400 eval "DEFAULT_$LINE"
12401 fi
12402
12403 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12404
12405 fi
12406
12407
12408 eval "$wx_cv_use_spinbtn"
12409 if test "x$cache" = xyes; then
12410 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12411 fi
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_SPINBTN = yes; then
12415 result=no
12416 else
12417 result=yes
12418 fi
12419 else
12420 result=$wxUSE_SPINBTN
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12439 # Check whether --enable-spinctrl was given.
12440 if test "${enable_spinctrl+set}" = set; then
12441 enableval=$enable_spinctrl;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12444 else
12445 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12446 fi
12447 cache=yes
12448
12449 else
12450
12451 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12452 if test "x$LINE" != x ; then
12453 eval "DEFAULT_$LINE"
12454 fi
12455
12456 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12457
12458 fi
12459
12460
12461 eval "$wx_cv_use_spinctrl"
12462 if test "x$cache" = xyes; then
12463 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12464 fi
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_SPINCTRL = yes; then
12468 result=no
12469 else
12470 result=yes
12471 fi
12472 else
12473 result=$wxUSE_SPINCTRL
12474 fi
12475
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12478
12479
12480 enablestring=
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12484 defaultval=yes
12485 else
12486 defaultval=no
12487 fi
12488 fi
12489
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12492 # Check whether --enable-splitter was given.
12493 if test "${enable_splitter+set}" = set; then
12494 enableval=$enable_splitter;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12497 else
12498 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12499 fi
12500 cache=yes
12501
12502 else
12503
12504 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12505 if test "x$LINE" != x ; then
12506 eval "DEFAULT_$LINE"
12507 fi
12508
12509 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12510
12511 fi
12512
12513
12514 eval "$wx_cv_use_splitter"
12515 if test "x$cache" = xyes; then
12516 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12517 fi
12518
12519 if test x"$enablestring" = xdisable; then
12520 if test $wxUSE_SPLITTER = yes; then
12521 result=no
12522 else
12523 result=yes
12524 fi
12525 else
12526 result=$wxUSE_SPLITTER
12527 fi
12528
12529 { echo "$as_me:$LINENO: result: $result" >&5
12530 echo "${ECHO_T}$result" >&6; }
12531
12532
12533 enablestring=
12534 defaultval=$wxUSE_ALL_FEATURES
12535 if test -z "$defaultval"; then
12536 if test x"$enablestring" = xdisable; then
12537 defaultval=yes
12538 else
12539 defaultval=no
12540 fi
12541 fi
12542
12543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12544 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12545 # Check whether --enable-statbmp was given.
12546 if test "${enable_statbmp+set}" = set; then
12547 enableval=$enable_statbmp;
12548 if test "$enableval" = yes; then
12549 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12550 else
12551 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12552 fi
12553 cache=yes
12554
12555 else
12556
12557 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12558 if test "x$LINE" != x ; then
12559 eval "DEFAULT_$LINE"
12560 fi
12561
12562 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12563
12564 fi
12565
12566
12567 eval "$wx_cv_use_statbmp"
12568 if test "x$cache" = xyes; then
12569 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12570 fi
12571
12572 if test x"$enablestring" = xdisable; then
12573 if test $wxUSE_STATBMP = yes; then
12574 result=no
12575 else
12576 result=yes
12577 fi
12578 else
12579 result=$wxUSE_STATBMP
12580 fi
12581
12582 { echo "$as_me:$LINENO: result: $result" >&5
12583 echo "${ECHO_T}$result" >&6; }
12584
12585
12586 enablestring=
12587 defaultval=$wxUSE_ALL_FEATURES
12588 if test -z "$defaultval"; then
12589 if test x"$enablestring" = xdisable; then
12590 defaultval=yes
12591 else
12592 defaultval=no
12593 fi
12594 fi
12595
12596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12597 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12598 # Check whether --enable-statbox was given.
12599 if test "${enable_statbox+set}" = set; then
12600 enableval=$enable_statbox;
12601 if test "$enableval" = yes; then
12602 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12603 else
12604 wx_cv_use_statbox='wxUSE_STATBOX=no'
12605 fi
12606 cache=yes
12607
12608 else
12609
12610 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12611 if test "x$LINE" != x ; then
12612 eval "DEFAULT_$LINE"
12613 fi
12614
12615 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12616
12617 fi
12618
12619
12620 eval "$wx_cv_use_statbox"
12621 if test "x$cache" = xyes; then
12622 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12623 fi
12624
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_STATBOX = yes; then
12627 result=no
12628 else
12629 result=yes
12630 fi
12631 else
12632 result=$wxUSE_STATBOX
12633 fi
12634
12635 { echo "$as_me:$LINENO: result: $result" >&5
12636 echo "${ECHO_T}$result" >&6; }
12637
12638
12639 enablestring=
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12643 defaultval=yes
12644 else
12645 defaultval=no
12646 fi
12647 fi
12648
12649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12650 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12651 # Check whether --enable-statline was given.
12652 if test "${enable_statline+set}" = set; then
12653 enableval=$enable_statline;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_statline='wxUSE_STATLINE=yes'
12656 else
12657 wx_cv_use_statline='wxUSE_STATLINE=no'
12658 fi
12659 cache=yes
12660
12661 else
12662
12663 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12664 if test "x$LINE" != x ; then
12665 eval "DEFAULT_$LINE"
12666 fi
12667
12668 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12669
12670 fi
12671
12672
12673 eval "$wx_cv_use_statline"
12674 if test "x$cache" = xyes; then
12675 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12676 fi
12677
12678 if test x"$enablestring" = xdisable; then
12679 if test $wxUSE_STATLINE = yes; then
12680 result=no
12681 else
12682 result=yes
12683 fi
12684 else
12685 result=$wxUSE_STATLINE
12686 fi
12687
12688 { echo "$as_me:$LINENO: result: $result" >&5
12689 echo "${ECHO_T}$result" >&6; }
12690
12691
12692 enablestring=
12693 defaultval=$wxUSE_ALL_FEATURES
12694 if test -z "$defaultval"; then
12695 if test x"$enablestring" = xdisable; then
12696 defaultval=yes
12697 else
12698 defaultval=no
12699 fi
12700 fi
12701
12702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12703 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12704 # Check whether --enable-stattext was given.
12705 if test "${enable_stattext+set}" = set; then
12706 enableval=$enable_stattext;
12707 if test "$enableval" = yes; then
12708 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12709 else
12710 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12711 fi
12712 cache=yes
12713
12714 else
12715
12716 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12717 if test "x$LINE" != x ; then
12718 eval "DEFAULT_$LINE"
12719 fi
12720
12721 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12722
12723 fi
12724
12725
12726 eval "$wx_cv_use_stattext"
12727 if test "x$cache" = xyes; then
12728 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12729 fi
12730
12731 if test x"$enablestring" = xdisable; then
12732 if test $wxUSE_STATTEXT = yes; then
12733 result=no
12734 else
12735 result=yes
12736 fi
12737 else
12738 result=$wxUSE_STATTEXT
12739 fi
12740
12741 { echo "$as_me:$LINENO: result: $result" >&5
12742 echo "${ECHO_T}$result" >&6; }
12743
12744
12745 enablestring=
12746 defaultval=$wxUSE_ALL_FEATURES
12747 if test -z "$defaultval"; then
12748 if test x"$enablestring" = xdisable; then
12749 defaultval=yes
12750 else
12751 defaultval=no
12752 fi
12753 fi
12754
12755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12756 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12757 # Check whether --enable-statusbar was given.
12758 if test "${enable_statusbar+set}" = set; then
12759 enableval=$enable_statusbar;
12760 if test "$enableval" = yes; then
12761 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12762 else
12763 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12764 fi
12765 cache=yes
12766
12767 else
12768
12769 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12770 if test "x$LINE" != x ; then
12771 eval "DEFAULT_$LINE"
12772 fi
12773
12774 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12775
12776 fi
12777
12778
12779 eval "$wx_cv_use_statusbar"
12780 if test "x$cache" = xyes; then
12781 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12782 fi
12783
12784 if test x"$enablestring" = xdisable; then
12785 if test $wxUSE_STATUSBAR = yes; then
12786 result=no
12787 else
12788 result=yes
12789 fi
12790 else
12791 result=$wxUSE_STATUSBAR
12792 fi
12793
12794 { echo "$as_me:$LINENO: result: $result" >&5
12795 echo "${ECHO_T}$result" >&6; }
12796
12797
12798 enablestring=
12799 defaultval=$wxUSE_ALL_FEATURES
12800 if test -z "$defaultval"; then
12801 if test x"$enablestring" = xdisable; then
12802 defaultval=yes
12803 else
12804 defaultval=no
12805 fi
12806 fi
12807
12808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12809 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
12810 # Check whether --enable-tabdialog was given.
12811 if test "${enable_tabdialog+set}" = set; then
12812 enableval=$enable_tabdialog;
12813 if test "$enableval" = yes; then
12814 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12815 else
12816 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12817 fi
12818 cache=yes
12819
12820 else
12821
12822 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12823 if test "x$LINE" != x ; then
12824 eval "DEFAULT_$LINE"
12825 fi
12826
12827 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12828
12829 fi
12830
12831
12832 eval "$wx_cv_use_tabdialog"
12833 if test "x$cache" = xyes; then
12834 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12835 fi
12836
12837 if test x"$enablestring" = xdisable; then
12838 if test $wxUSE_TAB_DIALOG = yes; then
12839 result=no
12840 else
12841 result=yes
12842 fi
12843 else
12844 result=$wxUSE_TAB_DIALOG
12845 fi
12846
12847 { echo "$as_me:$LINENO: result: $result" >&5
12848 echo "${ECHO_T}$result" >&6; }
12849
12850
12851 enablestring=
12852 defaultval=$wxUSE_ALL_FEATURES
12853 if test -z "$defaultval"; then
12854 if test x"$enablestring" = xdisable; then
12855 defaultval=yes
12856 else
12857 defaultval=no
12858 fi
12859 fi
12860
12861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12862 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12863 # Check whether --enable-taskbaricon was given.
12864 if test "${enable_taskbaricon+set}" = set; then
12865 enableval=$enable_taskbaricon;
12866 if test "$enableval" = yes; then
12867 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12868 else
12869 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12870 fi
12871 cache=yes
12872
12873 else
12874
12875 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12876 if test "x$LINE" != x ; then
12877 eval "DEFAULT_$LINE"
12878 fi
12879
12880 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12881
12882 fi
12883
12884
12885 eval "$wx_cv_use_taskbaricon"
12886 if test "x$cache" = xyes; then
12887 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12888 fi
12889
12890 if test x"$enablestring" = xdisable; then
12891 if test $wxUSE_TASKBARICON = yes; then
12892 result=no
12893 else
12894 result=yes
12895 fi
12896 else
12897 result=$wxUSE_TASKBARICON
12898 fi
12899
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12902
12903
12904 enablestring=
12905 defaultval=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x"$enablestring" = xdisable; then
12908 defaultval=yes
12909 else
12910 defaultval=no
12911 fi
12912 fi
12913
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12916 # Check whether --enable-textctrl was given.
12917 if test "${enable_textctrl+set}" = set; then
12918 enableval=$enable_textctrl;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12921 else
12922 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12923 fi
12924 cache=yes
12925
12926 else
12927
12928 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12929 if test "x$LINE" != x ; then
12930 eval "DEFAULT_$LINE"
12931 fi
12932
12933 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12934
12935 fi
12936
12937
12938 eval "$wx_cv_use_textctrl"
12939 if test "x$cache" = xyes; then
12940 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
12941 fi
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_TEXTCTRL = yes; then
12945 result=no
12946 else
12947 result=yes
12948 fi
12949 else
12950 result=$wxUSE_TEXTCTRL
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12969 # Check whether --enable-togglebtn was given.
12970 if test "${enable_togglebtn+set}" = set; then
12971 enableval=$enable_togglebtn;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12974 else
12975 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12976 fi
12977 cache=yes
12978
12979 else
12980
12981 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12982 if test "x$LINE" != x ; then
12983 eval "DEFAULT_$LINE"
12984 fi
12985
12986 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12987
12988 fi
12989
12990
12991 eval "$wx_cv_use_togglebtn"
12992 if test "x$cache" = xyes; then
12993 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
12994 fi
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_TOGGLEBTN = yes; then
12998 result=no
12999 else
13000 result=yes
13001 fi
13002 else
13003 result=$wxUSE_TOGGLEBTN
13004 fi
13005
13006 { echo "$as_me:$LINENO: result: $result" >&5
13007 echo "${ECHO_T}$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13021 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13022 # Check whether --enable-toolbar was given.
13023 if test "${enable_toolbar+set}" = set; then
13024 enableval=$enable_toolbar;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13027 else
13028 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13029 fi
13030 cache=yes
13031
13032 else
13033
13034 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13035 if test "x$LINE" != x ; then
13036 eval "DEFAULT_$LINE"
13037 fi
13038
13039 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13040
13041 fi
13042
13043
13044 eval "$wx_cv_use_toolbar"
13045 if test "x$cache" = xyes; then
13046 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13047 fi
13048
13049 if test x"$enablestring" = xdisable; then
13050 if test $wxUSE_TOOLBAR = yes; then
13051 result=no
13052 else
13053 result=yes
13054 fi
13055 else
13056 result=$wxUSE_TOOLBAR
13057 fi
13058
13059 { echo "$as_me:$LINENO: result: $result" >&5
13060 echo "${ECHO_T}$result" >&6; }
13061
13062
13063 enablestring=
13064 defaultval=$wxUSE_ALL_FEATURES
13065 if test -z "$defaultval"; then
13066 if test x"$enablestring" = xdisable; then
13067 defaultval=yes
13068 else
13069 defaultval=no
13070 fi
13071 fi
13072
13073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13074 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13075 # Check whether --enable-tbarnative was given.
13076 if test "${enable_tbarnative+set}" = set; then
13077 enableval=$enable_tbarnative;
13078 if test "$enableval" = yes; then
13079 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13080 else
13081 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13082 fi
13083 cache=yes
13084
13085 else
13086
13087 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13088 if test "x$LINE" != x ; then
13089 eval "DEFAULT_$LINE"
13090 fi
13091
13092 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13093
13094 fi
13095
13096
13097 eval "$wx_cv_use_tbarnative"
13098 if test "x$cache" = xyes; then
13099 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13100 fi
13101
13102 if test x"$enablestring" = xdisable; then
13103 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13104 result=no
13105 else
13106 result=yes
13107 fi
13108 else
13109 result=$wxUSE_TOOLBAR_NATIVE
13110 fi
13111
13112 { echo "$as_me:$LINENO: result: $result" >&5
13113 echo "${ECHO_T}$result" >&6; }
13114
13115
13116 enablestring=
13117 defaultval=$wxUSE_ALL_FEATURES
13118 if test -z "$defaultval"; then
13119 if test x"$enablestring" = xdisable; then
13120 defaultval=yes
13121 else
13122 defaultval=no
13123 fi
13124 fi
13125
13126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13127 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13128 # Check whether --enable-treebook was given.
13129 if test "${enable_treebook+set}" = set; then
13130 enableval=$enable_treebook;
13131 if test "$enableval" = yes; then
13132 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13133 else
13134 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13135 fi
13136 cache=yes
13137
13138 else
13139
13140 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13141 if test "x$LINE" != x ; then
13142 eval "DEFAULT_$LINE"
13143 fi
13144
13145 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13146
13147 fi
13148
13149
13150 eval "$wx_cv_use_treebook"
13151 if test "x$cache" = xyes; then
13152 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13153 fi
13154
13155 if test x"$enablestring" = xdisable; then
13156 if test $wxUSE_TREEBOOK = yes; then
13157 result=no
13158 else
13159 result=yes
13160 fi
13161 else
13162 result=$wxUSE_TREEBOOK
13163 fi
13164
13165 { echo "$as_me:$LINENO: result: $result" >&5
13166 echo "${ECHO_T}$result" >&6; }
13167
13168
13169 enablestring=
13170 defaultval=$wxUSE_ALL_FEATURES
13171 if test -z "$defaultval"; then
13172 if test x"$enablestring" = xdisable; then
13173 defaultval=yes
13174 else
13175 defaultval=no
13176 fi
13177 fi
13178
13179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13180 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13181 # Check whether --enable-toolbook was given.
13182 if test "${enable_toolbook+set}" = set; then
13183 enableval=$enable_toolbook;
13184 if test "$enableval" = yes; then
13185 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13186 else
13187 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13188 fi
13189 cache=yes
13190
13191 else
13192
13193 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13194 if test "x$LINE" != x ; then
13195 eval "DEFAULT_$LINE"
13196 fi
13197
13198 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13199
13200 fi
13201
13202
13203 eval "$wx_cv_use_toolbook"
13204 if test "x$cache" = xyes; then
13205 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13206 fi
13207
13208 if test x"$enablestring" = xdisable; then
13209 if test $wxUSE_TOOLBOOK = yes; then
13210 result=no
13211 else
13212 result=yes
13213 fi
13214 else
13215 result=$wxUSE_TOOLBOOK
13216 fi
13217
13218 { echo "$as_me:$LINENO: result: $result" >&5
13219 echo "${ECHO_T}$result" >&6; }
13220
13221
13222 enablestring=
13223 defaultval=$wxUSE_ALL_FEATURES
13224 if test -z "$defaultval"; then
13225 if test x"$enablestring" = xdisable; then
13226 defaultval=yes
13227 else
13228 defaultval=no
13229 fi
13230 fi
13231
13232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13233 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13234 # Check whether --enable-treectrl was given.
13235 if test "${enable_treectrl+set}" = set; then
13236 enableval=$enable_treectrl;
13237 if test "$enableval" = yes; then
13238 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13239 else
13240 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13241 fi
13242 cache=yes
13243
13244 else
13245
13246 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13247 if test "x$LINE" != x ; then
13248 eval "DEFAULT_$LINE"
13249 fi
13250
13251 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13252
13253 fi
13254
13255
13256 eval "$wx_cv_use_treectrl"
13257 if test "x$cache" = xyes; then
13258 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13259 fi
13260
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_TREECTRL = yes; then
13263 result=no
13264 else
13265 result=yes
13266 fi
13267 else
13268 result=$wxUSE_TREECTRL
13269 fi
13270
13271 { echo "$as_me:$LINENO: result: $result" >&5
13272 echo "${ECHO_T}$result" >&6; }
13273
13274
13275 enablestring=
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13279 defaultval=yes
13280 else
13281 defaultval=no
13282 fi
13283 fi
13284
13285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13286 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13287 # Check whether --enable-tipwindow was given.
13288 if test "${enable_tipwindow+set}" = set; then
13289 enableval=$enable_tipwindow;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13292 else
13293 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13294 fi
13295 cache=yes
13296
13297 else
13298
13299 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13300 if test "x$LINE" != x ; then
13301 eval "DEFAULT_$LINE"
13302 fi
13303
13304 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13305
13306 fi
13307
13308
13309 eval "$wx_cv_use_tipwindow"
13310 if test "x$cache" = xyes; then
13311 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13312 fi
13313
13314 if test x"$enablestring" = xdisable; then
13315 if test $wxUSE_TIPWINDOW = yes; then
13316 result=no
13317 else
13318 result=yes
13319 fi
13320 else
13321 result=$wxUSE_TIPWINDOW
13322 fi
13323
13324 { echo "$as_me:$LINENO: result: $result" >&5
13325 echo "${ECHO_T}$result" >&6; }
13326
13327
13328 enablestring=
13329 defaultval=$wxUSE_ALL_FEATURES
13330 if test -z "$defaultval"; then
13331 if test x"$enablestring" = xdisable; then
13332 defaultval=yes
13333 else
13334 defaultval=no
13335 fi
13336 fi
13337
13338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13339 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13340 # Check whether --enable-popupwin was given.
13341 if test "${enable_popupwin+set}" = set; then
13342 enableval=$enable_popupwin;
13343 if test "$enableval" = yes; then
13344 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13345 else
13346 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13347 fi
13348 cache=yes
13349
13350 else
13351
13352 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13353 if test "x$LINE" != x ; then
13354 eval "DEFAULT_$LINE"
13355 fi
13356
13357 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13358
13359 fi
13360
13361
13362 eval "$wx_cv_use_popupwin"
13363 if test "x$cache" = xyes; then
13364 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13365 fi
13366
13367 if test x"$enablestring" = xdisable; then
13368 if test $wxUSE_POPUPWIN = yes; then
13369 result=no
13370 else
13371 result=yes
13372 fi
13373 else
13374 result=$wxUSE_POPUPWIN
13375 fi
13376
13377 { echo "$as_me:$LINENO: result: $result" >&5
13378 echo "${ECHO_T}$result" >&6; }
13379
13380
13381
13382
13383 enablestring=
13384 defaultval=$wxUSE_ALL_FEATURES
13385 if test -z "$defaultval"; then
13386 if test x"$enablestring" = xdisable; then
13387 defaultval=yes
13388 else
13389 defaultval=no
13390 fi
13391 fi
13392
13393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13394 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13395 # Check whether --enable-commondlg was given.
13396 if test "${enable_commondlg+set}" = set; then
13397 enableval=$enable_commondlg;
13398 if test "$enableval" = yes; then
13399 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13400 else
13401 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13402 fi
13403 cache=yes
13404
13405 else
13406
13407 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13408 if test "x$LINE" != x ; then
13409 eval "DEFAULT_$LINE"
13410 fi
13411
13412 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13413
13414 fi
13415
13416
13417 eval "$wx_cv_use_commondlg"
13418 if test "x$cache" = xyes; then
13419 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13420 fi
13421
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_COMMONDLGS = yes; then
13424 result=no
13425 else
13426 result=yes
13427 fi
13428 else
13429 result=$wxUSE_COMMONDLGS
13430 fi
13431
13432 { echo "$as_me:$LINENO: result: $result" >&5
13433 echo "${ECHO_T}$result" >&6; }
13434
13435
13436 enablestring=
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13440 defaultval=yes
13441 else
13442 defaultval=no
13443 fi
13444 fi
13445
13446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13447 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13448 # Check whether --enable-aboutdlg was given.
13449 if test "${enable_aboutdlg+set}" = set; then
13450 enableval=$enable_aboutdlg;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13453 else
13454 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13455 fi
13456 cache=yes
13457
13458 else
13459
13460 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13461 if test "x$LINE" != x ; then
13462 eval "DEFAULT_$LINE"
13463 fi
13464
13465 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13466
13467 fi
13468
13469
13470 eval "$wx_cv_use_aboutdlg"
13471 if test "x$cache" = xyes; then
13472 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13473 fi
13474
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_ABOUTDLG = yes; then
13477 result=no
13478 else
13479 result=yes
13480 fi
13481 else
13482 result=$wxUSE_ABOUTDLG
13483 fi
13484
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13487
13488
13489 enablestring=
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13493 defaultval=yes
13494 else
13495 defaultval=no
13496 fi
13497 fi
13498
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13501 # Check whether --enable-choicedlg was given.
13502 if test "${enable_choicedlg+set}" = set; then
13503 enableval=$enable_choicedlg;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13506 else
13507 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13508 fi
13509 cache=yes
13510
13511 else
13512
13513 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13514 if test "x$LINE" != x ; then
13515 eval "DEFAULT_$LINE"
13516 fi
13517
13518 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_choicedlg"
13524 if test "x$cache" = xyes; then
13525 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13526 fi
13527
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_CHOICEDLG = yes; then
13530 result=no
13531 else
13532 result=yes
13533 fi
13534 else
13535 result=$wxUSE_CHOICEDLG
13536 fi
13537
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13540
13541
13542 enablestring=
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13546 defaultval=yes
13547 else
13548 defaultval=no
13549 fi
13550 fi
13551
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13554 # Check whether --enable-coldlg was given.
13555 if test "${enable_coldlg+set}" = set; then
13556 enableval=$enable_coldlg;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13559 else
13560 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13561 fi
13562 cache=yes
13563
13564 else
13565
13566 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13567 if test "x$LINE" != x ; then
13568 eval "DEFAULT_$LINE"
13569 fi
13570
13571 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13572
13573 fi
13574
13575
13576 eval "$wx_cv_use_coldlg"
13577 if test "x$cache" = xyes; then
13578 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13579 fi
13580
13581 if test x"$enablestring" = xdisable; then
13582 if test $wxUSE_COLOURDLG = yes; then
13583 result=no
13584 else
13585 result=yes
13586 fi
13587 else
13588 result=$wxUSE_COLOURDLG
13589 fi
13590
13591 { echo "$as_me:$LINENO: result: $result" >&5
13592 echo "${ECHO_T}$result" >&6; }
13593
13594
13595 enablestring=
13596 defaultval=$wxUSE_ALL_FEATURES
13597 if test -z "$defaultval"; then
13598 if test x"$enablestring" = xdisable; then
13599 defaultval=yes
13600 else
13601 defaultval=no
13602 fi
13603 fi
13604
13605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13606 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13607 # Check whether --enable-filedlg was given.
13608 if test "${enable_filedlg+set}" = set; then
13609 enableval=$enable_filedlg;
13610 if test "$enableval" = yes; then
13611 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13612 else
13613 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13614 fi
13615 cache=yes
13616
13617 else
13618
13619 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13620 if test "x$LINE" != x ; then
13621 eval "DEFAULT_$LINE"
13622 fi
13623
13624 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13625
13626 fi
13627
13628
13629 eval "$wx_cv_use_filedlg"
13630 if test "x$cache" = xyes; then
13631 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13632 fi
13633
13634 if test x"$enablestring" = xdisable; then
13635 if test $wxUSE_FILEDLG = yes; then
13636 result=no
13637 else
13638 result=yes
13639 fi
13640 else
13641 result=$wxUSE_FILEDLG
13642 fi
13643
13644 { echo "$as_me:$LINENO: result: $result" >&5
13645 echo "${ECHO_T}$result" >&6; }
13646
13647
13648 enablestring=
13649 defaultval=$wxUSE_ALL_FEATURES
13650 if test -z "$defaultval"; then
13651 if test x"$enablestring" = xdisable; then
13652 defaultval=yes
13653 else
13654 defaultval=no
13655 fi
13656 fi
13657
13658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13659 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13660 # Check whether --enable-finddlg was given.
13661 if test "${enable_finddlg+set}" = set; then
13662 enableval=$enable_finddlg;
13663 if test "$enableval" = yes; then
13664 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13665 else
13666 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13667 fi
13668 cache=yes
13669
13670 else
13671
13672 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13673 if test "x$LINE" != x ; then
13674 eval "DEFAULT_$LINE"
13675 fi
13676
13677 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13678
13679 fi
13680
13681
13682 eval "$wx_cv_use_finddlg"
13683 if test "x$cache" = xyes; then
13684 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13685 fi
13686
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_FINDREPLDLG = yes; then
13689 result=no
13690 else
13691 result=yes
13692 fi
13693 else
13694 result=$wxUSE_FINDREPLDLG
13695 fi
13696
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13699
13700
13701 enablestring=
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13705 defaultval=yes
13706 else
13707 defaultval=no
13708 fi
13709 fi
13710
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13713 # Check whether --enable-fontdlg was given.
13714 if test "${enable_fontdlg+set}" = set; then
13715 enableval=$enable_fontdlg;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13718 else
13719 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13720 fi
13721 cache=yes
13722
13723 else
13724
13725 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13726 if test "x$LINE" != x ; then
13727 eval "DEFAULT_$LINE"
13728 fi
13729
13730 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13731
13732 fi
13733
13734
13735 eval "$wx_cv_use_fontdlg"
13736 if test "x$cache" = xyes; then
13737 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13738 fi
13739
13740 if test x"$enablestring" = xdisable; then
13741 if test $wxUSE_FONTDLG = yes; then
13742 result=no
13743 else
13744 result=yes
13745 fi
13746 else
13747 result=$wxUSE_FONTDLG
13748 fi
13749
13750 { echo "$as_me:$LINENO: result: $result" >&5
13751 echo "${ECHO_T}$result" >&6; }
13752
13753
13754 enablestring=
13755 defaultval=$wxUSE_ALL_FEATURES
13756 if test -z "$defaultval"; then
13757 if test x"$enablestring" = xdisable; then
13758 defaultval=yes
13759 else
13760 defaultval=no
13761 fi
13762 fi
13763
13764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13765 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13766 # Check whether --enable-dirdlg was given.
13767 if test "${enable_dirdlg+set}" = set; then
13768 enableval=$enable_dirdlg;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13771 else
13772 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13773 fi
13774 cache=yes
13775
13776 else
13777
13778 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13779 if test "x$LINE" != x ; then
13780 eval "DEFAULT_$LINE"
13781 fi
13782
13783 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13784
13785 fi
13786
13787
13788 eval "$wx_cv_use_dirdlg"
13789 if test "x$cache" = xyes; then
13790 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13791 fi
13792
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_DIRDLG = yes; then
13795 result=no
13796 else
13797 result=yes
13798 fi
13799 else
13800 result=$wxUSE_DIRDLG
13801 fi
13802
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13805
13806
13807 enablestring=
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13811 defaultval=yes
13812 else
13813 defaultval=no
13814 fi
13815 fi
13816
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13819 # Check whether --enable-msgdlg was given.
13820 if test "${enable_msgdlg+set}" = set; then
13821 enableval=$enable_msgdlg;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13824 else
13825 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13826 fi
13827 cache=yes
13828
13829 else
13830
13831 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13832 if test "x$LINE" != x ; then
13833 eval "DEFAULT_$LINE"
13834 fi
13835
13836 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13837
13838 fi
13839
13840
13841 eval "$wx_cv_use_msgdlg"
13842 if test "x$cache" = xyes; then
13843 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13844 fi
13845
13846 if test x"$enablestring" = xdisable; then
13847 if test $wxUSE_MSGDLG = yes; then
13848 result=no
13849 else
13850 result=yes
13851 fi
13852 else
13853 result=$wxUSE_MSGDLG
13854 fi
13855
13856 { echo "$as_me:$LINENO: result: $result" >&5
13857 echo "${ECHO_T}$result" >&6; }
13858
13859
13860 enablestring=
13861 defaultval=$wxUSE_ALL_FEATURES
13862 if test -z "$defaultval"; then
13863 if test x"$enablestring" = xdisable; then
13864 defaultval=yes
13865 else
13866 defaultval=no
13867 fi
13868 fi
13869
13870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13871 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13872 # Check whether --enable-numberdlg was given.
13873 if test "${enable_numberdlg+set}" = set; then
13874 enableval=$enable_numberdlg;
13875 if test "$enableval" = yes; then
13876 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13877 else
13878 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13879 fi
13880 cache=yes
13881
13882 else
13883
13884 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13885 if test "x$LINE" != x ; then
13886 eval "DEFAULT_$LINE"
13887 fi
13888
13889 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13890
13891 fi
13892
13893
13894 eval "$wx_cv_use_numberdlg"
13895 if test "x$cache" = xyes; then
13896 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
13897 fi
13898
13899 if test x"$enablestring" = xdisable; then
13900 if test $wxUSE_NUMBERDLG = yes; then
13901 result=no
13902 else
13903 result=yes
13904 fi
13905 else
13906 result=$wxUSE_NUMBERDLG
13907 fi
13908
13909 { echo "$as_me:$LINENO: result: $result" >&5
13910 echo "${ECHO_T}$result" >&6; }
13911
13912
13913 enablestring=
13914 defaultval=$wxUSE_ALL_FEATURES
13915 if test -z "$defaultval"; then
13916 if test x"$enablestring" = xdisable; then
13917 defaultval=yes
13918 else
13919 defaultval=no
13920 fi
13921 fi
13922
13923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13924 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13925 # Check whether --enable-splash was given.
13926 if test "${enable_splash+set}" = set; then
13927 enableval=$enable_splash;
13928 if test "$enableval" = yes; then
13929 wx_cv_use_splash='wxUSE_SPLASH=yes'
13930 else
13931 wx_cv_use_splash='wxUSE_SPLASH=no'
13932 fi
13933 cache=yes
13934
13935 else
13936
13937 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13938 if test "x$LINE" != x ; then
13939 eval "DEFAULT_$LINE"
13940 fi
13941
13942 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13943
13944 fi
13945
13946
13947 eval "$wx_cv_use_splash"
13948 if test "x$cache" = xyes; then
13949 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
13950 fi
13951
13952 if test x"$enablestring" = xdisable; then
13953 if test $wxUSE_SPLASH = yes; then
13954 result=no
13955 else
13956 result=yes
13957 fi
13958 else
13959 result=$wxUSE_SPLASH
13960 fi
13961
13962 { echo "$as_me:$LINENO: result: $result" >&5
13963 echo "${ECHO_T}$result" >&6; }
13964
13965
13966 enablestring=
13967 defaultval=$wxUSE_ALL_FEATURES
13968 if test -z "$defaultval"; then
13969 if test x"$enablestring" = xdisable; then
13970 defaultval=yes
13971 else
13972 defaultval=no
13973 fi
13974 fi
13975
13976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13977 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13978 # Check whether --enable-textdlg was given.
13979 if test "${enable_textdlg+set}" = set; then
13980 enableval=$enable_textdlg;
13981 if test "$enableval" = yes; then
13982 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13983 else
13984 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13985 fi
13986 cache=yes
13987
13988 else
13989
13990 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13991 if test "x$LINE" != x ; then
13992 eval "DEFAULT_$LINE"
13993 fi
13994
13995 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13996
13997 fi
13998
13999
14000 eval "$wx_cv_use_textdlg"
14001 if test "x$cache" = xyes; then
14002 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14003 fi
14004
14005 if test x"$enablestring" = xdisable; then
14006 if test $wxUSE_TEXTDLG = yes; then
14007 result=no
14008 else
14009 result=yes
14010 fi
14011 else
14012 result=$wxUSE_TEXTDLG
14013 fi
14014
14015 { echo "$as_me:$LINENO: result: $result" >&5
14016 echo "${ECHO_T}$result" >&6; }
14017
14018
14019 enablestring=
14020 defaultval=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x"$enablestring" = xdisable; then
14023 defaultval=yes
14024 else
14025 defaultval=no
14026 fi
14027 fi
14028
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14031 # Check whether --enable-tipdlg was given.
14032 if test "${enable_tipdlg+set}" = set; then
14033 enableval=$enable_tipdlg;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14036 else
14037 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14038 fi
14039 cache=yes
14040
14041 else
14042
14043 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14044 if test "x$LINE" != x ; then
14045 eval "DEFAULT_$LINE"
14046 fi
14047
14048 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14049
14050 fi
14051
14052
14053 eval "$wx_cv_use_tipdlg"
14054 if test "x$cache" = xyes; then
14055 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14056 fi
14057
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_STARTUP_TIPS = yes; then
14060 result=no
14061 else
14062 result=yes
14063 fi
14064 else
14065 result=$wxUSE_STARTUP_TIPS
14066 fi
14067
14068 { echo "$as_me:$LINENO: result: $result" >&5
14069 echo "${ECHO_T}$result" >&6; }
14070
14071
14072 enablestring=
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14076 defaultval=yes
14077 else
14078 defaultval=no
14079 fi
14080 fi
14081
14082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14083 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14084 # Check whether --enable-progressdlg was given.
14085 if test "${enable_progressdlg+set}" = set; then
14086 enableval=$enable_progressdlg;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14089 else
14090 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14091 fi
14092 cache=yes
14093
14094 else
14095
14096 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14097 if test "x$LINE" != x ; then
14098 eval "DEFAULT_$LINE"
14099 fi
14100
14101 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14102
14103 fi
14104
14105
14106 eval "$wx_cv_use_progressdlg"
14107 if test "x$cache" = xyes; then
14108 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14109 fi
14110
14111 if test x"$enablestring" = xdisable; then
14112 if test $wxUSE_PROGRESSDLG = yes; then
14113 result=no
14114 else
14115 result=yes
14116 fi
14117 else
14118 result=$wxUSE_PROGRESSDLG
14119 fi
14120
14121 { echo "$as_me:$LINENO: result: $result" >&5
14122 echo "${ECHO_T}$result" >&6; }
14123
14124
14125 enablestring=
14126 defaultval=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x"$enablestring" = xdisable; then
14129 defaultval=yes
14130 else
14131 defaultval=no
14132 fi
14133 fi
14134
14135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14136 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14137 # Check whether --enable-wizarddlg was given.
14138 if test "${enable_wizarddlg+set}" = set; then
14139 enableval=$enable_wizarddlg;
14140 if test "$enableval" = yes; then
14141 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14142 else
14143 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14144 fi
14145 cache=yes
14146
14147 else
14148
14149 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14150 if test "x$LINE" != x ; then
14151 eval "DEFAULT_$LINE"
14152 fi
14153
14154 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14155
14156 fi
14157
14158
14159 eval "$wx_cv_use_wizarddlg"
14160 if test "x$cache" = xyes; then
14161 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14162 fi
14163
14164 if test x"$enablestring" = xdisable; then
14165 if test $wxUSE_WIZARDDLG = yes; then
14166 result=no
14167 else
14168 result=yes
14169 fi
14170 else
14171 result=$wxUSE_WIZARDDLG
14172 fi
14173
14174 { echo "$as_me:$LINENO: result: $result" >&5
14175 echo "${ECHO_T}$result" >&6; }
14176
14177
14178
14179
14180 enablestring=
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14184 defaultval=yes
14185 else
14186 defaultval=no
14187 fi
14188 fi
14189
14190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14192 # Check whether --enable-menus was given.
14193 if test "${enable_menus+set}" = set; then
14194 enableval=$enable_menus;
14195 if test "$enableval" = yes; then
14196 wx_cv_use_menus='wxUSE_MENUS=yes'
14197 else
14198 wx_cv_use_menus='wxUSE_MENUS=no'
14199 fi
14200 cache=yes
14201
14202 else
14203
14204 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14205 if test "x$LINE" != x ; then
14206 eval "DEFAULT_$LINE"
14207 fi
14208
14209 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14210
14211 fi
14212
14213
14214 eval "$wx_cv_use_menus"
14215 if test "x$cache" = xyes; then
14216 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14217 fi
14218
14219 if test x"$enablestring" = xdisable; then
14220 if test $wxUSE_MENUS = yes; then
14221 result=no
14222 else
14223 result=yes
14224 fi
14225 else
14226 result=$wxUSE_MENUS
14227 fi
14228
14229 { echo "$as_me:$LINENO: result: $result" >&5
14230 echo "${ECHO_T}$result" >&6; }
14231
14232
14233 enablestring=
14234 defaultval=$wxUSE_ALL_FEATURES
14235 if test -z "$defaultval"; then
14236 if test x"$enablestring" = xdisable; then
14237 defaultval=yes
14238 else
14239 defaultval=no
14240 fi
14241 fi
14242
14243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14244 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14245 # Check whether --enable-miniframe was given.
14246 if test "${enable_miniframe+set}" = set; then
14247 enableval=$enable_miniframe;
14248 if test "$enableval" = yes; then
14249 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14250 else
14251 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14252 fi
14253 cache=yes
14254
14255 else
14256
14257 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14258 if test "x$LINE" != x ; then
14259 eval "DEFAULT_$LINE"
14260 fi
14261
14262 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_miniframe"
14268 if test "x$cache" = xyes; then
14269 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14270 fi
14271
14272 if test x"$enablestring" = xdisable; then
14273 if test $wxUSE_MINIFRAME = yes; then
14274 result=no
14275 else
14276 result=yes
14277 fi
14278 else
14279 result=$wxUSE_MINIFRAME
14280 fi
14281
14282 { echo "$as_me:$LINENO: result: $result" >&5
14283 echo "${ECHO_T}$result" >&6; }
14284
14285
14286 enablestring=
14287 defaultval=$wxUSE_ALL_FEATURES
14288 if test -z "$defaultval"; then
14289 if test x"$enablestring" = xdisable; then
14290 defaultval=yes
14291 else
14292 defaultval=no
14293 fi
14294 fi
14295
14296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14297 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14298 # Check whether --enable-tooltips was given.
14299 if test "${enable_tooltips+set}" = set; then
14300 enableval=$enable_tooltips;
14301 if test "$enableval" = yes; then
14302 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14303 else
14304 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14305 fi
14306 cache=yes
14307
14308 else
14309
14310 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14311 if test "x$LINE" != x ; then
14312 eval "DEFAULT_$LINE"
14313 fi
14314
14315 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14316
14317 fi
14318
14319
14320 eval "$wx_cv_use_tooltips"
14321 if test "x$cache" = xyes; then
14322 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14323 fi
14324
14325 if test x"$enablestring" = xdisable; then
14326 if test $wxUSE_TOOLTIPS = yes; then
14327 result=no
14328 else
14329 result=yes
14330 fi
14331 else
14332 result=$wxUSE_TOOLTIPS
14333 fi
14334
14335 { echo "$as_me:$LINENO: result: $result" >&5
14336 echo "${ECHO_T}$result" >&6; }
14337
14338
14339 enablestring=
14340 defaultval=$wxUSE_ALL_FEATURES
14341 if test -z "$defaultval"; then
14342 if test x"$enablestring" = xdisable; then
14343 defaultval=yes
14344 else
14345 defaultval=no
14346 fi
14347 fi
14348
14349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14350 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14351 # Check whether --enable-splines was given.
14352 if test "${enable_splines+set}" = set; then
14353 enableval=$enable_splines;
14354 if test "$enableval" = yes; then
14355 wx_cv_use_splines='wxUSE_SPLINES=yes'
14356 else
14357 wx_cv_use_splines='wxUSE_SPLINES=no'
14358 fi
14359 cache=yes
14360
14361 else
14362
14363 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14364 if test "x$LINE" != x ; then
14365 eval "DEFAULT_$LINE"
14366 fi
14367
14368 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14369
14370 fi
14371
14372
14373 eval "$wx_cv_use_splines"
14374 if test "x$cache" = xyes; then
14375 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14376 fi
14377
14378 if test x"$enablestring" = xdisable; then
14379 if test $wxUSE_SPLINES = yes; then
14380 result=no
14381 else
14382 result=yes
14383 fi
14384 else
14385 result=$wxUSE_SPLINES
14386 fi
14387
14388 { echo "$as_me:$LINENO: result: $result" >&5
14389 echo "${ECHO_T}$result" >&6; }
14390
14391
14392 enablestring=
14393 defaultval=$wxUSE_ALL_FEATURES
14394 if test -z "$defaultval"; then
14395 if test x"$enablestring" = xdisable; then
14396 defaultval=yes
14397 else
14398 defaultval=no
14399 fi
14400 fi
14401
14402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14403 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14404 # Check whether --enable-mousewheel was given.
14405 if test "${enable_mousewheel+set}" = set; then
14406 enableval=$enable_mousewheel;
14407 if test "$enableval" = yes; then
14408 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14409 else
14410 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14411 fi
14412 cache=yes
14413
14414 else
14415
14416 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14417 if test "x$LINE" != x ; then
14418 eval "DEFAULT_$LINE"
14419 fi
14420
14421 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14422
14423 fi
14424
14425
14426 eval "$wx_cv_use_mousewheel"
14427 if test "x$cache" = xyes; then
14428 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14429 fi
14430
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_MOUSEWHEEL = yes; then
14433 result=no
14434 else
14435 result=yes
14436 fi
14437 else
14438 result=$wxUSE_MOUSEWHEEL
14439 fi
14440
14441 { echo "$as_me:$LINENO: result: $result" >&5
14442 echo "${ECHO_T}$result" >&6; }
14443
14444
14445 enablestring=
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14449 defaultval=yes
14450 else
14451 defaultval=no
14452 fi
14453 fi
14454
14455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14456 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14457 # Check whether --enable-validators was given.
14458 if test "${enable_validators+set}" = set; then
14459 enableval=$enable_validators;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14462 else
14463 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14464 fi
14465 cache=yes
14466
14467 else
14468
14469 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14470 if test "x$LINE" != x ; then
14471 eval "DEFAULT_$LINE"
14472 fi
14473
14474 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14475
14476 fi
14477
14478
14479 eval "$wx_cv_use_validators"
14480 if test "x$cache" = xyes; then
14481 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14482 fi
14483
14484 if test x"$enablestring" = xdisable; then
14485 if test $wxUSE_VALIDATORS = yes; then
14486 result=no
14487 else
14488 result=yes
14489 fi
14490 else
14491 result=$wxUSE_VALIDATORS
14492 fi
14493
14494 { echo "$as_me:$LINENO: result: $result" >&5
14495 echo "${ECHO_T}$result" >&6; }
14496
14497
14498 enablestring=
14499 defaultval=$wxUSE_ALL_FEATURES
14500 if test -z "$defaultval"; then
14501 if test x"$enablestring" = xdisable; then
14502 defaultval=yes
14503 else
14504 defaultval=no
14505 fi
14506 fi
14507
14508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14509 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14510 # Check whether --enable-busyinfo was given.
14511 if test "${enable_busyinfo+set}" = set; then
14512 enableval=$enable_busyinfo;
14513 if test "$enableval" = yes; then
14514 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14515 else
14516 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14517 fi
14518 cache=yes
14519
14520 else
14521
14522 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14523 if test "x$LINE" != x ; then
14524 eval "DEFAULT_$LINE"
14525 fi
14526
14527 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14528
14529 fi
14530
14531
14532 eval "$wx_cv_use_busyinfo"
14533 if test "x$cache" = xyes; then
14534 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14535 fi
14536
14537 if test x"$enablestring" = xdisable; then
14538 if test $wxUSE_BUSYINFO = yes; then
14539 result=no
14540 else
14541 result=yes
14542 fi
14543 else
14544 result=$wxUSE_BUSYINFO
14545 fi
14546
14547 { echo "$as_me:$LINENO: result: $result" >&5
14548 echo "${ECHO_T}$result" >&6; }
14549
14550
14551 enablestring=
14552 defaultval=$wxUSE_ALL_FEATURES
14553 if test -z "$defaultval"; then
14554 if test x"$enablestring" = xdisable; then
14555 defaultval=yes
14556 else
14557 defaultval=no
14558 fi
14559 fi
14560
14561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14562 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14563 # Check whether --enable-joystick was given.
14564 if test "${enable_joystick+set}" = set; then
14565 enableval=$enable_joystick;
14566 if test "$enableval" = yes; then
14567 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14568 else
14569 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14570 fi
14571 cache=yes
14572
14573 else
14574
14575 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14576 if test "x$LINE" != x ; then
14577 eval "DEFAULT_$LINE"
14578 fi
14579
14580 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14581
14582 fi
14583
14584
14585 eval "$wx_cv_use_joystick"
14586 if test "x$cache" = xyes; then
14587 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14588 fi
14589
14590 if test x"$enablestring" = xdisable; then
14591 if test $wxUSE_JOYSTICK = yes; then
14592 result=no
14593 else
14594 result=yes
14595 fi
14596 else
14597 result=$wxUSE_JOYSTICK
14598 fi
14599
14600 { echo "$as_me:$LINENO: result: $result" >&5
14601 echo "${ECHO_T}$result" >&6; }
14602
14603
14604 enablestring=
14605 defaultval=$wxUSE_ALL_FEATURES
14606 if test -z "$defaultval"; then
14607 if test x"$enablestring" = xdisable; then
14608 defaultval=yes
14609 else
14610 defaultval=no
14611 fi
14612 fi
14613
14614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14615 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14616 # Check whether --enable-metafile was given.
14617 if test "${enable_metafile+set}" = set; then
14618 enableval=$enable_metafile;
14619 if test "$enableval" = yes; then
14620 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14621 else
14622 wx_cv_use_metafile='wxUSE_METAFILE=no'
14623 fi
14624 cache=yes
14625
14626 else
14627
14628 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14629 if test "x$LINE" != x ; then
14630 eval "DEFAULT_$LINE"
14631 fi
14632
14633 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14634
14635 fi
14636
14637
14638 eval "$wx_cv_use_metafile"
14639 if test "x$cache" = xyes; then
14640 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14641 fi
14642
14643 if test x"$enablestring" = xdisable; then
14644 if test $wxUSE_METAFILE = yes; then
14645 result=no
14646 else
14647 result=yes
14648 fi
14649 else
14650 result=$wxUSE_METAFILE
14651 fi
14652
14653 { echo "$as_me:$LINENO: result: $result" >&5
14654 echo "${ECHO_T}$result" >&6; }
14655
14656
14657 enablestring=
14658 defaultval=$wxUSE_ALL_FEATURES
14659 if test -z "$defaultval"; then
14660 if test x"$enablestring" = xdisable; then
14661 defaultval=yes
14662 else
14663 defaultval=no
14664 fi
14665 fi
14666
14667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14668 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14669 # Check whether --enable-dragimage was given.
14670 if test "${enable_dragimage+set}" = set; then
14671 enableval=$enable_dragimage;
14672 if test "$enableval" = yes; then
14673 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14674 else
14675 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14676 fi
14677 cache=yes
14678
14679 else
14680
14681 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14682 if test "x$LINE" != x ; then
14683 eval "DEFAULT_$LINE"
14684 fi
14685
14686 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14687
14688 fi
14689
14690
14691 eval "$wx_cv_use_dragimage"
14692 if test "x$cache" = xyes; then
14693 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14694 fi
14695
14696 if test x"$enablestring" = xdisable; then
14697 if test $wxUSE_DRAGIMAGE = yes; then
14698 result=no
14699 else
14700 result=yes
14701 fi
14702 else
14703 result=$wxUSE_DRAGIMAGE
14704 fi
14705
14706 { echo "$as_me:$LINENO: result: $result" >&5
14707 echo "${ECHO_T}$result" >&6; }
14708
14709
14710 enablestring=
14711 defaultval=$wxUSE_ALL_FEATURES
14712 if test -z "$defaultval"; then
14713 if test x"$enablestring" = xdisable; then
14714 defaultval=yes
14715 else
14716 defaultval=no
14717 fi
14718 fi
14719
14720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14721 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14722 # Check whether --enable-accessibility was given.
14723 if test "${enable_accessibility+set}" = set; then
14724 enableval=$enable_accessibility;
14725 if test "$enableval" = yes; then
14726 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14727 else
14728 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14729 fi
14730 cache=yes
14731
14732 else
14733
14734 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14735 if test "x$LINE" != x ; then
14736 eval "DEFAULT_$LINE"
14737 fi
14738
14739 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14740
14741 fi
14742
14743
14744 eval "$wx_cv_use_accessibility"
14745 if test "x$cache" = xyes; then
14746 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14747 fi
14748
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_ACCESSIBILITY = yes; then
14751 result=no
14752 else
14753 result=yes
14754 fi
14755 else
14756 result=$wxUSE_ACCESSIBILITY
14757 fi
14758
14759 { echo "$as_me:$LINENO: result: $result" >&5
14760 echo "${ECHO_T}$result" >&6; }
14761
14762
14763
14764
14765 enablestring=
14766 defaultval=$wxUSE_ALL_FEATURES
14767 if test -z "$defaultval"; then
14768 if test x"$enablestring" = xdisable; then
14769 defaultval=yes
14770 else
14771 defaultval=no
14772 fi
14773 fi
14774
14775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14776 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14777 # Check whether --enable-palette was given.
14778 if test "${enable_palette+set}" = set; then
14779 enableval=$enable_palette;
14780 if test "$enableval" = yes; then
14781 wx_cv_use_palette='wxUSE_PALETTE=yes'
14782 else
14783 wx_cv_use_palette='wxUSE_PALETTE=no'
14784 fi
14785 cache=yes
14786
14787 else
14788
14789 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14790 if test "x$LINE" != x ; then
14791 eval "DEFAULT_$LINE"
14792 fi
14793
14794 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14795
14796 fi
14797
14798
14799 eval "$wx_cv_use_palette"
14800 if test "x$cache" = xyes; then
14801 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14802 fi
14803
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_PALETTE = yes; then
14806 result=no
14807 else
14808 result=yes
14809 fi
14810 else
14811 result=$wxUSE_PALETTE
14812 fi
14813
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14816
14817
14818 enablestring=
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14822 defaultval=yes
14823 else
14824 defaultval=no
14825 fi
14826 fi
14827
14828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14829 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14830 # Check whether --enable-image was given.
14831 if test "${enable_image+set}" = set; then
14832 enableval=$enable_image;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_image='wxUSE_IMAGE=yes'
14835 else
14836 wx_cv_use_image='wxUSE_IMAGE=no'
14837 fi
14838 cache=yes
14839
14840 else
14841
14842 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14843 if test "x$LINE" != x ; then
14844 eval "DEFAULT_$LINE"
14845 fi
14846
14847 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14848
14849 fi
14850
14851
14852 eval "$wx_cv_use_image"
14853 if test "x$cache" = xyes; then
14854 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
14855 fi
14856
14857 if test x"$enablestring" = xdisable; then
14858 if test $wxUSE_IMAGE = yes; then
14859 result=no
14860 else
14861 result=yes
14862 fi
14863 else
14864 result=$wxUSE_IMAGE
14865 fi
14866
14867 { echo "$as_me:$LINENO: result: $result" >&5
14868 echo "${ECHO_T}$result" >&6; }
14869
14870
14871 enablestring=
14872 defaultval=$wxUSE_ALL_FEATURES
14873 if test -z "$defaultval"; then
14874 if test x"$enablestring" = xdisable; then
14875 defaultval=yes
14876 else
14877 defaultval=no
14878 fi
14879 fi
14880
14881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14882 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14883 # Check whether --enable-gif was given.
14884 if test "${enable_gif+set}" = set; then
14885 enableval=$enable_gif;
14886 if test "$enableval" = yes; then
14887 wx_cv_use_gif='wxUSE_GIF=yes'
14888 else
14889 wx_cv_use_gif='wxUSE_GIF=no'
14890 fi
14891 cache=yes
14892
14893 else
14894
14895 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14896 if test "x$LINE" != x ; then
14897 eval "DEFAULT_$LINE"
14898 fi
14899
14900 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14901
14902 fi
14903
14904
14905 eval "$wx_cv_use_gif"
14906 if test "x$cache" = xyes; then
14907 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
14908 fi
14909
14910 if test x"$enablestring" = xdisable; then
14911 if test $wxUSE_GIF = yes; then
14912 result=no
14913 else
14914 result=yes
14915 fi
14916 else
14917 result=$wxUSE_GIF
14918 fi
14919
14920 { echo "$as_me:$LINENO: result: $result" >&5
14921 echo "${ECHO_T}$result" >&6; }
14922
14923
14924 enablestring=
14925 defaultval=$wxUSE_ALL_FEATURES
14926 if test -z "$defaultval"; then
14927 if test x"$enablestring" = xdisable; then
14928 defaultval=yes
14929 else
14930 defaultval=no
14931 fi
14932 fi
14933
14934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14935 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14936 # Check whether --enable-pcx was given.
14937 if test "${enable_pcx+set}" = set; then
14938 enableval=$enable_pcx;
14939 if test "$enableval" = yes; then
14940 wx_cv_use_pcx='wxUSE_PCX=yes'
14941 else
14942 wx_cv_use_pcx='wxUSE_PCX=no'
14943 fi
14944 cache=yes
14945
14946 else
14947
14948 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14949 if test "x$LINE" != x ; then
14950 eval "DEFAULT_$LINE"
14951 fi
14952
14953 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14954
14955 fi
14956
14957
14958 eval "$wx_cv_use_pcx"
14959 if test "x$cache" = xyes; then
14960 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
14961 fi
14962
14963 if test x"$enablestring" = xdisable; then
14964 if test $wxUSE_PCX = yes; then
14965 result=no
14966 else
14967 result=yes
14968 fi
14969 else
14970 result=$wxUSE_PCX
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}-tga" >&5
14988 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14989 # Check whether --enable-tga was given.
14990 if test "${enable_tga+set}" = set; then
14991 enableval=$enable_tga;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_tga='wxUSE_TGA=yes'
14994 else
14995 wx_cv_use_tga='wxUSE_TGA=no'
14996 fi
14997 cache=yes
14998
14999 else
15000
15001 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15002 if test "x$LINE" != x ; then
15003 eval "DEFAULT_$LINE"
15004 fi
15005
15006 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15007
15008 fi
15009
15010
15011 eval "$wx_cv_use_tga"
15012 if test "x$cache" = xyes; then
15013 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15014 fi
15015
15016 if test x"$enablestring" = xdisable; then
15017 if test $wxUSE_TGA = yes; then
15018 result=no
15019 else
15020 result=yes
15021 fi
15022 else
15023 result=$wxUSE_TGA
15024 fi
15025
15026 { echo "$as_me:$LINENO: result: $result" >&5
15027 echo "${ECHO_T}$result" >&6; }
15028
15029
15030 enablestring=
15031 defaultval=$wxUSE_ALL_FEATURES
15032 if test -z "$defaultval"; then
15033 if test x"$enablestring" = xdisable; then
15034 defaultval=yes
15035 else
15036 defaultval=no
15037 fi
15038 fi
15039
15040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15041 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15042 # Check whether --enable-iff was given.
15043 if test "${enable_iff+set}" = set; then
15044 enableval=$enable_iff;
15045 if test "$enableval" = yes; then
15046 wx_cv_use_iff='wxUSE_IFF=yes'
15047 else
15048 wx_cv_use_iff='wxUSE_IFF=no'
15049 fi
15050 cache=yes
15051
15052 else
15053
15054 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15055 if test "x$LINE" != x ; then
15056 eval "DEFAULT_$LINE"
15057 fi
15058
15059 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15060
15061 fi
15062
15063
15064 eval "$wx_cv_use_iff"
15065 if test "x$cache" = xyes; then
15066 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15067 fi
15068
15069 if test x"$enablestring" = xdisable; then
15070 if test $wxUSE_IFF = yes; then
15071 result=no
15072 else
15073 result=yes
15074 fi
15075 else
15076 result=$wxUSE_IFF
15077 fi
15078
15079 { echo "$as_me:$LINENO: result: $result" >&5
15080 echo "${ECHO_T}$result" >&6; }
15081
15082
15083 enablestring=
15084 defaultval=$wxUSE_ALL_FEATURES
15085 if test -z "$defaultval"; then
15086 if test x"$enablestring" = xdisable; then
15087 defaultval=yes
15088 else
15089 defaultval=no
15090 fi
15091 fi
15092
15093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15094 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15095 # Check whether --enable-pnm was given.
15096 if test "${enable_pnm+set}" = set; then
15097 enableval=$enable_pnm;
15098 if test "$enableval" = yes; then
15099 wx_cv_use_pnm='wxUSE_PNM=yes'
15100 else
15101 wx_cv_use_pnm='wxUSE_PNM=no'
15102 fi
15103 cache=yes
15104
15105 else
15106
15107 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15108 if test "x$LINE" != x ; then
15109 eval "DEFAULT_$LINE"
15110 fi
15111
15112 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15113
15114 fi
15115
15116
15117 eval "$wx_cv_use_pnm"
15118 if test "x$cache" = xyes; then
15119 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15120 fi
15121
15122 if test x"$enablestring" = xdisable; then
15123 if test $wxUSE_PNM = yes; then
15124 result=no
15125 else
15126 result=yes
15127 fi
15128 else
15129 result=$wxUSE_PNM
15130 fi
15131
15132 { echo "$as_me:$LINENO: result: $result" >&5
15133 echo "${ECHO_T}$result" >&6; }
15134
15135
15136 enablestring=
15137 defaultval=$wxUSE_ALL_FEATURES
15138 if test -z "$defaultval"; then
15139 if test x"$enablestring" = xdisable; then
15140 defaultval=yes
15141 else
15142 defaultval=no
15143 fi
15144 fi
15145
15146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15147 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15148 # Check whether --enable-xpm was given.
15149 if test "${enable_xpm+set}" = set; then
15150 enableval=$enable_xpm;
15151 if test "$enableval" = yes; then
15152 wx_cv_use_xpm='wxUSE_XPM=yes'
15153 else
15154 wx_cv_use_xpm='wxUSE_XPM=no'
15155 fi
15156 cache=yes
15157
15158 else
15159
15160 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15161 if test "x$LINE" != x ; then
15162 eval "DEFAULT_$LINE"
15163 fi
15164
15165 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15166
15167 fi
15168
15169
15170 eval "$wx_cv_use_xpm"
15171 if test "x$cache" = xyes; then
15172 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15173 fi
15174
15175 if test x"$enablestring" = xdisable; then
15176 if test $wxUSE_XPM = yes; then
15177 result=no
15178 else
15179 result=yes
15180 fi
15181 else
15182 result=$wxUSE_XPM
15183 fi
15184
15185 { echo "$as_me:$LINENO: result: $result" >&5
15186 echo "${ECHO_T}$result" >&6; }
15187
15188
15189 enablestring=
15190 defaultval=$wxUSE_ALL_FEATURES
15191 if test -z "$defaultval"; then
15192 if test x"$enablestring" = xdisable; then
15193 defaultval=yes
15194 else
15195 defaultval=no
15196 fi
15197 fi
15198
15199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15200 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15201 # Check whether --enable-ico_cur was given.
15202 if test "${enable_ico_cur+set}" = set; then
15203 enableval=$enable_ico_cur;
15204 if test "$enableval" = yes; then
15205 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15206 else
15207 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15208 fi
15209 cache=yes
15210
15211 else
15212
15213 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15214 if test "x$LINE" != x ; then
15215 eval "DEFAULT_$LINE"
15216 fi
15217
15218 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15219
15220 fi
15221
15222
15223 eval "$wx_cv_use_ico_cur"
15224 if test "x$cache" = xyes; then
15225 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15226 fi
15227
15228 if test x"$enablestring" = xdisable; then
15229 if test $wxUSE_ICO_CUR = yes; then
15230 result=no
15231 else
15232 result=yes
15233 fi
15234 else
15235 result=$wxUSE_ICO_CUR
15236 fi
15237
15238 { echo "$as_me:$LINENO: result: $result" >&5
15239 echo "${ECHO_T}$result" >&6; }
15240
15241
15242
15243
15244 enablestring=
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15248 defaultval=yes
15249 else
15250 defaultval=no
15251 fi
15252 fi
15253
15254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15255 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15256 # Check whether --enable-dccache was given.
15257 if test "${enable_dccache+set}" = set; then
15258 enableval=$enable_dccache;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15261 else
15262 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15263 fi
15264 cache=yes
15265
15266 else
15267
15268 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15269 if test "x$LINE" != x ; then
15270 eval "DEFAULT_$LINE"
15271 fi
15272
15273 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15274
15275 fi
15276
15277
15278 eval "$wx_cv_use_dccache"
15279 if test "x$cache" = xyes; then
15280 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15281 fi
15282
15283 if test x"$enablestring" = xdisable; then
15284 if test $wxUSE_DC_CACHEING = yes; then
15285 result=no
15286 else
15287 result=yes
15288 fi
15289 else
15290 result=$wxUSE_DC_CACHEING
15291 fi
15292
15293 { echo "$as_me:$LINENO: result: $result" >&5
15294 echo "${ECHO_T}$result" >&6; }
15295
15296
15297 enablestring=
15298 defaultval=$wxUSE_ALL_FEATURES
15299 if test -z "$defaultval"; then
15300 if test x"$enablestring" = xdisable; then
15301 defaultval=yes
15302 else
15303 defaultval=no
15304 fi
15305 fi
15306
15307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
15308 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
15309 # Check whether --enable-regkey was given.
15310 if test "${enable_regkey+set}" = set; then
15311 enableval=$enable_regkey;
15312 if test "$enableval" = yes; then
15313 wx_cv_use_regkey='wxUSE_REGKEY=yes'
15314 else
15315 wx_cv_use_regkey='wxUSE_REGKEY=no'
15316 fi
15317 cache=yes
15318
15319 else
15320
15321 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
15322 if test "x$LINE" != x ; then
15323 eval "DEFAULT_$LINE"
15324 fi
15325
15326 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
15327
15328 fi
15329
15330
15331 eval "$wx_cv_use_regkey"
15332 if test "x$cache" = xyes; then
15333 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
15334 fi
15335
15336 if test x"$enablestring" = xdisable; then
15337 if test $wxUSE_REGKEY = yes; then
15338 result=no
15339 else
15340 result=yes
15341 fi
15342 else
15343 result=$wxUSE_REGKEY
15344 fi
15345
15346 { echo "$as_me:$LINENO: result: $result" >&5
15347 echo "${ECHO_T}$result" >&6; }
15348
15349
15350 enablestring=
15351 defaultval=$wxUSE_ALL_FEATURES
15352 if test -z "$defaultval"; then
15353 if test x"$enablestring" = xdisable; then
15354 defaultval=yes
15355 else
15356 defaultval=no
15357 fi
15358 fi
15359
15360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15361 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15362 # Check whether --enable-uxtheme was given.
15363 if test "${enable_uxtheme+set}" = set; then
15364 enableval=$enable_uxtheme;
15365 if test "$enableval" = yes; then
15366 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15367 else
15368 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15369 fi
15370 cache=yes
15371
15372 else
15373
15374 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15375 if test "x$LINE" != x ; then
15376 eval "DEFAULT_$LINE"
15377 fi
15378
15379 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15380
15381 fi
15382
15383
15384 eval "$wx_cv_use_uxtheme"
15385 if test "x$cache" = xyes; then
15386 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15387 fi
15388
15389 if test x"$enablestring" = xdisable; then
15390 if test $wxUSE_UXTHEME = yes; then
15391 result=no
15392 else
15393 result=yes
15394 fi
15395 else
15396 result=$wxUSE_UXTHEME
15397 fi
15398
15399 { echo "$as_me:$LINENO: result: $result" >&5
15400 echo "${ECHO_T}$result" >&6; }
15401
15402
15403 enablestring=
15404 defaultval=$wxUSE_ALL_FEATURES
15405 if test -z "$defaultval"; then
15406 if test x"$enablestring" = xdisable; then
15407 defaultval=yes
15408 else
15409 defaultval=no
15410 fi
15411 fi
15412
15413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15414 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
15415 # Check whether --enable-wxdib was given.
15416 if test "${enable_wxdib+set}" = set; then
15417 enableval=$enable_wxdib;
15418 if test "$enableval" = yes; then
15419 wx_cv_use_wxdib='wxUSE_DIB=yes'
15420 else
15421 wx_cv_use_wxdib='wxUSE_DIB=no'
15422 fi
15423 cache=yes
15424
15425 else
15426
15427 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15428 if test "x$LINE" != x ; then
15429 eval "DEFAULT_$LINE"
15430 fi
15431
15432 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15433
15434 fi
15435
15436
15437 eval "$wx_cv_use_wxdib"
15438 if test "x$cache" = xyes; then
15439 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15440 fi
15441
15442 if test x"$enablestring" = xdisable; then
15443 if test $wxUSE_DIB = yes; then
15444 result=no
15445 else
15446 result=yes
15447 fi
15448 else
15449 result=$wxUSE_DIB
15450 fi
15451
15452 { echo "$as_me:$LINENO: result: $result" >&5
15453 echo "${ECHO_T}$result" >&6; }
15454
15455
15456 fi
15457
15458
15459 echo "saving argument cache $wx_arg_cache_file"
15460 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15461
15462
15463
15464 { echo "$as_me:$LINENO: checking for toolkit" >&5
15465 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15466
15467 # In Wine, we need to default to MSW, not GTK or MOTIF
15468 if test "$wxUSE_WINE" = "yes"; then
15469 DEFAULT_DEFAULT_wxUSE_GTK=0
15470 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15471 DEFAULT_DEFAULT_wxUSE_MSW=1
15472 wxUSE_SHARED=no
15473 CC=${CC:-winegcc}
15474 CXX=${CXX:-wineg++}
15475 fi
15476
15477
15478 if test "$wxUSE_GUI" = "yes"; then
15479
15480 if test "$USE_BEOS" = 1; then
15481 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15482 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15483 { (exit 1); exit 1; }; }
15484 fi
15485
15486 if test "$TOOLKIT_GIVEN" = 1; then
15487 for toolkit in `echo $ALL_TOOLKITS`; do
15488 var=wxUSE_$toolkit
15489 eval "value=\$${var}"
15490 if test "x$value" = "xno"; then
15491 eval "$var=0"
15492 elif test "x$value" != "x"; then
15493 eval "$var=1"
15494 fi
15495
15496 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15497 eval "wx${toolkit}_VERSION=$value"
15498 fi
15499 done
15500 else
15501 for toolkit in `echo $ALL_TOOLKITS`; do
15502 if test "$has_toolkit_in_cache" != 1; then
15503 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15504 else
15505 var=DEFAULT_wxUSE_$toolkit
15506
15507 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15508 if test "x$version" != "x"; then
15509 eval "wx${toolkit}_VERSION=$version"
15510 fi
15511 fi
15512 eval "wxUSE_$toolkit=\$${var}"
15513 done
15514 fi
15515
15516 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15517 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15518 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15519
15520 case "${host}" in
15521 *-pc-os2_emx | *-pc-os2-emx )
15522 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15523 esac
15524
15525 case "$NUM_TOOLKITS" in
15526 1)
15527 ;;
15528 0)
15529 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15530 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15531 { (exit 1); exit 1; }; }
15532 ;;
15533 *)
15534 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15535 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15536 { (exit 1); exit 1; }; }
15537 esac
15538
15539 # to be removed when --disable-gtk2 isn't needed
15540 if test "x$wxUSE_GTK2" = "xyes"; then
15541 wxGTK_VERSION=2
15542 elif test "x$wxUSE_GTK2" = "xno"; then
15543 wxGTK_VERSION=1
15544 fi
15545
15546 for toolkit in `echo $ALL_TOOLKITS`; do
15547 var=wxUSE_$toolkit
15548 eval "value=\$${var}"
15549 if test "x$value" != x; then
15550 cache_var=CACHE_$toolkit
15551 eval "cache=\$${cache_var}"
15552 if test "$cache" = 1; then
15553 echo "$var=$value" >> ${wx_arg_cache_file}
15554 eval "version=\$wx${toolkit}_VERSION"
15555 if test "x$version" != "x"; then
15556 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15557 fi
15558 fi
15559 if test "$value" = 1; then
15560 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15561 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15562 echo "${ECHO_T}$toolkit_echo" >&6; }
15563 fi
15564 fi
15565 done
15566 else
15567 if test "x$host_alias" != "x"; then
15568 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15569 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15570 else
15571 { echo "$as_me:$LINENO: result: base only" >&5
15572 echo "${ECHO_T}base only" >&6; }
15573 fi
15574 fi
15575
15576
15577 cat >confcache <<\_ACEOF
15578 # This file is a shell script that caches the results of configure
15579 # tests run on this system so they can be shared between configure
15580 # scripts and configure runs, see configure's option --config-cache.
15581 # It is not useful on other systems. If it contains results you don't
15582 # want to keep, you may remove or edit it.
15583 #
15584 # config.status only pays attention to the cache file if you give it
15585 # the --recheck option to rerun configure.
15586 #
15587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15589 # following values.
15590
15591 _ACEOF
15592
15593 # The following way of writing the cache mishandles newlines in values,
15594 # but we know of no workaround that is simple, portable, and efficient.
15595 # So, we kill variables containing newlines.
15596 # Ultrix sh set writes to stderr and can't be redirected directly,
15597 # and sets the high bit in the cache file unless we assign to the vars.
15598 (
15599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15600 eval ac_val=\$$ac_var
15601 case $ac_val in #(
15602 *${as_nl}*)
15603 case $ac_var in #(
15604 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15605 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15606 esac
15607 case $ac_var in #(
15608 _ | IFS | as_nl) ;; #(
15609 *) $as_unset $ac_var ;;
15610 esac ;;
15611 esac
15612 done
15613
15614 (set) 2>&1 |
15615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15616 *${as_nl}ac_space=\ *)
15617 # `set' does not quote correctly, so add quotes (double-quote
15618 # substitution turns \\\\ into \\, and sed turns \\ into \).
15619 sed -n \
15620 "s/'/'\\\\''/g;
15621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15622 ;; #(
15623 *)
15624 # `set' quotes correctly as required by POSIX, so do not add quotes.
15625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15626 ;;
15627 esac |
15628 sort
15629 ) |
15630 sed '
15631 /^ac_cv_env_/b end
15632 t clear
15633 :clear
15634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15635 t end
15636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15637 :end' >>confcache
15638 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15639 if test -w "$cache_file"; then
15640 test "x$cache_file" != "x/dev/null" &&
15641 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15642 echo "$as_me: updating cache $cache_file" >&6;}
15643 cat confcache >$cache_file
15644 else
15645 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15646 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15647 fi
15648 fi
15649 rm -f confcache
15650
15651 CFLAGS=${CFLAGS:=}
15652
15653
15654
15655 ac_ext=c
15656 ac_cpp='$CPP $CPPFLAGS'
15657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15660 if test -n "$ac_tool_prefix"; then
15661 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15662 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15665 if test "${ac_cv_prog_CC+set}" = set; then
15666 echo $ECHO_N "(cached) $ECHO_C" >&6
15667 else
15668 if test -n "$CC"; then
15669 ac_cv_prog_CC="$CC" # Let the user override the test.
15670 else
15671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15672 for as_dir in $PATH
15673 do
15674 IFS=$as_save_IFS
15675 test -z "$as_dir" && as_dir=.
15676 for ac_exec_ext in '' $ac_executable_extensions; do
15677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15678 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15680 break 2
15681 fi
15682 done
15683 done
15684 IFS=$as_save_IFS
15685
15686 fi
15687 fi
15688 CC=$ac_cv_prog_CC
15689 if test -n "$CC"; then
15690 { echo "$as_me:$LINENO: result: $CC" >&5
15691 echo "${ECHO_T}$CC" >&6; }
15692 else
15693 { echo "$as_me:$LINENO: result: no" >&5
15694 echo "${ECHO_T}no" >&6; }
15695 fi
15696
15697
15698 fi
15699 if test -z "$ac_cv_prog_CC"; then
15700 ac_ct_CC=$CC
15701 # Extract the first word of "gcc", so it can be a program name with args.
15702 set dummy gcc; ac_word=$2
15703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 else
15708 if test -n "$ac_ct_CC"; then
15709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15710 else
15711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15712 for as_dir in $PATH
15713 do
15714 IFS=$as_save_IFS
15715 test -z "$as_dir" && as_dir=.
15716 for ac_exec_ext in '' $ac_executable_extensions; do
15717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15718 ac_cv_prog_ac_ct_CC="gcc"
15719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15720 break 2
15721 fi
15722 done
15723 done
15724 IFS=$as_save_IFS
15725
15726 fi
15727 fi
15728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15729 if test -n "$ac_ct_CC"; then
15730 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15731 echo "${ECHO_T}$ac_ct_CC" >&6; }
15732 else
15733 { echo "$as_me:$LINENO: result: no" >&5
15734 echo "${ECHO_T}no" >&6; }
15735 fi
15736
15737 if test "x$ac_ct_CC" = x; then
15738 CC=""
15739 else
15740 case $cross_compiling:$ac_tool_warned in
15741 yes:)
15742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15743 whose name does not start with the host triplet. If you think this
15744 configuration is useful to you, please write to autoconf@gnu.org." >&5
15745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15746 whose name does not start with the host triplet. If you think this
15747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15748 ac_tool_warned=yes ;;
15749 esac
15750 CC=$ac_ct_CC
15751 fi
15752 else
15753 CC="$ac_cv_prog_CC"
15754 fi
15755
15756 if test -z "$CC"; then
15757 if test -n "$ac_tool_prefix"; then
15758 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15759 set dummy ${ac_tool_prefix}cc; ac_word=$2
15760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15762 if test "${ac_cv_prog_CC+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 else
15765 if test -n "$CC"; then
15766 ac_cv_prog_CC="$CC" # Let the user override the test.
15767 else
15768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15769 for as_dir in $PATH
15770 do
15771 IFS=$as_save_IFS
15772 test -z "$as_dir" && as_dir=.
15773 for ac_exec_ext in '' $ac_executable_extensions; do
15774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15775 ac_cv_prog_CC="${ac_tool_prefix}cc"
15776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15777 break 2
15778 fi
15779 done
15780 done
15781 IFS=$as_save_IFS
15782
15783 fi
15784 fi
15785 CC=$ac_cv_prog_CC
15786 if test -n "$CC"; then
15787 { echo "$as_me:$LINENO: result: $CC" >&5
15788 echo "${ECHO_T}$CC" >&6; }
15789 else
15790 { echo "$as_me:$LINENO: result: no" >&5
15791 echo "${ECHO_T}no" >&6; }
15792 fi
15793
15794
15795 fi
15796 fi
15797 if test -z "$CC"; then
15798 # Extract the first word of "cc", so it can be a program name with args.
15799 set dummy cc; ac_word=$2
15800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15802 if test "${ac_cv_prog_CC+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 else
15805 if test -n "$CC"; then
15806 ac_cv_prog_CC="$CC" # Let the user override the test.
15807 else
15808 ac_prog_rejected=no
15809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15810 for as_dir in $PATH
15811 do
15812 IFS=$as_save_IFS
15813 test -z "$as_dir" && as_dir=.
15814 for ac_exec_ext in '' $ac_executable_extensions; do
15815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15816 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15817 ac_prog_rejected=yes
15818 continue
15819 fi
15820 ac_cv_prog_CC="cc"
15821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15822 break 2
15823 fi
15824 done
15825 done
15826 IFS=$as_save_IFS
15827
15828 if test $ac_prog_rejected = yes; then
15829 # We found a bogon in the path, so make sure we never use it.
15830 set dummy $ac_cv_prog_CC
15831 shift
15832 if test $# != 0; then
15833 # We chose a different compiler from the bogus one.
15834 # However, it has the same basename, so the bogon will be chosen
15835 # first if we set CC to just the basename; use the full file name.
15836 shift
15837 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15838 fi
15839 fi
15840 fi
15841 fi
15842 CC=$ac_cv_prog_CC
15843 if test -n "$CC"; then
15844 { echo "$as_me:$LINENO: result: $CC" >&5
15845 echo "${ECHO_T}$CC" >&6; }
15846 else
15847 { echo "$as_me:$LINENO: result: no" >&5
15848 echo "${ECHO_T}no" >&6; }
15849 fi
15850
15851
15852 fi
15853 if test -z "$CC"; then
15854 if test -n "$ac_tool_prefix"; then
15855 for ac_prog in cl.exe
15856 do
15857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15861 if test "${ac_cv_prog_CC+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 if test -n "$CC"; then
15865 ac_cv_prog_CC="$CC" # Let the user override the test.
15866 else
15867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15868 for as_dir in $PATH
15869 do
15870 IFS=$as_save_IFS
15871 test -z "$as_dir" && as_dir=.
15872 for ac_exec_ext in '' $ac_executable_extensions; do
15873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15876 break 2
15877 fi
15878 done
15879 done
15880 IFS=$as_save_IFS
15881
15882 fi
15883 fi
15884 CC=$ac_cv_prog_CC
15885 if test -n "$CC"; then
15886 { echo "$as_me:$LINENO: result: $CC" >&5
15887 echo "${ECHO_T}$CC" >&6; }
15888 else
15889 { echo "$as_me:$LINENO: result: no" >&5
15890 echo "${ECHO_T}no" >&6; }
15891 fi
15892
15893
15894 test -n "$CC" && break
15895 done
15896 fi
15897 if test -z "$CC"; then
15898 ac_ct_CC=$CC
15899 for ac_prog in cl.exe
15900 do
15901 # Extract the first word of "$ac_prog", so it can be a program name with args.
15902 set dummy $ac_prog; ac_word=$2
15903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15905 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15906 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 else
15908 if test -n "$ac_ct_CC"; then
15909 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15910 else
15911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15912 for as_dir in $PATH
15913 do
15914 IFS=$as_save_IFS
15915 test -z "$as_dir" && as_dir=.
15916 for ac_exec_ext in '' $ac_executable_extensions; do
15917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15918 ac_cv_prog_ac_ct_CC="$ac_prog"
15919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15920 break 2
15921 fi
15922 done
15923 done
15924 IFS=$as_save_IFS
15925
15926 fi
15927 fi
15928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15929 if test -n "$ac_ct_CC"; then
15930 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15931 echo "${ECHO_T}$ac_ct_CC" >&6; }
15932 else
15933 { echo "$as_me:$LINENO: result: no" >&5
15934 echo "${ECHO_T}no" >&6; }
15935 fi
15936
15937
15938 test -n "$ac_ct_CC" && break
15939 done
15940
15941 if test "x$ac_ct_CC" = x; then
15942 CC=""
15943 else
15944 case $cross_compiling:$ac_tool_warned in
15945 yes:)
15946 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15947 whose name does not start with the host triplet. If you think this
15948 configuration is useful to you, please write to autoconf@gnu.org." >&5
15949 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15950 whose name does not start with the host triplet. If you think this
15951 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15952 ac_tool_warned=yes ;;
15953 esac
15954 CC=$ac_ct_CC
15955 fi
15956 fi
15957
15958 fi
15959
15960
15961 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15962 See \`config.log' for more details." >&5
15963 echo "$as_me: error: no acceptable C compiler found in \$PATH
15964 See \`config.log' for more details." >&2;}
15965 { (exit 1); exit 1; }; }
15966
15967 # Provide some information about the compiler.
15968 echo "$as_me:$LINENO: checking for C compiler version" >&5
15969 ac_compiler=`set X $ac_compile; echo $2`
15970 { (ac_try="$ac_compiler --version >&5"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_compiler --version >&5") 2>&5
15977 ac_status=$?
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }
15980 { (ac_try="$ac_compiler -v >&5"
15981 case "(($ac_try" in
15982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15983 *) ac_try_echo=$ac_try;;
15984 esac
15985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15986 (eval "$ac_compiler -v >&5") 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }
15990 { (ac_try="$ac_compiler -V >&5"
15991 case "(($ac_try" in
15992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15994 esac
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_compiler -V >&5") 2>&5
15997 ac_status=$?
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }
16000
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007
16008 int
16009 main ()
16010 {
16011
16012 ;
16013 return 0;
16014 }
16015 _ACEOF
16016 ac_clean_files_save=$ac_clean_files
16017 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16018 # Try to create an executable without -o first, disregard a.out.
16019 # It will help us diagnose broken compilers, and finding out an intuition
16020 # of exeext.
16021 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16022 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16023 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16024 #
16025 # List of possible output files, starting from the most likely.
16026 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16027 # only as a last resort. b.out is created by i960 compilers.
16028 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16029 #
16030 # The IRIX 6 linker writes into existing files which may not be
16031 # executable, retaining their permissions. Remove them first so a
16032 # subsequent execution test works.
16033 ac_rmfiles=
16034 for ac_file in $ac_files
16035 do
16036 case $ac_file in
16037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16038 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16039 esac
16040 done
16041 rm -f $ac_rmfiles
16042
16043 if { (ac_try="$ac_link_default"
16044 case "(($ac_try" in
16045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16046 *) ac_try_echo=$ac_try;;
16047 esac
16048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16049 (eval "$ac_link_default") 2>&5
16050 ac_status=$?
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); }; then
16053 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16054 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16055 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16056 # so that the user can short-circuit this test for compilers unknown to
16057 # Autoconf.
16058 for ac_file in $ac_files ''
16059 do
16060 test -f "$ac_file" || continue
16061 case $ac_file in
16062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16063 ;;
16064 [ab].out )
16065 # We found the default executable, but exeext='' is most
16066 # certainly right.
16067 break;;
16068 *.* )
16069 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16070 then :; else
16071 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16072 fi
16073 # We set ac_cv_exeext here because the later test for it is not
16074 # safe: cross compilers may not add the suffix if given an `-o'
16075 # argument, so we may need to know it at that point already.
16076 # Even if this section looks crufty: it has the advantage of
16077 # actually working.
16078 break;;
16079 * )
16080 break;;
16081 esac
16082 done
16083 test "$ac_cv_exeext" = no && ac_cv_exeext=
16084
16085 else
16086 ac_file=''
16087 fi
16088
16089 { echo "$as_me:$LINENO: result: $ac_file" >&5
16090 echo "${ECHO_T}$ac_file" >&6; }
16091 if test -z "$ac_file"; then
16092 echo "$as_me: failed program was:" >&5
16093 sed 's/^/| /' conftest.$ac_ext >&5
16094
16095 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16096 See \`config.log' for more details." >&5
16097 echo "$as_me: error: C compiler cannot create executables
16098 See \`config.log' for more details." >&2;}
16099 { (exit 77); exit 77; }; }
16100 fi
16101
16102 ac_exeext=$ac_cv_exeext
16103
16104 # Check that the compiler produces executables we can run. If not, either
16105 # the compiler is broken, or we cross compile.
16106 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16107 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16108 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16109 # If not cross compiling, check that we can run a simple program.
16110 if test "$cross_compiling" != yes; then
16111 if { ac_try='./$ac_file'
16112 { (case "(($ac_try" in
16113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16114 *) ac_try_echo=$ac_try;;
16115 esac
16116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16117 (eval "$ac_try") 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16121 cross_compiling=no
16122 else
16123 if test "$cross_compiling" = maybe; then
16124 cross_compiling=yes
16125 else
16126 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16127 If you meant to cross compile, use \`--host'.
16128 See \`config.log' for more details." >&5
16129 echo "$as_me: error: cannot run C compiled programs.
16130 If you meant to cross compile, use \`--host'.
16131 See \`config.log' for more details." >&2;}
16132 { (exit 1); exit 1; }; }
16133 fi
16134 fi
16135 fi
16136 { echo "$as_me:$LINENO: result: yes" >&5
16137 echo "${ECHO_T}yes" >&6; }
16138
16139 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16140 ac_clean_files=$ac_clean_files_save
16141 # Check that the compiler produces executables we can run. If not, either
16142 # the compiler is broken, or we cross compile.
16143 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16144 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16145 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16146 echo "${ECHO_T}$cross_compiling" >&6; }
16147
16148 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16149 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16150 if { (ac_try="$ac_link"
16151 case "(($ac_try" in
16152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153 *) ac_try_echo=$ac_try;;
16154 esac
16155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156 (eval "$ac_link") 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; then
16160 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16161 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16162 # work properly (i.e., refer to `conftest.exe'), while it won't with
16163 # `rm'.
16164 for ac_file in conftest.exe conftest conftest.*; do
16165 test -f "$ac_file" || continue
16166 case $ac_file in
16167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16168 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16169 break;;
16170 * ) break;;
16171 esac
16172 done
16173 else
16174 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16175 See \`config.log' for more details." >&5
16176 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16177 See \`config.log' for more details." >&2;}
16178 { (exit 1); exit 1; }; }
16179 fi
16180
16181 rm -f conftest$ac_cv_exeext
16182 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16183 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16184
16185 rm -f conftest.$ac_ext
16186 EXEEXT=$ac_cv_exeext
16187 ac_exeext=$EXEEXT
16188 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16189 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16190 if test "${ac_cv_objext+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 cat >conftest.$ac_ext <<_ACEOF
16194 /* confdefs.h. */
16195 _ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199
16200 int
16201 main ()
16202 {
16203
16204 ;
16205 return 0;
16206 }
16207 _ACEOF
16208 rm -f conftest.o conftest.obj
16209 if { (ac_try="$ac_compile"
16210 case "(($ac_try" in
16211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 *) ac_try_echo=$ac_try;;
16213 esac
16214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 (eval "$ac_compile") 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); }; then
16219 for ac_file in conftest.o conftest.obj conftest.*; do
16220 test -f "$ac_file" || continue;
16221 case $ac_file in
16222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16224 break;;
16225 esac
16226 done
16227 else
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16230
16231 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16232 See \`config.log' for more details." >&5
16233 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16234 See \`config.log' for more details." >&2;}
16235 { (exit 1); exit 1; }; }
16236 fi
16237
16238 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16239 fi
16240 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16241 echo "${ECHO_T}$ac_cv_objext" >&6; }
16242 OBJEXT=$ac_cv_objext
16243 ac_objext=$OBJEXT
16244 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16245 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259 #ifndef __GNUC__
16260 choke me
16261 #endif
16262
16263 ;
16264 return 0;
16265 }
16266 _ACEOF
16267 rm -f conftest.$ac_objext
16268 if { (ac_try="$ac_compile"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16272 esac
16273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compile") 2>conftest.er1
16275 ac_status=$?
16276 grep -v '^ *+' conftest.er1 >conftest.err
16277 rm -f conftest.er1
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); } && {
16281 test -z "$ac_c_werror_flag" ||
16282 test ! -s conftest.err
16283 } && test -s conftest.$ac_objext; then
16284 ac_compiler_gnu=yes
16285 else
16286 echo "$as_me: failed program was:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16288
16289 ac_compiler_gnu=no
16290 fi
16291
16292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16293 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16294
16295 fi
16296 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16297 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16298 GCC=`test $ac_compiler_gnu = yes && echo yes`
16299 ac_test_CFLAGS=${CFLAGS+set}
16300 ac_save_CFLAGS=$CFLAGS
16301 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16302 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16303 if test "${ac_cv_prog_cc_g+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 else
16306 ac_save_c_werror_flag=$ac_c_werror_flag
16307 ac_c_werror_flag=yes
16308 ac_cv_prog_cc_g=no
16309 CFLAGS="-g"
16310 cat >conftest.$ac_ext <<_ACEOF
16311 /* confdefs.h. */
16312 _ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16316
16317 int
16318 main ()
16319 {
16320
16321 ;
16322 return 0;
16323 }
16324 _ACEOF
16325 rm -f conftest.$ac_objext
16326 if { (ac_try="$ac_compile"
16327 case "(($ac_try" in
16328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16329 *) ac_try_echo=$ac_try;;
16330 esac
16331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16332 (eval "$ac_compile") 2>conftest.er1
16333 ac_status=$?
16334 grep -v '^ *+' conftest.er1 >conftest.err
16335 rm -f conftest.er1
16336 cat conftest.err >&5
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); } && {
16339 test -z "$ac_c_werror_flag" ||
16340 test ! -s conftest.err
16341 } && test -s conftest.$ac_objext; then
16342 ac_cv_prog_cc_g=yes
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16346
16347 CFLAGS=""
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 int
16356 main ()
16357 {
16358
16359 ;
16360 return 0;
16361 }
16362 _ACEOF
16363 rm -f conftest.$ac_objext
16364 if { (ac_try="$ac_compile"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compile") 2>conftest.er1
16371 ac_status=$?
16372 grep -v '^ *+' conftest.er1 >conftest.err
16373 rm -f conftest.er1
16374 cat conftest.err >&5
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_c_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest.$ac_objext; then
16380 :
16381 else
16382 echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16384
16385 ac_c_werror_flag=$ac_save_c_werror_flag
16386 CFLAGS="-g"
16387 cat >conftest.$ac_ext <<_ACEOF
16388 /* confdefs.h. */
16389 _ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16393
16394 int
16395 main ()
16396 {
16397
16398 ;
16399 return 0;
16400 }
16401 _ACEOF
16402 rm -f conftest.$ac_objext
16403 if { (ac_try="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16407 esac
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16410 ac_status=$?
16411 grep -v '^ *+' conftest.er1 >conftest.err
16412 rm -f conftest.er1
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest.$ac_objext; then
16419 ac_cv_prog_cc_g=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16423
16424
16425 fi
16426
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16428 fi
16429
16430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16431 fi
16432
16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16434 ac_c_werror_flag=$ac_save_c_werror_flag
16435 fi
16436 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16437 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16438 if test "$ac_test_CFLAGS" = set; then
16439 CFLAGS=$ac_save_CFLAGS
16440 elif test $ac_cv_prog_cc_g = yes; then
16441 if test "$GCC" = yes; then
16442 CFLAGS="-g -O2"
16443 else
16444 CFLAGS="-g"
16445 fi
16446 else
16447 if test "$GCC" = yes; then
16448 CFLAGS="-O2"
16449 else
16450 CFLAGS=
16451 fi
16452 fi
16453 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16454 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16455 if test "${ac_cv_prog_cc_c89+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 else
16458 ac_cv_prog_cc_c89=no
16459 ac_save_CC=$CC
16460 cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h. */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h. */
16466 #include <stdarg.h>
16467 #include <stdio.h>
16468 #include <sys/types.h>
16469 #include <sys/stat.h>
16470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16471 struct buf { int x; };
16472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16473 static char *e (p, i)
16474 char **p;
16475 int i;
16476 {
16477 return p[i];
16478 }
16479 static char *f (char * (*g) (char **, int), char **p, ...)
16480 {
16481 char *s;
16482 va_list v;
16483 va_start (v,p);
16484 s = g (p, va_arg (v,int));
16485 va_end (v);
16486 return s;
16487 }
16488
16489 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16490 function prototypes and stuff, but not '\xHH' hex character constants.
16491 These don't provoke an error unfortunately, instead are silently treated
16492 as 'x'. The following induces an error, until -std is added to get
16493 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16494 array size at least. It's necessary to write '\x00'==0 to get something
16495 that's true only with -std. */
16496 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16497
16498 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16499 inside strings and character constants. */
16500 #define FOO(x) 'x'
16501 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16502
16503 int test (int i, double x);
16504 struct s1 {int (*f) (int a);};
16505 struct s2 {int (*f) (double a);};
16506 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16507 int argc;
16508 char **argv;
16509 int
16510 main ()
16511 {
16512 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16513 ;
16514 return 0;
16515 }
16516 _ACEOF
16517 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16518 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16519 do
16520 CC="$ac_save_CC $ac_arg"
16521 rm -f conftest.$ac_objext
16522 if { (ac_try="$ac_compile"
16523 case "(($ac_try" in
16524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16525 *) ac_try_echo=$ac_try;;
16526 esac
16527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16528 (eval "$ac_compile") 2>conftest.er1
16529 ac_status=$?
16530 grep -v '^ *+' conftest.er1 >conftest.err
16531 rm -f conftest.er1
16532 cat conftest.err >&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } && {
16535 test -z "$ac_c_werror_flag" ||
16536 test ! -s conftest.err
16537 } && test -s conftest.$ac_objext; then
16538 ac_cv_prog_cc_c89=$ac_arg
16539 else
16540 echo "$as_me: failed program was:" >&5
16541 sed 's/^/| /' conftest.$ac_ext >&5
16542
16543
16544 fi
16545
16546 rm -f core conftest.err conftest.$ac_objext
16547 test "x$ac_cv_prog_cc_c89" != "xno" && break
16548 done
16549 rm -f conftest.$ac_ext
16550 CC=$ac_save_CC
16551
16552 fi
16553 # AC_CACHE_VAL
16554 case "x$ac_cv_prog_cc_c89" in
16555 x)
16556 { echo "$as_me:$LINENO: result: none needed" >&5
16557 echo "${ECHO_T}none needed" >&6; } ;;
16558 xno)
16559 { echo "$as_me:$LINENO: result: unsupported" >&5
16560 echo "${ECHO_T}unsupported" >&6; } ;;
16561 *)
16562 CC="$CC $ac_cv_prog_cc_c89"
16563 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16564 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16565 esac
16566
16567
16568 ac_ext=c
16569 ac_cpp='$CPP $CPPFLAGS'
16570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16573
16574
16575
16576
16577 ac_ext=c
16578 ac_cpp='$CPP $CPPFLAGS'
16579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16582
16583 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16584 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16585 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 else
16588 cat >conftest.$ac_ext <<_ACEOF
16589 /* confdefs.h. */
16590 _ACEOF
16591 cat confdefs.h >>conftest.$ac_ext
16592 cat >>conftest.$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594
16595 int
16596 main ()
16597 {
16598
16599 #ifndef __INTEL_COMPILER
16600 choke me
16601 #endif
16602
16603 ;
16604 return 0;
16605 }
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (ac_try="$ac_compile"
16609 case "(($ac_try" in
16610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16611 *) ac_try_echo=$ac_try;;
16612 esac
16613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16614 (eval "$ac_compile") 2>conftest.er1
16615 ac_status=$?
16616 grep -v '^ *+' conftest.er1 >conftest.err
16617 rm -f conftest.er1
16618 cat conftest.err >&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); } && {
16621 test -z "$ac_c_werror_flag" ||
16622 test ! -s conftest.err
16623 } && test -s conftest.$ac_objext; then
16624 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16625 else
16626 echo "$as_me: failed program was:" >&5
16627 sed 's/^/| /' conftest.$ac_ext >&5
16628
16629 bakefile_cv_c_compiler___INTEL_COMPILER=no
16630
16631 fi
16632
16633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16634
16635
16636 fi
16637 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16638 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16639 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16640 :; INTELCC=yes
16641 else
16642 :;
16643 fi
16644 ac_ext=c
16645 ac_cpp='$CPP $CPPFLAGS'
16646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16649
16650
16651
16652
16653 if test "x$GCC" != "xyes"; then
16654 if test "xCC" = "xC"; then
16655 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16656 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16657 if test "${bakefile_cv_c_exto+set}" = set; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6
16659 else
16660 cat >conftest.$ac_ext <<_ACEOF
16661 /* confdefs.h. */
16662 _ACEOF
16663 cat confdefs.h >>conftest.$ac_ext
16664 cat >>conftest.$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666
16667 int
16668 main ()
16669 {
16670
16671 ;
16672 return 0;
16673 }
16674 _ACEOF
16675 rm -f conftest.$ac_objext conftest.$ac_ext.o
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; then
16681 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16682 case $ac_file in
16683 conftest.$ac_ext.o)
16684 bakefile_cv_c_exto="-ext o"
16685 ;;
16686 *)
16687 ;;
16688 esac
16689 done
16690 else
16691 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16692 See \`config.log' for more details." >&5
16693 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16694 See \`config.log' for more details." >&2;}
16695 { (exit 1); exit 1; }; }
16696
16697 fi
16698
16699 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16700
16701 fi
16702 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16703 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16704 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16705 if test "c" = "c"; then
16706 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16707 fi
16708 if test "c" = "cxx"; then
16709 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16710 fi
16711 fi
16712
16713 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16714 unset ac_cv_prog_cc_g
16715 ac_test_CFLAGS=${CFLAGS+set}
16716 ac_save_CFLAGS=$CFLAGS
16717 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16718 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16719 if test "${ac_cv_prog_cc_g+set}" = set; then
16720 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 else
16722 ac_save_c_werror_flag=$ac_c_werror_flag
16723 ac_c_werror_flag=yes
16724 ac_cv_prog_cc_g=no
16725 CFLAGS="-g"
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732
16733 int
16734 main ()
16735 {
16736
16737 ;
16738 return 0;
16739 }
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (ac_try="$ac_compile"
16743 case "(($ac_try" in
16744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16745 *) ac_try_echo=$ac_try;;
16746 esac
16747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16748 (eval "$ac_compile") 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } && {
16755 test -z "$ac_c_werror_flag" ||
16756 test ! -s conftest.err
16757 } && test -s conftest.$ac_objext; then
16758 ac_cv_prog_cc_g=yes
16759 else
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.$ac_ext >&5
16762
16763 CFLAGS=""
16764 cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h. */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770
16771 int
16772 main ()
16773 {
16774
16775 ;
16776 return 0;
16777 }
16778 _ACEOF
16779 rm -f conftest.$ac_objext
16780 if { (ac_try="$ac_compile"
16781 case "(($ac_try" in
16782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16783 *) ac_try_echo=$ac_try;;
16784 esac
16785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16786 (eval "$ac_compile") 2>conftest.er1
16787 ac_status=$?
16788 grep -v '^ *+' conftest.er1 >conftest.err
16789 rm -f conftest.er1
16790 cat conftest.err >&5
16791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792 (exit $ac_status); } && {
16793 test -z "$ac_c_werror_flag" ||
16794 test ! -s conftest.err
16795 } && test -s conftest.$ac_objext; then
16796 :
16797 else
16798 echo "$as_me: failed program was:" >&5
16799 sed 's/^/| /' conftest.$ac_ext >&5
16800
16801 ac_c_werror_flag=$ac_save_c_werror_flag
16802 CFLAGS="-g"
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809
16810 int
16811 main ()
16812 {
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16823 esac
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16826 ac_status=$?
16827 grep -v '^ *+' conftest.er1 >conftest.err
16828 rm -f conftest.er1
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.$ac_objext; then
16835 ac_cv_prog_cc_g=yes
16836 else
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16839
16840
16841 fi
16842
16843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16844 fi
16845
16846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16847 fi
16848
16849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16850 ac_c_werror_flag=$ac_save_c_werror_flag
16851 fi
16852 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16853 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16854 if test "$ac_test_CFLAGS" = set; then
16855 CFLAGS=$ac_save_CFLAGS
16856 elif test $ac_cv_prog_cc_g = yes; then
16857 if test "$GCC" = yes; then
16858 CFLAGS="-g -O2"
16859 else
16860 CFLAGS="-g"
16861 fi
16862 else
16863 if test "$GCC" = yes; then
16864 CFLAGS="-O2"
16865 else
16866 CFLAGS=
16867 fi
16868 fi
16869 fi
16870 fi
16871
16872 case `uname -s` in
16873 AIX*)
16874
16875
16876 ac_ext=c
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16881
16882 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16883 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16884 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893
16894 int
16895 main ()
16896 {
16897
16898 #ifndef __xlC__
16899 choke me
16900 #endif
16901
16902 ;
16903 return 0;
16904 }
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (ac_try="$ac_compile"
16908 case "(($ac_try" in
16909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16910 *) ac_try_echo=$ac_try;;
16911 esac
16912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16913 (eval "$ac_compile") 2>conftest.er1
16914 ac_status=$?
16915 grep -v '^ *+' conftest.er1 >conftest.err
16916 rm -f conftest.er1
16917 cat conftest.err >&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } && {
16920 test -z "$ac_c_werror_flag" ||
16921 test ! -s conftest.err
16922 } && test -s conftest.$ac_objext; then
16923 bakefile_cv_c_compiler___xlC__=yes
16924 else
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16927
16928 bakefile_cv_c_compiler___xlC__=no
16929
16930 fi
16931
16932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933
16934
16935 fi
16936 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16937 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16938 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16939 :; XLCC=yes
16940 else
16941 :;
16942 fi
16943 ac_ext=c
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16948
16949
16950
16951 ;;
16952
16953 Darwin)
16954
16955
16956 ac_ext=c
16957 ac_cpp='$CPP $CPPFLAGS'
16958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16961
16962 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16963 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16964 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16965 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 else
16967 cat >conftest.$ac_ext <<_ACEOF
16968 /* confdefs.h. */
16969 _ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973
16974 int
16975 main ()
16976 {
16977
16978 #ifndef __MWERKS__
16979 choke me
16980 #endif
16981
16982 ;
16983 return 0;
16984 }
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (ac_try="$ac_compile"
16988 case "(($ac_try" in
16989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16990 *) ac_try_echo=$ac_try;;
16991 esac
16992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16993 (eval "$ac_compile") 2>conftest.er1
16994 ac_status=$?
16995 grep -v '^ *+' conftest.er1 >conftest.err
16996 rm -f conftest.er1
16997 cat conftest.err >&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } && {
17000 test -z "$ac_c_werror_flag" ||
17001 test ! -s conftest.err
17002 } && test -s conftest.$ac_objext; then
17003 bakefile_cv_c_compiler___MWERKS__=yes
17004 else
17005 echo "$as_me: failed program was:" >&5
17006 sed 's/^/| /' conftest.$ac_ext >&5
17007
17008 bakefile_cv_c_compiler___MWERKS__=no
17009
17010 fi
17011
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013
17014
17015 fi
17016 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17017 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17018 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17019 :; MWCC=yes
17020 else
17021 :;
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031
17032
17033 ac_ext=c
17034 ac_cpp='$CPP $CPPFLAGS'
17035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17038
17039 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17040 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17041 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17042 echo $ECHO_N "(cached) $ECHO_C" >&6
17043 else
17044 cat >conftest.$ac_ext <<_ACEOF
17045 /* confdefs.h. */
17046 _ACEOF
17047 cat confdefs.h >>conftest.$ac_ext
17048 cat >>conftest.$ac_ext <<_ACEOF
17049 /* end confdefs.h. */
17050
17051 int
17052 main ()
17053 {
17054
17055 #ifndef __xlC__
17056 choke me
17057 #endif
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 rm -f conftest.$ac_objext
17064 if { (ac_try="$ac_compile"
17065 case "(($ac_try" in
17066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17067 *) ac_try_echo=$ac_try;;
17068 esac
17069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17070 (eval "$ac_compile") 2>conftest.er1
17071 ac_status=$?
17072 grep -v '^ *+' conftest.er1 >conftest.err
17073 rm -f conftest.er1
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } && {
17077 test -z "$ac_c_werror_flag" ||
17078 test ! -s conftest.err
17079 } && test -s conftest.$ac_objext; then
17080 bakefile_cv_c_compiler___xlC__=yes
17081 else
17082 echo "$as_me: failed program was:" >&5
17083 sed 's/^/| /' conftest.$ac_ext >&5
17084
17085 bakefile_cv_c_compiler___xlC__=no
17086
17087 fi
17088
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090
17091
17092 fi
17093 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17094 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17095 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17096 :; XLCC=yes
17097 else
17098 :;
17099 fi
17100 ac_ext=c
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105
17106
17107
17108 ;;
17109
17110 IRIX*)
17111
17112
17113 ac_ext=c
17114 ac_cpp='$CPP $CPPFLAGS'
17115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17118
17119 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17120 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17121 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 else
17124 cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h. */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130
17131 int
17132 main ()
17133 {
17134
17135 #ifndef _SGI_COMPILER_VERSION
17136 choke me
17137 #endif
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17164
17165 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17166
17167 fi
17168
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170
17171
17172 fi
17173 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17174 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17175 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17176 :; SGICC=yes
17177 else
17178 :;
17179 fi
17180 ac_ext=c
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185
17186
17187
17188 ;;
17189
17190 Linux*)
17191
17192
17193 ac_ext=c
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17198
17199 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17200 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17201 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 else
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210
17211 int
17212 main ()
17213 {
17214
17215 #ifndef __SUNPRO_C
17216 choke me
17217 #endif
17218
17219 ;
17220 return 0;
17221 }
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (ac_try="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17228 esac
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 bakefile_cv_c_compiler___SUNPRO_C=yes
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 bakefile_cv_c_compiler___SUNPRO_C=no
17246
17247 fi
17248
17249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17250
17251
17252 fi
17253 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17254 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17255 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17256 :; SUNCC=yes
17257 else
17258 :;
17259 fi
17260 ac_ext=c
17261 ac_cpp='$CPP $CPPFLAGS'
17262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17265
17266
17267
17268 ;;
17269
17270 HP-UX*)
17271
17272
17273 ac_ext=c
17274 ac_cpp='$CPP $CPPFLAGS'
17275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17278
17279 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17280 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17281 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 cat >conftest.$ac_ext <<_ACEOF
17285 /* confdefs.h. */
17286 _ACEOF
17287 cat confdefs.h >>conftest.$ac_ext
17288 cat >>conftest.$ac_ext <<_ACEOF
17289 /* end confdefs.h. */
17290
17291 int
17292 main ()
17293 {
17294
17295 #ifndef __HP_cc
17296 choke me
17297 #endif
17298
17299 ;
17300 return 0;
17301 }
17302 _ACEOF
17303 rm -f conftest.$ac_objext
17304 if { (ac_try="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 bakefile_cv_c_compiler___HP_cc=yes
17321 else
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17324
17325 bakefile_cv_c_compiler___HP_cc=no
17326
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17330
17331
17332 fi
17333 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17334 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17335 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17336 :; HPCC=yes
17337 else
17338 :;
17339 fi
17340 ac_ext=c
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345
17346
17347
17348 ;;
17349
17350 OSF1)
17351
17352
17353 ac_ext=c
17354 ac_cpp='$CPP $CPPFLAGS'
17355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358
17359 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17360 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17361 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17362 echo $ECHO_N "(cached) $ECHO_C" >&6
17363 else
17364 cat >conftest.$ac_ext <<_ACEOF
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370
17371 int
17372 main ()
17373 {
17374
17375 #ifndef __DECC
17376 choke me
17377 #endif
17378
17379 ;
17380 return 0;
17381 }
17382 _ACEOF
17383 rm -f conftest.$ac_objext
17384 if { (ac_try="$ac_compile"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17388 esac
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compile") 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && {
17397 test -z "$ac_c_werror_flag" ||
17398 test ! -s conftest.err
17399 } && test -s conftest.$ac_objext; then
17400 bakefile_cv_c_compiler___DECC=yes
17401 else
17402 echo "$as_me: failed program was:" >&5
17403 sed 's/^/| /' conftest.$ac_ext >&5
17404
17405 bakefile_cv_c_compiler___DECC=no
17406
17407 fi
17408
17409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17410
17411
17412 fi
17413 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17414 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17415 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17416 :; COMPAQCC=yes
17417 else
17418 :;
17419 fi
17420 ac_ext=c
17421 ac_cpp='$CPP $CPPFLAGS'
17422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17425
17426
17427
17428 ;;
17429
17430 SunOS)
17431
17432
17433 ac_ext=c
17434 ac_cpp='$CPP $CPPFLAGS'
17435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17438
17439 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17440 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17441 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17442 echo $ECHO_N "(cached) $ECHO_C" >&6
17443 else
17444 cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450
17451 int
17452 main ()
17453 {
17454
17455 #ifndef __SUNPRO_C
17456 choke me
17457 #endif
17458
17459 ;
17460 return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (ac_try="$ac_compile"
17465 case "(($ac_try" in
17466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17467 *) ac_try_echo=$ac_try;;
17468 esac
17469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17470 (eval "$ac_compile") 2>conftest.er1
17471 ac_status=$?
17472 grep -v '^ *+' conftest.er1 >conftest.err
17473 rm -f conftest.er1
17474 cat conftest.err >&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); } && {
17477 test -z "$ac_c_werror_flag" ||
17478 test ! -s conftest.err
17479 } && test -s conftest.$ac_objext; then
17480 bakefile_cv_c_compiler___SUNPRO_C=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485 bakefile_cv_c_compiler___SUNPRO_C=no
17486
17487 fi
17488
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
17491
17492 fi
17493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17494 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17495 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17496 :; SUNCC=yes
17497 else
17498 :;
17499 fi
17500 ac_ext=c
17501 ac_cpp='$CPP $CPPFLAGS'
17502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505
17506
17507
17508 ;;
17509 esac
17510 fi
17511
17512
17513
17514 ac_ext=c
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17519 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17520 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17521 # On Suns, sometimes $CPP names a directory.
17522 if test -n "$CPP" && test -d "$CPP"; then
17523 CPP=
17524 fi
17525 if test -z "$CPP"; then
17526 if test "${ac_cv_prog_CPP+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 # Double quotes because CPP needs to be expanded
17530 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17531 do
17532 ac_preproc_ok=false
17533 for ac_c_preproc_warn_flag in '' yes
17534 do
17535 # Use a header file that comes with gcc, so configuring glibc
17536 # with a fresh cross-compiler works.
17537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17538 # <limits.h> exists even on freestanding compilers.
17539 # On the NeXT, cc -E runs the code through the compiler's parser,
17540 # not just through cpp. "Syntax error" is here to catch this case.
17541 cat >conftest.$ac_ext <<_ACEOF
17542 /* confdefs.h. */
17543 _ACEOF
17544 cat confdefs.h >>conftest.$ac_ext
17545 cat >>conftest.$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17547 #ifdef __STDC__
17548 # include <limits.h>
17549 #else
17550 # include <assert.h>
17551 #endif
17552 Syntax error
17553 _ACEOF
17554 if { (ac_try="$ac_cpp conftest.$ac_ext"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17558 esac
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } >/dev/null && {
17567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17568 test ! -s conftest.err
17569 }; then
17570 :
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 # Broken: fails on valid input.
17576 continue
17577 fi
17578
17579 rm -f conftest.err conftest.$ac_ext
17580
17581 # OK, works on sane cases. Now check whether nonexistent headers
17582 # can be detected and how.
17583 cat >conftest.$ac_ext <<_ACEOF
17584 /* confdefs.h. */
17585 _ACEOF
17586 cat confdefs.h >>conftest.$ac_ext
17587 cat >>conftest.$ac_ext <<_ACEOF
17588 /* end confdefs.h. */
17589 #include <ac_nonexistent.h>
17590 _ACEOF
17591 if { (ac_try="$ac_cpp conftest.$ac_ext"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17595 esac
17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17598 ac_status=$?
17599 grep -v '^ *+' conftest.er1 >conftest.err
17600 rm -f conftest.er1
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } >/dev/null && {
17604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17605 test ! -s conftest.err
17606 }; then
17607 # Broken: success on invalid input.
17608 continue
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17612
17613 # Passes both tests.
17614 ac_preproc_ok=:
17615 break
17616 fi
17617
17618 rm -f conftest.err conftest.$ac_ext
17619
17620 done
17621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17622 rm -f conftest.err conftest.$ac_ext
17623 if $ac_preproc_ok; then
17624 break
17625 fi
17626
17627 done
17628 ac_cv_prog_CPP=$CPP
17629
17630 fi
17631 CPP=$ac_cv_prog_CPP
17632 else
17633 ac_cv_prog_CPP=$CPP
17634 fi
17635 { echo "$as_me:$LINENO: result: $CPP" >&5
17636 echo "${ECHO_T}$CPP" >&6; }
17637 ac_preproc_ok=false
17638 for ac_c_preproc_warn_flag in '' yes
17639 do
17640 # Use a header file that comes with gcc, so configuring glibc
17641 # with a fresh cross-compiler works.
17642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17643 # <limits.h> exists even on freestanding compilers.
17644 # On the NeXT, cc -E runs the code through the compiler's parser,
17645 # not just through cpp. "Syntax error" is here to catch this case.
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #ifdef __STDC__
17653 # include <limits.h>
17654 #else
17655 # include <assert.h>
17656 #endif
17657 Syntax error
17658 _ACEOF
17659 if { (ac_try="$ac_cpp conftest.$ac_ext"
17660 case "(($ac_try" in
17661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662 *) ac_try_echo=$ac_try;;
17663 esac
17664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17666 ac_status=$?
17667 grep -v '^ *+' conftest.er1 >conftest.err
17668 rm -f conftest.er1
17669 cat conftest.err >&5
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } >/dev/null && {
17672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17673 test ! -s conftest.err
17674 }; then
17675 :
17676 else
17677 echo "$as_me: failed program was:" >&5
17678 sed 's/^/| /' conftest.$ac_ext >&5
17679
17680 # Broken: fails on valid input.
17681 continue
17682 fi
17683
17684 rm -f conftest.err conftest.$ac_ext
17685
17686 # OK, works on sane cases. Now check whether nonexistent headers
17687 # can be detected and how.
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h. */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 #include <ac_nonexistent.h>
17695 _ACEOF
17696 if { (ac_try="$ac_cpp conftest.$ac_ext"
17697 case "(($ac_try" in
17698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17699 *) ac_try_echo=$ac_try;;
17700 esac
17701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } >/dev/null && {
17709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17710 test ! -s conftest.err
17711 }; then
17712 # Broken: success on invalid input.
17713 continue
17714 else
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17717
17718 # Passes both tests.
17719 ac_preproc_ok=:
17720 break
17721 fi
17722
17723 rm -f conftest.err conftest.$ac_ext
17724
17725 done
17726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17727 rm -f conftest.err conftest.$ac_ext
17728 if $ac_preproc_ok; then
17729 :
17730 else
17731 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17732 See \`config.log' for more details." >&5
17733 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17734 See \`config.log' for more details." >&2;}
17735 { (exit 1); exit 1; }; }
17736 fi
17737
17738 ac_ext=c
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17743
17744
17745 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17746 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17747 if test "${ac_cv_path_GREP+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750 # Extract the first word of "grep ggrep" to use in msg output
17751 if test -z "$GREP"; then
17752 set dummy grep ggrep; ac_prog_name=$2
17753 if test "${ac_cv_path_GREP+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else
17756 ac_path_GREP_found=false
17757 # Loop through the user's path and test for each of PROGNAME-LIST
17758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17759 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17760 do
17761 IFS=$as_save_IFS
17762 test -z "$as_dir" && as_dir=.
17763 for ac_prog in grep ggrep; do
17764 for ac_exec_ext in '' $ac_executable_extensions; do
17765 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17766 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17767 # Check for GNU ac_path_GREP and select it if it is found.
17768 # Check for GNU $ac_path_GREP
17769 case `"$ac_path_GREP" --version 2>&1` in
17770 *GNU*)
17771 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17772 *)
17773 ac_count=0
17774 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17775 while :
17776 do
17777 cat "conftest.in" "conftest.in" >"conftest.tmp"
17778 mv "conftest.tmp" "conftest.in"
17779 cp "conftest.in" "conftest.nl"
17780 echo 'GREP' >> "conftest.nl"
17781 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17783 ac_count=`expr $ac_count + 1`
17784 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17785 # Best one so far, save it but keep looking for a better one
17786 ac_cv_path_GREP="$ac_path_GREP"
17787 ac_path_GREP_max=$ac_count
17788 fi
17789 # 10*(2^10) chars as input seems more than enough
17790 test $ac_count -gt 10 && break
17791 done
17792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17793 esac
17794
17795
17796 $ac_path_GREP_found && break 3
17797 done
17798 done
17799
17800 done
17801 IFS=$as_save_IFS
17802
17803
17804 fi
17805
17806 GREP="$ac_cv_path_GREP"
17807 if test -z "$GREP"; then
17808 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17809 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17810 { (exit 1); exit 1; }; }
17811 fi
17812
17813 else
17814 ac_cv_path_GREP=$GREP
17815 fi
17816
17817
17818 fi
17819 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17820 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17821 GREP="$ac_cv_path_GREP"
17822
17823
17824 { echo "$as_me:$LINENO: checking for egrep" >&5
17825 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17826 if test "${ac_cv_path_EGREP+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17828 else
17829 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17830 then ac_cv_path_EGREP="$GREP -E"
17831 else
17832 # Extract the first word of "egrep" to use in msg output
17833 if test -z "$EGREP"; then
17834 set dummy egrep; ac_prog_name=$2
17835 if test "${ac_cv_path_EGREP+set}" = set; then
17836 echo $ECHO_N "(cached) $ECHO_C" >&6
17837 else
17838 ac_path_EGREP_found=false
17839 # Loop through the user's path and test for each of PROGNAME-LIST
17840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17842 do
17843 IFS=$as_save_IFS
17844 test -z "$as_dir" && as_dir=.
17845 for ac_prog in egrep; do
17846 for ac_exec_ext in '' $ac_executable_extensions; do
17847 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17848 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17849 # Check for GNU ac_path_EGREP and select it if it is found.
17850 # Check for GNU $ac_path_EGREP
17851 case `"$ac_path_EGREP" --version 2>&1` in
17852 *GNU*)
17853 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17854 *)
17855 ac_count=0
17856 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17857 while :
17858 do
17859 cat "conftest.in" "conftest.in" >"conftest.tmp"
17860 mv "conftest.tmp" "conftest.in"
17861 cp "conftest.in" "conftest.nl"
17862 echo 'EGREP' >> "conftest.nl"
17863 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17865 ac_count=`expr $ac_count + 1`
17866 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17867 # Best one so far, save it but keep looking for a better one
17868 ac_cv_path_EGREP="$ac_path_EGREP"
17869 ac_path_EGREP_max=$ac_count
17870 fi
17871 # 10*(2^10) chars as input seems more than enough
17872 test $ac_count -gt 10 && break
17873 done
17874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17875 esac
17876
17877
17878 $ac_path_EGREP_found && break 3
17879 done
17880 done
17881
17882 done
17883 IFS=$as_save_IFS
17884
17885
17886 fi
17887
17888 EGREP="$ac_cv_path_EGREP"
17889 if test -z "$EGREP"; then
17890 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17891 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17892 { (exit 1); exit 1; }; }
17893 fi
17894
17895 else
17896 ac_cv_path_EGREP=$EGREP
17897 fi
17898
17899
17900 fi
17901 fi
17902 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17903 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17904 EGREP="$ac_cv_path_EGREP"
17905
17906
17907 if test $ac_cv_c_compiler_gnu = yes; then
17908 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17909 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17910 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 else
17913 ac_pattern="Autoconf.*'x'"
17914 cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #include <sgtty.h>
17921 Autoconf TIOCGETP
17922 _ACEOF
17923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17924 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17925 ac_cv_prog_gcc_traditional=yes
17926 else
17927 ac_cv_prog_gcc_traditional=no
17928 fi
17929 rm -f conftest*
17930
17931
17932 if test $ac_cv_prog_gcc_traditional = no; then
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 <termio.h>
17940 Autoconf TCGETA
17941 _ACEOF
17942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17943 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17944 ac_cv_prog_gcc_traditional=yes
17945 fi
17946 rm -f conftest*
17947
17948 fi
17949 fi
17950 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17951 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17952 if test $ac_cv_prog_gcc_traditional = yes; then
17953 CC="$CC -traditional"
17954 fi
17955 fi
17956
17957
17958 CXXFLAGS=${CXXFLAGS:=}
17959
17960
17961
17962 ac_ext=cpp
17963 ac_cpp='$CXXCPP $CPPFLAGS'
17964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17967 if test -z "$CXX"; then
17968 if test -n "$CCC"; then
17969 CXX=$CCC
17970 else
17971 if test -n "$ac_tool_prefix"; then
17972 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17973 do
17974 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17978 if test "${ac_cv_prog_CXX+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 if test -n "$CXX"; then
17982 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17983 else
17984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17985 for as_dir in $PATH
17986 do
17987 IFS=$as_save_IFS
17988 test -z "$as_dir" && as_dir=.
17989 for ac_exec_ext in '' $ac_executable_extensions; do
17990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17991 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17993 break 2
17994 fi
17995 done
17996 done
17997 IFS=$as_save_IFS
17998
17999 fi
18000 fi
18001 CXX=$ac_cv_prog_CXX
18002 if test -n "$CXX"; then
18003 { echo "$as_me:$LINENO: result: $CXX" >&5
18004 echo "${ECHO_T}$CXX" >&6; }
18005 else
18006 { echo "$as_me:$LINENO: result: no" >&5
18007 echo "${ECHO_T}no" >&6; }
18008 fi
18009
18010
18011 test -n "$CXX" && break
18012 done
18013 fi
18014 if test -z "$CXX"; then
18015 ac_ct_CXX=$CXX
18016 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18017 do
18018 # Extract the first word of "$ac_prog", so it can be a program name with args.
18019 set dummy $ac_prog; ac_word=$2
18020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18022 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025 if test -n "$ac_ct_CXX"; then
18026 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18027 else
18028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18029 for as_dir in $PATH
18030 do
18031 IFS=$as_save_IFS
18032 test -z "$as_dir" && as_dir=.
18033 for ac_exec_ext in '' $ac_executable_extensions; do
18034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18035 ac_cv_prog_ac_ct_CXX="$ac_prog"
18036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18037 break 2
18038 fi
18039 done
18040 done
18041 IFS=$as_save_IFS
18042
18043 fi
18044 fi
18045 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18046 if test -n "$ac_ct_CXX"; then
18047 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18048 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18049 else
18050 { echo "$as_me:$LINENO: result: no" >&5
18051 echo "${ECHO_T}no" >&6; }
18052 fi
18053
18054
18055 test -n "$ac_ct_CXX" && break
18056 done
18057
18058 if test "x$ac_ct_CXX" = x; then
18059 CXX="g++"
18060 else
18061 case $cross_compiling:$ac_tool_warned in
18062 yes:)
18063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18064 whose name does not start with the host triplet. If you think this
18065 configuration is useful to you, please write to autoconf@gnu.org." >&5
18066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18067 whose name does not start with the host triplet. If you think this
18068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18069 ac_tool_warned=yes ;;
18070 esac
18071 CXX=$ac_ct_CXX
18072 fi
18073 fi
18074
18075 fi
18076 fi
18077 # Provide some information about the compiler.
18078 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18079 ac_compiler=`set X $ac_compile; echo $2`
18080 { (ac_try="$ac_compiler --version >&5"
18081 case "(($ac_try" in
18082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18084 esac
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compiler --version >&5") 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }
18090 { (ac_try="$ac_compiler -v >&5"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compiler -v >&5") 2>&5
18097 ac_status=$?
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }
18100 { (ac_try="$ac_compiler -V >&5"
18101 case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18104 esac
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_compiler -V >&5") 2>&5
18107 ac_status=$?
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }
18110
18111 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18112 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18113 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18114 echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116 cat >conftest.$ac_ext <<_ACEOF
18117 /* confdefs.h. */
18118 _ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122
18123 int
18124 main ()
18125 {
18126 #ifndef __GNUC__
18127 choke me
18128 #endif
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_cxx_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 ac_compiler_gnu=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156 ac_compiler_gnu=no
18157 fi
18158
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18161
18162 fi
18163 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18164 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18165 GXX=`test $ac_compiler_gnu = yes && echo yes`
18166 ac_test_CXXFLAGS=${CXXFLAGS+set}
18167 ac_save_CXXFLAGS=$CXXFLAGS
18168 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18169 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18170 if test "${ac_cv_prog_cxx_g+set}" = set; then
18171 echo $ECHO_N "(cached) $ECHO_C" >&6
18172 else
18173 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18174 ac_cxx_werror_flag=yes
18175 ac_cv_prog_cxx_g=no
18176 CXXFLAGS="-g"
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183
18184 int
18185 main ()
18186 {
18187
18188 ;
18189 return 0;
18190 }
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_cxx_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_prog_cxx_g=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 CXXFLAGS=""
18215 cat >conftest.$ac_ext <<_ACEOF
18216 /* confdefs.h. */
18217 _ACEOF
18218 cat confdefs.h >>conftest.$ac_ext
18219 cat >>conftest.$ac_ext <<_ACEOF
18220 /* end confdefs.h. */
18221
18222 int
18223 main ()
18224 {
18225
18226 ;
18227 return 0;
18228 }
18229 _ACEOF
18230 rm -f conftest.$ac_objext
18231 if { (ac_try="$ac_compile"
18232 case "(($ac_try" in
18233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18234 *) ac_try_echo=$ac_try;;
18235 esac
18236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18237 (eval "$ac_compile") 2>conftest.er1
18238 ac_status=$?
18239 grep -v '^ *+' conftest.er1 >conftest.err
18240 rm -f conftest.er1
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } && {
18244 test -z "$ac_cxx_werror_flag" ||
18245 test ! -s conftest.err
18246 } && test -s conftest.$ac_objext; then
18247 :
18248 else
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18253 CXXFLAGS="-g"
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260
18261 int
18262 main ()
18263 {
18264
18265 ;
18266 return 0;
18267 }
18268 _ACEOF
18269 rm -f conftest.$ac_objext
18270 if { (ac_try="$ac_compile"
18271 case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18274 esac
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_compile") 2>conftest.er1
18277 ac_status=$?
18278 grep -v '^ *+' conftest.er1 >conftest.err
18279 rm -f conftest.er1
18280 cat conftest.err >&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } && {
18283 test -z "$ac_cxx_werror_flag" ||
18284 test ! -s conftest.err
18285 } && test -s conftest.$ac_objext; then
18286 ac_cv_prog_cxx_g=yes
18287 else
18288 echo "$as_me: failed program was:" >&5
18289 sed 's/^/| /' conftest.$ac_ext >&5
18290
18291
18292 fi
18293
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 fi
18296
18297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18298 fi
18299
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18302 fi
18303 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18304 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18305 if test "$ac_test_CXXFLAGS" = set; then
18306 CXXFLAGS=$ac_save_CXXFLAGS
18307 elif test $ac_cv_prog_cxx_g = yes; then
18308 if test "$GXX" = yes; then
18309 CXXFLAGS="-g -O2"
18310 else
18311 CXXFLAGS="-g"
18312 fi
18313 else
18314 if test "$GXX" = yes; then
18315 CXXFLAGS="-O2"
18316 else
18317 CXXFLAGS=
18318 fi
18319 fi
18320 ac_ext=c
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18325
18326
18327
18328
18329 ac_ext=cpp
18330 ac_cpp='$CXXCPP $CPPFLAGS'
18331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18334
18335 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18336 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18337 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18338 echo $ECHO_N "(cached) $ECHO_C" >&6
18339 else
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346
18347 int
18348 main ()
18349 {
18350
18351 #ifndef __INTEL_COMPILER
18352 choke me
18353 #endif
18354
18355 ;
18356 return 0;
18357 }
18358 _ACEOF
18359 rm -f conftest.$ac_objext
18360 if { (ac_try="$ac_compile"
18361 case "(($ac_try" in
18362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18363 *) ac_try_echo=$ac_try;;
18364 esac
18365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18366 (eval "$ac_compile") 2>conftest.er1
18367 ac_status=$?
18368 grep -v '^ *+' conftest.er1 >conftest.err
18369 rm -f conftest.er1
18370 cat conftest.err >&5
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); } && {
18373 test -z "$ac_cxx_werror_flag" ||
18374 test ! -s conftest.err
18375 } && test -s conftest.$ac_objext; then
18376 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18377 else
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18380
18381 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18382
18383 fi
18384
18385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18386
18387
18388 fi
18389 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18390 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18391 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18392 :; INTELCXX=yes
18393 else
18394 :;
18395 fi
18396 ac_ext=c
18397 ac_cpp='$CPP $CPPFLAGS'
18398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18401
18402
18403
18404
18405 if test "x$GCXX" != "xyes"; then
18406 if test "xCXX" = "xC"; then
18407 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18408 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18409 if test "${bakefile_cv_c_exto+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 else
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418
18419 int
18420 main ()
18421 {
18422
18423 ;
18424 return 0;
18425 }
18426 _ACEOF
18427 rm -f conftest.$ac_objext conftest.$ac_ext.o
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; then
18433 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18434 case $ac_file in
18435 conftest.$ac_ext.o)
18436 bakefile_cv_c_exto="-ext o"
18437 ;;
18438 *)
18439 ;;
18440 esac
18441 done
18442 else
18443 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18444 See \`config.log' for more details." >&5
18445 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18446 See \`config.log' for more details." >&2;}
18447 { (exit 1); exit 1; }; }
18448
18449 fi
18450
18451 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18452
18453 fi
18454 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18455 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18456 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18457 if test "c" = "c"; then
18458 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18459 fi
18460 if test "c" = "cxx"; then
18461 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18462 fi
18463 fi
18464
18465 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18466 unset ac_cv_prog_cc_g
18467 ac_test_CFLAGS=${CFLAGS+set}
18468 ac_save_CFLAGS=$CFLAGS
18469 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18470 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18471 if test "${ac_cv_prog_cc_g+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474 ac_save_c_werror_flag=$ac_c_werror_flag
18475 ac_c_werror_flag=yes
18476 ac_cv_prog_cc_g=no
18477 CFLAGS="-g"
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484
18485 int
18486 main ()
18487 {
18488
18489 ;
18490 return 0;
18491 }
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_c_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 ac_cv_prog_cc_g=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18514
18515 CFLAGS=""
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522
18523 int
18524 main ()
18525 {
18526
18527 ;
18528 return 0;
18529 }
18530 _ACEOF
18531 rm -f conftest.$ac_objext
18532 if { (ac_try="$ac_compile"
18533 case "(($ac_try" in
18534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18535 *) ac_try_echo=$ac_try;;
18536 esac
18537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18538 (eval "$ac_compile") 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } && {
18545 test -z "$ac_c_werror_flag" ||
18546 test ! -s conftest.err
18547 } && test -s conftest.$ac_objext; then
18548 :
18549 else
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18552
18553 ac_c_werror_flag=$ac_save_c_werror_flag
18554 CFLAGS="-g"
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561
18562 int
18563 main ()
18564 {
18565
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_prog_cc_g=yes
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592
18593 fi
18594
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 fi
18597
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 ac_c_werror_flag=$ac_save_c_werror_flag
18603 fi
18604 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18605 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18606 if test "$ac_test_CFLAGS" = set; then
18607 CFLAGS=$ac_save_CFLAGS
18608 elif test $ac_cv_prog_cc_g = yes; then
18609 if test "$GCC" = yes; then
18610 CFLAGS="-g -O2"
18611 else
18612 CFLAGS="-g"
18613 fi
18614 else
18615 if test "$GCC" = yes; then
18616 CFLAGS="-O2"
18617 else
18618 CFLAGS=
18619 fi
18620 fi
18621 fi
18622 fi
18623
18624 case `uname -s` in
18625 AIX*)
18626
18627
18628 ac_ext=cpp
18629 ac_cpp='$CXXCPP $CPPFLAGS'
18630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18633
18634 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18635 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18636 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18637 echo $ECHO_N "(cached) $ECHO_C" >&6
18638 else
18639 cat >conftest.$ac_ext <<_ACEOF
18640 /* confdefs.h. */
18641 _ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645
18646 int
18647 main ()
18648 {
18649
18650 #ifndef __xlC__
18651 choke me
18652 #endif
18653
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext
18659 if { (ac_try="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18662 *) ac_try_echo=$ac_try;;
18663 esac
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18666 ac_status=$?
18667 grep -v '^ *+' conftest.er1 >conftest.err
18668 rm -f conftest.er1
18669 cat conftest.err >&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_cxx_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.$ac_objext; then
18675 bakefile_cv_cxx_compiler___xlC__=yes
18676 else
18677 echo "$as_me: failed program was:" >&5
18678 sed 's/^/| /' conftest.$ac_ext >&5
18679
18680 bakefile_cv_cxx_compiler___xlC__=no
18681
18682 fi
18683
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685
18686
18687 fi
18688 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18689 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18690 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18691 :; XLCXX=yes
18692 else
18693 :;
18694 fi
18695 ac_ext=c
18696 ac_cpp='$CPP $CPPFLAGS'
18697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18700
18701
18702
18703 ;;
18704
18705 Darwin)
18706
18707
18708 ac_ext=cpp
18709 ac_cpp='$CXXCPP $CPPFLAGS'
18710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18713
18714 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18715 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18716 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18717 echo $ECHO_N "(cached) $ECHO_C" >&6
18718 else
18719 cat >conftest.$ac_ext <<_ACEOF
18720 /* confdefs.h. */
18721 _ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725
18726 int
18727 main ()
18728 {
18729
18730 #ifndef __MWERKS__
18731 choke me
18732 #endif
18733
18734 ;
18735 return 0;
18736 }
18737 _ACEOF
18738 rm -f conftest.$ac_objext
18739 if { (ac_try="$ac_compile"
18740 case "(($ac_try" in
18741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18742 *) ac_try_echo=$ac_try;;
18743 esac
18744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18745 (eval "$ac_compile") 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } && {
18752 test -z "$ac_cxx_werror_flag" ||
18753 test ! -s conftest.err
18754 } && test -s conftest.$ac_objext; then
18755 bakefile_cv_cxx_compiler___MWERKS__=yes
18756 else
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.$ac_ext >&5
18759
18760 bakefile_cv_cxx_compiler___MWERKS__=no
18761
18762 fi
18763
18764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18765
18766
18767 fi
18768 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18769 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18770 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18771 :; MWCXX=yes
18772 else
18773 :;
18774 fi
18775 ac_ext=c
18776 ac_cpp='$CPP $CPPFLAGS'
18777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18780
18781
18782
18783
18784
18785 ac_ext=cpp
18786 ac_cpp='$CXXCPP $CPPFLAGS'
18787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18790
18791 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18792 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18793 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802
18803 int
18804 main ()
18805 {
18806
18807 #ifndef __xlC__
18808 choke me
18809 #endif
18810
18811 ;
18812 return 0;
18813 }
18814 _ACEOF
18815 rm -f conftest.$ac_objext
18816 if { (ac_try="$ac_compile"
18817 case "(($ac_try" in
18818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18819 *) ac_try_echo=$ac_try;;
18820 esac
18821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18822 (eval "$ac_compile") 2>conftest.er1
18823 ac_status=$?
18824 grep -v '^ *+' conftest.er1 >conftest.err
18825 rm -f conftest.er1
18826 cat conftest.err >&5
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); } && {
18829 test -z "$ac_cxx_werror_flag" ||
18830 test ! -s conftest.err
18831 } && test -s conftest.$ac_objext; then
18832 bakefile_cv_cxx_compiler___xlC__=yes
18833 else
18834 echo "$as_me: failed program was:" >&5
18835 sed 's/^/| /' conftest.$ac_ext >&5
18836
18837 bakefile_cv_cxx_compiler___xlC__=no
18838
18839 fi
18840
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842
18843
18844 fi
18845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18846 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18847 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18848 :; XLCXX=yes
18849 else
18850 :;
18851 fi
18852 ac_ext=c
18853 ac_cpp='$CPP $CPPFLAGS'
18854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18857
18858
18859
18860 ;;
18861
18862 IRIX*)
18863
18864
18865 ac_ext=cpp
18866 ac_cpp='$CXXCPP $CPPFLAGS'
18867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18870
18871 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18872 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18873 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882
18883 int
18884 main ()
18885 {
18886
18887 #ifndef _SGI_COMPILER_VERSION
18888 choke me
18889 #endif
18890
18891 ;
18892 return 0;
18893 }
18894 _ACEOF
18895 rm -f conftest.$ac_objext
18896 if { (ac_try="$ac_compile"
18897 case "(($ac_try" in
18898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18899 *) ac_try_echo=$ac_try;;
18900 esac
18901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18902 (eval "$ac_compile") 2>conftest.er1
18903 ac_status=$?
18904 grep -v '^ *+' conftest.er1 >conftest.err
18905 rm -f conftest.er1
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } && {
18909 test -z "$ac_cxx_werror_flag" ||
18910 test ! -s conftest.err
18911 } && test -s conftest.$ac_objext; then
18912 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18916
18917 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18918
18919 fi
18920
18921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18922
18923
18924 fi
18925 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18926 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18927 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18928 :; SGICXX=yes
18929 else
18930 :;
18931 fi
18932 ac_ext=c
18933 ac_cpp='$CPP $CPPFLAGS'
18934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18937
18938
18939
18940 ;;
18941
18942 Linux*)
18943
18944
18945 ac_ext=cpp
18946 ac_cpp='$CXXCPP $CPPFLAGS'
18947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18950
18951 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18952 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18953 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962
18963 int
18964 main ()
18965 {
18966
18967 #ifndef __SUNPRO_CC
18968 choke me
18969 #endif
18970
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 rm -f conftest.$ac_objext
18976 if { (ac_try="$ac_compile"
18977 case "(($ac_try" in
18978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18979 *) ac_try_echo=$ac_try;;
18980 esac
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_compile") 2>conftest.er1
18983 ac_status=$?
18984 grep -v '^ *+' conftest.er1 >conftest.err
18985 rm -f conftest.er1
18986 cat conftest.err >&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && {
18989 test -z "$ac_cxx_werror_flag" ||
18990 test ! -s conftest.err
18991 } && test -s conftest.$ac_objext; then
18992 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18993 else
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18996
18997 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18998
18999 fi
19000
19001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002
19003
19004 fi
19005 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19006 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19007 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19008 :; SUNCXX=yes
19009 else
19010 :;
19011 fi
19012 ac_ext=c
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19017
19018
19019
19020 ;;
19021
19022 HP-UX*)
19023
19024
19025 ac_ext=cpp
19026 ac_cpp='$CXXCPP $CPPFLAGS'
19027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030
19031 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19032 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19033 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19034 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 else
19036 cat >conftest.$ac_ext <<_ACEOF
19037 /* confdefs.h. */
19038 _ACEOF
19039 cat confdefs.h >>conftest.$ac_ext
19040 cat >>conftest.$ac_ext <<_ACEOF
19041 /* end confdefs.h. */
19042
19043 int
19044 main ()
19045 {
19046
19047 #ifndef __HP_aCC
19048 choke me
19049 #endif
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_cxx_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 bakefile_cv_cxx_compiler___HP_aCC=yes
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19076
19077 bakefile_cv_cxx_compiler___HP_aCC=no
19078
19079 fi
19080
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19082
19083
19084 fi
19085 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19086 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19087 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19088 :; HPCXX=yes
19089 else
19090 :;
19091 fi
19092 ac_ext=c
19093 ac_cpp='$CPP $CPPFLAGS'
19094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19097
19098
19099
19100 ;;
19101
19102 OSF1)
19103
19104
19105 ac_ext=cpp
19106 ac_cpp='$CXXCPP $CPPFLAGS'
19107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19110
19111 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19112 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19113 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19114 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 else
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122
19123 int
19124 main ()
19125 {
19126
19127 #ifndef __DECCXX
19128 choke me
19129 #endif
19130
19131 ;
19132 return 0;
19133 }
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_cxx_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19152 bakefile_cv_cxx_compiler___DECCXX=yes
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19156
19157 bakefile_cv_cxx_compiler___DECCXX=no
19158
19159 fi
19160
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19162
19163
19164 fi
19165 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19166 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19167 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19168 :; COMPAQCXX=yes
19169 else
19170 :;
19171 fi
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 ;;
19181
19182 SunOS)
19183
19184
19185 ac_ext=cpp
19186 ac_cpp='$CXXCPP $CPPFLAGS'
19187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19190
19191 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19192 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19193 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19195 else
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202
19203 int
19204 main ()
19205 {
19206
19207 #ifndef __SUNPRO_CC
19208 choke me
19209 #endif
19210
19211 ;
19212 return 0;
19213 }
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (ac_try="$ac_compile"
19217 case "(($ac_try" in
19218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19219 *) ac_try_echo=$ac_try;;
19220 esac
19221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19222 (eval "$ac_compile") 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } && {
19229 test -z "$ac_cxx_werror_flag" ||
19230 test ! -s conftest.err
19231 } && test -s conftest.$ac_objext; then
19232 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19236
19237 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19238
19239 fi
19240
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242
19243
19244 fi
19245 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19246 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19247 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19248 :; SUNCXX=yes
19249 else
19250 :;
19251 fi
19252 ac_ext=c
19253 ac_cpp='$CPP $CPPFLAGS'
19254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19257
19258
19259
19260 ;;
19261 esac
19262 fi
19263
19264
19265
19266 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19267 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19268 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19269 { (exit 1); exit 1; }; }
19270 fi
19271
19272 if test -n "$ac_tool_prefix"; then
19273 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19274 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19277 if test "${ac_cv_prog_RANLIB+set}" = set; then
19278 echo $ECHO_N "(cached) $ECHO_C" >&6
19279 else
19280 if test -n "$RANLIB"; then
19281 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19282 else
19283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19284 for as_dir in $PATH
19285 do
19286 IFS=$as_save_IFS
19287 test -z "$as_dir" && as_dir=.
19288 for ac_exec_ext in '' $ac_executable_extensions; do
19289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19290 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19292 break 2
19293 fi
19294 done
19295 done
19296 IFS=$as_save_IFS
19297
19298 fi
19299 fi
19300 RANLIB=$ac_cv_prog_RANLIB
19301 if test -n "$RANLIB"; then
19302 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19303 echo "${ECHO_T}$RANLIB" >&6; }
19304 else
19305 { echo "$as_me:$LINENO: result: no" >&5
19306 echo "${ECHO_T}no" >&6; }
19307 fi
19308
19309
19310 fi
19311 if test -z "$ac_cv_prog_RANLIB"; then
19312 ac_ct_RANLIB=$RANLIB
19313 # Extract the first word of "ranlib", so it can be a program name with args.
19314 set dummy ranlib; ac_word=$2
19315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19317 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19320 if test -n "$ac_ct_RANLIB"; then
19321 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19322 else
19323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19324 for as_dir in $PATH
19325 do
19326 IFS=$as_save_IFS
19327 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
19329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19330 ac_cv_prog_ac_ct_RANLIB="ranlib"
19331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19332 break 2
19333 fi
19334 done
19335 done
19336 IFS=$as_save_IFS
19337
19338 fi
19339 fi
19340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19341 if test -n "$ac_ct_RANLIB"; then
19342 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19343 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19344 else
19345 { echo "$as_me:$LINENO: result: no" >&5
19346 echo "${ECHO_T}no" >&6; }
19347 fi
19348
19349 if test "x$ac_ct_RANLIB" = x; then
19350 RANLIB=":"
19351 else
19352 case $cross_compiling:$ac_tool_warned in
19353 yes:)
19354 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19355 whose name does not start with the host triplet. If you think this
19356 configuration is useful to you, please write to autoconf@gnu.org." >&5
19357 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19358 whose name does not start with the host triplet. If you think this
19359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19360 ac_tool_warned=yes ;;
19361 esac
19362 RANLIB=$ac_ct_RANLIB
19363 fi
19364 else
19365 RANLIB="$ac_cv_prog_RANLIB"
19366 fi
19367
19368
19369 if test "x$SUNCXX" != xyes; then
19370 if test -n "$ac_tool_prefix"; then
19371 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19372 set dummy ${ac_tool_prefix}ar; ac_word=$2
19373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19375 if test "${ac_cv_prog_AR+set}" = set; then
19376 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 else
19378 if test -n "$AR"; then
19379 ac_cv_prog_AR="$AR" # Let the user override the test.
19380 else
19381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19382 for as_dir in $PATH
19383 do
19384 IFS=$as_save_IFS
19385 test -z "$as_dir" && as_dir=.
19386 for ac_exec_ext in '' $ac_executable_extensions; do
19387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19388 ac_cv_prog_AR="${ac_tool_prefix}ar"
19389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19390 break 2
19391 fi
19392 done
19393 done
19394 IFS=$as_save_IFS
19395
19396 fi
19397 fi
19398 AR=$ac_cv_prog_AR
19399 if test -n "$AR"; then
19400 { echo "$as_me:$LINENO: result: $AR" >&5
19401 echo "${ECHO_T}$AR" >&6; }
19402 else
19403 { echo "$as_me:$LINENO: result: no" >&5
19404 echo "${ECHO_T}no" >&6; }
19405 fi
19406
19407
19408 fi
19409 if test -z "$ac_cv_prog_AR"; then
19410 ac_ct_AR=$AR
19411 # Extract the first word of "ar", so it can be a program name with args.
19412 set dummy ar; ac_word=$2
19413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19415 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19417 else
19418 if test -n "$ac_ct_AR"; then
19419 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19420 else
19421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19422 for as_dir in $PATH
19423 do
19424 IFS=$as_save_IFS
19425 test -z "$as_dir" && as_dir=.
19426 for ac_exec_ext in '' $ac_executable_extensions; do
19427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19428 ac_cv_prog_ac_ct_AR="ar"
19429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19430 break 2
19431 fi
19432 done
19433 done
19434 IFS=$as_save_IFS
19435
19436 fi
19437 fi
19438 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19439 if test -n "$ac_ct_AR"; then
19440 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19441 echo "${ECHO_T}$ac_ct_AR" >&6; }
19442 else
19443 { echo "$as_me:$LINENO: result: no" >&5
19444 echo "${ECHO_T}no" >&6; }
19445 fi
19446
19447 if test "x$ac_ct_AR" = x; then
19448 AR=""
19449 else
19450 case $cross_compiling:$ac_tool_warned in
19451 yes:)
19452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19453 whose name does not start with the host triplet. If you think this
19454 configuration is useful to you, please write to autoconf@gnu.org." >&5
19455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19456 whose name does not start with the host triplet. If you think this
19457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19458 ac_tool_warned=yes ;;
19459 esac
19460 AR=$ac_ct_AR
19461 fi
19462 else
19463 AR="$ac_cv_prog_AR"
19464 fi
19465
19466 if test "x$AR" = "x" ; then
19467 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19468 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19469 { (exit 1); exit 1; }; }
19470 fi
19471 fi
19472
19473 # Find a good install program. We prefer a C program (faster),
19474 # so one script is as good as another. But avoid the broken or
19475 # incompatible versions:
19476 # SysV /etc/install, /usr/sbin/install
19477 # SunOS /usr/etc/install
19478 # IRIX /sbin/install
19479 # AIX /bin/install
19480 # AmigaOS /C/install, which installs bootblocks on floppy discs
19481 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19482 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19483 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19484 # OS/2's system install, which has a completely different semantic
19485 # ./install, which can be erroneously created by make from ./install.sh.
19486 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19487 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19488 if test -z "$INSTALL"; then
19489 if test "${ac_cv_path_install+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19491 else
19492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19493 for as_dir in $PATH
19494 do
19495 IFS=$as_save_IFS
19496 test -z "$as_dir" && as_dir=.
19497 # Account for people who put trailing slashes in PATH elements.
19498 case $as_dir/ in
19499 ./ | .// | /cC/* | \
19500 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19501 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19502 /usr/ucb/* ) ;;
19503 *)
19504 # OSF1 and SCO ODT 3.0 have their own names for install.
19505 # Don't use installbsd from OSF since it installs stuff as root
19506 # by default.
19507 for ac_prog in ginstall scoinst install; do
19508 for ac_exec_ext in '' $ac_executable_extensions; do
19509 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19510 if test $ac_prog = install &&
19511 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19512 # AIX install. It has an incompatible calling convention.
19513 :
19514 elif test $ac_prog = install &&
19515 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19516 # program-specific install script used by HP pwplus--don't use.
19517 :
19518 else
19519 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19520 break 3
19521 fi
19522 fi
19523 done
19524 done
19525 ;;
19526 esac
19527 done
19528 IFS=$as_save_IFS
19529
19530
19531 fi
19532 if test "${ac_cv_path_install+set}" = set; then
19533 INSTALL=$ac_cv_path_install
19534 else
19535 # As a last resort, use the slow shell script. Don't cache a
19536 # value for INSTALL within a source directory, because that will
19537 # break other packages using the cache if that directory is
19538 # removed, or if the value is a relative name.
19539 INSTALL=$ac_install_sh
19540 fi
19541 fi
19542 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19543 echo "${ECHO_T}$INSTALL" >&6; }
19544
19545 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19546 # It thinks the first close brace ends the variable substitution.
19547 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19548
19549 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19550
19551 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19552
19553
19554 case ${INSTALL} in
19555 /* ) # Absolute
19556 ;;
19557 ?:* ) # Drive letter, considered as absolute.
19558 ;;
19559 *)
19560 INSTALL=`pwd`/${INSTALL} ;;
19561 esac
19562
19563
19564 case "${host}" in
19565
19566 *-*-darwin* )
19567 INSTALL_PROGRAM="cp -fp"
19568 INSTALL_DATA="cp -fp"
19569 ;;
19570 *)
19571 ;;
19572 esac
19573
19574 if test -n "$ac_tool_prefix"; then
19575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19576 set dummy ${ac_tool_prefix}strip; ac_word=$2
19577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19579 if test "${ac_cv_prog_STRIP+set}" = set; then
19580 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 else
19582 if test -n "$STRIP"; then
19583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19584 else
19585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19586 for as_dir in $PATH
19587 do
19588 IFS=$as_save_IFS
19589 test -z "$as_dir" && as_dir=.
19590 for ac_exec_ext in '' $ac_executable_extensions; do
19591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19594 break 2
19595 fi
19596 done
19597 done
19598 IFS=$as_save_IFS
19599
19600 fi
19601 fi
19602 STRIP=$ac_cv_prog_STRIP
19603 if test -n "$STRIP"; then
19604 { echo "$as_me:$LINENO: result: $STRIP" >&5
19605 echo "${ECHO_T}$STRIP" >&6; }
19606 else
19607 { echo "$as_me:$LINENO: result: no" >&5
19608 echo "${ECHO_T}no" >&6; }
19609 fi
19610
19611
19612 fi
19613 if test -z "$ac_cv_prog_STRIP"; then
19614 ac_ct_STRIP=$STRIP
19615 # Extract the first word of "strip", so it can be a program name with args.
19616 set dummy strip; ac_word=$2
19617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 else
19622 if test -n "$ac_ct_STRIP"; then
19623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19624 else
19625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19626 for as_dir in $PATH
19627 do
19628 IFS=$as_save_IFS
19629 test -z "$as_dir" && as_dir=.
19630 for ac_exec_ext in '' $ac_executable_extensions; do
19631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19632 ac_cv_prog_ac_ct_STRIP="strip"
19633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19634 break 2
19635 fi
19636 done
19637 done
19638 IFS=$as_save_IFS
19639
19640 fi
19641 fi
19642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19643 if test -n "$ac_ct_STRIP"; then
19644 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19645 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19646 else
19647 { echo "$as_me:$LINENO: result: no" >&5
19648 echo "${ECHO_T}no" >&6; }
19649 fi
19650
19651 if test "x$ac_ct_STRIP" = x; then
19652 STRIP="true"
19653 else
19654 case $cross_compiling:$ac_tool_warned in
19655 yes:)
19656 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19657 whose name does not start with the host triplet. If you think this
19658 configuration is useful to you, please write to autoconf@gnu.org." >&5
19659 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19660 whose name does not start with the host triplet. If you think this
19661 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19662 ac_tool_warned=yes ;;
19663 esac
19664 STRIP=$ac_ct_STRIP
19665 fi
19666 else
19667 STRIP="$ac_cv_prog_STRIP"
19668 fi
19669
19670
19671 if test "$wxUSE_WINE" = "yes"; then
19672 if test -n "$ac_tool_prefix"; then
19673 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19674 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19677 if test "${ac_cv_prog_WINDRES+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 else
19680 if test -n "$WINDRES"; then
19681 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19682 else
19683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19684 for as_dir in $PATH
19685 do
19686 IFS=$as_save_IFS
19687 test -z "$as_dir" && as_dir=.
19688 for ac_exec_ext in '' $ac_executable_extensions; do
19689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19690 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19692 break 2
19693 fi
19694 done
19695 done
19696 IFS=$as_save_IFS
19697
19698 fi
19699 fi
19700 WINDRES=$ac_cv_prog_WINDRES
19701 if test -n "$WINDRES"; then
19702 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19703 echo "${ECHO_T}$WINDRES" >&6; }
19704 else
19705 { echo "$as_me:$LINENO: result: no" >&5
19706 echo "${ECHO_T}no" >&6; }
19707 fi
19708
19709
19710 fi
19711 if test -z "$ac_cv_prog_WINDRES"; then
19712 ac_ct_WINDRES=$WINDRES
19713 # Extract the first word of "wrc", so it can be a program name with args.
19714 set dummy wrc; ac_word=$2
19715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19717 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19718 echo $ECHO_N "(cached) $ECHO_C" >&6
19719 else
19720 if test -n "$ac_ct_WINDRES"; then
19721 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19722 else
19723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19724 for as_dir in $PATH
19725 do
19726 IFS=$as_save_IFS
19727 test -z "$as_dir" && as_dir=.
19728 for ac_exec_ext in '' $ac_executable_extensions; do
19729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19730 ac_cv_prog_ac_ct_WINDRES="wrc"
19731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19732 break 2
19733 fi
19734 done
19735 done
19736 IFS=$as_save_IFS
19737
19738 fi
19739 fi
19740 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19741 if test -n "$ac_ct_WINDRES"; then
19742 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19743 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19744 else
19745 { echo "$as_me:$LINENO: result: no" >&5
19746 echo "${ECHO_T}no" >&6; }
19747 fi
19748
19749 if test "x$ac_ct_WINDRES" = x; then
19750 WINDRES=""
19751 else
19752 case $cross_compiling:$ac_tool_warned in
19753 yes:)
19754 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19755 whose name does not start with the host triplet. If you think this
19756 configuration is useful to you, please write to autoconf@gnu.org." >&5
19757 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19758 whose name does not start with the host triplet. If you think this
19759 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19760 ac_tool_warned=yes ;;
19761 esac
19762 WINDRES=$ac_ct_WINDRES
19763 fi
19764 else
19765 WINDRES="$ac_cv_prog_WINDRES"
19766 fi
19767
19768 RESCOMP="$WINDRES"
19769 else
19770 case "${host}" in
19771 *-*-cygwin* | *-*-mingw32* )
19772 if test -n "$ac_tool_prefix"; then
19773 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
19774 set dummy ${ac_tool_prefix}windres; ac_word=$2
19775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19777 if test "${ac_cv_prog_WINDRES+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780 if test -n "$WINDRES"; then
19781 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19782 else
19783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19784 for as_dir in $PATH
19785 do
19786 IFS=$as_save_IFS
19787 test -z "$as_dir" && as_dir=.
19788 for ac_exec_ext in '' $ac_executable_extensions; do
19789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19790 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
19791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19792 break 2
19793 fi
19794 done
19795 done
19796 IFS=$as_save_IFS
19797
19798 fi
19799 fi
19800 WINDRES=$ac_cv_prog_WINDRES
19801 if test -n "$WINDRES"; then
19802 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19803 echo "${ECHO_T}$WINDRES" >&6; }
19804 else
19805 { echo "$as_me:$LINENO: result: no" >&5
19806 echo "${ECHO_T}no" >&6; }
19807 fi
19808
19809
19810 fi
19811 if test -z "$ac_cv_prog_WINDRES"; then
19812 ac_ct_WINDRES=$WINDRES
19813 # Extract the first word of "windres", so it can be a program name with args.
19814 set dummy windres; ac_word=$2
19815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19817 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 else
19820 if test -n "$ac_ct_WINDRES"; then
19821 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
19822 else
19823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19824 for as_dir in $PATH
19825 do
19826 IFS=$as_save_IFS
19827 test -z "$as_dir" && as_dir=.
19828 for ac_exec_ext in '' $ac_executable_extensions; do
19829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19830 ac_cv_prog_ac_ct_WINDRES="windres"
19831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19832 break 2
19833 fi
19834 done
19835 done
19836 IFS=$as_save_IFS
19837
19838 fi
19839 fi
19840 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
19841 if test -n "$ac_ct_WINDRES"; then
19842 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
19843 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
19844 else
19845 { echo "$as_me:$LINENO: result: no" >&5
19846 echo "${ECHO_T}no" >&6; }
19847 fi
19848
19849 if test "x$ac_ct_WINDRES" = x; then
19850 WINDRES=""
19851 else
19852 case $cross_compiling:$ac_tool_warned in
19853 yes:)
19854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19855 whose name does not start with the host triplet. If you think this
19856 configuration is useful to you, please write to autoconf@gnu.org." >&5
19857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19858 whose name does not start with the host triplet. If you think this
19859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19860 ac_tool_warned=yes ;;
19861 esac
19862 WINDRES=$ac_ct_WINDRES
19863 fi
19864 else
19865 WINDRES="$ac_cv_prog_WINDRES"
19866 fi
19867
19868 RESCOMP="$WINDRES"
19869 if test -n "$ac_tool_prefix"; then
19870 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
19871 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
19872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19874 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19875 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 else
19877 if test -n "$DLLTOOL"; then
19878 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19879 else
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881 for as_dir in $PATH
19882 do
19883 IFS=$as_save_IFS
19884 test -z "$as_dir" && as_dir=.
19885 for ac_exec_ext in '' $ac_executable_extensions; do
19886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19887 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19889 break 2
19890 fi
19891 done
19892 done
19893 IFS=$as_save_IFS
19894
19895 fi
19896 fi
19897 DLLTOOL=$ac_cv_prog_DLLTOOL
19898 if test -n "$DLLTOOL"; then
19899 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19900 echo "${ECHO_T}$DLLTOOL" >&6; }
19901 else
19902 { echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6; }
19904 fi
19905
19906
19907 fi
19908 if test -z "$ac_cv_prog_DLLTOOL"; then
19909 ac_ct_DLLTOOL=$DLLTOOL
19910 # Extract the first word of "dlltool", so it can be a program name with args.
19911 set dummy dlltool; ac_word=$2
19912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19914 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 else
19917 if test -n "$ac_ct_DLLTOOL"; then
19918 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
19919 else
19920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19921 for as_dir in $PATH
19922 do
19923 IFS=$as_save_IFS
19924 test -z "$as_dir" && as_dir=.
19925 for ac_exec_ext in '' $ac_executable_extensions; do
19926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19927 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
19928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19929 break 2
19930 fi
19931 done
19932 done
19933 IFS=$as_save_IFS
19934
19935 fi
19936 fi
19937 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
19938 if test -n "$ac_ct_DLLTOOL"; then
19939 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
19940 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
19941 else
19942 { echo "$as_me:$LINENO: result: no" >&5
19943 echo "${ECHO_T}no" >&6; }
19944 fi
19945
19946 if test "x$ac_ct_DLLTOOL" = x; then
19947 DLLTOOL=""
19948 else
19949 case $cross_compiling:$ac_tool_warned in
19950 yes:)
19951 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19952 whose name does not start with the host triplet. If you think this
19953 configuration is useful to you, please write to autoconf@gnu.org." >&5
19954 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19955 whose name does not start with the host triplet. If you think this
19956 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19957 ac_tool_warned=yes ;;
19958 esac
19959 DLLTOOL=$ac_ct_DLLTOOL
19960 fi
19961 else
19962 DLLTOOL="$ac_cv_prog_DLLTOOL"
19963 fi
19964
19965 ;;
19966 esac
19967 fi
19968
19969 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
19970 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
19971 if test "${wx_cv_prog_makeisgnu+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19974
19975 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
19976 $EGREP -s GNU > /dev/null); then
19977 wx_cv_prog_makeisgnu="yes"
19978 else
19979 wx_cv_prog_makeisgnu="no"
19980 fi
19981
19982 fi
19983 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
19984 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
19985
19986 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
19987 IF_GNU_MAKE=""
19988 else
19989 IF_GNU_MAKE="#"
19990 fi
19991
19992
19993
19994 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
19995 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
19996 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
19997 if test "${wx_cv_prog_makevpath+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 else
20000
20001 cat - << EOF > confMake
20002 check : file
20003 cp \$? \$@
20004 cp \$? final_file
20005 EOF
20006
20007 if test ! -d sub ; then
20008 mkdir sub
20009 fi
20010 echo dummy > sub/file
20011 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20012 RESULT=$?
20013 rm -f sub/file check final_file confMake
20014 rmdir sub
20015 if test "$RESULT" = 0; then
20016 wx_cv_prog_makevpath="yes"
20017 else
20018 wx_cv_prog_makevpath="no"
20019 fi
20020
20021 fi
20022 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20023 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20024
20025 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20026 { { echo "$as_me:$LINENO: error:
20027 You need a make-utility that is able to use the variable
20028 VPATH correctly.
20029 If your version of make does not support VPATH correctly,
20030 please install GNU-make (possibly as gmake), and start
20031 configure with the following command:
20032 export MAKE=gmake; ./configure for sh-type shells
20033 setenv MAKE gmake; ./configure for csh-type shells
20034 Also please do remember to use gmake in this case every time
20035 you are trying to compile.
20036 " >&5
20037 echo "$as_me: error:
20038 You need a make-utility that is able to use the variable
20039 VPATH correctly.
20040 If your version of make does not support VPATH correctly,
20041 please install GNU-make (possibly as gmake), and start
20042 configure with the following command:
20043 export MAKE=gmake; ./configure for sh-type shells
20044 setenv MAKE gmake; ./configure for csh-type shells
20045 Also please do remember to use gmake in this case every time
20046 you are trying to compile.
20047 " >&2;}
20048 { (exit 1); exit 1; }; }
20049 fi fi
20050 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20051 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20052 LN_S=$as_ln_s
20053 if test "$LN_S" = "ln -s"; then
20054 { echo "$as_me:$LINENO: result: yes" >&5
20055 echo "${ECHO_T}yes" >&6; }
20056 else
20057 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20058 echo "${ECHO_T}no, using $LN_S" >&6; }
20059 fi
20060
20061
20062
20063
20064 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20065 CXXFLAGS="-qunique $CXXFLAGS"
20066 fi
20067
20068 case "${host}" in
20069 powerpc-*-darwin* )
20070 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20071 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20072 cat >conftest.$ac_ext <<_ACEOF
20073 /* confdefs.h. */
20074 _ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078
20079 int
20080 main ()
20081 {
20082 #ifndef __POWERPC__
20083 choke me for lack of PowerPC
20084 #endif
20085
20086 ;
20087 return 0;
20088 }
20089 _ACEOF
20090 rm -f conftest.$ac_objext
20091 if { (ac_try="$ac_compile"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20095 esac
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_compile") 2>conftest.er1
20098 ac_status=$?
20099 grep -v '^ *+' conftest.er1 >conftest.err
20100 rm -f conftest.er1
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest.$ac_objext; then
20107 { echo "$as_me:$LINENO: result: yes" >&5
20108 echo "${ECHO_T}yes" >&6; }
20109 else
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20112
20113 { echo "$as_me:$LINENO: result: no" >&5
20114 echo "${ECHO_T}no" >&6; }
20115 cat >>confdefs.h <<\_ACEOF
20116 #define __POWERPC__ 1
20117 _ACEOF
20118
20119
20120 fi
20121
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 ;;
20124 esac
20125
20126 case "${host}" in
20127 *-*-darwin* )
20128 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20129 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20130 cat >conftest.$ac_ext <<_ACEOF
20131 /* confdefs.h. */
20132 _ACEOF
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #include <CoreFoundation/CFBase.h>
20137
20138 int
20139 main ()
20140 {
20141
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (ac_try="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.$ac_objext; then
20163 { echo "$as_me:$LINENO: result: yes" >&5
20164 echo "${ECHO_T}yes" >&6; }
20165 else
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20168
20169 { echo "$as_me:$LINENO: result: no" >&5
20170 echo "${ECHO_T}no" >&6; }
20171 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20172 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 #define __CF_USE_FRAMEWORK_INCLUDES__
20180 #include <CoreFoundation/CFBase.h>
20181
20182 int
20183 main ()
20184 {
20185
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20207 { echo "$as_me:$LINENO: result: yes" >&5
20208 echo "${ECHO_T}yes" >&6; }
20209 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20210 else
20211 echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20213
20214 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20215 See \`config.log' for more details." >&5
20216 echo "$as_me: error: no. CoreFoundation not available.
20217 See \`config.log' for more details." >&2;}
20218 { (exit 1); exit 1; }; }
20219
20220 fi
20221
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223
20224
20225 fi
20226
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20228 ;;
20229 esac
20230
20231 wants_win32=0
20232 doesnt_want_win32=0
20233 case "${host}" in
20234 *-*-cygwin*)
20235 if test "$wxUSE_MSW" = 1 ; then
20236 wants_win32=1
20237 else
20238 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20239 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20240 if test "${wx_cv_nocygwin+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243
20244 cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h. */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h. */
20250
20251 int
20252 main ()
20253 {
20254
20255 #ifdef __MINGW32__
20256 choke me
20257 #endif
20258
20259 ;
20260 return 0;
20261 }
20262 _ACEOF
20263 rm -f conftest.$ac_objext
20264 if { (ac_try="$ac_compile"
20265 case "(($ac_try" in
20266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20267 *) ac_try_echo=$ac_try;;
20268 esac
20269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20270 (eval "$ac_compile") 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } && {
20277 test -z "$ac_c_werror_flag" ||
20278 test ! -s conftest.err
20279 } && test -s conftest.$ac_objext; then
20280 wx_cv_nocygwin=no
20281 else
20282 echo "$as_me: failed program was:" >&5
20283 sed 's/^/| /' conftest.$ac_ext >&5
20284
20285 wx_cv_nocygwin=yes
20286
20287 fi
20288
20289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20290
20291
20292 fi
20293 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20294 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20295
20296 if test "$wx_cv_nocygwin" = "yes"; then
20297 wants_win32=1
20298 else
20299 doesnt_want_win32=1
20300 fi
20301 fi
20302 if test "$wants_win32" = 1 ; then
20303 BAKEFILE_FORCE_PLATFORM=win32
20304 fi
20305 ;;
20306 *-*-mingw*)
20307 wants_win32=1
20308 ;;
20309 esac
20310
20311 if test "$wxUSE_WINE" = "yes"; then
20312 wants_win32=1
20313 LDFLAGS_GUI="-mwindows"
20314 fi
20315
20316 if test "$wants_win32" = 1 ; then
20317 USE_UNIX=0
20318 USE_WIN32=1
20319 cat >>confdefs.h <<\_ACEOF
20320 #define __WIN32__ 1
20321 _ACEOF
20322
20323 cat >>confdefs.h <<\_ACEOF
20324 #define __WIN95__ 1
20325 _ACEOF
20326
20327 cat >>confdefs.h <<\_ACEOF
20328 #define __WINDOWS__ 1
20329 _ACEOF
20330
20331 cat >>confdefs.h <<\_ACEOF
20332 #define __GNUWIN32__ 1
20333 _ACEOF
20334
20335 cat >>confdefs.h <<\_ACEOF
20336 #define STRICT 1
20337 _ACEOF
20338
20339 fi
20340 if test "$doesnt_want_win32" = 1 ; then
20341 USE_UNIX=1
20342 USE_WIN32=0
20343 fi
20344
20345 if test "$USE_UNIX" = 1 ; then
20346 wxUSE_UNIX=yes
20347 cat >>confdefs.h <<\_ACEOF
20348 #define __UNIX__ 1
20349 _ACEOF
20350
20351 fi
20352
20353 case "${host}" in
20354 *-pc-os2_emx | *-pc-os2-emx )
20355 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20356 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20357 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20358 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20361 ac_check_lib_save_LIBS=$LIBS
20362 LIBS="-lcExt $LIBS"
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369
20370 /* Override any GCC internal prototype to avoid an error.
20371 Use char because int might match the return type of a GCC
20372 builtin and then its argument prototype would still apply. */
20373 #ifdef __cplusplus
20374 extern "C"
20375 #endif
20376 char drand48 ();
20377 int
20378 main ()
20379 {
20380 return drand48 ();
20381 ;
20382 return 0;
20383 }
20384 _ACEOF
20385 rm -f conftest.$ac_objext conftest$ac_exeext
20386 if { (ac_try="$ac_link"
20387 case "(($ac_try" in
20388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20390 esac
20391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20392 (eval "$ac_link") 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && {
20399 test -z "$ac_c_werror_flag" ||
20400 test ! -s conftest.err
20401 } && test -s conftest$ac_exeext &&
20402 $as_test_x conftest$ac_exeext; then
20403 ac_cv_lib_cExt_drand48=yes
20404 else
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 ac_cv_lib_cExt_drand48=no
20409 fi
20410
20411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20412 conftest$ac_exeext conftest.$ac_ext
20413 LIBS=$ac_check_lib_save_LIBS
20414 fi
20415 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20416 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20417 if test $ac_cv_lib_cExt_drand48 = yes; then
20418 LIBS="$LIBS -lcExt"
20419 fi
20420
20421 else
20422 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20423 fi
20424 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20425 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20426 if test "${wx_cv_gccversion+set}" = set; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 else
20429
20430 if test "$cross_compiling" = yes; then
20431 wx_cv_gccversion="EMX2"
20432
20433 else
20434 cat >conftest.$ac_ext <<_ACEOF
20435 /* confdefs.h. */
20436 _ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440
20441 #include <stdio.h>
20442
20443 int main()
20444 {
20445 FILE *f=fopen("conftestval", "w");
20446 if (!f) exit(1);
20447 fprintf(f,
20448 #if (__GNUC__ < 3)
20449 "EMX2"
20450 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20451 "EMX3"
20452 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20453 "Innotek5"
20454 #else
20455 "Innotek6"
20456 #endif
20457 );
20458 exit(0);
20459 }
20460
20461 _ACEOF
20462 rm -f conftest$ac_exeext
20463 if { (ac_try="$ac_link"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_link") 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20473 { (case "(($ac_try" in
20474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20475 *) ac_try_echo=$ac_try;;
20476 esac
20477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20478 (eval "$ac_try") 2>&5
20479 ac_status=$?
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); }; }; then
20482 wx_cv_gccversion=`cat conftestval`
20483 else
20484 echo "$as_me: program exited with status $ac_status" >&5
20485 echo "$as_me: failed program was:" >&5
20486 sed 's/^/| /' conftest.$ac_ext >&5
20487
20488 ( exit $ac_status )
20489 wx_cv_gccversion="EMX2"
20490 fi
20491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20492 fi
20493
20494
20495
20496 fi
20497 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20498 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20499 if test "$wx_cv_gccversion" = "EMX2"; then
20500 LIBS="$LIBS -lstdcpp"
20501 LDFLAGS="$LDFLAGS -Zsysv-signals"
20502 else
20503 if test "$wx_cv_gccversion" = "EMX3"; then
20504 LIBS="$LIBS -lstdcxx -lgcc"
20505 LDFLAGS="$LDFLAGS -Zsysv-signals"
20506 else
20507 LIBS="$LIBS -lstdc++"
20508 fi
20509 fi
20510 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20511 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20512 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20513 wxUSE_OMF=yes
20514 enable_omf=yes
20515 fi
20516 ;;
20517 *)
20518
20519 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20520 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20521 if test "${ac_cv_string_strcasecmp+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20523 else
20524
20525 cat >conftest.$ac_ext <<_ACEOF
20526 /* confdefs.h. */
20527 _ACEOF
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20531
20532 #include <string.h>
20533
20534 int
20535 main ()
20536 {
20537
20538 strcasecmp("foo", "bar");
20539
20540 ;
20541 return 0;
20542 }
20543 _ACEOF
20544 rm -f conftest.$ac_objext conftest$ac_exeext
20545 if { (ac_try="$ac_link"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20549 esac
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_link") 2>conftest.er1
20552 ac_status=$?
20553 grep -v '^ *+' conftest.er1 >conftest.err
20554 rm -f conftest.er1
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest$ac_exeext &&
20561 $as_test_x conftest$ac_exeext; then
20562 ac_cv_string_strcasecmp=yes
20563 else
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ac_cv_string_strcasecmp=no
20568
20569 fi
20570
20571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20572 conftest$ac_exeext conftest.$ac_ext
20573
20574 fi
20575 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20576 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20577
20578 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20579 cat >>confdefs.h <<\_ACEOF
20580 #define HAVE_STRCASECMP_IN_STRING_H 1
20581 _ACEOF
20582
20583 else
20584 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20585 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20586 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 else
20589
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h. */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596
20597 #include <strings.h>
20598
20599 int
20600 main ()
20601 {
20602
20603 strcasecmp("foo", "bar");
20604
20605 ;
20606 return 0;
20607 }
20608 _ACEOF
20609 rm -f conftest.$ac_objext conftest$ac_exeext
20610 if { (ac_try="$ac_link"
20611 case "(($ac_try" in
20612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20613 *) ac_try_echo=$ac_try;;
20614 esac
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20616 (eval "$ac_link") 2>conftest.er1
20617 ac_status=$?
20618 grep -v '^ *+' conftest.er1 >conftest.err
20619 rm -f conftest.er1
20620 cat conftest.err >&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } && {
20623 test -z "$ac_c_werror_flag" ||
20624 test ! -s conftest.err
20625 } && test -s conftest$ac_exeext &&
20626 $as_test_x conftest$ac_exeext; then
20627 ac_cv_strings_strcasecmp=yes
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 ac_cv_strings_strcasecmp=no
20633
20634 fi
20635
20636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20637 conftest$ac_exeext conftest.$ac_ext
20638
20639 fi
20640 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20641 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20642
20643 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20644 cat >>confdefs.h <<\_ACEOF
20645 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20646 _ACEOF
20647
20648 else
20649 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20650 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20651 { (exit 1); exit 1; }; }
20652 fi
20653 fi
20654
20655 ;;
20656 esac
20657
20658
20659 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20660 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20661 if test "${ac_cv_header_stdc+set}" = set; then
20662 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 else
20664 cat >conftest.$ac_ext <<_ACEOF
20665 /* confdefs.h. */
20666 _ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 #include <stdlib.h>
20671 #include <stdarg.h>
20672 #include <string.h>
20673 #include <float.h>
20674
20675 int
20676 main ()
20677 {
20678
20679 ;
20680 return 0;
20681 }
20682 _ACEOF
20683 rm -f conftest.$ac_objext
20684 if { (ac_try="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20688 esac
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20700 ac_cv_header_stdc=yes
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 ac_cv_header_stdc=no
20706 fi
20707
20708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709
20710 if test $ac_cv_header_stdc = yes; then
20711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20712 cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h. */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 #include <string.h>
20719
20720 _ACEOF
20721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20722 $EGREP "memchr" >/dev/null 2>&1; then
20723 :
20724 else
20725 ac_cv_header_stdc=no
20726 fi
20727 rm -f conftest*
20728
20729 fi
20730
20731 if test $ac_cv_header_stdc = yes; then
20732 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #include <stdlib.h>
20740
20741 _ACEOF
20742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20743 $EGREP "free" >/dev/null 2>&1; then
20744 :
20745 else
20746 ac_cv_header_stdc=no
20747 fi
20748 rm -f conftest*
20749
20750 fi
20751
20752 if test $ac_cv_header_stdc = yes; then
20753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20754 if test "$cross_compiling" = yes; then
20755 :
20756 else
20757 cat >conftest.$ac_ext <<_ACEOF
20758 /* confdefs.h. */
20759 _ACEOF
20760 cat confdefs.h >>conftest.$ac_ext
20761 cat >>conftest.$ac_ext <<_ACEOF
20762 /* end confdefs.h. */
20763 #include <ctype.h>
20764 #include <stdlib.h>
20765 #if ((' ' & 0x0FF) == 0x020)
20766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20768 #else
20769 # define ISLOWER(c) \
20770 (('a' <= (c) && (c) <= 'i') \
20771 || ('j' <= (c) && (c) <= 'r') \
20772 || ('s' <= (c) && (c) <= 'z'))
20773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20774 #endif
20775
20776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20777 int
20778 main ()
20779 {
20780 int i;
20781 for (i = 0; i < 256; i++)
20782 if (XOR (islower (i), ISLOWER (i))
20783 || toupper (i) != TOUPPER (i))
20784 return 2;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest$ac_exeext
20789 if { (ac_try="$ac_link"
20790 case "(($ac_try" in
20791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20792 *) ac_try_echo=$ac_try;;
20793 esac
20794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20795 (eval "$ac_link") 2>&5
20796 ac_status=$?
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20799 { (case "(($ac_try" in
20800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20801 *) ac_try_echo=$ac_try;;
20802 esac
20803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20804 (eval "$ac_try") 2>&5
20805 ac_status=$?
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 :
20809 else
20810 echo "$as_me: program exited with status $ac_status" >&5
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 ( exit $ac_status )
20815 ac_cv_header_stdc=no
20816 fi
20817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20818 fi
20819
20820
20821 fi
20822 fi
20823 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20824 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20825 if test $ac_cv_header_stdc = yes; then
20826
20827 cat >>confdefs.h <<\_ACEOF
20828 #define STDC_HEADERS 1
20829 _ACEOF
20830
20831 fi
20832
20833 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20844 inttypes.h stdint.h unistd.h
20845 do
20846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20850 echo $ECHO_N "(cached) $ECHO_C" >&6
20851 else
20852 cat >conftest.$ac_ext <<_ACEOF
20853 /* confdefs.h. */
20854 _ACEOF
20855 cat confdefs.h >>conftest.$ac_ext
20856 cat >>conftest.$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20859
20860 #include <$ac_header>
20861 _ACEOF
20862 rm -f conftest.$ac_objext
20863 if { (ac_try="$ac_compile"
20864 case "(($ac_try" in
20865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20866 *) ac_try_echo=$ac_try;;
20867 esac
20868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20869 (eval "$ac_compile") 2>conftest.er1
20870 ac_status=$?
20871 grep -v '^ *+' conftest.er1 >conftest.err
20872 rm -f conftest.er1
20873 cat conftest.err >&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); } && {
20876 test -z "$ac_c_werror_flag" ||
20877 test ! -s conftest.err
20878 } && test -s conftest.$ac_objext; then
20879 eval "$as_ac_Header=yes"
20880 else
20881 echo "$as_me: failed program was:" >&5
20882 sed 's/^/| /' conftest.$ac_ext >&5
20883
20884 eval "$as_ac_Header=no"
20885 fi
20886
20887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 fi
20889 ac_res=`eval echo '${'$as_ac_Header'}'`
20890 { echo "$as_me:$LINENO: result: $ac_res" >&5
20891 echo "${ECHO_T}$ac_res" >&6; }
20892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20893 cat >>confdefs.h <<_ACEOF
20894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20895 _ACEOF
20896
20897 fi
20898
20899 done
20900
20901
20902
20903
20904
20905
20906
20907
20908 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20909 do
20910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20914 echo $ECHO_N "(cached) $ECHO_C" >&6
20915 else
20916 cat >conftest.$ac_ext <<_ACEOF
20917 /* confdefs.h. */
20918 _ACEOF
20919 cat confdefs.h >>conftest.$ac_ext
20920 cat >>conftest.$ac_ext <<_ACEOF
20921 /* end confdefs.h. */
20922 $ac_includes_default
20923
20924 #include <$ac_header>
20925 _ACEOF
20926 rm -f conftest.$ac_objext
20927 if { (ac_try="$ac_compile"
20928 case "(($ac_try" in
20929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20931 esac
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20934 ac_status=$?
20935 grep -v '^ *+' conftest.er1 >conftest.err
20936 rm -f conftest.er1
20937 cat conftest.err >&5
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20943 eval "$as_ac_Header=yes"
20944 else
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948 eval "$as_ac_Header=no"
20949 fi
20950
20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20952 fi
20953 ac_res=`eval echo '${'$as_ac_Header'}'`
20954 { echo "$as_me:$LINENO: result: $ac_res" >&5
20955 echo "${ECHO_T}$ac_res" >&6; }
20956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20957 cat >>confdefs.h <<_ACEOF
20958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20959 _ACEOF
20960
20961 fi
20962
20963 done
20964
20965
20966 if test "$ac_cv_header_wchar_h" != "yes"; then
20967
20968 for ac_header in wcstr.h
20969 do
20970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 else
20976 cat >conftest.$ac_ext <<_ACEOF
20977 /* confdefs.h. */
20978 _ACEOF
20979 cat confdefs.h >>conftest.$ac_ext
20980 cat >>conftest.$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 $ac_includes_default
20983
20984 #include <$ac_header>
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (ac_try="$ac_compile"
20988 case "(($ac_try" in
20989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20990 *) ac_try_echo=$ac_try;;
20991 esac
20992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20993 (eval "$ac_compile") 2>conftest.er1
20994 ac_status=$?
20995 grep -v '^ *+' conftest.er1 >conftest.err
20996 rm -f conftest.er1
20997 cat conftest.err >&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); } && {
21000 test -z "$ac_c_werror_flag" ||
21001 test ! -s conftest.err
21002 } && test -s conftest.$ac_objext; then
21003 eval "$as_ac_Header=yes"
21004 else
21005 echo "$as_me: failed program was:" >&5
21006 sed 's/^/| /' conftest.$ac_ext >&5
21007
21008 eval "$as_ac_Header=no"
21009 fi
21010
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21012 fi
21013 ac_res=`eval echo '${'$as_ac_Header'}'`
21014 { echo "$as_me:$LINENO: result: $ac_res" >&5
21015 echo "${ECHO_T}$ac_res" >&6; }
21016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21017 cat >>confdefs.h <<_ACEOF
21018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21019 _ACEOF
21020
21021 fi
21022
21023 done
21024
21025 fi
21026
21027 case "${host}" in
21028 *-pc-os2_emx | *-pc-os2-emx )
21029 if test $ac_cv_header_langinfo_h = "yes" \
21030 -a \( "$wx_cv_gccversion" = "EMX2" \
21031 -o "$wx_cv_gccversion" = "EMX3" \
21032 -o "$wx_cv_gccversion" = "Innotek5" \); then
21033 LIBS="$LIBS -lintl"
21034 fi
21035 ;;
21036 esac
21037
21038 if test "$USE_UNIX" = 1 ; then
21039
21040 for ac_header in sys/select.h
21041 do
21042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21043 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21046 echo $ECHO_N "(cached) $ECHO_C" >&6
21047 else
21048 cat >conftest.$ac_ext <<_ACEOF
21049 /* confdefs.h. */
21050 _ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h. */
21054 $ac_includes_default
21055
21056 #include <$ac_header>
21057 _ACEOF
21058 rm -f conftest.$ac_objext
21059 if { (ac_try="$ac_compile"
21060 case "(($ac_try" in
21061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21062 *) ac_try_echo=$ac_try;;
21063 esac
21064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21066 ac_status=$?
21067 grep -v '^ *+' conftest.er1 >conftest.err
21068 rm -f conftest.er1
21069 cat conftest.err >&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21075 eval "$as_ac_Header=yes"
21076 else
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21079
21080 eval "$as_ac_Header=no"
21081 fi
21082
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 fi
21085 ac_res=`eval echo '${'$as_ac_Header'}'`
21086 { echo "$as_me:$LINENO: result: $ac_res" >&5
21087 echo "${ECHO_T}$ac_res" >&6; }
21088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21089 cat >>confdefs.h <<_ACEOF
21090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21091 _ACEOF
21092
21093 fi
21094
21095 done
21096
21097 fi
21098
21099
21100 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21101 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21102 if test "${ac_cv_c_const+set}" = set; then
21103 echo $ECHO_N "(cached) $ECHO_C" >&6
21104 else
21105 cat >conftest.$ac_ext <<_ACEOF
21106 /* confdefs.h. */
21107 _ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111
21112 int
21113 main ()
21114 {
21115 /* FIXME: Include the comments suggested by Paul. */
21116 #ifndef __cplusplus
21117 /* Ultrix mips cc rejects this. */
21118 typedef int charset[2];
21119 const charset cs;
21120 /* SunOS 4.1.1 cc rejects this. */
21121 char const *const *pcpcc;
21122 char **ppc;
21123 /* NEC SVR4.0.2 mips cc rejects this. */
21124 struct point {int x, y;};
21125 static struct point const zero = {0,0};
21126 /* AIX XL C 1.02.0.0 rejects this.
21127 It does not let you subtract one const X* pointer from another in
21128 an arm of an if-expression whose if-part is not a constant
21129 expression */
21130 const char *g = "string";
21131 pcpcc = &g + (g ? g-g : 0);
21132 /* HPUX 7.0 cc rejects these. */
21133 ++pcpcc;
21134 ppc = (char**) pcpcc;
21135 pcpcc = (char const *const *) ppc;
21136 { /* SCO 3.2v4 cc rejects this. */
21137 char *t;
21138 char const *s = 0 ? (char *) 0 : (char const *) 0;
21139
21140 *t++ = 0;
21141 if (s) return 0;
21142 }
21143 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21144 int x[] = {25, 17};
21145 const int *foo = &x[0];
21146 ++foo;
21147 }
21148 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21149 typedef const int *iptr;
21150 iptr p = 0;
21151 ++p;
21152 }
21153 { /* AIX XL C 1.02.0.0 rejects this saying
21154 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21155 struct s { int j; const int *ap[3]; };
21156 struct s *b; b->j = 5;
21157 }
21158 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21159 const int foo = 10;
21160 if (!foo) return 0;
21161 }
21162 return !cs[0] && !zero.x;
21163 #endif
21164
21165 ;
21166 return 0;
21167 }
21168 _ACEOF
21169 rm -f conftest.$ac_objext
21170 if { (ac_try="$ac_compile"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_compile") 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest.$ac_objext; then
21186 ac_cv_c_const=yes
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 ac_cv_c_const=no
21192 fi
21193
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195 fi
21196 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21197 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21198 if test $ac_cv_c_const = no; then
21199
21200 cat >>confdefs.h <<\_ACEOF
21201 #define const
21202 _ACEOF
21203
21204 fi
21205
21206 { echo "$as_me:$LINENO: checking for inline" >&5
21207 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21208 if test "${ac_cv_c_inline+set}" = set; then
21209 echo $ECHO_N "(cached) $ECHO_C" >&6
21210 else
21211 ac_cv_c_inline=no
21212 for ac_kw in inline __inline__ __inline; do
21213 cat >conftest.$ac_ext <<_ACEOF
21214 /* confdefs.h. */
21215 _ACEOF
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 #ifndef __cplusplus
21220 typedef int foo_t;
21221 static $ac_kw foo_t static_foo () {return 0; }
21222 $ac_kw foo_t foo () {return 0; }
21223 #endif
21224
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (ac_try="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21231 esac
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21243 ac_cv_c_inline=$ac_kw
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248
21249 fi
21250
21251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 test "$ac_cv_c_inline" != no && break
21253 done
21254
21255 fi
21256 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21257 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21258
21259
21260 case $ac_cv_c_inline in
21261 inline | yes) ;;
21262 *)
21263 case $ac_cv_c_inline in
21264 no) ac_val=;;
21265 *) ac_val=$ac_cv_c_inline;;
21266 esac
21267 cat >>confdefs.h <<_ACEOF
21268 #ifndef __cplusplus
21269 #define inline $ac_val
21270 #endif
21271 _ACEOF
21272 ;;
21273 esac
21274
21275
21276 { echo "$as_me:$LINENO: checking for short" >&5
21277 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21278 if test "${ac_cv_type_short+set}" = set; then
21279 echo $ECHO_N "(cached) $ECHO_C" >&6
21280 else
21281 cat >conftest.$ac_ext <<_ACEOF
21282 /* confdefs.h. */
21283 _ACEOF
21284 cat confdefs.h >>conftest.$ac_ext
21285 cat >>conftest.$ac_ext <<_ACEOF
21286 /* end confdefs.h. */
21287 $ac_includes_default
21288 typedef short ac__type_new_;
21289 int
21290 main ()
21291 {
21292 if ((ac__type_new_ *) 0)
21293 return 0;
21294 if (sizeof (ac__type_new_))
21295 return 0;
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 rm -f conftest.$ac_objext
21301 if { (ac_try="$ac_compile"
21302 case "(($ac_try" in
21303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21304 *) ac_try_echo=$ac_try;;
21305 esac
21306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21307 (eval "$ac_compile") 2>conftest.er1
21308 ac_status=$?
21309 grep -v '^ *+' conftest.er1 >conftest.err
21310 rm -f conftest.er1
21311 cat conftest.err >&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } && {
21314 test -z "$ac_c_werror_flag" ||
21315 test ! -s conftest.err
21316 } && test -s conftest.$ac_objext; then
21317 ac_cv_type_short=yes
21318 else
21319 echo "$as_me: failed program was:" >&5
21320 sed 's/^/| /' conftest.$ac_ext >&5
21321
21322 ac_cv_type_short=no
21323 fi
21324
21325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21326 fi
21327 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21328 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21329
21330 # The cast to long int works around a bug in the HP C Compiler
21331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21333 # This bug is HP SR number 8606223364.
21334 { echo "$as_me:$LINENO: checking size of short" >&5
21335 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21336 if test "${ac_cv_sizeof_short+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 else
21339 if test "$cross_compiling" = yes; then
21340 # Depending upon the size, compute the lo and hi bounds.
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 typedef short ac__type_sizeof_;
21349 int
21350 main ()
21351 {
21352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21353 test_array [0] = 0
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (ac_try="$ac_compile"
21361 case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21364 esac
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_compile") 2>conftest.er1
21367 ac_status=$?
21368 grep -v '^ *+' conftest.er1 >conftest.err
21369 rm -f conftest.er1
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && {
21373 test -z "$ac_c_werror_flag" ||
21374 test ! -s conftest.err
21375 } && test -s conftest.$ac_objext; then
21376 ac_lo=0 ac_mid=0
21377 while :; do
21378 cat >conftest.$ac_ext <<_ACEOF
21379 /* confdefs.h. */
21380 _ACEOF
21381 cat confdefs.h >>conftest.$ac_ext
21382 cat >>conftest.$ac_ext <<_ACEOF
21383 /* end confdefs.h. */
21384 $ac_includes_default
21385 typedef short ac__type_sizeof_;
21386 int
21387 main ()
21388 {
21389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21390 test_array [0] = 0
21391
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest.$ac_objext
21397 if { (ac_try="$ac_compile"
21398 case "(($ac_try" in
21399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21400 *) ac_try_echo=$ac_try;;
21401 esac
21402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21403 (eval "$ac_compile") 2>conftest.er1
21404 ac_status=$?
21405 grep -v '^ *+' conftest.er1 >conftest.err
21406 rm -f conftest.er1
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } && {
21410 test -z "$ac_c_werror_flag" ||
21411 test ! -s conftest.err
21412 } && test -s conftest.$ac_objext; then
21413 ac_hi=$ac_mid; break
21414 else
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21417
21418 ac_lo=`expr $ac_mid + 1`
21419 if test $ac_lo -le $ac_mid; then
21420 ac_lo= ac_hi=
21421 break
21422 fi
21423 ac_mid=`expr 2 '*' $ac_mid + 1`
21424 fi
21425
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 done
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 cat >conftest.$ac_ext <<_ACEOF
21433 /* confdefs.h. */
21434 _ACEOF
21435 cat confdefs.h >>conftest.$ac_ext
21436 cat >>conftest.$ac_ext <<_ACEOF
21437 /* end confdefs.h. */
21438 $ac_includes_default
21439 typedef short ac__type_sizeof_;
21440 int
21441 main ()
21442 {
21443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21444 test_array [0] = 0
21445
21446 ;
21447 return 0;
21448 }
21449 _ACEOF
21450 rm -f conftest.$ac_objext
21451 if { (ac_try="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21454 *) ac_try_echo=$ac_try;;
21455 esac
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21458 ac_status=$?
21459 grep -v '^ *+' conftest.er1 >conftest.err
21460 rm -f conftest.er1
21461 cat conftest.err >&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.$ac_objext; then
21467 ac_hi=-1 ac_mid=-1
21468 while :; do
21469 cat >conftest.$ac_ext <<_ACEOF
21470 /* confdefs.h. */
21471 _ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475 $ac_includes_default
21476 typedef short ac__type_sizeof_;
21477 int
21478 main ()
21479 {
21480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21481 test_array [0] = 0
21482
21483 ;
21484 return 0;
21485 }
21486 _ACEOF
21487 rm -f conftest.$ac_objext
21488 if { (ac_try="$ac_compile"
21489 case "(($ac_try" in
21490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 *) ac_try_echo=$ac_try;;
21492 esac
21493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 (eval "$ac_compile") 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } && {
21501 test -z "$ac_c_werror_flag" ||
21502 test ! -s conftest.err
21503 } && test -s conftest.$ac_objext; then
21504 ac_lo=$ac_mid; break
21505 else
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.$ac_ext >&5
21508
21509 ac_hi=`expr '(' $ac_mid ')' - 1`
21510 if test $ac_mid -le $ac_hi; then
21511 ac_lo= ac_hi=
21512 break
21513 fi
21514 ac_mid=`expr 2 '*' $ac_mid`
21515 fi
21516
21517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21518 done
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_lo= ac_hi=
21524 fi
21525
21526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21527 fi
21528
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 # Binary search between lo and hi bounds.
21531 while test "x$ac_lo" != "x$ac_hi"; do
21532 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21533 cat >conftest.$ac_ext <<_ACEOF
21534 /* confdefs.h. */
21535 _ACEOF
21536 cat confdefs.h >>conftest.$ac_ext
21537 cat >>conftest.$ac_ext <<_ACEOF
21538 /* end confdefs.h. */
21539 $ac_includes_default
21540 typedef short ac__type_sizeof_;
21541 int
21542 main ()
21543 {
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21545 test_array [0] = 0
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_hi=$ac_mid
21569 else
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ac_lo=`expr '(' $ac_mid ')' + 1`
21574 fi
21575
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577 done
21578 case $ac_lo in
21579 ?*) ac_cv_sizeof_short=$ac_lo;;
21580 '') if test "$ac_cv_type_short" = yes; then
21581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21582 See \`config.log' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (short)
21584 See \`config.log' for more details." >&2;}
21585 { (exit 77); exit 77; }; }
21586 else
21587 ac_cv_sizeof_short=0
21588 fi ;;
21589 esac
21590 else
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21598 typedef short ac__type_sizeof_;
21599 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21600 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21601 #include <stdio.h>
21602 #include <stdlib.h>
21603 int
21604 main ()
21605 {
21606
21607 FILE *f = fopen ("conftest.val", "w");
21608 if (! f)
21609 return 1;
21610 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21611 {
21612 long int i = longval ();
21613 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21614 return 1;
21615 fprintf (f, "%ld\n", i);
21616 }
21617 else
21618 {
21619 unsigned long int i = ulongval ();
21620 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21621 return 1;
21622 fprintf (f, "%lu\n", i);
21623 }
21624 return ferror (f) || fclose (f) != 0;
21625
21626 ;
21627 return 0;
21628 }
21629 _ACEOF
21630 rm -f conftest$ac_exeext
21631 if { (ac_try="$ac_link"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21635 esac
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_link") 2>&5
21638 ac_status=$?
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21641 { (case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21644 esac
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_try") 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_cv_sizeof_short=`cat conftest.val`
21651 else
21652 echo "$as_me: program exited with status $ac_status" >&5
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21655
21656 ( exit $ac_status )
21657 if test "$ac_cv_type_short" = yes; then
21658 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21659 See \`config.log' for more details." >&5
21660 echo "$as_me: error: cannot compute sizeof (short)
21661 See \`config.log' for more details." >&2;}
21662 { (exit 77); exit 77; }; }
21663 else
21664 ac_cv_sizeof_short=0
21665 fi
21666 fi
21667 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21668 fi
21669 rm -f conftest.val
21670 fi
21671 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21672 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21673
21674
21675
21676 cat >>confdefs.h <<_ACEOF
21677 #define SIZEOF_SHORT $ac_cv_sizeof_short
21678 _ACEOF
21679
21680
21681 { echo "$as_me:$LINENO: checking for void *" >&5
21682 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21683 if test "${ac_cv_type_void_p+set}" = set; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 else
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 $ac_includes_default
21693 typedef void * ac__type_new_;
21694 int
21695 main ()
21696 {
21697 if ((ac__type_new_ *) 0)
21698 return 0;
21699 if (sizeof (ac__type_new_))
21700 return 0;
21701 ;
21702 return 0;
21703 }
21704 _ACEOF
21705 rm -f conftest.$ac_objext
21706 if { (ac_try="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21710 esac
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21722 ac_cv_type_void_p=yes
21723 else
21724 echo "$as_me: failed program was:" >&5
21725 sed 's/^/| /' conftest.$ac_ext >&5
21726
21727 ac_cv_type_void_p=no
21728 fi
21729
21730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21731 fi
21732 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21733 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21734
21735 # The cast to long int works around a bug in the HP C Compiler
21736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21737 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21738 # This bug is HP SR number 8606223364.
21739 { echo "$as_me:$LINENO: checking size of void *" >&5
21740 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21741 if test "${ac_cv_sizeof_void_p+set}" = set; then
21742 echo $ECHO_N "(cached) $ECHO_C" >&6
21743 else
21744 if test "$cross_compiling" = yes; then
21745 # Depending upon the size, compute the lo and hi bounds.
21746 cat >conftest.$ac_ext <<_ACEOF
21747 /* confdefs.h. */
21748 _ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef void * ac__type_sizeof_;
21754 int
21755 main ()
21756 {
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21758 test_array [0] = 0
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21781 ac_lo=0 ac_mid=0
21782 while :; do
21783 cat >conftest.$ac_ext <<_ACEOF
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 $ac_includes_default
21790 typedef void * ac__type_sizeof_;
21791 int
21792 main ()
21793 {
21794 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21795 test_array [0] = 0
21796
21797 ;
21798 return 0;
21799 }
21800 _ACEOF
21801 rm -f conftest.$ac_objext
21802 if { (ac_try="$ac_compile"
21803 case "(($ac_try" in
21804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21805 *) ac_try_echo=$ac_try;;
21806 esac
21807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21808 (eval "$ac_compile") 2>conftest.er1
21809 ac_status=$?
21810 grep -v '^ *+' conftest.er1 >conftest.err
21811 rm -f conftest.er1
21812 cat conftest.err >&5
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); } && {
21815 test -z "$ac_c_werror_flag" ||
21816 test ! -s conftest.err
21817 } && test -s conftest.$ac_objext; then
21818 ac_hi=$ac_mid; break
21819 else
21820 echo "$as_me: failed program was:" >&5
21821 sed 's/^/| /' conftest.$ac_ext >&5
21822
21823 ac_lo=`expr $ac_mid + 1`
21824 if test $ac_lo -le $ac_mid; then
21825 ac_lo= ac_hi=
21826 break
21827 fi
21828 ac_mid=`expr 2 '*' $ac_mid + 1`
21829 fi
21830
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 done
21833 else
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 cat >conftest.$ac_ext <<_ACEOF
21838 /* confdefs.h. */
21839 _ACEOF
21840 cat confdefs.h >>conftest.$ac_ext
21841 cat >>conftest.$ac_ext <<_ACEOF
21842 /* end confdefs.h. */
21843 $ac_includes_default
21844 typedef void * ac__type_sizeof_;
21845 int
21846 main ()
21847 {
21848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21849 test_array [0] = 0
21850
21851 ;
21852 return 0;
21853 }
21854 _ACEOF
21855 rm -f conftest.$ac_objext
21856 if { (ac_try="$ac_compile"
21857 case "(($ac_try" in
21858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21859 *) ac_try_echo=$ac_try;;
21860 esac
21861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21862 (eval "$ac_compile") 2>conftest.er1
21863 ac_status=$?
21864 grep -v '^ *+' conftest.er1 >conftest.err
21865 rm -f conftest.er1
21866 cat conftest.err >&5
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && {
21869 test -z "$ac_c_werror_flag" ||
21870 test ! -s conftest.err
21871 } && test -s conftest.$ac_objext; then
21872 ac_hi=-1 ac_mid=-1
21873 while :; do
21874 cat >conftest.$ac_ext <<_ACEOF
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 $ac_includes_default
21881 typedef void * ac__type_sizeof_;
21882 int
21883 main ()
21884 {
21885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21886 test_array [0] = 0
21887
21888 ;
21889 return 0;
21890 }
21891 _ACEOF
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21896 *) ac_try_echo=$ac_try;;
21897 esac
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21900 ac_status=$?
21901 grep -v '^ *+' conftest.er1 >conftest.err
21902 rm -f conftest.er1
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } && {
21906 test -z "$ac_c_werror_flag" ||
21907 test ! -s conftest.err
21908 } && test -s conftest.$ac_objext; then
21909 ac_lo=$ac_mid; break
21910 else
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21913
21914 ac_hi=`expr '(' $ac_mid ')' - 1`
21915 if test $ac_mid -le $ac_hi; then
21916 ac_lo= ac_hi=
21917 break
21918 fi
21919 ac_mid=`expr 2 '*' $ac_mid`
21920 fi
21921
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 done
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 ac_lo= ac_hi=
21929 fi
21930
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 fi
21933
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 # Binary search between lo and hi bounds.
21936 while test "x$ac_lo" != "x$ac_hi"; do
21937 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21938 cat >conftest.$ac_ext <<_ACEOF
21939 /* confdefs.h. */
21940 _ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944 $ac_includes_default
21945 typedef void * ac__type_sizeof_;
21946 int
21947 main ()
21948 {
21949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21950 test_array [0] = 0
21951
21952 ;
21953 return 0;
21954 }
21955 _ACEOF
21956 rm -f conftest.$ac_objext
21957 if { (ac_try="$ac_compile"
21958 case "(($ac_try" in
21959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21960 *) ac_try_echo=$ac_try;;
21961 esac
21962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21963 (eval "$ac_compile") 2>conftest.er1
21964 ac_status=$?
21965 grep -v '^ *+' conftest.er1 >conftest.err
21966 rm -f conftest.er1
21967 cat conftest.err >&5
21968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21969 (exit $ac_status); } && {
21970 test -z "$ac_c_werror_flag" ||
21971 test ! -s conftest.err
21972 } && test -s conftest.$ac_objext; then
21973 ac_hi=$ac_mid
21974 else
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 ac_lo=`expr '(' $ac_mid ')' + 1`
21979 fi
21980
21981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21982 done
21983 case $ac_lo in
21984 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21985 '') if test "$ac_cv_type_void_p" = yes; then
21986 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21987 See \`config.log' for more details." >&5
21988 echo "$as_me: error: cannot compute sizeof (void *)
21989 See \`config.log' for more details." >&2;}
21990 { (exit 77); exit 77; }; }
21991 else
21992 ac_cv_sizeof_void_p=0
21993 fi ;;
21994 esac
21995 else
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef void * ac__type_sizeof_;
22004 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22005 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22006 #include <stdio.h>
22007 #include <stdlib.h>
22008 int
22009 main ()
22010 {
22011
22012 FILE *f = fopen ("conftest.val", "w");
22013 if (! f)
22014 return 1;
22015 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22016 {
22017 long int i = longval ();
22018 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22019 return 1;
22020 fprintf (f, "%ld\n", i);
22021 }
22022 else
22023 {
22024 unsigned long int i = ulongval ();
22025 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22026 return 1;
22027 fprintf (f, "%lu\n", i);
22028 }
22029 return ferror (f) || fclose (f) != 0;
22030
22031 ;
22032 return 0;
22033 }
22034 _ACEOF
22035 rm -f conftest$ac_exeext
22036 if { (ac_try="$ac_link"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22040 esac
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_link") 2>&5
22043 ac_status=$?
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22046 { (case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22049 esac
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_try") 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; }; then
22055 ac_cv_sizeof_void_p=`cat conftest.val`
22056 else
22057 echo "$as_me: program exited with status $ac_status" >&5
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ( exit $ac_status )
22062 if test "$ac_cv_type_void_p" = yes; then
22063 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22064 See \`config.log' for more details." >&5
22065 echo "$as_me: error: cannot compute sizeof (void *)
22066 See \`config.log' for more details." >&2;}
22067 { (exit 77); exit 77; }; }
22068 else
22069 ac_cv_sizeof_void_p=0
22070 fi
22071 fi
22072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22073 fi
22074 rm -f conftest.val
22075 fi
22076 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22077 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22078
22079
22080
22081 cat >>confdefs.h <<_ACEOF
22082 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22083 _ACEOF
22084
22085
22086 { echo "$as_me:$LINENO: checking for int" >&5
22087 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22088 if test "${ac_cv_type_int+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 $ac_includes_default
22098 typedef int ac__type_new_;
22099 int
22100 main ()
22101 {
22102 if ((ac__type_new_ *) 0)
22103 return 0;
22104 if (sizeof (ac__type_new_))
22105 return 0;
22106 ;
22107 return 0;
22108 }
22109 _ACEOF
22110 rm -f conftest.$ac_objext
22111 if { (ac_try="$ac_compile"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22115 esac
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_compile") 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } && {
22124 test -z "$ac_c_werror_flag" ||
22125 test ! -s conftest.err
22126 } && test -s conftest.$ac_objext; then
22127 ac_cv_type_int=yes
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ac_cv_type_int=no
22133 fi
22134
22135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22136 fi
22137 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22138 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22139
22140 # The cast to long int works around a bug in the HP C Compiler
22141 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22142 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22143 # This bug is HP SR number 8606223364.
22144 { echo "$as_me:$LINENO: checking size of int" >&5
22145 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22146 if test "${ac_cv_sizeof_int+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 else
22149 if test "$cross_compiling" = yes; then
22150 # Depending upon the size, compute the lo and hi bounds.
22151 cat >conftest.$ac_ext <<_ACEOF
22152 /* confdefs.h. */
22153 _ACEOF
22154 cat confdefs.h >>conftest.$ac_ext
22155 cat >>conftest.$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157 $ac_includes_default
22158 typedef int ac__type_sizeof_;
22159 int
22160 main ()
22161 {
22162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22163 test_array [0] = 0
22164
22165 ;
22166 return 0;
22167 }
22168 _ACEOF
22169 rm -f conftest.$ac_objext
22170 if { (ac_try="$ac_compile"
22171 case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22174 esac
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_compile") 2>conftest.er1
22177 ac_status=$?
22178 grep -v '^ *+' conftest.er1 >conftest.err
22179 rm -f conftest.er1
22180 cat conftest.err >&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } && {
22183 test -z "$ac_c_werror_flag" ||
22184 test ! -s conftest.err
22185 } && test -s conftest.$ac_objext; then
22186 ac_lo=0 ac_mid=0
22187 while :; do
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef int ac__type_sizeof_;
22196 int
22197 main ()
22198 {
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22200 test_array [0] = 0
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22214 ac_status=$?
22215 grep -v '^ *+' conftest.er1 >conftest.err
22216 rm -f conftest.er1
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22223 ac_hi=$ac_mid; break
22224 else
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ac_lo=`expr $ac_mid + 1`
22229 if test $ac_lo -le $ac_mid; then
22230 ac_lo= ac_hi=
22231 break
22232 fi
22233 ac_mid=`expr 2 '*' $ac_mid + 1`
22234 fi
22235
22236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22237 done
22238 else
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 cat >conftest.$ac_ext <<_ACEOF
22243 /* confdefs.h. */
22244 _ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 $ac_includes_default
22249 typedef int ac__type_sizeof_;
22250 int
22251 main ()
22252 {
22253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22254 test_array [0] = 0
22255
22256 ;
22257 return 0;
22258 }
22259 _ACEOF
22260 rm -f conftest.$ac_objext
22261 if { (ac_try="$ac_compile"
22262 case "(($ac_try" in
22263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22264 *) ac_try_echo=$ac_try;;
22265 esac
22266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22267 (eval "$ac_compile") 2>conftest.er1
22268 ac_status=$?
22269 grep -v '^ *+' conftest.er1 >conftest.err
22270 rm -f conftest.er1
22271 cat conftest.err >&5
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); } && {
22274 test -z "$ac_c_werror_flag" ||
22275 test ! -s conftest.err
22276 } && test -s conftest.$ac_objext; then
22277 ac_hi=-1 ac_mid=-1
22278 while :; do
22279 cat >conftest.$ac_ext <<_ACEOF
22280 /* confdefs.h. */
22281 _ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285 $ac_includes_default
22286 typedef int ac__type_sizeof_;
22287 int
22288 main ()
22289 {
22290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22291 test_array [0] = 0
22292
22293 ;
22294 return 0;
22295 }
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22301 *) ac_try_echo=$ac_try;;
22302 esac
22303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22304 (eval "$ac_compile") 2>conftest.er1
22305 ac_status=$?
22306 grep -v '^ *+' conftest.er1 >conftest.err
22307 rm -f conftest.er1
22308 cat conftest.err >&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && {
22311 test -z "$ac_c_werror_flag" ||
22312 test ! -s conftest.err
22313 } && test -s conftest.$ac_objext; then
22314 ac_lo=$ac_mid; break
22315 else
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22318
22319 ac_hi=`expr '(' $ac_mid ')' - 1`
22320 if test $ac_mid -le $ac_hi; then
22321 ac_lo= ac_hi=
22322 break
22323 fi
22324 ac_mid=`expr 2 '*' $ac_mid`
22325 fi
22326
22327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22328 done
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22332
22333 ac_lo= ac_hi=
22334 fi
22335
22336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22337 fi
22338
22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 # Binary search between lo and hi bounds.
22341 while test "x$ac_lo" != "x$ac_hi"; do
22342 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22343 cat >conftest.$ac_ext <<_ACEOF
22344 /* confdefs.h. */
22345 _ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef int ac__type_sizeof_;
22351 int
22352 main ()
22353 {
22354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22355 test_array [0] = 0
22356
22357 ;
22358 return 0;
22359 }
22360 _ACEOF
22361 rm -f conftest.$ac_objext
22362 if { (ac_try="$ac_compile"
22363 case "(($ac_try" in
22364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22365 *) ac_try_echo=$ac_try;;
22366 esac
22367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22368 (eval "$ac_compile") 2>conftest.er1
22369 ac_status=$?
22370 grep -v '^ *+' conftest.er1 >conftest.err
22371 rm -f conftest.er1
22372 cat conftest.err >&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); } && {
22375 test -z "$ac_c_werror_flag" ||
22376 test ! -s conftest.err
22377 } && test -s conftest.$ac_objext; then
22378 ac_hi=$ac_mid
22379 else
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22382
22383 ac_lo=`expr '(' $ac_mid ')' + 1`
22384 fi
22385
22386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22387 done
22388 case $ac_lo in
22389 ?*) ac_cv_sizeof_int=$ac_lo;;
22390 '') if test "$ac_cv_type_int" = yes; then
22391 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22392 See \`config.log' for more details." >&5
22393 echo "$as_me: error: cannot compute sizeof (int)
22394 See \`config.log' for more details." >&2;}
22395 { (exit 77); exit 77; }; }
22396 else
22397 ac_cv_sizeof_int=0
22398 fi ;;
22399 esac
22400 else
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 $ac_includes_default
22408 typedef int ac__type_sizeof_;
22409 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22410 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22411 #include <stdio.h>
22412 #include <stdlib.h>
22413 int
22414 main ()
22415 {
22416
22417 FILE *f = fopen ("conftest.val", "w");
22418 if (! f)
22419 return 1;
22420 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22421 {
22422 long int i = longval ();
22423 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22424 return 1;
22425 fprintf (f, "%ld\n", i);
22426 }
22427 else
22428 {
22429 unsigned long int i = ulongval ();
22430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22431 return 1;
22432 fprintf (f, "%lu\n", i);
22433 }
22434 return ferror (f) || fclose (f) != 0;
22435
22436 ;
22437 return 0;
22438 }
22439 _ACEOF
22440 rm -f conftest$ac_exeext
22441 if { (ac_try="$ac_link"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_link") 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22451 { (case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22454 esac
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_try") 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); }; }; then
22460 ac_cv_sizeof_int=`cat conftest.val`
22461 else
22462 echo "$as_me: program exited with status $ac_status" >&5
22463 echo "$as_me: failed program was:" >&5
22464 sed 's/^/| /' conftest.$ac_ext >&5
22465
22466 ( exit $ac_status )
22467 if test "$ac_cv_type_int" = yes; then
22468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22469 See \`config.log' for more details." >&5
22470 echo "$as_me: error: cannot compute sizeof (int)
22471 See \`config.log' for more details." >&2;}
22472 { (exit 77); exit 77; }; }
22473 else
22474 ac_cv_sizeof_int=0
22475 fi
22476 fi
22477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22478 fi
22479 rm -f conftest.val
22480 fi
22481 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22482 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22483
22484
22485
22486 cat >>confdefs.h <<_ACEOF
22487 #define SIZEOF_INT $ac_cv_sizeof_int
22488 _ACEOF
22489
22490
22491 { echo "$as_me:$LINENO: checking for long" >&5
22492 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22493 if test "${ac_cv_type_long+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 else
22496 cat >conftest.$ac_ext <<_ACEOF
22497 /* confdefs.h. */
22498 _ACEOF
22499 cat confdefs.h >>conftest.$ac_ext
22500 cat >>conftest.$ac_ext <<_ACEOF
22501 /* end confdefs.h. */
22502 $ac_includes_default
22503 typedef long ac__type_new_;
22504 int
22505 main ()
22506 {
22507 if ((ac__type_new_ *) 0)
22508 return 0;
22509 if (sizeof (ac__type_new_))
22510 return 0;
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (ac_try="$ac_compile"
22517 case "(($ac_try" in
22518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22519 *) ac_try_echo=$ac_try;;
22520 esac
22521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22522 (eval "$ac_compile") 2>conftest.er1
22523 ac_status=$?
22524 grep -v '^ *+' conftest.er1 >conftest.err
22525 rm -f conftest.er1
22526 cat conftest.err >&5
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); } && {
22529 test -z "$ac_c_werror_flag" ||
22530 test ! -s conftest.err
22531 } && test -s conftest.$ac_objext; then
22532 ac_cv_type_long=yes
22533 else
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 ac_cv_type_long=no
22538 fi
22539
22540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22541 fi
22542 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22543 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22544
22545 # The cast to long int works around a bug in the HP C Compiler
22546 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22547 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22548 # This bug is HP SR number 8606223364.
22549 { echo "$as_me:$LINENO: checking size of long" >&5
22550 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22551 if test "${ac_cv_sizeof_long+set}" = set; then
22552 echo $ECHO_N "(cached) $ECHO_C" >&6
22553 else
22554 if test "$cross_compiling" = yes; then
22555 # Depending upon the size, compute the lo and hi bounds.
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h. */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22563 typedef long ac__type_sizeof_;
22564 int
22565 main ()
22566 {
22567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22568 test_array [0] = 0
22569
22570 ;
22571 return 0;
22572 }
22573 _ACEOF
22574 rm -f conftest.$ac_objext
22575 if { (ac_try="$ac_compile"
22576 case "(($ac_try" in
22577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22578 *) ac_try_echo=$ac_try;;
22579 esac
22580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22581 (eval "$ac_compile") 2>conftest.er1
22582 ac_status=$?
22583 grep -v '^ *+' conftest.er1 >conftest.err
22584 rm -f conftest.er1
22585 cat conftest.err >&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } && {
22588 test -z "$ac_c_werror_flag" ||
22589 test ! -s conftest.err
22590 } && test -s conftest.$ac_objext; then
22591 ac_lo=0 ac_mid=0
22592 while :; do
22593 cat >conftest.$ac_ext <<_ACEOF
22594 /* confdefs.h. */
22595 _ACEOF
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22599 $ac_includes_default
22600 typedef long ac__type_sizeof_;
22601 int
22602 main ()
22603 {
22604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22605 test_array [0] = 0
22606
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 ac_hi=$ac_mid; break
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_lo=`expr $ac_mid + 1`
22634 if test $ac_lo -le $ac_mid; then
22635 ac_lo= ac_hi=
22636 break
22637 fi
22638 ac_mid=`expr 2 '*' $ac_mid + 1`
22639 fi
22640
22641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22642 done
22643 else
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.$ac_ext >&5
22646
22647 cat >conftest.$ac_ext <<_ACEOF
22648 /* confdefs.h. */
22649 _ACEOF
22650 cat confdefs.h >>conftest.$ac_ext
22651 cat >>conftest.$ac_ext <<_ACEOF
22652 /* end confdefs.h. */
22653 $ac_includes_default
22654 typedef long ac__type_sizeof_;
22655 int
22656 main ()
22657 {
22658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22659 test_array [0] = 0
22660
22661 ;
22662 return 0;
22663 }
22664 _ACEOF
22665 rm -f conftest.$ac_objext
22666 if { (ac_try="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22670 esac
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22673 ac_status=$?
22674 grep -v '^ *+' conftest.er1 >conftest.err
22675 rm -f conftest.er1
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } && {
22679 test -z "$ac_c_werror_flag" ||
22680 test ! -s conftest.err
22681 } && test -s conftest.$ac_objext; then
22682 ac_hi=-1 ac_mid=-1
22683 while :; do
22684 cat >conftest.$ac_ext <<_ACEOF
22685 /* confdefs.h. */
22686 _ACEOF
22687 cat confdefs.h >>conftest.$ac_ext
22688 cat >>conftest.$ac_ext <<_ACEOF
22689 /* end confdefs.h. */
22690 $ac_includes_default
22691 typedef long ac__type_sizeof_;
22692 int
22693 main ()
22694 {
22695 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22696 test_array [0] = 0
22697
22698 ;
22699 return 0;
22700 }
22701 _ACEOF
22702 rm -f conftest.$ac_objext
22703 if { (ac_try="$ac_compile"
22704 case "(($ac_try" in
22705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22706 *) ac_try_echo=$ac_try;;
22707 esac
22708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22709 (eval "$ac_compile") 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } && {
22716 test -z "$ac_c_werror_flag" ||
22717 test ! -s conftest.err
22718 } && test -s conftest.$ac_objext; then
22719 ac_lo=$ac_mid; break
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 ac_hi=`expr '(' $ac_mid ')' - 1`
22725 if test $ac_mid -le $ac_hi; then
22726 ac_lo= ac_hi=
22727 break
22728 fi
22729 ac_mid=`expr 2 '*' $ac_mid`
22730 fi
22731
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 done
22734 else
22735 echo "$as_me: failed program was:" >&5
22736 sed 's/^/| /' conftest.$ac_ext >&5
22737
22738 ac_lo= ac_hi=
22739 fi
22740
22741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 fi
22743
22744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22745 # Binary search between lo and hi bounds.
22746 while test "x$ac_lo" != "x$ac_hi"; do
22747 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22748 cat >conftest.$ac_ext <<_ACEOF
22749 /* confdefs.h. */
22750 _ACEOF
22751 cat confdefs.h >>conftest.$ac_ext
22752 cat >>conftest.$ac_ext <<_ACEOF
22753 /* end confdefs.h. */
22754 $ac_includes_default
22755 typedef long ac__type_sizeof_;
22756 int
22757 main ()
22758 {
22759 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22760 test_array [0] = 0
22761
22762 ;
22763 return 0;
22764 }
22765 _ACEOF
22766 rm -f conftest.$ac_objext
22767 if { (ac_try="$ac_compile"
22768 case "(($ac_try" in
22769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22770 *) ac_try_echo=$ac_try;;
22771 esac
22772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22773 (eval "$ac_compile") 2>conftest.er1
22774 ac_status=$?
22775 grep -v '^ *+' conftest.er1 >conftest.err
22776 rm -f conftest.er1
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } && {
22780 test -z "$ac_c_werror_flag" ||
22781 test ! -s conftest.err
22782 } && test -s conftest.$ac_objext; then
22783 ac_hi=$ac_mid
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 ac_lo=`expr '(' $ac_mid ')' + 1`
22789 fi
22790
22791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22792 done
22793 case $ac_lo in
22794 ?*) ac_cv_sizeof_long=$ac_lo;;
22795 '') if test "$ac_cv_type_long" = yes; then
22796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22797 See \`config.log' for more details." >&5
22798 echo "$as_me: error: cannot compute sizeof (long)
22799 See \`config.log' for more details." >&2;}
22800 { (exit 77); exit 77; }; }
22801 else
22802 ac_cv_sizeof_long=0
22803 fi ;;
22804 esac
22805 else
22806 cat >conftest.$ac_ext <<_ACEOF
22807 /* confdefs.h. */
22808 _ACEOF
22809 cat confdefs.h >>conftest.$ac_ext
22810 cat >>conftest.$ac_ext <<_ACEOF
22811 /* end confdefs.h. */
22812 $ac_includes_default
22813 typedef long ac__type_sizeof_;
22814 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22815 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22816 #include <stdio.h>
22817 #include <stdlib.h>
22818 int
22819 main ()
22820 {
22821
22822 FILE *f = fopen ("conftest.val", "w");
22823 if (! f)
22824 return 1;
22825 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22826 {
22827 long int i = longval ();
22828 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22829 return 1;
22830 fprintf (f, "%ld\n", i);
22831 }
22832 else
22833 {
22834 unsigned long int i = ulongval ();
22835 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22836 return 1;
22837 fprintf (f, "%lu\n", i);
22838 }
22839 return ferror (f) || fclose (f) != 0;
22840
22841 ;
22842 return 0;
22843 }
22844 _ACEOF
22845 rm -f conftest$ac_exeext
22846 if { (ac_try="$ac_link"
22847 case "(($ac_try" in
22848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22849 *) ac_try_echo=$ac_try;;
22850 esac
22851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22852 (eval "$ac_link") 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22856 { (case "(($ac_try" in
22857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22858 *) ac_try_echo=$ac_try;;
22859 esac
22860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22861 (eval "$ac_try") 2>&5
22862 ac_status=$?
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; }; then
22865 ac_cv_sizeof_long=`cat conftest.val`
22866 else
22867 echo "$as_me: program exited with status $ac_status" >&5
22868 echo "$as_me: failed program was:" >&5
22869 sed 's/^/| /' conftest.$ac_ext >&5
22870
22871 ( exit $ac_status )
22872 if test "$ac_cv_type_long" = yes; then
22873 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22874 See \`config.log' for more details." >&5
22875 echo "$as_me: error: cannot compute sizeof (long)
22876 See \`config.log' for more details." >&2;}
22877 { (exit 77); exit 77; }; }
22878 else
22879 ac_cv_sizeof_long=0
22880 fi
22881 fi
22882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22883 fi
22884 rm -f conftest.val
22885 fi
22886 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22887 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22888
22889
22890
22891 cat >>confdefs.h <<_ACEOF
22892 #define SIZEOF_LONG $ac_cv_sizeof_long
22893 _ACEOF
22894
22895
22896 { echo "$as_me:$LINENO: checking for size_t" >&5
22897 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22898 if test "${ac_cv_type_size_t+set}" = set; then
22899 echo $ECHO_N "(cached) $ECHO_C" >&6
22900 else
22901 cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h. */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 $ac_includes_default
22908 typedef size_t ac__type_new_;
22909 int
22910 main ()
22911 {
22912 if ((ac__type_new_ *) 0)
22913 return 0;
22914 if (sizeof (ac__type_new_))
22915 return 0;
22916 ;
22917 return 0;
22918 }
22919 _ACEOF
22920 rm -f conftest.$ac_objext
22921 if { (ac_try="$ac_compile"
22922 case "(($ac_try" in
22923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22924 *) ac_try_echo=$ac_try;;
22925 esac
22926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22927 (eval "$ac_compile") 2>conftest.er1
22928 ac_status=$?
22929 grep -v '^ *+' conftest.er1 >conftest.err
22930 rm -f conftest.er1
22931 cat conftest.err >&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); } && {
22934 test -z "$ac_c_werror_flag" ||
22935 test ! -s conftest.err
22936 } && test -s conftest.$ac_objext; then
22937 ac_cv_type_size_t=yes
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ac_cv_type_size_t=no
22943 fi
22944
22945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22946 fi
22947 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22948 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22949
22950 # The cast to long int works around a bug in the HP C Compiler
22951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22953 # This bug is HP SR number 8606223364.
22954 { echo "$as_me:$LINENO: checking size of size_t" >&5
22955 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22956 if test "${ac_cv_sizeof_size_t+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 else
22959 if test "$cross_compiling" = yes; then
22960 # Depending upon the size, compute the lo and hi bounds.
22961 cat >conftest.$ac_ext <<_ACEOF
22962 /* confdefs.h. */
22963 _ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 $ac_includes_default
22968 typedef size_t ac__type_sizeof_;
22969 int
22970 main ()
22971 {
22972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22973 test_array [0] = 0
22974
22975 ;
22976 return 0;
22977 }
22978 _ACEOF
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22984 esac
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22987 ac_status=$?
22988 grep -v '^ *+' conftest.er1 >conftest.err
22989 rm -f conftest.er1
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_c_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22996 ac_lo=0 ac_mid=0
22997 while :; do
22998 cat >conftest.$ac_ext <<_ACEOF
22999 /* confdefs.h. */
23000 _ACEOF
23001 cat confdefs.h >>conftest.$ac_ext
23002 cat >>conftest.$ac_ext <<_ACEOF
23003 /* end confdefs.h. */
23004 $ac_includes_default
23005 typedef size_t ac__type_sizeof_;
23006 int
23007 main ()
23008 {
23009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23010 test_array [0] = 0
23011
23012 ;
23013 return 0;
23014 }
23015 _ACEOF
23016 rm -f conftest.$ac_objext
23017 if { (ac_try="$ac_compile"
23018 case "(($ac_try" in
23019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23020 *) ac_try_echo=$ac_try;;
23021 esac
23022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23023 (eval "$ac_compile") 2>conftest.er1
23024 ac_status=$?
23025 grep -v '^ *+' conftest.er1 >conftest.err
23026 rm -f conftest.er1
23027 cat conftest.err >&5
23028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23029 (exit $ac_status); } && {
23030 test -z "$ac_c_werror_flag" ||
23031 test ! -s conftest.err
23032 } && test -s conftest.$ac_objext; then
23033 ac_hi=$ac_mid; break
23034 else
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23037
23038 ac_lo=`expr $ac_mid + 1`
23039 if test $ac_lo -le $ac_mid; then
23040 ac_lo= ac_hi=
23041 break
23042 fi
23043 ac_mid=`expr 2 '*' $ac_mid + 1`
23044 fi
23045
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 done
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 typedef size_t ac__type_sizeof_;
23060 int
23061 main ()
23062 {
23063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23064 test_array [0] = 0
23065
23066 ;
23067 return 0;
23068 }
23069 _ACEOF
23070 rm -f conftest.$ac_objext
23071 if { (ac_try="$ac_compile"
23072 case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23075 esac
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_compile") 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } && {
23084 test -z "$ac_c_werror_flag" ||
23085 test ! -s conftest.err
23086 } && test -s conftest.$ac_objext; then
23087 ac_hi=-1 ac_mid=-1
23088 while :; do
23089 cat >conftest.$ac_ext <<_ACEOF
23090 /* confdefs.h. */
23091 _ACEOF
23092 cat confdefs.h >>conftest.$ac_ext
23093 cat >>conftest.$ac_ext <<_ACEOF
23094 /* end confdefs.h. */
23095 $ac_includes_default
23096 typedef size_t ac__type_sizeof_;
23097 int
23098 main ()
23099 {
23100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23101 test_array [0] = 0
23102
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23112 esac
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23115 ac_status=$?
23116 grep -v '^ *+' conftest.er1 >conftest.err
23117 rm -f conftest.er1
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124 ac_lo=$ac_mid; break
23125 else
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23128
23129 ac_hi=`expr '(' $ac_mid ')' - 1`
23130 if test $ac_mid -le $ac_hi; then
23131 ac_lo= ac_hi=
23132 break
23133 fi
23134 ac_mid=`expr 2 '*' $ac_mid`
23135 fi
23136
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23138 done
23139 else
23140 echo "$as_me: failed program was:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23142
23143 ac_lo= ac_hi=
23144 fi
23145
23146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23147 fi
23148
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 # Binary search between lo and hi bounds.
23151 while test "x$ac_lo" != "x$ac_hi"; do
23152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23153 cat >conftest.$ac_ext <<_ACEOF
23154 /* confdefs.h. */
23155 _ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23159 $ac_includes_default
23160 typedef size_t ac__type_sizeof_;
23161 int
23162 main ()
23163 {
23164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23165 test_array [0] = 0
23166
23167 ;
23168 return 0;
23169 }
23170 _ACEOF
23171 rm -f conftest.$ac_objext
23172 if { (ac_try="$ac_compile"
23173 case "(($ac_try" in
23174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23175 *) ac_try_echo=$ac_try;;
23176 esac
23177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23178 (eval "$ac_compile") 2>conftest.er1
23179 ac_status=$?
23180 grep -v '^ *+' conftest.er1 >conftest.err
23181 rm -f conftest.er1
23182 cat conftest.err >&5
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); } && {
23185 test -z "$ac_c_werror_flag" ||
23186 test ! -s conftest.err
23187 } && test -s conftest.$ac_objext; then
23188 ac_hi=$ac_mid
23189 else
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.$ac_ext >&5
23192
23193 ac_lo=`expr '(' $ac_mid ')' + 1`
23194 fi
23195
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 done
23198 case $ac_lo in
23199 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23200 '') if test "$ac_cv_type_size_t" = yes; then
23201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23202 See \`config.log' for more details." >&5
23203 echo "$as_me: error: cannot compute sizeof (size_t)
23204 See \`config.log' for more details." >&2;}
23205 { (exit 77); exit 77; }; }
23206 else
23207 ac_cv_sizeof_size_t=0
23208 fi ;;
23209 esac
23210 else
23211 cat >conftest.$ac_ext <<_ACEOF
23212 /* confdefs.h. */
23213 _ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 typedef size_t ac__type_sizeof_;
23219 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23220 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23221 #include <stdio.h>
23222 #include <stdlib.h>
23223 int
23224 main ()
23225 {
23226
23227 FILE *f = fopen ("conftest.val", "w");
23228 if (! f)
23229 return 1;
23230 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23231 {
23232 long int i = longval ();
23233 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23234 return 1;
23235 fprintf (f, "%ld\n", i);
23236 }
23237 else
23238 {
23239 unsigned long int i = ulongval ();
23240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23241 return 1;
23242 fprintf (f, "%lu\n", i);
23243 }
23244 return ferror (f) || fclose (f) != 0;
23245
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest$ac_exeext
23251 if { (ac_try="$ac_link"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_link") 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23261 { (case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23264 esac
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_try") 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_cv_sizeof_size_t=`cat conftest.val`
23271 else
23272 echo "$as_me: program exited with status $ac_status" >&5
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 ( exit $ac_status )
23277 if test "$ac_cv_type_size_t" = yes; then
23278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23279 See \`config.log' for more details." >&5
23280 echo "$as_me: error: cannot compute sizeof (size_t)
23281 See \`config.log' for more details." >&2;}
23282 { (exit 77); exit 77; }; }
23283 else
23284 ac_cv_sizeof_size_t=0
23285 fi
23286 fi
23287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23288 fi
23289 rm -f conftest.val
23290 fi
23291 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23292 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23293
23294
23295
23296 cat >>confdefs.h <<_ACEOF
23297 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23298 _ACEOF
23299
23300
23301
23302 case "${host}" in
23303 arm-*-linux* )
23304 { echo "$as_me:$LINENO: checking for long long" >&5
23305 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23306 if test "${ac_cv_type_long_long+set}" = set; then
23307 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 else
23309 cat >conftest.$ac_ext <<_ACEOF
23310 /* confdefs.h. */
23311 _ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315 $ac_includes_default
23316 typedef long long ac__type_new_;
23317 int
23318 main ()
23319 {
23320 if ((ac__type_new_ *) 0)
23321 return 0;
23322 if (sizeof (ac__type_new_))
23323 return 0;
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext
23329 if { (ac_try="$ac_compile"
23330 case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23333 esac
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_compile") 2>conftest.er1
23336 ac_status=$?
23337 grep -v '^ *+' conftest.er1 >conftest.err
23338 rm -f conftest.er1
23339 cat conftest.err >&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } && {
23342 test -z "$ac_c_werror_flag" ||
23343 test ! -s conftest.err
23344 } && test -s conftest.$ac_objext; then
23345 ac_cv_type_long_long=yes
23346 else
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23349
23350 ac_cv_type_long_long=no
23351 fi
23352
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 fi
23355 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23356 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23357
23358 # The cast to long int works around a bug in the HP C Compiler
23359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23361 # This bug is HP SR number 8606223364.
23362 { echo "$as_me:$LINENO: checking size of long long" >&5
23363 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23364 if test "${ac_cv_sizeof_long_long+set}" = set; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 else
23367 if test "$cross_compiling" = yes; then
23368 # Depending upon the size, compute the lo and hi bounds.
23369 cat >conftest.$ac_ext <<_ACEOF
23370 /* confdefs.h. */
23371 _ACEOF
23372 cat confdefs.h >>conftest.$ac_ext
23373 cat >>conftest.$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23375 $ac_includes_default
23376 typedef long long ac__type_sizeof_;
23377 int
23378 main ()
23379 {
23380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23381 test_array [0] = 0
23382
23383 ;
23384 return 0;
23385 }
23386 _ACEOF
23387 rm -f conftest.$ac_objext
23388 if { (ac_try="$ac_compile"
23389 case "(($ac_try" in
23390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23391 *) ac_try_echo=$ac_try;;
23392 esac
23393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23394 (eval "$ac_compile") 2>conftest.er1
23395 ac_status=$?
23396 grep -v '^ *+' conftest.er1 >conftest.err
23397 rm -f conftest.er1
23398 cat conftest.err >&5
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); } && {
23401 test -z "$ac_c_werror_flag" ||
23402 test ! -s conftest.err
23403 } && test -s conftest.$ac_objext; then
23404 ac_lo=0 ac_mid=0
23405 while :; do
23406 cat >conftest.$ac_ext <<_ACEOF
23407 /* confdefs.h. */
23408 _ACEOF
23409 cat confdefs.h >>conftest.$ac_ext
23410 cat >>conftest.$ac_ext <<_ACEOF
23411 /* end confdefs.h. */
23412 $ac_includes_default
23413 typedef long long ac__type_sizeof_;
23414 int
23415 main ()
23416 {
23417 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23418 test_array [0] = 0
23419
23420 ;
23421 return 0;
23422 }
23423 _ACEOF
23424 rm -f conftest.$ac_objext
23425 if { (ac_try="$ac_compile"
23426 case "(($ac_try" in
23427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23428 *) ac_try_echo=$ac_try;;
23429 esac
23430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23431 (eval "$ac_compile") 2>conftest.er1
23432 ac_status=$?
23433 grep -v '^ *+' conftest.er1 >conftest.err
23434 rm -f conftest.er1
23435 cat conftest.err >&5
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); } && {
23438 test -z "$ac_c_werror_flag" ||
23439 test ! -s conftest.err
23440 } && test -s conftest.$ac_objext; then
23441 ac_hi=$ac_mid; break
23442 else
23443 echo "$as_me: failed program was:" >&5
23444 sed 's/^/| /' conftest.$ac_ext >&5
23445
23446 ac_lo=`expr $ac_mid + 1`
23447 if test $ac_lo -le $ac_mid; then
23448 ac_lo= ac_hi=
23449 break
23450 fi
23451 ac_mid=`expr 2 '*' $ac_mid + 1`
23452 fi
23453
23454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23455 done
23456 else
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.$ac_ext >&5
23459
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 $ac_includes_default
23467 typedef long long ac__type_sizeof_;
23468 int
23469 main ()
23470 {
23471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23472 test_array [0] = 0
23473
23474 ;
23475 return 0;
23476 }
23477 _ACEOF
23478 rm -f conftest.$ac_objext
23479 if { (ac_try="$ac_compile"
23480 case "(($ac_try" in
23481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23482 *) ac_try_echo=$ac_try;;
23483 esac
23484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23485 (eval "$ac_compile") 2>conftest.er1
23486 ac_status=$?
23487 grep -v '^ *+' conftest.er1 >conftest.err
23488 rm -f conftest.er1
23489 cat conftest.err >&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && {
23492 test -z "$ac_c_werror_flag" ||
23493 test ! -s conftest.err
23494 } && test -s conftest.$ac_objext; then
23495 ac_hi=-1 ac_mid=-1
23496 while :; do
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 $ac_includes_default
23504 typedef long long ac__type_sizeof_;
23505 int
23506 main ()
23507 {
23508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23509 test_array [0] = 0
23510
23511 ;
23512 return 0;
23513 }
23514 _ACEOF
23515 rm -f conftest.$ac_objext
23516 if { (ac_try="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23520 esac
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23523 ac_status=$?
23524 grep -v '^ *+' conftest.er1 >conftest.err
23525 rm -f conftest.er1
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.$ac_objext; then
23532 ac_lo=$ac_mid; break
23533 else
23534 echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.$ac_ext >&5
23536
23537 ac_hi=`expr '(' $ac_mid ')' - 1`
23538 if test $ac_mid -le $ac_hi; then
23539 ac_lo= ac_hi=
23540 break
23541 fi
23542 ac_mid=`expr 2 '*' $ac_mid`
23543 fi
23544
23545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23546 done
23547 else
23548 echo "$as_me: failed program was:" >&5
23549 sed 's/^/| /' conftest.$ac_ext >&5
23550
23551 ac_lo= ac_hi=
23552 fi
23553
23554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23555 fi
23556
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558 # Binary search between lo and hi bounds.
23559 while test "x$ac_lo" != "x$ac_hi"; do
23560 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 long long ac__type_sizeof_;
23569 int
23570 main ()
23571 {
23572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23573 test_array [0] = 0
23574
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23587 ac_status=$?
23588 grep -v '^ *+' conftest.er1 >conftest.err
23589 rm -f conftest.er1
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_c_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23596 ac_hi=$ac_mid
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ac_lo=`expr '(' $ac_mid ')' + 1`
23602 fi
23603
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 done
23606 case $ac_lo in
23607 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23608 '') if test "$ac_cv_type_long_long" = yes; then
23609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23610 See \`config.log' for more details." >&5
23611 echo "$as_me: error: cannot compute sizeof (long long)
23612 See \`config.log' for more details." >&2;}
23613 { (exit 77); exit 77; }; }
23614 else
23615 ac_cv_sizeof_long_long=0
23616 fi ;;
23617 esac
23618 else
23619 cat >conftest.$ac_ext <<_ACEOF
23620 /* confdefs.h. */
23621 _ACEOF
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23625 $ac_includes_default
23626 typedef long long ac__type_sizeof_;
23627 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23628 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23629 #include <stdio.h>
23630 #include <stdlib.h>
23631 int
23632 main ()
23633 {
23634
23635 FILE *f = fopen ("conftest.val", "w");
23636 if (! f)
23637 return 1;
23638 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23639 {
23640 long int i = longval ();
23641 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23642 return 1;
23643 fprintf (f, "%ld\n", i);
23644 }
23645 else
23646 {
23647 unsigned long int i = ulongval ();
23648 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23649 return 1;
23650 fprintf (f, "%lu\n", i);
23651 }
23652 return ferror (f) || fclose (f) != 0;
23653
23654 ;
23655 return 0;
23656 }
23657 _ACEOF
23658 rm -f conftest$ac_exeext
23659 if { (ac_try="$ac_link"
23660 case "(($ac_try" in
23661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23662 *) ac_try_echo=$ac_try;;
23663 esac
23664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23665 (eval "$ac_link") 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23669 { (case "(($ac_try" in
23670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23671 *) ac_try_echo=$ac_try;;
23672 esac
23673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23674 (eval "$ac_try") 2>&5
23675 ac_status=$?
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); }; }; then
23678 ac_cv_sizeof_long_long=`cat conftest.val`
23679 else
23680 echo "$as_me: program exited with status $ac_status" >&5
23681 echo "$as_me: failed program was:" >&5
23682 sed 's/^/| /' conftest.$ac_ext >&5
23683
23684 ( exit $ac_status )
23685 if test "$ac_cv_type_long_long" = yes; then
23686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23687 See \`config.log' for more details." >&5
23688 echo "$as_me: error: cannot compute sizeof (long long)
23689 See \`config.log' for more details." >&2;}
23690 { (exit 77); exit 77; }; }
23691 else
23692 ac_cv_sizeof_long_long=0
23693 fi
23694 fi
23695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23696 fi
23697 rm -f conftest.val
23698 fi
23699 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23700 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23701
23702
23703
23704 cat >>confdefs.h <<_ACEOF
23705 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23706 _ACEOF
23707
23708
23709 ;;
23710 *-hp-hpux* )
23711 { echo "$as_me:$LINENO: checking for long long" >&5
23712 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23713 if test "${ac_cv_type_long_long+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23715 else
23716 cat >conftest.$ac_ext <<_ACEOF
23717 /* confdefs.h. */
23718 _ACEOF
23719 cat confdefs.h >>conftest.$ac_ext
23720 cat >>conftest.$ac_ext <<_ACEOF
23721 /* end confdefs.h. */
23722 $ac_includes_default
23723 typedef long long ac__type_new_;
23724 int
23725 main ()
23726 {
23727 if ((ac__type_new_ *) 0)
23728 return 0;
23729 if (sizeof (ac__type_new_))
23730 return 0;
23731 ;
23732 return 0;
23733 }
23734 _ACEOF
23735 rm -f conftest.$ac_objext
23736 if { (ac_try="$ac_compile"
23737 case "(($ac_try" in
23738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23739 *) ac_try_echo=$ac_try;;
23740 esac
23741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23742 (eval "$ac_compile") 2>conftest.er1
23743 ac_status=$?
23744 grep -v '^ *+' conftest.er1 >conftest.err
23745 rm -f conftest.er1
23746 cat conftest.err >&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); } && {
23749 test -z "$ac_c_werror_flag" ||
23750 test ! -s conftest.err
23751 } && test -s conftest.$ac_objext; then
23752 ac_cv_type_long_long=yes
23753 else
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23756
23757 ac_cv_type_long_long=no
23758 fi
23759
23760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23761 fi
23762 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23763 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23764
23765 # The cast to long int works around a bug in the HP C Compiler
23766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23768 # This bug is HP SR number 8606223364.
23769 { echo "$as_me:$LINENO: checking size of long long" >&5
23770 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23771 if test "${ac_cv_sizeof_long_long+set}" = set; then
23772 echo $ECHO_N "(cached) $ECHO_C" >&6
23773 else
23774 if test "$cross_compiling" = yes; then
23775 # Depending upon the size, compute the lo and hi bounds.
23776 cat >conftest.$ac_ext <<_ACEOF
23777 /* confdefs.h. */
23778 _ACEOF
23779 cat confdefs.h >>conftest.$ac_ext
23780 cat >>conftest.$ac_ext <<_ACEOF
23781 /* end confdefs.h. */
23782 $ac_includes_default
23783 typedef long long ac__type_sizeof_;
23784 int
23785 main ()
23786 {
23787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23788 test_array [0] = 0
23789
23790 ;
23791 return 0;
23792 }
23793 _ACEOF
23794 rm -f conftest.$ac_objext
23795 if { (ac_try="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23799 esac
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_c_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23811 ac_lo=0 ac_mid=0
23812 while :; do
23813 cat >conftest.$ac_ext <<_ACEOF
23814 /* confdefs.h. */
23815 _ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819 $ac_includes_default
23820 typedef long long ac__type_sizeof_;
23821 int
23822 main ()
23823 {
23824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23825 test_array [0] = 0
23826
23827 ;
23828 return 0;
23829 }
23830 _ACEOF
23831 rm -f conftest.$ac_objext
23832 if { (ac_try="$ac_compile"
23833 case "(($ac_try" in
23834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23835 *) ac_try_echo=$ac_try;;
23836 esac
23837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23838 (eval "$ac_compile") 2>conftest.er1
23839 ac_status=$?
23840 grep -v '^ *+' conftest.er1 >conftest.err
23841 rm -f conftest.er1
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } && {
23845 test -z "$ac_c_werror_flag" ||
23846 test ! -s conftest.err
23847 } && test -s conftest.$ac_objext; then
23848 ac_hi=$ac_mid; break
23849 else
23850 echo "$as_me: failed program was:" >&5
23851 sed 's/^/| /' conftest.$ac_ext >&5
23852
23853 ac_lo=`expr $ac_mid + 1`
23854 if test $ac_lo -le $ac_mid; then
23855 ac_lo= ac_hi=
23856 break
23857 fi
23858 ac_mid=`expr 2 '*' $ac_mid + 1`
23859 fi
23860
23861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23862 done
23863 else
23864 echo "$as_me: failed program was:" >&5
23865 sed 's/^/| /' conftest.$ac_ext >&5
23866
23867 cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h. */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 $ac_includes_default
23874 typedef long long ac__type_sizeof_;
23875 int
23876 main ()
23877 {
23878 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23879 test_array [0] = 0
23880
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 rm -f conftest.$ac_objext
23886 if { (ac_try="$ac_compile"
23887 case "(($ac_try" in
23888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889 *) ac_try_echo=$ac_try;;
23890 esac
23891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892 (eval "$ac_compile") 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } && {
23899 test -z "$ac_c_werror_flag" ||
23900 test ! -s conftest.err
23901 } && test -s conftest.$ac_objext; then
23902 ac_hi=-1 ac_mid=-1
23903 while :; do
23904 cat >conftest.$ac_ext <<_ACEOF
23905 /* confdefs.h. */
23906 _ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23910 $ac_includes_default
23911 typedef long long ac__type_sizeof_;
23912 int
23913 main ()
23914 {
23915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23916 test_array [0] = 0
23917
23918 ;
23919 return 0;
23920 }
23921 _ACEOF
23922 rm -f conftest.$ac_objext
23923 if { (ac_try="$ac_compile"
23924 case "(($ac_try" in
23925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23926 *) ac_try_echo=$ac_try;;
23927 esac
23928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23929 (eval "$ac_compile") 2>conftest.er1
23930 ac_status=$?
23931 grep -v '^ *+' conftest.er1 >conftest.err
23932 rm -f conftest.er1
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } && {
23936 test -z "$ac_c_werror_flag" ||
23937 test ! -s conftest.err
23938 } && test -s conftest.$ac_objext; then
23939 ac_lo=$ac_mid; break
23940 else
23941 echo "$as_me: failed program was:" >&5
23942 sed 's/^/| /' conftest.$ac_ext >&5
23943
23944 ac_hi=`expr '(' $ac_mid ')' - 1`
23945 if test $ac_mid -le $ac_hi; then
23946 ac_lo= ac_hi=
23947 break
23948 fi
23949 ac_mid=`expr 2 '*' $ac_mid`
23950 fi
23951
23952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23953 done
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23957
23958 ac_lo= ac_hi=
23959 fi
23960
23961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 fi
23963
23964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23965 # Binary search between lo and hi bounds.
23966 while test "x$ac_lo" != "x$ac_hi"; do
23967 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974 $ac_includes_default
23975 typedef long long ac__type_sizeof_;
23976 int
23977 main ()
23978 {
23979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23980 test_array [0] = 0
23981
23982 ;
23983 return 0;
23984 }
23985 _ACEOF
23986 rm -f conftest.$ac_objext
23987 if { (ac_try="$ac_compile"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23991 esac
23992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_compile") 2>conftest.er1
23994 ac_status=$?
23995 grep -v '^ *+' conftest.er1 >conftest.err
23996 rm -f conftest.er1
23997 cat conftest.err >&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } && {
24000 test -z "$ac_c_werror_flag" ||
24001 test ! -s conftest.err
24002 } && test -s conftest.$ac_objext; then
24003 ac_hi=$ac_mid
24004 else
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24007
24008 ac_lo=`expr '(' $ac_mid ')' + 1`
24009 fi
24010
24011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24012 done
24013 case $ac_lo in
24014 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24015 '') if test "$ac_cv_type_long_long" = yes; then
24016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24017 See \`config.log' for more details." >&5
24018 echo "$as_me: error: cannot compute sizeof (long long)
24019 See \`config.log' for more details." >&2;}
24020 { (exit 77); exit 77; }; }
24021 else
24022 ac_cv_sizeof_long_long=0
24023 fi ;;
24024 esac
24025 else
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 $ac_includes_default
24033 typedef long long ac__type_sizeof_;
24034 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24035 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24036 #include <stdio.h>
24037 #include <stdlib.h>
24038 int
24039 main ()
24040 {
24041
24042 FILE *f = fopen ("conftest.val", "w");
24043 if (! f)
24044 return 1;
24045 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24046 {
24047 long int i = longval ();
24048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24049 return 1;
24050 fprintf (f, "%ld\n", i);
24051 }
24052 else
24053 {
24054 unsigned long int i = ulongval ();
24055 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24056 return 1;
24057 fprintf (f, "%lu\n", i);
24058 }
24059 return ferror (f) || fclose (f) != 0;
24060
24061 ;
24062 return 0;
24063 }
24064 _ACEOF
24065 rm -f conftest$ac_exeext
24066 if { (ac_try="$ac_link"
24067 case "(($ac_try" in
24068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24069 *) ac_try_echo=$ac_try;;
24070 esac
24071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24072 (eval "$ac_link") 2>&5
24073 ac_status=$?
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24076 { (case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24079 esac
24080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_try") 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; }; then
24085 ac_cv_sizeof_long_long=`cat conftest.val`
24086 else
24087 echo "$as_me: program exited with status $ac_status" >&5
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.$ac_ext >&5
24090
24091 ( exit $ac_status )
24092 if test "$ac_cv_type_long_long" = yes; then
24093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24094 See \`config.log' for more details." >&5
24095 echo "$as_me: error: cannot compute sizeof (long long)
24096 See \`config.log' for more details." >&2;}
24097 { (exit 77); exit 77; }; }
24098 else
24099 ac_cv_sizeof_long_long=0
24100 fi
24101 fi
24102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24103 fi
24104 rm -f conftest.val
24105 fi
24106 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24107 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24108
24109
24110
24111 cat >>confdefs.h <<_ACEOF
24112 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24113 _ACEOF
24114
24115
24116 if test "$ac_cv_sizeof_long_long" != "0"; then
24117 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24118 fi
24119 ;;
24120 * )
24121 { echo "$as_me:$LINENO: checking for long long" >&5
24122 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24123 if test "${ac_cv_type_long_long+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
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_new_;
24134 int
24135 main ()
24136 {
24137 if ((ac__type_new_ *) 0)
24138 return 0;
24139 if (sizeof (ac__type_new_))
24140 return 0;
24141 ;
24142 return 0;
24143 }
24144 _ACEOF
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24150 esac
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24153 ac_status=$?
24154 grep -v '^ *+' conftest.er1 >conftest.err
24155 rm -f conftest.er1
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_c_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24162 ac_cv_type_long_long=yes
24163 else
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24166
24167 ac_cv_type_long_long=no
24168 fi
24169
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24171 fi
24172 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24173 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24174
24175 # The cast to long int works around a bug in the HP C Compiler
24176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24178 # This bug is HP SR number 8606223364.
24179 { echo "$as_me:$LINENO: checking size of long long" >&5
24180 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24181 if test "${ac_cv_sizeof_long_long+set}" = set; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24183 else
24184 if test "$cross_compiling" = yes; then
24185 # Depending upon the size, compute the lo and hi bounds.
24186 cat >conftest.$ac_ext <<_ACEOF
24187 /* confdefs.h. */
24188 _ACEOF
24189 cat confdefs.h >>conftest.$ac_ext
24190 cat >>conftest.$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192 $ac_includes_default
24193 typedef long long ac__type_sizeof_;
24194 int
24195 main ()
24196 {
24197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24198 test_array [0] = 0
24199
24200 ;
24201 return 0;
24202 }
24203 _ACEOF
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24209 esac
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24212 ac_status=$?
24213 grep -v '^ *+' conftest.er1 >conftest.err
24214 rm -f conftest.er1
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_c_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24221 ac_lo=0 ac_mid=0
24222 while :; do
24223 cat >conftest.$ac_ext <<_ACEOF
24224 /* confdefs.h. */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 $ac_includes_default
24230 typedef long long ac__type_sizeof_;
24231 int
24232 main ()
24233 {
24234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24235 test_array [0] = 0
24236
24237 ;
24238 return 0;
24239 }
24240 _ACEOF
24241 rm -f conftest.$ac_objext
24242 if { (ac_try="$ac_compile"
24243 case "(($ac_try" in
24244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24245 *) ac_try_echo=$ac_try;;
24246 esac
24247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24248 (eval "$ac_compile") 2>conftest.er1
24249 ac_status=$?
24250 grep -v '^ *+' conftest.er1 >conftest.err
24251 rm -f conftest.er1
24252 cat conftest.err >&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } && {
24255 test -z "$ac_c_werror_flag" ||
24256 test ! -s conftest.err
24257 } && test -s conftest.$ac_objext; then
24258 ac_hi=$ac_mid; break
24259 else
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24262
24263 ac_lo=`expr $ac_mid + 1`
24264 if test $ac_lo -le $ac_mid; then
24265 ac_lo= ac_hi=
24266 break
24267 fi
24268 ac_mid=`expr 2 '*' $ac_mid + 1`
24269 fi
24270
24271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272 done
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24276
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 $ac_includes_default
24284 typedef long long ac__type_sizeof_;
24285 int
24286 main ()
24287 {
24288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24289 test_array [0] = 0
24290
24291 ;
24292 return 0;
24293 }
24294 _ACEOF
24295 rm -f conftest.$ac_objext
24296 if { (ac_try="$ac_compile"
24297 case "(($ac_try" in
24298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24299 *) ac_try_echo=$ac_try;;
24300 esac
24301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24302 (eval "$ac_compile") 2>conftest.er1
24303 ac_status=$?
24304 grep -v '^ *+' conftest.er1 >conftest.err
24305 rm -f conftest.er1
24306 cat conftest.err >&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); } && {
24309 test -z "$ac_c_werror_flag" ||
24310 test ! -s conftest.err
24311 } && test -s conftest.$ac_objext; then
24312 ac_hi=-1 ac_mid=-1
24313 while :; do
24314 cat >conftest.$ac_ext <<_ACEOF
24315 /* confdefs.h. */
24316 _ACEOF
24317 cat confdefs.h >>conftest.$ac_ext
24318 cat >>conftest.$ac_ext <<_ACEOF
24319 /* end confdefs.h. */
24320 $ac_includes_default
24321 typedef long long ac__type_sizeof_;
24322 int
24323 main ()
24324 {
24325 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24326 test_array [0] = 0
24327
24328 ;
24329 return 0;
24330 }
24331 _ACEOF
24332 rm -f conftest.$ac_objext
24333 if { (ac_try="$ac_compile"
24334 case "(($ac_try" in
24335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24336 *) ac_try_echo=$ac_try;;
24337 esac
24338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24339 (eval "$ac_compile") 2>conftest.er1
24340 ac_status=$?
24341 grep -v '^ *+' conftest.er1 >conftest.err
24342 rm -f conftest.er1
24343 cat conftest.err >&5
24344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24345 (exit $ac_status); } && {
24346 test -z "$ac_c_werror_flag" ||
24347 test ! -s conftest.err
24348 } && test -s conftest.$ac_objext; then
24349 ac_lo=$ac_mid; break
24350 else
24351 echo "$as_me: failed program was:" >&5
24352 sed 's/^/| /' conftest.$ac_ext >&5
24353
24354 ac_hi=`expr '(' $ac_mid ')' - 1`
24355 if test $ac_mid -le $ac_hi; then
24356 ac_lo= ac_hi=
24357 break
24358 fi
24359 ac_mid=`expr 2 '*' $ac_mid`
24360 fi
24361
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363 done
24364 else
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.$ac_ext >&5
24367
24368 ac_lo= ac_hi=
24369 fi
24370
24371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24372 fi
24373
24374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24375 # Binary search between lo and hi bounds.
24376 while test "x$ac_lo" != "x$ac_hi"; do
24377 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24378 cat >conftest.$ac_ext <<_ACEOF
24379 /* confdefs.h. */
24380 _ACEOF
24381 cat confdefs.h >>conftest.$ac_ext
24382 cat >>conftest.$ac_ext <<_ACEOF
24383 /* end confdefs.h. */
24384 $ac_includes_default
24385 typedef long long ac__type_sizeof_;
24386 int
24387 main ()
24388 {
24389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24390 test_array [0] = 0
24391
24392 ;
24393 return 0;
24394 }
24395 _ACEOF
24396 rm -f conftest.$ac_objext
24397 if { (ac_try="$ac_compile"
24398 case "(($ac_try" in
24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24401 esac
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_compile") 2>conftest.er1
24404 ac_status=$?
24405 grep -v '^ *+' conftest.er1 >conftest.err
24406 rm -f conftest.er1
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_c_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest.$ac_objext; then
24413 ac_hi=$ac_mid
24414 else
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.$ac_ext >&5
24417
24418 ac_lo=`expr '(' $ac_mid ')' + 1`
24419 fi
24420
24421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24422 done
24423 case $ac_lo in
24424 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24425 '') if test "$ac_cv_type_long_long" = yes; then
24426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24427 See \`config.log' for more details." >&5
24428 echo "$as_me: error: cannot compute sizeof (long long)
24429 See \`config.log' for more details." >&2;}
24430 { (exit 77); exit 77; }; }
24431 else
24432 ac_cv_sizeof_long_long=0
24433 fi ;;
24434 esac
24435 else
24436 cat >conftest.$ac_ext <<_ACEOF
24437 /* confdefs.h. */
24438 _ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442 $ac_includes_default
24443 typedef long long ac__type_sizeof_;
24444 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24445 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24446 #include <stdio.h>
24447 #include <stdlib.h>
24448 int
24449 main ()
24450 {
24451
24452 FILE *f = fopen ("conftest.val", "w");
24453 if (! f)
24454 return 1;
24455 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24456 {
24457 long int i = longval ();
24458 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24459 return 1;
24460 fprintf (f, "%ld\n", i);
24461 }
24462 else
24463 {
24464 unsigned long int i = ulongval ();
24465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24466 return 1;
24467 fprintf (f, "%lu\n", i);
24468 }
24469 return ferror (f) || fclose (f) != 0;
24470
24471 ;
24472 return 0;
24473 }
24474 _ACEOF
24475 rm -f conftest$ac_exeext
24476 if { (ac_try="$ac_link"
24477 case "(($ac_try" in
24478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24479 *) ac_try_echo=$ac_try;;
24480 esac
24481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24482 (eval "$ac_link") 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24486 { (case "(($ac_try" in
24487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24488 *) ac_try_echo=$ac_try;;
24489 esac
24490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24491 (eval "$ac_try") 2>&5
24492 ac_status=$?
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; }; then
24495 ac_cv_sizeof_long_long=`cat conftest.val`
24496 else
24497 echo "$as_me: program exited with status $ac_status" >&5
24498 echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.$ac_ext >&5
24500
24501 ( exit $ac_status )
24502 if test "$ac_cv_type_long_long" = yes; then
24503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24504 See \`config.log' for more details." >&5
24505 echo "$as_me: error: cannot compute sizeof (long long)
24506 See \`config.log' for more details." >&2;}
24507 { (exit 77); exit 77; }; }
24508 else
24509 ac_cv_sizeof_long_long=0
24510 fi
24511 fi
24512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24513 fi
24514 rm -f conftest.val
24515 fi
24516 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24517 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24518
24519
24520
24521 cat >>confdefs.h <<_ACEOF
24522 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24523 _ACEOF
24524
24525
24526 esac
24527
24528 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24529 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24530 if test "${ac_cv_type_wchar_t+set}" = set; then
24531 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 else
24533 cat >conftest.$ac_ext <<_ACEOF
24534 /* confdefs.h. */
24535 _ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539
24540 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24541 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24542 # error "fake wchar_t"
24543 #endif
24544 #ifdef HAVE_WCHAR_H
24545 # ifdef __CYGWIN__
24546 # include <stddef.h>
24547 # endif
24548 # include <wchar.h>
24549 #endif
24550 #ifdef HAVE_STDLIB_H
24551 # include <stdlib.h>
24552 #endif
24553 #include <stdio.h>
24554
24555
24556
24557 typedef wchar_t ac__type_new_;
24558 int
24559 main ()
24560 {
24561 if ((ac__type_new_ *) 0)
24562 return 0;
24563 if (sizeof (ac__type_new_))
24564 return 0;
24565 ;
24566 return 0;
24567 }
24568 _ACEOF
24569 rm -f conftest.$ac_objext
24570 if { (ac_try="$ac_compile"
24571 case "(($ac_try" in
24572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24573 *) ac_try_echo=$ac_try;;
24574 esac
24575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24576 (eval "$ac_compile") 2>conftest.er1
24577 ac_status=$?
24578 grep -v '^ *+' conftest.er1 >conftest.err
24579 rm -f conftest.er1
24580 cat conftest.err >&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } && {
24583 test -z "$ac_c_werror_flag" ||
24584 test ! -s conftest.err
24585 } && test -s conftest.$ac_objext; then
24586 ac_cv_type_wchar_t=yes
24587 else
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24590
24591 ac_cv_type_wchar_t=no
24592 fi
24593
24594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595 fi
24596 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24597 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24598
24599 # The cast to long int works around a bug in the HP C Compiler
24600 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24601 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24602 # This bug is HP SR number 8606223364.
24603 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24604 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24605 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24607 else
24608 if test "$cross_compiling" = yes; then
24609 # Depending upon the size, compute the lo and hi bounds.
24610 cat >conftest.$ac_ext <<_ACEOF
24611 /* confdefs.h. */
24612 _ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24616
24617 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24618 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24619 # error "fake wchar_t"
24620 #endif
24621 #ifdef HAVE_WCHAR_H
24622 # ifdef __CYGWIN__
24623 # include <stddef.h>
24624 # endif
24625 # include <wchar.h>
24626 #endif
24627 #ifdef HAVE_STDLIB_H
24628 # include <stdlib.h>
24629 #endif
24630 #include <stdio.h>
24631
24632
24633
24634 typedef wchar_t 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_lo=0 ac_mid=0
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
24671 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24672 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24673 # error "fake wchar_t"
24674 #endif
24675 #ifdef HAVE_WCHAR_H
24676 # ifdef __CYGWIN__
24677 # include <stddef.h>
24678 # endif
24679 # include <wchar.h>
24680 #endif
24681 #ifdef HAVE_STDLIB_H
24682 # include <stdlib.h>
24683 #endif
24684 #include <stdio.h>
24685
24686
24687
24688 typedef wchar_t ac__type_sizeof_;
24689 int
24690 main ()
24691 {
24692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24693 test_array [0] = 0
24694
24695 ;
24696 return 0;
24697 }
24698 _ACEOF
24699 rm -f conftest.$ac_objext
24700 if { (ac_try="$ac_compile"
24701 case "(($ac_try" in
24702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24703 *) ac_try_echo=$ac_try;;
24704 esac
24705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24706 (eval "$ac_compile") 2>conftest.er1
24707 ac_status=$?
24708 grep -v '^ *+' conftest.er1 >conftest.err
24709 rm -f conftest.er1
24710 cat conftest.err >&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } && {
24713 test -z "$ac_c_werror_flag" ||
24714 test ! -s conftest.err
24715 } && test -s conftest.$ac_objext; then
24716 ac_hi=$ac_mid; break
24717 else
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.$ac_ext >&5
24720
24721 ac_lo=`expr $ac_mid + 1`
24722 if test $ac_lo -le $ac_mid; then
24723 ac_lo= ac_hi=
24724 break
24725 fi
24726 ac_mid=`expr 2 '*' $ac_mid + 1`
24727 fi
24728
24729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24730 done
24731 else
24732 echo "$as_me: failed program was:" >&5
24733 sed 's/^/| /' conftest.$ac_ext >&5
24734
24735 cat >conftest.$ac_ext <<_ACEOF
24736 /* confdefs.h. */
24737 _ACEOF
24738 cat confdefs.h >>conftest.$ac_ext
24739 cat >>conftest.$ac_ext <<_ACEOF
24740 /* end confdefs.h. */
24741
24742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24744 # error "fake wchar_t"
24745 #endif
24746 #ifdef HAVE_WCHAR_H
24747 # ifdef __CYGWIN__
24748 # include <stddef.h>
24749 # endif
24750 # include <wchar.h>
24751 #endif
24752 #ifdef HAVE_STDLIB_H
24753 # include <stdlib.h>
24754 #endif
24755 #include <stdio.h>
24756
24757
24758
24759 typedef wchar_t ac__type_sizeof_;
24760 int
24761 main ()
24762 {
24763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24764 test_array [0] = 0
24765
24766 ;
24767 return 0;
24768 }
24769 _ACEOF
24770 rm -f conftest.$ac_objext
24771 if { (ac_try="$ac_compile"
24772 case "(($ac_try" in
24773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24774 *) ac_try_echo=$ac_try;;
24775 esac
24776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24777 (eval "$ac_compile") 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } && {
24784 test -z "$ac_c_werror_flag" ||
24785 test ! -s conftest.err
24786 } && test -s conftest.$ac_objext; then
24787 ac_hi=-1 ac_mid=-1
24788 while :; do
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h. */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795
24796 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24797 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24798 # error "fake wchar_t"
24799 #endif
24800 #ifdef HAVE_WCHAR_H
24801 # ifdef __CYGWIN__
24802 # include <stddef.h>
24803 # endif
24804 # include <wchar.h>
24805 #endif
24806 #ifdef HAVE_STDLIB_H
24807 # include <stdlib.h>
24808 #endif
24809 #include <stdio.h>
24810
24811
24812
24813 typedef wchar_t ac__type_sizeof_;
24814 int
24815 main ()
24816 {
24817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24818 test_array [0] = 0
24819
24820 ;
24821 return 0;
24822 }
24823 _ACEOF
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828 *) ac_try_echo=$ac_try;;
24829 esac
24830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24832 ac_status=$?
24833 grep -v '^ *+' conftest.er1 >conftest.err
24834 rm -f conftest.er1
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_c_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.$ac_objext; then
24841 ac_lo=$ac_mid; break
24842 else
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24845
24846 ac_hi=`expr '(' $ac_mid ')' - 1`
24847 if test $ac_mid -le $ac_hi; then
24848 ac_lo= ac_hi=
24849 break
24850 fi
24851 ac_mid=`expr 2 '*' $ac_mid`
24852 fi
24853
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 done
24856 else
24857 echo "$as_me: failed program was:" >&5
24858 sed 's/^/| /' conftest.$ac_ext >&5
24859
24860 ac_lo= ac_hi=
24861 fi
24862
24863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24864 fi
24865
24866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24867 # Binary search between lo and hi bounds.
24868 while test "x$ac_lo" != "x$ac_hi"; do
24869 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24870 cat >conftest.$ac_ext <<_ACEOF
24871 /* confdefs.h. */
24872 _ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24876
24877 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24878 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24879 # error "fake wchar_t"
24880 #endif
24881 #ifdef HAVE_WCHAR_H
24882 # ifdef __CYGWIN__
24883 # include <stddef.h>
24884 # endif
24885 # include <wchar.h>
24886 #endif
24887 #ifdef HAVE_STDLIB_H
24888 # include <stdlib.h>
24889 #endif
24890 #include <stdio.h>
24891
24892
24893
24894 typedef wchar_t ac__type_sizeof_;
24895 int
24896 main ()
24897 {
24898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24899 test_array [0] = 0
24900
24901 ;
24902 return 0;
24903 }
24904 _ACEOF
24905 rm -f conftest.$ac_objext
24906 if { (ac_try="$ac_compile"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_compile") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_c_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24922 ac_hi=$ac_mid
24923 else
24924 echo "$as_me: failed program was:" >&5
24925 sed 's/^/| /' conftest.$ac_ext >&5
24926
24927 ac_lo=`expr '(' $ac_mid ')' + 1`
24928 fi
24929
24930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931 done
24932 case $ac_lo in
24933 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24934 '') if test "$ac_cv_type_wchar_t" = yes; then
24935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24936 See \`config.log' for more details." >&5
24937 echo "$as_me: error: cannot compute sizeof (wchar_t)
24938 See \`config.log' for more details." >&2;}
24939 { (exit 77); exit 77; }; }
24940 else
24941 ac_cv_sizeof_wchar_t=0
24942 fi ;;
24943 esac
24944 else
24945 cat >conftest.$ac_ext <<_ACEOF
24946 /* confdefs.h. */
24947 _ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24951
24952 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24954 # error "fake wchar_t"
24955 #endif
24956 #ifdef HAVE_WCHAR_H
24957 # ifdef __CYGWIN__
24958 # include <stddef.h>
24959 # endif
24960 # include <wchar.h>
24961 #endif
24962 #ifdef HAVE_STDLIB_H
24963 # include <stdlib.h>
24964 #endif
24965 #include <stdio.h>
24966
24967
24968
24969 typedef wchar_t ac__type_sizeof_;
24970 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24971 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24972 #include <stdio.h>
24973 #include <stdlib.h>
24974 int
24975 main ()
24976 {
24977
24978 FILE *f = fopen ("conftest.val", "w");
24979 if (! f)
24980 return 1;
24981 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24982 {
24983 long int i = longval ();
24984 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24985 return 1;
24986 fprintf (f, "%ld\n", i);
24987 }
24988 else
24989 {
24990 unsigned long int i = ulongval ();
24991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24992 return 1;
24993 fprintf (f, "%lu\n", i);
24994 }
24995 return ferror (f) || fclose (f) != 0;
24996
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest$ac_exeext
25002 if { (ac_try="$ac_link"
25003 case "(($ac_try" in
25004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25005 *) ac_try_echo=$ac_try;;
25006 esac
25007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25008 (eval "$ac_link") 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25012 { (case "(($ac_try" in
25013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25014 *) ac_try_echo=$ac_try;;
25015 esac
25016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25017 (eval "$ac_try") 2>&5
25018 ac_status=$?
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; }; then
25021 ac_cv_sizeof_wchar_t=`cat conftest.val`
25022 else
25023 echo "$as_me: program exited with status $ac_status" >&5
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25026
25027 ( exit $ac_status )
25028 if test "$ac_cv_type_wchar_t" = yes; then
25029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25030 See \`config.log' for more details." >&5
25031 echo "$as_me: error: cannot compute sizeof (wchar_t)
25032 See \`config.log' for more details." >&2;}
25033 { (exit 77); exit 77; }; }
25034 else
25035 ac_cv_sizeof_wchar_t=0
25036 fi
25037 fi
25038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25039 fi
25040 rm -f conftest.val
25041 fi
25042 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25043 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25044
25045
25046
25047 cat >>confdefs.h <<_ACEOF
25048 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25049 _ACEOF
25050
25051
25052 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25053 wxUSE_WCHAR_T=yes
25054 else
25055 wxUSE_WCHAR_T=no
25056 fi
25057
25058 { echo "$as_me:$LINENO: checking for va_copy" >&5
25059 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25060 if test "${wx_cv_func_va_copy+set}" = set; then
25061 echo $ECHO_N "(cached) $ECHO_C" >&6
25062 else
25063
25064 ac_ext=cpp
25065 ac_cpp='$CXXCPP $CPPFLAGS'
25066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25069
25070 cat >conftest.$ac_ext <<_ACEOF
25071
25072 #include <stdarg.h>
25073 void foo(char *f, ...)
25074 {
25075 va_list ap1, ap2;
25076 va_start(ap1, f);
25077 va_copy(ap2, ap1);
25078 va_end(ap2);
25079 va_end(ap1);
25080 }
25081 int main()
25082 {
25083 foo("hi", 17);
25084 return 0;
25085 }
25086 _ACEOF
25087 rm -f conftest.$ac_objext conftest$ac_exeext
25088 if { (ac_try="$ac_link"
25089 case "(($ac_try" in
25090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25092 esac
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_link") 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_cxx_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest$ac_exeext &&
25104 $as_test_x conftest$ac_exeext; then
25105 wx_cv_func_va_copy=yes
25106 else
25107 echo "$as_me: failed program was:" >&5
25108 sed 's/^/| /' conftest.$ac_ext >&5
25109
25110 wx_cv_func_va_copy=no
25111
25112 fi
25113
25114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25115 conftest$ac_exeext conftest.$ac_ext
25116 ac_ext=c
25117 ac_cpp='$CPP $CPPFLAGS'
25118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25121
25122
25123
25124 fi
25125 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25126 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25127
25128 if test $wx_cv_func_va_copy = "yes"; then
25129 cat >>confdefs.h <<\_ACEOF
25130 #define HAVE_VA_COPY 1
25131 _ACEOF
25132
25133 else
25134 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25135 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25136 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 else
25139
25140 if test "$cross_compiling" = yes; then
25141 wx_cv_type_va_list_lvalue=yes
25142
25143 else
25144 cat >conftest.$ac_ext <<_ACEOF
25145
25146 #include <stdarg.h>
25147 int foo(char *f, ...)
25148 {
25149 va_list ap1, ap2;
25150 va_start(ap1, f);
25151 ap2 = ap1;
25152 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25153 return 1;
25154 va_end(ap2);
25155 va_end(ap1);
25156 return 0;
25157 }
25158 int main()
25159 {
25160 return foo("hi", 17);
25161 }
25162 _ACEOF
25163 rm -f conftest$ac_exeext
25164 if { (ac_try="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25168 esac
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>&5
25171 ac_status=$?
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25174 { (case "(($ac_try" in
25175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25176 *) ac_try_echo=$ac_try;;
25177 esac
25178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25179 (eval "$ac_try") 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 wx_cv_type_va_list_lvalue=yes
25184 else
25185 echo "$as_me: program exited with status $ac_status" >&5
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189 ( exit $ac_status )
25190 wx_cv_type_va_list_lvalue=no
25191 fi
25192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25193 fi
25194
25195
25196
25197
25198 fi
25199 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25200 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25201
25202 if test $wx_cv_type_va_list_lvalue != "yes"; then
25203 cat >>confdefs.h <<\_ACEOF
25204 #define VA_LIST_IS_ARRAY 1
25205 _ACEOF
25206
25207 fi
25208 fi
25209
25210 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25211
25212 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25213 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25214 if test "${wx_cv_have_variadic_macros+set}" = set; then
25215 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 else
25217
25218 ac_ext=cpp
25219 ac_cpp='$CXXCPP $CPPFLAGS'
25220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230
25231 #include <stdio.h>
25232 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25233
25234 int
25235 main ()
25236 {
25237
25238 test("%s %d %p", "test", 1, 0);
25239
25240
25241 ;
25242 return 0;
25243 }
25244 _ACEOF
25245 rm -f conftest.$ac_objext
25246 if { (ac_try="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25250 esac
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25253 ac_status=$?
25254 grep -v '^ *+' conftest.er1 >conftest.err
25255 rm -f conftest.er1
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_have_variadic_macros=yes
25263 else
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25266
25267 wx_cv_have_variadic_macros=no
25268
25269 fi
25270
25271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25272 ac_ext=c
25273 ac_cpp='$CPP $CPPFLAGS'
25274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25277
25278
25279
25280 fi
25281 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25282 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25283
25284 if test $wx_cv_have_variadic_macros = "yes"; then
25285 cat >>confdefs.h <<\_ACEOF
25286 #define HAVE_VARIADIC_MACROS 1
25287 _ACEOF
25288
25289 fi
25290
25291 fi
25292 # Check whether --enable-largefile was given.
25293 if test "${enable_largefile+set}" = set; then
25294 enableval=$enable_largefile;
25295 fi
25296
25297 if test "$enable_largefile" != no; then
25298 wx_largefile=no
25299
25300 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25301 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25302 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25303 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 else
25305
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #define _FILE_OFFSET_BITS 64
25313 #include <sys/types.h>
25314 int
25315 main ()
25316 {
25317 typedef struct {
25318 unsigned int field: sizeof(off_t) == 8;
25319 } wxlf;
25320
25321 ;
25322 return 0;
25323 }
25324 _ACEOF
25325 rm -f conftest.$ac_objext
25326 if { (ac_try="$ac_compile"
25327 case "(($ac_try" in
25328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25329 *) ac_try_echo=$ac_try;;
25330 esac
25331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25332 (eval "$ac_compile") 2>conftest.er1
25333 ac_status=$?
25334 grep -v '^ *+' conftest.er1 >conftest.err
25335 rm -f conftest.er1
25336 cat conftest.err >&5
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); } && {
25339 test -z "$ac_c_werror_flag" ||
25340 test ! -s conftest.err
25341 } && test -s conftest.$ac_objext; then
25342 ac_cv_sys_file_offset_bits=64
25343 else
25344 echo "$as_me: failed program was:" >&5
25345 sed 's/^/| /' conftest.$ac_ext >&5
25346
25347 ac_cv_sys_file_offset_bits=no
25348 fi
25349
25350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25351
25352
25353 fi
25354 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25355 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25356
25357 if test "$ac_cv_sys_file_offset_bits" != no; then
25358 wx_largefile=yes
25359 cat >>confdefs.h <<_ACEOF
25360 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25361 _ACEOF
25362
25363 fi
25364
25365 if test "x$wx_largefile" != "xyes"; then
25366
25367 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25368 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25369 if test "${ac_cv_sys_large_files+set}" = set; then
25370 echo $ECHO_N "(cached) $ECHO_C" >&6
25371 else
25372
25373 cat >conftest.$ac_ext <<_ACEOF
25374 /* confdefs.h. */
25375 _ACEOF
25376 cat confdefs.h >>conftest.$ac_ext
25377 cat >>conftest.$ac_ext <<_ACEOF
25378 /* end confdefs.h. */
25379 #define _LARGE_FILES 1
25380 #include <sys/types.h>
25381 int
25382 main ()
25383 {
25384 typedef struct {
25385 unsigned int field: sizeof(off_t) == 8;
25386 } wxlf;
25387
25388 ;
25389 return 0;
25390 }
25391 _ACEOF
25392 rm -f conftest.$ac_objext
25393 if { (ac_try="$ac_compile"
25394 case "(($ac_try" in
25395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25396 *) ac_try_echo=$ac_try;;
25397 esac
25398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25399 (eval "$ac_compile") 2>conftest.er1
25400 ac_status=$?
25401 grep -v '^ *+' conftest.er1 >conftest.err
25402 rm -f conftest.er1
25403 cat conftest.err >&5
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } && {
25406 test -z "$ac_c_werror_flag" ||
25407 test ! -s conftest.err
25408 } && test -s conftest.$ac_objext; then
25409 ac_cv_sys_large_files=1
25410 else
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25413
25414 ac_cv_sys_large_files=no
25415 fi
25416
25417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25418
25419
25420 fi
25421 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25422 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25423
25424 if test "$ac_cv_sys_large_files" != no; then
25425 wx_largefile=yes
25426 cat >>confdefs.h <<_ACEOF
25427 #define _LARGE_FILES $ac_cv_sys_large_files
25428 _ACEOF
25429
25430 fi
25431
25432 fi
25433
25434 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25435 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25436 if test "x$wx_largefile" = "xyes"; then
25437 cat >>confdefs.h <<\_ACEOF
25438 #define HAVE_LARGEFILE_SUPPORT 1
25439 _ACEOF
25440
25441 fi
25442 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25443 echo "${ECHO_T}$wx_largefile" >&6; }
25444 fi
25445
25446
25447 if test "x$wx_largefile" = "xyes"; then
25448 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25449 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25450
25451 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25452 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25453 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25454 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 else
25457
25458 ac_ext=cpp
25459 ac_cpp='$CXXCPP $CPPFLAGS'
25460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25463
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470
25471 int
25472 main ()
25473 {
25474
25475 #ifndef __STDC_EXT__
25476 choke me
25477 #endif
25478
25479 ;
25480 return 0;
25481 }
25482 _ACEOF
25483 rm -f conftest.$ac_objext
25484 if { (ac_try="$ac_compile"
25485 case "(($ac_try" in
25486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25487 *) ac_try_echo=$ac_try;;
25488 esac
25489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25490 (eval "$ac_compile") 2>conftest.er1
25491 ac_status=$?
25492 grep -v '^ *+' conftest.er1 >conftest.err
25493 rm -f conftest.er1
25494 cat conftest.err >&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); } && {
25497 test -z "$ac_cxx_werror_flag" ||
25498 test ! -s conftest.err
25499 } && test -s conftest.$ac_objext; then
25500 wx_cv_STDC_EXT_required=no
25501 else
25502 echo "$as_me: failed program was:" >&5
25503 sed 's/^/| /' conftest.$ac_ext >&5
25504
25505 wx_cv_STDC_EXT_required=yes
25506
25507 fi
25508
25509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25510 ac_ext=c
25511 ac_cpp='$CPP $CPPFLAGS'
25512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25515
25516
25517
25518 fi
25519 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25520 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25521 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25523 fi
25524 fi
25525 else
25526 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25527 fi
25528 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25529 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25530 if test "${ac_cv_sys_largefile_source+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533 while :; do
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <sys/types.h> /* for off_t */
25541 #include <stdio.h>
25542 int
25543 main ()
25544 {
25545 int (*fp) (FILE *, off_t, int) = fseeko;
25546 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25547 ;
25548 return 0;
25549 }
25550 _ACEOF
25551 rm -f conftest.$ac_objext conftest$ac_exeext
25552 if { (ac_try="$ac_link"
25553 case "(($ac_try" in
25554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25555 *) ac_try_echo=$ac_try;;
25556 esac
25557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25558 (eval "$ac_link") 2>conftest.er1
25559 ac_status=$?
25560 grep -v '^ *+' conftest.er1 >conftest.err
25561 rm -f conftest.er1
25562 cat conftest.err >&5
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); } && {
25565 test -z "$ac_c_werror_flag" ||
25566 test ! -s conftest.err
25567 } && test -s conftest$ac_exeext &&
25568 $as_test_x conftest$ac_exeext; then
25569 ac_cv_sys_largefile_source=no; break
25570 else
25571 echo "$as_me: failed program was:" >&5
25572 sed 's/^/| /' conftest.$ac_ext >&5
25573
25574
25575 fi
25576
25577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25578 conftest$ac_exeext conftest.$ac_ext
25579 cat >conftest.$ac_ext <<_ACEOF
25580 /* confdefs.h. */
25581 _ACEOF
25582 cat confdefs.h >>conftest.$ac_ext
25583 cat >>conftest.$ac_ext <<_ACEOF
25584 /* end confdefs.h. */
25585 #define _LARGEFILE_SOURCE 1
25586 #include <sys/types.h> /* for off_t */
25587 #include <stdio.h>
25588 int
25589 main ()
25590 {
25591 int (*fp) (FILE *, off_t, int) = fseeko;
25592 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25593 ;
25594 return 0;
25595 }
25596 _ACEOF
25597 rm -f conftest.$ac_objext conftest$ac_exeext
25598 if { (ac_try="$ac_link"
25599 case "(($ac_try" in
25600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25601 *) ac_try_echo=$ac_try;;
25602 esac
25603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25604 (eval "$ac_link") 2>conftest.er1
25605 ac_status=$?
25606 grep -v '^ *+' conftest.er1 >conftest.err
25607 rm -f conftest.er1
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } && {
25611 test -z "$ac_c_werror_flag" ||
25612 test ! -s conftest.err
25613 } && test -s conftest$ac_exeext &&
25614 $as_test_x conftest$ac_exeext; then
25615 ac_cv_sys_largefile_source=1; break
25616 else
25617 echo "$as_me: failed program was:" >&5
25618 sed 's/^/| /' conftest.$ac_ext >&5
25619
25620
25621 fi
25622
25623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25624 conftest$ac_exeext conftest.$ac_ext
25625 ac_cv_sys_largefile_source=unknown
25626 break
25627 done
25628 fi
25629 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25630 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25631 case $ac_cv_sys_largefile_source in #(
25632 no | unknown) ;;
25633 *)
25634 cat >>confdefs.h <<_ACEOF
25635 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25636 _ACEOF
25637 ;;
25638 esac
25639 rm -f conftest*
25640
25641 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25642 # in glibc 2.1.3, but that breaks too many other things.
25643 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25644 if test $ac_cv_sys_largefile_source != unknown; then
25645
25646 cat >>confdefs.h <<\_ACEOF
25647 #define HAVE_FSEEKO 1
25648 _ACEOF
25649
25650 fi
25651
25652 if test "$ac_cv_sys_largefile_source" != no; then
25653 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25654 fi
25655 fi
25656
25657 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25658 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25659 if test "${ac_cv_c_bigendian+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25662 ac_cv_c_bigendian=unknown
25663 # See if sys/param.h defines the BYTE_ORDER macro.
25664 cat >conftest.$ac_ext <<_ACEOF
25665 /* confdefs.h. */
25666 _ACEOF
25667 cat confdefs.h >>conftest.$ac_ext
25668 cat >>conftest.$ac_ext <<_ACEOF
25669 /* end confdefs.h. */
25670 #include <sys/types.h>
25671 #include <sys/param.h>
25672 int
25673 main ()
25674 {
25675
25676 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25677 bogus endian macros
25678 #endif
25679 ;
25680 return 0;
25681 }
25682 _ACEOF
25683 rm -f conftest.$ac_objext
25684 if { (ac_try="$ac_compile"
25685 case "(($ac_try" in
25686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25687 *) ac_try_echo=$ac_try;;
25688 esac
25689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25690 (eval "$ac_compile") 2>conftest.er1
25691 ac_status=$?
25692 grep -v '^ *+' conftest.er1 >conftest.err
25693 rm -f conftest.er1
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } && {
25697 test -z "$ac_c_werror_flag" ||
25698 test ! -s conftest.err
25699 } && test -s conftest.$ac_objext; then
25700 # It does; now see whether it defined to BIG_ENDIAN or not.
25701 cat >conftest.$ac_ext <<_ACEOF
25702 /* confdefs.h. */
25703 _ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 #include <sys/types.h>
25708 #include <sys/param.h>
25709 int
25710 main ()
25711 {
25712
25713 #if BYTE_ORDER != BIG_ENDIAN
25714 not big endian
25715 #endif
25716 ;
25717 return 0;
25718 }
25719 _ACEOF
25720 rm -f conftest.$ac_objext
25721 if { (ac_try="$ac_compile"
25722 case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25725 esac
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_compile") 2>conftest.er1
25728 ac_status=$?
25729 grep -v '^ *+' conftest.er1 >conftest.err
25730 rm -f conftest.er1
25731 cat conftest.err >&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } && {
25734 test -z "$ac_c_werror_flag" ||
25735 test ! -s conftest.err
25736 } && test -s conftest.$ac_objext; then
25737 ac_cv_c_bigendian=yes
25738 else
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.$ac_ext >&5
25741
25742 ac_cv_c_bigendian=no
25743 fi
25744
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746 else
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.$ac_ext >&5
25749
25750
25751 fi
25752
25753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25754 if test $ac_cv_c_bigendian = unknown; then
25755 if test "$cross_compiling" = yes; then
25756 ac_cv_c_bigendian=unknown
25757 else
25758 cat >conftest.$ac_ext <<_ACEOF
25759 /* confdefs.h. */
25760 _ACEOF
25761 cat confdefs.h >>conftest.$ac_ext
25762 cat >>conftest.$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25764 main () {
25765 /* Are we little or big endian? From Harbison&Steele. */
25766 union
25767 {
25768 long l;
25769 char c[sizeof (long)];
25770 } u;
25771 u.l = 1;
25772 exit (u.c[sizeof (long) - 1] == 1);
25773 }
25774 _ACEOF
25775 rm -f conftest$ac_exeext
25776 if { (ac_try="$ac_link"
25777 case "(($ac_try" in
25778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25779 *) ac_try_echo=$ac_try;;
25780 esac
25781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25782 (eval "$ac_link") 2>&5
25783 ac_status=$?
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25786 { (case "(($ac_try" in
25787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25788 *) ac_try_echo=$ac_try;;
25789 esac
25790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25791 (eval "$ac_try") 2>&5
25792 ac_status=$?
25793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25794 (exit $ac_status); }; }; then
25795 ac_cv_c_bigendian=no
25796 else
25797 echo "$as_me: program exited with status $ac_status" >&5
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25800
25801 ( exit $ac_status )
25802 ac_cv_c_bigendian=yes
25803 fi
25804 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25805 fi
25806
25807
25808 fi
25809 fi
25810 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25811 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25812 if test $ac_cv_c_bigendian = unknown; then
25813 { 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
25814 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;}
25815 fi
25816 if test $ac_cv_c_bigendian = yes; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define WORDS_BIGENDIAN 1
25819 _ACEOF
25820
25821 fi
25822
25823
25824
25825
25826 ac_ext=cpp
25827 ac_cpp='$CXXCPP $CPPFLAGS'
25828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25831
25832
25833
25834 for ac_header in iostream
25835 do
25836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25840 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 else
25842 cat >conftest.$ac_ext <<_ACEOF
25843 /* confdefs.h. */
25844 _ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848
25849
25850 #include <$ac_header>
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25857 esac
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_cxx_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 eval "$as_ac_Header=yes"
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 eval "$as_ac_Header=no"
25875 fi
25876
25877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25878 fi
25879 ac_res=`eval echo '${'$as_ac_Header'}'`
25880 { echo "$as_me:$LINENO: result: $ac_res" >&5
25881 echo "${ECHO_T}$ac_res" >&6; }
25882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25883 cat >>confdefs.h <<_ACEOF
25884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25885 _ACEOF
25886
25887 fi
25888
25889 done
25890
25891
25892 if test "$ac_cv_header_iostream" = "yes" ; then
25893 :
25894 else
25895 cat >>confdefs.h <<\_ACEOF
25896 #define wxUSE_IOSTREAMH 1
25897 _ACEOF
25898
25899 fi
25900
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906
25907
25908
25909
25910 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25911 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
25912 if test "${wx_cv_cpp_bool+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915
25916
25917 ac_ext=cpp
25918 ac_cpp='$CXXCPP $CPPFLAGS'
25919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25922
25923
25924 cat >conftest.$ac_ext <<_ACEOF
25925 /* confdefs.h. */
25926 _ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930
25931
25932 int
25933 main ()
25934 {
25935
25936 bool b = true;
25937
25938 return 0;
25939
25940 ;
25941 return 0;
25942 }
25943 _ACEOF
25944 rm -f conftest.$ac_objext
25945 if { (ac_try="$ac_compile"
25946 case "(($ac_try" in
25947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25948 *) ac_try_echo=$ac_try;;
25949 esac
25950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25951 (eval "$ac_compile") 2>conftest.er1
25952 ac_status=$?
25953 grep -v '^ *+' conftest.er1 >conftest.err
25954 rm -f conftest.er1
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } && {
25958 test -z "$ac_cxx_werror_flag" ||
25959 test ! -s conftest.err
25960 } && test -s conftest.$ac_objext; then
25961
25962 wx_cv_cpp_bool=yes
25963
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25967
25968
25969 wx_cv_cpp_bool=no
25970
25971
25972 fi
25973
25974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25975
25976 ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981
25982
25983 fi
25984 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25985 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
25986
25987 if test "$wx_cv_cpp_bool" = "yes"; then
25988 cat >>confdefs.h <<\_ACEOF
25989 #define HAVE_BOOL 1
25990 _ACEOF
25991
25992 fi
25993
25994
25995
25996 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25997 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25998 if test "${wx_cv_explicit+set}" = set; then
25999 echo $ECHO_N "(cached) $ECHO_C" >&6
26000 else
26001
26002
26003 ac_ext=cpp
26004 ac_cpp='$CXXCPP $CPPFLAGS'
26005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26008
26009
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h. */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26016
26017 class Foo { public: explicit Foo(int) {} };
26018
26019 int
26020 main ()
26021 {
26022
26023 return 0;
26024
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_cxx_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046
26047 cat >conftest.$ac_ext <<_ACEOF
26048 /* confdefs.h. */
26049 _ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053
26054 class Foo { public: explicit Foo(int) {} };
26055 static void TakeFoo(const Foo& foo) { }
26056
26057 int
26058 main ()
26059 {
26060
26061 TakeFoo(17);
26062 return 0;
26063
26064 ;
26065 return 0;
26066 }
26067 _ACEOF
26068 rm -f conftest.$ac_objext
26069 if { (ac_try="$ac_compile"
26070 case "(($ac_try" in
26071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26072 *) ac_try_echo=$ac_try;;
26073 esac
26074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26075 (eval "$ac_compile") 2>conftest.er1
26076 ac_status=$?
26077 grep -v '^ *+' conftest.er1 >conftest.err
26078 rm -f conftest.er1
26079 cat conftest.err >&5
26080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26081 (exit $ac_status); } && {
26082 test -z "$ac_cxx_werror_flag" ||
26083 test ! -s conftest.err
26084 } && test -s conftest.$ac_objext; then
26085 wx_cv_explicit=no
26086 else
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.$ac_ext >&5
26089
26090 wx_cv_explicit=yes
26091
26092 fi
26093
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26099
26100 wx_cv_explicit=no
26101
26102 fi
26103
26104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26105
26106 ac_ext=c
26107 ac_cpp='$CPP $CPPFLAGS'
26108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26111
26112
26113 fi
26114 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26115 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26116
26117 if test "$wx_cv_explicit" = "yes"; then
26118 cat >>confdefs.h <<\_ACEOF
26119 #define HAVE_EXPLICIT 1
26120 _ACEOF
26121
26122 fi
26123
26124
26125 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26126 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26127 if test "${ac_cv_cxx_const_cast+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130
26131 ac_ext=cpp
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26136
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143
26144 int
26145 main ()
26146 {
26147 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26148 ;
26149 return 0;
26150 }
26151 _ACEOF
26152 rm -f conftest.$ac_objext
26153 if { (ac_try="$ac_compile"
26154 case "(($ac_try" in
26155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26156 *) ac_try_echo=$ac_try;;
26157 esac
26158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26159 (eval "$ac_compile") 2>conftest.er1
26160 ac_status=$?
26161 grep -v '^ *+' conftest.er1 >conftest.err
26162 rm -f conftest.er1
26163 cat conftest.err >&5
26164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26165 (exit $ac_status); } && {
26166 test -z "$ac_cxx_werror_flag" ||
26167 test ! -s conftest.err
26168 } && test -s conftest.$ac_objext; then
26169 ac_cv_cxx_const_cast=yes
26170 else
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.$ac_ext >&5
26173
26174 ac_cv_cxx_const_cast=no
26175 fi
26176
26177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26178 ac_ext=c
26179 ac_cpp='$CPP $CPPFLAGS'
26180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26183
26184
26185 fi
26186 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26187 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26188 if test "$ac_cv_cxx_const_cast" = yes; then
26189
26190 cat >>confdefs.h <<\_ACEOF
26191 #define HAVE_CONST_CAST
26192 _ACEOF
26193
26194 fi
26195
26196 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26197 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26198 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26199 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 else
26201
26202 ac_ext=cpp
26203 ac_cpp='$CXXCPP $CPPFLAGS'
26204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26207
26208 cat >conftest.$ac_ext <<_ACEOF
26209 /* confdefs.h. */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 #include <typeinfo>
26215 class Base { public : Base () {} virtual void f () = 0;};
26216 class Derived : public Base { public : Derived () {} virtual void f () {} };
26217 class Unrelated { public : Unrelated () {} };
26218 int g (Unrelated&) { return 0; }
26219 int
26220 main ()
26221 {
26222
26223 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26224 ;
26225 return 0;
26226 }
26227 _ACEOF
26228 rm -f conftest.$ac_objext
26229 if { (ac_try="$ac_compile"
26230 case "(($ac_try" in
26231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26232 *) ac_try_echo=$ac_try;;
26233 esac
26234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26235 (eval "$ac_compile") 2>conftest.er1
26236 ac_status=$?
26237 grep -v '^ *+' conftest.er1 >conftest.err
26238 rm -f conftest.er1
26239 cat conftest.err >&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } && {
26242 test -z "$ac_cxx_werror_flag" ||
26243 test ! -s conftest.err
26244 } && test -s conftest.$ac_objext; then
26245 ac_cv_cxx_reinterpret_cast=yes
26246 else
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26249
26250 ac_cv_cxx_reinterpret_cast=no
26251 fi
26252
26253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 ac_ext=c
26255 ac_cpp='$CPP $CPPFLAGS'
26256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259
26260
26261 fi
26262 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26263 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26264 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26265
26266 cat >>confdefs.h <<\_ACEOF
26267 #define HAVE_REINTERPRET_CAST
26268 _ACEOF
26269
26270 fi
26271
26272 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26273 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26274 if test "${ac_cv_cxx_static_cast+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26276 else
26277
26278 ac_ext=cpp
26279 ac_cpp='$CXXCPP $CPPFLAGS'
26280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26283
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <typeinfo>
26291 class Base { public : Base () {} virtual void f () = 0; };
26292 class Derived : public Base { public : Derived () {} virtual void f () {} };
26293 int g (Derived&) { return 0; }
26294 int
26295 main ()
26296 {
26297
26298 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26299 ;
26300 return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (ac_try="$ac_compile"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_compile") 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_cxx_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest.$ac_objext; then
26320 ac_cv_cxx_static_cast=yes
26321 else
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325 ac_cv_cxx_static_cast=no
26326 fi
26327
26328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26329 ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26334
26335
26336 fi
26337 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26338 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26339 if test "$ac_cv_cxx_static_cast" = yes; then
26340
26341 cat >>confdefs.h <<\_ACEOF
26342 #define HAVE_STATIC_CAST
26343 _ACEOF
26344
26345 fi
26346
26347
26348 if test "x$SUNCXX" = xyes; then
26349 CXXFLAGS="-features=tmplife $CXXFLAGS"
26350 fi
26351
26352 if test "x$SUNCC" = xyes; then
26353 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26354 fi
26355
26356 if test "x$SGICC" = "xyes"; then
26357 CFLAGS="-woff 3970 $CFLAGS"
26358 fi
26359 if test "x$SGICXX" = "xyes"; then
26360 CXXFLAGS="-woff 3970 $CXXFLAGS"
26361 fi
26362
26363 if test "x$HPCC" = "xyes"; then
26364 CFLAGS="+W 2011,2450 $CFLAGS"
26365 fi
26366 if test "x$HPCXX" = "xyes"; then
26367 CXXFLAGS="+W 2340 $CXXFLAGS"
26368 fi
26369
26370 if test "x$COMPAQCXX" = "xyes"; then
26371 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26372 fi
26373
26374 ac_ext=cpp
26375 ac_cpp='$CXXCPP $CPPFLAGS'
26376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379
26380
26381 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26382 if test "$wxUSE_UNICODE" = "yes"; then
26383 std_string="std::wstring"
26384 char_type="wchar_t"
26385 else
26386 std_string="std::string"
26387 char_type="char"
26388 fi
26389
26390 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26391 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26392 if test "${wx_cv_class_stdstring+set}" = set; then
26393 echo $ECHO_N "(cached) $ECHO_C" >&6
26394 else
26395
26396 cat >conftest.$ac_ext <<_ACEOF
26397 /* confdefs.h. */
26398 _ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26402 #include <string>
26403 int
26404 main ()
26405 {
26406 $std_string foo;
26407 ;
26408 return 0;
26409 }
26410 _ACEOF
26411 rm -f conftest.$ac_objext
26412 if { (ac_try="$ac_compile"
26413 case "(($ac_try" in
26414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26415 *) ac_try_echo=$ac_try;;
26416 esac
26417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26418 (eval "$ac_compile") 2>conftest.er1
26419 ac_status=$?
26420 grep -v '^ *+' conftest.er1 >conftest.err
26421 rm -f conftest.er1
26422 cat conftest.err >&5
26423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26424 (exit $ac_status); } && {
26425 test -z "$ac_cxx_werror_flag" ||
26426 test ! -s conftest.err
26427 } && test -s conftest.$ac_objext; then
26428 wx_cv_class_stdstring=yes
26429 else
26430 echo "$as_me: failed program was:" >&5
26431 sed 's/^/| /' conftest.$ac_ext >&5
26432
26433 wx_cv_class_stdstring=no
26434
26435 fi
26436
26437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26438
26439
26440 fi
26441 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26442 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26443
26444 if test "$wx_cv_class_stdstring" = yes; then
26445 if test "$wxUSE_UNICODE" = "yes"; then
26446 cat >>confdefs.h <<\_ACEOF
26447 #define HAVE_STD_WSTRING 1
26448 _ACEOF
26449
26450 fi
26451 else
26452 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26453 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26454 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 else
26457
26458 cat >conftest.$ac_ext <<_ACEOF
26459 /* confdefs.h. */
26460 _ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26464
26465 #ifdef HAVE_WCHAR_H
26466 # ifdef __CYGWIN__
26467 # include <stddef.h>
26468 # endif
26469 # include <wchar.h>
26470 #endif
26471 #ifdef HAVE_STDLIB_H
26472 # include <stdlib.h>
26473 #endif
26474 #include <stdio.h>
26475 #include <string>
26476
26477 int
26478 main ()
26479 {
26480 std::basic_string<$char_type> foo;
26481 const $char_type* dummy = foo.c_str();
26482 ;
26483 return 0;
26484 }
26485 _ACEOF
26486 rm -f conftest.$ac_objext
26487 if { (ac_try="$ac_compile"
26488 case "(($ac_try" in
26489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26491 esac
26492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26493 (eval "$ac_compile") 2>conftest.er1
26494 ac_status=$?
26495 grep -v '^ *+' conftest.er1 >conftest.err
26496 rm -f conftest.er1
26497 cat conftest.err >&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } && {
26500 test -z "$ac_cxx_werror_flag" ||
26501 test ! -s conftest.err
26502 } && test -s conftest.$ac_objext; then
26503 wx_cv_class_stdbasicstring=yes
26504 else
26505 echo "$as_me: failed program was:" >&5
26506 sed 's/^/| /' conftest.$ac_ext >&5
26507
26508 wx_cv_class_stdbasicstring=no
26509
26510 fi
26511
26512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26513
26514
26515 fi
26516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26517 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26518
26519 if test "$wx_cv_class_stdbasicstring" != yes; then
26520 if test "$wxUSE_STL" = "yes"; then
26521 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26522 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26523 { (exit 1); exit 1; }; }
26524 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26525 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26526 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26527 { (exit 1); exit 1; }; }
26528 else
26529 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26530 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26531 wxUSE_STD_STRING=no
26532 fi
26533 fi
26534 fi
26535 fi
26536
26537 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26538 { echo "$as_me:$LINENO: checking for std::istream" >&5
26539 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26540 if test "${ac_cv_type_std__istream+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549 #include <iostream>
26550
26551 typedef std::istream ac__type_new_;
26552 int
26553 main ()
26554 {
26555 if ((ac__type_new_ *) 0)
26556 return 0;
26557 if (sizeof (ac__type_new_))
26558 return 0;
26559 ;
26560 return 0;
26561 }
26562 _ACEOF
26563 rm -f conftest.$ac_objext
26564 if { (ac_try="$ac_compile"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26567 *) ac_try_echo=$ac_try;;
26568 esac
26569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_compile") 2>conftest.er1
26571 ac_status=$?
26572 grep -v '^ *+' conftest.er1 >conftest.err
26573 rm -f conftest.er1
26574 cat conftest.err >&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_cxx_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest.$ac_objext; then
26580 ac_cv_type_std__istream=yes
26581 else
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.$ac_ext >&5
26584
26585 ac_cv_type_std__istream=no
26586 fi
26587
26588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26589 fi
26590 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26591 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26592 if test $ac_cv_type_std__istream = yes; then
26593
26594 cat >>confdefs.h <<_ACEOF
26595 #define HAVE_STD__ISTREAM 1
26596 _ACEOF
26597
26598
26599 else
26600 wxUSE_STD_IOSTREAM=no
26601 fi
26602 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26603 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26604 if test "${ac_cv_type_std__ostream+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 else
26607 cat >conftest.$ac_ext <<_ACEOF
26608 /* confdefs.h. */
26609 _ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 #include <iostream>
26614
26615 typedef std::ostream ac__type_new_;
26616 int
26617 main ()
26618 {
26619 if ((ac__type_new_ *) 0)
26620 return 0;
26621 if (sizeof (ac__type_new_))
26622 return 0;
26623 ;
26624 return 0;
26625 }
26626 _ACEOF
26627 rm -f conftest.$ac_objext
26628 if { (ac_try="$ac_compile"
26629 case "(($ac_try" in
26630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26631 *) ac_try_echo=$ac_try;;
26632 esac
26633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26634 (eval "$ac_compile") 2>conftest.er1
26635 ac_status=$?
26636 grep -v '^ *+' conftest.er1 >conftest.err
26637 rm -f conftest.er1
26638 cat conftest.err >&5
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); } && {
26641 test -z "$ac_cxx_werror_flag" ||
26642 test ! -s conftest.err
26643 } && test -s conftest.$ac_objext; then
26644 ac_cv_type_std__ostream=yes
26645 else
26646 echo "$as_me: failed program was:" >&5
26647 sed 's/^/| /' conftest.$ac_ext >&5
26648
26649 ac_cv_type_std__ostream=no
26650 fi
26651
26652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 fi
26654 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26655 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26656 if test $ac_cv_type_std__ostream = yes; then
26657
26658 cat >>confdefs.h <<_ACEOF
26659 #define HAVE_STD__OSTREAM 1
26660 _ACEOF
26661
26662
26663 else
26664 wxUSE_STD_IOSTREAM=no
26665 fi
26666
26667
26668 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26669 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26670 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26671 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26672 { (exit 1); exit 1; }; }
26673 else
26674 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26675 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26676 fi
26677 fi
26678 fi
26679
26680 if test "$wxUSE_STL" = "yes"; then
26681 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26682 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26683 if test "${wx_cv_lib_stl+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26686 cat >conftest.$ac_ext <<_ACEOF
26687 /* confdefs.h. */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 #include <string>
26693 #include <functional>
26694 #include <algorithm>
26695 #include <vector>
26696 #include <list>
26697 int
26698 main ()
26699 {
26700 std::vector<int> moo;
26701 std::list<int> foo;
26702 std::vector<int>::iterator it =
26703 std::find_if(moo.begin(), moo.end(),
26704 std::bind2nd(std::less<int>(), 3));
26705 ;
26706 return 0;
26707 }
26708 _ACEOF
26709 rm -f conftest.$ac_objext
26710 if { (ac_try="$ac_compile"
26711 case "(($ac_try" in
26712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26713 *) ac_try_echo=$ac_try;;
26714 esac
26715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26716 (eval "$ac_compile") 2>conftest.er1
26717 ac_status=$?
26718 grep -v '^ *+' conftest.er1 >conftest.err
26719 rm -f conftest.er1
26720 cat conftest.err >&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); } && {
26723 test -z "$ac_cxx_werror_flag" ||
26724 test ! -s conftest.err
26725 } && test -s conftest.$ac_objext; then
26726 wx_cv_lib_stl=yes
26727 else
26728 echo "$as_me: failed program was:" >&5
26729 sed 's/^/| /' conftest.$ac_ext >&5
26730
26731 wx_cv_lib_stl=no
26732
26733 fi
26734
26735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26736
26737 fi
26738 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26739 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26740
26741 if test "$wx_cv_lib_stl" != yes; then
26742 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26743 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26744 { (exit 1); exit 1; }; }
26745 fi
26746
26747 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26748 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26749 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26750 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 else
26752 cat >conftest.$ac_ext <<_ACEOF
26753 /* confdefs.h. */
26754 _ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758 #include <string>
26759 int
26760 main ()
26761 {
26762 std::string foo, bar;
26763 foo.compare(bar);
26764 foo.compare(1, 1, bar);
26765 foo.compare(1, 1, bar, 1, 1);
26766 foo.compare("");
26767 foo.compare(1, 1, "");
26768 foo.compare(1, 1, "", 2);
26769 ;
26770 return 0;
26771 }
26772 _ACEOF
26773 rm -f conftest.$ac_objext
26774 if { (ac_try="$ac_compile"
26775 case "(($ac_try" in
26776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26777 *) ac_try_echo=$ac_try;;
26778 esac
26779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26780 (eval "$ac_compile") 2>conftest.er1
26781 ac_status=$?
26782 grep -v '^ *+' conftest.er1 >conftest.err
26783 rm -f conftest.er1
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } && {
26787 test -z "$ac_cxx_werror_flag" ||
26788 test ! -s conftest.err
26789 } && test -s conftest.$ac_objext; then
26790 wx_cv_func_stdstring_compare=yes
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26794
26795 wx_cv_func_stdstring_compare=no
26796
26797 fi
26798
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26800
26801 fi
26802 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26803 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26804
26805 if test "$wx_cv_func_stdstring_compare" = yes; then
26806 cat >>confdefs.h <<\_ACEOF
26807 #define HAVE_STD_STRING_COMPARE 1
26808 _ACEOF
26809
26810 fi
26811
26812 { echo "$as_me:$LINENO: checking for hash_map" >&5
26813 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26814 if test "${ac_cv_header_hash_map+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 else
26817 cat >conftest.$ac_ext <<_ACEOF
26818 /* confdefs.h. */
26819 _ACEOF
26820 cat confdefs.h >>conftest.$ac_ext
26821 cat >>conftest.$ac_ext <<_ACEOF
26822 /* end confdefs.h. */
26823
26824
26825
26826 #include <hash_map>
26827 _ACEOF
26828 rm -f conftest.$ac_objext
26829 if { (ac_try="$ac_compile"
26830 case "(($ac_try" in
26831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26833 esac
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_compile") 2>conftest.er1
26836 ac_status=$?
26837 grep -v '^ *+' conftest.er1 >conftest.err
26838 rm -f conftest.er1
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_cxx_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest.$ac_objext; then
26845 ac_cv_header_hash_map=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26849
26850 ac_cv_header_hash_map=no
26851 fi
26852
26853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26856 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26857 if test $ac_cv_header_hash_map = yes; then
26858 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26859 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
26860 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863 cat >conftest.$ac_ext <<_ACEOF
26864 /* confdefs.h. */
26865 _ACEOF
26866 cat confdefs.h >>conftest.$ac_ext
26867 cat >>conftest.$ac_ext <<_ACEOF
26868 /* end confdefs.h. */
26869 #include <hash_map>
26870 #include <hash_set>
26871 int
26872 main ()
26873 {
26874 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26875 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26876 ;
26877 return 0;
26878 }
26879 _ACEOF
26880 rm -f conftest.$ac_objext
26881 if { (ac_try="$ac_compile"
26882 case "(($ac_try" in
26883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26884 *) ac_try_echo=$ac_try;;
26885 esac
26886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26887 (eval "$ac_compile") 2>conftest.er1
26888 ac_status=$?
26889 grep -v '^ *+' conftest.er1 >conftest.err
26890 rm -f conftest.er1
26891 cat conftest.err >&5
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } && {
26894 test -z "$ac_cxx_werror_flag" ||
26895 test ! -s conftest.err
26896 } && test -s conftest.$ac_objext; then
26897 wx_cv_class_stdhashmapset=yes
26898 else
26899 echo "$as_me: failed program was:" >&5
26900 sed 's/^/| /' conftest.$ac_ext >&5
26901
26902 wx_cv_class_stdhashmapset=no
26903 fi
26904
26905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26906
26907
26908 fi
26909 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26910 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26911 fi
26912
26913
26914
26915 if test "$wx_cv_class_stdhashmapset" = yes; then
26916 cat >>confdefs.h <<\_ACEOF
26917 #define HAVE_HASH_MAP 1
26918 _ACEOF
26919
26920 cat >>confdefs.h <<\_ACEOF
26921 #define HAVE_STD_HASH_MAP 1
26922 _ACEOF
26923
26924 fi
26925
26926 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26927 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26928 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26929 echo $ECHO_N "(cached) $ECHO_C" >&6
26930 else
26931 cat >conftest.$ac_ext <<_ACEOF
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937
26938
26939
26940 #include <ext/hash_map>
26941 _ACEOF
26942 rm -f conftest.$ac_objext
26943 if { (ac_try="$ac_compile"
26944 case "(($ac_try" in
26945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26947 esac
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_compile") 2>conftest.er1
26950 ac_status=$?
26951 grep -v '^ *+' conftest.er1 >conftest.err
26952 rm -f conftest.er1
26953 cat conftest.err >&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } && {
26956 test -z "$ac_cxx_werror_flag" ||
26957 test ! -s conftest.err
26958 } && test -s conftest.$ac_objext; then
26959 ac_cv_header_ext_hash_map=yes
26960 else
26961 echo "$as_me: failed program was:" >&5
26962 sed 's/^/| /' conftest.$ac_ext >&5
26963
26964 ac_cv_header_ext_hash_map=no
26965 fi
26966
26967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26968 fi
26969 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26970 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26971 if test $ac_cv_header_ext_hash_map = yes; then
26972 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26973 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26974 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <ext/hash_map>
26984 #include <ext/hash_set>
26985 int
26986 main ()
26987 {
26988 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26989 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26990 ;
26991 return 0;
26992 }
26993 _ACEOF
26994 rm -f conftest.$ac_objext
26995 if { (ac_try="$ac_compile"
26996 case "(($ac_try" in
26997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
26999 esac
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_compile") 2>conftest.er1
27002 ac_status=$?
27003 grep -v '^ *+' conftest.er1 >conftest.err
27004 rm -f conftest.er1
27005 cat conftest.err >&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } && {
27008 test -z "$ac_cxx_werror_flag" ||
27009 test ! -s conftest.err
27010 } && test -s conftest.$ac_objext; then
27011 wx_cv_class_gnuhashmapset=yes
27012 else
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27015
27016 wx_cv_class_gnuhashmapset=no
27017 fi
27018
27019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27020
27021
27022 fi
27023 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27024 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27025 fi
27026
27027
27028
27029 if test "$wx_cv_class_gnuhashmapset" = yes; then
27030 cat >>confdefs.h <<\_ACEOF
27031 #define HAVE_EXT_HASH_MAP 1
27032 _ACEOF
27033
27034 cat >>confdefs.h <<\_ACEOF
27035 #define HAVE_GNU_CXX_HASH_MAP 1
27036 _ACEOF
27037
27038 fi
27039 fi
27040
27041 ac_ext=c
27042 ac_cpp='$CPP $CPPFLAGS'
27043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27046
27047
27048
27049 SEARCH_INCLUDE="\
27050 /usr/local/include \
27051 \
27052 /usr/Motif-2.1/include \
27053 /usr/Motif-1.2/include \
27054 /usr/include/Motif1.2 \
27055 \
27056 /usr/dt/include \
27057 /usr/openwin/include \
27058 \
27059 /usr/include/Xm \
27060 \
27061 /usr/X11R6/include \
27062 /usr/X11R6.4/include \
27063 /usr/X11R5/include \
27064 /usr/X11R4/include \
27065 \
27066 /usr/include/X11R6 \
27067 /usr/include/X11R5 \
27068 /usr/include/X11R4 \
27069 \
27070 /usr/local/X11R6/include \
27071 /usr/local/X11R5/include \
27072 /usr/local/X11R4/include \
27073 \
27074 /usr/local/include/X11R6 \
27075 /usr/local/include/X11R5 \
27076 /usr/local/include/X11R4 \
27077 \
27078 /usr/X11/include \
27079 /usr/include/X11 \
27080 /usr/local/X11/include \
27081 /usr/local/include/X11 \
27082 \
27083 /usr/XFree86/include/X11 \
27084 /usr/pkg/include \
27085 \
27086 /usr/openwin/share/include"
27087
27088 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27089 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27090
27091 case "${host}" in
27092 *-*-irix6* )
27093 if test "${wx_cv_std_libpath+set}" = set; then
27094 echo $ECHO_N "(cached) $ECHO_C" >&6
27095 else
27096
27097 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27098 for e in a so sl dylib dll.a; do
27099 libc="$d/libc.$e"
27100 if test -f $libc; then
27101 save_LIBS="$LIBS"
27102 LIBS="$libc"
27103 cat >conftest.$ac_ext <<_ACEOF
27104 int main() { return 0; }
27105 _ACEOF
27106 rm -f conftest.$ac_objext conftest$ac_exeext
27107 if { (ac_try="$ac_link"
27108 case "(($ac_try" in
27109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27110 *) ac_try_echo=$ac_try;;
27111 esac
27112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27113 (eval "$ac_link") 2>conftest.er1
27114 ac_status=$?
27115 grep -v '^ *+' conftest.er1 >conftest.err
27116 rm -f conftest.er1
27117 cat conftest.err >&5
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); } && {
27120 test -z "$ac_c_werror_flag" ||
27121 test ! -s conftest.err
27122 } && test -s conftest$ac_exeext &&
27123 $as_test_x conftest$ac_exeext; then
27124 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27128
27129
27130 fi
27131
27132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27133 conftest$ac_exeext conftest.$ac_ext
27134 LIBS="$save_LIBS"
27135 if test "x$wx_cv_std_libpath" != "x"; then
27136 break 2
27137 fi
27138 fi
27139 done
27140 done
27141 if test "x$wx_cv_std_libpath" = "x"; then
27142 wx_cv_std_libpath="lib"
27143 fi
27144
27145
27146 fi
27147
27148 ;;
27149
27150 *-*-solaris2* )
27151 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27152 wx_cv_std_libpath="lib/64"
27153 else
27154 wx_cv_std_libpath="lib"
27155 fi
27156 ;;
27157
27158 *-*-linux* )
27159 if test "$ac_cv_sizeof_void_p" = 8 -a \
27160 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27161 wx_cv_std_libpath="lib64"
27162 else
27163 wx_cv_std_libpath="lib"
27164 fi
27165 ;;
27166
27167 *)
27168 wx_cv_std_libpath="lib";
27169 ;;
27170 esac
27171
27172 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27173 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27174
27175 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27176
27177 if test "$build" != "$host" -a "$GCC" = yes; then
27178 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27179 cross_root=`dirname $cross_root`
27180 cross_root=`dirname $cross_root`
27181
27182 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27183 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27184 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27185
27186 if test -z "$PKG_CONFIG_PATH"; then
27187 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27188 export PKG_CONFIG_PATH
27189 fi
27190
27191 if test -z "$x_includes" -o "$x_includes" = NONE; then
27192
27193 ac_find_includes=
27194 for ac_dir in $SEARCH_INCLUDE /usr/include;
27195 do
27196 if test -f "$ac_dir/X11/Intrinsic.h"; then
27197 ac_find_includes=$ac_dir
27198 break
27199 fi
27200 done
27201
27202 x_includes=$ac_find_includes
27203 fi
27204 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27205
27206 ac_find_libraries=
27207 for ac_dir in $SEARCH_LIB;
27208 do
27209 for ac_extension in a so sl dylib dll.a; do
27210 if test -f "$ac_dir/libXt.$ac_extension"; then
27211 ac_find_libraries=$ac_dir
27212 break 2
27213 fi
27214 done
27215 done
27216
27217 x_libraries=$ac_find_libraries
27218 fi
27219 fi
27220 fi
27221
27222
27223 cat >confcache <<\_ACEOF
27224 # This file is a shell script that caches the results of configure
27225 # tests run on this system so they can be shared between configure
27226 # scripts and configure runs, see configure's option --config-cache.
27227 # It is not useful on other systems. If it contains results you don't
27228 # want to keep, you may remove or edit it.
27229 #
27230 # config.status only pays attention to the cache file if you give it
27231 # the --recheck option to rerun configure.
27232 #
27233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27235 # following values.
27236
27237 _ACEOF
27238
27239 # The following way of writing the cache mishandles newlines in values,
27240 # but we know of no workaround that is simple, portable, and efficient.
27241 # So, we kill variables containing newlines.
27242 # Ultrix sh set writes to stderr and can't be redirected directly,
27243 # and sets the high bit in the cache file unless we assign to the vars.
27244 (
27245 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27246 eval ac_val=\$$ac_var
27247 case $ac_val in #(
27248 *${as_nl}*)
27249 case $ac_var in #(
27250 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27251 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27252 esac
27253 case $ac_var in #(
27254 _ | IFS | as_nl) ;; #(
27255 *) $as_unset $ac_var ;;
27256 esac ;;
27257 esac
27258 done
27259
27260 (set) 2>&1 |
27261 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27262 *${as_nl}ac_space=\ *)
27263 # `set' does not quote correctly, so add quotes (double-quote
27264 # substitution turns \\\\ into \\, and sed turns \\ into \).
27265 sed -n \
27266 "s/'/'\\\\''/g;
27267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27268 ;; #(
27269 *)
27270 # `set' quotes correctly as required by POSIX, so do not add quotes.
27271 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27272 ;;
27273 esac |
27274 sort
27275 ) |
27276 sed '
27277 /^ac_cv_env_/b end
27278 t clear
27279 :clear
27280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27281 t end
27282 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27283 :end' >>confcache
27284 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27285 if test -w "$cache_file"; then
27286 test "x$cache_file" != "x/dev/null" &&
27287 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27288 echo "$as_me: updating cache $cache_file" >&6;}
27289 cat confcache >$cache_file
27290 else
27291 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27292 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27293 fi
27294 fi
27295 rm -f confcache
27296
27297 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27298 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27299 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27300 if test "${wx_cv_lib_glibc21+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303
27304 cat >conftest.$ac_ext <<_ACEOF
27305 /* confdefs.h. */
27306 _ACEOF
27307 cat confdefs.h >>conftest.$ac_ext
27308 cat >>conftest.$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27310 #include <features.h>
27311 int
27312 main ()
27313 {
27314
27315 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27316 not glibc 2.1
27317 #endif
27318
27319 ;
27320 return 0;
27321 }
27322 _ACEOF
27323 rm -f conftest.$ac_objext
27324 if { (ac_try="$ac_compile"
27325 case "(($ac_try" in
27326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27327 *) ac_try_echo=$ac_try;;
27328 esac
27329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27330 (eval "$ac_compile") 2>conftest.er1
27331 ac_status=$?
27332 grep -v '^ *+' conftest.er1 >conftest.err
27333 rm -f conftest.er1
27334 cat conftest.err >&5
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); } && {
27337 test -z "$ac_c_werror_flag" ||
27338 test ! -s conftest.err
27339 } && test -s conftest.$ac_objext; then
27340
27341 wx_cv_lib_glibc21=yes
27342
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347
27348 wx_cv_lib_glibc21=no
27349
27350
27351 fi
27352
27353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27354
27355 fi
27356 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27357 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27358 if test "$wx_cv_lib_glibc21" = "yes"; then
27359 cat >>confdefs.h <<\_ACEOF
27360 #define wxHAVE_GLIBC2 1
27361 _ACEOF
27362
27363 fi
27364 fi
27365
27366 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27367 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27368 cat >>confdefs.h <<\_ACEOF
27369 #define _GNU_SOURCE 1
27370 _ACEOF
27371
27372 fi
27373 fi
27374
27375 have_cos=0
27376 have_floor=0
27377
27378 for ac_func in cos
27379 do
27380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27384 echo $ECHO_N "(cached) $ECHO_C" >&6
27385 else
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27394 #define $ac_func innocuous_$ac_func
27395
27396 /* System header to define __stub macros and hopefully few prototypes,
27397 which can conflict with char $ac_func (); below.
27398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27399 <limits.h> exists even on freestanding compilers. */
27400
27401 #ifdef __STDC__
27402 # include <limits.h>
27403 #else
27404 # include <assert.h>
27405 #endif
27406
27407 #undef $ac_func
27408
27409 /* Override any GCC internal prototype to avoid an error.
27410 Use char because int might match the return type of a GCC
27411 builtin and then its argument prototype would still apply. */
27412 #ifdef __cplusplus
27413 extern "C"
27414 #endif
27415 char $ac_func ();
27416 /* The GNU C library defines this for functions which it implements
27417 to always fail with ENOSYS. Some functions are actually named
27418 something starting with __ and the normal name is an alias. */
27419 #if defined __stub_$ac_func || defined __stub___$ac_func
27420 choke me
27421 #endif
27422
27423 int
27424 main ()
27425 {
27426 return $ac_func ();
27427 ;
27428 return 0;
27429 }
27430 _ACEOF
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (ac_try="$ac_link"
27433 case "(($ac_try" in
27434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27435 *) ac_try_echo=$ac_try;;
27436 esac
27437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27438 (eval "$ac_link") 2>conftest.er1
27439 ac_status=$?
27440 grep -v '^ *+' conftest.er1 >conftest.err
27441 rm -f conftest.er1
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } && {
27445 test -z "$ac_c_werror_flag" ||
27446 test ! -s conftest.err
27447 } && test -s conftest$ac_exeext &&
27448 $as_test_x conftest$ac_exeext; then
27449 eval "$as_ac_var=yes"
27450 else
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.$ac_ext >&5
27453
27454 eval "$as_ac_var=no"
27455 fi
27456
27457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27458 conftest$ac_exeext conftest.$ac_ext
27459 fi
27460 ac_res=`eval echo '${'$as_ac_var'}'`
27461 { echo "$as_me:$LINENO: result: $ac_res" >&5
27462 echo "${ECHO_T}$ac_res" >&6; }
27463 if test `eval echo '${'$as_ac_var'}'` = yes; then
27464 cat >>confdefs.h <<_ACEOF
27465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27466 _ACEOF
27467 have_cos=1
27468 fi
27469 done
27470
27471
27472 for ac_func in floor
27473 do
27474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 else
27480 cat >conftest.$ac_ext <<_ACEOF
27481 /* confdefs.h. */
27482 _ACEOF
27483 cat confdefs.h >>conftest.$ac_ext
27484 cat >>conftest.$ac_ext <<_ACEOF
27485 /* end confdefs.h. */
27486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27488 #define $ac_func innocuous_$ac_func
27489
27490 /* System header to define __stub macros and hopefully few prototypes,
27491 which can conflict with char $ac_func (); below.
27492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27493 <limits.h> exists even on freestanding compilers. */
27494
27495 #ifdef __STDC__
27496 # include <limits.h>
27497 #else
27498 # include <assert.h>
27499 #endif
27500
27501 #undef $ac_func
27502
27503 /* Override any GCC internal prototype to avoid an error.
27504 Use char because int might match the return type of a GCC
27505 builtin and then its argument prototype would still apply. */
27506 #ifdef __cplusplus
27507 extern "C"
27508 #endif
27509 char $ac_func ();
27510 /* The GNU C library defines this for functions which it implements
27511 to always fail with ENOSYS. Some functions are actually named
27512 something starting with __ and the normal name is an alias. */
27513 #if defined __stub_$ac_func || defined __stub___$ac_func
27514 choke me
27515 #endif
27516
27517 int
27518 main ()
27519 {
27520 return $ac_func ();
27521 ;
27522 return 0;
27523 }
27524 _ACEOF
27525 rm -f conftest.$ac_objext conftest$ac_exeext
27526 if { (ac_try="$ac_link"
27527 case "(($ac_try" in
27528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27529 *) ac_try_echo=$ac_try;;
27530 esac
27531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27532 (eval "$ac_link") 2>conftest.er1
27533 ac_status=$?
27534 grep -v '^ *+' conftest.er1 >conftest.err
27535 rm -f conftest.er1
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } && {
27539 test -z "$ac_c_werror_flag" ||
27540 test ! -s conftest.err
27541 } && test -s conftest$ac_exeext &&
27542 $as_test_x conftest$ac_exeext; then
27543 eval "$as_ac_var=yes"
27544 else
27545 echo "$as_me: failed program was:" >&5
27546 sed 's/^/| /' conftest.$ac_ext >&5
27547
27548 eval "$as_ac_var=no"
27549 fi
27550
27551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27552 conftest$ac_exeext conftest.$ac_ext
27553 fi
27554 ac_res=`eval echo '${'$as_ac_var'}'`
27555 { echo "$as_me:$LINENO: result: $ac_res" >&5
27556 echo "${ECHO_T}$ac_res" >&6; }
27557 if test `eval echo '${'$as_ac_var'}'` = yes; then
27558 cat >>confdefs.h <<_ACEOF
27559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27560 _ACEOF
27561 have_floor=1
27562 fi
27563 done
27564
27565 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27566 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27567 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27568 { echo "$as_me:$LINENO: result: yes" >&5
27569 echo "${ECHO_T}yes" >&6; }
27570 else
27571 { echo "$as_me:$LINENO: result: no" >&5
27572 echo "${ECHO_T}no" >&6; }
27573 LIBS="$LIBS -lm"
27574 # use different functions to avoid configure caching
27575 have_sin=0
27576 have_ceil=0
27577
27578 for ac_func in sin
27579 do
27580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27584 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 else
27586 cat >conftest.$ac_ext <<_ACEOF
27587 /* confdefs.h. */
27588 _ACEOF
27589 cat confdefs.h >>conftest.$ac_ext
27590 cat >>conftest.$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27594 #define $ac_func innocuous_$ac_func
27595
27596 /* System header to define __stub macros and hopefully few prototypes,
27597 which can conflict with char $ac_func (); below.
27598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27599 <limits.h> exists even on freestanding compilers. */
27600
27601 #ifdef __STDC__
27602 # include <limits.h>
27603 #else
27604 # include <assert.h>
27605 #endif
27606
27607 #undef $ac_func
27608
27609 /* Override any GCC internal prototype to avoid an error.
27610 Use char because int might match the return type of a GCC
27611 builtin and then its argument prototype would still apply. */
27612 #ifdef __cplusplus
27613 extern "C"
27614 #endif
27615 char $ac_func ();
27616 /* The GNU C library defines this for functions which it implements
27617 to always fail with ENOSYS. Some functions are actually named
27618 something starting with __ and the normal name is an alias. */
27619 #if defined __stub_$ac_func || defined __stub___$ac_func
27620 choke me
27621 #endif
27622
27623 int
27624 main ()
27625 {
27626 return $ac_func ();
27627 ;
27628 return 0;
27629 }
27630 _ACEOF
27631 rm -f conftest.$ac_objext conftest$ac_exeext
27632 if { (ac_try="$ac_link"
27633 case "(($ac_try" in
27634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27635 *) ac_try_echo=$ac_try;;
27636 esac
27637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27638 (eval "$ac_link") 2>conftest.er1
27639 ac_status=$?
27640 grep -v '^ *+' conftest.er1 >conftest.err
27641 rm -f conftest.er1
27642 cat conftest.err >&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } && {
27645 test -z "$ac_c_werror_flag" ||
27646 test ! -s conftest.err
27647 } && test -s conftest$ac_exeext &&
27648 $as_test_x conftest$ac_exeext; then
27649 eval "$as_ac_var=yes"
27650 else
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.$ac_ext >&5
27653
27654 eval "$as_ac_var=no"
27655 fi
27656
27657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27658 conftest$ac_exeext conftest.$ac_ext
27659 fi
27660 ac_res=`eval echo '${'$as_ac_var'}'`
27661 { echo "$as_me:$LINENO: result: $ac_res" >&5
27662 echo "${ECHO_T}$ac_res" >&6; }
27663 if test `eval echo '${'$as_ac_var'}'` = yes; then
27664 cat >>confdefs.h <<_ACEOF
27665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27666 _ACEOF
27667 have_sin=1
27668 fi
27669 done
27670
27671
27672 for ac_func in ceil
27673 do
27674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27677 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27679 else
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27688 #define $ac_func innocuous_$ac_func
27689
27690 /* System header to define __stub macros and hopefully few prototypes,
27691 which can conflict with char $ac_func (); below.
27692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27693 <limits.h> exists even on freestanding compilers. */
27694
27695 #ifdef __STDC__
27696 # include <limits.h>
27697 #else
27698 # include <assert.h>
27699 #endif
27700
27701 #undef $ac_func
27702
27703 /* Override any GCC internal prototype to avoid an error.
27704 Use char because int might match the return type of a GCC
27705 builtin and then its argument prototype would still apply. */
27706 #ifdef __cplusplus
27707 extern "C"
27708 #endif
27709 char $ac_func ();
27710 /* The GNU C library defines this for functions which it implements
27711 to always fail with ENOSYS. Some functions are actually named
27712 something starting with __ and the normal name is an alias. */
27713 #if defined __stub_$ac_func || defined __stub___$ac_func
27714 choke me
27715 #endif
27716
27717 int
27718 main ()
27719 {
27720 return $ac_func ();
27721 ;
27722 return 0;
27723 }
27724 _ACEOF
27725 rm -f conftest.$ac_objext conftest$ac_exeext
27726 if { (ac_try="$ac_link"
27727 case "(($ac_try" in
27728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27730 esac
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_link") 2>conftest.er1
27733 ac_status=$?
27734 grep -v '^ *+' conftest.er1 >conftest.err
27735 rm -f conftest.er1
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } && {
27739 test -z "$ac_c_werror_flag" ||
27740 test ! -s conftest.err
27741 } && test -s conftest$ac_exeext &&
27742 $as_test_x conftest$ac_exeext; then
27743 eval "$as_ac_var=yes"
27744 else
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.$ac_ext >&5
27747
27748 eval "$as_ac_var=no"
27749 fi
27750
27751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27752 conftest$ac_exeext conftest.$ac_ext
27753 fi
27754 ac_res=`eval echo '${'$as_ac_var'}'`
27755 { echo "$as_me:$LINENO: result: $ac_res" >&5
27756 echo "${ECHO_T}$ac_res" >&6; }
27757 if test `eval echo '${'$as_ac_var'}'` = yes; then
27758 cat >>confdefs.h <<_ACEOF
27759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27760 _ACEOF
27761 have_ceil=1
27762 fi
27763 done
27764
27765 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27766 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27767 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27768 { echo "$as_me:$LINENO: result: yes" >&5
27769 echo "${ECHO_T}yes" >&6; }
27770 else
27771 { echo "$as_me:$LINENO: result: no" >&5
27772 echo "${ECHO_T}no" >&6; }
27773 # not sure we should warn the user, crash, etc.
27774 fi
27775 fi
27776
27777 ac_ext=cpp
27778 ac_cpp='$CXXCPP $CPPFLAGS'
27779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27782
27783 if test "wxUSE_UNICODE" = "yes"; then
27784
27785 for wx_func in wcstoull
27786 do
27787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27790 echo $ECHO_N "(cached) $ECHO_C" >&6
27791 else
27792
27793 cat >conftest.$ac_ext <<_ACEOF
27794
27795 /* confdefs.h. */
27796 _ACEOF
27797 cat confdefs.h >>conftest.$ac_ext
27798 cat >>conftest.$ac_ext <<_ACEOF
27799 /* end confdefs.h. */
27800
27801
27802 $ac_includes_default
27803
27804 int
27805 main ()
27806 {
27807
27808 #ifndef $wx_func
27809 &$wx_func;
27810 #endif
27811
27812
27813 ;
27814 return 0;
27815 }
27816
27817 _ACEOF
27818 rm -f conftest.$ac_objext conftest$ac_exeext
27819 if { (ac_try="$ac_link"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27823 esac
27824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_link") 2>conftest.er1
27826 ac_status=$?
27827 grep -v '^ *+' conftest.er1 >conftest.err
27828 rm -f conftest.er1
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest$ac_exeext &&
27835 $as_test_x conftest$ac_exeext; then
27836 eval wx_cv_func_$wx_func=yes
27837 else
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27840
27841 eval wx_cv_func_$wx_func=no
27842 fi
27843
27844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27845 conftest$ac_exeext conftest.$ac_ext
27846
27847 fi
27848 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27849 { echo "$as_me:$LINENO: result: $ac_res" >&5
27850 echo "${ECHO_T}$ac_res" >&6; }
27851
27852 if eval test \$wx_cv_func_$wx_func = yes
27853 then
27854 cat >>confdefs.h <<_ACEOF
27855 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27856 _ACEOF
27857
27858
27859 else
27860 :
27861
27862 fi
27863 done
27864
27865 else
27866
27867 for wx_func in strtoull
27868 do
27869 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27870 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27871 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27874
27875 cat >conftest.$ac_ext <<_ACEOF
27876
27877 /* confdefs.h. */
27878 _ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27882
27883
27884 $ac_includes_default
27885
27886 int
27887 main ()
27888 {
27889
27890 #ifndef $wx_func
27891 &$wx_func;
27892 #endif
27893
27894
27895 ;
27896 return 0;
27897 }
27898
27899 _ACEOF
27900 rm -f conftest.$ac_objext conftest$ac_exeext
27901 if { (ac_try="$ac_link"
27902 case "(($ac_try" in
27903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27904 *) ac_try_echo=$ac_try;;
27905 esac
27906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27907 (eval "$ac_link") 2>conftest.er1
27908 ac_status=$?
27909 grep -v '^ *+' conftest.er1 >conftest.err
27910 rm -f conftest.er1
27911 cat conftest.err >&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); } && {
27914 test -z "$ac_cxx_werror_flag" ||
27915 test ! -s conftest.err
27916 } && test -s conftest$ac_exeext &&
27917 $as_test_x conftest$ac_exeext; then
27918 eval wx_cv_func_$wx_func=yes
27919 else
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27922
27923 eval wx_cv_func_$wx_func=no
27924 fi
27925
27926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27927 conftest$ac_exeext conftest.$ac_ext
27928
27929 fi
27930 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27931 { echo "$as_me:$LINENO: result: $ac_res" >&5
27932 echo "${ECHO_T}$ac_res" >&6; }
27933
27934 if eval test \$wx_cv_func_$wx_func = yes
27935 then
27936 cat >>confdefs.h <<_ACEOF
27937 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27938 _ACEOF
27939
27940
27941 else
27942 :
27943
27944 fi
27945 done
27946
27947 fi
27948 ac_ext=c
27949 ac_cpp='$CPP $CPPFLAGS'
27950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27953
27954
27955
27956
27957 if test "$wxUSE_REGEX" != "no"; then
27958 cat >>confdefs.h <<\_ACEOF
27959 #define wxUSE_REGEX 1
27960 _ACEOF
27961
27962
27963 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27964 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27965 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27966 wxUSE_REGEX=builtin
27967 fi
27968
27969 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27970 { echo "$as_me:$LINENO: checking for regex.h" >&5
27971 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27972 if test "${ac_cv_header_regex_h+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27974 else
27975 cat >conftest.$ac_ext <<_ACEOF
27976 /* confdefs.h. */
27977 _ACEOF
27978 cat confdefs.h >>conftest.$ac_ext
27979 cat >>conftest.$ac_ext <<_ACEOF
27980 /* end confdefs.h. */
27981
27982
27983 #include <regex.h>
27984 _ACEOF
27985 rm -f conftest.$ac_objext
27986 if { (ac_try="$ac_compile"
27987 case "(($ac_try" in
27988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27989 *) ac_try_echo=$ac_try;;
27990 esac
27991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992 (eval "$ac_compile") 2>conftest.er1
27993 ac_status=$?
27994 grep -v '^ *+' conftest.er1 >conftest.err
27995 rm -f conftest.er1
27996 cat conftest.err >&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } && {
27999 test -z "$ac_c_werror_flag" ||
28000 test ! -s conftest.err
28001 } && test -s conftest.$ac_objext; then
28002 ac_cv_header_regex_h=yes
28003 else
28004 echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.$ac_ext >&5
28006
28007 ac_cv_header_regex_h=no
28008 fi
28009
28010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28011 fi
28012 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28013 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28014 if test $ac_cv_header_regex_h = yes; then
28015
28016
28017 for ac_func in regcomp re_search
28018 do
28019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28023 echo $ECHO_N "(cached) $ECHO_C" >&6
28024 else
28025 cat >conftest.$ac_ext <<_ACEOF
28026 /* confdefs.h. */
28027 _ACEOF
28028 cat confdefs.h >>conftest.$ac_ext
28029 cat >>conftest.$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28033 #define $ac_func innocuous_$ac_func
28034
28035 /* System header to define __stub macros and hopefully few prototypes,
28036 which can conflict with char $ac_func (); below.
28037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28038 <limits.h> exists even on freestanding compilers. */
28039
28040 #ifdef __STDC__
28041 # include <limits.h>
28042 #else
28043 # include <assert.h>
28044 #endif
28045
28046 #undef $ac_func
28047
28048 /* Override any GCC internal prototype to avoid an error.
28049 Use char because int might match the return type of a GCC
28050 builtin and then its argument prototype would still apply. */
28051 #ifdef __cplusplus
28052 extern "C"
28053 #endif
28054 char $ac_func ();
28055 /* The GNU C library defines this for functions which it implements
28056 to always fail with ENOSYS. Some functions are actually named
28057 something starting with __ and the normal name is an alias. */
28058 #if defined __stub_$ac_func || defined __stub___$ac_func
28059 choke me
28060 #endif
28061
28062 int
28063 main ()
28064 {
28065 return $ac_func ();
28066 ;
28067 return 0;
28068 }
28069 _ACEOF
28070 rm -f conftest.$ac_objext conftest$ac_exeext
28071 if { (ac_try="$ac_link"
28072 case "(($ac_try" in
28073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28075 esac
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_link") 2>conftest.er1
28078 ac_status=$?
28079 grep -v '^ *+' conftest.er1 >conftest.err
28080 rm -f conftest.er1
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && {
28084 test -z "$ac_c_werror_flag" ||
28085 test ! -s conftest.err
28086 } && test -s conftest$ac_exeext &&
28087 $as_test_x conftest$ac_exeext; then
28088 eval "$as_ac_var=yes"
28089 else
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093 eval "$as_ac_var=no"
28094 fi
28095
28096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28097 conftest$ac_exeext conftest.$ac_ext
28098 fi
28099 ac_res=`eval echo '${'$as_ac_var'}'`
28100 { echo "$as_me:$LINENO: result: $ac_res" >&5
28101 echo "${ECHO_T}$ac_res" >&6; }
28102 if test `eval echo '${'$as_ac_var'}'` = yes; then
28103 cat >>confdefs.h <<_ACEOF
28104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28105 _ACEOF
28106
28107 fi
28108 done
28109
28110 fi
28111
28112
28113
28114 if test "x$ac_cv_func_regcomp" != "xyes"; then
28115 if test "$wxUSE_REGEX" = "sys" ; then
28116 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28117 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28118 { (exit 1); exit 1; }; }
28119 else
28120 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28121 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28122 wxUSE_REGEX=builtin
28123 fi
28124 else
28125 wxUSE_REGEX=sys
28126 cat >>confdefs.h <<\_ACEOF
28127 #define WX_NO_REGEX_ADVANCED 1
28128 _ACEOF
28129
28130 fi
28131 fi
28132 fi
28133
28134
28135 ZLIB_LINK=
28136 if test "$wxUSE_ZLIB" != "no" ; then
28137 cat >>confdefs.h <<\_ACEOF
28138 #define wxUSE_ZLIB 1
28139 _ACEOF
28140
28141
28142 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28143 if test "$USE_DARWIN" = 1; then
28144 system_zlib_h_ok="yes"
28145 else
28146 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28147 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28148 if test "${ac_cv_header_zlib_h+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 else
28151 if test "$cross_compiling" = yes; then
28152 unset ac_cv_header_zlib_h
28153
28154 else
28155 cat >conftest.$ac_ext <<_ACEOF
28156 /* confdefs.h. */
28157 _ACEOF
28158 cat confdefs.h >>conftest.$ac_ext
28159 cat >>conftest.$ac_ext <<_ACEOF
28160 /* end confdefs.h. */
28161
28162 #include <zlib.h>
28163 #include <stdio.h>
28164
28165 int main()
28166 {
28167 FILE *f=fopen("conftestval", "w");
28168 if (!f) exit(1);
28169 fprintf(f, "%s",
28170 ZLIB_VERSION[0] == '1' &&
28171 (ZLIB_VERSION[2] > '1' ||
28172 (ZLIB_VERSION[2] == '1' &&
28173 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28174 exit(0);
28175 }
28176
28177 _ACEOF
28178 rm -f conftest$ac_exeext
28179 if { (ac_try="$ac_link"
28180 case "(($ac_try" in
28181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28182 *) ac_try_echo=$ac_try;;
28183 esac
28184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28185 (eval "$ac_link") 2>&5
28186 ac_status=$?
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28189 { (case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28192 esac
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_try") 2>&5
28195 ac_status=$?
28196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28197 (exit $ac_status); }; }; then
28198 ac_cv_header_zlib_h=`cat conftestval`
28199 else
28200 echo "$as_me: program exited with status $ac_status" >&5
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.$ac_ext >&5
28203
28204 ( exit $ac_status )
28205 ac_cv_header_zlib_h=no
28206 fi
28207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28208 fi
28209
28210
28211
28212 fi
28213 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28214 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28215 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28216 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28217 if test "${ac_cv_header_zlib_h+set}" = set; then
28218 echo $ECHO_N "(cached) $ECHO_C" >&6
28219 else
28220 cat >conftest.$ac_ext <<_ACEOF
28221 /* confdefs.h. */
28222 _ACEOF
28223 cat confdefs.h >>conftest.$ac_ext
28224 cat >>conftest.$ac_ext <<_ACEOF
28225 /* end confdefs.h. */
28226
28227
28228 #include <zlib.h>
28229 _ACEOF
28230 rm -f conftest.$ac_objext
28231 if { (ac_try="$ac_compile"
28232 case "(($ac_try" in
28233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28234 *) ac_try_echo=$ac_try;;
28235 esac
28236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 (eval "$ac_compile") 2>conftest.er1
28238 ac_status=$?
28239 grep -v '^ *+' conftest.er1 >conftest.err
28240 rm -f conftest.er1
28241 cat conftest.err >&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } && {
28244 test -z "$ac_c_werror_flag" ||
28245 test ! -s conftest.err
28246 } && test -s conftest.$ac_objext; then
28247 ac_cv_header_zlib_h=yes
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28251
28252 ac_cv_header_zlib_h=no
28253 fi
28254
28255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28256 fi
28257 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28258 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28259
28260
28261
28262 system_zlib_h_ok=$ac_cv_header_zlib_h
28263 fi
28264
28265 if test "$system_zlib_h_ok" = "yes"; then
28266 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28267 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28268 if test "${ac_cv_lib_z_deflate+set}" = set; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28270 else
28271 ac_check_lib_save_LIBS=$LIBS
28272 LIBS="-lz $LIBS"
28273 cat >conftest.$ac_ext <<_ACEOF
28274 /* confdefs.h. */
28275 _ACEOF
28276 cat confdefs.h >>conftest.$ac_ext
28277 cat >>conftest.$ac_ext <<_ACEOF
28278 /* end confdefs.h. */
28279
28280 /* Override any GCC internal prototype to avoid an error.
28281 Use char because int might match the return type of a GCC
28282 builtin and then its argument prototype would still apply. */
28283 #ifdef __cplusplus
28284 extern "C"
28285 #endif
28286 char deflate ();
28287 int
28288 main ()
28289 {
28290 return deflate ();
28291 ;
28292 return 0;
28293 }
28294 _ACEOF
28295 rm -f conftest.$ac_objext conftest$ac_exeext
28296 if { (ac_try="$ac_link"
28297 case "(($ac_try" in
28298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28299 *) ac_try_echo=$ac_try;;
28300 esac
28301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28302 (eval "$ac_link") 2>conftest.er1
28303 ac_status=$?
28304 grep -v '^ *+' conftest.er1 >conftest.err
28305 rm -f conftest.er1
28306 cat conftest.err >&5
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); } && {
28309 test -z "$ac_c_werror_flag" ||
28310 test ! -s conftest.err
28311 } && test -s conftest$ac_exeext &&
28312 $as_test_x conftest$ac_exeext; then
28313 ac_cv_lib_z_deflate=yes
28314 else
28315 echo "$as_me: failed program was:" >&5
28316 sed 's/^/| /' conftest.$ac_ext >&5
28317
28318 ac_cv_lib_z_deflate=no
28319 fi
28320
28321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28322 conftest$ac_exeext conftest.$ac_ext
28323 LIBS=$ac_check_lib_save_LIBS
28324 fi
28325 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28326 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28327 if test $ac_cv_lib_z_deflate = yes; then
28328 ZLIB_LINK=" -lz"
28329 fi
28330
28331 fi
28332
28333 if test "x$ZLIB_LINK" = "x" ; then
28334 if test "$wxUSE_ZLIB" = "sys" ; then
28335 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28336 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28337 { (exit 1); exit 1; }; }
28338 else
28339 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28340 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28341 wxUSE_ZLIB=builtin
28342 fi
28343 else
28344 wxUSE_ZLIB=sys
28345 fi
28346 fi
28347 fi
28348
28349
28350 PNG_LINK=
28351 if test "$wxUSE_LIBPNG" != "no" ; then
28352 cat >>confdefs.h <<\_ACEOF
28353 #define wxUSE_LIBPNG 1
28354 _ACEOF
28355
28356
28357 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28358 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28359 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28360 wxUSE_LIBPNG=sys
28361 fi
28362
28363 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28364 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28365 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28366 wxUSE_LIBPNG=builtin
28367 fi
28368
28369 if test "$wxUSE_MGL" != 1 ; then
28370 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28371 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28372 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28373 if test "${ac_cv_header_png_h+set}" = set; then
28374 echo $ECHO_N "(cached) $ECHO_C" >&6
28375 else
28376 if test "$cross_compiling" = yes; then
28377 unset ac_cv_header_png_h
28378
28379 else
28380 cat >conftest.$ac_ext <<_ACEOF
28381 /* confdefs.h. */
28382 _ACEOF
28383 cat confdefs.h >>conftest.$ac_ext
28384 cat >>conftest.$ac_ext <<_ACEOF
28385 /* end confdefs.h. */
28386
28387 #include <png.h>
28388 #include <stdio.h>
28389
28390 int main()
28391 {
28392 FILE *f=fopen("conftestval", "w");
28393 if (!f) exit(1);
28394 fprintf(f, "%s",
28395 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28396 exit(0);
28397 }
28398
28399 _ACEOF
28400 rm -f conftest$ac_exeext
28401 if { (ac_try="$ac_link"
28402 case "(($ac_try" in
28403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28404 *) ac_try_echo=$ac_try;;
28405 esac
28406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28407 (eval "$ac_link") 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28411 { (case "(($ac_try" in
28412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28413 *) ac_try_echo=$ac_try;;
28414 esac
28415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28416 (eval "$ac_try") 2>&5
28417 ac_status=$?
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 ac_cv_header_png_h=`cat conftestval`
28421 else
28422 echo "$as_me: program exited with status $ac_status" >&5
28423 echo "$as_me: failed program was:" >&5
28424 sed 's/^/| /' conftest.$ac_ext >&5
28425
28426 ( exit $ac_status )
28427 ac_cv_header_png_h=no
28428 fi
28429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28430 fi
28431
28432
28433
28434 fi
28435 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28436 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28437 { echo "$as_me:$LINENO: checking for png.h" >&5
28438 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28439 if test "${ac_cv_header_png_h+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442 cat >conftest.$ac_ext <<_ACEOF
28443 /* confdefs.h. */
28444 _ACEOF
28445 cat confdefs.h >>conftest.$ac_ext
28446 cat >>conftest.$ac_ext <<_ACEOF
28447 /* end confdefs.h. */
28448
28449
28450 #include <png.h>
28451 _ACEOF
28452 rm -f conftest.$ac_objext
28453 if { (ac_try="$ac_compile"
28454 case "(($ac_try" in
28455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28456 *) ac_try_echo=$ac_try;;
28457 esac
28458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28459 (eval "$ac_compile") 2>conftest.er1
28460 ac_status=$?
28461 grep -v '^ *+' conftest.er1 >conftest.err
28462 rm -f conftest.er1
28463 cat conftest.err >&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } && {
28466 test -z "$ac_c_werror_flag" ||
28467 test ! -s conftest.err
28468 } && test -s conftest.$ac_objext; then
28469 ac_cv_header_png_h=yes
28470 else
28471 echo "$as_me: failed program was:" >&5
28472 sed 's/^/| /' conftest.$ac_ext >&5
28473
28474 ac_cv_header_png_h=no
28475 fi
28476
28477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28478 fi
28479 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28480 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28481
28482
28483
28484 if test "$ac_cv_header_png_h" = "yes"; then
28485 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28486 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28487 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28488 echo $ECHO_N "(cached) $ECHO_C" >&6
28489 else
28490 ac_check_lib_save_LIBS=$LIBS
28491 LIBS="-lpng -lz -lm $LIBS"
28492 cat >conftest.$ac_ext <<_ACEOF
28493 /* confdefs.h. */
28494 _ACEOF
28495 cat confdefs.h >>conftest.$ac_ext
28496 cat >>conftest.$ac_ext <<_ACEOF
28497 /* end confdefs.h. */
28498
28499 /* Override any GCC internal prototype to avoid an error.
28500 Use char because int might match the return type of a GCC
28501 builtin and then its argument prototype would still apply. */
28502 #ifdef __cplusplus
28503 extern "C"
28504 #endif
28505 char png_check_sig ();
28506 int
28507 main ()
28508 {
28509 return png_check_sig ();
28510 ;
28511 return 0;
28512 }
28513 _ACEOF
28514 rm -f conftest.$ac_objext conftest$ac_exeext
28515 if { (ac_try="$ac_link"
28516 case "(($ac_try" in
28517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28518 *) ac_try_echo=$ac_try;;
28519 esac
28520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28521 (eval "$ac_link") 2>conftest.er1
28522 ac_status=$?
28523 grep -v '^ *+' conftest.er1 >conftest.err
28524 rm -f conftest.er1
28525 cat conftest.err >&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); } && {
28528 test -z "$ac_c_werror_flag" ||
28529 test ! -s conftest.err
28530 } && test -s conftest$ac_exeext &&
28531 $as_test_x conftest$ac_exeext; then
28532 ac_cv_lib_png_png_check_sig=yes
28533 else
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.$ac_ext >&5
28536
28537 ac_cv_lib_png_png_check_sig=no
28538 fi
28539
28540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28541 conftest$ac_exeext conftest.$ac_ext
28542 LIBS=$ac_check_lib_save_LIBS
28543 fi
28544 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28545 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28546 if test $ac_cv_lib_png_png_check_sig = yes; then
28547 PNG_LINK=" -lpng -lz"
28548 fi
28549
28550 fi
28551
28552 if test "x$PNG_LINK" = "x" ; then
28553 if test "$wxUSE_LIBPNG" = "sys" ; then
28554 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28555 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28556 { (exit 1); exit 1; }; }
28557 else
28558 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28559 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28560 wxUSE_LIBPNG=builtin
28561 fi
28562 else
28563 wxUSE_LIBPNG=sys
28564 fi
28565 fi
28566 fi
28567
28568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28569 fi
28570
28571
28572 JPEG_LINK=
28573 if test "$wxUSE_LIBJPEG" != "no" ; then
28574 cat >>confdefs.h <<\_ACEOF
28575 #define wxUSE_LIBJPEG 1
28576 _ACEOF
28577
28578
28579 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28580 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28581 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28582 wxUSE_LIBJPEG=sys
28583 fi
28584
28585 if test "$wxUSE_MGL" != 1 ; then
28586 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28587 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28588 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28589 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28590 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 else
28592 cat >conftest.$ac_ext <<_ACEOF
28593 /* confdefs.h. */
28594 _ACEOF
28595 cat confdefs.h >>conftest.$ac_ext
28596 cat >>conftest.$ac_ext <<_ACEOF
28597 /* end confdefs.h. */
28598
28599 #undef HAVE_STDLIB_H
28600 #include <stdio.h>
28601 #include <jpeglib.h>
28602
28603 int
28604 main ()
28605 {
28606
28607
28608 ;
28609 return 0;
28610 }
28611 _ACEOF
28612 rm -f conftest.$ac_objext
28613 if { (ac_try="$ac_compile"
28614 case "(($ac_try" in
28615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28616 *) ac_try_echo=$ac_try;;
28617 esac
28618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28619 (eval "$ac_compile") 2>conftest.er1
28620 ac_status=$?
28621 grep -v '^ *+' conftest.er1 >conftest.err
28622 rm -f conftest.er1
28623 cat conftest.err >&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); } && {
28626 test -z "$ac_c_werror_flag" ||
28627 test ! -s conftest.err
28628 } && test -s conftest.$ac_objext; then
28629 ac_cv_header_jpeglib_h=yes
28630 else
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.$ac_ext >&5
28633
28634 ac_cv_header_jpeglib_h=no
28635
28636 fi
28637
28638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28639
28640 fi
28641
28642 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28643 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28644
28645 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28646 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28647 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28648 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28649 echo $ECHO_N "(cached) $ECHO_C" >&6
28650 else
28651 ac_check_lib_save_LIBS=$LIBS
28652 LIBS="-ljpeg $LIBS"
28653 cat >conftest.$ac_ext <<_ACEOF
28654 /* confdefs.h. */
28655 _ACEOF
28656 cat confdefs.h >>conftest.$ac_ext
28657 cat >>conftest.$ac_ext <<_ACEOF
28658 /* end confdefs.h. */
28659
28660 /* Override any GCC internal prototype to avoid an error.
28661 Use char because int might match the return type of a GCC
28662 builtin and then its argument prototype would still apply. */
28663 #ifdef __cplusplus
28664 extern "C"
28665 #endif
28666 char jpeg_read_header ();
28667 int
28668 main ()
28669 {
28670 return jpeg_read_header ();
28671 ;
28672 return 0;
28673 }
28674 _ACEOF
28675 rm -f conftest.$ac_objext conftest$ac_exeext
28676 if { (ac_try="$ac_link"
28677 case "(($ac_try" in
28678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28679 *) ac_try_echo=$ac_try;;
28680 esac
28681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28682 (eval "$ac_link") 2>conftest.er1
28683 ac_status=$?
28684 grep -v '^ *+' conftest.er1 >conftest.err
28685 rm -f conftest.er1
28686 cat conftest.err >&5
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); } && {
28689 test -z "$ac_c_werror_flag" ||
28690 test ! -s conftest.err
28691 } && test -s conftest$ac_exeext &&
28692 $as_test_x conftest$ac_exeext; then
28693 ac_cv_lib_jpeg_jpeg_read_header=yes
28694 else
28695 echo "$as_me: failed program was:" >&5
28696 sed 's/^/| /' conftest.$ac_ext >&5
28697
28698 ac_cv_lib_jpeg_jpeg_read_header=no
28699 fi
28700
28701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28702 conftest$ac_exeext conftest.$ac_ext
28703 LIBS=$ac_check_lib_save_LIBS
28704 fi
28705 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28706 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28707 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28708 JPEG_LINK=" -ljpeg"
28709 fi
28710
28711 fi
28712
28713 if test "x$JPEG_LINK" = "x" ; then
28714 if test "$wxUSE_LIBJPEG" = "sys" ; then
28715 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28716 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28717 { (exit 1); exit 1; }; }
28718 else
28719 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28720 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28721 wxUSE_LIBJPEG=builtin
28722 fi
28723 else
28724 wxUSE_LIBJPEG=sys
28725
28726 if test "$wxUSE_MSW" = 1; then
28727 { echo "$as_me:$LINENO: checking for boolean" >&5
28728 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28729 if test "${ac_cv_type_boolean+set}" = set; then
28730 echo $ECHO_N "(cached) $ECHO_C" >&6
28731 else
28732 cat >conftest.$ac_ext <<_ACEOF
28733 /* confdefs.h. */
28734 _ACEOF
28735 cat confdefs.h >>conftest.$ac_ext
28736 cat >>conftest.$ac_ext <<_ACEOF
28737 /* end confdefs.h. */
28738 #include <windows.h>
28739
28740 typedef boolean ac__type_new_;
28741 int
28742 main ()
28743 {
28744 if ((ac__type_new_ *) 0)
28745 return 0;
28746 if (sizeof (ac__type_new_))
28747 return 0;
28748 ;
28749 return 0;
28750 }
28751 _ACEOF
28752 rm -f conftest.$ac_objext
28753 if { (ac_try="$ac_compile"
28754 case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28757 esac
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_compile") 2>conftest.er1
28760 ac_status=$?
28761 grep -v '^ *+' conftest.er1 >conftest.err
28762 rm -f conftest.er1
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } && {
28766 test -z "$ac_c_werror_flag" ||
28767 test ! -s conftest.err
28768 } && test -s conftest.$ac_objext; then
28769 ac_cv_type_boolean=yes
28770 else
28771 echo "$as_me: failed program was:" >&5
28772 sed 's/^/| /' conftest.$ac_ext >&5
28773
28774 ac_cv_type_boolean=no
28775 fi
28776
28777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28778 fi
28779 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28780 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28781 if test $ac_cv_type_boolean = yes; then
28782
28783 cat >>confdefs.h <<_ACEOF
28784 #define HAVE_BOOLEAN 1
28785 _ACEOF
28786
28787
28788 { echo "$as_me:$LINENO: checking for boolean" >&5
28789 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28790 if test "${ac_cv_type_boolean+set}" = set; then
28791 echo $ECHO_N "(cached) $ECHO_C" >&6
28792 else
28793 cat >conftest.$ac_ext <<_ACEOF
28794 /* confdefs.h. */
28795 _ACEOF
28796 cat confdefs.h >>conftest.$ac_ext
28797 cat >>conftest.$ac_ext <<_ACEOF
28798 /* end confdefs.h. */
28799
28800 #undef HAVE_BOOLEAN
28801 #include <stdio.h>
28802 #include <jpeglib.h>
28803
28804
28805 typedef boolean ac__type_new_;
28806 int
28807 main ()
28808 {
28809 if ((ac__type_new_ *) 0)
28810 return 0;
28811 if (sizeof (ac__type_new_))
28812 return 0;
28813 ;
28814 return 0;
28815 }
28816 _ACEOF
28817 rm -f conftest.$ac_objext
28818 if { (ac_try="$ac_compile"
28819 case "(($ac_try" in
28820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28821 *) ac_try_echo=$ac_try;;
28822 esac
28823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28824 (eval "$ac_compile") 2>conftest.er1
28825 ac_status=$?
28826 grep -v '^ *+' conftest.er1 >conftest.err
28827 rm -f conftest.er1
28828 cat conftest.err >&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); } && {
28831 test -z "$ac_c_werror_flag" ||
28832 test ! -s conftest.err
28833 } && test -s conftest.$ac_objext; then
28834 ac_cv_type_boolean=yes
28835 else
28836 echo "$as_me: failed program was:" >&5
28837 sed 's/^/| /' conftest.$ac_ext >&5
28838
28839 ac_cv_type_boolean=no
28840 fi
28841
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843 fi
28844 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28845 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28846
28847 # The cast to long int works around a bug in the HP C Compiler
28848 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28849 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28850 # This bug is HP SR number 8606223364.
28851 { echo "$as_me:$LINENO: checking size of boolean" >&5
28852 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28853 if test "${ac_cv_sizeof_boolean+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28855 else
28856 if test "$cross_compiling" = yes; then
28857 # Depending upon the size, compute the lo and hi bounds.
28858 cat >conftest.$ac_ext <<_ACEOF
28859 /* confdefs.h. */
28860 _ACEOF
28861 cat confdefs.h >>conftest.$ac_ext
28862 cat >>conftest.$ac_ext <<_ACEOF
28863 /* end confdefs.h. */
28864
28865 #undef HAVE_BOOLEAN
28866 #include <stdio.h>
28867 #include <jpeglib.h>
28868
28869
28870 typedef boolean ac__type_sizeof_;
28871 int
28872 main ()
28873 {
28874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28875 test_array [0] = 0
28876
28877 ;
28878 return 0;
28879 }
28880 _ACEOF
28881 rm -f conftest.$ac_objext
28882 if { (ac_try="$ac_compile"
28883 case "(($ac_try" in
28884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28885 *) ac_try_echo=$ac_try;;
28886 esac
28887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28888 (eval "$ac_compile") 2>conftest.er1
28889 ac_status=$?
28890 grep -v '^ *+' conftest.er1 >conftest.err
28891 rm -f conftest.er1
28892 cat conftest.err >&5
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); } && {
28895 test -z "$ac_c_werror_flag" ||
28896 test ! -s conftest.err
28897 } && test -s conftest.$ac_objext; then
28898 ac_lo=0 ac_mid=0
28899 while :; do
28900 cat >conftest.$ac_ext <<_ACEOF
28901 /* confdefs.h. */
28902 _ACEOF
28903 cat confdefs.h >>conftest.$ac_ext
28904 cat >>conftest.$ac_ext <<_ACEOF
28905 /* end confdefs.h. */
28906
28907 #undef HAVE_BOOLEAN
28908 #include <stdio.h>
28909 #include <jpeglib.h>
28910
28911
28912 typedef boolean ac__type_sizeof_;
28913 int
28914 main ()
28915 {
28916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28917 test_array [0] = 0
28918
28919 ;
28920 return 0;
28921 }
28922 _ACEOF
28923 rm -f conftest.$ac_objext
28924 if { (ac_try="$ac_compile"
28925 case "(($ac_try" in
28926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28927 *) ac_try_echo=$ac_try;;
28928 esac
28929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28930 (eval "$ac_compile") 2>conftest.er1
28931 ac_status=$?
28932 grep -v '^ *+' conftest.er1 >conftest.err
28933 rm -f conftest.er1
28934 cat conftest.err >&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } && {
28937 test -z "$ac_c_werror_flag" ||
28938 test ! -s conftest.err
28939 } && test -s conftest.$ac_objext; then
28940 ac_hi=$ac_mid; break
28941 else
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.$ac_ext >&5
28944
28945 ac_lo=`expr $ac_mid + 1`
28946 if test $ac_lo -le $ac_mid; then
28947 ac_lo= ac_hi=
28948 break
28949 fi
28950 ac_mid=`expr 2 '*' $ac_mid + 1`
28951 fi
28952
28953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28954 done
28955 else
28956 echo "$as_me: failed program was:" >&5
28957 sed 's/^/| /' conftest.$ac_ext >&5
28958
28959 cat >conftest.$ac_ext <<_ACEOF
28960 /* confdefs.h. */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965
28966 #undef HAVE_BOOLEAN
28967 #include <stdio.h>
28968 #include <jpeglib.h>
28969
28970
28971 typedef boolean ac__type_sizeof_;
28972 int
28973 main ()
28974 {
28975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28976 test_array [0] = 0
28977
28978 ;
28979 return 0;
28980 }
28981 _ACEOF
28982 rm -f conftest.$ac_objext
28983 if { (ac_try="$ac_compile"
28984 case "(($ac_try" in
28985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28986 *) ac_try_echo=$ac_try;;
28987 esac
28988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28989 (eval "$ac_compile") 2>conftest.er1
28990 ac_status=$?
28991 grep -v '^ *+' conftest.er1 >conftest.err
28992 rm -f conftest.er1
28993 cat conftest.err >&5
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } && {
28996 test -z "$ac_c_werror_flag" ||
28997 test ! -s conftest.err
28998 } && test -s conftest.$ac_objext; then
28999 ac_hi=-1 ac_mid=-1
29000 while :; do
29001 cat >conftest.$ac_ext <<_ACEOF
29002 /* confdefs.h. */
29003 _ACEOF
29004 cat confdefs.h >>conftest.$ac_ext
29005 cat >>conftest.$ac_ext <<_ACEOF
29006 /* end confdefs.h. */
29007
29008 #undef HAVE_BOOLEAN
29009 #include <stdio.h>
29010 #include <jpeglib.h>
29011
29012
29013 typedef boolean ac__type_sizeof_;
29014 int
29015 main ()
29016 {
29017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29018 test_array [0] = 0
29019
29020 ;
29021 return 0;
29022 }
29023 _ACEOF
29024 rm -f conftest.$ac_objext
29025 if { (ac_try="$ac_compile"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_compile") 2>conftest.er1
29032 ac_status=$?
29033 grep -v '^ *+' conftest.er1 >conftest.err
29034 rm -f conftest.er1
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest.$ac_objext; then
29041 ac_lo=$ac_mid; break
29042 else
29043 echo "$as_me: failed program was:" >&5
29044 sed 's/^/| /' conftest.$ac_ext >&5
29045
29046 ac_hi=`expr '(' $ac_mid ')' - 1`
29047 if test $ac_mid -le $ac_hi; then
29048 ac_lo= ac_hi=
29049 break
29050 fi
29051 ac_mid=`expr 2 '*' $ac_mid`
29052 fi
29053
29054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29055 done
29056 else
29057 echo "$as_me: failed program was:" >&5
29058 sed 's/^/| /' conftest.$ac_ext >&5
29059
29060 ac_lo= ac_hi=
29061 fi
29062
29063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29064 fi
29065
29066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29067 # Binary search between lo and hi bounds.
29068 while test "x$ac_lo" != "x$ac_hi"; do
29069 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29070 cat >conftest.$ac_ext <<_ACEOF
29071 /* confdefs.h. */
29072 _ACEOF
29073 cat confdefs.h >>conftest.$ac_ext
29074 cat >>conftest.$ac_ext <<_ACEOF
29075 /* end confdefs.h. */
29076
29077 #undef HAVE_BOOLEAN
29078 #include <stdio.h>
29079 #include <jpeglib.h>
29080
29081
29082 typedef boolean ac__type_sizeof_;
29083 int
29084 main ()
29085 {
29086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29087 test_array [0] = 0
29088
29089 ;
29090 return 0;
29091 }
29092 _ACEOF
29093 rm -f conftest.$ac_objext
29094 if { (ac_try="$ac_compile"
29095 case "(($ac_try" in
29096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29097 *) ac_try_echo=$ac_try;;
29098 esac
29099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29100 (eval "$ac_compile") 2>conftest.er1
29101 ac_status=$?
29102 grep -v '^ *+' conftest.er1 >conftest.err
29103 rm -f conftest.er1
29104 cat conftest.err >&5
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); } && {
29107 test -z "$ac_c_werror_flag" ||
29108 test ! -s conftest.err
29109 } && test -s conftest.$ac_objext; then
29110 ac_hi=$ac_mid
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ac_lo=`expr '(' $ac_mid ')' + 1`
29116 fi
29117
29118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29119 done
29120 case $ac_lo in
29121 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29122 '') if test "$ac_cv_type_boolean" = yes; then
29123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29124 See \`config.log' for more details." >&5
29125 echo "$as_me: error: cannot compute sizeof (boolean)
29126 See \`config.log' for more details." >&2;}
29127 { (exit 77); exit 77; }; }
29128 else
29129 ac_cv_sizeof_boolean=0
29130 fi ;;
29131 esac
29132 else
29133 cat >conftest.$ac_ext <<_ACEOF
29134 /* confdefs.h. */
29135 _ACEOF
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29139
29140 #undef HAVE_BOOLEAN
29141 #include <stdio.h>
29142 #include <jpeglib.h>
29143
29144
29145 typedef boolean ac__type_sizeof_;
29146 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29147 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29148 #include <stdio.h>
29149 #include <stdlib.h>
29150 int
29151 main ()
29152 {
29153
29154 FILE *f = fopen ("conftest.val", "w");
29155 if (! f)
29156 return 1;
29157 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29158 {
29159 long int i = longval ();
29160 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29161 return 1;
29162 fprintf (f, "%ld\n", i);
29163 }
29164 else
29165 {
29166 unsigned long int i = ulongval ();
29167 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29168 return 1;
29169 fprintf (f, "%lu\n", i);
29170 }
29171 return ferror (f) || fclose (f) != 0;
29172
29173 ;
29174 return 0;
29175 }
29176 _ACEOF
29177 rm -f conftest$ac_exeext
29178 if { (ac_try="$ac_link"
29179 case "(($ac_try" in
29180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29181 *) ac_try_echo=$ac_try;;
29182 esac
29183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29184 (eval "$ac_link") 2>&5
29185 ac_status=$?
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29188 { (case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29191 esac
29192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_try") 2>&5
29194 ac_status=$?
29195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29196 (exit $ac_status); }; }; then
29197 ac_cv_sizeof_boolean=`cat conftest.val`
29198 else
29199 echo "$as_me: program exited with status $ac_status" >&5
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29202
29203 ( exit $ac_status )
29204 if test "$ac_cv_type_boolean" = yes; then
29205 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29206 See \`config.log' for more details." >&5
29207 echo "$as_me: error: cannot compute sizeof (boolean)
29208 See \`config.log' for more details." >&2;}
29209 { (exit 77); exit 77; }; }
29210 else
29211 ac_cv_sizeof_boolean=0
29212 fi
29213 fi
29214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29215 fi
29216 rm -f conftest.val
29217 fi
29218 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29219 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29220
29221
29222
29223 cat >>confdefs.h <<_ACEOF
29224 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29225 _ACEOF
29226
29227
29228 cat >>confdefs.h <<_ACEOF
29229 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29230 _ACEOF
29231
29232
29233 fi
29234
29235 fi
29236 fi
29237 fi
29238 fi
29239 fi
29240
29241
29242 TIFF_LINK=
29243 TIFF_PREREQ_LINKS=-lm
29244 if test "$wxUSE_LIBTIFF" != "no" ; then
29245 cat >>confdefs.h <<\_ACEOF
29246 #define wxUSE_LIBTIFF 1
29247 _ACEOF
29248
29249
29250 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29251 if test "$wxUSE_LIBJPEG" = "sys"; then
29252 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29253 fi
29254 if test "$wxUSE_ZLIB" = "sys"; then
29255 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29256 fi
29257 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29258 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29259 if test "${ac_cv_header_tiffio_h+set}" = set; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29261 else
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269
29270
29271 #include <tiffio.h>
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_cv_header_tiffio_h=yes
29291 else
29292 echo "$as_me: failed program was:" >&5
29293 sed 's/^/| /' conftest.$ac_ext >&5
29294
29295 ac_cv_header_tiffio_h=no
29296 fi
29297
29298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29299 fi
29300 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29301 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29302 if test $ac_cv_header_tiffio_h = yes; then
29303
29304 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29305 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29306 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29307 echo $ECHO_N "(cached) $ECHO_C" >&6
29308 else
29309 ac_check_lib_save_LIBS=$LIBS
29310 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29311 cat >conftest.$ac_ext <<_ACEOF
29312 /* confdefs.h. */
29313 _ACEOF
29314 cat confdefs.h >>conftest.$ac_ext
29315 cat >>conftest.$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29317
29318 /* Override any GCC internal prototype to avoid an error.
29319 Use char because int might match the return type of a GCC
29320 builtin and then its argument prototype would still apply. */
29321 #ifdef __cplusplus
29322 extern "C"
29323 #endif
29324 char TIFFError ();
29325 int
29326 main ()
29327 {
29328 return TIFFError ();
29329 ;
29330 return 0;
29331 }
29332 _ACEOF
29333 rm -f conftest.$ac_objext conftest$ac_exeext
29334 if { (ac_try="$ac_link"
29335 case "(($ac_try" in
29336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29337 *) ac_try_echo=$ac_try;;
29338 esac
29339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29340 (eval "$ac_link") 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } && {
29347 test -z "$ac_c_werror_flag" ||
29348 test ! -s conftest.err
29349 } && test -s conftest$ac_exeext &&
29350 $as_test_x conftest$ac_exeext; then
29351 ac_cv_lib_tiff_TIFFError=yes
29352 else
29353 echo "$as_me: failed program was:" >&5
29354 sed 's/^/| /' conftest.$ac_ext >&5
29355
29356 ac_cv_lib_tiff_TIFFError=no
29357 fi
29358
29359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29360 conftest$ac_exeext conftest.$ac_ext
29361 LIBS=$ac_check_lib_save_LIBS
29362 fi
29363 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29364 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29365 if test $ac_cv_lib_tiff_TIFFError = yes; then
29366 TIFF_LINK=" -ltiff"
29367 fi
29368
29369
29370 fi
29371
29372
29373
29374 if test "x$TIFF_LINK" = "x" ; then
29375 if test "$wxUSE_LIBTIFF" = "sys" ; then
29376 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29377 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29378 { (exit 1); exit 1; }; }
29379 else
29380 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29381 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29382 wxUSE_LIBTIFF=builtin
29383 fi
29384 else
29385 wxUSE_LIBTIFF=sys
29386 fi
29387 fi
29388 fi
29389
29390
29391 if test "$wxUSE_WCHAR_T" != "yes"; then
29392 if test "$wxUSE_EXPAT" != "no"; then
29393 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29394 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29395 wxUSE_EXPAT=no
29396 fi
29397 if test "$wxUSE_XML" != "no"; then
29398 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29399 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29400 wxUSE_XML=no
29401 fi
29402 fi
29403
29404 if test "$wxUSE_EXPAT" != "no"; then
29405 wxUSE_XML=yes
29406 cat >>confdefs.h <<\_ACEOF
29407 #define wxUSE_EXPAT 1
29408 _ACEOF
29409
29410 cat >>confdefs.h <<\_ACEOF
29411 #define wxUSE_XML 1
29412 _ACEOF
29413
29414
29415 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29416 { echo "$as_me:$LINENO: checking for expat.h" >&5
29417 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29418 if test "${ac_cv_header_expat_h+set}" = set; then
29419 echo $ECHO_N "(cached) $ECHO_C" >&6
29420 else
29421 cat >conftest.$ac_ext <<_ACEOF
29422 /* confdefs.h. */
29423 _ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29427
29428
29429 #include <expat.h>
29430 _ACEOF
29431 rm -f conftest.$ac_objext
29432 if { (ac_try="$ac_compile"
29433 case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29436 esac
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_compile") 2>conftest.er1
29439 ac_status=$?
29440 grep -v '^ *+' conftest.er1 >conftest.err
29441 rm -f conftest.er1
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } && {
29445 test -z "$ac_c_werror_flag" ||
29446 test ! -s conftest.err
29447 } && test -s conftest.$ac_objext; then
29448 ac_cv_header_expat_h=yes
29449 else
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29452
29453 ac_cv_header_expat_h=no
29454 fi
29455
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457 fi
29458 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29459 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29460 if test $ac_cv_header_expat_h = yes; then
29461 found_expat_h=1
29462 fi
29463
29464
29465 if test "x$found_expat_h" = "x1"; then
29466 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29467 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29468 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29469 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 else
29471
29472 ac_ext=cpp
29473 ac_cpp='$CXXCPP $CPPFLAGS'
29474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29477
29478 cat >conftest.$ac_ext <<_ACEOF
29479 /* confdefs.h. */
29480 _ACEOF
29481 cat confdefs.h >>conftest.$ac_ext
29482 cat >>conftest.$ac_ext <<_ACEOF
29483 /* end confdefs.h. */
29484 #include <expat.h>
29485 int
29486 main ()
29487 {
29488
29489 ;
29490 return 0;
29491 }
29492 _ACEOF
29493 rm -f conftest.$ac_objext
29494 if { (ac_try="$ac_compile"
29495 case "(($ac_try" in
29496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29497 *) ac_try_echo=$ac_try;;
29498 esac
29499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29500 (eval "$ac_compile") 2>conftest.er1
29501 ac_status=$?
29502 grep -v '^ *+' conftest.er1 >conftest.err
29503 rm -f conftest.er1
29504 cat conftest.err >&5
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); } && {
29507 test -z "$ac_cxx_werror_flag" ||
29508 test ! -s conftest.err
29509 } && test -s conftest.$ac_objext; then
29510 wx_cv_expat_is_not_broken=yes
29511 else
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29514
29515 wx_cv_expat_is_not_broken=no
29516
29517 fi
29518
29519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29520 ac_ext=c
29521 ac_cpp='$CPP $CPPFLAGS'
29522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29525
29526
29527
29528 fi
29529 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29530 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29531 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29532 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29533 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29534 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29535 echo $ECHO_N "(cached) $ECHO_C" >&6
29536 else
29537 ac_check_lib_save_LIBS=$LIBS
29538 LIBS="-lexpat $LIBS"
29539 cat >conftest.$ac_ext <<_ACEOF
29540 /* confdefs.h. */
29541 _ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29545
29546 /* Override any GCC internal prototype to avoid an error.
29547 Use char because int might match the return type of a GCC
29548 builtin and then its argument prototype would still apply. */
29549 #ifdef __cplusplus
29550 extern "C"
29551 #endif
29552 char XML_ParserCreate ();
29553 int
29554 main ()
29555 {
29556 return XML_ParserCreate ();
29557 ;
29558 return 0;
29559 }
29560 _ACEOF
29561 rm -f conftest.$ac_objext conftest$ac_exeext
29562 if { (ac_try="$ac_link"
29563 case "(($ac_try" in
29564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29565 *) ac_try_echo=$ac_try;;
29566 esac
29567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29568 (eval "$ac_link") 2>conftest.er1
29569 ac_status=$?
29570 grep -v '^ *+' conftest.er1 >conftest.err
29571 rm -f conftest.er1
29572 cat conftest.err >&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); } && {
29575 test -z "$ac_c_werror_flag" ||
29576 test ! -s conftest.err
29577 } && test -s conftest$ac_exeext &&
29578 $as_test_x conftest$ac_exeext; then
29579 ac_cv_lib_expat_XML_ParserCreate=yes
29580 else
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29583
29584 ac_cv_lib_expat_XML_ParserCreate=no
29585 fi
29586
29587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29588 conftest$ac_exeext conftest.$ac_ext
29589 LIBS=$ac_check_lib_save_LIBS
29590 fi
29591 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29592 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29593 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29594 EXPAT_LINK=" -lexpat"
29595 fi
29596
29597 fi
29598 fi
29599 if test "x$EXPAT_LINK" = "x" ; then
29600 if test "$wxUSE_EXPAT" = "sys" ; then
29601 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29602 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29603 { (exit 1); exit 1; }; }
29604 else
29605 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29606 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29607 wxUSE_EXPAT=builtin
29608 fi
29609 else
29610 wxUSE_EXPAT=sys
29611 fi
29612 fi
29613 if test "$wxUSE_EXPAT" = "builtin" ; then
29614 subdirs="$subdirs src/expat"
29615
29616 fi
29617 fi
29618
29619
29620
29621 if test "$wxUSE_LIBMSPACK" != "no"; then
29622 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29623 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29624 if test "${ac_cv_header_mspack_h+set}" = set; then
29625 echo $ECHO_N "(cached) $ECHO_C" >&6
29626 else
29627 cat >conftest.$ac_ext <<_ACEOF
29628 /* confdefs.h. */
29629 _ACEOF
29630 cat confdefs.h >>conftest.$ac_ext
29631 cat >>conftest.$ac_ext <<_ACEOF
29632 /* end confdefs.h. */
29633
29634
29635 #include <mspack.h>
29636 _ACEOF
29637 rm -f conftest.$ac_objext
29638 if { (ac_try="$ac_compile"
29639 case "(($ac_try" in
29640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29641 *) ac_try_echo=$ac_try;;
29642 esac
29643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29644 (eval "$ac_compile") 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } && {
29651 test -z "$ac_c_werror_flag" ||
29652 test ! -s conftest.err
29653 } && test -s conftest.$ac_objext; then
29654 ac_cv_header_mspack_h=yes
29655 else
29656 echo "$as_me: failed program was:" >&5
29657 sed 's/^/| /' conftest.$ac_ext >&5
29658
29659 ac_cv_header_mspack_h=no
29660 fi
29661
29662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663 fi
29664 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29665 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29666 if test $ac_cv_header_mspack_h = yes; then
29667 found_mspack_h=1
29668 fi
29669
29670
29671 if test "x$found_mspack_h" = "x1"; then
29672 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29673 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29674 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29677 ac_check_lib_save_LIBS=$LIBS
29678 LIBS="-lmspack $LIBS"
29679 cat >conftest.$ac_ext <<_ACEOF
29680 /* confdefs.h. */
29681 _ACEOF
29682 cat confdefs.h >>conftest.$ac_ext
29683 cat >>conftest.$ac_ext <<_ACEOF
29684 /* end confdefs.h. */
29685
29686 /* Override any GCC internal prototype to avoid an error.
29687 Use char because int might match the return type of a GCC
29688 builtin and then its argument prototype would still apply. */
29689 #ifdef __cplusplus
29690 extern "C"
29691 #endif
29692 char mspack_create_chm_decompressor ();
29693 int
29694 main ()
29695 {
29696 return mspack_create_chm_decompressor ();
29697 ;
29698 return 0;
29699 }
29700 _ACEOF
29701 rm -f conftest.$ac_objext conftest$ac_exeext
29702 if { (ac_try="$ac_link"
29703 case "(($ac_try" in
29704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29705 *) ac_try_echo=$ac_try;;
29706 esac
29707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29708 (eval "$ac_link") 2>conftest.er1
29709 ac_status=$?
29710 grep -v '^ *+' conftest.er1 >conftest.err
29711 rm -f conftest.er1
29712 cat conftest.err >&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } && {
29715 test -z "$ac_c_werror_flag" ||
29716 test ! -s conftest.err
29717 } && test -s conftest$ac_exeext &&
29718 $as_test_x conftest$ac_exeext; then
29719 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29723
29724 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29725 fi
29726
29727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29728 conftest$ac_exeext conftest.$ac_ext
29729 LIBS=$ac_check_lib_save_LIBS
29730 fi
29731 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29732 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29733 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29734 MSPACK_LINK=" -lmspack"
29735 fi
29736
29737 fi
29738 if test "x$MSPACK_LINK" = "x" ; then
29739 wxUSE_LIBMSPACK=no
29740 fi
29741 fi
29742
29743 if test "$wxUSE_LIBMSPACK" != "no"; then
29744 cat >>confdefs.h <<\_ACEOF
29745 #define wxUSE_LIBMSPACK 1
29746 _ACEOF
29747
29748 fi
29749
29750
29751
29752 AFMINSTALL=
29753 WIN32INSTALL=
29754
29755 TOOLKIT=
29756 TOOLKIT_INCLUDE=
29757 WIDGET_SET=
29758
29759 if test "$USE_WIN32" = 1 ; then
29760
29761 for ac_header in w32api.h
29762 do
29763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29767 echo $ECHO_N "(cached) $ECHO_C" >&6
29768 else
29769 cat >conftest.$ac_ext <<_ACEOF
29770 /* confdefs.h. */
29771 _ACEOF
29772 cat confdefs.h >>conftest.$ac_ext
29773 cat >>conftest.$ac_ext <<_ACEOF
29774 /* end confdefs.h. */
29775
29776
29777 #include <$ac_header>
29778 _ACEOF
29779 rm -f conftest.$ac_objext
29780 if { (ac_try="$ac_compile"
29781 case "(($ac_try" in
29782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29783 *) ac_try_echo=$ac_try;;
29784 esac
29785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29786 (eval "$ac_compile") 2>conftest.er1
29787 ac_status=$?
29788 grep -v '^ *+' conftest.er1 >conftest.err
29789 rm -f conftest.er1
29790 cat conftest.err >&5
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); } && {
29793 test -z "$ac_c_werror_flag" ||
29794 test ! -s conftest.err
29795 } && test -s conftest.$ac_objext; then
29796 eval "$as_ac_Header=yes"
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 eval "$as_ac_Header=no"
29802 fi
29803
29804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29805 fi
29806 ac_res=`eval echo '${'$as_ac_Header'}'`
29807 { echo "$as_me:$LINENO: result: $ac_res" >&5
29808 echo "${ECHO_T}$ac_res" >&6; }
29809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29810 cat >>confdefs.h <<_ACEOF
29811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29812 _ACEOF
29813
29814 fi
29815
29816 done
29817
29818 { echo "$as_me:$LINENO: checking for windows.h" >&5
29819 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29820 if test "${ac_cv_header_windows_h+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823 cat >conftest.$ac_ext <<_ACEOF
29824 /* confdefs.h. */
29825 _ACEOF
29826 cat confdefs.h >>conftest.$ac_ext
29827 cat >>conftest.$ac_ext <<_ACEOF
29828 /* end confdefs.h. */
29829
29830
29831 #include <windows.h>
29832 _ACEOF
29833 rm -f conftest.$ac_objext
29834 if { (ac_try="$ac_compile"
29835 case "(($ac_try" in
29836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29837 *) ac_try_echo=$ac_try;;
29838 esac
29839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29840 (eval "$ac_compile") 2>conftest.er1
29841 ac_status=$?
29842 grep -v '^ *+' conftest.er1 >conftest.err
29843 rm -f conftest.er1
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); } && {
29847 test -z "$ac_c_werror_flag" ||
29848 test ! -s conftest.err
29849 } && test -s conftest.$ac_objext; then
29850 ac_cv_header_windows_h=yes
29851 else
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29854
29855 ac_cv_header_windows_h=no
29856 fi
29857
29858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29859 fi
29860 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29861 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29862 if test $ac_cv_header_windows_h = yes; then
29863 :
29864 else
29865
29866 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29867 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29868 { (exit 1); exit 1; }; }
29869
29870 fi
29871
29872
29873
29874 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29875
29876 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29877 LIBS="$LIBS -loleacc"
29878 fi
29879
29880 case "${host}" in
29881 *-*-cygwin* )
29882 LIBS="$LIBS -lkernel32 -luser32"
29883 esac
29884
29885 if test "$wxUSE_ODBC" = "sys" ; then
29886 wxUSE_ODBC = "yes"
29887 fi
29888 if test "$wxUSE_ODBC" = "yes" ; then
29889 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29890 cat >>confdefs.h <<\_ACEOF
29891 #define wxUSE_ODBC 1
29892 _ACEOF
29893
29894 fi
29895
29896 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29897 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29898
29899 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29900
29901 WIN32INSTALL=win32install
29902
29903 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29904 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29905 if test "${ac_cv_header_pbt_h+set}" = set; then
29906 echo $ECHO_N "(cached) $ECHO_C" >&6
29907 else
29908 cat >conftest.$ac_ext <<_ACEOF
29909 /* confdefs.h. */
29910 _ACEOF
29911 cat confdefs.h >>conftest.$ac_ext
29912 cat >>conftest.$ac_ext <<_ACEOF
29913 /* end confdefs.h. */
29914
29915
29916 #include <pbt.h>
29917 _ACEOF
29918 rm -f conftest.$ac_objext
29919 if { (ac_try="$ac_compile"
29920 case "(($ac_try" in
29921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29922 *) ac_try_echo=$ac_try;;
29923 esac
29924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29925 (eval "$ac_compile") 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } && {
29932 test -z "$ac_c_werror_flag" ||
29933 test ! -s conftest.err
29934 } && test -s conftest.$ac_objext; then
29935 ac_cv_header_pbt_h=yes
29936 else
29937 echo "$as_me: failed program was:" >&5
29938 sed 's/^/| /' conftest.$ac_ext >&5
29939
29940 ac_cv_header_pbt_h=no
29941 fi
29942
29943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29944 fi
29945 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29946 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29947 if test $ac_cv_header_pbt_h = yes; then
29948 :
29949 else
29950 cat >>confdefs.h <<\_ACEOF
29951 #define NEED_PBT_H 1
29952 _ACEOF
29953
29954 fi
29955
29956
29957 fi
29958
29959 if test "$wxUSE_GUI" = "yes"; then
29960 USE_GUI=1
29961
29962 GUI_TK_LIBRARY=
29963
29964 WXGTK12=
29965 WXGTK127=
29966 WXGTK20=
29967 WXGPE=
29968
29969 if test "$wxUSE_COCOA" = 1 ; then
29970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29971 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29972 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29973 wxUSE_PRINTING_ARCHITECTURE=no
29974 fi
29975 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29976 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29977 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29978 wxUSE_DRAG_AND_DROP=no
29979 fi
29980 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29981 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29982 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29983 wxUSE_DRAGIMAGE=no
29984 fi
29985 fi
29986
29987 if test "$wxUSE_MSW" = 1 ; then
29988 TOOLKIT=MSW
29989 GUIDIST=MSW_DIST
29990
29991 case "${host}" in
29992 *-*-mingw32* )
29993 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29994 esac
29995 fi
29996
29997 if test "$wxUSE_GTK" = 1; then
29998 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29999 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30000
30001 gtk_version_cached=1
30002 if test "${wx_cv_lib_gtk+set}" = set; then
30003 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 else
30005
30006 gtk_version_cached=0
30007 { echo "$as_me:$LINENO: result: " >&5
30008 echo "${ECHO_T}" >&6; }
30009
30010 GTK_MODULES=
30011 if test "$wxUSE_THREADS" = "yes"; then
30012 GTK_MODULES=gthread
30013 fi
30014
30015 wx_cv_lib_gtk=
30016 if test "x$wxGTK_VERSION" != "x1"
30017 then
30018 case "${host}" in
30019 *-*-solaris2* )
30020 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30021 enable_gtktest=no
30022 fi
30023 esac
30024
30025 # Check whether --enable-gtktest was given.
30026 if test "${enable_gtktest+set}" = set; then
30027 enableval=$enable_gtktest;
30028 else
30029 enable_gtktest=yes
30030 fi
30031
30032
30033 pkg_config_args=gtk+-2.0
30034 for module in . $GTK_MODULES
30035 do
30036 case "$module" in
30037 gthread)
30038 pkg_config_args="$pkg_config_args gthread-2.0"
30039 ;;
30040 esac
30041 done
30042
30043 no_gtk=""
30044
30045 # Extract the first word of "pkg-config", so it can be a program name with args.
30046 set dummy pkg-config; ac_word=$2
30047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30049 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30052 case $PKG_CONFIG in
30053 [\\/]* | ?:[\\/]*)
30054 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30055 ;;
30056 *)
30057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30058 for as_dir in $PATH
30059 do
30060 IFS=$as_save_IFS
30061 test -z "$as_dir" && as_dir=.
30062 for ac_exec_ext in '' $ac_executable_extensions; do
30063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30064 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30066 break 2
30067 fi
30068 done
30069 done
30070 IFS=$as_save_IFS
30071
30072 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30073 ;;
30074 esac
30075 fi
30076 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30077 if test -n "$PKG_CONFIG"; then
30078 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30079 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30080 else
30081 { echo "$as_me:$LINENO: result: no" >&5
30082 echo "${ECHO_T}no" >&6; }
30083 fi
30084
30085
30086
30087 if test x$PKG_CONFIG != xno ; then
30088 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30089 :
30090 else
30091 echo "*** pkg-config too old; version 0.7 or better required."
30092 no_gtk=yes
30093 PKG_CONFIG=no
30094 fi
30095 else
30096 no_gtk=yes
30097 fi
30098
30099 min_gtk_version=2.0.0
30100 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30101 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30102
30103 if test x$PKG_CONFIG != xno ; then
30104 ## don't try to run the test against uninstalled libtool libs
30105 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30106 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30107 enable_gtktest=no
30108 fi
30109
30110 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30111 :
30112 else
30113 no_gtk=yes
30114 fi
30115 fi
30116
30117 if test x"$no_gtk" = x ; then
30118 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30119 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30120 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30122 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30124 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30126 if test "x$enable_gtktest" = "xyes" ; then
30127 ac_save_CFLAGS="$CFLAGS"
30128 ac_save_LIBS="$LIBS"
30129 CFLAGS="$CFLAGS $GTK_CFLAGS"
30130 LIBS="$GTK_LIBS $LIBS"
30131 rm -f conf.gtktest
30132 if test "$cross_compiling" = yes; then
30133 echo $ac_n "cross compiling; assumed OK... $ac_c"
30134 else
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141
30142 #include <gtk/gtk.h>
30143 #include <stdio.h>
30144 #include <stdlib.h>
30145
30146 int
30147 main ()
30148 {
30149 int major, minor, micro;
30150 char *tmp_version;
30151
30152 system ("touch conf.gtktest");
30153
30154 /* HP/UX 9 (%@#!) writes to sscanf strings */
30155 tmp_version = g_strdup("$min_gtk_version");
30156 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30157 printf("%s, bad version string\n", "$min_gtk_version");
30158 exit(1);
30159 }
30160
30161 if ((gtk_major_version != $gtk_config_major_version) ||
30162 (gtk_minor_version != $gtk_config_minor_version) ||
30163 (gtk_micro_version != $gtk_config_micro_version))
30164 {
30165 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30166 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30167 gtk_major_version, gtk_minor_version, gtk_micro_version);
30168 printf ("*** was found! If pkg-config was correct, then it is best\n");
30169 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30170 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30171 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30172 printf("*** required on your system.\n");
30173 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30174 printf("*** to point to the correct configuration files\n");
30175 }
30176 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30177 (gtk_minor_version != GTK_MINOR_VERSION) ||
30178 (gtk_micro_version != GTK_MICRO_VERSION))
30179 {
30180 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30181 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30182 printf("*** library (version %d.%d.%d)\n",
30183 gtk_major_version, gtk_minor_version, gtk_micro_version);
30184 }
30185 else
30186 {
30187 if ((gtk_major_version > major) ||
30188 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30189 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30190 {
30191 return 0;
30192 }
30193 else
30194 {
30195 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30196 gtk_major_version, gtk_minor_version, gtk_micro_version);
30197 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30198 major, minor, micro);
30199 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30200 printf("***\n");
30201 printf("*** If you have already installed a sufficiently new version, this error\n");
30202 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30203 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30204 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30205 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30206 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30207 printf("*** so that the correct libraries are found at run-time))\n");
30208 }
30209 }
30210 return 1;
30211 }
30212
30213 _ACEOF
30214 rm -f conftest$ac_exeext
30215 if { (ac_try="$ac_link"
30216 case "(($ac_try" in
30217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30218 *) ac_try_echo=$ac_try;;
30219 esac
30220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30221 (eval "$ac_link") 2>&5
30222 ac_status=$?
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30225 { (case "(($ac_try" in
30226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30227 *) ac_try_echo=$ac_try;;
30228 esac
30229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30230 (eval "$ac_try") 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30234 :
30235 else
30236 echo "$as_me: program exited with status $ac_status" >&5
30237 echo "$as_me: failed program was:" >&5
30238 sed 's/^/| /' conftest.$ac_ext >&5
30239
30240 ( exit $ac_status )
30241 no_gtk=yes
30242 fi
30243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30244 fi
30245
30246
30247 CFLAGS="$ac_save_CFLAGS"
30248 LIBS="$ac_save_LIBS"
30249 fi
30250 fi
30251 if test "x$no_gtk" = x ; then
30252 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30253 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30254 wx_cv_lib_gtk=2.0
30255 else
30256 { echo "$as_me:$LINENO: result: no" >&5
30257 echo "${ECHO_T}no" >&6; }
30258 if test "$PKG_CONFIG" = "no" ; then
30259 echo "*** A new enough version of pkg-config was not found."
30260 echo "*** See http://pkgconfig.sourceforge.net"
30261 else
30262 if test -f conf.gtktest ; then
30263 :
30264 else
30265 echo "*** Could not run GTK+ test program, checking why..."
30266 ac_save_CFLAGS="$CFLAGS"
30267 ac_save_LIBS="$LIBS"
30268 CFLAGS="$CFLAGS $GTK_CFLAGS"
30269 LIBS="$LIBS $GTK_LIBS"
30270 cat >conftest.$ac_ext <<_ACEOF
30271 /* confdefs.h. */
30272 _ACEOF
30273 cat confdefs.h >>conftest.$ac_ext
30274 cat >>conftest.$ac_ext <<_ACEOF
30275 /* end confdefs.h. */
30276
30277 #include <gtk/gtk.h>
30278 #include <stdio.h>
30279
30280 int
30281 main ()
30282 {
30283 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30284 ;
30285 return 0;
30286 }
30287 _ACEOF
30288 rm -f conftest.$ac_objext conftest$ac_exeext
30289 if { (ac_try="$ac_link"
30290 case "(($ac_try" in
30291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30292 *) ac_try_echo=$ac_try;;
30293 esac
30294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30295 (eval "$ac_link") 2>conftest.er1
30296 ac_status=$?
30297 grep -v '^ *+' conftest.er1 >conftest.err
30298 rm -f conftest.er1
30299 cat conftest.err >&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); } && {
30302 test -z "$ac_c_werror_flag" ||
30303 test ! -s conftest.err
30304 } && test -s conftest$ac_exeext &&
30305 $as_test_x conftest$ac_exeext; then
30306 echo "*** The test program compiled, but did not run. This usually means"
30307 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30308 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30309 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30310 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30311 echo "*** is required on your system"
30312 echo "***"
30313 echo "*** If you have an old version installed, it is best to remove it, although"
30314 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30315 else
30316 echo "$as_me: failed program was:" >&5
30317 sed 's/^/| /' conftest.$ac_ext >&5
30318
30319 echo "*** The test program failed to compile or link. See the file config.log for the"
30320 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30321 fi
30322
30323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30324 conftest$ac_exeext conftest.$ac_ext
30325 CFLAGS="$ac_save_CFLAGS"
30326 LIBS="$ac_save_LIBS"
30327 fi
30328 fi
30329 GTK_CFLAGS=""
30330 GTK_LIBS=""
30331 :
30332 fi
30333
30334
30335 rm -f conf.gtktest
30336
30337
30338 case "${host}" in
30339 *-*-solaris2* )
30340 if test "$wxUSE_SHARED" != "yes"; then
30341 GTK_LIBS="$GTK_LIBS -lX11"
30342 fi
30343 esac
30344 fi
30345
30346 if test -z "$wx_cv_lib_gtk"; then
30347 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30348
30349 # Check whether --with-gtk-prefix was given.
30350 if test "${with_gtk_prefix+set}" = set; then
30351 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30352 else
30353 gtk_config_prefix=""
30354 fi
30355
30356
30357 # Check whether --with-gtk-exec-prefix was given.
30358 if test "${with_gtk_exec_prefix+set}" = set; then
30359 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30360 else
30361 gtk_config_exec_prefix=""
30362 fi
30363
30364 # Check whether --enable-gtktest was given.
30365 if test "${enable_gtktest+set}" = set; then
30366 enableval=$enable_gtktest;
30367 else
30368 enable_gtktest=yes
30369 fi
30370
30371
30372 for module in . $GTK_MODULES
30373 do
30374 case "$module" in
30375 gthread)
30376 gtk_config_args="$gtk_config_args gthread"
30377 ;;
30378 esac
30379 done
30380
30381 if test x$gtk_config_exec_prefix != x ; then
30382 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30383 if test x${GTK_CONFIG+set} != xset ; then
30384 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30385 fi
30386 fi
30387 if test x$gtk_config_prefix != x ; then
30388 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30389 if test x${GTK_CONFIG+set} != xset ; then
30390 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30391 fi
30392 fi
30393
30394 # Extract the first word of "gtk-config", so it can be a program name with args.
30395 set dummy gtk-config; ac_word=$2
30396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30398 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30399 echo $ECHO_N "(cached) $ECHO_C" >&6
30400 else
30401 case $GTK_CONFIG in
30402 [\\/]* | ?:[\\/]*)
30403 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30404 ;;
30405 *)
30406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30407 for as_dir in $PATH
30408 do
30409 IFS=$as_save_IFS
30410 test -z "$as_dir" && as_dir=.
30411 for ac_exec_ext in '' $ac_executable_extensions; do
30412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30413 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30415 break 2
30416 fi
30417 done
30418 done
30419 IFS=$as_save_IFS
30420
30421 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30422 ;;
30423 esac
30424 fi
30425 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30426 if test -n "$GTK_CONFIG"; then
30427 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30428 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30429 else
30430 { echo "$as_me:$LINENO: result: no" >&5
30431 echo "${ECHO_T}no" >&6; }
30432 fi
30433
30434
30435 min_gtk_version=1.2.7
30436 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30437 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30438 no_gtk=""
30439 if test "$GTK_CONFIG" = "no" ; then
30440 no_gtk=yes
30441 else
30442 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30443 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30444 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30446 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30448 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30450 if test "x$enable_gtktest" = "xyes" ; then
30451 ac_save_CFLAGS="$CFLAGS"
30452 ac_save_LIBS="$LIBS"
30453 CFLAGS="$CFLAGS $GTK_CFLAGS"
30454 LIBS="$GTK_LIBS $LIBS"
30455 rm -f conf.gtktest
30456 if test "$cross_compiling" = yes; then
30457 echo $ac_n "cross compiling; assumed OK... $ac_c"
30458 else
30459 cat >conftest.$ac_ext <<_ACEOF
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465
30466 #include <gtk/gtk.h>
30467 #include <stdio.h>
30468 #include <stdlib.h>
30469
30470 int
30471 main ()
30472 {
30473 int major, minor, micro;
30474 char *tmp_version;
30475
30476 system ("touch conf.gtktest");
30477
30478 /* HP/UX 9 (%@#!) writes to sscanf strings */
30479 tmp_version = g_strdup("$min_gtk_version");
30480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30481 printf("%s, bad version string\n", "$min_gtk_version");
30482 exit(1);
30483 }
30484
30485 if ((gtk_major_version != $gtk_config_major_version) ||
30486 (gtk_minor_version != $gtk_config_minor_version) ||
30487 (gtk_micro_version != $gtk_config_micro_version))
30488 {
30489 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30491 gtk_major_version, gtk_minor_version, gtk_micro_version);
30492 printf ("*** was found! If gtk-config was correct, then it is best\n");
30493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30496 printf("*** required on your system.\n");
30497 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30498 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30499 printf("*** before re-running configure\n");
30500 }
30501 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30502 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30503 (gtk_minor_version != GTK_MINOR_VERSION) ||
30504 (gtk_micro_version != GTK_MICRO_VERSION))
30505 {
30506 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30507 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30508 printf("*** library (version %d.%d.%d)\n",
30509 gtk_major_version, gtk_minor_version, gtk_micro_version);
30510 }
30511 #endif /* defined (GTK_MAJOR_VERSION) ... */
30512 else
30513 {
30514 if ((gtk_major_version > major) ||
30515 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30516 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30517 {
30518 return 0;
30519 }
30520 else
30521 {
30522 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30523 gtk_major_version, gtk_minor_version, gtk_micro_version);
30524 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30525 major, minor, micro);
30526 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30527 printf("***\n");
30528 printf("*** If you have already installed a sufficiently new version, this error\n");
30529 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30530 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30531 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30532 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30533 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30534 printf("*** so that the correct libraries are found at run-time))\n");
30535 }
30536 }
30537 return 1;
30538 }
30539
30540 _ACEOF
30541 rm -f conftest$ac_exeext
30542 if { (ac_try="$ac_link"
30543 case "(($ac_try" in
30544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30545 *) ac_try_echo=$ac_try;;
30546 esac
30547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30548 (eval "$ac_link") 2>&5
30549 ac_status=$?
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30552 { (case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30555 esac
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_try") 2>&5
30558 ac_status=$?
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; }; then
30561 :
30562 else
30563 echo "$as_me: program exited with status $ac_status" >&5
30564 echo "$as_me: failed program was:" >&5
30565 sed 's/^/| /' conftest.$ac_ext >&5
30566
30567 ( exit $ac_status )
30568 no_gtk=yes
30569 fi
30570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30571 fi
30572
30573
30574 CFLAGS="$ac_save_CFLAGS"
30575 LIBS="$ac_save_LIBS"
30576 fi
30577 fi
30578 if test "x$no_gtk" = x ; then
30579 { echo "$as_me:$LINENO: result: yes" >&5
30580 echo "${ECHO_T}yes" >&6; }
30581 wx_cv_lib_gtk=1.2.7
30582 else
30583 { echo "$as_me:$LINENO: result: no" >&5
30584 echo "${ECHO_T}no" >&6; }
30585 if test "$GTK_CONFIG" = "no" ; then
30586 echo "*** The gtk-config script installed by GTK could not be found"
30587 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30588 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30589 echo "*** full path to gtk-config."
30590 else
30591 if test -f conf.gtktest ; then
30592 :
30593 else
30594 echo "*** Could not run GTK test program, checking why..."
30595 CFLAGS="$CFLAGS $GTK_CFLAGS"
30596 LIBS="$LIBS $GTK_LIBS"
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603
30604 #include <gtk/gtk.h>
30605 #include <stdio.h>
30606
30607 int
30608 main ()
30609 {
30610 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30611 ;
30612 return 0;
30613 }
30614 _ACEOF
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30620 esac
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>conftest.er1
30623 ac_status=$?
30624 grep -v '^ *+' conftest.er1 >conftest.err
30625 rm -f conftest.er1
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } && {
30629 test -z "$ac_c_werror_flag" ||
30630 test ! -s conftest.err
30631 } && test -s conftest$ac_exeext &&
30632 $as_test_x conftest$ac_exeext; then
30633 echo "*** The test program compiled, but did not run. This usually means"
30634 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30635 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30636 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30637 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30638 echo "*** is required on your system"
30639 echo "***"
30640 echo "*** If you have an old version installed, it is best to remove it, although"
30641 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30642 echo "***"
30643 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30644 echo "*** came with the system with the command"
30645 echo "***"
30646 echo "*** rpm --erase --nodeps gtk gtk-devel"
30647 else
30648 echo "$as_me: failed program was:" >&5
30649 sed 's/^/| /' conftest.$ac_ext >&5
30650
30651 echo "*** The test program failed to compile or link. See the file config.log for the"
30652 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30653 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30654 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30655 fi
30656
30657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30658 conftest$ac_exeext conftest.$ac_ext
30659 CFLAGS="$ac_save_CFLAGS"
30660 LIBS="$ac_save_LIBS"
30661 fi
30662 fi
30663 GTK_CFLAGS=""
30664 GTK_LIBS=""
30665 :
30666 fi
30667
30668
30669 rm -f conf.gtktest
30670
30671
30672 if test -z "$wx_cv_lib_gtk"; then
30673
30674 # Check whether --with-gtk-prefix was given.
30675 if test "${with_gtk_prefix+set}" = set; then
30676 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30677 else
30678 gtk_config_prefix=""
30679 fi
30680
30681
30682 # Check whether --with-gtk-exec-prefix was given.
30683 if test "${with_gtk_exec_prefix+set}" = set; then
30684 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30685 else
30686 gtk_config_exec_prefix=""
30687 fi
30688
30689 # Check whether --enable-gtktest was given.
30690 if test "${enable_gtktest+set}" = set; then
30691 enableval=$enable_gtktest;
30692 else
30693 enable_gtktest=yes
30694 fi
30695
30696
30697 for module in . $GTK_MODULES
30698 do
30699 case "$module" in
30700 gthread)
30701 gtk_config_args="$gtk_config_args gthread"
30702 ;;
30703 esac
30704 done
30705
30706 if test x$gtk_config_exec_prefix != x ; then
30707 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30708 if test x${GTK_CONFIG+set} != xset ; then
30709 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30710 fi
30711 fi
30712 if test x$gtk_config_prefix != x ; then
30713 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30714 if test x${GTK_CONFIG+set} != xset ; then
30715 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30716 fi
30717 fi
30718
30719 # Extract the first word of "gtk-config", so it can be a program name with args.
30720 set dummy gtk-config; ac_word=$2
30721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30723 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30725 else
30726 case $GTK_CONFIG in
30727 [\\/]* | ?:[\\/]*)
30728 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30729 ;;
30730 *)
30731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30732 for as_dir in $PATH
30733 do
30734 IFS=$as_save_IFS
30735 test -z "$as_dir" && as_dir=.
30736 for ac_exec_ext in '' $ac_executable_extensions; do
30737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30738 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30740 break 2
30741 fi
30742 done
30743 done
30744 IFS=$as_save_IFS
30745
30746 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30747 ;;
30748 esac
30749 fi
30750 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30751 if test -n "$GTK_CONFIG"; then
30752 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30753 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30754 else
30755 { echo "$as_me:$LINENO: result: no" >&5
30756 echo "${ECHO_T}no" >&6; }
30757 fi
30758
30759
30760 min_gtk_version=1.2.3
30761 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30762 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30763 no_gtk=""
30764 if test "$GTK_CONFIG" = "no" ; then
30765 no_gtk=yes
30766 else
30767 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30768 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30769 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30771 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30773 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30775 if test "x$enable_gtktest" = "xyes" ; then
30776 ac_save_CFLAGS="$CFLAGS"
30777 ac_save_LIBS="$LIBS"
30778 CFLAGS="$CFLAGS $GTK_CFLAGS"
30779 LIBS="$GTK_LIBS $LIBS"
30780 rm -f conf.gtktest
30781 if test "$cross_compiling" = yes; then
30782 echo $ac_n "cross compiling; assumed OK... $ac_c"
30783 else
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30790
30791 #include <gtk/gtk.h>
30792 #include <stdio.h>
30793 #include <stdlib.h>
30794
30795 int
30796 main ()
30797 {
30798 int major, minor, micro;
30799 char *tmp_version;
30800
30801 system ("touch conf.gtktest");
30802
30803 /* HP/UX 9 (%@#!) writes to sscanf strings */
30804 tmp_version = g_strdup("$min_gtk_version");
30805 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30806 printf("%s, bad version string\n", "$min_gtk_version");
30807 exit(1);
30808 }
30809
30810 if ((gtk_major_version != $gtk_config_major_version) ||
30811 (gtk_minor_version != $gtk_config_minor_version) ||
30812 (gtk_micro_version != $gtk_config_micro_version))
30813 {
30814 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30815 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30816 gtk_major_version, gtk_minor_version, gtk_micro_version);
30817 printf ("*** was found! If gtk-config was correct, then it is best\n");
30818 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30819 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30820 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30821 printf("*** required on your system.\n");
30822 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30823 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30824 printf("*** before re-running configure\n");
30825 }
30826 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30827 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30828 (gtk_minor_version != GTK_MINOR_VERSION) ||
30829 (gtk_micro_version != GTK_MICRO_VERSION))
30830 {
30831 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30832 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30833 printf("*** library (version %d.%d.%d)\n",
30834 gtk_major_version, gtk_minor_version, gtk_micro_version);
30835 }
30836 #endif /* defined (GTK_MAJOR_VERSION) ... */
30837 else
30838 {
30839 if ((gtk_major_version > major) ||
30840 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30841 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30842 {
30843 return 0;
30844 }
30845 else
30846 {
30847 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30848 gtk_major_version, gtk_minor_version, gtk_micro_version);
30849 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30850 major, minor, micro);
30851 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30852 printf("***\n");
30853 printf("*** If you have already installed a sufficiently new version, this error\n");
30854 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30855 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30856 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30857 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30858 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30859 printf("*** so that the correct libraries are found at run-time))\n");
30860 }
30861 }
30862 return 1;
30863 }
30864
30865 _ACEOF
30866 rm -f conftest$ac_exeext
30867 if { (ac_try="$ac_link"
30868 case "(($ac_try" in
30869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30870 *) ac_try_echo=$ac_try;;
30871 esac
30872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30873 (eval "$ac_link") 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30877 { (case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30880 esac
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_try") 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; }; then
30886 :
30887 else
30888 echo "$as_me: program exited with status $ac_status" >&5
30889 echo "$as_me: failed program was:" >&5
30890 sed 's/^/| /' conftest.$ac_ext >&5
30891
30892 ( exit $ac_status )
30893 no_gtk=yes
30894 fi
30895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30896 fi
30897
30898
30899 CFLAGS="$ac_save_CFLAGS"
30900 LIBS="$ac_save_LIBS"
30901 fi
30902 fi
30903 if test "x$no_gtk" = x ; then
30904 { echo "$as_me:$LINENO: result: yes" >&5
30905 echo "${ECHO_T}yes" >&6; }
30906 wx_cv_lib_gtk=1.2.3
30907 else
30908 { echo "$as_me:$LINENO: result: no" >&5
30909 echo "${ECHO_T}no" >&6; }
30910 if test "$GTK_CONFIG" = "no" ; then
30911 echo "*** The gtk-config script installed by GTK could not be found"
30912 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30913 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30914 echo "*** full path to gtk-config."
30915 else
30916 if test -f conf.gtktest ; then
30917 :
30918 else
30919 echo "*** Could not run GTK test program, checking why..."
30920 CFLAGS="$CFLAGS $GTK_CFLAGS"
30921 LIBS="$LIBS $GTK_LIBS"
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928
30929 #include <gtk/gtk.h>
30930 #include <stdio.h>
30931
30932 int
30933 main ()
30934 {
30935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (ac_try="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30945 esac
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30948 ac_status=$?
30949 grep -v '^ *+' conftest.er1 >conftest.err
30950 rm -f conftest.er1
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 echo "*** The test program compiled, but did not run. This usually means"
30959 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30960 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30961 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30962 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30963 echo "*** is required on your system"
30964 echo "***"
30965 echo "*** If you have an old version installed, it is best to remove it, although"
30966 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30967 echo "***"
30968 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30969 echo "*** came with the system with the command"
30970 echo "***"
30971 echo "*** rpm --erase --nodeps gtk gtk-devel"
30972 else
30973 echo "$as_me: failed program was:" >&5
30974 sed 's/^/| /' conftest.$ac_ext >&5
30975
30976 echo "*** The test program failed to compile or link. See the file config.log for the"
30977 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30978 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30979 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30980 fi
30981
30982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30983 conftest$ac_exeext conftest.$ac_ext
30984 CFLAGS="$ac_save_CFLAGS"
30985 LIBS="$ac_save_LIBS"
30986 fi
30987 fi
30988 GTK_CFLAGS=""
30989 GTK_LIBS=""
30990 :
30991 fi
30992
30993
30994 rm -f conf.gtktest
30995
30996 fi
30997 fi
30998 fi
30999
31000 if test -z "$wx_cv_lib_gtk"; then
31001 wx_cv_lib_gtk=none
31002 else
31003 wx_cv_cflags_gtk=$GTK_CFLAGS
31004 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31005 fi
31006
31007
31008 fi
31009
31010
31011 if test "$gtk_version_cached" = 1; then
31012 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31013 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31014 fi
31015
31016 case "$wx_cv_lib_gtk" in
31017 2.0) WXGTK20=1
31018 TOOLKIT_VERSION=2
31019 ;;
31020 1.2.7) WXGTK127=1
31021 WXGTK12=1
31022 ;;
31023 1.2.3) WXGTK12=1
31024 ;;
31025 *) { { echo "$as_me:$LINENO: error:
31026 The development files for GTK+ were not found. For GTK+ 2, please
31027 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31028 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31029 and that the version is 1.2.3 or above. Also check that the
31030 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31031 --libs' are in the LD_LIBRARY_PATH or equivalent.
31032 " >&5
31033 echo "$as_me: error:
31034 The development files for GTK+ were not found. For GTK+ 2, please
31035 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31036 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31037 and that the version is 1.2.3 or above. Also check that the
31038 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31039 --libs' are in the LD_LIBRARY_PATH or equivalent.
31040 " >&2;}
31041 { (exit 1); exit 1; }; }
31042 ;;
31043 esac
31044
31045 if test "$WXGTK20" = 1; then
31046 save_CFLAGS="$CFLAGS"
31047 save_LIBS="$LIBS"
31048 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31049 LIBS="$LIBS $wx_cv_libs_gtk"
31050
31051 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31052 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31053 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31054 echo $ECHO_N "(cached) $ECHO_C" >&6
31055 else
31056 cat >conftest.$ac_ext <<_ACEOF
31057 /* confdefs.h. */
31058 _ACEOF
31059 cat confdefs.h >>conftest.$ac_ext
31060 cat >>conftest.$ac_ext <<_ACEOF
31061 /* end confdefs.h. */
31062 #include <gtk/gtk.h>
31063
31064 int
31065 main ()
31066 {
31067 #ifndef gtk_icon_size_lookup
31068 (void) gtk_icon_size_lookup;
31069 #endif
31070
31071 ;
31072 return 0;
31073 }
31074 _ACEOF
31075 rm -f conftest.$ac_objext
31076 if { (ac_try="$ac_compile"
31077 case "(($ac_try" in
31078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31079 *) ac_try_echo=$ac_try;;
31080 esac
31081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31082 (eval "$ac_compile") 2>conftest.er1
31083 ac_status=$?
31084 grep -v '^ *+' conftest.er1 >conftest.err
31085 rm -f conftest.er1
31086 cat conftest.err >&5
31087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31088 (exit $ac_status); } && {
31089 test -z "$ac_c_werror_flag" ||
31090 test ! -s conftest.err
31091 } && test -s conftest.$ac_objext; then
31092 ac_cv_have_decl_gtk_icon_size_lookup=yes
31093 else
31094 echo "$as_me: failed program was:" >&5
31095 sed 's/^/| /' conftest.$ac_ext >&5
31096
31097 ac_cv_have_decl_gtk_icon_size_lookup=no
31098 fi
31099
31100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31101 fi
31102 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31103 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31104 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31105
31106 cat >>confdefs.h <<_ACEOF
31107 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31108 _ACEOF
31109
31110
31111 else
31112 cat >>confdefs.h <<_ACEOF
31113 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31114 _ACEOF
31115
31116 cat >>confdefs.h <<\_ACEOF
31117 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31118 _ACEOF
31119
31120 fi
31121
31122
31123
31124
31125 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31126 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31127 cat >conftest.$ac_ext <<_ACEOF
31128 /* confdefs.h. */
31129 _ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31133
31134 #include <gtk/gtk.h>
31135
31136 int
31137 main ()
31138 {
31139
31140 #if !GTK_CHECK_VERSION(2,10,0)
31141 Not GTK+ 2.10
31142 #endif
31143
31144 ;
31145 return 0;
31146 }
31147 _ACEOF
31148 rm -f conftest.$ac_objext
31149 if { (ac_try="$ac_compile"
31150 case "(($ac_try" in
31151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31152 *) ac_try_echo=$ac_try;;
31153 esac
31154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31155 (eval "$ac_compile") 2>conftest.er1
31156 ac_status=$?
31157 grep -v '^ *+' conftest.er1 >conftest.err
31158 rm -f conftest.er1
31159 cat conftest.err >&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } && {
31162 test -z "$ac_c_werror_flag" ||
31163 test ! -s conftest.err
31164 } && test -s conftest.$ac_objext; then
31165
31166 cat >>confdefs.h <<\_ACEOF
31167 #define __WXGTK210__ 1
31168 _ACEOF
31169
31170 cat >>confdefs.h <<\_ACEOF
31171 #define __WXGTK26__ 1
31172 _ACEOF
31173
31174 cat >>confdefs.h <<\_ACEOF
31175 #define __WXGTK24__ 1
31176 _ACEOF
31177
31178 { echo "$as_me:$LINENO: result: yes" >&5
31179 echo "${ECHO_T}yes" >&6; }
31180 ac_wxgtk210=1
31181
31182 else
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.$ac_ext >&5
31185
31186
31187 { echo "$as_me:$LINENO: result: no" >&5
31188 echo "${ECHO_T}no" >&6; }
31189 ac_wxgtk210=0
31190
31191 fi
31192
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31194
31195 if test "$ac_wxgtk210" = 0; then
31196 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31197 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31198 cat >conftest.$ac_ext <<_ACEOF
31199 /* confdefs.h. */
31200 _ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31204
31205 #include <gtk/gtk.h>
31206
31207 int
31208 main ()
31209 {
31210
31211 #if !GTK_CHECK_VERSION(2,6,0)
31212 Not GTK+ 2.6
31213 #endif
31214
31215 ;
31216 return 0;
31217 }
31218 _ACEOF
31219 rm -f conftest.$ac_objext
31220 if { (ac_try="$ac_compile"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31224 esac
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_compile") 2>conftest.er1
31227 ac_status=$?
31228 grep -v '^ *+' conftest.er1 >conftest.err
31229 rm -f conftest.er1
31230 cat conftest.err >&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } && {
31233 test -z "$ac_c_werror_flag" ||
31234 test ! -s conftest.err
31235 } && test -s conftest.$ac_objext; then
31236
31237 cat >>confdefs.h <<\_ACEOF
31238 #define __WXGTK26__ 1
31239 _ACEOF
31240
31241 cat >>confdefs.h <<\_ACEOF
31242 #define __WXGTK24__ 1
31243 _ACEOF
31244
31245 { echo "$as_me:$LINENO: result: yes" >&5
31246 echo "${ECHO_T}yes" >&6; }
31247 ac_wxgtk26=1
31248
31249 else
31250 echo "$as_me: failed program was:" >&5
31251 sed 's/^/| /' conftest.$ac_ext >&5
31252
31253
31254 { echo "$as_me:$LINENO: result: no" >&5
31255 echo "${ECHO_T}no" >&6; }
31256 ac_wxgtk26=0
31257
31258 fi
31259
31260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31261 fi
31262
31263 if test "$ac_wxgtk26" = 0; then
31264 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31265 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31266 cat >conftest.$ac_ext <<_ACEOF
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272
31273 #include <gtk/gtk.h>
31274
31275 int
31276 main ()
31277 {
31278
31279 #if !GTK_CHECK_VERSION(2,4,0)
31280 Not GTK+ 2.4
31281 #endif
31282
31283 ;
31284 return 0;
31285 }
31286 _ACEOF
31287 rm -f conftest.$ac_objext
31288 if { (ac_try="$ac_compile"
31289 case "(($ac_try" in
31290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31291 *) ac_try_echo=$ac_try;;
31292 esac
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_compile") 2>conftest.er1
31295 ac_status=$?
31296 grep -v '^ *+' conftest.er1 >conftest.err
31297 rm -f conftest.er1
31298 cat conftest.err >&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest.$ac_objext; then
31304
31305 cat >>confdefs.h <<\_ACEOF
31306 #define __WXGTK24__ 1
31307 _ACEOF
31308
31309 { echo "$as_me:$LINENO: result: yes" >&5
31310 echo "${ECHO_T}yes" >&6; }
31311
31312 else
31313 echo "$as_me: failed program was:" >&5
31314 sed 's/^/| /' conftest.$ac_ext >&5
31315
31316
31317 { echo "$as_me:$LINENO: result: no" >&5
31318 echo "${ECHO_T}no" >&6; }
31319
31320 fi
31321
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 fi
31324
31325 CFLAGS="$save_CFLAGS"
31326 LIBS="$save_LIBS"
31327 else
31328 if test "$wxUSE_UNICODE" = "yes"; then
31329 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31330 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31331 wxUSE_UNICODE=no
31332 fi
31333
31334 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31335 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31336 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31337 echo $ECHO_N "(cached) $ECHO_C" >&6
31338 else
31339 ac_check_lib_save_LIBS=$LIBS
31340 LIBS="-lgdk $LIBS"
31341 cat >conftest.$ac_ext <<_ACEOF
31342 /* confdefs.h. */
31343 _ACEOF
31344 cat confdefs.h >>conftest.$ac_ext
31345 cat >>conftest.$ac_ext <<_ACEOF
31346 /* end confdefs.h. */
31347
31348 /* Override any GCC internal prototype to avoid an error.
31349 Use char because int might match the return type of a GCC
31350 builtin and then its argument prototype would still apply. */
31351 #ifdef __cplusplus
31352 extern "C"
31353 #endif
31354 char gdk_im_open ();
31355 int
31356 main ()
31357 {
31358 return gdk_im_open ();
31359 ;
31360 return 0;
31361 }
31362 _ACEOF
31363 rm -f conftest.$ac_objext conftest$ac_exeext
31364 if { (ac_try="$ac_link"
31365 case "(($ac_try" in
31366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31367 *) ac_try_echo=$ac_try;;
31368 esac
31369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31370 (eval "$ac_link") 2>conftest.er1
31371 ac_status=$?
31372 grep -v '^ *+' conftest.er1 >conftest.err
31373 rm -f conftest.er1
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } && {
31377 test -z "$ac_c_werror_flag" ||
31378 test ! -s conftest.err
31379 } && test -s conftest$ac_exeext &&
31380 $as_test_x conftest$ac_exeext; then
31381 ac_cv_lib_gdk_gdk_im_open=yes
31382 else
31383 echo "$as_me: failed program was:" >&5
31384 sed 's/^/| /' conftest.$ac_ext >&5
31385
31386 ac_cv_lib_gdk_gdk_im_open=no
31387 fi
31388
31389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31390 conftest$ac_exeext conftest.$ac_ext
31391 LIBS=$ac_check_lib_save_LIBS
31392 fi
31393 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31394 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31395 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31396 cat >>confdefs.h <<\_ACEOF
31397 #define HAVE_XIM 1
31398 _ACEOF
31399
31400 fi
31401
31402
31403 if test "$USE_DARWIN" != 1; then
31404
31405 for ac_func in poll
31406 do
31407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 else
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h. */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31421 #define $ac_func innocuous_$ac_func
31422
31423 /* System header to define __stub macros and hopefully few prototypes,
31424 which can conflict with char $ac_func (); below.
31425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31426 <limits.h> exists even on freestanding compilers. */
31427
31428 #ifdef __STDC__
31429 # include <limits.h>
31430 #else
31431 # include <assert.h>
31432 #endif
31433
31434 #undef $ac_func
31435
31436 /* Override any GCC internal prototype to avoid an error.
31437 Use char because int might match the return type of a GCC
31438 builtin and then its argument prototype would still apply. */
31439 #ifdef __cplusplus
31440 extern "C"
31441 #endif
31442 char $ac_func ();
31443 /* The GNU C library defines this for functions which it implements
31444 to always fail with ENOSYS. Some functions are actually named
31445 something starting with __ and the normal name is an alias. */
31446 #if defined __stub_$ac_func || defined __stub___$ac_func
31447 choke me
31448 #endif
31449
31450 int
31451 main ()
31452 {
31453 return $ac_func ();
31454 ;
31455 return 0;
31456 }
31457 _ACEOF
31458 rm -f conftest.$ac_objext conftest$ac_exeext
31459 if { (ac_try="$ac_link"
31460 case "(($ac_try" in
31461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31462 *) ac_try_echo=$ac_try;;
31463 esac
31464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31465 (eval "$ac_link") 2>conftest.er1
31466 ac_status=$?
31467 grep -v '^ *+' conftest.er1 >conftest.err
31468 rm -f conftest.er1
31469 cat conftest.err >&5
31470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31471 (exit $ac_status); } && {
31472 test -z "$ac_c_werror_flag" ||
31473 test ! -s conftest.err
31474 } && test -s conftest$ac_exeext &&
31475 $as_test_x conftest$ac_exeext; then
31476 eval "$as_ac_var=yes"
31477 else
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.$ac_ext >&5
31480
31481 eval "$as_ac_var=no"
31482 fi
31483
31484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31485 conftest$ac_exeext conftest.$ac_ext
31486 fi
31487 ac_res=`eval echo '${'$as_ac_var'}'`
31488 { echo "$as_me:$LINENO: result: $ac_res" >&5
31489 echo "${ECHO_T}$ac_res" >&6; }
31490 if test `eval echo '${'$as_ac_var'}'` = yes; then
31491 cat >>confdefs.h <<_ACEOF
31492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31493 _ACEOF
31494
31495 fi
31496 done
31497
31498 fi
31499 fi
31500
31501 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31502 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31503
31504 AFMINSTALL=afminstall
31505 TOOLKIT=GTK
31506 GUIDIST=GTK_DIST
31507
31508 if test "$wxUSE_GPE" = "yes"; then
31509 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31510 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31511
31512 ac_find_libraries=
31513 for ac_dir in $SEARCH_LIB;
31514 do
31515 for ac_extension in a so sl dylib dll.a; do
31516 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31517 ac_find_libraries=$ac_dir
31518 break 2
31519 fi
31520 done
31521 done
31522
31523 if test "$ac_find_libraries" != "" ; then
31524
31525 if test "$ac_find_libraries" = "default location"; then
31526 ac_path_to_link=""
31527 else
31528 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31529 result=$?
31530 if test $result = 0; then
31531 ac_path_to_link=""
31532 else
31533 ac_path_to_link=" -L$ac_find_libraries"
31534 fi
31535 fi
31536
31537 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31538 WXGPE=1
31539 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31540 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31541 else
31542 { echo "$as_me:$LINENO: result: not found" >&5
31543 echo "${ECHO_T}not found" >&6; }
31544 fi
31545
31546 fi
31547 fi
31548
31549 if test "$wxUSE_MGL" = 1; then
31550 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31551 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31552 if test "x$MGL_ROOT" = x ; then
31553 { echo "$as_me:$LINENO: result: not found" >&5
31554 echo "${ECHO_T}not found" >&6; }
31555 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31556 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31557 { (exit 1); exit 1; }; }
31558 else
31559 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31560 echo "${ECHO_T}$MGL_ROOT" >&6; }
31561 fi
31562
31563 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31564 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31565 case "${host}" in
31566 *-*-linux* )
31567 if test "x$wxUSE_SHARED" = xyes ; then
31568 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31569 else
31570 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31571 fi
31572 ;;
31573 *-pc-msdosdjgpp )
31574 mgl_os_candidates="dos32/dj2"
31575 ;;
31576 *)
31577 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31578 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31579 { (exit 1); exit 1; }; }
31580 esac
31581
31582 mgl_lib_type=""
31583 mgl_os=""
31584
31585 for mgl_os_i in $mgl_os_candidates ; do
31586 if test "x$mgl_os" = x ; then
31587 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31588 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31589 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31590 mgl_lib_type=debug
31591 mgl_os=$mgl_os_i
31592 fi
31593 fi
31594 if test "x$mgl_lib_type" = x ; then
31595 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31596 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31597 mgl_lib_type=release
31598 mgl_os=$mgl_os_i
31599 fi
31600 fi
31601 fi
31602 done
31603
31604 if test "x$mgl_os" = x ; then
31605 { echo "$as_me:$LINENO: result: not found" >&5
31606 echo "${ECHO_T}not found" >&6; }
31607 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31608 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31609 { (exit 1); exit 1; }; }
31610 fi
31611 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31612 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31613
31614 wxUSE_UNIVERSAL="yes"
31615
31616 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31617 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31618
31619 AFMINSTALL=afminstall
31620 TOOLKIT=MGL
31621 GUIDIST=MGL_DIST
31622 fi
31623
31624 if test "$wxUSE_DFB" = 1; then
31625
31626
31627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31628 if test -n "$ac_tool_prefix"; then
31629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31630 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31635 else
31636 case $PKG_CONFIG in
31637 [\\/]* | ?:[\\/]*)
31638 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31639 ;;
31640 *)
31641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31642 for as_dir in $PATH
31643 do
31644 IFS=$as_save_IFS
31645 test -z "$as_dir" && as_dir=.
31646 for ac_exec_ext in '' $ac_executable_extensions; do
31647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31648 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31650 break 2
31651 fi
31652 done
31653 done
31654 IFS=$as_save_IFS
31655
31656 ;;
31657 esac
31658 fi
31659 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31660 if test -n "$PKG_CONFIG"; then
31661 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31662 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31663 else
31664 { echo "$as_me:$LINENO: result: no" >&5
31665 echo "${ECHO_T}no" >&6; }
31666 fi
31667
31668
31669 fi
31670 if test -z "$ac_cv_path_PKG_CONFIG"; then
31671 ac_pt_PKG_CONFIG=$PKG_CONFIG
31672 # Extract the first word of "pkg-config", so it can be a program name with args.
31673 set dummy pkg-config; ac_word=$2
31674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31676 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679 case $ac_pt_PKG_CONFIG in
31680 [\\/]* | ?:[\\/]*)
31681 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31682 ;;
31683 *)
31684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31685 for as_dir in $PATH
31686 do
31687 IFS=$as_save_IFS
31688 test -z "$as_dir" && as_dir=.
31689 for ac_exec_ext in '' $ac_executable_extensions; do
31690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31691 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31693 break 2
31694 fi
31695 done
31696 done
31697 IFS=$as_save_IFS
31698
31699 ;;
31700 esac
31701 fi
31702 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31703 if test -n "$ac_pt_PKG_CONFIG"; then
31704 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31705 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31706 else
31707 { echo "$as_me:$LINENO: result: no" >&5
31708 echo "${ECHO_T}no" >&6; }
31709 fi
31710
31711 if test "x$ac_pt_PKG_CONFIG" = x; then
31712 PKG_CONFIG=""
31713 else
31714 case $cross_compiling:$ac_tool_warned in
31715 yes:)
31716 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31717 whose name does not start with the host triplet. If you think this
31718 configuration is useful to you, please write to autoconf@gnu.org." >&5
31719 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31720 whose name does not start with the host triplet. If you think this
31721 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31722 ac_tool_warned=yes ;;
31723 esac
31724 PKG_CONFIG=$ac_pt_PKG_CONFIG
31725 fi
31726 else
31727 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31728 fi
31729
31730 fi
31731 if test -n "$PKG_CONFIG"; then
31732 _pkg_min_version=0.9.0
31733 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31736 { echo "$as_me:$LINENO: result: yes" >&5
31737 echo "${ECHO_T}yes" >&6; }
31738 else
31739 { echo "$as_me:$LINENO: result: no" >&5
31740 echo "${ECHO_T}no" >&6; }
31741 PKG_CONFIG=""
31742 fi
31743
31744 fi
31745
31746
31747 pkg_failed=no
31748 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31749 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31750
31751 if test -n "$PKG_CONFIG"; then
31752 if test -n "$DIRECTFB_CFLAGS"; then
31753 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31754 else
31755 if test -n "$PKG_CONFIG" && \
31756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31757 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31758 ac_status=$?
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); }; then
31761 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31762 else
31763 pkg_failed=yes
31764 fi
31765 fi
31766 else
31767 pkg_failed=untried
31768 fi
31769 if test -n "$PKG_CONFIG"; then
31770 if test -n "$DIRECTFB_LIBS"; then
31771 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31772 else
31773 if test -n "$PKG_CONFIG" && \
31774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31775 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31776 ac_status=$?
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); }; then
31779 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31780 else
31781 pkg_failed=yes
31782 fi
31783 fi
31784 else
31785 pkg_failed=untried
31786 fi
31787
31788
31789
31790 if test $pkg_failed = yes; then
31791
31792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31793 _pkg_short_errors_supported=yes
31794 else
31795 _pkg_short_errors_supported=no
31796 fi
31797 if test $_pkg_short_errors_supported = yes; then
31798 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31799 else
31800 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31801 fi
31802 # Put the nasty error message in config.log where it belongs
31803 echo "$DIRECTFB_PKG_ERRORS" >&5
31804
31805
31806 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31807 echo "$as_me: error: DirectFB not found." >&2;}
31808 { (exit 1); exit 1; }; }
31809
31810
31811 elif test $pkg_failed = untried; then
31812
31813 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31814 echo "$as_me: error: DirectFB not found." >&2;}
31815 { (exit 1); exit 1; }; }
31816
31817
31818 else
31819 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31820 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31821 { echo "$as_me:$LINENO: result: yes" >&5
31822 echo "${ECHO_T}yes" >&6; }
31823
31824 wxUSE_UNIVERSAL="yes"
31825 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31826 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31827 TOOLKIT=DFB
31828 GUIDIST=DFB_DIST
31829
31830 fi
31831 fi
31832
31833 if test "$wxUSE_MICROWIN" = 1; then
31834 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31835 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31836 if test "x$MICROWINDOWS" = x ; then
31837 { echo "$as_me:$LINENO: result: not found" >&5
31838 echo "${ECHO_T}not found" >&6; }
31839 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31840 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31841 { (exit 1); exit 1; }; }
31842 else
31843 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31844 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31845 fi
31846
31847 if test -f $MICROWINDOWS/lib/libmwin.a; then
31848 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31849 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31850 else
31851 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31852 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31853 { (exit 1); exit 1; }; }
31854 fi
31855
31856 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31857 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31858
31859 wxUSE_UNIVERSAL="yes"
31860
31861 AFMINSTALL=afminstall
31862 TOOLKIT=MICROWIN
31863 GUIDIST=MICROWIN_DIST
31864
31865 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31866 fi
31867
31868 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31869 { echo "$as_me:$LINENO: checking for X" >&5
31870 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31871
31872
31873 # Check whether --with-x was given.
31874 if test "${with_x+set}" = set; then
31875 withval=$with_x;
31876 fi
31877
31878 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31879 if test "x$with_x" = xno; then
31880 # The user explicitly disabled X.
31881 have_x=disabled
31882 else
31883 case $x_includes,$x_libraries in #(
31884 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31885 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31886 { (exit 1); exit 1; }; };; #(
31887 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 else
31890 # One or both of the vars are not set, and there is no cached value.
31891 ac_x_includes=no ac_x_libraries=no
31892 rm -f -r conftest.dir
31893 if mkdir conftest.dir; then
31894 cd conftest.dir
31895 cat >Imakefile <<'_ACEOF'
31896 incroot:
31897 @echo incroot='${INCROOT}'
31898 usrlibdir:
31899 @echo usrlibdir='${USRLIBDIR}'
31900 libdir:
31901 @echo libdir='${LIBDIR}'
31902 _ACEOF
31903 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31905 for ac_var in incroot usrlibdir libdir; do
31906 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31907 done
31908 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31909 for ac_extension in a so sl; do
31910 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31911 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31912 ac_im_usrlibdir=$ac_im_libdir; break
31913 fi
31914 done
31915 # Screen out bogus values from the imake configuration. They are
31916 # bogus both because they are the default anyway, and because
31917 # using them would break gcc on systems where it needs fixed includes.
31918 case $ac_im_incroot in
31919 /usr/include) ac_x_includes= ;;
31920 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31921 esac
31922 case $ac_im_usrlibdir in
31923 /usr/lib | /lib) ;;
31924 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31925 esac
31926 fi
31927 cd ..
31928 rm -f -r conftest.dir
31929 fi
31930
31931 # Standard set of common directories for X headers.
31932 # Check X11 before X11Rn because it is often a symlink to the current release.
31933 ac_x_header_dirs='
31934 /usr/X11/include
31935 /usr/X11R6/include
31936 /usr/X11R5/include
31937 /usr/X11R4/include
31938
31939 /usr/include/X11
31940 /usr/include/X11R6
31941 /usr/include/X11R5
31942 /usr/include/X11R4
31943
31944 /usr/local/X11/include
31945 /usr/local/X11R6/include
31946 /usr/local/X11R5/include
31947 /usr/local/X11R4/include
31948
31949 /usr/local/include/X11
31950 /usr/local/include/X11R6
31951 /usr/local/include/X11R5
31952 /usr/local/include/X11R4
31953
31954 /usr/X386/include
31955 /usr/x386/include
31956 /usr/XFree86/include/X11
31957
31958 /usr/include
31959 /usr/local/include
31960 /usr/unsupported/include
31961 /usr/athena/include
31962 /usr/local/x11r5/include
31963 /usr/lpp/Xamples/include
31964
31965 /usr/openwin/include
31966 /usr/openwin/share/include'
31967
31968 if test "$ac_x_includes" = no; then
31969 # Guess where to find include files, by looking for Xlib.h.
31970 # First, try using that file with no special directory specified.
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h. */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977 #include <X11/Xlib.h>
31978 _ACEOF
31979 if { (ac_try="$ac_cpp conftest.$ac_ext"
31980 case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31983 esac
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31986 ac_status=$?
31987 grep -v '^ *+' conftest.er1 >conftest.err
31988 rm -f conftest.er1
31989 cat conftest.err >&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } >/dev/null && {
31992 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31993 test ! -s conftest.err
31994 }; then
31995 # We can compile using X headers with no special include directory.
31996 ac_x_includes=
31997 else
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.$ac_ext >&5
32000
32001 for ac_dir in $ac_x_header_dirs; do
32002 if test -r "$ac_dir/X11/Xlib.h"; then
32003 ac_x_includes=$ac_dir
32004 break
32005 fi
32006 done
32007 fi
32008
32009 rm -f conftest.err conftest.$ac_ext
32010 fi # $ac_x_includes = no
32011
32012 if test "$ac_x_libraries" = no; then
32013 # Check for the libraries.
32014 # See if we find them without any special options.
32015 # Don't add to $LIBS permanently.
32016 ac_save_LIBS=$LIBS
32017 LIBS="-lX11 $LIBS"
32018 cat >conftest.$ac_ext <<_ACEOF
32019 /* confdefs.h. */
32020 _ACEOF
32021 cat confdefs.h >>conftest.$ac_ext
32022 cat >>conftest.$ac_ext <<_ACEOF
32023 /* end confdefs.h. */
32024 #include <X11/Xlib.h>
32025 int
32026 main ()
32027 {
32028 XrmInitialize ()
32029 ;
32030 return 0;
32031 }
32032 _ACEOF
32033 rm -f conftest.$ac_objext conftest$ac_exeext
32034 if { (ac_try="$ac_link"
32035 case "(($ac_try" in
32036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32037 *) ac_try_echo=$ac_try;;
32038 esac
32039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32040 (eval "$ac_link") 2>conftest.er1
32041 ac_status=$?
32042 grep -v '^ *+' conftest.er1 >conftest.err
32043 rm -f conftest.er1
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } && {
32047 test -z "$ac_c_werror_flag" ||
32048 test ! -s conftest.err
32049 } && test -s conftest$ac_exeext &&
32050 $as_test_x conftest$ac_exeext; then
32051 LIBS=$ac_save_LIBS
32052 # We can link X programs with no special library path.
32053 ac_x_libraries=
32054 else
32055 echo "$as_me: failed program was:" >&5
32056 sed 's/^/| /' conftest.$ac_ext >&5
32057
32058 LIBS=$ac_save_LIBS
32059 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32060 do
32061 # Don't even attempt the hair of trying to link an X program!
32062 for ac_extension in a so sl; do
32063 if test -r "$ac_dir/libX11.$ac_extension"; then
32064 ac_x_libraries=$ac_dir
32065 break 2
32066 fi
32067 done
32068 done
32069 fi
32070
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32073 fi # $ac_x_libraries = no
32074
32075 case $ac_x_includes,$ac_x_libraries in #(
32076 no,* | *,no | *\'*)
32077 # Didn't find X, or a directory has "'" in its name.
32078 ac_cv_have_x="have_x=no";; #(
32079 *)
32080 # Record where we found X for the cache.
32081 ac_cv_have_x="have_x=yes\
32082 ac_x_includes='$ac_x_includes'\
32083 ac_x_libraries='$ac_x_libraries'"
32084 esac
32085 fi
32086 ;; #(
32087 *) have_x=yes;;
32088 esac
32089 eval "$ac_cv_have_x"
32090 fi # $with_x != no
32091
32092 if test "$have_x" != yes; then
32093 { echo "$as_me:$LINENO: result: $have_x" >&5
32094 echo "${ECHO_T}$have_x" >&6; }
32095 no_x=yes
32096 else
32097 # If each of the values was on the command line, it overrides each guess.
32098 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32099 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32100 # Update the cache value to reflect the command line values.
32101 ac_cv_have_x="have_x=yes\
32102 ac_x_includes='$x_includes'\
32103 ac_x_libraries='$x_libraries'"
32104 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32106 fi
32107
32108 if test "$no_x" = yes; then
32109 # Not all programs may use this symbol, but it does not hurt to define it.
32110
32111 cat >>confdefs.h <<\_ACEOF
32112 #define X_DISPLAY_MISSING 1
32113 _ACEOF
32114
32115 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32116 else
32117 if test -n "$x_includes"; then
32118 X_CFLAGS="$X_CFLAGS -I$x_includes"
32119 fi
32120
32121 # It would also be nice to do this for all -L options, not just this one.
32122 if test -n "$x_libraries"; then
32123 X_LIBS="$X_LIBS -L$x_libraries"
32124 # For Solaris; some versions of Sun CC require a space after -R and
32125 # others require no space. Words are not sufficient . . . .
32126 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32127 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32128 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32129 ac_xsave_c_werror_flag=$ac_c_werror_flag
32130 ac_c_werror_flag=yes
32131 cat >conftest.$ac_ext <<_ACEOF
32132 /* confdefs.h. */
32133 _ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137
32138 int
32139 main ()
32140 {
32141
32142 ;
32143 return 0;
32144 }
32145 _ACEOF
32146 rm -f conftest.$ac_objext conftest$ac_exeext
32147 if { (ac_try="$ac_link"
32148 case "(($ac_try" in
32149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32150 *) ac_try_echo=$ac_try;;
32151 esac
32152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32153 (eval "$ac_link") 2>conftest.er1
32154 ac_status=$?
32155 grep -v '^ *+' conftest.er1 >conftest.err
32156 rm -f conftest.er1
32157 cat conftest.err >&5
32158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32159 (exit $ac_status); } && {
32160 test -z "$ac_c_werror_flag" ||
32161 test ! -s conftest.err
32162 } && test -s conftest$ac_exeext &&
32163 $as_test_x conftest$ac_exeext; then
32164 { echo "$as_me:$LINENO: result: no" >&5
32165 echo "${ECHO_T}no" >&6; }
32166 X_LIBS="$X_LIBS -R$x_libraries"
32167 else
32168 echo "$as_me: failed program was:" >&5
32169 sed 's/^/| /' conftest.$ac_ext >&5
32170
32171 LIBS="$ac_xsave_LIBS -R $x_libraries"
32172 cat >conftest.$ac_ext <<_ACEOF
32173 /* confdefs.h. */
32174 _ACEOF
32175 cat confdefs.h >>conftest.$ac_ext
32176 cat >>conftest.$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32178
32179 int
32180 main ()
32181 {
32182
32183 ;
32184 return 0;
32185 }
32186 _ACEOF
32187 rm -f conftest.$ac_objext conftest$ac_exeext
32188 if { (ac_try="$ac_link"
32189 case "(($ac_try" in
32190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32191 *) ac_try_echo=$ac_try;;
32192 esac
32193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32194 (eval "$ac_link") 2>conftest.er1
32195 ac_status=$?
32196 grep -v '^ *+' conftest.er1 >conftest.err
32197 rm -f conftest.er1
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } && {
32201 test -z "$ac_c_werror_flag" ||
32202 test ! -s conftest.err
32203 } && test -s conftest$ac_exeext &&
32204 $as_test_x conftest$ac_exeext; then
32205 { echo "$as_me:$LINENO: result: yes" >&5
32206 echo "${ECHO_T}yes" >&6; }
32207 X_LIBS="$X_LIBS -R $x_libraries"
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32211
32212 { echo "$as_me:$LINENO: result: neither works" >&5
32213 echo "${ECHO_T}neither works" >&6; }
32214 fi
32215
32216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32217 conftest$ac_exeext conftest.$ac_ext
32218 fi
32219
32220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32221 conftest$ac_exeext conftest.$ac_ext
32222 ac_c_werror_flag=$ac_xsave_c_werror_flag
32223 LIBS=$ac_xsave_LIBS
32224 fi
32225
32226 # Check for system-dependent libraries X programs must link with.
32227 # Do this before checking for the system-independent R6 libraries
32228 # (-lICE), since we may need -lsocket or whatever for X linking.
32229
32230 if test "$ISC" = yes; then
32231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32232 else
32233 # Martyn Johnson says this is needed for Ultrix, if the X
32234 # libraries were built with DECnet support. And Karl Berry says
32235 # the Alpha needs dnet_stub (dnet does not exist).
32236 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 /* Override any GCC internal prototype to avoid an error.
32245 Use char because int might match the return type of a GCC
32246 builtin and then its argument prototype would still apply. */
32247 #ifdef __cplusplus
32248 extern "C"
32249 #endif
32250 char XOpenDisplay ();
32251 int
32252 main ()
32253 {
32254 return XOpenDisplay ();
32255 ;
32256 return 0;
32257 }
32258 _ACEOF
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (ac_try="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32264 esac
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32267 ac_status=$?
32268 grep -v '^ *+' conftest.er1 >conftest.err
32269 rm -f conftest.er1
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest$ac_exeext &&
32276 $as_test_x conftest$ac_exeext; then
32277 :
32278 else
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32281
32282 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32283 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32284 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32286 else
32287 ac_check_lib_save_LIBS=$LIBS
32288 LIBS="-ldnet $LIBS"
32289 cat >conftest.$ac_ext <<_ACEOF
32290 /* confdefs.h. */
32291 _ACEOF
32292 cat confdefs.h >>conftest.$ac_ext
32293 cat >>conftest.$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32295
32296 /* Override any GCC internal prototype to avoid an error.
32297 Use char because int might match the return type of a GCC
32298 builtin and then its argument prototype would still apply. */
32299 #ifdef __cplusplus
32300 extern "C"
32301 #endif
32302 char dnet_ntoa ();
32303 int
32304 main ()
32305 {
32306 return dnet_ntoa ();
32307 ;
32308 return 0;
32309 }
32310 _ACEOF
32311 rm -f conftest.$ac_objext conftest$ac_exeext
32312 if { (ac_try="$ac_link"
32313 case "(($ac_try" in
32314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32315 *) ac_try_echo=$ac_try;;
32316 esac
32317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32318 (eval "$ac_link") 2>conftest.er1
32319 ac_status=$?
32320 grep -v '^ *+' conftest.er1 >conftest.err
32321 rm -f conftest.er1
32322 cat conftest.err >&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); } && {
32325 test -z "$ac_c_werror_flag" ||
32326 test ! -s conftest.err
32327 } && test -s conftest$ac_exeext &&
32328 $as_test_x conftest$ac_exeext; then
32329 ac_cv_lib_dnet_dnet_ntoa=yes
32330 else
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32333
32334 ac_cv_lib_dnet_dnet_ntoa=no
32335 fi
32336
32337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32338 conftest$ac_exeext conftest.$ac_ext
32339 LIBS=$ac_check_lib_save_LIBS
32340 fi
32341 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32342 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32343 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32345 fi
32346
32347 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32348 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32349 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32350 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32351 echo $ECHO_N "(cached) $ECHO_C" >&6
32352 else
32353 ac_check_lib_save_LIBS=$LIBS
32354 LIBS="-ldnet_stub $LIBS"
32355 cat >conftest.$ac_ext <<_ACEOF
32356 /* confdefs.h. */
32357 _ACEOF
32358 cat confdefs.h >>conftest.$ac_ext
32359 cat >>conftest.$ac_ext <<_ACEOF
32360 /* end confdefs.h. */
32361
32362 /* Override any GCC internal prototype to avoid an error.
32363 Use char because int might match the return type of a GCC
32364 builtin and then its argument prototype would still apply. */
32365 #ifdef __cplusplus
32366 extern "C"
32367 #endif
32368 char dnet_ntoa ();
32369 int
32370 main ()
32371 {
32372 return dnet_ntoa ();
32373 ;
32374 return 0;
32375 }
32376 _ACEOF
32377 rm -f conftest.$ac_objext conftest$ac_exeext
32378 if { (ac_try="$ac_link"
32379 case "(($ac_try" in
32380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32381 *) ac_try_echo=$ac_try;;
32382 esac
32383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32384 (eval "$ac_link") 2>conftest.er1
32385 ac_status=$?
32386 grep -v '^ *+' conftest.er1 >conftest.err
32387 rm -f conftest.er1
32388 cat conftest.err >&5
32389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32390 (exit $ac_status); } && {
32391 test -z "$ac_c_werror_flag" ||
32392 test ! -s conftest.err
32393 } && test -s conftest$ac_exeext &&
32394 $as_test_x conftest$ac_exeext; then
32395 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32396 else
32397 echo "$as_me: failed program was:" >&5
32398 sed 's/^/| /' conftest.$ac_ext >&5
32399
32400 ac_cv_lib_dnet_stub_dnet_ntoa=no
32401 fi
32402
32403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32404 conftest$ac_exeext conftest.$ac_ext
32405 LIBS=$ac_check_lib_save_LIBS
32406 fi
32407 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32408 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32409 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32410 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32411 fi
32412
32413 fi
32414 fi
32415
32416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32417 conftest$ac_exeext conftest.$ac_ext
32418 LIBS="$ac_xsave_LIBS"
32419
32420 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32421 # to get the SysV transport functions.
32422 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32423 # needs -lnsl.
32424 # The nsl library prevents programs from opening the X display
32425 # on Irix 5.2, according to T.E. Dickey.
32426 # The functions gethostbyname, getservbyname, and inet_addr are
32427 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32428 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32429 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32430 if test "${ac_cv_func_gethostbyname+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 else
32433 cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h. */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32441 #define gethostbyname innocuous_gethostbyname
32442
32443 /* System header to define __stub macros and hopefully few prototypes,
32444 which can conflict with char gethostbyname (); below.
32445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32446 <limits.h> exists even on freestanding compilers. */
32447
32448 #ifdef __STDC__
32449 # include <limits.h>
32450 #else
32451 # include <assert.h>
32452 #endif
32453
32454 #undef gethostbyname
32455
32456 /* Override any GCC internal prototype to avoid an error.
32457 Use char because int might match the return type of a GCC
32458 builtin and then its argument prototype would still apply. */
32459 #ifdef __cplusplus
32460 extern "C"
32461 #endif
32462 char gethostbyname ();
32463 /* The GNU C library defines this for functions which it implements
32464 to always fail with ENOSYS. Some functions are actually named
32465 something starting with __ and the normal name is an alias. */
32466 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32467 choke me
32468 #endif
32469
32470 int
32471 main ()
32472 {
32473 return gethostbyname ();
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 rm -f conftest.$ac_objext conftest$ac_exeext
32479 if { (ac_try="$ac_link"
32480 case "(($ac_try" in
32481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32482 *) ac_try_echo=$ac_try;;
32483 esac
32484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32485 (eval "$ac_link") 2>conftest.er1
32486 ac_status=$?
32487 grep -v '^ *+' conftest.er1 >conftest.err
32488 rm -f conftest.er1
32489 cat conftest.err >&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); } && {
32492 test -z "$ac_c_werror_flag" ||
32493 test ! -s conftest.err
32494 } && test -s conftest$ac_exeext &&
32495 $as_test_x conftest$ac_exeext; then
32496 ac_cv_func_gethostbyname=yes
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501 ac_cv_func_gethostbyname=no
32502 fi
32503
32504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32505 conftest$ac_exeext conftest.$ac_ext
32506 fi
32507 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32508 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32509
32510 if test $ac_cv_func_gethostbyname = no; then
32511 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32512 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32513 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 ac_check_lib_save_LIBS=$LIBS
32517 LIBS="-lnsl $LIBS"
32518 cat >conftest.$ac_ext <<_ACEOF
32519 /* confdefs.h. */
32520 _ACEOF
32521 cat confdefs.h >>conftest.$ac_ext
32522 cat >>conftest.$ac_ext <<_ACEOF
32523 /* end confdefs.h. */
32524
32525 /* Override any GCC internal prototype to avoid an error.
32526 Use char because int might match the return type of a GCC
32527 builtin and then its argument prototype would still apply. */
32528 #ifdef __cplusplus
32529 extern "C"
32530 #endif
32531 char gethostbyname ();
32532 int
32533 main ()
32534 {
32535 return gethostbyname ();
32536 ;
32537 return 0;
32538 }
32539 _ACEOF
32540 rm -f conftest.$ac_objext conftest$ac_exeext
32541 if { (ac_try="$ac_link"
32542 case "(($ac_try" in
32543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32544 *) ac_try_echo=$ac_try;;
32545 esac
32546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32547 (eval "$ac_link") 2>conftest.er1
32548 ac_status=$?
32549 grep -v '^ *+' conftest.er1 >conftest.err
32550 rm -f conftest.er1
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } && {
32554 test -z "$ac_c_werror_flag" ||
32555 test ! -s conftest.err
32556 } && test -s conftest$ac_exeext &&
32557 $as_test_x conftest$ac_exeext; then
32558 ac_cv_lib_nsl_gethostbyname=yes
32559 else
32560 echo "$as_me: failed program was:" >&5
32561 sed 's/^/| /' conftest.$ac_ext >&5
32562
32563 ac_cv_lib_nsl_gethostbyname=no
32564 fi
32565
32566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32567 conftest$ac_exeext conftest.$ac_ext
32568 LIBS=$ac_check_lib_save_LIBS
32569 fi
32570 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32571 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32572 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32573 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32574 fi
32575
32576 if test $ac_cv_lib_nsl_gethostbyname = no; then
32577 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32578 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32579 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32580 echo $ECHO_N "(cached) $ECHO_C" >&6
32581 else
32582 ac_check_lib_save_LIBS=$LIBS
32583 LIBS="-lbsd $LIBS"
32584 cat >conftest.$ac_ext <<_ACEOF
32585 /* confdefs.h. */
32586 _ACEOF
32587 cat confdefs.h >>conftest.$ac_ext
32588 cat >>conftest.$ac_ext <<_ACEOF
32589 /* end confdefs.h. */
32590
32591 /* Override any GCC internal prototype to avoid an error.
32592 Use char because int might match the return type of a GCC
32593 builtin and then its argument prototype would still apply. */
32594 #ifdef __cplusplus
32595 extern "C"
32596 #endif
32597 char gethostbyname ();
32598 int
32599 main ()
32600 {
32601 return gethostbyname ();
32602 ;
32603 return 0;
32604 }
32605 _ACEOF
32606 rm -f conftest.$ac_objext conftest$ac_exeext
32607 if { (ac_try="$ac_link"
32608 case "(($ac_try" in
32609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32610 *) ac_try_echo=$ac_try;;
32611 esac
32612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32613 (eval "$ac_link") 2>conftest.er1
32614 ac_status=$?
32615 grep -v '^ *+' conftest.er1 >conftest.err
32616 rm -f conftest.er1
32617 cat conftest.err >&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); } && {
32620 test -z "$ac_c_werror_flag" ||
32621 test ! -s conftest.err
32622 } && test -s conftest$ac_exeext &&
32623 $as_test_x conftest$ac_exeext; then
32624 ac_cv_lib_bsd_gethostbyname=yes
32625 else
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32628
32629 ac_cv_lib_bsd_gethostbyname=no
32630 fi
32631
32632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32633 conftest$ac_exeext conftest.$ac_ext
32634 LIBS=$ac_check_lib_save_LIBS
32635 fi
32636 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32637 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32638 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32639 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32640 fi
32641
32642 fi
32643 fi
32644
32645 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32646 # socket/setsockopt and other routines are undefined under SCO ODT
32647 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32648 # on later versions), says Simon Leinen: it contains gethostby*
32649 # variants that don't use the name server (or something). -lsocket
32650 # must be given before -lnsl if both are needed. We assume that
32651 # if connect needs -lnsl, so does gethostbyname.
32652 { echo "$as_me:$LINENO: checking for connect" >&5
32653 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32654 if test "${ac_cv_func_connect+set}" = set; then
32655 echo $ECHO_N "(cached) $ECHO_C" >&6
32656 else
32657 cat >conftest.$ac_ext <<_ACEOF
32658 /* confdefs.h. */
32659 _ACEOF
32660 cat confdefs.h >>conftest.$ac_ext
32661 cat >>conftest.$ac_ext <<_ACEOF
32662 /* end confdefs.h. */
32663 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32665 #define connect innocuous_connect
32666
32667 /* System header to define __stub macros and hopefully few prototypes,
32668 which can conflict with char connect (); below.
32669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32670 <limits.h> exists even on freestanding compilers. */
32671
32672 #ifdef __STDC__
32673 # include <limits.h>
32674 #else
32675 # include <assert.h>
32676 #endif
32677
32678 #undef connect
32679
32680 /* Override any GCC internal prototype to avoid an error.
32681 Use char because int might match the return type of a GCC
32682 builtin and then its argument prototype would still apply. */
32683 #ifdef __cplusplus
32684 extern "C"
32685 #endif
32686 char connect ();
32687 /* The GNU C library defines this for functions which it implements
32688 to always fail with ENOSYS. Some functions are actually named
32689 something starting with __ and the normal name is an alias. */
32690 #if defined __stub_connect || defined __stub___connect
32691 choke me
32692 #endif
32693
32694 int
32695 main ()
32696 {
32697 return connect ();
32698 ;
32699 return 0;
32700 }
32701 _ACEOF
32702 rm -f conftest.$ac_objext conftest$ac_exeext
32703 if { (ac_try="$ac_link"
32704 case "(($ac_try" in
32705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32706 *) ac_try_echo=$ac_try;;
32707 esac
32708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32709 (eval "$ac_link") 2>conftest.er1
32710 ac_status=$?
32711 grep -v '^ *+' conftest.er1 >conftest.err
32712 rm -f conftest.er1
32713 cat conftest.err >&5
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); } && {
32716 test -z "$ac_c_werror_flag" ||
32717 test ! -s conftest.err
32718 } && test -s conftest$ac_exeext &&
32719 $as_test_x conftest$ac_exeext; then
32720 ac_cv_func_connect=yes
32721 else
32722 echo "$as_me: failed program was:" >&5
32723 sed 's/^/| /' conftest.$ac_ext >&5
32724
32725 ac_cv_func_connect=no
32726 fi
32727
32728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32729 conftest$ac_exeext conftest.$ac_ext
32730 fi
32731 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32732 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32733
32734 if test $ac_cv_func_connect = no; then
32735 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32736 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32737 if test "${ac_cv_lib_socket_connect+set}" = set; then
32738 echo $ECHO_N "(cached) $ECHO_C" >&6
32739 else
32740 ac_check_lib_save_LIBS=$LIBS
32741 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32742 cat >conftest.$ac_ext <<_ACEOF
32743 /* confdefs.h. */
32744 _ACEOF
32745 cat confdefs.h >>conftest.$ac_ext
32746 cat >>conftest.$ac_ext <<_ACEOF
32747 /* end confdefs.h. */
32748
32749 /* Override any GCC internal prototype to avoid an error.
32750 Use char because int might match the return type of a GCC
32751 builtin and then its argument prototype would still apply. */
32752 #ifdef __cplusplus
32753 extern "C"
32754 #endif
32755 char connect ();
32756 int
32757 main ()
32758 {
32759 return connect ();
32760 ;
32761 return 0;
32762 }
32763 _ACEOF
32764 rm -f conftest.$ac_objext conftest$ac_exeext
32765 if { (ac_try="$ac_link"
32766 case "(($ac_try" in
32767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32768 *) ac_try_echo=$ac_try;;
32769 esac
32770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32771 (eval "$ac_link") 2>conftest.er1
32772 ac_status=$?
32773 grep -v '^ *+' conftest.er1 >conftest.err
32774 rm -f conftest.er1
32775 cat conftest.err >&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } && {
32778 test -z "$ac_c_werror_flag" ||
32779 test ! -s conftest.err
32780 } && test -s conftest$ac_exeext &&
32781 $as_test_x conftest$ac_exeext; then
32782 ac_cv_lib_socket_connect=yes
32783 else
32784 echo "$as_me: failed program was:" >&5
32785 sed 's/^/| /' conftest.$ac_ext >&5
32786
32787 ac_cv_lib_socket_connect=no
32788 fi
32789
32790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32791 conftest$ac_exeext conftest.$ac_ext
32792 LIBS=$ac_check_lib_save_LIBS
32793 fi
32794 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32795 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32796 if test $ac_cv_lib_socket_connect = yes; then
32797 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32798 fi
32799
32800 fi
32801
32802 # Guillermo Gomez says -lposix is necessary on A/UX.
32803 { echo "$as_me:$LINENO: checking for remove" >&5
32804 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32805 if test "${ac_cv_func_remove+set}" = set; then
32806 echo $ECHO_N "(cached) $ECHO_C" >&6
32807 else
32808 cat >conftest.$ac_ext <<_ACEOF
32809 /* confdefs.h. */
32810 _ACEOF
32811 cat confdefs.h >>conftest.$ac_ext
32812 cat >>conftest.$ac_ext <<_ACEOF
32813 /* end confdefs.h. */
32814 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32816 #define remove innocuous_remove
32817
32818 /* System header to define __stub macros and hopefully few prototypes,
32819 which can conflict with char remove (); below.
32820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32821 <limits.h> exists even on freestanding compilers. */
32822
32823 #ifdef __STDC__
32824 # include <limits.h>
32825 #else
32826 # include <assert.h>
32827 #endif
32828
32829 #undef remove
32830
32831 /* Override any GCC internal prototype to avoid an error.
32832 Use char because int might match the return type of a GCC
32833 builtin and then its argument prototype would still apply. */
32834 #ifdef __cplusplus
32835 extern "C"
32836 #endif
32837 char remove ();
32838 /* The GNU C library defines this for functions which it implements
32839 to always fail with ENOSYS. Some functions are actually named
32840 something starting with __ and the normal name is an alias. */
32841 #if defined __stub_remove || defined __stub___remove
32842 choke me
32843 #endif
32844
32845 int
32846 main ()
32847 {
32848 return remove ();
32849 ;
32850 return 0;
32851 }
32852 _ACEOF
32853 rm -f conftest.$ac_objext conftest$ac_exeext
32854 if { (ac_try="$ac_link"
32855 case "(($ac_try" in
32856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32857 *) ac_try_echo=$ac_try;;
32858 esac
32859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32860 (eval "$ac_link") 2>conftest.er1
32861 ac_status=$?
32862 grep -v '^ *+' conftest.er1 >conftest.err
32863 rm -f conftest.er1
32864 cat conftest.err >&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); } && {
32867 test -z "$ac_c_werror_flag" ||
32868 test ! -s conftest.err
32869 } && test -s conftest$ac_exeext &&
32870 $as_test_x conftest$ac_exeext; then
32871 ac_cv_func_remove=yes
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 ac_cv_func_remove=no
32877 fi
32878
32879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32880 conftest$ac_exeext conftest.$ac_ext
32881 fi
32882 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32883 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32884
32885 if test $ac_cv_func_remove = no; then
32886 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32887 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32888 if test "${ac_cv_lib_posix_remove+set}" = set; then
32889 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 else
32891 ac_check_lib_save_LIBS=$LIBS
32892 LIBS="-lposix $LIBS"
32893 cat >conftest.$ac_ext <<_ACEOF
32894 /* confdefs.h. */
32895 _ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32899
32900 /* Override any GCC internal prototype to avoid an error.
32901 Use char because int might match the return type of a GCC
32902 builtin and then its argument prototype would still apply. */
32903 #ifdef __cplusplus
32904 extern "C"
32905 #endif
32906 char remove ();
32907 int
32908 main ()
32909 {
32910 return remove ();
32911 ;
32912 return 0;
32913 }
32914 _ACEOF
32915 rm -f conftest.$ac_objext conftest$ac_exeext
32916 if { (ac_try="$ac_link"
32917 case "(($ac_try" in
32918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32919 *) ac_try_echo=$ac_try;;
32920 esac
32921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32922 (eval "$ac_link") 2>conftest.er1
32923 ac_status=$?
32924 grep -v '^ *+' conftest.er1 >conftest.err
32925 rm -f conftest.er1
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } && {
32929 test -z "$ac_c_werror_flag" ||
32930 test ! -s conftest.err
32931 } && test -s conftest$ac_exeext &&
32932 $as_test_x conftest$ac_exeext; then
32933 ac_cv_lib_posix_remove=yes
32934 else
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32937
32938 ac_cv_lib_posix_remove=no
32939 fi
32940
32941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32942 conftest$ac_exeext conftest.$ac_ext
32943 LIBS=$ac_check_lib_save_LIBS
32944 fi
32945 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32946 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32947 if test $ac_cv_lib_posix_remove = yes; then
32948 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32949 fi
32950
32951 fi
32952
32953 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32954 { echo "$as_me:$LINENO: checking for shmat" >&5
32955 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32956 if test "${ac_cv_func_shmat+set}" = set; then
32957 echo $ECHO_N "(cached) $ECHO_C" >&6
32958 else
32959 cat >conftest.$ac_ext <<_ACEOF
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32967 #define shmat innocuous_shmat
32968
32969 /* System header to define __stub macros and hopefully few prototypes,
32970 which can conflict with char shmat (); below.
32971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32972 <limits.h> exists even on freestanding compilers. */
32973
32974 #ifdef __STDC__
32975 # include <limits.h>
32976 #else
32977 # include <assert.h>
32978 #endif
32979
32980 #undef shmat
32981
32982 /* Override any GCC internal prototype to avoid an error.
32983 Use char because int might match the return type of a GCC
32984 builtin and then its argument prototype would still apply. */
32985 #ifdef __cplusplus
32986 extern "C"
32987 #endif
32988 char shmat ();
32989 /* The GNU C library defines this for functions which it implements
32990 to always fail with ENOSYS. Some functions are actually named
32991 something starting with __ and the normal name is an alias. */
32992 #if defined __stub_shmat || defined __stub___shmat
32993 choke me
32994 #endif
32995
32996 int
32997 main ()
32998 {
32999 return shmat ();
33000 ;
33001 return 0;
33002 }
33003 _ACEOF
33004 rm -f conftest.$ac_objext conftest$ac_exeext
33005 if { (ac_try="$ac_link"
33006 case "(($ac_try" in
33007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33008 *) ac_try_echo=$ac_try;;
33009 esac
33010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33011 (eval "$ac_link") 2>conftest.er1
33012 ac_status=$?
33013 grep -v '^ *+' conftest.er1 >conftest.err
33014 rm -f conftest.er1
33015 cat conftest.err >&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } && {
33018 test -z "$ac_c_werror_flag" ||
33019 test ! -s conftest.err
33020 } && test -s conftest$ac_exeext &&
33021 $as_test_x conftest$ac_exeext; then
33022 ac_cv_func_shmat=yes
33023 else
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.$ac_ext >&5
33026
33027 ac_cv_func_shmat=no
33028 fi
33029
33030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33031 conftest$ac_exeext conftest.$ac_ext
33032 fi
33033 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33034 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33035
33036 if test $ac_cv_func_shmat = no; then
33037 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33038 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33039 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33040 echo $ECHO_N "(cached) $ECHO_C" >&6
33041 else
33042 ac_check_lib_save_LIBS=$LIBS
33043 LIBS="-lipc $LIBS"
33044 cat >conftest.$ac_ext <<_ACEOF
33045 /* confdefs.h. */
33046 _ACEOF
33047 cat confdefs.h >>conftest.$ac_ext
33048 cat >>conftest.$ac_ext <<_ACEOF
33049 /* end confdefs.h. */
33050
33051 /* Override any GCC internal prototype to avoid an error.
33052 Use char because int might match the return type of a GCC
33053 builtin and then its argument prototype would still apply. */
33054 #ifdef __cplusplus
33055 extern "C"
33056 #endif
33057 char shmat ();
33058 int
33059 main ()
33060 {
33061 return shmat ();
33062 ;
33063 return 0;
33064 }
33065 _ACEOF
33066 rm -f conftest.$ac_objext conftest$ac_exeext
33067 if { (ac_try="$ac_link"
33068 case "(($ac_try" in
33069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33070 *) ac_try_echo=$ac_try;;
33071 esac
33072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33073 (eval "$ac_link") 2>conftest.er1
33074 ac_status=$?
33075 grep -v '^ *+' conftest.er1 >conftest.err
33076 rm -f conftest.er1
33077 cat conftest.err >&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } && {
33080 test -z "$ac_c_werror_flag" ||
33081 test ! -s conftest.err
33082 } && test -s conftest$ac_exeext &&
33083 $as_test_x conftest$ac_exeext; then
33084 ac_cv_lib_ipc_shmat=yes
33085 else
33086 echo "$as_me: failed program was:" >&5
33087 sed 's/^/| /' conftest.$ac_ext >&5
33088
33089 ac_cv_lib_ipc_shmat=no
33090 fi
33091
33092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33093 conftest$ac_exeext conftest.$ac_ext
33094 LIBS=$ac_check_lib_save_LIBS
33095 fi
33096 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33097 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33098 if test $ac_cv_lib_ipc_shmat = yes; then
33099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33100 fi
33101
33102 fi
33103 fi
33104
33105 # Check for libraries that X11R6 Xt/Xaw programs need.
33106 ac_save_LDFLAGS=$LDFLAGS
33107 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33108 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33109 # check for ICE first), but we must link in the order -lSM -lICE or
33110 # we get undefined symbols. So assume we have SM if we have ICE.
33111 # These have to be linked with before -lX11, unlike the other
33112 # libraries we check for below, so use a different variable.
33113 # John Interrante, Karl Berry
33114 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33115 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33116 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33117 echo $ECHO_N "(cached) $ECHO_C" >&6
33118 else
33119 ac_check_lib_save_LIBS=$LIBS
33120 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33121 cat >conftest.$ac_ext <<_ACEOF
33122 /* confdefs.h. */
33123 _ACEOF
33124 cat confdefs.h >>conftest.$ac_ext
33125 cat >>conftest.$ac_ext <<_ACEOF
33126 /* end confdefs.h. */
33127
33128 /* Override any GCC internal prototype to avoid an error.
33129 Use char because int might match the return type of a GCC
33130 builtin and then its argument prototype would still apply. */
33131 #ifdef __cplusplus
33132 extern "C"
33133 #endif
33134 char IceConnectionNumber ();
33135 int
33136 main ()
33137 {
33138 return IceConnectionNumber ();
33139 ;
33140 return 0;
33141 }
33142 _ACEOF
33143 rm -f conftest.$ac_objext conftest$ac_exeext
33144 if { (ac_try="$ac_link"
33145 case "(($ac_try" in
33146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33147 *) ac_try_echo=$ac_try;;
33148 esac
33149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33150 (eval "$ac_link") 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } && {
33157 test -z "$ac_c_werror_flag" ||
33158 test ! -s conftest.err
33159 } && test -s conftest$ac_exeext &&
33160 $as_test_x conftest$ac_exeext; then
33161 ac_cv_lib_ICE_IceConnectionNumber=yes
33162 else
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33165
33166 ac_cv_lib_ICE_IceConnectionNumber=no
33167 fi
33168
33169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33170 conftest$ac_exeext conftest.$ac_ext
33171 LIBS=$ac_check_lib_save_LIBS
33172 fi
33173 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33174 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33175 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33176 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33177 fi
33178
33179 LDFLAGS=$ac_save_LDFLAGS
33180
33181 fi
33182
33183
33184 if test "$no_x" = "yes"; then
33185 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33186 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33187 { (exit 1); exit 1; }; }
33188 fi
33189
33190 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33191 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33192 AFMINSTALL=afminstall
33193 COMPILED_X_PROGRAM=0
33194
33195 fi
33196
33197 if test "$wxUSE_X11" = 1; then
33198 if test "$wxUSE_NANOX" = "yes"; then
33199 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33200 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33201 if test "x$MICROWIN" = x ; then
33202 { echo "$as_me:$LINENO: result: not found" >&5
33203 echo "${ECHO_T}not found" >&6; }
33204 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33205 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33206 { (exit 1); exit 1; }; }
33207 else
33208 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33209 echo "${ECHO_T}$MICROWIN" >&6; }
33210 cat >>confdefs.h <<\_ACEOF
33211 #define wxUSE_NANOX 1
33212 _ACEOF
33213
33214 fi
33215 fi
33216
33217 if test "$wxUSE_UNICODE" = "yes"; then
33218
33219
33220 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33221 if test -n "$ac_tool_prefix"; then
33222 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33223 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33226 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33227 echo $ECHO_N "(cached) $ECHO_C" >&6
33228 else
33229 case $PKG_CONFIG in
33230 [\\/]* | ?:[\\/]*)
33231 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33232 ;;
33233 *)
33234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33235 for as_dir in $PATH
33236 do
33237 IFS=$as_save_IFS
33238 test -z "$as_dir" && as_dir=.
33239 for ac_exec_ext in '' $ac_executable_extensions; do
33240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33241 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33243 break 2
33244 fi
33245 done
33246 done
33247 IFS=$as_save_IFS
33248
33249 ;;
33250 esac
33251 fi
33252 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33253 if test -n "$PKG_CONFIG"; then
33254 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33255 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33256 else
33257 { echo "$as_me:$LINENO: result: no" >&5
33258 echo "${ECHO_T}no" >&6; }
33259 fi
33260
33261
33262 fi
33263 if test -z "$ac_cv_path_PKG_CONFIG"; then
33264 ac_pt_PKG_CONFIG=$PKG_CONFIG
33265 # Extract the first word of "pkg-config", so it can be a program name with args.
33266 set dummy pkg-config; ac_word=$2
33267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33269 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33270 echo $ECHO_N "(cached) $ECHO_C" >&6
33271 else
33272 case $ac_pt_PKG_CONFIG in
33273 [\\/]* | ?:[\\/]*)
33274 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33275 ;;
33276 *)
33277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33278 for as_dir in $PATH
33279 do
33280 IFS=$as_save_IFS
33281 test -z "$as_dir" && as_dir=.
33282 for ac_exec_ext in '' $ac_executable_extensions; do
33283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33284 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33286 break 2
33287 fi
33288 done
33289 done
33290 IFS=$as_save_IFS
33291
33292 ;;
33293 esac
33294 fi
33295 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33296 if test -n "$ac_pt_PKG_CONFIG"; then
33297 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33298 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33299 else
33300 { echo "$as_me:$LINENO: result: no" >&5
33301 echo "${ECHO_T}no" >&6; }
33302 fi
33303
33304 if test "x$ac_pt_PKG_CONFIG" = x; then
33305 PKG_CONFIG=""
33306 else
33307 case $cross_compiling:$ac_tool_warned in
33308 yes:)
33309 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33310 whose name does not start with the host triplet. If you think this
33311 configuration is useful to you, please write to autoconf@gnu.org." >&5
33312 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33313 whose name does not start with the host triplet. If you think this
33314 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33315 ac_tool_warned=yes ;;
33316 esac
33317 PKG_CONFIG=$ac_pt_PKG_CONFIG
33318 fi
33319 else
33320 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33321 fi
33322
33323 fi
33324 if test -n "$PKG_CONFIG"; then
33325 _pkg_min_version=0.9.0
33326 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33327 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33328 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33329 { echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6; }
33331 else
33332 { echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6; }
33334 PKG_CONFIG=""
33335 fi
33336
33337 fi
33338
33339
33340 pkg_failed=no
33341 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33342 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33343
33344 if test -n "$PKG_CONFIG"; then
33345 if test -n "$PANGOX_CFLAGS"; then
33346 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33347 else
33348 if test -n "$PKG_CONFIG" && \
33349 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33350 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33351 ac_status=$?
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); }; then
33354 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33355 else
33356 pkg_failed=yes
33357 fi
33358 fi
33359 else
33360 pkg_failed=untried
33361 fi
33362 if test -n "$PKG_CONFIG"; then
33363 if test -n "$PANGOX_LIBS"; then
33364 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33365 else
33366 if test -n "$PKG_CONFIG" && \
33367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33368 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33369 ac_status=$?
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; then
33372 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33373 else
33374 pkg_failed=yes
33375 fi
33376 fi
33377 else
33378 pkg_failed=untried
33379 fi
33380
33381
33382
33383 if test $pkg_failed = yes; then
33384
33385 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33386 _pkg_short_errors_supported=yes
33387 else
33388 _pkg_short_errors_supported=no
33389 fi
33390 if test $_pkg_short_errors_supported = yes; then
33391 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33392 else
33393 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33394 fi
33395 # Put the nasty error message in config.log where it belongs
33396 echo "$PANGOX_PKG_ERRORS" >&5
33397
33398
33399 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33400 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33401 { (exit 1); exit 1; }; }
33402
33403
33404 elif test $pkg_failed = untried; then
33405
33406 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33407 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33408 { (exit 1); exit 1; }; }
33409
33410
33411 else
33412 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33413 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33414 { echo "$as_me:$LINENO: result: yes" >&5
33415 echo "${ECHO_T}yes" >&6; }
33416
33417 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33418 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33419 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33420
33421 fi
33422
33423 pkg_failed=no
33424 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33425 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33426
33427 if test -n "$PKG_CONFIG"; then
33428 if test -n "$PANGOFT2_CFLAGS"; then
33429 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33430 else
33431 if test -n "$PKG_CONFIG" && \
33432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33433 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33434 ac_status=$?
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; then
33437 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33438 else
33439 pkg_failed=yes
33440 fi
33441 fi
33442 else
33443 pkg_failed=untried
33444 fi
33445 if test -n "$PKG_CONFIG"; then
33446 if test -n "$PANGOFT2_LIBS"; then
33447 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33448 else
33449 if test -n "$PKG_CONFIG" && \
33450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33451 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33452 ac_status=$?
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); }; then
33455 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33456 else
33457 pkg_failed=yes
33458 fi
33459 fi
33460 else
33461 pkg_failed=untried
33462 fi
33463
33464
33465
33466 if test $pkg_failed = yes; then
33467
33468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33469 _pkg_short_errors_supported=yes
33470 else
33471 _pkg_short_errors_supported=no
33472 fi
33473 if test $_pkg_short_errors_supported = yes; then
33474 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33475 else
33476 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33477 fi
33478 # Put the nasty error message in config.log where it belongs
33479 echo "$PANGOFT2_PKG_ERRORS" >&5
33480
33481
33482 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33483 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33484 wxUSE_PRINTING_ARCHITECTURE="no"
33485
33486
33487 elif test $pkg_failed = untried; then
33488
33489 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33490 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33491 wxUSE_PRINTING_ARCHITECTURE="no"
33492
33493
33494 else
33495 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33496 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33497 { echo "$as_me:$LINENO: result: yes" >&5
33498 echo "${ECHO_T}yes" >&6; }
33499
33500 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33501 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33502 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33503
33504 fi
33505
33506 pkg_failed=no
33507 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33508 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33509
33510 if test -n "$PKG_CONFIG"; then
33511 if test -n "$PANGOXFT_CFLAGS"; then
33512 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33513 else
33514 if test -n "$PKG_CONFIG" && \
33515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33516 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33517 ac_status=$?
33518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519 (exit $ac_status); }; then
33520 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33521 else
33522 pkg_failed=yes
33523 fi
33524 fi
33525 else
33526 pkg_failed=untried
33527 fi
33528 if test -n "$PKG_CONFIG"; then
33529 if test -n "$PANGOXFT_LIBS"; then
33530 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33531 else
33532 if test -n "$PKG_CONFIG" && \
33533 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33534 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33535 ac_status=$?
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); }; then
33538 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33539 else
33540 pkg_failed=yes
33541 fi
33542 fi
33543 else
33544 pkg_failed=untried
33545 fi
33546
33547
33548
33549 if test $pkg_failed = yes; then
33550
33551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33552 _pkg_short_errors_supported=yes
33553 else
33554 _pkg_short_errors_supported=no
33555 fi
33556 if test $_pkg_short_errors_supported = yes; then
33557 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33558 else
33559 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33560 fi
33561 # Put the nasty error message in config.log where it belongs
33562 echo "$PANGOXFT_PKG_ERRORS" >&5
33563
33564
33565 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33566 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33567
33568
33569 elif test $pkg_failed = untried; then
33570
33571 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33572 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33573
33574
33575 else
33576 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33577 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33578 { echo "$as_me:$LINENO: result: yes" >&5
33579 echo "${ECHO_T}yes" >&6; }
33580
33581 cat >>confdefs.h <<\_ACEOF
33582 #define HAVE_PANGO_XFT 1
33583 _ACEOF
33584
33585 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33586 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33587 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33588
33589 fi
33590 save_LIBS="$LIBS"
33591 LIBS="$LIBS $PANGOX_LIBS"
33592
33593 for ac_func in pango_font_family_is_monospace
33594 do
33595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33599 echo $ECHO_N "(cached) $ECHO_C" >&6
33600 else
33601 cat >conftest.$ac_ext <<_ACEOF
33602 /* confdefs.h. */
33603 _ACEOF
33604 cat confdefs.h >>conftest.$ac_ext
33605 cat >>conftest.$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33609 #define $ac_func innocuous_$ac_func
33610
33611 /* System header to define __stub macros and hopefully few prototypes,
33612 which can conflict with char $ac_func (); below.
33613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33614 <limits.h> exists even on freestanding compilers. */
33615
33616 #ifdef __STDC__
33617 # include <limits.h>
33618 #else
33619 # include <assert.h>
33620 #endif
33621
33622 #undef $ac_func
33623
33624 /* Override any GCC internal prototype to avoid an error.
33625 Use char because int might match the return type of a GCC
33626 builtin and then its argument prototype would still apply. */
33627 #ifdef __cplusplus
33628 extern "C"
33629 #endif
33630 char $ac_func ();
33631 /* The GNU C library defines this for functions which it implements
33632 to always fail with ENOSYS. Some functions are actually named
33633 something starting with __ and the normal name is an alias. */
33634 #if defined __stub_$ac_func || defined __stub___$ac_func
33635 choke me
33636 #endif
33637
33638 int
33639 main ()
33640 {
33641 return $ac_func ();
33642 ;
33643 return 0;
33644 }
33645 _ACEOF
33646 rm -f conftest.$ac_objext conftest$ac_exeext
33647 if { (ac_try="$ac_link"
33648 case "(($ac_try" in
33649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33650 *) ac_try_echo=$ac_try;;
33651 esac
33652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33653 (eval "$ac_link") 2>conftest.er1
33654 ac_status=$?
33655 grep -v '^ *+' conftest.er1 >conftest.err
33656 rm -f conftest.er1
33657 cat conftest.err >&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); } && {
33660 test -z "$ac_c_werror_flag" ||
33661 test ! -s conftest.err
33662 } && test -s conftest$ac_exeext &&
33663 $as_test_x conftest$ac_exeext; then
33664 eval "$as_ac_var=yes"
33665 else
33666 echo "$as_me: failed program was:" >&5
33667 sed 's/^/| /' conftest.$ac_ext >&5
33668
33669 eval "$as_ac_var=no"
33670 fi
33671
33672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33673 conftest$ac_exeext conftest.$ac_ext
33674 fi
33675 ac_res=`eval echo '${'$as_ac_var'}'`
33676 { echo "$as_me:$LINENO: result: $ac_res" >&5
33677 echo "${ECHO_T}$ac_res" >&6; }
33678 if test `eval echo '${'$as_ac_var'}'` = yes; then
33679 cat >>confdefs.h <<_ACEOF
33680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33681 _ACEOF
33682
33683 fi
33684 done
33685
33686 LIBS="$save_LIBS"
33687 fi
33688
33689 wxUSE_UNIVERSAL="yes"
33690
33691 if test "$wxUSE_NANOX" = "yes"; then
33692 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33693 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"
33694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33695 else
33696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33697 fi
33698
33699 TOOLKIT=X11
33700 GUIDIST=X11_DIST
33701 fi
33702
33703 if test "$wxUSE_MOTIF" = 1; then
33704 if test "$wxUSE_UNICODE" = "yes"; then
33705 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
33706 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
33707 { (exit 1); exit 1; }; }
33708 fi
33709
33710 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33711 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33712
33713 ac_find_includes=
33714 for ac_dir in $SEARCH_INCLUDE /usr/include;
33715 do
33716 if test -f "$ac_dir/Xm/Xm.h"; then
33717 ac_find_includes=$ac_dir
33718 break
33719 fi
33720 done
33721
33722 if test "$ac_find_includes" != "" ; then
33723 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33724 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33725
33726 if test "x$ac_find_includes" = "x/usr/include"; then
33727 ac_path_to_include=""
33728 else
33729 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33730 result=$?
33731 if test $result = 0; then
33732 ac_path_to_include=""
33733 else
33734 ac_path_to_include=" -I$ac_find_includes"
33735 fi
33736 fi
33737
33738 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33739 else
33740 save_CFLAGS=$CFLAGS
33741 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33742
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749
33750 #include <Xm/Xm.h>
33751
33752 int
33753 main ()
33754 {
33755
33756 int version;
33757 version = xmUseVersion;
33758
33759 ;
33760 return 0;
33761 }
33762 _ACEOF
33763 rm -f conftest.$ac_objext
33764 if { (ac_try="$ac_compile"
33765 case "(($ac_try" in
33766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33767 *) ac_try_echo=$ac_try;;
33768 esac
33769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33770 (eval "$ac_compile") 2>conftest.er1
33771 ac_status=$?
33772 grep -v '^ *+' conftest.er1 >conftest.err
33773 rm -f conftest.er1
33774 cat conftest.err >&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); } && {
33777 test -z "$ac_c_werror_flag" ||
33778 test ! -s conftest.err
33779 } && test -s conftest.$ac_objext; then
33780
33781 { echo "$as_me:$LINENO: result: found in default search path" >&5
33782 echo "${ECHO_T}found in default search path" >&6; }
33783 COMPILED_X_PROGRAM=1
33784
33785 else
33786 echo "$as_me: failed program was:" >&5
33787 sed 's/^/| /' conftest.$ac_ext >&5
33788
33789
33790 { echo "$as_me:$LINENO: result: no" >&5
33791 echo "${ECHO_T}no" >&6; }
33792 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33793 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33794 { (exit 1); exit 1; }; }
33795
33796
33797 fi
33798
33799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33800
33801 CFLAGS=$save_CFLAGS
33802 fi
33803
33804
33805 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33806 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33807
33808 ac_find_libraries=
33809 for ac_dir in $SEARCH_LIB;
33810 do
33811 for ac_extension in a so sl dylib dll.a; do
33812 if test -f "$ac_dir/libXm.$ac_extension"; then
33813 ac_find_libraries=$ac_dir
33814 break 2
33815 fi
33816 done
33817 done
33818
33819
33820 if test "x$ac_find_libraries" != "x" ; then
33821 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33822 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33823
33824
33825 if test "$ac_find_libraries" = "default location"; then
33826 ac_path_to_link=""
33827 else
33828 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33829 result=$?
33830 if test $result = 0; then
33831 ac_path_to_link=""
33832 else
33833 ac_path_to_link=" -L$ac_find_libraries"
33834 fi
33835 fi
33836
33837 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33838 else
33839 save_CFLAGS=$CFLAGS
33840 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33841 save_LIBS="$LIBS"
33842 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33843
33844 cat >conftest.$ac_ext <<_ACEOF
33845 /* confdefs.h. */
33846 _ACEOF
33847 cat confdefs.h >>conftest.$ac_ext
33848 cat >>conftest.$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33850
33851 #include <Xm/Xm.h>
33852
33853 int
33854 main ()
33855 {
33856
33857 int version;
33858 version = xmUseVersion;
33859
33860 ;
33861 return 0;
33862 }
33863 _ACEOF
33864 rm -f conftest.$ac_objext conftest$ac_exeext
33865 if { (ac_try="$ac_link"
33866 case "(($ac_try" in
33867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33868 *) ac_try_echo=$ac_try;;
33869 esac
33870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33871 (eval "$ac_link") 2>conftest.er1
33872 ac_status=$?
33873 grep -v '^ *+' conftest.er1 >conftest.err
33874 rm -f conftest.er1
33875 cat conftest.err >&5
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } && {
33878 test -z "$ac_c_werror_flag" ||
33879 test ! -s conftest.err
33880 } && test -s conftest$ac_exeext &&
33881 $as_test_x conftest$ac_exeext; then
33882
33883 { echo "$as_me:$LINENO: result: found in default search path" >&5
33884 echo "${ECHO_T}found in default search path" >&6; }
33885 COMPILED_X_PROGRAM=1
33886
33887 else
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33890
33891
33892 { echo "$as_me:$LINENO: result: no" >&5
33893 echo "${ECHO_T}no" >&6; }
33894 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33895 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33896 { (exit 1); exit 1; }; }
33897
33898
33899 fi
33900
33901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33902 conftest$ac_exeext conftest.$ac_ext
33903
33904 CFLAGS=$save_CFLAGS
33905 LIBS="$save_LIBS"
33906 fi
33907
33908 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33909 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33910 libp_link=""
33911 libsm_ice_link=""
33912 libs_found=0
33913 for libp in "" " -lXp"; do
33914 if test "$libs_found" = "0"; then
33915 for libsm_ice in "" " -lSM -lICE"; do
33916 if test "$libs_found" = "0"; then
33917 save_LIBS="$LIBS"
33918 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33919 save_CFLAGS=$CFLAGS
33920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33921
33922 cat >conftest.$ac_ext <<_ACEOF
33923 /* confdefs.h. */
33924 _ACEOF
33925 cat confdefs.h >>conftest.$ac_ext
33926 cat >>conftest.$ac_ext <<_ACEOF
33927 /* end confdefs.h. */
33928
33929 #include <Xm/Xm.h>
33930 #include <Xm/List.h>
33931
33932 int
33933 main ()
33934 {
33935
33936 XmString string = NULL;
33937 Widget w = NULL;
33938 int position = 0;
33939 XmListAddItem(w, string, position);
33940
33941 ;
33942 return 0;
33943 }
33944 _ACEOF
33945 rm -f conftest.$ac_objext conftest$ac_exeext
33946 if { (ac_try="$ac_link"
33947 case "(($ac_try" in
33948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33949 *) ac_try_echo=$ac_try;;
33950 esac
33951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33952 (eval "$ac_link") 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } && {
33959 test -z "$ac_c_werror_flag" ||
33960 test ! -s conftest.err
33961 } && test -s conftest$ac_exeext &&
33962 $as_test_x conftest$ac_exeext; then
33963
33964 libp_link="$libp"
33965 libsm_ice_link="$libsm_ice"
33966 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33967 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33968 libs_found=1
33969
33970 else
33971 echo "$as_me: failed program was:" >&5
33972 sed 's/^/| /' conftest.$ac_ext >&5
33973
33974
33975
33976 fi
33977
33978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33979 conftest$ac_exeext conftest.$ac_ext
33980
33981 LIBS="$save_LIBS"
33982 CFLAGS=$save_CFLAGS
33983 fi
33984 done
33985 fi
33986 done
33987
33988 if test "$libs_found" = "0"; then
33989 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33990 echo "${ECHO_T}can't find the right libraries" >&6; }
33991 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33992 echo "$as_me: error: can't link a simple motif program" >&2;}
33993 { (exit 1); exit 1; }; }
33994 fi
33995
33996 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33997 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33998 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 else
34001 ac_check_lib_save_LIBS=$LIBS
34002 LIBS="-lSgm $LIBS"
34003 cat >conftest.$ac_ext <<_ACEOF
34004 /* confdefs.h. */
34005 _ACEOF
34006 cat confdefs.h >>conftest.$ac_ext
34007 cat >>conftest.$ac_ext <<_ACEOF
34008 /* end confdefs.h. */
34009
34010 /* Override any GCC internal prototype to avoid an error.
34011 Use char because int might match the return type of a GCC
34012 builtin and then its argument prototype would still apply. */
34013 #ifdef __cplusplus
34014 extern "C"
34015 #endif
34016 char SgCreateList ();
34017 int
34018 main ()
34019 {
34020 return SgCreateList ();
34021 ;
34022 return 0;
34023 }
34024 _ACEOF
34025 rm -f conftest.$ac_objext conftest$ac_exeext
34026 if { (ac_try="$ac_link"
34027 case "(($ac_try" in
34028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34029 *) ac_try_echo=$ac_try;;
34030 esac
34031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34032 (eval "$ac_link") 2>conftest.er1
34033 ac_status=$?
34034 grep -v '^ *+' conftest.er1 >conftest.err
34035 rm -f conftest.er1
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } && {
34039 test -z "$ac_c_werror_flag" ||
34040 test ! -s conftest.err
34041 } && test -s conftest$ac_exeext &&
34042 $as_test_x conftest$ac_exeext; then
34043 ac_cv_lib_Sgm_SgCreateList=yes
34044 else
34045 echo "$as_me: failed program was:" >&5
34046 sed 's/^/| /' conftest.$ac_ext >&5
34047
34048 ac_cv_lib_Sgm_SgCreateList=no
34049 fi
34050
34051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34052 conftest$ac_exeext conftest.$ac_ext
34053 LIBS=$ac_check_lib_save_LIBS
34054 fi
34055 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34056 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34057 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34058 libsgm_link=" -lSgm"
34059 fi
34060
34061
34062 save_CFLAGS=$CFLAGS
34063 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34064
34065 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34066 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34067 if test "${wx_cv_lib_motif2+set}" = set; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070 cat >conftest.$ac_ext <<_ACEOF
34071 /* confdefs.h. */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076
34077 #include <Xm/Xm.h>
34078
34079 int
34080 main ()
34081 {
34082
34083 #if XmVersion < 2000
34084 Not Motif 2
34085 #endif
34086
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext
34092 if { (ac_try="$ac_compile"
34093 case "(($ac_try" in
34094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34095 *) ac_try_echo=$ac_try;;
34096 esac
34097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34098 (eval "$ac_compile") 2>conftest.er1
34099 ac_status=$?
34100 grep -v '^ *+' conftest.er1 >conftest.err
34101 rm -f conftest.er1
34102 cat conftest.err >&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); } && {
34105 test -z "$ac_c_werror_flag" ||
34106 test ! -s conftest.err
34107 } && test -s conftest.$ac_objext; then
34108 wx_cv_lib_motif2="yes"
34109 else
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.$ac_ext >&5
34112
34113 wx_cv_lib_motif2="no"
34114 fi
34115
34116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34117 fi
34118 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34119 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34120 if test "$wx_cv_lib_motif2" = "yes"; then
34121 cat >>confdefs.h <<\_ACEOF
34122 #define __WXMOTIF20__ 1
34123 _ACEOF
34124
34125 else
34126 cat >>confdefs.h <<\_ACEOF
34127 #define __WXMOTIF20__ 0
34128 _ACEOF
34129
34130 fi
34131
34132 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34133 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34134 if test "${wx_cv_lib_lesstif+set}" = set; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137 cat >conftest.$ac_ext <<_ACEOF
34138 /* confdefs.h. */
34139 _ACEOF
34140 cat confdefs.h >>conftest.$ac_ext
34141 cat >>conftest.$ac_ext <<_ACEOF
34142 /* end confdefs.h. */
34143
34144 #include <Xm/Xm.h>
34145
34146 int
34147 main ()
34148 {
34149
34150 #if !defined(LesstifVersion) || LesstifVersion <= 0
34151 Not Lesstif
34152 #endif
34153
34154 ;
34155 return 0;
34156 }
34157 _ACEOF
34158 rm -f conftest.$ac_objext
34159 if { (ac_try="$ac_compile"
34160 case "(($ac_try" in
34161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34163 esac
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_compile") 2>conftest.er1
34166 ac_status=$?
34167 grep -v '^ *+' conftest.er1 >conftest.err
34168 rm -f conftest.er1
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } && {
34172 test -z "$ac_c_werror_flag" ||
34173 test ! -s conftest.err
34174 } && test -s conftest.$ac_objext; then
34175 wx_cv_lib_lesstif="yes"
34176 else
34177 echo "$as_me: failed program was:" >&5
34178 sed 's/^/| /' conftest.$ac_ext >&5
34179
34180 wx_cv_lib_lesstif="no"
34181 fi
34182
34183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34184
34185 fi
34186 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34187 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34188 if test "$wx_cv_lib_lesstif" = "yes"; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define __WXLESSTIF__ 1
34191 _ACEOF
34192
34193 else
34194 cat >>confdefs.h <<\_ACEOF
34195 #define __WXLESSTIF__ 0
34196 _ACEOF
34197
34198 fi
34199
34200 CFLAGS=$save_CFLAGS
34201
34202 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34203 TOOLKIT=MOTIF
34204 GUIDIST=MOTIF_DIST
34205 fi
34206
34207 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34208 if test "$wxUSE_LIBXPM" = "sys"; then
34209 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34210 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34211
34212 ac_find_libraries=
34213 for ac_dir in $SEARCH_LIB;
34214 do
34215 for ac_extension in a so sl dylib dll.a; do
34216 if test -f "$ac_dir/libXpm.$ac_extension"; then
34217 ac_find_libraries=$ac_dir
34218 break 2
34219 fi
34220 done
34221 done
34222
34223 if test "$ac_find_libraries" != "" ; then
34224
34225 if test "$ac_find_libraries" = "default location"; then
34226 ac_path_to_link=""
34227 else
34228 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34229 result=$?
34230 if test $result = 0; then
34231 ac_path_to_link=""
34232 else
34233 ac_path_to_link=" -L$ac_find_libraries"
34234 fi
34235 fi
34236
34237 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34238 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34239 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34240
34241 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34242 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34243 if test "${wx_cv_x11_xpm_h+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34246
34247 save_CFLAGS=$CFLAGS
34248 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34249
34250 cat >conftest.$ac_ext <<_ACEOF
34251 /* confdefs.h. */
34252 _ACEOF
34253 cat confdefs.h >>conftest.$ac_ext
34254 cat >>conftest.$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34256
34257 #include <X11/xpm.h>
34258
34259 int
34260 main ()
34261 {
34262
34263 int version;
34264 version = XpmLibraryVersion();
34265
34266 ;
34267 return 0;
34268 }
34269 _ACEOF
34270 rm -f conftest.$ac_objext
34271 if { (ac_try="$ac_compile"
34272 case "(($ac_try" in
34273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34274 *) ac_try_echo=$ac_try;;
34275 esac
34276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34277 (eval "$ac_compile") 2>conftest.er1
34278 ac_status=$?
34279 grep -v '^ *+' conftest.er1 >conftest.err
34280 rm -f conftest.er1
34281 cat conftest.err >&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); } && {
34284 test -z "$ac_c_werror_flag" ||
34285 test ! -s conftest.err
34286 } && test -s conftest.$ac_objext; then
34287 wx_cv_x11_xpm_h=yes
34288 else
34289 echo "$as_me: failed program was:" >&5
34290 sed 's/^/| /' conftest.$ac_ext >&5
34291
34292 wx_cv_x11_xpm_h=no
34293
34294 fi
34295
34296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34297
34298 CFLAGS=$save_CFLAGS
34299
34300
34301 fi
34302 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34303 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34304
34305 if test $wx_cv_x11_xpm_h = "yes"; then
34306 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34307 cat >>confdefs.h <<\_ACEOF
34308 #define wxHAVE_LIB_XPM 1
34309 _ACEOF
34310
34311 else
34312 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34313 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34314 fi
34315 fi
34316
34317 fi
34318
34319 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34320 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34321 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34322 echo $ECHO_N "(cached) $ECHO_C" >&6
34323 else
34324 ac_check_lib_save_LIBS=$LIBS
34325 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34326 cat >conftest.$ac_ext <<_ACEOF
34327 /* confdefs.h. */
34328 _ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332
34333 /* Override any GCC internal prototype to avoid an error.
34334 Use char because int might match the return type of a GCC
34335 builtin and then its argument prototype would still apply. */
34336 #ifdef __cplusplus
34337 extern "C"
34338 #endif
34339 char XShapeQueryExtension ();
34340 int
34341 main ()
34342 {
34343 return XShapeQueryExtension ();
34344 ;
34345 return 0;
34346 }
34347 _ACEOF
34348 rm -f conftest.$ac_objext conftest$ac_exeext
34349 if { (ac_try="$ac_link"
34350 case "(($ac_try" in
34351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34352 *) ac_try_echo=$ac_try;;
34353 esac
34354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34355 (eval "$ac_link") 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } && {
34362 test -z "$ac_c_werror_flag" ||
34363 test ! -s conftest.err
34364 } && test -s conftest$ac_exeext &&
34365 $as_test_x conftest$ac_exeext; then
34366 ac_cv_lib_Xext_XShapeQueryExtension=yes
34367 else
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.$ac_ext >&5
34370
34371 ac_cv_lib_Xext_XShapeQueryExtension=no
34372 fi
34373
34374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34375 conftest$ac_exeext conftest.$ac_ext
34376 LIBS=$ac_check_lib_save_LIBS
34377 fi
34378 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34379 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34380 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34381
34382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34383 wxHAVE_XEXT_LIB=1
34384
34385 fi
34386
34387
34388 if test "$wxHAVE_XEXT_LIB" = 1; then
34389 save_CFLAGS="$CFLAGS"
34390 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34391
34392 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34393 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34394 cat >conftest.$ac_ext <<_ACEOF
34395 /* confdefs.h. */
34396 _ACEOF
34397 cat confdefs.h >>conftest.$ac_ext
34398 cat >>conftest.$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400
34401 #include <X11/Xlib.h>
34402 #include <X11/extensions/shape.h>
34403
34404 int
34405 main ()
34406 {
34407
34408 int dummy1, dummy2;
34409 XShapeQueryExtension((Display*)NULL,
34410 (int*)NULL, (int*)NULL);
34411
34412 ;
34413 return 0;
34414 }
34415 _ACEOF
34416 rm -f conftest.$ac_objext
34417 if { (ac_try="$ac_compile"
34418 case "(($ac_try" in
34419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34420 *) ac_try_echo=$ac_try;;
34421 esac
34422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34423 (eval "$ac_compile") 2>conftest.er1
34424 ac_status=$?
34425 grep -v '^ *+' conftest.er1 >conftest.err
34426 rm -f conftest.er1
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } && {
34430 test -z "$ac_c_werror_flag" ||
34431 test ! -s conftest.err
34432 } && test -s conftest.$ac_objext; then
34433
34434 cat >>confdefs.h <<\_ACEOF
34435 #define HAVE_XSHAPE 1
34436 _ACEOF
34437
34438 { echo "$as_me:$LINENO: result: found" >&5
34439 echo "${ECHO_T}found" >&6; }
34440
34441 else
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.$ac_ext >&5
34444
34445
34446 { echo "$as_me:$LINENO: result: not found" >&5
34447 echo "${ECHO_T}not found" >&6; }
34448
34449 fi
34450
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34452 CFLAGS="$save_CFLAGS"
34453
34454 fi
34455 fi
34456
34457 if test "$wxUSE_MAC" = 1; then
34458 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34459 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34460 if test "$GCC" = yes; then
34461 { echo "$as_me:$LINENO: result: gcc" >&5
34462 echo "${ECHO_T}gcc" >&6; }
34463 CPPFLAGS_PASCAL="-fpascal-strings"
34464 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34465 { echo "$as_me:$LINENO: result: xlc" >&5
34466 echo "${ECHO_T}xlc" >&6; }
34467 CPPFLAGS_PASCAL="-qmacpstr"
34468 else
34469 { echo "$as_me:$LINENO: result: none" >&5
34470 echo "${ECHO_T}none" >&6; }
34471 fi
34472
34473 if test "x$wxUSE_UNIX" = "xyes"; then
34474 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34475 else
34476 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34477 fi
34478
34479 TOOLKIT=MAC
34480 GUIDIST=MACX_DIST
34481 WXBASEPORT="_carbon"
34482 fi
34483
34484 if test "$wxUSE_COCOA" = 1; then
34485 TOOLKIT=COCOA
34486 GUIDIST=COCOA_DIST
34487 fi
34488
34489 if test "$wxUSE_PM" = 1; then
34490 TOOLKIT=PM
34491 GUIDIST=PM_DIST
34492 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34493 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34494 if test "${wx_cv_spbcdata+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504
34505 #define INCL_PM
34506 #include <os2.h>
34507
34508 int
34509 main ()
34510 {
34511
34512 SPBCDATA test;
34513
34514 ;
34515 return 0;
34516 }
34517 _ACEOF
34518 rm -f conftest.$ac_objext
34519 if { (ac_try="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34522 *) ac_try_echo=$ac_try;;
34523 esac
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34526 ac_status=$?
34527 grep -v '^ *+' conftest.er1 >conftest.err
34528 rm -f conftest.er1
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_c_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.$ac_objext; then
34535 wx_cv_spbcdata=yes
34536 else
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34539
34540 wx_cv_spbcdata=no
34541
34542 fi
34543
34544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34545
34546
34547 fi
34548 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34549 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34550
34551 if test $wx_cv_spbcdata = "yes"; then
34552 cat >>confdefs.h <<\_ACEOF
34553 #define HAVE_SPBCDATA 1
34554 _ACEOF
34555
34556 fi
34557 fi
34558
34559 if test "$TOOLKIT" = "PM" ; then
34560 TOOLKIT_DIR="os2"
34561 else
34562 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34563 fi
34564
34565 if test "$wxUSE_UNIVERSAL" = "yes"; then
34566 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34567 WIDGET_SET=univ
34568 fi
34569
34570 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34571 DISTDIR="wx\$(TOOLKIT)"
34572 else
34573 USE_GUI=0
34574
34575 TOOLKIT_DIR="base"
34576
34577 if test "$USE_WIN32" = 1 ; then
34578 TOOLKIT="MSW"
34579 fi
34580
34581 GUIDIST="BASE_DIST"
34582 DISTDIR="wxBase"
34583 fi
34584
34585
34586
34587 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34588 if test "$TOOLKIT" = "DFB" ; then
34589 wxUSE_UNICODE_UTF8=yes
34590 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34591 wxUSE_UNICODE_UTF8=yes
34592 elif test "$USE_OS2" = "1" ; then
34593 wxUSE_UNICODE_UTF8=yes
34594 else
34595 wxUSE_UNICODE_UTF8=no
34596 fi
34597 fi
34598
34599
34600 if test "$wxUSE_GUI" = "yes"; then
34601 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34602
34603 for ac_header in X11/Xlib.h
34604 do
34605 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34609 echo $ECHO_N "(cached) $ECHO_C" >&6
34610 else
34611 cat >conftest.$ac_ext <<_ACEOF
34612 /* confdefs.h. */
34613 _ACEOF
34614 cat confdefs.h >>conftest.$ac_ext
34615 cat >>conftest.$ac_ext <<_ACEOF
34616 /* end confdefs.h. */
34617
34618
34619 #include <$ac_header>
34620 _ACEOF
34621 rm -f conftest.$ac_objext
34622 if { (ac_try="$ac_compile"
34623 case "(($ac_try" in
34624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34625 *) ac_try_echo=$ac_try;;
34626 esac
34627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34628 (eval "$ac_compile") 2>conftest.er1
34629 ac_status=$?
34630 grep -v '^ *+' conftest.er1 >conftest.err
34631 rm -f conftest.er1
34632 cat conftest.err >&5
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); } && {
34635 test -z "$ac_c_werror_flag" ||
34636 test ! -s conftest.err
34637 } && test -s conftest.$ac_objext; then
34638 eval "$as_ac_Header=yes"
34639 else
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34642
34643 eval "$as_ac_Header=no"
34644 fi
34645
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647 fi
34648 ac_res=`eval echo '${'$as_ac_Header'}'`
34649 { echo "$as_me:$LINENO: result: $ac_res" >&5
34650 echo "${ECHO_T}$ac_res" >&6; }
34651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34652 cat >>confdefs.h <<_ACEOF
34653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34654 _ACEOF
34655
34656 fi
34657
34658 done
34659
34660
34661 for ac_header in X11/XKBlib.h
34662 do
34663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 else
34669 cat >conftest.$ac_ext <<_ACEOF
34670 /* confdefs.h. */
34671 _ACEOF
34672 cat confdefs.h >>conftest.$ac_ext
34673 cat >>conftest.$ac_ext <<_ACEOF
34674 /* end confdefs.h. */
34675
34676 #if HAVE_X11_XLIB_H
34677 #include <X11/Xlib.h>
34678 #endif
34679
34680
34681 #include <$ac_header>
34682 _ACEOF
34683 rm -f conftest.$ac_objext
34684 if { (ac_try="$ac_compile"
34685 case "(($ac_try" in
34686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34687 *) ac_try_echo=$ac_try;;
34688 esac
34689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34690 (eval "$ac_compile") 2>conftest.er1
34691 ac_status=$?
34692 grep -v '^ *+' conftest.er1 >conftest.err
34693 rm -f conftest.er1
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } && {
34697 test -z "$ac_c_werror_flag" ||
34698 test ! -s conftest.err
34699 } && test -s conftest.$ac_objext; then
34700 eval "$as_ac_Header=yes"
34701 else
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34704
34705 eval "$as_ac_Header=no"
34706 fi
34707
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 fi
34710 ac_res=`eval echo '${'$as_ac_Header'}'`
34711 { echo "$as_me:$LINENO: result: $ac_res" >&5
34712 echo "${ECHO_T}$ac_res" >&6; }
34713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34716 _ACEOF
34717
34718 fi
34719
34720 done
34721
34722 fi
34723 fi
34724
34725
34726
34727 IODBC_C_SRC=""
34728
34729
34730 if test "$TOOLKIT" != "MSW" ; then
34731
34732 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34733
34734 { echo "$as_me:$LINENO: checking for sql.h" >&5
34735 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
34736 if test "${ac_cv_header_sql_h+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739 cat >conftest.$ac_ext <<_ACEOF
34740 /* confdefs.h. */
34741 _ACEOF
34742 cat confdefs.h >>conftest.$ac_ext
34743 cat >>conftest.$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34745
34746
34747 #include <sql.h>
34748 _ACEOF
34749 rm -f conftest.$ac_objext
34750 if { (ac_try="$ac_compile"
34751 case "(($ac_try" in
34752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34753 *) ac_try_echo=$ac_try;;
34754 esac
34755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34756 (eval "$ac_compile") 2>conftest.er1
34757 ac_status=$?
34758 grep -v '^ *+' conftest.er1 >conftest.err
34759 rm -f conftest.er1
34760 cat conftest.err >&5
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); } && {
34763 test -z "$ac_c_werror_flag" ||
34764 test ! -s conftest.err
34765 } && test -s conftest.$ac_objext; then
34766 ac_cv_header_sql_h=yes
34767 else
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.$ac_ext >&5
34770
34771 ac_cv_header_sql_h=no
34772 fi
34773
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775 fi
34776 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34777 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
34778 if test $ac_cv_header_sql_h = yes; then
34779 found_sql_h=1
34780 fi
34781
34782
34783 if test "x$found_sql_h" = "x1" ; then
34784 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34785 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
34786 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34788 else
34789 ac_check_lib_save_LIBS=$LIBS
34790 LIBS="-liodbc $LIBS"
34791 cat >conftest.$ac_ext <<_ACEOF
34792 /* confdefs.h. */
34793 _ACEOF
34794 cat confdefs.h >>conftest.$ac_ext
34795 cat >>conftest.$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34797
34798 /* Override any GCC internal prototype to avoid an error.
34799 Use char because int might match the return type of a GCC
34800 builtin and then its argument prototype would still apply. */
34801 #ifdef __cplusplus
34802 extern "C"
34803 #endif
34804 char SQLAllocEnv ();
34805 int
34806 main ()
34807 {
34808 return SQLAllocEnv ();
34809 ;
34810 return 0;
34811 }
34812 _ACEOF
34813 rm -f conftest.$ac_objext conftest$ac_exeext
34814 if { (ac_try="$ac_link"
34815 case "(($ac_try" in
34816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34817 *) ac_try_echo=$ac_try;;
34818 esac
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_link") 2>conftest.er1
34821 ac_status=$?
34822 grep -v '^ *+' conftest.er1 >conftest.err
34823 rm -f conftest.er1
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest$ac_exeext &&
34830 $as_test_x conftest$ac_exeext; then
34831 ac_cv_lib_iodbc_SQLAllocEnv=yes
34832 else
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34835
34836 ac_cv_lib_iodbc_SQLAllocEnv=no
34837 fi
34838
34839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34840 conftest$ac_exeext conftest.$ac_ext
34841 LIBS=$ac_check_lib_save_LIBS
34842 fi
34843 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34844 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
34845 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34846 ODBC_LINK=" -liodbc"
34847 else
34848
34849 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34850 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
34851 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34852 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 else
34854 ac_check_lib_save_LIBS=$LIBS
34855 LIBS="-lunixodbc $LIBS"
34856 cat >conftest.$ac_ext <<_ACEOF
34857 /* confdefs.h. */
34858 _ACEOF
34859 cat confdefs.h >>conftest.$ac_ext
34860 cat >>conftest.$ac_ext <<_ACEOF
34861 /* end confdefs.h. */
34862
34863 /* Override any GCC internal prototype to avoid an error.
34864 Use char because int might match the return type of a GCC
34865 builtin and then its argument prototype would still apply. */
34866 #ifdef __cplusplus
34867 extern "C"
34868 #endif
34869 char SQLAllocEnv ();
34870 int
34871 main ()
34872 {
34873 return SQLAllocEnv ();
34874 ;
34875 return 0;
34876 }
34877 _ACEOF
34878 rm -f conftest.$ac_objext conftest$ac_exeext
34879 if { (ac_try="$ac_link"
34880 case "(($ac_try" in
34881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34882 *) ac_try_echo=$ac_try;;
34883 esac
34884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34885 (eval "$ac_link") 2>conftest.er1
34886 ac_status=$?
34887 grep -v '^ *+' conftest.er1 >conftest.err
34888 rm -f conftest.er1
34889 cat conftest.err >&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } && {
34892 test -z "$ac_c_werror_flag" ||
34893 test ! -s conftest.err
34894 } && test -s conftest$ac_exeext &&
34895 $as_test_x conftest$ac_exeext; then
34896 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34897 else
34898 echo "$as_me: failed program was:" >&5
34899 sed 's/^/| /' conftest.$ac_ext >&5
34900
34901 ac_cv_lib_unixodbc_SQLAllocEnv=no
34902 fi
34903
34904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34905 conftest$ac_exeext conftest.$ac_ext
34906 LIBS=$ac_check_lib_save_LIBS
34907 fi
34908 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34909 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
34910 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34911 ODBC_LINK=" -lunixodbc"
34912 else
34913
34914 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34915 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
34916 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34917 echo $ECHO_N "(cached) $ECHO_C" >&6
34918 else
34919 ac_check_lib_save_LIBS=$LIBS
34920 LIBS="-lodbc $LIBS"
34921 cat >conftest.$ac_ext <<_ACEOF
34922 /* confdefs.h. */
34923 _ACEOF
34924 cat confdefs.h >>conftest.$ac_ext
34925 cat >>conftest.$ac_ext <<_ACEOF
34926 /* end confdefs.h. */
34927
34928 /* Override any GCC internal prototype to avoid an error.
34929 Use char because int might match the return type of a GCC
34930 builtin and then its argument prototype would still apply. */
34931 #ifdef __cplusplus
34932 extern "C"
34933 #endif
34934 char SQLAllocEnv ();
34935 int
34936 main ()
34937 {
34938 return SQLAllocEnv ();
34939 ;
34940 return 0;
34941 }
34942 _ACEOF
34943 rm -f conftest.$ac_objext conftest$ac_exeext
34944 if { (ac_try="$ac_link"
34945 case "(($ac_try" in
34946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34947 *) ac_try_echo=$ac_try;;
34948 esac
34949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34950 (eval "$ac_link") 2>conftest.er1
34951 ac_status=$?
34952 grep -v '^ *+' conftest.er1 >conftest.err
34953 rm -f conftest.er1
34954 cat conftest.err >&5
34955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34956 (exit $ac_status); } && {
34957 test -z "$ac_c_werror_flag" ||
34958 test ! -s conftest.err
34959 } && test -s conftest$ac_exeext &&
34960 $as_test_x conftest$ac_exeext; then
34961 ac_cv_lib_odbc_SQLAllocEnv=yes
34962 else
34963 echo "$as_me: failed program was:" >&5
34964 sed 's/^/| /' conftest.$ac_ext >&5
34965
34966 ac_cv_lib_odbc_SQLAllocEnv=no
34967 fi
34968
34969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34970 conftest$ac_exeext conftest.$ac_ext
34971 LIBS=$ac_check_lib_save_LIBS
34972 fi
34973 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34974 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
34975 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34976 ODBC_LINK=" -lodbc"
34977 fi
34978
34979
34980 fi
34981
34982
34983 fi
34984
34985 fi
34986 if test "x$ODBC_LINK" = "x" ; then
34987 if test "$wxUSE_ODBC" = "sys" ; then
34988 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34989 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34990 { (exit 1); exit 1; }; }
34991 else
34992 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34993 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34994 wxUSE_ODBC=builtin
34995 fi
34996 else
34997 wxUSE_ODBC=sys
34998 fi
34999 fi
35000
35001 if test "$wxUSE_ODBC" = "builtin" ; then
35002 cat >>confdefs.h <<\_ACEOF
35003 #define wxUSE_BUILTIN_IODBC 1
35004 _ACEOF
35005
35006 fi
35007 fi
35008
35009 if test "$wxUSE_ODBC" != "no" ; then
35010 cat >>confdefs.h <<\_ACEOF
35011 #define wxUSE_ODBC 1
35012 _ACEOF
35013
35014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35015
35016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35017 fi
35018
35019
35020 if test "$wxUSE_DISPLAY" = "yes"; then
35021 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35022 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35023 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35024
35025 ac_find_libraries=
35026 for ac_dir in $SEARCH_LIB;
35027 do
35028 for ac_extension in a so sl dylib dll.a; do
35029 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35030 ac_find_libraries=$ac_dir
35031 break 2
35032 fi
35033 done
35034 done
35035
35036 if test "$ac_find_libraries" != "" ; then
35037
35038 if test "$ac_find_libraries" = "default location"; then
35039 ac_path_to_link=""
35040 else
35041 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35042 result=$?
35043 if test $result = 0; then
35044 ac_path_to_link=""
35045 else
35046 ac_path_to_link=" -L$ac_find_libraries"
35047 fi
35048 fi
35049
35050 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35051 LDFLAGS="$LDFLAGS $ac_path_to_link"
35052 fi
35053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35054 { echo "$as_me:$LINENO: result: yes" >&5
35055 echo "${ECHO_T}yes" >&6; }
35056
35057 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35058 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35059
35060 ac_find_libraries=
35061 for ac_dir in $SEARCH_LIB;
35062 do
35063 for ac_extension in a so sl dylib dll.a; do
35064 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35065 ac_find_libraries=$ac_dir
35066 break 2
35067 fi
35068 done
35069 done
35070
35071 if test "$ac_find_libraries" != "" ; then
35072 { echo "$as_me:$LINENO: result: yes" >&5
35073 echo "${ECHO_T}yes" >&6; }
35074
35075 for ac_header in X11/extensions/xf86vmode.h
35076 do
35077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35078 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083 cat >conftest.$ac_ext <<_ACEOF
35084 /* confdefs.h. */
35085 _ACEOF
35086 cat confdefs.h >>conftest.$ac_ext
35087 cat >>conftest.$ac_ext <<_ACEOF
35088 /* end confdefs.h. */
35089
35090 #if HAVE_X11_XLIB_H
35091 #include <X11/Xlib.h>
35092 #endif
35093
35094
35095 #include <$ac_header>
35096 _ACEOF
35097 rm -f conftest.$ac_objext
35098 if { (ac_try="$ac_compile"
35099 case "(($ac_try" in
35100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35101 *) ac_try_echo=$ac_try;;
35102 esac
35103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35104 (eval "$ac_compile") 2>conftest.er1
35105 ac_status=$?
35106 grep -v '^ *+' conftest.er1 >conftest.err
35107 rm -f conftest.er1
35108 cat conftest.err >&5
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } && {
35111 test -z "$ac_c_werror_flag" ||
35112 test ! -s conftest.err
35113 } && test -s conftest.$ac_objext; then
35114 eval "$as_ac_Header=yes"
35115 else
35116 echo "$as_me: failed program was:" >&5
35117 sed 's/^/| /' conftest.$ac_ext >&5
35118
35119 eval "$as_ac_Header=no"
35120 fi
35121
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 fi
35124 ac_res=`eval echo '${'$as_ac_Header'}'`
35125 { echo "$as_me:$LINENO: result: $ac_res" >&5
35126 echo "${ECHO_T}$ac_res" >&6; }
35127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35128 cat >>confdefs.h <<_ACEOF
35129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35130 _ACEOF
35131
35132 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35133
35134 fi
35135
35136 done
35137
35138 else
35139 { echo "$as_me:$LINENO: result: no" >&5
35140 echo "${ECHO_T}no" >&6; }
35141 fi
35142
35143 else
35144 { echo "$as_me:$LINENO: result: no" >&5
35145 echo "${ECHO_T}no" >&6; }
35146 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35147 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35148 wxUSE_DISPLAY="no"
35149 fi
35150 elif test "$wxUSE_MSW" = 1; then
35151 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35152 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35153 if test "${ac_cv_header_ddraw_h+set}" = set; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35155 else
35156 cat >conftest.$ac_ext <<_ACEOF
35157 /* confdefs.h. */
35158 _ACEOF
35159 cat confdefs.h >>conftest.$ac_ext
35160 cat >>conftest.$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 #include <windows.h>
35163
35164 #include <ddraw.h>
35165 _ACEOF
35166 rm -f conftest.$ac_objext
35167 if { (ac_try="$ac_compile"
35168 case "(($ac_try" in
35169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35170 *) ac_try_echo=$ac_try;;
35171 esac
35172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35173 (eval "$ac_compile") 2>conftest.er1
35174 ac_status=$?
35175 grep -v '^ *+' conftest.er1 >conftest.err
35176 rm -f conftest.er1
35177 cat conftest.err >&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } && {
35180 test -z "$ac_c_werror_flag" ||
35181 test ! -s conftest.err
35182 } && test -s conftest.$ac_objext; then
35183 ac_cv_header_ddraw_h=yes
35184 else
35185 echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35187
35188 ac_cv_header_ddraw_h=no
35189 fi
35190
35191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35192 fi
35193 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35194 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35195
35196
35197 fi
35198 fi
35199
35200 if test "$wxUSE_DETECT_SM" = "yes"; then
35201 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35202 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35203 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35204
35205 ac_find_libraries=
35206 for ac_dir in $SEARCH_LIB;
35207 do
35208 for ac_extension in a so sl dylib dll.a; do
35209 if test -f "$ac_dir/libSM.$ac_extension"; then
35210 ac_find_libraries=$ac_dir
35211 break 2
35212 fi
35213 done
35214 done
35215
35216 if test "$ac_find_libraries" != "" ; then
35217
35218 if test "$ac_find_libraries" = "default location"; then
35219 ac_path_to_link=""
35220 else
35221 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35222 result=$?
35223 if test $result = 0; then
35224 ac_path_to_link=""
35225 else
35226 ac_path_to_link=" -L$ac_find_libraries"
35227 fi
35228 fi
35229
35230 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35231 LDFLAGS="$LDFLAGS $ac_path_to_link"
35232 fi
35233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35234 { echo "$as_me:$LINENO: result: yes" >&5
35235 echo "${ECHO_T}yes" >&6; }
35236 else
35237 { echo "$as_me:$LINENO: result: no" >&5
35238 echo "${ECHO_T}no" >&6; }
35239 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35240 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35241 wxUSE_DETECT_SM="no"
35242 fi
35243 else
35244 wxUSE_DETECT_SM="no"
35245 fi
35246 fi
35247
35248
35249
35250 USE_OPENGL=0
35251 if test "$wxUSE_OPENGL" = "yes"; then
35252 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35253 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35254 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35255 wxUSE_OPENGL="no"
35256 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35257 OPENGL_LIBS="-framework OpenGL -framework AGL"
35258 elif test "$wxUSE_MSW" = 1; then
35259 OPENGL_LIBS="-lopengl32 -lglu32"
35260 else
35261 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35262 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35263
35264 ac_find_includes=
35265 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35266 do
35267 if test -f "$ac_dir/GL/gl.h"; then
35268 ac_find_includes=$ac_dir
35269 break
35270 fi
35271 done
35272
35273 if test "$ac_find_includes" != "" ; then
35274 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35275 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35276
35277 if test "x$ac_find_includes" = "x/usr/include"; then
35278 ac_path_to_include=""
35279 else
35280 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35281 result=$?
35282 if test $result = 0; then
35283 ac_path_to_include=""
35284 else
35285 ac_path_to_include=" -I$ac_find_includes"
35286 fi
35287 fi
35288
35289 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35290 else
35291 { echo "$as_me:$LINENO: result: not found" >&5
35292 echo "${ECHO_T}not found" >&6; }
35293 fi
35294
35295 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35296 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35297 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35299 else
35300 cat >conftest.$ac_ext <<_ACEOF
35301 /* confdefs.h. */
35302 _ACEOF
35303 cat confdefs.h >>conftest.$ac_ext
35304 cat >>conftest.$ac_ext <<_ACEOF
35305 /* end confdefs.h. */
35306
35307
35308 #include <GL/gl.h>
35309 _ACEOF
35310 rm -f conftest.$ac_objext
35311 if { (ac_try="$ac_compile"
35312 case "(($ac_try" in
35313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35314 *) ac_try_echo=$ac_try;;
35315 esac
35316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35317 (eval "$ac_compile") 2>conftest.er1
35318 ac_status=$?
35319 grep -v '^ *+' conftest.er1 >conftest.err
35320 rm -f conftest.er1
35321 cat conftest.err >&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); } && {
35324 test -z "$ac_c_werror_flag" ||
35325 test ! -s conftest.err
35326 } && test -s conftest.$ac_objext; then
35327 ac_cv_header_GL_gl_h=yes
35328 else
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.$ac_ext >&5
35331
35332 ac_cv_header_GL_gl_h=no
35333 fi
35334
35335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35336 fi
35337 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35338 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35339 if test $ac_cv_header_GL_gl_h = yes; then
35340
35341 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35342 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35343 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35344 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35345 echo $ECHO_N "(cached) $ECHO_C" >&6
35346 fi
35347 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35348 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35349 else
35350 # Is the header compilable?
35351 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35352 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35353 cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h. */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 $ac_includes_default
35360 #include <GL/glu.h>
35361 _ACEOF
35362 rm -f conftest.$ac_objext
35363 if { (ac_try="$ac_compile"
35364 case "(($ac_try" in
35365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35366 *) ac_try_echo=$ac_try;;
35367 esac
35368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35369 (eval "$ac_compile") 2>conftest.er1
35370 ac_status=$?
35371 grep -v '^ *+' conftest.er1 >conftest.err
35372 rm -f conftest.er1
35373 cat conftest.err >&5
35374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35375 (exit $ac_status); } && {
35376 test -z "$ac_c_werror_flag" ||
35377 test ! -s conftest.err
35378 } && test -s conftest.$ac_objext; then
35379 ac_header_compiler=yes
35380 else
35381 echo "$as_me: failed program was:" >&5
35382 sed 's/^/| /' conftest.$ac_ext >&5
35383
35384 ac_header_compiler=no
35385 fi
35386
35387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35388 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35389 echo "${ECHO_T}$ac_header_compiler" >&6; }
35390
35391 # Is the header present?
35392 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35393 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35394 cat >conftest.$ac_ext <<_ACEOF
35395 /* confdefs.h. */
35396 _ACEOF
35397 cat confdefs.h >>conftest.$ac_ext
35398 cat >>conftest.$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 #include <GL/glu.h>
35401 _ACEOF
35402 if { (ac_try="$ac_cpp conftest.$ac_ext"
35403 case "(($ac_try" in
35404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35405 *) ac_try_echo=$ac_try;;
35406 esac
35407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35409 ac_status=$?
35410 grep -v '^ *+' conftest.er1 >conftest.err
35411 rm -f conftest.er1
35412 cat conftest.err >&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } >/dev/null && {
35415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35416 test ! -s conftest.err
35417 }; then
35418 ac_header_preproc=yes
35419 else
35420 echo "$as_me: failed program was:" >&5
35421 sed 's/^/| /' conftest.$ac_ext >&5
35422
35423 ac_header_preproc=no
35424 fi
35425
35426 rm -f conftest.err conftest.$ac_ext
35427 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35428 echo "${ECHO_T}$ac_header_preproc" >&6; }
35429
35430 # So? What about this header?
35431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35432 yes:no: )
35433 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35434 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35435 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35436 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35437 ac_header_preproc=yes
35438 ;;
35439 no:yes:* )
35440 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35441 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35442 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35443 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35444 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35445 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35446 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35447 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35448 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35449 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35450 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35451 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35452 ( cat <<\_ASBOX
35453 ## ----------------------------------------- ##
35454 ## Report this to wx-dev@lists.wxwidgets.org ##
35455 ## ----------------------------------------- ##
35456 _ASBOX
35457 ) | sed "s/^/$as_me: WARNING: /" >&2
35458 ;;
35459 esac
35460 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35461 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35462 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 else
35465 ac_cv_header_GL_glu_h=$ac_header_preproc
35466 fi
35467 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35468 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35469
35470 fi
35471 if test $ac_cv_header_GL_glu_h = yes; then
35472
35473 found_gl=0
35474
35475 { echo "$as_me:$LINENO: checking for -lGL" >&5
35476 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35477
35478 ac_find_libraries=
35479 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35480 do
35481 for ac_extension in a so sl dylib dll.a; do
35482 if test -f "$ac_dir/libGL.$ac_extension"; then
35483 ac_find_libraries=$ac_dir
35484 break 2
35485 fi
35486 done
35487 done
35488
35489 if test "$ac_find_libraries" != "" ; then
35490 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35491 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35492
35493
35494 if test "$ac_find_libraries" = "default location"; then
35495 ac_path_to_link=""
35496 else
35497 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35498 result=$?
35499 if test $result = 0; then
35500 ac_path_to_link=""
35501 else
35502 ac_path_to_link=" -L$ac_find_libraries"
35503 fi
35504 fi
35505
35506 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35507 LDFLAGS_GL="$ac_path_to_link"
35508 fi
35509
35510 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35511 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35512
35513 ac_find_libraries=
35514 for ac_dir in $SEARCH_LIB;
35515 do
35516 for ac_extension in a so sl dylib dll.a; do
35517 if test -f "$ac_dir/libGLU.$ac_extension"; then
35518 ac_find_libraries=$ac_dir
35519 break 2
35520 fi
35521 done
35522 done
35523
35524 if test "$ac_find_libraries" != "" ; then
35525
35526 if test "$ac_find_libraries" = "default location"; then
35527 ac_path_to_link=""
35528 else
35529 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35530 result=$?
35531 if test $result = 0; then
35532 ac_path_to_link=""
35533 else
35534 ac_path_to_link=" -L$ac_find_libraries"
35535 fi
35536 fi
35537
35538 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35539 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35540 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35541 fi
35542
35543 found_gl=1
35544 OPENGL_LIBS="-lGL -lGLU"
35545 { echo "$as_me:$LINENO: result: yes" >&5
35546 echo "${ECHO_T}yes" >&6; }
35547 else
35548 { echo "$as_me:$LINENO: result: no" >&5
35549 echo "${ECHO_T}no" >&6; }
35550 fi
35551 else
35552 { echo "$as_me:$LINENO: result: no" >&5
35553 echo "${ECHO_T}no" >&6; }
35554 fi
35555
35556 if test "$found_gl" != 1; then
35557 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35558 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35559
35560 ac_find_libraries=
35561 for ac_dir in $SEARCH_LIB;
35562 do
35563 for ac_extension in a so sl dylib dll.a; do
35564 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35565 ac_find_libraries=$ac_dir
35566 break 2
35567 fi
35568 done
35569 done
35570
35571 if test "$ac_find_libraries" != "" ; then
35572
35573 if test "$ac_find_libraries" = "default location"; then
35574 ac_path_to_link=""
35575 else
35576 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35577 result=$?
35578 if test $result = 0; then
35579 ac_path_to_link=""
35580 else
35581 ac_path_to_link=" -L$ac_find_libraries"
35582 fi
35583 fi
35584
35585 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35586 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35587 { echo "$as_me:$LINENO: result: yes" >&5
35588 echo "${ECHO_T}yes" >&6; }
35589 else
35590 { echo "$as_me:$LINENO: result: no" >&5
35591 echo "${ECHO_T}no" >&6; }
35592 fi
35593 fi
35594
35595 fi
35596
35597
35598
35599 fi
35600
35601
35602
35603 if test "x$OPENGL_LIBS" = "x"; then
35604 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35605 echo "$as_me: error: OpenGL libraries not available" >&2;}
35606 { (exit 1); exit 1; }; }
35607 fi
35608 fi
35609
35610 if test "$wxUSE_OPENGL" = "yes"; then
35611 USE_OPENGL=1
35612 cat >>confdefs.h <<\_ACEOF
35613 #define wxUSE_OPENGL 1
35614 _ACEOF
35615
35616 cat >>confdefs.h <<\_ACEOF
35617 #define wxUSE_GLCANVAS 1
35618 _ACEOF
35619
35620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35621 fi
35622 fi
35623
35624
35625 if test -n "$TOOLKIT" ; then
35626 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35627 fi
35628
35629
35630
35631 if test "$wxUSE_SHARED" = "yes"; then
35632 case "${host}" in
35633 *-pc-msdosdjgpp )
35634 wxUSE_SHARED=no
35635 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35636 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35637 ;;
35638 esac
35639 fi
35640
35641 if test "$wxUSE_SHARED" = "yes"; then
35642
35643
35644 case "${host}" in
35645 *-*-cygwin* | *-*-mingw* )
35646 wx_cv_version_script=no
35647 ;;
35648
35649 *)
35650 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35651 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35652 if test "${wx_cv_version_script+set}" = set; then
35653 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 else
35655
35656 echo "VER_1 { *; };" >conftest.sym
35657 echo "int main() { return 0; }" >conftest.cpp
35658
35659 if { ac_try='
35660 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35661 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35663 (eval $ac_try) 2>&5
35664 ac_status=$?
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); }; } ; then
35667 if test -s conftest.stderr ; then
35668 wx_cv_version_script=no
35669 else
35670 wx_cv_version_script=yes
35671 fi
35672 else
35673 wx_cv_version_script=no
35674 fi
35675
35676 if test $wx_cv_version_script = yes
35677 then
35678 echo "struct B { virtual ~B() { } }; \
35679 struct D : public B { }; \
35680 void F() { D d; }" > conftest.cpp
35681
35682 if { ac_try='
35683 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35684 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35687 ac_status=$?
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; } &&
35690 { ac_try='
35691 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35692 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35695 ac_status=$?
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; }
35698 then
35699 if { ac_try='
35700 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35701 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35704 ac_status=$?
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; }
35707 then
35708 wx_cv_version_script=yes
35709 else
35710 wx_cv_version_script=no
35711 fi
35712 fi
35713 fi
35714
35715 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35716 rm -f conftest1.output conftest2.output conftest3.output
35717
35718 fi
35719 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35720 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35721
35722 if test $wx_cv_version_script = yes ; then
35723 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35724 fi
35725 ;;
35726 esac
35727
35728
35729 if test "$wxUSE_VISIBILITY" != "no"; then
35730
35731
35732 if test -n "$GCC"; then
35733 CFLAGS_VISIBILITY="-fvisibility=hidden"
35734 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35735 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35736 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35737 if test "${wx_cv_cc_visibility+set}" = set; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35739 else
35740
35741 wx_save_CXXFLAGS="$CXXFLAGS"
35742 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35743 ac_ext=cpp
35744 ac_cpp='$CXXCPP $CPPFLAGS'
35745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35748
35749 cat >conftest.$ac_ext <<_ACEOF
35750 /* confdefs.h. */
35751 _ACEOF
35752 cat confdefs.h >>conftest.$ac_ext
35753 cat >>conftest.$ac_ext <<_ACEOF
35754 /* end confdefs.h. */
35755
35756 /* we need gcc >= 4.0, older versions with visibility support
35757 didn't have class visibility: */
35758 #if defined(__GNUC__) && __GNUC__ < 4
35759 error this gcc is too old;
35760 #endif
35761
35762 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35763 extern __attribute__((__visibility__("default"))) int exportedvar;
35764 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35765 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35766 class __attribute__((__visibility__("default"))) Foo {
35767 Foo() {}
35768 };
35769
35770 int
35771 main ()
35772 {
35773
35774 ;
35775 return 0;
35776 }
35777 _ACEOF
35778 rm -f conftest.$ac_objext
35779 if { (ac_try="$ac_compile"
35780 case "(($ac_try" in
35781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35782 *) ac_try_echo=$ac_try;;
35783 esac
35784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35785 (eval "$ac_compile") 2>conftest.er1
35786 ac_status=$?
35787 grep -v '^ *+' conftest.er1 >conftest.err
35788 rm -f conftest.er1
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } && {
35792 test -z "$ac_cxx_werror_flag" ||
35793 test ! -s conftest.err
35794 } && test -s conftest.$ac_objext; then
35795 wx_cv_cc_visibility=yes
35796 else
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35799
35800 wx_cv_cc_visibility=no
35801 fi
35802
35803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35804 ac_ext=c
35805 ac_cpp='$CPP $CPPFLAGS'
35806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35809
35810 CXXFLAGS="$wx_save_CXXFLAGS"
35811 fi
35812
35813 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35814 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35815 if test $wx_cv_cc_visibility = yes; then
35816 cat >>confdefs.h <<\_ACEOF
35817 #define HAVE_VISIBILITY 1
35818 _ACEOF
35819
35820 else
35821 CFLAGS_VISIBILITY=""
35822 CXXFLAGS_VISIBILITY=""
35823 fi
35824
35825
35826 fi
35827
35828 fi
35829
35830 if test "x$SUNCXX" = xyes; then
35831 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35832 WXCONFIG_RPATH="-R\$libdir"
35833 else
35834 case "${host}" in
35835 *-*-linux* | *-*-gnu* )
35836 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35837 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35838 ;;
35839
35840 *-*-solaris2* )
35841
35842 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35843
35844 saveLdflags="$LDFLAGS"
35845 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35846 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35847 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854
35855 int
35856 main ()
35857 {
35858
35859 ;
35860 return 0;
35861 }
35862 _ACEOF
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (ac_try="$ac_link"
35865 case "(($ac_try" in
35866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35867 *) ac_try_echo=$ac_try;;
35868 esac
35869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35870 (eval "$ac_link") 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } && {
35877 test -z "$ac_c_werror_flag" ||
35878 test ! -s conftest.err
35879 } && test -s conftest$ac_exeext &&
35880 $as_test_x conftest$ac_exeext; then
35881
35882 { echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6; }
35884 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35886
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891
35892 { echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6; }
35894 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35895 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35896 LDFLAGS="$saveLdflags -Wl,-R,/"
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903
35904 int
35905 main ()
35906 {
35907
35908 ;
35909 return 0;
35910 }
35911 _ACEOF
35912 rm -f conftest.$ac_objext conftest$ac_exeext
35913 if { (ac_try="$ac_link"
35914 case "(($ac_try" in
35915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35916 *) ac_try_echo=$ac_try;;
35917 esac
35918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35919 (eval "$ac_link") 2>conftest.er1
35920 ac_status=$?
35921 grep -v '^ *+' conftest.er1 >conftest.err
35922 rm -f conftest.er1
35923 cat conftest.err >&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } && {
35926 test -z "$ac_c_werror_flag" ||
35927 test ! -s conftest.err
35928 } && test -s conftest$ac_exeext &&
35929 $as_test_x conftest$ac_exeext; then
35930
35931 { echo "$as_me:$LINENO: result: yes" >&5
35932 echo "${ECHO_T}yes" >&6; }
35933 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35934 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35935
35936 else
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35939
35940
35941 { echo "$as_me:$LINENO: result: no" >&5
35942 echo "${ECHO_T}no" >&6; }
35943
35944 fi
35945
35946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35947 conftest$ac_exeext conftest.$ac_ext
35948
35949 fi
35950
35951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35952 conftest$ac_exeext conftest.$ac_ext
35953 LDFLAGS="$saveLdflags"
35954 ;;
35955
35956 *-*-darwin* )
35957 install_name_tool=`which install_name_tool`
35958 if test "$install_name_tool" -a -x "$install_name_tool"; then
35959 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35960 cat <<EOF >change-install-names
35961 #!/bin/sh
35962 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35963 inst_cmd="install_name_tool "
35964 for i in \${libnames} ; do
35965 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35966 done
35967 \${inst_cmd} \${3}
35968 EOF
35969 chmod +x change-install-names
35970 fi
35971 ;;
35972
35973 *-*-cygwin* | *-*-mingw32* )
35974 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35975 ;;
35976
35977 *-*-hpux* )
35978 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35979 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35980 ;;
35981
35982 esac
35983 fi
35984
35985 if test $wxUSE_RPATH = "no"; then
35986 SAMPLES_RPATH_FLAG=''
35987 SAMPLES_RPATH_POSTLINK=''
35988 WXCONFIG_RPATH=''
35989 fi
35990
35991 SHARED=1
35992
35993 else
35994
35995 config_linkage_component="-static"
35996 SHARED=0
35997
35998 fi
35999
36000
36001 UNICODE=0
36002 lib_unicode_suffix=
36003 WX_CHARTYPE="ansi"
36004 if test "$wxUSE_UNICODE" = "yes"; then
36005 lib_unicode_suffix=u
36006 WX_CHARTYPE="unicode"
36007 UNICODE=1
36008 fi
36009
36010 lib_debug_suffix=
36011 WX_DEBUGTYPE="release"
36012 DEBUG_FLAG=0
36013 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36014 lib_debug_suffix=d
36015 WX_DEBUGTYPE="debug"
36016 DEBUG_FLAG=1
36017 fi
36018
36019 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36020 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36021
36022 DEBUG_INFO=0
36023 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36024 DEBUG_INFO=1
36025 fi
36026
36027 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36028
36029 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36030
36031 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36032
36033 if test "$cross_compiling" = "yes"; then
36034 HOST_SUFFIX="-$host_alias"
36035 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36036 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36037 fi
36038
36039 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36040 if test "${TOOLKIT_DIR}" = "os2"; then
36041 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36042 else
36043 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36044 fi
36045
36046
36047
36048 if test "$wxUSE_COCOA" = 1; then
36049
36050 ac_ext=c
36051 ac_cpp='$CPP $CPPFLAGS'
36052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055
36056 ac_ext=m
36057
36058 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36059 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36060 cat >conftest.$ac_ext <<_ACEOF
36061 /* confdefs.h. */
36062 _ACEOF
36063 cat confdefs.h >>conftest.$ac_ext
36064 cat >>conftest.$ac_ext <<_ACEOF
36065 /* end confdefs.h. */
36066 #include <AppKit/NSEvent.h>
36067 #include <CoreFoundation/CoreFoundation.h>
36068
36069 int
36070 main ()
36071 {
36072
36073 ;
36074 return 0;
36075 }
36076 _ACEOF
36077 rm -f conftest.$ac_objext
36078 if { (ac_try="$ac_compile"
36079 case "(($ac_try" in
36080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36081 *) ac_try_echo=$ac_try;;
36082 esac
36083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36084 (eval "$ac_compile") 2>conftest.er1
36085 ac_status=$?
36086 grep -v '^ *+' conftest.er1 >conftest.err
36087 rm -f conftest.er1
36088 cat conftest.err >&5
36089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36090 (exit $ac_status); } && {
36091 test -z "$ac_c_werror_flag" ||
36092 test ! -s conftest.err
36093 } && test -s conftest.$ac_objext; then
36094 { echo "$as_me:$LINENO: result: no" >&5
36095 echo "${ECHO_T}no" >&6; }
36096 else
36097 echo "$as_me: failed program was:" >&5
36098 sed 's/^/| /' conftest.$ac_ext >&5
36099
36100 { echo "$as_me:$LINENO: result: yes" >&5
36101 echo "${ECHO_T}yes" >&6; }
36102 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36103 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36104 cat >conftest.$ac_ext <<_ACEOF
36105 /* confdefs.h. */
36106 _ACEOF
36107 cat confdefs.h >>conftest.$ac_ext
36108 cat >>conftest.$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 #define __Point__ 1
36111 #include <AppKit/NSEvent.h>
36112 #include <CoreFoundation/CoreFoundation.h>
36113
36114 int
36115 main ()
36116 {
36117
36118 ;
36119 return 0;
36120 }
36121 _ACEOF
36122 rm -f conftest.$ac_objext
36123 if { (ac_try="$ac_compile"
36124 case "(($ac_try" in
36125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36126 *) ac_try_echo=$ac_try;;
36127 esac
36128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36129 (eval "$ac_compile") 2>conftest.er1
36130 ac_status=$?
36131 grep -v '^ *+' conftest.er1 >conftest.err
36132 rm -f conftest.er1
36133 cat conftest.err >&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } && {
36136 test -z "$ac_c_werror_flag" ||
36137 test ! -s conftest.err
36138 } && test -s conftest.$ac_objext; then
36139 { echo "$as_me:$LINENO: result: yes" >&5
36140 echo "${ECHO_T}yes" >&6; }
36141 cat >>confdefs.h <<\_ACEOF
36142 #define __Point__ 1
36143 _ACEOF
36144
36145
36146 else
36147 echo "$as_me: failed program was:" >&5
36148 sed 's/^/| /' conftest.$ac_ext >&5
36149
36150 { { echo "$as_me:$LINENO: error: no
36151 See \`config.log' for more details." >&5
36152 echo "$as_me: error: no
36153 See \`config.log' for more details." >&2;}
36154 { (exit 1); exit 1; }; }
36155
36156 fi
36157
36158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36159
36160 fi
36161
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36163 ac_ext=c
36164 ac_cpp='$CPP $CPPFLAGS'
36165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36168
36169 fi
36170
36171 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36172 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36173 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36174
36175 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36176
36177 # Extract the first word of "Rez", so it can be a program name with args.
36178 set dummy Rez; ac_word=$2
36179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36181 if test "${ac_cv_prog_REZ+set}" = set; then
36182 echo $ECHO_N "(cached) $ECHO_C" >&6
36183 else
36184 if test -n "$REZ"; then
36185 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36186 else
36187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36188 for as_dir in $PATH
36189 do
36190 IFS=$as_save_IFS
36191 test -z "$as_dir" && as_dir=.
36192 for ac_exec_ext in '' $ac_executable_extensions; do
36193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36194 ac_cv_prog_REZ="Rez"
36195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36196 break 2
36197 fi
36198 done
36199 done
36200 IFS=$as_save_IFS
36201
36202 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36203 fi
36204 fi
36205 REZ=$ac_cv_prog_REZ
36206 if test -n "$REZ"; then
36207 { echo "$as_me:$LINENO: result: $REZ" >&5
36208 echo "${ECHO_T}$REZ" >&6; }
36209 else
36210 { echo "$as_me:$LINENO: result: no" >&5
36211 echo "${ECHO_T}no" >&6; }
36212 fi
36213
36214
36215 # Extract the first word of "DeRez", so it can be a program name with args.
36216 set dummy DeRez; ac_word=$2
36217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36219 if test "${ac_cv_prog_DEREZ+set}" = set; then
36220 echo $ECHO_N "(cached) $ECHO_C" >&6
36221 else
36222 if test -n "$DEREZ"; then
36223 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36224 else
36225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36226 for as_dir in $PATH
36227 do
36228 IFS=$as_save_IFS
36229 test -z "$as_dir" && as_dir=.
36230 for ac_exec_ext in '' $ac_executable_extensions; do
36231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36232 ac_cv_prog_DEREZ="DeRez"
36233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36234 break 2
36235 fi
36236 done
36237 done
36238 IFS=$as_save_IFS
36239
36240 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36241 fi
36242 fi
36243 DEREZ=$ac_cv_prog_DEREZ
36244 if test -n "$DEREZ"; then
36245 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36246 echo "${ECHO_T}$DEREZ" >&6; }
36247 else
36248 { echo "$as_me:$LINENO: result: no" >&5
36249 echo "${ECHO_T}no" >&6; }
36250 fi
36251
36252
36253 # Extract the first word of "SetFile", so it can be a program name with args.
36254 set dummy SetFile; ac_word=$2
36255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36257 if test "${ac_cv_prog_SETFILE+set}" = set; then
36258 echo $ECHO_N "(cached) $ECHO_C" >&6
36259 else
36260 if test -n "$SETFILE"; then
36261 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36262 else
36263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36264 for as_dir in $PATH
36265 do
36266 IFS=$as_save_IFS
36267 test -z "$as_dir" && as_dir=.
36268 for ac_exec_ext in '' $ac_executable_extensions; do
36269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36270 ac_cv_prog_SETFILE="SetFile"
36271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36272 break 2
36273 fi
36274 done
36275 done
36276 IFS=$as_save_IFS
36277
36278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36279 fi
36280 fi
36281 SETFILE=$ac_cv_prog_SETFILE
36282 if test -n "$SETFILE"; then
36283 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36284 echo "${ECHO_T}$SETFILE" >&6; }
36285 else
36286 { echo "$as_me:$LINENO: result: no" >&5
36287 echo "${ECHO_T}no" >&6; }
36288 fi
36289
36290
36291
36292 MACSETFILE="\$(SETFILE)"
36293
36294 if test "$wxUSE_MAC" = 1; then
36295 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36296 RESCOMP="$REZ"
36297 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36298 else
36299 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36300 RESCOMP="echo -n \| $REZ"
36301 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36302 fi
36303
36304 else
36305 MACSETFILE="@true"
36306
36307 if test "$wxUSE_PM" = 1; then
36308 RESCOMP="emxbind"
36309 WXCONFIG_RESFLAGS="-ep"
36310
36311 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36312 else
36313 POSTLINK_COMMAND="@true"
36314 fi
36315
36316 fi
36317
36318
36319
36320 { echo "$as_me:$LINENO: checking for mode_t" >&5
36321 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36322 if test "${ac_cv_type_mode_t+set}" = set; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 else
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 $ac_includes_default
36332 typedef mode_t ac__type_new_;
36333 int
36334 main ()
36335 {
36336 if ((ac__type_new_ *) 0)
36337 return 0;
36338 if (sizeof (ac__type_new_))
36339 return 0;
36340 ;
36341 return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext
36345 if { (ac_try="$ac_compile"
36346 case "(($ac_try" in
36347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36348 *) ac_try_echo=$ac_try;;
36349 esac
36350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36351 (eval "$ac_compile") 2>conftest.er1
36352 ac_status=$?
36353 grep -v '^ *+' conftest.er1 >conftest.err
36354 rm -f conftest.er1
36355 cat conftest.err >&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); } && {
36358 test -z "$ac_c_werror_flag" ||
36359 test ! -s conftest.err
36360 } && test -s conftest.$ac_objext; then
36361 ac_cv_type_mode_t=yes
36362 else
36363 echo "$as_me: failed program was:" >&5
36364 sed 's/^/| /' conftest.$ac_ext >&5
36365
36366 ac_cv_type_mode_t=no
36367 fi
36368
36369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36370 fi
36371 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36372 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36373 if test $ac_cv_type_mode_t = yes; then
36374 :
36375 else
36376
36377 cat >>confdefs.h <<_ACEOF
36378 #define mode_t int
36379 _ACEOF
36380
36381 fi
36382
36383 { echo "$as_me:$LINENO: checking for off_t" >&5
36384 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36385 if test "${ac_cv_type_off_t+set}" = set; then
36386 echo $ECHO_N "(cached) $ECHO_C" >&6
36387 else
36388 cat >conftest.$ac_ext <<_ACEOF
36389 /* confdefs.h. */
36390 _ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36394 $ac_includes_default
36395 typedef off_t ac__type_new_;
36396 int
36397 main ()
36398 {
36399 if ((ac__type_new_ *) 0)
36400 return 0;
36401 if (sizeof (ac__type_new_))
36402 return 0;
36403 ;
36404 return 0;
36405 }
36406 _ACEOF
36407 rm -f conftest.$ac_objext
36408 if { (ac_try="$ac_compile"
36409 case "(($ac_try" in
36410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36411 *) ac_try_echo=$ac_try;;
36412 esac
36413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36414 (eval "$ac_compile") 2>conftest.er1
36415 ac_status=$?
36416 grep -v '^ *+' conftest.er1 >conftest.err
36417 rm -f conftest.er1
36418 cat conftest.err >&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && {
36421 test -z "$ac_c_werror_flag" ||
36422 test ! -s conftest.err
36423 } && test -s conftest.$ac_objext; then
36424 ac_cv_type_off_t=yes
36425 else
36426 echo "$as_me: failed program was:" >&5
36427 sed 's/^/| /' conftest.$ac_ext >&5
36428
36429 ac_cv_type_off_t=no
36430 fi
36431
36432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36433 fi
36434 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36435 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36436 if test $ac_cv_type_off_t = yes; then
36437 :
36438 else
36439
36440 cat >>confdefs.h <<_ACEOF
36441 #define off_t long int
36442 _ACEOF
36443
36444 fi
36445
36446 { echo "$as_me:$LINENO: checking for pid_t" >&5
36447 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36448 if test "${ac_cv_type_pid_t+set}" = set; then
36449 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 else
36451 cat >conftest.$ac_ext <<_ACEOF
36452 /* confdefs.h. */
36453 _ACEOF
36454 cat confdefs.h >>conftest.$ac_ext
36455 cat >>conftest.$ac_ext <<_ACEOF
36456 /* end confdefs.h. */
36457 $ac_includes_default
36458 typedef pid_t ac__type_new_;
36459 int
36460 main ()
36461 {
36462 if ((ac__type_new_ *) 0)
36463 return 0;
36464 if (sizeof (ac__type_new_))
36465 return 0;
36466 ;
36467 return 0;
36468 }
36469 _ACEOF
36470 rm -f conftest.$ac_objext
36471 if { (ac_try="$ac_compile"
36472 case "(($ac_try" in
36473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36475 esac
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_compile") 2>conftest.er1
36478 ac_status=$?
36479 grep -v '^ *+' conftest.er1 >conftest.err
36480 rm -f conftest.er1
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_c_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest.$ac_objext; then
36487 ac_cv_type_pid_t=yes
36488 else
36489 echo "$as_me: failed program was:" >&5
36490 sed 's/^/| /' conftest.$ac_ext >&5
36491
36492 ac_cv_type_pid_t=no
36493 fi
36494
36495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36496 fi
36497 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36498 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36499 if test $ac_cv_type_pid_t = yes; then
36500 :
36501 else
36502
36503 cat >>confdefs.h <<_ACEOF
36504 #define pid_t int
36505 _ACEOF
36506
36507 fi
36508
36509 { echo "$as_me:$LINENO: checking for size_t" >&5
36510 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36511 if test "${ac_cv_type_size_t+set}" = set; then
36512 echo $ECHO_N "(cached) $ECHO_C" >&6
36513 else
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 $ac_includes_default
36521 typedef size_t ac__type_new_;
36522 int
36523 main ()
36524 {
36525 if ((ac__type_new_ *) 0)
36526 return 0;
36527 if (sizeof (ac__type_new_))
36528 return 0;
36529 ;
36530 return 0;
36531 }
36532 _ACEOF
36533 rm -f conftest.$ac_objext
36534 if { (ac_try="$ac_compile"
36535 case "(($ac_try" in
36536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36537 *) ac_try_echo=$ac_try;;
36538 esac
36539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36540 (eval "$ac_compile") 2>conftest.er1
36541 ac_status=$?
36542 grep -v '^ *+' conftest.er1 >conftest.err
36543 rm -f conftest.er1
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } && {
36547 test -z "$ac_c_werror_flag" ||
36548 test ! -s conftest.err
36549 } && test -s conftest.$ac_objext; then
36550 ac_cv_type_size_t=yes
36551 else
36552 echo "$as_me: failed program was:" >&5
36553 sed 's/^/| /' conftest.$ac_ext >&5
36554
36555 ac_cv_type_size_t=no
36556 fi
36557
36558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36559 fi
36560 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36561 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36562 if test $ac_cv_type_size_t = yes; then
36563 :
36564 else
36565
36566 cat >>confdefs.h <<_ACEOF
36567 #define size_t unsigned int
36568 _ACEOF
36569
36570 fi
36571
36572 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36573 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36574 if test "${ac_cv_type_uid_t+set}" = set; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36576 else
36577 cat >conftest.$ac_ext <<_ACEOF
36578 /* confdefs.h. */
36579 _ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 #include <sys/types.h>
36584
36585 _ACEOF
36586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36587 $EGREP "uid_t" >/dev/null 2>&1; then
36588 ac_cv_type_uid_t=yes
36589 else
36590 ac_cv_type_uid_t=no
36591 fi
36592 rm -f conftest*
36593
36594 fi
36595 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36596 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36597 if test $ac_cv_type_uid_t = no; then
36598
36599 cat >>confdefs.h <<\_ACEOF
36600 #define uid_t int
36601 _ACEOF
36602
36603
36604 cat >>confdefs.h <<\_ACEOF
36605 #define gid_t int
36606 _ACEOF
36607
36608 fi
36609
36610
36611 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36612 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36613 if test "${ac_cv_type_ssize_t+set}" = set; then
36614 echo $ECHO_N "(cached) $ECHO_C" >&6
36615 else
36616 cat >conftest.$ac_ext <<_ACEOF
36617 /* confdefs.h. */
36618 _ACEOF
36619 cat confdefs.h >>conftest.$ac_ext
36620 cat >>conftest.$ac_ext <<_ACEOF
36621 /* end confdefs.h. */
36622 $ac_includes_default
36623 typedef ssize_t ac__type_new_;
36624 int
36625 main ()
36626 {
36627 if ((ac__type_new_ *) 0)
36628 return 0;
36629 if (sizeof (ac__type_new_))
36630 return 0;
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36640 esac
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_c_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 ac_cv_type_ssize_t=yes
36653 else
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36656
36657 ac_cv_type_ssize_t=no
36658 fi
36659
36660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36661 fi
36662 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36663 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36664 if test $ac_cv_type_ssize_t = yes; then
36665
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE_SSIZE_T 1
36668 _ACEOF
36669
36670
36671 fi
36672
36673
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36680 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36681 if test "${wx_cv_size_t_is_uint+set}" = set; then
36682 echo $ECHO_N "(cached) $ECHO_C" >&6
36683 else
36684
36685 cat >conftest.$ac_ext <<_ACEOF
36686 /* confdefs.h. */
36687 _ACEOF
36688 cat confdefs.h >>conftest.$ac_ext
36689 cat >>conftest.$ac_ext <<_ACEOF
36690 /* end confdefs.h. */
36691 #include <stddef.h>
36692 int
36693 main ()
36694 {
36695
36696 return 0; }
36697
36698 struct Foo { void foo(size_t); void foo(unsigned int); };
36699
36700 int bar() {
36701
36702 ;
36703 return 0;
36704 }
36705 _ACEOF
36706 rm -f conftest.$ac_objext
36707 if { (ac_try="$ac_compile"
36708 case "(($ac_try" in
36709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36710 *) ac_try_echo=$ac_try;;
36711 esac
36712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36713 (eval "$ac_compile") 2>conftest.er1
36714 ac_status=$?
36715 grep -v '^ *+' conftest.er1 >conftest.err
36716 rm -f conftest.er1
36717 cat conftest.err >&5
36718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36719 (exit $ac_status); } && {
36720 test -z "$ac_cxx_werror_flag" ||
36721 test ! -s conftest.err
36722 } && test -s conftest.$ac_objext; then
36723 wx_cv_size_t_is_uint=no
36724 else
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.$ac_ext >&5
36727
36728 wx_cv_size_t_is_uint=yes
36729
36730 fi
36731
36732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36733
36734
36735 fi
36736 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36737 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36738
36739 if test "$wx_cv_size_t_is_uint" = "yes"; then
36740 cat >>confdefs.h <<\_ACEOF
36741 #define wxSIZE_T_IS_UINT 1
36742 _ACEOF
36743
36744 else
36745 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36746 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36747 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 else
36750 cat >conftest.$ac_ext <<_ACEOF
36751 /* confdefs.h. */
36752 _ACEOF
36753 cat confdefs.h >>conftest.$ac_ext
36754 cat >>conftest.$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36756 #include <stddef.h>
36757 int
36758 main ()
36759 {
36760
36761 return 0; }
36762
36763 struct Foo { void foo(size_t); void foo(unsigned long); };
36764
36765 int bar() {
36766
36767 ;
36768 return 0;
36769 }
36770 _ACEOF
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36779 ac_status=$?
36780 grep -v '^ *+' conftest.er1 >conftest.err
36781 rm -f conftest.er1
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_cxx_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.$ac_objext; then
36788 wx_cv_size_t_is_ulong=no
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 wx_cv_size_t_is_ulong=yes
36794
36795 fi
36796
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798
36799 fi
36800 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36801 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36802
36803 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36804 cat >>confdefs.h <<\_ACEOF
36805 #define wxSIZE_T_IS_ULONG 1
36806 _ACEOF
36807
36808 fi
36809 fi
36810
36811 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36812 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36813 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816 cat >conftest.$ac_ext <<_ACEOF
36817 /* confdefs.h. */
36818 _ACEOF
36819 cat confdefs.h >>conftest.$ac_ext
36820 cat >>conftest.$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36822 #include <wchar.h>
36823 int
36824 main ()
36825 {
36826
36827 return 0; }
36828
36829 struct Foo { void foo(wchar_t);
36830 void foo(unsigned short);
36831 void foo(unsigned int);
36832 void foo(unsigned long); };
36833
36834 int bar() {
36835
36836 ;
36837 return 0;
36838 }
36839 _ACEOF
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36844 *) ac_try_echo=$ac_try;;
36845 esac
36846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36848 ac_status=$?
36849 grep -v '^ *+' conftest.er1 >conftest.err
36850 rm -f conftest.er1
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_cxx_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.$ac_objext; then
36857 wx_cv_wchar_t_is_separate_type=yes
36858 else
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36861
36862 wx_cv_wchar_t_is_separate_type=no
36863
36864 fi
36865
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867
36868 fi
36869 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36870 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36871
36872 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36873 cat >>confdefs.h <<\_ACEOF
36874 #define wxWCHAR_T_IS_REAL_TYPE 1
36875 _ACEOF
36876
36877 else
36878 cat >>confdefs.h <<\_ACEOF
36879 #define wxWCHAR_T_IS_REAL_TYPE 0
36880 _ACEOF
36881
36882 fi
36883
36884 ac_ext=c
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889
36890
36891 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36892 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36893 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36894 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 else
36896
36897 cat >conftest.$ac_ext <<_ACEOF
36898 /* confdefs.h. */
36899 _ACEOF
36900 cat confdefs.h >>conftest.$ac_ext
36901 cat >>conftest.$ac_ext <<_ACEOF
36902 /* end confdefs.h. */
36903 #include <pwd.h>
36904 int
36905 main ()
36906 {
36907
36908 char *p;
36909 struct passwd *pw;
36910 p = pw->pw_gecos;
36911
36912 ;
36913 return 0;
36914 }
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (ac_try="$ac_compile"
36918 case "(($ac_try" in
36919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36920 *) ac_try_echo=$ac_try;;
36921 esac
36922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36923 (eval "$ac_compile") 2>conftest.er1
36924 ac_status=$?
36925 grep -v '^ *+' conftest.er1 >conftest.err
36926 rm -f conftest.er1
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } && {
36930 test -z "$ac_c_werror_flag" ||
36931 test ! -s conftest.err
36932 } && test -s conftest.$ac_objext; then
36933
36934 wx_cv_struct_pw_gecos=yes
36935
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940
36941 wx_cv_struct_pw_gecos=no
36942
36943
36944 fi
36945
36946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36947
36948
36949 fi
36950 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36951 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36952
36953 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36954 cat >>confdefs.h <<\_ACEOF
36955 #define HAVE_PW_GECOS 1
36956 _ACEOF
36957
36958 fi
36959
36960
36961 if test "$wxUSE_WCHAR_T" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define wxUSE_WCHAR_T 1
36964 _ACEOF
36965
36966
36967 WCSLEN_FOUND=0
36968 WCHAR_LINK=
36969
36970 for ac_func in wcslen
36971 do
36972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36976 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 else
36978 cat >conftest.$ac_ext <<_ACEOF
36979 /* confdefs.h. */
36980 _ACEOF
36981 cat confdefs.h >>conftest.$ac_ext
36982 cat >>conftest.$ac_ext <<_ACEOF
36983 /* end confdefs.h. */
36984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36986 #define $ac_func innocuous_$ac_func
36987
36988 /* System header to define __stub macros and hopefully few prototypes,
36989 which can conflict with char $ac_func (); below.
36990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36991 <limits.h> exists even on freestanding compilers. */
36992
36993 #ifdef __STDC__
36994 # include <limits.h>
36995 #else
36996 # include <assert.h>
36997 #endif
36998
36999 #undef $ac_func
37000
37001 /* Override any GCC internal prototype to avoid an error.
37002 Use char because int might match the return type of a GCC
37003 builtin and then its argument prototype would still apply. */
37004 #ifdef __cplusplus
37005 extern "C"
37006 #endif
37007 char $ac_func ();
37008 /* The GNU C library defines this for functions which it implements
37009 to always fail with ENOSYS. Some functions are actually named
37010 something starting with __ and the normal name is an alias. */
37011 #if defined __stub_$ac_func || defined __stub___$ac_func
37012 choke me
37013 #endif
37014
37015 int
37016 main ()
37017 {
37018 return $ac_func ();
37019 ;
37020 return 0;
37021 }
37022 _ACEOF
37023 rm -f conftest.$ac_objext conftest$ac_exeext
37024 if { (ac_try="$ac_link"
37025 case "(($ac_try" in
37026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37027 *) ac_try_echo=$ac_try;;
37028 esac
37029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37030 (eval "$ac_link") 2>conftest.er1
37031 ac_status=$?
37032 grep -v '^ *+' conftest.er1 >conftest.err
37033 rm -f conftest.er1
37034 cat conftest.err >&5
37035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37036 (exit $ac_status); } && {
37037 test -z "$ac_c_werror_flag" ||
37038 test ! -s conftest.err
37039 } && test -s conftest$ac_exeext &&
37040 $as_test_x conftest$ac_exeext; then
37041 eval "$as_ac_var=yes"
37042 else
37043 echo "$as_me: failed program was:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37045
37046 eval "$as_ac_var=no"
37047 fi
37048
37049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37050 conftest$ac_exeext conftest.$ac_ext
37051 fi
37052 ac_res=`eval echo '${'$as_ac_var'}'`
37053 { echo "$as_me:$LINENO: result: $ac_res" >&5
37054 echo "${ECHO_T}$ac_res" >&6; }
37055 if test `eval echo '${'$as_ac_var'}'` = yes; then
37056 cat >>confdefs.h <<_ACEOF
37057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37058 _ACEOF
37059 WCSLEN_FOUND=1
37060 fi
37061 done
37062
37063
37064 if test "$WCSLEN_FOUND" = 0; then
37065 if test "$TOOLKIT" = "MSW"; then
37066 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37067 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37068 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071 ac_check_lib_save_LIBS=$LIBS
37072 LIBS="-lmsvcrt $LIBS"
37073 cat >conftest.$ac_ext <<_ACEOF
37074 /* confdefs.h. */
37075 _ACEOF
37076 cat confdefs.h >>conftest.$ac_ext
37077 cat >>conftest.$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37079
37080 /* Override any GCC internal prototype to avoid an error.
37081 Use char because int might match the return type of a GCC
37082 builtin and then its argument prototype would still apply. */
37083 #ifdef __cplusplus
37084 extern "C"
37085 #endif
37086 char wcslen ();
37087 int
37088 main ()
37089 {
37090 return wcslen ();
37091 ;
37092 return 0;
37093 }
37094 _ACEOF
37095 rm -f conftest.$ac_objext conftest$ac_exeext
37096 if { (ac_try="$ac_link"
37097 case "(($ac_try" in
37098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37100 esac
37101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_link") 2>conftest.er1
37103 ac_status=$?
37104 grep -v '^ *+' conftest.er1 >conftest.err
37105 rm -f conftest.er1
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_c_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest$ac_exeext &&
37112 $as_test_x conftest$ac_exeext; then
37113 ac_cv_lib_msvcrt_wcslen=yes
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 ac_cv_lib_msvcrt_wcslen=no
37119 fi
37120
37121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37122 conftest$ac_exeext conftest.$ac_ext
37123 LIBS=$ac_check_lib_save_LIBS
37124 fi
37125 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37126 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37127 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37128 WCHAR_OK=1
37129 fi
37130
37131 else
37132 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37133 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37134 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37135 echo $ECHO_N "(cached) $ECHO_C" >&6
37136 else
37137 ac_check_lib_save_LIBS=$LIBS
37138 LIBS="-lw $LIBS"
37139 cat >conftest.$ac_ext <<_ACEOF
37140 /* confdefs.h. */
37141 _ACEOF
37142 cat confdefs.h >>conftest.$ac_ext
37143 cat >>conftest.$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145
37146 /* Override any GCC internal prototype to avoid an error.
37147 Use char because int might match the return type of a GCC
37148 builtin and then its argument prototype would still apply. */
37149 #ifdef __cplusplus
37150 extern "C"
37151 #endif
37152 char wcslen ();
37153 int
37154 main ()
37155 {
37156 return wcslen ();
37157 ;
37158 return 0;
37159 }
37160 _ACEOF
37161 rm -f conftest.$ac_objext conftest$ac_exeext
37162 if { (ac_try="$ac_link"
37163 case "(($ac_try" in
37164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37165 *) ac_try_echo=$ac_try;;
37166 esac
37167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37168 (eval "$ac_link") 2>conftest.er1
37169 ac_status=$?
37170 grep -v '^ *+' conftest.er1 >conftest.err
37171 rm -f conftest.er1
37172 cat conftest.err >&5
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); } && {
37175 test -z "$ac_c_werror_flag" ||
37176 test ! -s conftest.err
37177 } && test -s conftest$ac_exeext &&
37178 $as_test_x conftest$ac_exeext; then
37179 ac_cv_lib_w_wcslen=yes
37180 else
37181 echo "$as_me: failed program was:" >&5
37182 sed 's/^/| /' conftest.$ac_ext >&5
37183
37184 ac_cv_lib_w_wcslen=no
37185 fi
37186
37187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37188 conftest$ac_exeext conftest.$ac_ext
37189 LIBS=$ac_check_lib_save_LIBS
37190 fi
37191 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37192 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37193 if test $ac_cv_lib_w_wcslen = yes; then
37194
37195 WCHAR_LINK=" -lw"
37196 WCSLEN_FOUND=1
37197
37198 fi
37199
37200 fi
37201 fi
37202
37203 if test "$WCSLEN_FOUND" = 1; then
37204 cat >>confdefs.h <<\_ACEOF
37205 #define HAVE_WCSLEN 1
37206 _ACEOF
37207
37208 fi
37209
37210
37211 for ac_func in wcsdup
37212 do
37213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37217 echo $ECHO_N "(cached) $ECHO_C" >&6
37218 else
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37227 #define $ac_func innocuous_$ac_func
37228
37229 /* System header to define __stub macros and hopefully few prototypes,
37230 which can conflict with char $ac_func (); below.
37231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37232 <limits.h> exists even on freestanding compilers. */
37233
37234 #ifdef __STDC__
37235 # include <limits.h>
37236 #else
37237 # include <assert.h>
37238 #endif
37239
37240 #undef $ac_func
37241
37242 /* Override any GCC internal prototype to avoid an error.
37243 Use char because int might match the return type of a GCC
37244 builtin and then its argument prototype would still apply. */
37245 #ifdef __cplusplus
37246 extern "C"
37247 #endif
37248 char $ac_func ();
37249 /* The GNU C library defines this for functions which it implements
37250 to always fail with ENOSYS. Some functions are actually named
37251 something starting with __ and the normal name is an alias. */
37252 #if defined __stub_$ac_func || defined __stub___$ac_func
37253 choke me
37254 #endif
37255
37256 int
37257 main ()
37258 {
37259 return $ac_func ();
37260 ;
37261 return 0;
37262 }
37263 _ACEOF
37264 rm -f conftest.$ac_objext conftest$ac_exeext
37265 if { (ac_try="$ac_link"
37266 case "(($ac_try" in
37267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37268 *) ac_try_echo=$ac_try;;
37269 esac
37270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37271 (eval "$ac_link") 2>conftest.er1
37272 ac_status=$?
37273 grep -v '^ *+' conftest.er1 >conftest.err
37274 rm -f conftest.er1
37275 cat conftest.err >&5
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); } && {
37278 test -z "$ac_c_werror_flag" ||
37279 test ! -s conftest.err
37280 } && test -s conftest$ac_exeext &&
37281 $as_test_x conftest$ac_exeext; then
37282 eval "$as_ac_var=yes"
37283 else
37284 echo "$as_me: failed program was:" >&5
37285 sed 's/^/| /' conftest.$ac_ext >&5
37286
37287 eval "$as_ac_var=no"
37288 fi
37289
37290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37291 conftest$ac_exeext conftest.$ac_ext
37292 fi
37293 ac_res=`eval echo '${'$as_ac_var'}'`
37294 { echo "$as_me:$LINENO: result: $ac_res" >&5
37295 echo "${ECHO_T}$ac_res" >&6; }
37296 if test `eval echo '${'$as_ac_var'}'` = yes; then
37297 cat >>confdefs.h <<_ACEOF
37298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37299 _ACEOF
37300
37301 fi
37302 done
37303
37304
37305 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37306 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37307 fi
37308
37309 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37310 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37311 if test "${ac_cv_type_mbstate_t+set}" = set; then
37312 echo $ECHO_N "(cached) $ECHO_C" >&6
37313 else
37314 cat >conftest.$ac_ext <<_ACEOF
37315 /* confdefs.h. */
37316 _ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37320 #include <wchar.h>
37321
37322 typedef mbstate_t ac__type_new_;
37323 int
37324 main ()
37325 {
37326 if ((ac__type_new_ *) 0)
37327 return 0;
37328 if (sizeof (ac__type_new_))
37329 return 0;
37330 ;
37331 return 0;
37332 }
37333 _ACEOF
37334 rm -f conftest.$ac_objext
37335 if { (ac_try="$ac_compile"
37336 case "(($ac_try" in
37337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37339 esac
37340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_compile") 2>conftest.er1
37342 ac_status=$?
37343 grep -v '^ *+' conftest.er1 >conftest.err
37344 rm -f conftest.er1
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_c_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest.$ac_objext; then
37351 ac_cv_type_mbstate_t=yes
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 ac_cv_type_mbstate_t=no
37357 fi
37358
37359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37360 fi
37361 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37362 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37363 if test $ac_cv_type_mbstate_t = yes; then
37364
37365 cat >>confdefs.h <<_ACEOF
37366 #define HAVE_MBSTATE_T 1
37367 _ACEOF
37368
37369
37370 for ac_func in wcsrtombs
37371 do
37372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37376 echo $ECHO_N "(cached) $ECHO_C" >&6
37377 else
37378 cat >conftest.$ac_ext <<_ACEOF
37379 /* confdefs.h. */
37380 _ACEOF
37381 cat confdefs.h >>conftest.$ac_ext
37382 cat >>conftest.$ac_ext <<_ACEOF
37383 /* end confdefs.h. */
37384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37386 #define $ac_func innocuous_$ac_func
37387
37388 /* System header to define __stub macros and hopefully few prototypes,
37389 which can conflict with char $ac_func (); below.
37390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37391 <limits.h> exists even on freestanding compilers. */
37392
37393 #ifdef __STDC__
37394 # include <limits.h>
37395 #else
37396 # include <assert.h>
37397 #endif
37398
37399 #undef $ac_func
37400
37401 /* Override any GCC internal prototype to avoid an error.
37402 Use char because int might match the return type of a GCC
37403 builtin and then its argument prototype would still apply. */
37404 #ifdef __cplusplus
37405 extern "C"
37406 #endif
37407 char $ac_func ();
37408 /* The GNU C library defines this for functions which it implements
37409 to always fail with ENOSYS. Some functions are actually named
37410 something starting with __ and the normal name is an alias. */
37411 #if defined __stub_$ac_func || defined __stub___$ac_func
37412 choke me
37413 #endif
37414
37415 int
37416 main ()
37417 {
37418 return $ac_func ();
37419 ;
37420 return 0;
37421 }
37422 _ACEOF
37423 rm -f conftest.$ac_objext conftest$ac_exeext
37424 if { (ac_try="$ac_link"
37425 case "(($ac_try" in
37426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37427 *) ac_try_echo=$ac_try;;
37428 esac
37429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37430 (eval "$ac_link") 2>conftest.er1
37431 ac_status=$?
37432 grep -v '^ *+' conftest.er1 >conftest.err
37433 rm -f conftest.er1
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } && {
37437 test -z "$ac_c_werror_flag" ||
37438 test ! -s conftest.err
37439 } && test -s conftest$ac_exeext &&
37440 $as_test_x conftest$ac_exeext; then
37441 eval "$as_ac_var=yes"
37442 else
37443 echo "$as_me: failed program was:" >&5
37444 sed 's/^/| /' conftest.$ac_ext >&5
37445
37446 eval "$as_ac_var=no"
37447 fi
37448
37449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37450 conftest$ac_exeext conftest.$ac_ext
37451 fi
37452 ac_res=`eval echo '${'$as_ac_var'}'`
37453 { echo "$as_me:$LINENO: result: $ac_res" >&5
37454 echo "${ECHO_T}$ac_res" >&6; }
37455 if test `eval echo '${'$as_ac_var'}'` = yes; then
37456 cat >>confdefs.h <<_ACEOF
37457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37458 _ACEOF
37459
37460 fi
37461 done
37462
37463 fi
37464
37465 else
37466 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37467 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37468 fi
37469
37470
37471
37472 for ac_func in snprintf vsnprintf
37473 do
37474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37477 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached) $ECHO_C" >&6
37479 else
37480 cat >conftest.$ac_ext <<_ACEOF
37481 /* confdefs.h. */
37482 _ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37489
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37494
37495 #ifdef __STDC__
37496 # include <limits.h>
37497 #else
37498 # include <assert.h>
37499 #endif
37500
37501 #undef $ac_func
37502
37503 /* Override any GCC internal prototype to avoid an error.
37504 Use char because int might match the return type of a GCC
37505 builtin and then its argument prototype would still apply. */
37506 #ifdef __cplusplus
37507 extern "C"
37508 #endif
37509 char $ac_func ();
37510 /* The GNU C library defines this for functions which it implements
37511 to always fail with ENOSYS. Some functions are actually named
37512 something starting with __ and the normal name is an alias. */
37513 #if defined __stub_$ac_func || defined __stub___$ac_func
37514 choke me
37515 #endif
37516
37517 int
37518 main ()
37519 {
37520 return $ac_func ();
37521 ;
37522 return 0;
37523 }
37524 _ACEOF
37525 rm -f conftest.$ac_objext conftest$ac_exeext
37526 if { (ac_try="$ac_link"
37527 case "(($ac_try" in
37528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37529 *) ac_try_echo=$ac_try;;
37530 esac
37531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37532 (eval "$ac_link") 2>conftest.er1
37533 ac_status=$?
37534 grep -v '^ *+' conftest.er1 >conftest.err
37535 rm -f conftest.er1
37536 cat conftest.err >&5
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); } && {
37539 test -z "$ac_c_werror_flag" ||
37540 test ! -s conftest.err
37541 } && test -s conftest$ac_exeext &&
37542 $as_test_x conftest$ac_exeext; then
37543 eval "$as_ac_var=yes"
37544 else
37545 echo "$as_me: failed program was:" >&5
37546 sed 's/^/| /' conftest.$ac_ext >&5
37547
37548 eval "$as_ac_var=no"
37549 fi
37550
37551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37552 conftest$ac_exeext conftest.$ac_ext
37553 fi
37554 ac_res=`eval echo '${'$as_ac_var'}'`
37555 { echo "$as_me:$LINENO: result: $ac_res" >&5
37556 echo "${ECHO_T}$ac_res" >&6; }
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565
37566 if test "$ac_cv_func_vsnprintf" = "yes"; then
37567 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37568 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37569 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37570 echo $ECHO_N "(cached) $ECHO_C" >&6
37571 else
37572
37573 cat >conftest.$ac_ext <<_ACEOF
37574 /* confdefs.h. */
37575 _ACEOF
37576 cat confdefs.h >>conftest.$ac_ext
37577 cat >>conftest.$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37579
37580 #include <stdio.h>
37581 #include <stdarg.h>
37582 #ifdef __MSL__
37583 #if __MSL__ >= 0x6000
37584 namespace std {}
37585 using namespace std;
37586 #endif
37587 #endif
37588
37589 int
37590 main ()
37591 {
37592
37593 char *buf;
37594 va_list ap;
37595 vsnprintf(buf, 10u, "%s", ap);
37596
37597 ;
37598 return 0;
37599 }
37600 _ACEOF
37601 rm -f conftest.$ac_objext
37602 if { (ac_try="$ac_compile"
37603 case "(($ac_try" in
37604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37605 *) ac_try_echo=$ac_try;;
37606 esac
37607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37608 (eval "$ac_compile") 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } && {
37615 test -z "$ac_c_werror_flag" ||
37616 test ! -s conftest.err
37617 } && test -s conftest.$ac_objext; then
37618 wx_cv_func_vsnprintf_decl=yes
37619 else
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37622
37623 wx_cv_func_vsnprintf_decl=no
37624
37625 fi
37626
37627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37628
37629
37630 fi
37631 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37632 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37633
37634 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define HAVE_VSNPRINTF_DECL 1
37637 _ACEOF
37638
37639
37640 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37641 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37642 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645
37646 cat >conftest.$ac_ext <<_ACEOF
37647 /* confdefs.h. */
37648 _ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37652
37653 #include <stdio.h>
37654 #include <stdarg.h>
37655 #ifdef __MSL__
37656 #if __MSL__ >= 0x6000
37657 namespace std {}
37658 using namespace std;
37659 #endif
37660 #endif
37661
37662 int
37663 main ()
37664 {
37665
37666 char *buf;
37667 va_list ap;
37668 const char *fmt = "%s";
37669 vsnprintf(buf, 10u, fmt, ap);
37670
37671 ;
37672 return 0;
37673 }
37674 _ACEOF
37675 rm -f conftest.$ac_objext
37676 if { (ac_try="$ac_compile"
37677 case "(($ac_try" in
37678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37679 *) ac_try_echo=$ac_try;;
37680 esac
37681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37682 (eval "$ac_compile") 2>conftest.er1
37683 ac_status=$?
37684 grep -v '^ *+' conftest.er1 >conftest.err
37685 rm -f conftest.er1
37686 cat conftest.err >&5
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); } && {
37689 test -z "$ac_c_werror_flag" ||
37690 test ! -s conftest.err
37691 } && test -s conftest.$ac_objext; then
37692 wx_cv_func_broken_vsnprintf_decl=no
37693 else
37694 echo "$as_me: failed program was:" >&5
37695 sed 's/^/| /' conftest.$ac_ext >&5
37696
37697 wx_cv_func_broken_vsnprintf_decl=yes
37698
37699 fi
37700
37701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37702
37703
37704 fi
37705 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37706 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37707
37708 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37709 cat >>confdefs.h <<\_ACEOF
37710 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37711 _ACEOF
37712
37713 fi
37714 fi
37715 fi
37716
37717 if test "$ac_cv_func_snprintf" = "yes"; then
37718 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37719 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37720 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37723
37724 cat >conftest.$ac_ext <<_ACEOF
37725 /* confdefs.h. */
37726 _ACEOF
37727 cat confdefs.h >>conftest.$ac_ext
37728 cat >>conftest.$ac_ext <<_ACEOF
37729 /* end confdefs.h. */
37730
37731 #include <stdio.h>
37732 #include <stdarg.h>
37733 #ifdef __MSL__
37734 #if __MSL__ >= 0x6000
37735 namespace std {}
37736 using namespace std;
37737 #endif
37738 #endif
37739
37740 int
37741 main ()
37742 {
37743
37744 char *buf;
37745 snprintf(buf, 10u, "%s", "wx");
37746
37747 ;
37748 return 0;
37749 }
37750 _ACEOF
37751 rm -f conftest.$ac_objext
37752 if { (ac_try="$ac_compile"
37753 case "(($ac_try" in
37754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37755 *) ac_try_echo=$ac_try;;
37756 esac
37757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37758 (eval "$ac_compile") 2>conftest.er1
37759 ac_status=$?
37760 grep -v '^ *+' conftest.er1 >conftest.err
37761 rm -f conftest.er1
37762 cat conftest.err >&5
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); } && {
37765 test -z "$ac_c_werror_flag" ||
37766 test ! -s conftest.err
37767 } && test -s conftest.$ac_objext; then
37768 wx_cv_func_snprintf_decl=yes
37769 else
37770 echo "$as_me: failed program was:" >&5
37771 sed 's/^/| /' conftest.$ac_ext >&5
37772
37773 wx_cv_func_snprintf_decl=no
37774
37775 fi
37776
37777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37778
37779
37780 fi
37781 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37782 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37783
37784 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37785 cat >>confdefs.h <<\_ACEOF
37786 #define HAVE_SNPRINTF_DECL 1
37787 _ACEOF
37788
37789
37790 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37791 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
37792 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37793 echo $ECHO_N "(cached) $ECHO_C" >&6
37794 else
37795
37796 cat >conftest.$ac_ext <<_ACEOF
37797 /* confdefs.h. */
37798 _ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802
37803 #include <stdio.h>
37804 #include <stdarg.h>
37805 #ifdef __MSL__
37806 #if __MSL__ >= 0x6000
37807 namespace std {}
37808 using namespace std;
37809 #endif
37810 #endif
37811
37812 int
37813 main ()
37814 {
37815
37816 char *buf;
37817 const char *fmt = "%s";
37818 snprintf(buf, 10u, fmt, "wx");
37819
37820 ;
37821 return 0;
37822 }
37823 _ACEOF
37824 rm -f conftest.$ac_objext
37825 if { (ac_try="$ac_compile"
37826 case "(($ac_try" in
37827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37828 *) ac_try_echo=$ac_try;;
37829 esac
37830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37831 (eval "$ac_compile") 2>conftest.er1
37832 ac_status=$?
37833 grep -v '^ *+' conftest.er1 >conftest.err
37834 rm -f conftest.er1
37835 cat conftest.err >&5
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); } && {
37838 test -z "$ac_c_werror_flag" ||
37839 test ! -s conftest.err
37840 } && test -s conftest.$ac_objext; then
37841 wx_cv_func_broken_snprintf_decl=no
37842 else
37843 echo "$as_me: failed program was:" >&5
37844 sed 's/^/| /' conftest.$ac_ext >&5
37845
37846 wx_cv_func_broken_snprintf_decl=yes
37847
37848 fi
37849
37850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37851
37852
37853 fi
37854 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37855 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
37856
37857 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37858 cat >>confdefs.h <<\_ACEOF
37859 #define HAVE_BROKEN_SNPRINTF_DECL 1
37860 _ACEOF
37861
37862 fi
37863 fi
37864
37865 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37866
37867 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37868 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37869 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37870 echo $ECHO_N "(cached) $ECHO_C" >&6
37871 else
37872
37873 if test "$cross_compiling" = yes; then
37874
37875 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37876 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37877 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37878 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37879 wx_cv_func_snprintf_pos_params=no
37880
37881
37882 else
37883 cat >conftest.$ac_ext <<_ACEOF
37884 /* confdefs.h. */
37885 _ACEOF
37886 cat confdefs.h >>conftest.$ac_ext
37887 cat >>conftest.$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37889
37890 #include <stdio.h>
37891
37892 int main (void)
37893 {
37894 char buffer[128];
37895 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37896 if (strcmp ("2 3 1", buffer) == 0)
37897 exit (0);
37898 exit (1);
37899 }
37900
37901 _ACEOF
37902 rm -f conftest$ac_exeext
37903 if { (ac_try="$ac_link"
37904 case "(($ac_try" in
37905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37906 *) ac_try_echo=$ac_try;;
37907 esac
37908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37909 (eval "$ac_link") 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37913 { (case "(($ac_try" in
37914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37915 *) ac_try_echo=$ac_try;;
37916 esac
37917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37918 (eval "$ac_try") 2>&5
37919 ac_status=$?
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); }; }; then
37922 wx_cv_func_snprintf_pos_params=no
37923 else
37924 echo "$as_me: program exited with status $ac_status" >&5
37925 echo "$as_me: failed program was:" >&5
37926 sed 's/^/| /' conftest.$ac_ext >&5
37927
37928 ( exit $ac_status )
37929 wx_cv_func_snprintf_pos_params=yes
37930 fi
37931 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37932 fi
37933
37934
37935
37936
37937 fi
37938 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37939 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37940
37941 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37942 cat >>confdefs.h <<\_ACEOF
37943 #define HAVE_UNIX98_PRINTF 1
37944 _ACEOF
37945
37946 fi
37947 fi
37948 fi
37949
37950 if test "$wxUSE_UNICODE" = yes; then
37951
37952
37953 for ac_func in swprintf
37954 do
37955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 else
37961 cat >conftest.$ac_ext <<_ACEOF
37962 /* confdefs.h. */
37963 _ACEOF
37964 cat confdefs.h >>conftest.$ac_ext
37965 cat >>conftest.$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37969 #define $ac_func innocuous_$ac_func
37970
37971 /* System header to define __stub macros and hopefully few prototypes,
37972 which can conflict with char $ac_func (); below.
37973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37974 <limits.h> exists even on freestanding compilers. */
37975
37976 #ifdef __STDC__
37977 # include <limits.h>
37978 #else
37979 # include <assert.h>
37980 #endif
37981
37982 #undef $ac_func
37983
37984 /* Override any GCC internal prototype to avoid an error.
37985 Use char because int might match the return type of a GCC
37986 builtin and then its argument prototype would still apply. */
37987 #ifdef __cplusplus
37988 extern "C"
37989 #endif
37990 char $ac_func ();
37991 /* The GNU C library defines this for functions which it implements
37992 to always fail with ENOSYS. Some functions are actually named
37993 something starting with __ and the normal name is an alias. */
37994 #if defined __stub_$ac_func || defined __stub___$ac_func
37995 choke me
37996 #endif
37997
37998 int
37999 main ()
38000 {
38001 return $ac_func ();
38002 ;
38003 return 0;
38004 }
38005 _ACEOF
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (ac_try="$ac_link"
38008 case "(($ac_try" in
38009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38010 *) ac_try_echo=$ac_try;;
38011 esac
38012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38013 (eval "$ac_link") 2>conftest.er1
38014 ac_status=$?
38015 grep -v '^ *+' conftest.er1 >conftest.err
38016 rm -f conftest.er1
38017 cat conftest.err >&5
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); } && {
38020 test -z "$ac_c_werror_flag" ||
38021 test ! -s conftest.err
38022 } && test -s conftest$ac_exeext &&
38023 $as_test_x conftest$ac_exeext; then
38024 eval "$as_ac_var=yes"
38025 else
38026 echo "$as_me: failed program was:" >&5
38027 sed 's/^/| /' conftest.$ac_ext >&5
38028
38029 eval "$as_ac_var=no"
38030 fi
38031
38032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38033 conftest$ac_exeext conftest.$ac_ext
38034 fi
38035 ac_res=`eval echo '${'$as_ac_var'}'`
38036 { echo "$as_me:$LINENO: result: $ac_res" >&5
38037 echo "${ECHO_T}$ac_res" >&6; }
38038 if test `eval echo '${'$as_ac_var'}'` = yes; then
38039 cat >>confdefs.h <<_ACEOF
38040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38041 _ACEOF
38042
38043 fi
38044 done
38045
38046
38047 if test "$ac_cv_func_swprintf" = "yes"; then
38048 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38049 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38050 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38051 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 else
38053
38054 cat >conftest.$ac_ext <<_ACEOF
38055 /* confdefs.h. */
38056 _ACEOF
38057 cat confdefs.h >>conftest.$ac_ext
38058 cat >>conftest.$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38060
38061 #include <stdio.h>
38062 #include <stdarg.h>
38063 #include <wchar.h>
38064
38065 int
38066 main ()
38067 {
38068
38069 wchar_t *buf;
38070 const wchar_t *fmt = L"test";
38071 swprintf(buf, 10u, fmt);
38072
38073 ;
38074 return 0;
38075 }
38076 _ACEOF
38077 rm -f conftest.$ac_objext
38078 if { (ac_try="$ac_compile"
38079 case "(($ac_try" in
38080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38081 *) ac_try_echo=$ac_try;;
38082 esac
38083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38084 (eval "$ac_compile") 2>conftest.er1
38085 ac_status=$?
38086 grep -v '^ *+' conftest.er1 >conftest.err
38087 rm -f conftest.er1
38088 cat conftest.err >&5
38089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38090 (exit $ac_status); } && {
38091 test -z "$ac_c_werror_flag" ||
38092 test ! -s conftest.err
38093 } && test -s conftest.$ac_objext; then
38094 wx_cv_func_broken_swprintf_decl=no
38095 else
38096 echo "$as_me: failed program was:" >&5
38097 sed 's/^/| /' conftest.$ac_ext >&5
38098
38099 wx_cv_func_broken_swprintf_decl=yes
38100
38101 fi
38102
38103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38104
38105
38106 fi
38107 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38108 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38109
38110 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_BROKEN_SWPRINTF_DECL 1
38113 _ACEOF
38114
38115 fi
38116 fi
38117
38118 wchar_headers="#include <stdio.h>
38119 #include <wchar.h>"
38120 case "${host}" in
38121 *-*-solaris2* )
38122
38123 for ac_header in widec.h
38124 do
38125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38129 echo $ECHO_N "(cached) $ECHO_C" >&6
38130 else
38131 cat >conftest.$ac_ext <<_ACEOF
38132 /* confdefs.h. */
38133 _ACEOF
38134 cat confdefs.h >>conftest.$ac_ext
38135 cat >>conftest.$ac_ext <<_ACEOF
38136 /* end confdefs.h. */
38137 $ac_includes_default
38138
38139 #include <$ac_header>
38140 _ACEOF
38141 rm -f conftest.$ac_objext
38142 if { (ac_try="$ac_compile"
38143 case "(($ac_try" in
38144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38145 *) ac_try_echo=$ac_try;;
38146 esac
38147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38148 (eval "$ac_compile") 2>conftest.er1
38149 ac_status=$?
38150 grep -v '^ *+' conftest.er1 >conftest.err
38151 rm -f conftest.er1
38152 cat conftest.err >&5
38153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } && {
38155 test -z "$ac_c_werror_flag" ||
38156 test ! -s conftest.err
38157 } && test -s conftest.$ac_objext; then
38158 eval "$as_ac_Header=yes"
38159 else
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38162
38163 eval "$as_ac_Header=no"
38164 fi
38165
38166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38167 fi
38168 ac_res=`eval echo '${'$as_ac_Header'}'`
38169 { echo "$as_me:$LINENO: result: $ac_res" >&5
38170 echo "${ECHO_T}$ac_res" >&6; }
38171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38172 cat >>confdefs.h <<_ACEOF
38173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38174 _ACEOF
38175
38176 fi
38177
38178 done
38179
38180 if test "$ac_cv_header_widec_h" = "yes"; then
38181 wchar_headers="$wchar_headers
38182 #include <widec.h>"
38183 fi
38184 esac
38185
38186
38187 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38188 do
38189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38191 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38192 echo $ECHO_N "(cached) $ECHO_C" >&6
38193 else
38194
38195 cat >conftest.$ac_ext <<_ACEOF
38196
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202
38203 $wchar_headers
38204 $ac_includes_default
38205
38206 int
38207 main ()
38208 {
38209
38210 #ifndef $wx_func
38211 &$wx_func;
38212 #endif
38213
38214
38215 ;
38216 return 0;
38217 }
38218
38219 _ACEOF
38220 rm -f conftest.$ac_objext conftest$ac_exeext
38221 if { (ac_try="$ac_link"
38222 case "(($ac_try" in
38223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38224 *) ac_try_echo=$ac_try;;
38225 esac
38226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38227 (eval "$ac_link") 2>conftest.er1
38228 ac_status=$?
38229 grep -v '^ *+' conftest.er1 >conftest.err
38230 rm -f conftest.er1
38231 cat conftest.err >&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } && {
38234 test -z "$ac_c_werror_flag" ||
38235 test ! -s conftest.err
38236 } && test -s conftest$ac_exeext &&
38237 $as_test_x conftest$ac_exeext; then
38238 eval wx_cv_func_$wx_func=yes
38239 else
38240 echo "$as_me: failed program was:" >&5
38241 sed 's/^/| /' conftest.$ac_ext >&5
38242
38243 eval wx_cv_func_$wx_func=no
38244 fi
38245
38246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38247 conftest$ac_exeext conftest.$ac_ext
38248
38249 fi
38250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38251 { echo "$as_me:$LINENO: result: $ac_res" >&5
38252 echo "${ECHO_T}$ac_res" >&6; }
38253
38254 if eval test \$wx_cv_func_$wx_func = yes
38255 then
38256 cat >>confdefs.h <<_ACEOF
38257 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38258 _ACEOF
38259
38260
38261 else
38262 :
38263
38264 fi
38265 done
38266
38267
38268 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38269 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38270 cat >conftest.$ac_ext <<_ACEOF
38271 /* confdefs.h. */
38272 _ACEOF
38273 cat confdefs.h >>conftest.$ac_ext
38274 cat >>conftest.$ac_ext <<_ACEOF
38275 /* end confdefs.h. */
38276 #include <wchar.h>
38277 int
38278 main ()
38279 {
38280 &_vsnwprintf;
38281 ;
38282 return 0;
38283 }
38284 _ACEOF
38285 rm -f conftest.$ac_objext
38286 if { (ac_try="$ac_compile"
38287 case "(($ac_try" in
38288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38289 *) ac_try_echo=$ac_try;;
38290 esac
38291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38292 (eval "$ac_compile") 2>conftest.er1
38293 ac_status=$?
38294 grep -v '^ *+' conftest.er1 >conftest.err
38295 rm -f conftest.er1
38296 cat conftest.err >&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } && {
38299 test -z "$ac_c_werror_flag" ||
38300 test ! -s conftest.err
38301 } && test -s conftest.$ac_objext; then
38302 { echo "$as_me:$LINENO: result: yes" >&5
38303 echo "${ECHO_T}yes" >&6; }
38304 cat >>confdefs.h <<\_ACEOF
38305 #define HAVE__VSNWPRINTF 1
38306 _ACEOF
38307
38308 else
38309 echo "$as_me: failed program was:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38311
38312 { echo "$as_me:$LINENO: result: no" >&5
38313 echo "${ECHO_T}no" >&6; }
38314 fi
38315
38316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38317 fi
38318
38319 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38320
38321 for wx_func in fnmatch
38322 do
38323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38325 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38326 echo $ECHO_N "(cached) $ECHO_C" >&6
38327 else
38328
38329 cat >conftest.$ac_ext <<_ACEOF
38330
38331 /* confdefs.h. */
38332 _ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38336
38337 #include <fnmatch.h>
38338 $ac_includes_default
38339
38340 int
38341 main ()
38342 {
38343
38344 #ifndef $wx_func
38345 &$wx_func;
38346 #endif
38347
38348
38349 ;
38350 return 0;
38351 }
38352
38353 _ACEOF
38354 rm -f conftest.$ac_objext conftest$ac_exeext
38355 if { (ac_try="$ac_link"
38356 case "(($ac_try" in
38357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38358 *) ac_try_echo=$ac_try;;
38359 esac
38360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38361 (eval "$ac_link") 2>conftest.er1
38362 ac_status=$?
38363 grep -v '^ *+' conftest.er1 >conftest.err
38364 rm -f conftest.er1
38365 cat conftest.err >&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } && {
38368 test -z "$ac_c_werror_flag" ||
38369 test ! -s conftest.err
38370 } && test -s conftest$ac_exeext &&
38371 $as_test_x conftest$ac_exeext; then
38372 eval wx_cv_func_$wx_func=yes
38373 else
38374 echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.$ac_ext >&5
38376
38377 eval wx_cv_func_$wx_func=no
38378 fi
38379
38380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38381 conftest$ac_exeext conftest.$ac_ext
38382
38383 fi
38384 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38385 { echo "$as_me:$LINENO: result: $ac_res" >&5
38386 echo "${ECHO_T}$ac_res" >&6; }
38387
38388 if eval test \$wx_cv_func_$wx_func = yes
38389 then
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38392 _ACEOF
38393
38394
38395 else
38396 :
38397
38398 fi
38399 done
38400
38401 fi
38402
38403 if test "$wxUSE_FILE" = "yes"; then
38404
38405 for wx_func in fsync
38406 do
38407 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38408 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38409 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 else
38412
38413 cat >conftest.$ac_ext <<_ACEOF
38414
38415 /* confdefs.h. */
38416 _ACEOF
38417 cat confdefs.h >>conftest.$ac_ext
38418 cat >>conftest.$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420
38421
38422 $ac_includes_default
38423
38424 int
38425 main ()
38426 {
38427
38428 #ifndef $wx_func
38429 &$wx_func;
38430 #endif
38431
38432
38433 ;
38434 return 0;
38435 }
38436
38437 _ACEOF
38438 rm -f conftest.$ac_objext conftest$ac_exeext
38439 if { (ac_try="$ac_link"
38440 case "(($ac_try" in
38441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38442 *) ac_try_echo=$ac_try;;
38443 esac
38444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38445 (eval "$ac_link") 2>conftest.er1
38446 ac_status=$?
38447 grep -v '^ *+' conftest.er1 >conftest.err
38448 rm -f conftest.er1
38449 cat conftest.err >&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); } && {
38452 test -z "$ac_c_werror_flag" ||
38453 test ! -s conftest.err
38454 } && test -s conftest$ac_exeext &&
38455 $as_test_x conftest$ac_exeext; then
38456 eval wx_cv_func_$wx_func=yes
38457 else
38458 echo "$as_me: failed program was:" >&5
38459 sed 's/^/| /' conftest.$ac_ext >&5
38460
38461 eval wx_cv_func_$wx_func=no
38462 fi
38463
38464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38465 conftest$ac_exeext conftest.$ac_ext
38466
38467 fi
38468 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38469 { echo "$as_me:$LINENO: result: $ac_res" >&5
38470 echo "${ECHO_T}$ac_res" >&6; }
38471
38472 if eval test \$wx_cv_func_$wx_func = yes
38473 then
38474 cat >>confdefs.h <<_ACEOF
38475 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38476 _ACEOF
38477
38478
38479 else
38480 :
38481
38482 fi
38483 done
38484
38485 fi
38486
38487 ac_ext=cpp
38488 ac_cpp='$CXXCPP $CPPFLAGS'
38489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38492
38493
38494 for wx_func in round
38495 do
38496 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38497 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38498 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 else
38501
38502 cat >conftest.$ac_ext <<_ACEOF
38503
38504 /* confdefs.h. */
38505 _ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38509
38510 #include <math.h>
38511 $ac_includes_default
38512
38513 int
38514 main ()
38515 {
38516
38517 #ifndef $wx_func
38518 &$wx_func;
38519 #endif
38520
38521
38522 ;
38523 return 0;
38524 }
38525
38526 _ACEOF
38527 rm -f conftest.$ac_objext conftest$ac_exeext
38528 if { (ac_try="$ac_link"
38529 case "(($ac_try" in
38530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38531 *) ac_try_echo=$ac_try;;
38532 esac
38533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38534 (eval "$ac_link") 2>conftest.er1
38535 ac_status=$?
38536 grep -v '^ *+' conftest.er1 >conftest.err
38537 rm -f conftest.er1
38538 cat conftest.err >&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); } && {
38541 test -z "$ac_cxx_werror_flag" ||
38542 test ! -s conftest.err
38543 } && test -s conftest$ac_exeext &&
38544 $as_test_x conftest$ac_exeext; then
38545 eval wx_cv_func_$wx_func=yes
38546 else
38547 echo "$as_me: failed program was:" >&5
38548 sed 's/^/| /' conftest.$ac_ext >&5
38549
38550 eval wx_cv_func_$wx_func=no
38551 fi
38552
38553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38554 conftest$ac_exeext conftest.$ac_ext
38555
38556 fi
38557 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38558 { echo "$as_me:$LINENO: result: $ac_res" >&5
38559 echo "${ECHO_T}$ac_res" >&6; }
38560
38561 if eval test \$wx_cv_func_$wx_func = yes
38562 then
38563 cat >>confdefs.h <<_ACEOF
38564 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38565 _ACEOF
38566
38567
38568 else
38569 :
38570
38571 fi
38572 done
38573
38574 ac_ext=c
38575 ac_cpp='$CPP $CPPFLAGS'
38576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38579
38580
38581 if test "$TOOLKIT" != "MSW"; then
38582
38583
38584
38585
38586
38587 # Check whether --with-libiconv-prefix was given.
38588 if test "${with_libiconv_prefix+set}" = set; then
38589 withval=$with_libiconv_prefix;
38590 for dir in `echo "$withval" | tr : ' '`; do
38591 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38592 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38593 done
38594
38595 fi
38596
38597
38598 { echo "$as_me:$LINENO: checking for iconv" >&5
38599 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38600 if test "${am_cv_func_iconv+set}" = set; then
38601 echo $ECHO_N "(cached) $ECHO_C" >&6
38602 else
38603
38604 am_cv_func_iconv="no, consider installing GNU libiconv"
38605 am_cv_lib_iconv=no
38606 cat >conftest.$ac_ext <<_ACEOF
38607 /* confdefs.h. */
38608 _ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38612 #include <stdlib.h>
38613 #include <iconv.h>
38614 int
38615 main ()
38616 {
38617 iconv_t cd = iconv_open("","");
38618 iconv(cd,NULL,NULL,NULL,NULL);
38619 iconv_close(cd);
38620 ;
38621 return 0;
38622 }
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38629 esac
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 am_cv_func_iconv=yes
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647
38648 fi
38649
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652 if test "$am_cv_func_iconv" != yes; then
38653 am_save_LIBS="$LIBS"
38654 LIBS="$LIBS -liconv"
38655 cat >conftest.$ac_ext <<_ACEOF
38656 /* confdefs.h. */
38657 _ACEOF
38658 cat confdefs.h >>conftest.$ac_ext
38659 cat >>conftest.$ac_ext <<_ACEOF
38660 /* end confdefs.h. */
38661 #include <stdlib.h>
38662 #include <iconv.h>
38663 int
38664 main ()
38665 {
38666 iconv_t cd = iconv_open("","");
38667 iconv(cd,NULL,NULL,NULL,NULL);
38668 iconv_close(cd);
38669 ;
38670 return 0;
38671 }
38672 _ACEOF
38673 rm -f conftest.$ac_objext conftest$ac_exeext
38674 if { (ac_try="$ac_link"
38675 case "(($ac_try" in
38676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38677 *) ac_try_echo=$ac_try;;
38678 esac
38679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38680 (eval "$ac_link") 2>conftest.er1
38681 ac_status=$?
38682 grep -v '^ *+' conftest.er1 >conftest.err
38683 rm -f conftest.er1
38684 cat conftest.err >&5
38685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38686 (exit $ac_status); } && {
38687 test -z "$ac_c_werror_flag" ||
38688 test ! -s conftest.err
38689 } && test -s conftest$ac_exeext &&
38690 $as_test_x conftest$ac_exeext; then
38691 am_cv_lib_iconv=yes
38692 am_cv_func_iconv=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697
38698 fi
38699
38700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38701 conftest$ac_exeext conftest.$ac_ext
38702 LIBS="$am_save_LIBS"
38703 fi
38704
38705 fi
38706 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38707 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
38708 if test "$am_cv_func_iconv" = yes; then
38709
38710 cat >>confdefs.h <<\_ACEOF
38711 #define HAVE_ICONV 1
38712 _ACEOF
38713
38714 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
38715 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
38716 if test "${wx_cv_func_iconv_const+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38718 else
38719 cat >conftest.$ac_ext <<_ACEOF
38720 /* confdefs.h. */
38721 _ACEOF
38722 cat confdefs.h >>conftest.$ac_ext
38723 cat >>conftest.$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725
38726 #include <stdlib.h>
38727 #include <iconv.h>
38728 extern
38729 #ifdef __cplusplus
38730 "C"
38731 #endif
38732 #if defined(__STDC__) || defined(__cplusplus)
38733 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38734 #else
38735 size_t iconv();
38736 #endif
38737
38738 int
38739 main ()
38740 {
38741
38742 ;
38743 return 0;
38744 }
38745 _ACEOF
38746 rm -f conftest.$ac_objext
38747 if { (ac_try="$ac_compile"
38748 case "(($ac_try" in
38749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38750 *) ac_try_echo=$ac_try;;
38751 esac
38752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38753 (eval "$ac_compile") 2>conftest.er1
38754 ac_status=$?
38755 grep -v '^ *+' conftest.er1 >conftest.err
38756 rm -f conftest.er1
38757 cat conftest.err >&5
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); } && {
38760 test -z "$ac_c_werror_flag" ||
38761 test ! -s conftest.err
38762 } && test -s conftest.$ac_objext; then
38763 wx_cv_func_iconv_const="no"
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38767
38768 wx_cv_func_iconv_const="yes"
38769
38770 fi
38771
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773
38774 fi
38775 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38776 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38777
38778 iconv_const=
38779 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38780 iconv_const="const"
38781 fi
38782
38783
38784 cat >>confdefs.h <<_ACEOF
38785 #define ICONV_CONST $iconv_const
38786 _ACEOF
38787
38788 fi
38789 LIBICONV=
38790 if test "$am_cv_lib_iconv" = yes; then
38791 LIBICONV="-liconv"
38792 fi
38793
38794
38795 LIBS="$LIBICONV $LIBS"
38796
38797 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38798
38799 for ac_func in sigaction
38800 do
38801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38804 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38806 else
38807 cat >conftest.$ac_ext <<_ACEOF
38808 /* confdefs.h. */
38809 _ACEOF
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38815 #define $ac_func innocuous_$ac_func
38816
38817 /* System header to define __stub macros and hopefully few prototypes,
38818 which can conflict with char $ac_func (); below.
38819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38820 <limits.h> exists even on freestanding compilers. */
38821
38822 #ifdef __STDC__
38823 # include <limits.h>
38824 #else
38825 # include <assert.h>
38826 #endif
38827
38828 #undef $ac_func
38829
38830 /* Override any GCC internal prototype to avoid an error.
38831 Use char because int might match the return type of a GCC
38832 builtin and then its argument prototype would still apply. */
38833 #ifdef __cplusplus
38834 extern "C"
38835 #endif
38836 char $ac_func ();
38837 /* The GNU C library defines this for functions which it implements
38838 to always fail with ENOSYS. Some functions are actually named
38839 something starting with __ and the normal name is an alias. */
38840 #if defined __stub_$ac_func || defined __stub___$ac_func
38841 choke me
38842 #endif
38843
38844 int
38845 main ()
38846 {
38847 return $ac_func ();
38848 ;
38849 return 0;
38850 }
38851 _ACEOF
38852 rm -f conftest.$ac_objext conftest$ac_exeext
38853 if { (ac_try="$ac_link"
38854 case "(($ac_try" in
38855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38856 *) ac_try_echo=$ac_try;;
38857 esac
38858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38859 (eval "$ac_link") 2>conftest.er1
38860 ac_status=$?
38861 grep -v '^ *+' conftest.er1 >conftest.err
38862 rm -f conftest.er1
38863 cat conftest.err >&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); } && {
38866 test -z "$ac_c_werror_flag" ||
38867 test ! -s conftest.err
38868 } && test -s conftest$ac_exeext &&
38869 $as_test_x conftest$ac_exeext; then
38870 eval "$as_ac_var=yes"
38871 else
38872 echo "$as_me: failed program was:" >&5
38873 sed 's/^/| /' conftest.$ac_ext >&5
38874
38875 eval "$as_ac_var=no"
38876 fi
38877
38878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38879 conftest$ac_exeext conftest.$ac_ext
38880 fi
38881 ac_res=`eval echo '${'$as_ac_var'}'`
38882 { echo "$as_me:$LINENO: result: $ac_res" >&5
38883 echo "${ECHO_T}$ac_res" >&6; }
38884 if test `eval echo '${'$as_ac_var'}'` = yes; then
38885 cat >>confdefs.h <<_ACEOF
38886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38887 _ACEOF
38888
38889 fi
38890 done
38891
38892
38893 if test "$ac_cv_func_sigaction" = "no"; then
38894 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38895 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38896 wxUSE_ON_FATAL_EXCEPTION=no
38897 fi
38898
38899 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38900 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38901 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38902 if test "${wx_cv_type_sa_handler+set}" = set; then
38903 echo $ECHO_N "(cached) $ECHO_C" >&6
38904 else
38905
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911
38912 cat >conftest.$ac_ext <<_ACEOF
38913 /* confdefs.h. */
38914 _ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 #include <signal.h>
38919 int
38920 main ()
38921 {
38922
38923 extern void testSigHandler(int);
38924
38925 struct sigaction sa;
38926 sa.sa_handler = testSigHandler;
38927
38928 ;
38929 return 0;
38930 }
38931 _ACEOF
38932 rm -f conftest.$ac_objext
38933 if { (ac_try="$ac_compile"
38934 case "(($ac_try" in
38935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38936 *) ac_try_echo=$ac_try;;
38937 esac
38938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38939 (eval "$ac_compile") 2>conftest.er1
38940 ac_status=$?
38941 grep -v '^ *+' conftest.er1 >conftest.err
38942 rm -f conftest.er1
38943 cat conftest.err >&5
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); } && {
38946 test -z "$ac_cxx_werror_flag" ||
38947 test ! -s conftest.err
38948 } && test -s conftest.$ac_objext; then
38949
38950 wx_cv_type_sa_handler=int
38951
38952 else
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.$ac_ext >&5
38955
38956
38957 wx_cv_type_sa_handler=void
38958
38959 fi
38960
38961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38962 ac_ext=c
38963 ac_cpp='$CPP $CPPFLAGS'
38964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38967
38968
38969 fi
38970 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38971 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38972
38973 cat >>confdefs.h <<_ACEOF
38974 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38975 _ACEOF
38976
38977 fi
38978 fi
38979
38980 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38981 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38982 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38983 if test "${wx_cv_func_backtrace+set}" = set; then
38984 echo $ECHO_N "(cached) $ECHO_C" >&6
38985 else
38986
38987 ac_ext=cpp
38988 ac_cpp='$CXXCPP $CPPFLAGS'
38989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38992
38993 cat >conftest.$ac_ext <<_ACEOF
38994 /* confdefs.h. */
38995 _ACEOF
38996 cat confdefs.h >>conftest.$ac_ext
38997 cat >>conftest.$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 #include <execinfo.h>
39000 int
39001 main ()
39002 {
39003
39004 void *trace[1];
39005 char **messages;
39006
39007 backtrace(trace, 1);
39008 messages = backtrace_symbols(trace, 1);
39009
39010 ;
39011 return 0;
39012 }
39013 _ACEOF
39014 rm -f conftest.$ac_objext
39015 if { (ac_try="$ac_compile"
39016 case "(($ac_try" in
39017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39018 *) ac_try_echo=$ac_try;;
39019 esac
39020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39021 (eval "$ac_compile") 2>conftest.er1
39022 ac_status=$?
39023 grep -v '^ *+' conftest.er1 >conftest.err
39024 rm -f conftest.er1
39025 cat conftest.err >&5
39026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39027 (exit $ac_status); } && {
39028 test -z "$ac_cxx_werror_flag" ||
39029 test ! -s conftest.err
39030 } && test -s conftest.$ac_objext; then
39031 wx_cv_func_backtrace=yes
39032 else
39033 echo "$as_me: failed program was:" >&5
39034 sed 's/^/| /' conftest.$ac_ext >&5
39035
39036 wx_cv_func_backtrace=no
39037
39038 fi
39039
39040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39041 ac_ext=c
39042 ac_cpp='$CPP $CPPFLAGS'
39043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39046
39047
39048
39049 fi
39050 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39051 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39052
39053
39054 if test "$wx_cv_func_backtrace" = "no"; then
39055 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39056 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39057 wxUSE_STACKWALKER=no
39058 else
39059 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39060 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39061 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39062 echo $ECHO_N "(cached) $ECHO_C" >&6
39063 else
39064
39065 ac_ext=cpp
39066 ac_cpp='$CXXCPP $CPPFLAGS'
39067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39070
39071 cat >conftest.$ac_ext <<_ACEOF
39072 /* confdefs.h. */
39073 _ACEOF
39074 cat confdefs.h >>conftest.$ac_ext
39075 cat >>conftest.$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 #include <cxxabi.h>
39078 int
39079 main ()
39080 {
39081
39082 int rc;
39083 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39084
39085 ;
39086 return 0;
39087 }
39088 _ACEOF
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39094 esac
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_cxx_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 wx_cv_func_cxa_demangle=yes
39108 else
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39111
39112 wx_cv_func_cxa_demangle=no
39113
39114 fi
39115
39116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39117 conftest$ac_exeext conftest.$ac_ext
39118 ac_ext=c
39119 ac_cpp='$CPP $CPPFLAGS'
39120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39123
39124
39125
39126 fi
39127 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39128 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39129
39130 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39131 cat >>confdefs.h <<\_ACEOF
39132 #define HAVE_CXA_DEMANGLE 1
39133 _ACEOF
39134
39135 fi
39136 fi
39137 fi
39138
39139 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39140 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39141 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39142 wxUSE_STACKWALKER=no
39143 fi
39144
39145
39146
39147
39148 for ac_func in mkstemp mktemp
39149 do
39150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 else
39156 cat >conftest.$ac_ext <<_ACEOF
39157 /* confdefs.h. */
39158 _ACEOF
39159 cat confdefs.h >>conftest.$ac_ext
39160 cat >>conftest.$ac_ext <<_ACEOF
39161 /* end confdefs.h. */
39162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39164 #define $ac_func innocuous_$ac_func
39165
39166 /* System header to define __stub macros and hopefully few prototypes,
39167 which can conflict with char $ac_func (); below.
39168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39169 <limits.h> exists even on freestanding compilers. */
39170
39171 #ifdef __STDC__
39172 # include <limits.h>
39173 #else
39174 # include <assert.h>
39175 #endif
39176
39177 #undef $ac_func
39178
39179 /* Override any GCC internal prototype to avoid an error.
39180 Use char because int might match the return type of a GCC
39181 builtin and then its argument prototype would still apply. */
39182 #ifdef __cplusplus
39183 extern "C"
39184 #endif
39185 char $ac_func ();
39186 /* The GNU C library defines this for functions which it implements
39187 to always fail with ENOSYS. Some functions are actually named
39188 something starting with __ and the normal name is an alias. */
39189 #if defined __stub_$ac_func || defined __stub___$ac_func
39190 choke me
39191 #endif
39192
39193 int
39194 main ()
39195 {
39196 return $ac_func ();
39197 ;
39198 return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext conftest$ac_exeext
39202 if { (ac_try="$ac_link"
39203 case "(($ac_try" in
39204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39205 *) ac_try_echo=$ac_try;;
39206 esac
39207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39208 (eval "$ac_link") 2>conftest.er1
39209 ac_status=$?
39210 grep -v '^ *+' conftest.er1 >conftest.err
39211 rm -f conftest.er1
39212 cat conftest.err >&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } && {
39215 test -z "$ac_c_werror_flag" ||
39216 test ! -s conftest.err
39217 } && test -s conftest$ac_exeext &&
39218 $as_test_x conftest$ac_exeext; then
39219 eval "$as_ac_var=yes"
39220 else
39221 echo "$as_me: failed program was:" >&5
39222 sed 's/^/| /' conftest.$ac_ext >&5
39223
39224 eval "$as_ac_var=no"
39225 fi
39226
39227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39228 conftest$ac_exeext conftest.$ac_ext
39229 fi
39230 ac_res=`eval echo '${'$as_ac_var'}'`
39231 { echo "$as_me:$LINENO: result: $ac_res" >&5
39232 echo "${ECHO_T}$ac_res" >&6; }
39233 if test `eval echo '${'$as_ac_var'}'` = yes; then
39234 cat >>confdefs.h <<_ACEOF
39235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39236 _ACEOF
39237 break
39238 fi
39239 done
39240
39241
39242 { echo "$as_me:$LINENO: checking for statfs" >&5
39243 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39244 if test "${wx_cv_func_statfs+set}" = set; then
39245 echo $ECHO_N "(cached) $ECHO_C" >&6
39246 else
39247 cat >conftest.$ac_ext <<_ACEOF
39248 /* confdefs.h. */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253
39254 #if defined(__BSD__)
39255 #include <sys/param.h>
39256 #include <sys/mount.h>
39257 #else
39258 #include <sys/vfs.h>
39259 #endif
39260
39261 int
39262 main ()
39263 {
39264
39265 long l;
39266 struct statfs fs;
39267 statfs("/", &fs);
39268 l = fs.f_bsize;
39269 l += fs.f_blocks;
39270 l += fs.f_bavail;
39271
39272 ;
39273 return 0;
39274 }
39275 _ACEOF
39276 rm -f conftest.$ac_objext
39277 if { (ac_try="$ac_compile"
39278 case "(($ac_try" in
39279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39280 *) ac_try_echo=$ac_try;;
39281 esac
39282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39283 (eval "$ac_compile") 2>conftest.er1
39284 ac_status=$?
39285 grep -v '^ *+' conftest.er1 >conftest.err
39286 rm -f conftest.er1
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } && {
39290 test -z "$ac_c_werror_flag" ||
39291 test ! -s conftest.err
39292 } && test -s conftest.$ac_objext; then
39293 wx_cv_func_statfs=yes
39294 else
39295 echo "$as_me: failed program was:" >&5
39296 sed 's/^/| /' conftest.$ac_ext >&5
39297
39298 wx_cv_func_statfs=no
39299
39300 fi
39301
39302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39303
39304 fi
39305 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39306 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39307
39308 if test "$wx_cv_func_statfs" = "yes"; then
39309 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39310 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39311 if test "${wx_cv_func_statfs_decl+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 else
39314 ac_ext=cpp
39315 ac_cpp='$CXXCPP $CPPFLAGS'
39316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39319
39320 cat >conftest.$ac_ext <<_ACEOF
39321 /* confdefs.h. */
39322 _ACEOF
39323 cat confdefs.h >>conftest.$ac_ext
39324 cat >>conftest.$ac_ext <<_ACEOF
39325 /* end confdefs.h. */
39326
39327 #if defined(__BSD__)
39328 #include <sys/param.h>
39329 #include <sys/mount.h>
39330 #else
39331 #include <sys/vfs.h>
39332 #endif
39333
39334 int
39335 main ()
39336 {
39337
39338 struct statfs fs;
39339 statfs("", &fs);
39340
39341 ;
39342 return 0;
39343 }
39344 _ACEOF
39345 rm -f conftest.$ac_objext
39346 if { (ac_try="$ac_compile"
39347 case "(($ac_try" in
39348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39349 *) ac_try_echo=$ac_try;;
39350 esac
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_compile") 2>conftest.er1
39353 ac_status=$?
39354 grep -v '^ *+' conftest.er1 >conftest.err
39355 rm -f conftest.er1
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_cxx_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest.$ac_objext; then
39362 wx_cv_func_statfs_decl=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367 wx_cv_func_statfs_decl=no
39368
39369 fi
39370
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377
39378
39379 fi
39380 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39381 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39382
39383 if test "$wx_cv_func_statfs_decl" = "yes"; then
39384 cat >>confdefs.h <<\_ACEOF
39385 #define HAVE_STATFS_DECL 1
39386 _ACEOF
39387
39388 fi
39389
39390 wx_cv_type_statvfs_t="struct statfs"
39391 cat >>confdefs.h <<\_ACEOF
39392 #define HAVE_STATFS 1
39393 _ACEOF
39394
39395 else
39396 { echo "$as_me:$LINENO: checking for statvfs" >&5
39397 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39398 if test "${wx_cv_func_statvfs+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401 cat >conftest.$ac_ext <<_ACEOF
39402 /* confdefs.h. */
39403 _ACEOF
39404 cat confdefs.h >>conftest.$ac_ext
39405 cat >>conftest.$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39407
39408 #include <stddef.h>
39409 #include <sys/statvfs.h>
39410
39411 int
39412 main ()
39413 {
39414
39415 statvfs("/", NULL);
39416
39417 ;
39418 return 0;
39419 }
39420 _ACEOF
39421 rm -f conftest.$ac_objext
39422 if { (ac_try="$ac_compile"
39423 case "(($ac_try" in
39424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39425 *) ac_try_echo=$ac_try;;
39426 esac
39427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39428 (eval "$ac_compile") 2>conftest.er1
39429 ac_status=$?
39430 grep -v '^ *+' conftest.er1 >conftest.err
39431 rm -f conftest.er1
39432 cat conftest.err >&5
39433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39434 (exit $ac_status); } && {
39435 test -z "$ac_c_werror_flag" ||
39436 test ! -s conftest.err
39437 } && test -s conftest.$ac_objext; then
39438 wx_cv_func_statvfs=yes
39439 else
39440 echo "$as_me: failed program was:" >&5
39441 sed 's/^/| /' conftest.$ac_ext >&5
39442
39443 wx_cv_func_statvfs=no
39444
39445 fi
39446
39447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39448
39449 fi
39450 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39451 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39452
39453 if test "$wx_cv_func_statvfs" = "yes"; then
39454 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39455 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39456 if test "${wx_cv_type_statvfs_t+set}" = set; then
39457 echo $ECHO_N "(cached) $ECHO_C" >&6
39458 else
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464
39465 cat >conftest.$ac_ext <<_ACEOF
39466 /* confdefs.h. */
39467 _ACEOF
39468 cat confdefs.h >>conftest.$ac_ext
39469 cat >>conftest.$ac_ext <<_ACEOF
39470 /* end confdefs.h. */
39471
39472 #include <sys/statvfs.h>
39473
39474 int
39475 main ()
39476 {
39477
39478 long l;
39479 statvfs_t fs;
39480 statvfs("/", &fs);
39481 l = fs.f_bsize;
39482 l += fs.f_blocks;
39483 l += fs.f_bavail;
39484
39485 ;
39486 return 0;
39487 }
39488 _ACEOF
39489 rm -f conftest.$ac_objext
39490 if { (ac_try="$ac_compile"
39491 case "(($ac_try" in
39492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39493 *) ac_try_echo=$ac_try;;
39494 esac
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_compile") 2>conftest.er1
39497 ac_status=$?
39498 grep -v '^ *+' conftest.er1 >conftest.err
39499 rm -f conftest.er1
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_cxx_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest.$ac_objext; then
39506 wx_cv_type_statvfs_t=statvfs_t
39507 else
39508 echo "$as_me: failed program was:" >&5
39509 sed 's/^/| /' conftest.$ac_ext >&5
39510
39511
39512 cat >conftest.$ac_ext <<_ACEOF
39513 /* confdefs.h. */
39514 _ACEOF
39515 cat confdefs.h >>conftest.$ac_ext
39516 cat >>conftest.$ac_ext <<_ACEOF
39517 /* end confdefs.h. */
39518
39519 #include <sys/statvfs.h>
39520
39521 int
39522 main ()
39523 {
39524
39525 long l;
39526 struct statvfs fs;
39527 statvfs("/", &fs);
39528 l = fs.f_bsize;
39529 l += fs.f_blocks;
39530 l += fs.f_bavail;
39531
39532 ;
39533 return 0;
39534 }
39535 _ACEOF
39536 rm -f conftest.$ac_objext
39537 if { (ac_try="$ac_compile"
39538 case "(($ac_try" in
39539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39540 *) ac_try_echo=$ac_try;;
39541 esac
39542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39543 (eval "$ac_compile") 2>conftest.er1
39544 ac_status=$?
39545 grep -v '^ *+' conftest.er1 >conftest.err
39546 rm -f conftest.er1
39547 cat conftest.err >&5
39548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549 (exit $ac_status); } && {
39550 test -z "$ac_cxx_werror_flag" ||
39551 test ! -s conftest.err
39552 } && test -s conftest.$ac_objext; then
39553 wx_cv_type_statvfs_t="struct statvfs"
39554 else
39555 echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.$ac_ext >&5
39557
39558 wx_cv_type_statvfs_t="unknown"
39559
39560 fi
39561
39562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39563
39564
39565 fi
39566
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39568 ac_ext=c
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573
39574
39575 fi
39576 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39577 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39578
39579 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_STATVFS 1
39582 _ACEOF
39583
39584 fi
39585 else
39586 wx_cv_type_statvfs_t="unknown"
39587 fi
39588 fi
39589
39590 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39591 cat >>confdefs.h <<_ACEOF
39592 #define WX_STATFS_T $wx_cv_type_statvfs_t
39593 _ACEOF
39594
39595 else
39596 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39597 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39598 fi
39599
39600 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39601
39602
39603 for ac_func in fcntl flock
39604 do
39605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39606 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39608 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 else
39611 cat >conftest.$ac_ext <<_ACEOF
39612 /* confdefs.h. */
39613 _ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39619 #define $ac_func innocuous_$ac_func
39620
39621 /* System header to define __stub macros and hopefully few prototypes,
39622 which can conflict with char $ac_func (); below.
39623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624 <limits.h> exists even on freestanding compilers. */
39625
39626 #ifdef __STDC__
39627 # include <limits.h>
39628 #else
39629 # include <assert.h>
39630 #endif
39631
39632 #undef $ac_func
39633
39634 /* Override any GCC internal prototype to avoid an error.
39635 Use char because int might match the return type of a GCC
39636 builtin and then its argument prototype would still apply. */
39637 #ifdef __cplusplus
39638 extern "C"
39639 #endif
39640 char $ac_func ();
39641 /* The GNU C library defines this for functions which it implements
39642 to always fail with ENOSYS. Some functions are actually named
39643 something starting with __ and the normal name is an alias. */
39644 #if defined __stub_$ac_func || defined __stub___$ac_func
39645 choke me
39646 #endif
39647
39648 int
39649 main ()
39650 {
39651 return $ac_func ();
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 rm -f conftest.$ac_objext conftest$ac_exeext
39657 if { (ac_try="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39661 esac
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>conftest.er1
39664 ac_status=$?
39665 grep -v '^ *+' conftest.er1 >conftest.err
39666 rm -f conftest.er1
39667 cat conftest.err >&5
39668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39669 (exit $ac_status); } && {
39670 test -z "$ac_c_werror_flag" ||
39671 test ! -s conftest.err
39672 } && test -s conftest$ac_exeext &&
39673 $as_test_x conftest$ac_exeext; then
39674 eval "$as_ac_var=yes"
39675 else
39676 echo "$as_me: failed program was:" >&5
39677 sed 's/^/| /' conftest.$ac_ext >&5
39678
39679 eval "$as_ac_var=no"
39680 fi
39681
39682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39683 conftest$ac_exeext conftest.$ac_ext
39684 fi
39685 ac_res=`eval echo '${'$as_ac_var'}'`
39686 { echo "$as_me:$LINENO: result: $ac_res" >&5
39687 echo "${ECHO_T}$ac_res" >&6; }
39688 if test `eval echo '${'$as_ac_var'}'` = yes; then
39689 cat >>confdefs.h <<_ACEOF
39690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39691 _ACEOF
39692 break
39693 fi
39694 done
39695
39696
39697 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39698 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39699 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39700 wxUSE_SNGLINST_CHECKER=no
39701 fi
39702 fi
39703
39704
39705 for ac_func in timegm
39706 do
39707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39711 echo $ECHO_N "(cached) $ECHO_C" >&6
39712 else
39713 cat >conftest.$ac_ext <<_ACEOF
39714 /* confdefs.h. */
39715 _ACEOF
39716 cat confdefs.h >>conftest.$ac_ext
39717 cat >>conftest.$ac_ext <<_ACEOF
39718 /* end confdefs.h. */
39719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39721 #define $ac_func innocuous_$ac_func
39722
39723 /* System header to define __stub macros and hopefully few prototypes,
39724 which can conflict with char $ac_func (); below.
39725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39726 <limits.h> exists even on freestanding compilers. */
39727
39728 #ifdef __STDC__
39729 # include <limits.h>
39730 #else
39731 # include <assert.h>
39732 #endif
39733
39734 #undef $ac_func
39735
39736 /* Override any GCC internal prototype to avoid an error.
39737 Use char because int might match the return type of a GCC
39738 builtin and then its argument prototype would still apply. */
39739 #ifdef __cplusplus
39740 extern "C"
39741 #endif
39742 char $ac_func ();
39743 /* The GNU C library defines this for functions which it implements
39744 to always fail with ENOSYS. Some functions are actually named
39745 something starting with __ and the normal name is an alias. */
39746 #if defined __stub_$ac_func || defined __stub___$ac_func
39747 choke me
39748 #endif
39749
39750 int
39751 main ()
39752 {
39753 return $ac_func ();
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 rm -f conftest.$ac_objext conftest$ac_exeext
39759 if { (ac_try="$ac_link"
39760 case "(($ac_try" in
39761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39762 *) ac_try_echo=$ac_try;;
39763 esac
39764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39765 (eval "$ac_link") 2>conftest.er1
39766 ac_status=$?
39767 grep -v '^ *+' conftest.er1 >conftest.err
39768 rm -f conftest.er1
39769 cat conftest.err >&5
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); } && {
39772 test -z "$ac_c_werror_flag" ||
39773 test ! -s conftest.err
39774 } && test -s conftest$ac_exeext &&
39775 $as_test_x conftest$ac_exeext; then
39776 eval "$as_ac_var=yes"
39777 else
39778 echo "$as_me: failed program was:" >&5
39779 sed 's/^/| /' conftest.$ac_ext >&5
39780
39781 eval "$as_ac_var=no"
39782 fi
39783
39784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39785 conftest$ac_exeext conftest.$ac_ext
39786 fi
39787 ac_res=`eval echo '${'$as_ac_var'}'`
39788 { echo "$as_me:$LINENO: result: $ac_res" >&5
39789 echo "${ECHO_T}$ac_res" >&6; }
39790 if test `eval echo '${'$as_ac_var'}'` = yes; then
39791 cat >>confdefs.h <<_ACEOF
39792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39793 _ACEOF
39794
39795 fi
39796 done
39797
39798
39799
39800
39801 for ac_func in setenv putenv
39802 do
39803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39804 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39808 else
39809 cat >conftest.$ac_ext <<_ACEOF
39810 /* confdefs.h. */
39811 _ACEOF
39812 cat confdefs.h >>conftest.$ac_ext
39813 cat >>conftest.$ac_ext <<_ACEOF
39814 /* end confdefs.h. */
39815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39817 #define $ac_func innocuous_$ac_func
39818
39819 /* System header to define __stub macros and hopefully few prototypes,
39820 which can conflict with char $ac_func (); below.
39821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39822 <limits.h> exists even on freestanding compilers. */
39823
39824 #ifdef __STDC__
39825 # include <limits.h>
39826 #else
39827 # include <assert.h>
39828 #endif
39829
39830 #undef $ac_func
39831
39832 /* Override any GCC internal prototype to avoid an error.
39833 Use char because int might match the return type of a GCC
39834 builtin and then its argument prototype would still apply. */
39835 #ifdef __cplusplus
39836 extern "C"
39837 #endif
39838 char $ac_func ();
39839 /* The GNU C library defines this for functions which it implements
39840 to always fail with ENOSYS. Some functions are actually named
39841 something starting with __ and the normal name is an alias. */
39842 #if defined __stub_$ac_func || defined __stub___$ac_func
39843 choke me
39844 #endif
39845
39846 int
39847 main ()
39848 {
39849 return $ac_func ();
39850 ;
39851 return 0;
39852 }
39853 _ACEOF
39854 rm -f conftest.$ac_objext conftest$ac_exeext
39855 if { (ac_try="$ac_link"
39856 case "(($ac_try" in
39857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39858 *) ac_try_echo=$ac_try;;
39859 esac
39860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39861 (eval "$ac_link") 2>conftest.er1
39862 ac_status=$?
39863 grep -v '^ *+' conftest.er1 >conftest.err
39864 rm -f conftest.er1
39865 cat conftest.err >&5
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); } && {
39868 test -z "$ac_c_werror_flag" ||
39869 test ! -s conftest.err
39870 } && test -s conftest$ac_exeext &&
39871 $as_test_x conftest$ac_exeext; then
39872 eval "$as_ac_var=yes"
39873 else
39874 echo "$as_me: failed program was:" >&5
39875 sed 's/^/| /' conftest.$ac_ext >&5
39876
39877 eval "$as_ac_var=no"
39878 fi
39879
39880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39881 conftest$ac_exeext conftest.$ac_ext
39882 fi
39883 ac_res=`eval echo '${'$as_ac_var'}'`
39884 { echo "$as_me:$LINENO: result: $ac_res" >&5
39885 echo "${ECHO_T}$ac_res" >&6; }
39886 if test `eval echo '${'$as_ac_var'}'` = yes; then
39887 cat >>confdefs.h <<_ACEOF
39888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39889 _ACEOF
39890 break
39891 fi
39892 done
39893
39894
39895 HAVE_SOME_SLEEP_FUNC=0
39896 if test "$USE_BEOS" = 1; then
39897 cat >>confdefs.h <<\_ACEOF
39898 #define HAVE_SLEEP 1
39899 _ACEOF
39900
39901 HAVE_SOME_SLEEP_FUNC=1
39902 fi
39903
39904 if test "$USE_DARWIN" = 1; then
39905 cat >>confdefs.h <<\_ACEOF
39906 #define HAVE_USLEEP 1
39907 _ACEOF
39908
39909 HAVE_SOME_SLEEP_FUNC=1
39910 fi
39911
39912 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39913 POSIX4_LINK=
39914
39915 for ac_func in nanosleep
39916 do
39917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39921 echo $ECHO_N "(cached) $ECHO_C" >&6
39922 else
39923 cat >conftest.$ac_ext <<_ACEOF
39924 /* confdefs.h. */
39925 _ACEOF
39926 cat confdefs.h >>conftest.$ac_ext
39927 cat >>conftest.$ac_ext <<_ACEOF
39928 /* end confdefs.h. */
39929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39931 #define $ac_func innocuous_$ac_func
39932
39933 /* System header to define __stub macros and hopefully few prototypes,
39934 which can conflict with char $ac_func (); below.
39935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39936 <limits.h> exists even on freestanding compilers. */
39937
39938 #ifdef __STDC__
39939 # include <limits.h>
39940 #else
39941 # include <assert.h>
39942 #endif
39943
39944 #undef $ac_func
39945
39946 /* Override any GCC internal prototype to avoid an error.
39947 Use char because int might match the return type of a GCC
39948 builtin and then its argument prototype would still apply. */
39949 #ifdef __cplusplus
39950 extern "C"
39951 #endif
39952 char $ac_func ();
39953 /* The GNU C library defines this for functions which it implements
39954 to always fail with ENOSYS. Some functions are actually named
39955 something starting with __ and the normal name is an alias. */
39956 #if defined __stub_$ac_func || defined __stub___$ac_func
39957 choke me
39958 #endif
39959
39960 int
39961 main ()
39962 {
39963 return $ac_func ();
39964 ;
39965 return 0;
39966 }
39967 _ACEOF
39968 rm -f conftest.$ac_objext conftest$ac_exeext
39969 if { (ac_try="$ac_link"
39970 case "(($ac_try" in
39971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39972 *) ac_try_echo=$ac_try;;
39973 esac
39974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39975 (eval "$ac_link") 2>conftest.er1
39976 ac_status=$?
39977 grep -v '^ *+' conftest.er1 >conftest.err
39978 rm -f conftest.er1
39979 cat conftest.err >&5
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); } && {
39982 test -z "$ac_c_werror_flag" ||
39983 test ! -s conftest.err
39984 } && test -s conftest$ac_exeext &&
39985 $as_test_x conftest$ac_exeext; then
39986 eval "$as_ac_var=yes"
39987 else
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.$ac_ext >&5
39990
39991 eval "$as_ac_var=no"
39992 fi
39993
39994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39995 conftest$ac_exeext conftest.$ac_ext
39996 fi
39997 ac_res=`eval echo '${'$as_ac_var'}'`
39998 { echo "$as_me:$LINENO: result: $ac_res" >&5
39999 echo "${ECHO_T}$ac_res" >&6; }
40000 if test `eval echo '${'$as_ac_var'}'` = yes; then
40001 cat >>confdefs.h <<_ACEOF
40002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40003 _ACEOF
40004 cat >>confdefs.h <<\_ACEOF
40005 #define HAVE_NANOSLEEP 1
40006 _ACEOF
40007
40008 else
40009
40010 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40011 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40012 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40013 echo $ECHO_N "(cached) $ECHO_C" >&6
40014 else
40015 ac_check_lib_save_LIBS=$LIBS
40016 LIBS="-lposix4 $LIBS"
40017 cat >conftest.$ac_ext <<_ACEOF
40018 /* confdefs.h. */
40019 _ACEOF
40020 cat confdefs.h >>conftest.$ac_ext
40021 cat >>conftest.$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023
40024 /* Override any GCC internal prototype to avoid an error.
40025 Use char because int might match the return type of a GCC
40026 builtin and then its argument prototype would still apply. */
40027 #ifdef __cplusplus
40028 extern "C"
40029 #endif
40030 char nanosleep ();
40031 int
40032 main ()
40033 {
40034 return nanosleep ();
40035 ;
40036 return 0;
40037 }
40038 _ACEOF
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40043 *) ac_try_echo=$ac_try;;
40044 esac
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40047 ac_status=$?
40048 grep -v '^ *+' conftest.er1 >conftest.err
40049 rm -f conftest.er1
40050 cat conftest.err >&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest$ac_exeext &&
40056 $as_test_x conftest$ac_exeext; then
40057 ac_cv_lib_posix4_nanosleep=yes
40058 else
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.$ac_ext >&5
40061
40062 ac_cv_lib_posix4_nanosleep=no
40063 fi
40064
40065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40066 conftest$ac_exeext conftest.$ac_ext
40067 LIBS=$ac_check_lib_save_LIBS
40068 fi
40069 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40070 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40071 if test $ac_cv_lib_posix4_nanosleep = yes; then
40072
40073 cat >>confdefs.h <<\_ACEOF
40074 #define HAVE_NANOSLEEP 1
40075 _ACEOF
40076
40077 POSIX4_LINK=" -lposix4"
40078
40079 else
40080
40081
40082 for wx_func in usleep
40083 do
40084 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40085 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40086 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40087 echo $ECHO_N "(cached) $ECHO_C" >&6
40088 else
40089
40090 cat >conftest.$ac_ext <<_ACEOF
40091
40092 /* confdefs.h. */
40093 _ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097
40098
40099 $ac_includes_default
40100
40101 int
40102 main ()
40103 {
40104
40105 #ifndef $wx_func
40106 &$wx_func;
40107 #endif
40108
40109
40110 ;
40111 return 0;
40112 }
40113
40114 _ACEOF
40115 rm -f conftest.$ac_objext conftest$ac_exeext
40116 if { (ac_try="$ac_link"
40117 case "(($ac_try" in
40118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40119 *) ac_try_echo=$ac_try;;
40120 esac
40121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40122 (eval "$ac_link") 2>conftest.er1
40123 ac_status=$?
40124 grep -v '^ *+' conftest.er1 >conftest.err
40125 rm -f conftest.er1
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } && {
40129 test -z "$ac_c_werror_flag" ||
40130 test ! -s conftest.err
40131 } && test -s conftest$ac_exeext &&
40132 $as_test_x conftest$ac_exeext; then
40133 eval wx_cv_func_$wx_func=yes
40134 else
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40137
40138 eval wx_cv_func_$wx_func=no
40139 fi
40140
40141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40142 conftest$ac_exeext conftest.$ac_ext
40143
40144 fi
40145 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40146 { echo "$as_me:$LINENO: result: $ac_res" >&5
40147 echo "${ECHO_T}$ac_res" >&6; }
40148
40149 if eval test \$wx_cv_func_$wx_func = yes
40150 then
40151 cat >>confdefs.h <<_ACEOF
40152 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40153 _ACEOF
40154
40155
40156 else
40157 :
40158 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40159 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40160
40161 fi
40162 done
40163
40164
40165
40166 fi
40167
40168
40169
40170 fi
40171 done
40172
40173 fi
40174
40175
40176 for wx_func in uname
40177 do
40178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40182 else
40183
40184 cat >conftest.$ac_ext <<_ACEOF
40185
40186 /* confdefs.h. */
40187 _ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h. */
40191
40192 #include <sys/utsname.h>
40193 $ac_includes_default
40194
40195 int
40196 main ()
40197 {
40198
40199 #ifndef $wx_func
40200 &$wx_func;
40201 #endif
40202
40203
40204 ;
40205 return 0;
40206 }
40207
40208 _ACEOF
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40213 *) ac_try_echo=$ac_try;;
40214 esac
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216 (eval "$ac_link") 2>conftest.er1
40217 ac_status=$?
40218 grep -v '^ *+' conftest.er1 >conftest.err
40219 rm -f conftest.er1
40220 cat conftest.err >&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } && {
40223 test -z "$ac_c_werror_flag" ||
40224 test ! -s conftest.err
40225 } && test -s conftest$ac_exeext &&
40226 $as_test_x conftest$ac_exeext; then
40227 eval wx_cv_func_$wx_func=yes
40228 else
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.$ac_ext >&5
40231
40232 eval wx_cv_func_$wx_func=no
40233 fi
40234
40235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40236 conftest$ac_exeext conftest.$ac_ext
40237
40238 fi
40239 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40240 { echo "$as_me:$LINENO: result: $ac_res" >&5
40241 echo "${ECHO_T}$ac_res" >&6; }
40242
40243 if eval test \$wx_cv_func_$wx_func = yes
40244 then
40245 cat >>confdefs.h <<_ACEOF
40246 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40247 _ACEOF
40248
40249
40250 else
40251 :
40252
40253 fi
40254 done
40255
40256 if test "$wx_cv_func_uname" != yes; then
40257
40258 for wx_func in gethostname
40259 do
40260 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40261 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40262 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40263 echo $ECHO_N "(cached) $ECHO_C" >&6
40264 else
40265
40266 cat >conftest.$ac_ext <<_ACEOF
40267
40268 /* confdefs.h. */
40269 _ACEOF
40270 cat confdefs.h >>conftest.$ac_ext
40271 cat >>conftest.$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273
40274
40275 $ac_includes_default
40276
40277 int
40278 main ()
40279 {
40280
40281 #ifndef $wx_func
40282 &$wx_func;
40283 #endif
40284
40285
40286 ;
40287 return 0;
40288 }
40289
40290 _ACEOF
40291 rm -f conftest.$ac_objext conftest$ac_exeext
40292 if { (ac_try="$ac_link"
40293 case "(($ac_try" in
40294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40295 *) ac_try_echo=$ac_try;;
40296 esac
40297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40298 (eval "$ac_link") 2>conftest.er1
40299 ac_status=$?
40300 grep -v '^ *+' conftest.er1 >conftest.err
40301 rm -f conftest.er1
40302 cat conftest.err >&5
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); } && {
40305 test -z "$ac_c_werror_flag" ||
40306 test ! -s conftest.err
40307 } && test -s conftest$ac_exeext &&
40308 $as_test_x conftest$ac_exeext; then
40309 eval wx_cv_func_$wx_func=yes
40310 else
40311 echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40313
40314 eval wx_cv_func_$wx_func=no
40315 fi
40316
40317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40318 conftest$ac_exeext conftest.$ac_ext
40319
40320 fi
40321 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40322 { echo "$as_me:$LINENO: result: $ac_res" >&5
40323 echo "${ECHO_T}$ac_res" >&6; }
40324
40325 if eval test \$wx_cv_func_$wx_func = yes
40326 then
40327 cat >>confdefs.h <<_ACEOF
40328 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40329 _ACEOF
40330
40331
40332 else
40333 :
40334
40335 fi
40336 done
40337
40338 fi
40339
40340
40341 for wx_func in strtok_r
40342 do
40343 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40344 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40345 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40346 echo $ECHO_N "(cached) $ECHO_C" >&6
40347 else
40348
40349 cat >conftest.$ac_ext <<_ACEOF
40350
40351 /* confdefs.h. */
40352 _ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40356
40357 #define _REENTRANT
40358 $ac_includes_default
40359
40360 int
40361 main ()
40362 {
40363
40364 #ifndef $wx_func
40365 &$wx_func;
40366 #endif
40367
40368
40369 ;
40370 return 0;
40371 }
40372
40373 _ACEOF
40374 rm -f conftest.$ac_objext conftest$ac_exeext
40375 if { (ac_try="$ac_link"
40376 case "(($ac_try" in
40377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40378 *) ac_try_echo=$ac_try;;
40379 esac
40380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40381 (eval "$ac_link") 2>conftest.er1
40382 ac_status=$?
40383 grep -v '^ *+' conftest.er1 >conftest.err
40384 rm -f conftest.er1
40385 cat conftest.err >&5
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); } && {
40388 test -z "$ac_c_werror_flag" ||
40389 test ! -s conftest.err
40390 } && test -s conftest$ac_exeext &&
40391 $as_test_x conftest$ac_exeext; then
40392 eval wx_cv_func_$wx_func=yes
40393 else
40394 echo "$as_me: failed program was:" >&5
40395 sed 's/^/| /' conftest.$ac_ext >&5
40396
40397 eval wx_cv_func_$wx_func=no
40398 fi
40399
40400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40401 conftest$ac_exeext conftest.$ac_ext
40402
40403 fi
40404 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40405 { echo "$as_me:$LINENO: result: $ac_res" >&5
40406 echo "${ECHO_T}$ac_res" >&6; }
40407
40408 if eval test \$wx_cv_func_$wx_func = yes
40409 then
40410 cat >>confdefs.h <<_ACEOF
40411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40412 _ACEOF
40413
40414
40415 else
40416 :
40417
40418 fi
40419 done
40420
40421
40422 INET_LINK=
40423
40424 for ac_func in inet_addr
40425 do
40426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40429 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40430 echo $ECHO_N "(cached) $ECHO_C" >&6
40431 else
40432 cat >conftest.$ac_ext <<_ACEOF
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40440 #define $ac_func innocuous_$ac_func
40441
40442 /* System header to define __stub macros and hopefully few prototypes,
40443 which can conflict with char $ac_func (); below.
40444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40445 <limits.h> exists even on freestanding compilers. */
40446
40447 #ifdef __STDC__
40448 # include <limits.h>
40449 #else
40450 # include <assert.h>
40451 #endif
40452
40453 #undef $ac_func
40454
40455 /* Override any GCC internal prototype to avoid an error.
40456 Use char because int might match the return type of a GCC
40457 builtin and then its argument prototype would still apply. */
40458 #ifdef __cplusplus
40459 extern "C"
40460 #endif
40461 char $ac_func ();
40462 /* The GNU C library defines this for functions which it implements
40463 to always fail with ENOSYS. Some functions are actually named
40464 something starting with __ and the normal name is an alias. */
40465 #if defined __stub_$ac_func || defined __stub___$ac_func
40466 choke me
40467 #endif
40468
40469 int
40470 main ()
40471 {
40472 return $ac_func ();
40473 ;
40474 return 0;
40475 }
40476 _ACEOF
40477 rm -f conftest.$ac_objext conftest$ac_exeext
40478 if { (ac_try="$ac_link"
40479 case "(($ac_try" in
40480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40481 *) ac_try_echo=$ac_try;;
40482 esac
40483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40484 (eval "$ac_link") 2>conftest.er1
40485 ac_status=$?
40486 grep -v '^ *+' conftest.er1 >conftest.err
40487 rm -f conftest.er1
40488 cat conftest.err >&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } && {
40491 test -z "$ac_c_werror_flag" ||
40492 test ! -s conftest.err
40493 } && test -s conftest$ac_exeext &&
40494 $as_test_x conftest$ac_exeext; then
40495 eval "$as_ac_var=yes"
40496 else
40497 echo "$as_me: failed program was:" >&5
40498 sed 's/^/| /' conftest.$ac_ext >&5
40499
40500 eval "$as_ac_var=no"
40501 fi
40502
40503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40504 conftest$ac_exeext conftest.$ac_ext
40505 fi
40506 ac_res=`eval echo '${'$as_ac_var'}'`
40507 { echo "$as_me:$LINENO: result: $ac_res" >&5
40508 echo "${ECHO_T}$ac_res" >&6; }
40509 if test `eval echo '${'$as_ac_var'}'` = yes; then
40510 cat >>confdefs.h <<_ACEOF
40511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40512 _ACEOF
40513 cat >>confdefs.h <<\_ACEOF
40514 #define HAVE_INET_ADDR 1
40515 _ACEOF
40516
40517 else
40518
40519 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40520 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40521 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40523 else
40524 ac_check_lib_save_LIBS=$LIBS
40525 LIBS="-lnsl $LIBS"
40526 cat >conftest.$ac_ext <<_ACEOF
40527 /* confdefs.h. */
40528 _ACEOF
40529 cat confdefs.h >>conftest.$ac_ext
40530 cat >>conftest.$ac_ext <<_ACEOF
40531 /* end confdefs.h. */
40532
40533 /* Override any GCC internal prototype to avoid an error.
40534 Use char because int might match the return type of a GCC
40535 builtin and then its argument prototype would still apply. */
40536 #ifdef __cplusplus
40537 extern "C"
40538 #endif
40539 char inet_addr ();
40540 int
40541 main ()
40542 {
40543 return inet_addr ();
40544 ;
40545 return 0;
40546 }
40547 _ACEOF
40548 rm -f conftest.$ac_objext conftest$ac_exeext
40549 if { (ac_try="$ac_link"
40550 case "(($ac_try" in
40551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40552 *) ac_try_echo=$ac_try;;
40553 esac
40554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40555 (eval "$ac_link") 2>conftest.er1
40556 ac_status=$?
40557 grep -v '^ *+' conftest.er1 >conftest.err
40558 rm -f conftest.er1
40559 cat conftest.err >&5
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); } && {
40562 test -z "$ac_c_werror_flag" ||
40563 test ! -s conftest.err
40564 } && test -s conftest$ac_exeext &&
40565 $as_test_x conftest$ac_exeext; then
40566 ac_cv_lib_nsl_inet_addr=yes
40567 else
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.$ac_ext >&5
40570
40571 ac_cv_lib_nsl_inet_addr=no
40572 fi
40573
40574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40575 conftest$ac_exeext conftest.$ac_ext
40576 LIBS=$ac_check_lib_save_LIBS
40577 fi
40578 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40580 if test $ac_cv_lib_nsl_inet_addr = yes; then
40581 INET_LINK="nsl"
40582 else
40583
40584 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40587 echo $ECHO_N "(cached) $ECHO_C" >&6
40588 else
40589 ac_check_lib_save_LIBS=$LIBS
40590 LIBS="-lresolv $LIBS"
40591 cat >conftest.$ac_ext <<_ACEOF
40592 /* confdefs.h. */
40593 _ACEOF
40594 cat confdefs.h >>conftest.$ac_ext
40595 cat >>conftest.$ac_ext <<_ACEOF
40596 /* end confdefs.h. */
40597
40598 /* Override any GCC internal prototype to avoid an error.
40599 Use char because int might match the return type of a GCC
40600 builtin and then its argument prototype would still apply. */
40601 #ifdef __cplusplus
40602 extern "C"
40603 #endif
40604 char inet_addr ();
40605 int
40606 main ()
40607 {
40608 return inet_addr ();
40609 ;
40610 return 0;
40611 }
40612 _ACEOF
40613 rm -f conftest.$ac_objext conftest$ac_exeext
40614 if { (ac_try="$ac_link"
40615 case "(($ac_try" in
40616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40617 *) ac_try_echo=$ac_try;;
40618 esac
40619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40620 (eval "$ac_link") 2>conftest.er1
40621 ac_status=$?
40622 grep -v '^ *+' conftest.er1 >conftest.err
40623 rm -f conftest.er1
40624 cat conftest.err >&5
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); } && {
40627 test -z "$ac_c_werror_flag" ||
40628 test ! -s conftest.err
40629 } && test -s conftest$ac_exeext &&
40630 $as_test_x conftest$ac_exeext; then
40631 ac_cv_lib_resolv_inet_addr=yes
40632 else
40633 echo "$as_me: failed program was:" >&5
40634 sed 's/^/| /' conftest.$ac_ext >&5
40635
40636 ac_cv_lib_resolv_inet_addr=no
40637 fi
40638
40639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40640 conftest$ac_exeext conftest.$ac_ext
40641 LIBS=$ac_check_lib_save_LIBS
40642 fi
40643 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40644 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40645 if test $ac_cv_lib_resolv_inet_addr = yes; then
40646 INET_LINK="resolv"
40647 else
40648
40649 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40650 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40651 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 else
40654 ac_check_lib_save_LIBS=$LIBS
40655 LIBS="-lsocket $LIBS"
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662
40663 /* Override any GCC internal prototype to avoid an error.
40664 Use char because int might match the return type of a GCC
40665 builtin and then its argument prototype would still apply. */
40666 #ifdef __cplusplus
40667 extern "C"
40668 #endif
40669 char inet_addr ();
40670 int
40671 main ()
40672 {
40673 return inet_addr ();
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 rm -f conftest.$ac_objext conftest$ac_exeext
40679 if { (ac_try="$ac_link"
40680 case "(($ac_try" in
40681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40682 *) ac_try_echo=$ac_try;;
40683 esac
40684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40685 (eval "$ac_link") 2>conftest.er1
40686 ac_status=$?
40687 grep -v '^ *+' conftest.er1 >conftest.err
40688 rm -f conftest.er1
40689 cat conftest.err >&5
40690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40691 (exit $ac_status); } && {
40692 test -z "$ac_c_werror_flag" ||
40693 test ! -s conftest.err
40694 } && test -s conftest$ac_exeext &&
40695 $as_test_x conftest$ac_exeext; then
40696 ac_cv_lib_socket_inet_addr=yes
40697 else
40698 echo "$as_me: failed program was:" >&5
40699 sed 's/^/| /' conftest.$ac_ext >&5
40700
40701 ac_cv_lib_socket_inet_addr=no
40702 fi
40703
40704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40705 conftest$ac_exeext conftest.$ac_ext
40706 LIBS=$ac_check_lib_save_LIBS
40707 fi
40708 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40709 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
40710 if test $ac_cv_lib_socket_inet_addr = yes; then
40711 INET_LINK="socket"
40712
40713 fi
40714
40715
40716
40717 fi
40718
40719
40720
40721 fi
40722
40723
40724
40725 fi
40726 done
40727
40728
40729
40730 for ac_func in inet_aton
40731 do
40732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40736 echo $ECHO_N "(cached) $ECHO_C" >&6
40737 else
40738 cat >conftest.$ac_ext <<_ACEOF
40739 /* confdefs.h. */
40740 _ACEOF
40741 cat confdefs.h >>conftest.$ac_ext
40742 cat >>conftest.$ac_ext <<_ACEOF
40743 /* end confdefs.h. */
40744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40746 #define $ac_func innocuous_$ac_func
40747
40748 /* System header to define __stub macros and hopefully few prototypes,
40749 which can conflict with char $ac_func (); below.
40750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40751 <limits.h> exists even on freestanding compilers. */
40752
40753 #ifdef __STDC__
40754 # include <limits.h>
40755 #else
40756 # include <assert.h>
40757 #endif
40758
40759 #undef $ac_func
40760
40761 /* Override any GCC internal prototype to avoid an error.
40762 Use char because int might match the return type of a GCC
40763 builtin and then its argument prototype would still apply. */
40764 #ifdef __cplusplus
40765 extern "C"
40766 #endif
40767 char $ac_func ();
40768 /* The GNU C library defines this for functions which it implements
40769 to always fail with ENOSYS. Some functions are actually named
40770 something starting with __ and the normal name is an alias. */
40771 #if defined __stub_$ac_func || defined __stub___$ac_func
40772 choke me
40773 #endif
40774
40775 int
40776 main ()
40777 {
40778 return $ac_func ();
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 rm -f conftest.$ac_objext conftest$ac_exeext
40784 if { (ac_try="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40788 esac
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40791 ac_status=$?
40792 grep -v '^ *+' conftest.er1 >conftest.err
40793 rm -f conftest.er1
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 eval "$as_ac_var=yes"
40802 else
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40805
40806 eval "$as_ac_var=no"
40807 fi
40808
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40811 fi
40812 ac_res=`eval echo '${'$as_ac_var'}'`
40813 { echo "$as_me:$LINENO: result: $ac_res" >&5
40814 echo "${ECHO_T}$ac_res" >&6; }
40815 if test `eval echo '${'$as_ac_var'}'` = yes; then
40816 cat >>confdefs.h <<_ACEOF
40817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40818 _ACEOF
40819 cat >>confdefs.h <<\_ACEOF
40820 #define HAVE_INET_ATON 1
40821 _ACEOF
40822
40823 else
40824
40825 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40826 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40827 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40828 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40829 echo $ECHO_N "(cached) $ECHO_C" >&6
40830 else
40831 ac_check_lib_save_LIBS=$LIBS
40832 LIBS="-l$INET_LINK $LIBS"
40833 cat >conftest.$ac_ext <<_ACEOF
40834 /* confdefs.h. */
40835 _ACEOF
40836 cat confdefs.h >>conftest.$ac_ext
40837 cat >>conftest.$ac_ext <<_ACEOF
40838 /* end confdefs.h. */
40839
40840 /* Override any GCC internal prototype to avoid an error.
40841 Use char because int might match the return type of a GCC
40842 builtin and then its argument prototype would still apply. */
40843 #ifdef __cplusplus
40844 extern "C"
40845 #endif
40846 char inet_aton ();
40847 int
40848 main ()
40849 {
40850 return inet_aton ();
40851 ;
40852 return 0;
40853 }
40854 _ACEOF
40855 rm -f conftest.$ac_objext conftest$ac_exeext
40856 if { (ac_try="$ac_link"
40857 case "(($ac_try" in
40858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40859 *) ac_try_echo=$ac_try;;
40860 esac
40861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40862 (eval "$ac_link") 2>conftest.er1
40863 ac_status=$?
40864 grep -v '^ *+' conftest.er1 >conftest.err
40865 rm -f conftest.er1
40866 cat conftest.err >&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } && {
40869 test -z "$ac_c_werror_flag" ||
40870 test ! -s conftest.err
40871 } && test -s conftest$ac_exeext &&
40872 $as_test_x conftest$ac_exeext; then
40873 eval "$as_ac_Lib=yes"
40874 else
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.$ac_ext >&5
40877
40878 eval "$as_ac_Lib=no"
40879 fi
40880
40881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40882 conftest$ac_exeext conftest.$ac_ext
40883 LIBS=$ac_check_lib_save_LIBS
40884 fi
40885 ac_res=`eval echo '${'$as_ac_Lib'}'`
40886 { echo "$as_me:$LINENO: result: $ac_res" >&5
40887 echo "${ECHO_T}$ac_res" >&6; }
40888 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40889 cat >>confdefs.h <<\_ACEOF
40890 #define HAVE_INET_ATON 1
40891 _ACEOF
40892
40893 fi
40894
40895
40896 fi
40897 done
40898
40899
40900 if test "x$INET_LINK" != "x"; then
40901 cat >>confdefs.h <<\_ACEOF
40902 #define HAVE_INET_ADDR 1
40903 _ACEOF
40904
40905 INET_LINK=" -l$INET_LINK"
40906 fi
40907
40908
40909 for wx_func in fdopen
40910 do
40911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40914 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 else
40916
40917 cat >conftest.$ac_ext <<_ACEOF
40918
40919 /* confdefs.h. */
40920 _ACEOF
40921 cat confdefs.h >>conftest.$ac_ext
40922 cat >>conftest.$ac_ext <<_ACEOF
40923 /* end confdefs.h. */
40924
40925
40926 $ac_includes_default
40927
40928 int
40929 main ()
40930 {
40931
40932 #ifndef $wx_func
40933 &$wx_func;
40934 #endif
40935
40936
40937 ;
40938 return 0;
40939 }
40940
40941 _ACEOF
40942 rm -f conftest.$ac_objext conftest$ac_exeext
40943 if { (ac_try="$ac_link"
40944 case "(($ac_try" in
40945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40946 *) ac_try_echo=$ac_try;;
40947 esac
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_link") 2>conftest.er1
40950 ac_status=$?
40951 grep -v '^ *+' conftest.er1 >conftest.err
40952 rm -f conftest.er1
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest$ac_exeext &&
40959 $as_test_x conftest$ac_exeext; then
40960 eval wx_cv_func_$wx_func=yes
40961 else
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40964
40965 eval wx_cv_func_$wx_func=no
40966 fi
40967
40968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40969 conftest$ac_exeext conftest.$ac_ext
40970
40971 fi
40972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40973 { echo "$as_me:$LINENO: result: $ac_res" >&5
40974 echo "${ECHO_T}$ac_res" >&6; }
40975
40976 if eval test \$wx_cv_func_$wx_func = yes
40977 then
40978 cat >>confdefs.h <<_ACEOF
40979 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40980 _ACEOF
40981
40982
40983 else
40984 :
40985
40986 fi
40987 done
40988
40989
40990 fi
40991
40992
40993
40994 cat >confcache <<\_ACEOF
40995 # This file is a shell script that caches the results of configure
40996 # tests run on this system so they can be shared between configure
40997 # scripts and configure runs, see configure's option --config-cache.
40998 # It is not useful on other systems. If it contains results you don't
40999 # want to keep, you may remove or edit it.
41000 #
41001 # config.status only pays attention to the cache file if you give it
41002 # the --recheck option to rerun configure.
41003 #
41004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41006 # following values.
41007
41008 _ACEOF
41009
41010 # The following way of writing the cache mishandles newlines in values,
41011 # but we know of no workaround that is simple, portable, and efficient.
41012 # So, we kill variables containing newlines.
41013 # Ultrix sh set writes to stderr and can't be redirected directly,
41014 # and sets the high bit in the cache file unless we assign to the vars.
41015 (
41016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41017 eval ac_val=\$$ac_var
41018 case $ac_val in #(
41019 *${as_nl}*)
41020 case $ac_var in #(
41021 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41022 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41023 esac
41024 case $ac_var in #(
41025 _ | IFS | as_nl) ;; #(
41026 *) $as_unset $ac_var ;;
41027 esac ;;
41028 esac
41029 done
41030
41031 (set) 2>&1 |
41032 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41033 *${as_nl}ac_space=\ *)
41034 # `set' does not quote correctly, so add quotes (double-quote
41035 # substitution turns \\\\ into \\, and sed turns \\ into \).
41036 sed -n \
41037 "s/'/'\\\\''/g;
41038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41039 ;; #(
41040 *)
41041 # `set' quotes correctly as required by POSIX, so do not add quotes.
41042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41043 ;;
41044 esac |
41045 sort
41046 ) |
41047 sed '
41048 /^ac_cv_env_/b end
41049 t clear
41050 :clear
41051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41052 t end
41053 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41054 :end' >>confcache
41055 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41056 if test -w "$cache_file"; then
41057 test "x$cache_file" != "x/dev/null" &&
41058 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41059 echo "$as_me: updating cache $cache_file" >&6;}
41060 cat confcache >$cache_file
41061 else
41062 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41063 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41064 fi
41065 fi
41066 rm -f confcache
41067
41068
41069 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41070
41071
41072 THREADS_LINK=
41073 THREADS_CFLAGS=
41074
41075 if test "$wxUSE_THREADS" = "yes" ; then
41076 if test "$USE_BEOS" = 1; then
41077 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41078 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41079 wxUSE_THREADS="no"
41080 fi
41081 fi
41082
41083 if test "$wxUSE_THREADS" = "yes" ; then
41084
41085
41086 THREAD_OPTS="-pthread"
41087 if test "x$SUNCXX" = xyes; then
41088 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41089 fi
41090
41091 case "${host}" in
41092 *-*-solaris2* | *-*-sunos4* )
41093 if test "x$GCC" = "xyes"; then
41094 THREAD_OPTS="-pthreads $THREAD_OPTS"
41095 fi
41096 ;;
41097 *-*-freebsd*)
41098 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41099 ;;
41100 *-*-darwin* | *-*-cygwin* )
41101 THREAD_OPTS=""
41102 ;;
41103 *-*-aix*)
41104 THREAD_OPTS="pthreads"
41105 ;;
41106 *-hp-hpux* )
41107 if test "x$GCC" = "xyes"; then
41108 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41109 THREAD_OPTS=""
41110 else
41111 THREAD_OPTS="-mt"
41112 fi
41113 ;;
41114
41115 *-*-irix* )
41116 if test "x$GCC" = "xyes"; then
41117 THREAD_OPTS=""
41118 fi
41119 ;;
41120
41121 *-*-*UnixWare*)
41122 if test "x$GCC" != "xyes"; then
41123 THREAD_OPTS="-Ethread"
41124 fi
41125 ;;
41126 esac
41127
41128 THREAD_OPTS="$THREAD_OPTS pthread none"
41129
41130 THREADS_OK=no
41131 for flag in $THREAD_OPTS; do
41132 case $flag in
41133 none)
41134 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41135 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41136 ;;
41137
41138 -*)
41139 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41140 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41141 THREADS_CFLAGS="$flag"
41142 ;;
41143
41144 *)
41145 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41146 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41147 THREADS_LINK="-l$flag"
41148 ;;
41149 esac
41150
41151 save_LIBS="$LIBS"
41152 save_CFLAGS="$CFLAGS"
41153 LIBS="$THREADS_LINK $LIBS"
41154 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41155
41156 cat >conftest.$ac_ext <<_ACEOF
41157 /* confdefs.h. */
41158 _ACEOF
41159 cat confdefs.h >>conftest.$ac_ext
41160 cat >>conftest.$ac_ext <<_ACEOF
41161 /* end confdefs.h. */
41162 #include <pthread.h>
41163 int
41164 main ()
41165 {
41166 pthread_create(0,0,0,0);
41167 ;
41168 return 0;
41169 }
41170 _ACEOF
41171 rm -f conftest.$ac_objext conftest$ac_exeext
41172 if { (ac_try="$ac_link"
41173 case "(($ac_try" in
41174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41175 *) ac_try_echo=$ac_try;;
41176 esac
41177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41178 (eval "$ac_link") 2>conftest.er1
41179 ac_status=$?
41180 grep -v '^ *+' conftest.er1 >conftest.err
41181 rm -f conftest.er1
41182 cat conftest.err >&5
41183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41184 (exit $ac_status); } && {
41185 test -z "$ac_c_werror_flag" ||
41186 test ! -s conftest.err
41187 } && test -s conftest$ac_exeext &&
41188 $as_test_x conftest$ac_exeext; then
41189 THREADS_OK=yes
41190 else
41191 echo "$as_me: failed program was:" >&5
41192 sed 's/^/| /' conftest.$ac_ext >&5
41193
41194
41195 fi
41196
41197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41198 conftest$ac_exeext conftest.$ac_ext
41199
41200 LIBS="$save_LIBS"
41201 CFLAGS="$save_CFLAGS"
41202
41203 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41204 echo "${ECHO_T}$THREADS_OK" >&6; }
41205 if test "x$THREADS_OK" = "xyes"; then
41206 break;
41207 fi
41208
41209 THREADS_LINK=""
41210 THREADS_CFLAGS=""
41211 done
41212
41213 if test "x$THREADS_OK" != "xyes"; then
41214 wxUSE_THREADS=no
41215 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41216 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41217 else
41218 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41219 LIBS="$THREADS_LINK $LIBS"
41220
41221 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41222 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41223 flag=no
41224 case "${host}" in
41225 *-aix*)
41226 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41227 flag="-D_THREAD_SAFE"
41228 ;;
41229 *-freebsd*)
41230 flag="-D_THREAD_SAFE"
41231 ;;
41232 *-hp-hpux* )
41233 flag="-D_REENTRANT"
41234 if test "x$GCC" != "xyes"; then
41235 flag="$flag -D_RWSTD_MULTI_THREAD"
41236 fi
41237 ;;
41238 *solaris* | alpha*-osf*)
41239 flag="-D_REENTRANT"
41240 ;;
41241 esac
41242 { echo "$as_me:$LINENO: result: ${flag}" >&5
41243 echo "${ECHO_T}${flag}" >&6; }
41244 if test "x$flag" != xno; then
41245 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41246 fi
41247
41248 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41249 fi
41250 fi
41251
41252 if test "$wxUSE_THREADS" = "yes" ; then
41253
41254 for ac_func in thr_setconcurrency
41255 do
41256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41257 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41259 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41260 echo $ECHO_N "(cached) $ECHO_C" >&6
41261 else
41262 cat >conftest.$ac_ext <<_ACEOF
41263 /* confdefs.h. */
41264 _ACEOF
41265 cat confdefs.h >>conftest.$ac_ext
41266 cat >>conftest.$ac_ext <<_ACEOF
41267 /* end confdefs.h. */
41268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41270 #define $ac_func innocuous_$ac_func
41271
41272 /* System header to define __stub macros and hopefully few prototypes,
41273 which can conflict with char $ac_func (); below.
41274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41275 <limits.h> exists even on freestanding compilers. */
41276
41277 #ifdef __STDC__
41278 # include <limits.h>
41279 #else
41280 # include <assert.h>
41281 #endif
41282
41283 #undef $ac_func
41284
41285 /* Override any GCC internal prototype to avoid an error.
41286 Use char because int might match the return type of a GCC
41287 builtin and then its argument prototype would still apply. */
41288 #ifdef __cplusplus
41289 extern "C"
41290 #endif
41291 char $ac_func ();
41292 /* The GNU C library defines this for functions which it implements
41293 to always fail with ENOSYS. Some functions are actually named
41294 something starting with __ and the normal name is an alias. */
41295 #if defined __stub_$ac_func || defined __stub___$ac_func
41296 choke me
41297 #endif
41298
41299 int
41300 main ()
41301 {
41302 return $ac_func ();
41303 ;
41304 return 0;
41305 }
41306 _ACEOF
41307 rm -f conftest.$ac_objext conftest$ac_exeext
41308 if { (ac_try="$ac_link"
41309 case "(($ac_try" in
41310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41311 *) ac_try_echo=$ac_try;;
41312 esac
41313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41314 (eval "$ac_link") 2>conftest.er1
41315 ac_status=$?
41316 grep -v '^ *+' conftest.er1 >conftest.err
41317 rm -f conftest.er1
41318 cat conftest.err >&5
41319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41320 (exit $ac_status); } && {
41321 test -z "$ac_c_werror_flag" ||
41322 test ! -s conftest.err
41323 } && test -s conftest$ac_exeext &&
41324 $as_test_x conftest$ac_exeext; then
41325 eval "$as_ac_var=yes"
41326 else
41327 echo "$as_me: failed program was:" >&5
41328 sed 's/^/| /' conftest.$ac_ext >&5
41329
41330 eval "$as_ac_var=no"
41331 fi
41332
41333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41334 conftest$ac_exeext conftest.$ac_ext
41335 fi
41336 ac_res=`eval echo '${'$as_ac_var'}'`
41337 { echo "$as_me:$LINENO: result: $ac_res" >&5
41338 echo "${ECHO_T}$ac_res" >&6; }
41339 if test `eval echo '${'$as_ac_var'}'` = yes; then
41340 cat >>confdefs.h <<_ACEOF
41341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41342 _ACEOF
41343
41344 fi
41345 done
41346
41347
41348 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41349 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41350 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41351 echo $ECHO_N "(cached) $ECHO_C" >&6
41352 else
41353
41354 ac_ext=cpp
41355 ac_cpp='$CXXCPP $CPPFLAGS'
41356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41359
41360 cat >conftest.$ac_ext <<_ACEOF
41361 /* confdefs.h. */
41362 _ACEOF
41363 cat confdefs.h >>conftest.$ac_ext
41364 cat >>conftest.$ac_ext <<_ACEOF
41365 /* end confdefs.h. */
41366 #include <pthread.h>
41367 void ThreadCleanupFunc(void *p);
41368
41369 int
41370 main ()
41371 {
41372
41373 void *p;
41374 pthread_cleanup_push(ThreadCleanupFunc, p);
41375 pthread_cleanup_pop(0);
41376
41377 ;
41378 return 0;
41379 }
41380 _ACEOF
41381 rm -f conftest.$ac_objext
41382 if { (ac_try="$ac_compile"
41383 case "(($ac_try" in
41384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41385 *) ac_try_echo=$ac_try;;
41386 esac
41387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41388 (eval "$ac_compile") 2>conftest.er1
41389 ac_status=$?
41390 grep -v '^ *+' conftest.er1 >conftest.err
41391 rm -f conftest.er1
41392 cat conftest.err >&5
41393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41394 (exit $ac_status); } && {
41395 test -z "$ac_cxx_werror_flag" ||
41396 test ! -s conftest.err
41397 } && test -s conftest.$ac_objext; then
41398
41399 wx_cv_func_pthread_cleanup=yes
41400
41401 else
41402 echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41404
41405
41406 wx_cv_func_pthread_cleanup=no
41407
41408
41409 fi
41410
41411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41412 ac_ext=c
41413 ac_cpp='$CPP $CPPFLAGS'
41414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41417
41418
41419 fi
41420 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41421 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41422 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41423 cat >>confdefs.h <<\_ACEOF
41424 #define wxHAVE_PTHREAD_CLEANUP 1
41425 _ACEOF
41426
41427 fi
41428
41429
41430 for ac_header in sched.h
41431 do
41432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41436 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 else
41438 cat >conftest.$ac_ext <<_ACEOF
41439 /* confdefs.h. */
41440 _ACEOF
41441 cat confdefs.h >>conftest.$ac_ext
41442 cat >>conftest.$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41444 $ac_includes_default
41445
41446 #include <$ac_header>
41447 _ACEOF
41448 rm -f conftest.$ac_objext
41449 if { (ac_try="$ac_compile"
41450 case "(($ac_try" in
41451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41452 *) ac_try_echo=$ac_try;;
41453 esac
41454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41455 (eval "$ac_compile") 2>conftest.er1
41456 ac_status=$?
41457 grep -v '^ *+' conftest.er1 >conftest.err
41458 rm -f conftest.er1
41459 cat conftest.err >&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } && {
41462 test -z "$ac_c_werror_flag" ||
41463 test ! -s conftest.err
41464 } && test -s conftest.$ac_objext; then
41465 eval "$as_ac_Header=yes"
41466 else
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41469
41470 eval "$as_ac_Header=no"
41471 fi
41472
41473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41474 fi
41475 ac_res=`eval echo '${'$as_ac_Header'}'`
41476 { echo "$as_me:$LINENO: result: $ac_res" >&5
41477 echo "${ECHO_T}$ac_res" >&6; }
41478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41479 cat >>confdefs.h <<_ACEOF
41480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41481 _ACEOF
41482
41483 fi
41484
41485 done
41486
41487 if test "$ac_cv_header_sched_h" = "yes"; then
41488 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41489 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41490 if test "${ac_cv_func_sched_yield+set}" = set; then
41491 echo $ECHO_N "(cached) $ECHO_C" >&6
41492 else
41493 cat >conftest.$ac_ext <<_ACEOF
41494 /* confdefs.h. */
41495 _ACEOF
41496 cat confdefs.h >>conftest.$ac_ext
41497 cat >>conftest.$ac_ext <<_ACEOF
41498 /* end confdefs.h. */
41499 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41501 #define sched_yield innocuous_sched_yield
41502
41503 /* System header to define __stub macros and hopefully few prototypes,
41504 which can conflict with char sched_yield (); below.
41505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41506 <limits.h> exists even on freestanding compilers. */
41507
41508 #ifdef __STDC__
41509 # include <limits.h>
41510 #else
41511 # include <assert.h>
41512 #endif
41513
41514 #undef sched_yield
41515
41516 /* Override any GCC internal prototype to avoid an error.
41517 Use char because int might match the return type of a GCC
41518 builtin and then its argument prototype would still apply. */
41519 #ifdef __cplusplus
41520 extern "C"
41521 #endif
41522 char sched_yield ();
41523 /* The GNU C library defines this for functions which it implements
41524 to always fail with ENOSYS. Some functions are actually named
41525 something starting with __ and the normal name is an alias. */
41526 #if defined __stub_sched_yield || defined __stub___sched_yield
41527 choke me
41528 #endif
41529
41530 int
41531 main ()
41532 {
41533 return sched_yield ();
41534 ;
41535 return 0;
41536 }
41537 _ACEOF
41538 rm -f conftest.$ac_objext conftest$ac_exeext
41539 if { (ac_try="$ac_link"
41540 case "(($ac_try" in
41541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41542 *) ac_try_echo=$ac_try;;
41543 esac
41544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41545 (eval "$ac_link") 2>conftest.er1
41546 ac_status=$?
41547 grep -v '^ *+' conftest.er1 >conftest.err
41548 rm -f conftest.er1
41549 cat conftest.err >&5
41550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41551 (exit $ac_status); } && {
41552 test -z "$ac_c_werror_flag" ||
41553 test ! -s conftest.err
41554 } && test -s conftest$ac_exeext &&
41555 $as_test_x conftest$ac_exeext; then
41556 ac_cv_func_sched_yield=yes
41557 else
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41560
41561 ac_cv_func_sched_yield=no
41562 fi
41563
41564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41565 conftest$ac_exeext conftest.$ac_ext
41566 fi
41567 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41568 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41569 if test $ac_cv_func_sched_yield = yes; then
41570 cat >>confdefs.h <<\_ACEOF
41571 #define HAVE_SCHED_YIELD 1
41572 _ACEOF
41573
41574 else
41575
41576 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41577 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41578 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41579 echo $ECHO_N "(cached) $ECHO_C" >&6
41580 else
41581 ac_check_lib_save_LIBS=$LIBS
41582 LIBS="-lposix4 $LIBS"
41583 cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h. */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h. */
41589
41590 /* Override any GCC internal prototype to avoid an error.
41591 Use char because int might match the return type of a GCC
41592 builtin and then its argument prototype would still apply. */
41593 #ifdef __cplusplus
41594 extern "C"
41595 #endif
41596 char sched_yield ();
41597 int
41598 main ()
41599 {
41600 return sched_yield ();
41601 ;
41602 return 0;
41603 }
41604 _ACEOF
41605 rm -f conftest.$ac_objext conftest$ac_exeext
41606 if { (ac_try="$ac_link"
41607 case "(($ac_try" in
41608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41609 *) ac_try_echo=$ac_try;;
41610 esac
41611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41612 (eval "$ac_link") 2>conftest.er1
41613 ac_status=$?
41614 grep -v '^ *+' conftest.er1 >conftest.err
41615 rm -f conftest.er1
41616 cat conftest.err >&5
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); } && {
41619 test -z "$ac_c_werror_flag" ||
41620 test ! -s conftest.err
41621 } && test -s conftest$ac_exeext &&
41622 $as_test_x conftest$ac_exeext; then
41623 ac_cv_lib_posix4_sched_yield=yes
41624 else
41625 echo "$as_me: failed program was:" >&5
41626 sed 's/^/| /' conftest.$ac_ext >&5
41627
41628 ac_cv_lib_posix4_sched_yield=no
41629 fi
41630
41631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41632 conftest$ac_exeext conftest.$ac_ext
41633 LIBS=$ac_check_lib_save_LIBS
41634 fi
41635 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41636 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41637 if test $ac_cv_lib_posix4_sched_yield = yes; then
41638 cat >>confdefs.h <<\_ACEOF
41639 #define HAVE_SCHED_YIELD 1
41640 _ACEOF
41641 POSIX4_LINK=" -lposix4"
41642 else
41643 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41644 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41645
41646 fi
41647
41648
41649
41650 fi
41651
41652 fi
41653
41654 HAVE_PRIOR_FUNCS=0
41655 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41656 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41657 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41658 echo $ECHO_N "(cached) $ECHO_C" >&6
41659 else
41660 cat >conftest.$ac_ext <<_ACEOF
41661 /* confdefs.h. */
41662 _ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41666 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41668 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41669
41670 /* System header to define __stub macros and hopefully few prototypes,
41671 which can conflict with char pthread_attr_getschedpolicy (); below.
41672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41673 <limits.h> exists even on freestanding compilers. */
41674
41675 #ifdef __STDC__
41676 # include <limits.h>
41677 #else
41678 # include <assert.h>
41679 #endif
41680
41681 #undef pthread_attr_getschedpolicy
41682
41683 /* Override any GCC internal prototype to avoid an error.
41684 Use char because int might match the return type of a GCC
41685 builtin and then its argument prototype would still apply. */
41686 #ifdef __cplusplus
41687 extern "C"
41688 #endif
41689 char pthread_attr_getschedpolicy ();
41690 /* The GNU C library defines this for functions which it implements
41691 to always fail with ENOSYS. Some functions are actually named
41692 something starting with __ and the normal name is an alias. */
41693 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41694 choke me
41695 #endif
41696
41697 int
41698 main ()
41699 {
41700 return pthread_attr_getschedpolicy ();
41701 ;
41702 return 0;
41703 }
41704 _ACEOF
41705 rm -f conftest.$ac_objext conftest$ac_exeext
41706 if { (ac_try="$ac_link"
41707 case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41709 *) ac_try_echo=$ac_try;;
41710 esac
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_link") 2>conftest.er1
41713 ac_status=$?
41714 grep -v '^ *+' conftest.er1 >conftest.err
41715 rm -f conftest.er1
41716 cat conftest.err >&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } && {
41719 test -z "$ac_c_werror_flag" ||
41720 test ! -s conftest.err
41721 } && test -s conftest$ac_exeext &&
41722 $as_test_x conftest$ac_exeext; then
41723 ac_cv_func_pthread_attr_getschedpolicy=yes
41724 else
41725 echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.$ac_ext >&5
41727
41728 ac_cv_func_pthread_attr_getschedpolicy=no
41729 fi
41730
41731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41732 conftest$ac_exeext conftest.$ac_ext
41733 fi
41734 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41735 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41736 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41737 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41738 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41739 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 else
41742 cat >conftest.$ac_ext <<_ACEOF
41743 /* confdefs.h. */
41744 _ACEOF
41745 cat confdefs.h >>conftest.$ac_ext
41746 cat >>conftest.$ac_ext <<_ACEOF
41747 /* end confdefs.h. */
41748 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41750 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41751
41752 /* System header to define __stub macros and hopefully few prototypes,
41753 which can conflict with char pthread_attr_setschedparam (); below.
41754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41755 <limits.h> exists even on freestanding compilers. */
41756
41757 #ifdef __STDC__
41758 # include <limits.h>
41759 #else
41760 # include <assert.h>
41761 #endif
41762
41763 #undef pthread_attr_setschedparam
41764
41765 /* Override any GCC internal prototype to avoid an error.
41766 Use char because int might match the return type of a GCC
41767 builtin and then its argument prototype would still apply. */
41768 #ifdef __cplusplus
41769 extern "C"
41770 #endif
41771 char pthread_attr_setschedparam ();
41772 /* The GNU C library defines this for functions which it implements
41773 to always fail with ENOSYS. Some functions are actually named
41774 something starting with __ and the normal name is an alias. */
41775 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41776 choke me
41777 #endif
41778
41779 int
41780 main ()
41781 {
41782 return pthread_attr_setschedparam ();
41783 ;
41784 return 0;
41785 }
41786 _ACEOF
41787 rm -f conftest.$ac_objext conftest$ac_exeext
41788 if { (ac_try="$ac_link"
41789 case "(($ac_try" in
41790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41791 *) ac_try_echo=$ac_try;;
41792 esac
41793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41794 (eval "$ac_link") 2>conftest.er1
41795 ac_status=$?
41796 grep -v '^ *+' conftest.er1 >conftest.err
41797 rm -f conftest.er1
41798 cat conftest.err >&5
41799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800 (exit $ac_status); } && {
41801 test -z "$ac_c_werror_flag" ||
41802 test ! -s conftest.err
41803 } && test -s conftest$ac_exeext &&
41804 $as_test_x conftest$ac_exeext; then
41805 ac_cv_func_pthread_attr_setschedparam=yes
41806 else
41807 echo "$as_me: failed program was:" >&5
41808 sed 's/^/| /' conftest.$ac_ext >&5
41809
41810 ac_cv_func_pthread_attr_setschedparam=no
41811 fi
41812
41813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41814 conftest$ac_exeext conftest.$ac_ext
41815 fi
41816 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41817 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41818 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41819 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41820 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41821 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41822 echo $ECHO_N "(cached) $ECHO_C" >&6
41823 else
41824 cat >conftest.$ac_ext <<_ACEOF
41825 /* confdefs.h. */
41826 _ACEOF
41827 cat confdefs.h >>conftest.$ac_ext
41828 cat >>conftest.$ac_ext <<_ACEOF
41829 /* end confdefs.h. */
41830 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41832 #define sched_get_priority_max innocuous_sched_get_priority_max
41833
41834 /* System header to define __stub macros and hopefully few prototypes,
41835 which can conflict with char sched_get_priority_max (); below.
41836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41837 <limits.h> exists even on freestanding compilers. */
41838
41839 #ifdef __STDC__
41840 # include <limits.h>
41841 #else
41842 # include <assert.h>
41843 #endif
41844
41845 #undef sched_get_priority_max
41846
41847 /* Override any GCC internal prototype to avoid an error.
41848 Use char because int might match the return type of a GCC
41849 builtin and then its argument prototype would still apply. */
41850 #ifdef __cplusplus
41851 extern "C"
41852 #endif
41853 char sched_get_priority_max ();
41854 /* The GNU C library defines this for functions which it implements
41855 to always fail with ENOSYS. Some functions are actually named
41856 something starting with __ and the normal name is an alias. */
41857 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41858 choke me
41859 #endif
41860
41861 int
41862 main ()
41863 {
41864 return sched_get_priority_max ();
41865 ;
41866 return 0;
41867 }
41868 _ACEOF
41869 rm -f conftest.$ac_objext conftest$ac_exeext
41870 if { (ac_try="$ac_link"
41871 case "(($ac_try" in
41872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41873 *) ac_try_echo=$ac_try;;
41874 esac
41875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41876 (eval "$ac_link") 2>conftest.er1
41877 ac_status=$?
41878 grep -v '^ *+' conftest.er1 >conftest.err
41879 rm -f conftest.er1
41880 cat conftest.err >&5
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); } && {
41883 test -z "$ac_c_werror_flag" ||
41884 test ! -s conftest.err
41885 } && test -s conftest$ac_exeext &&
41886 $as_test_x conftest$ac_exeext; then
41887 ac_cv_func_sched_get_priority_max=yes
41888 else
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41891
41892 ac_cv_func_sched_get_priority_max=no
41893 fi
41894
41895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41896 conftest$ac_exeext conftest.$ac_ext
41897 fi
41898 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41899 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41900 if test $ac_cv_func_sched_get_priority_max = yes; then
41901 HAVE_PRIOR_FUNCS=1
41902 else
41903 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41904 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41905 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908 ac_check_lib_save_LIBS=$LIBS
41909 LIBS="-lposix4 $LIBS"
41910 cat >conftest.$ac_ext <<_ACEOF
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916
41917 /* Override any GCC internal prototype to avoid an error.
41918 Use char because int might match the return type of a GCC
41919 builtin and then its argument prototype would still apply. */
41920 #ifdef __cplusplus
41921 extern "C"
41922 #endif
41923 char sched_get_priority_max ();
41924 int
41925 main ()
41926 {
41927 return sched_get_priority_max ();
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 rm -f conftest.$ac_objext conftest$ac_exeext
41933 if { (ac_try="$ac_link"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41937 esac
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_link") 2>conftest.er1
41940 ac_status=$?
41941 grep -v '^ *+' conftest.er1 >conftest.err
41942 rm -f conftest.er1
41943 cat conftest.err >&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest$ac_exeext &&
41949 $as_test_x conftest$ac_exeext; then
41950 ac_cv_lib_posix4_sched_get_priority_max=yes
41951 else
41952 echo "$as_me: failed program was:" >&5
41953 sed 's/^/| /' conftest.$ac_ext >&5
41954
41955 ac_cv_lib_posix4_sched_get_priority_max=no
41956 fi
41957
41958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41959 conftest$ac_exeext conftest.$ac_ext
41960 LIBS=$ac_check_lib_save_LIBS
41961 fi
41962 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41963 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41964 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41965
41966 HAVE_PRIOR_FUNCS=1
41967 POSIX4_LINK=" -lposix4"
41968
41969 fi
41970
41971
41972 fi
41973
41974
41975 fi
41976
41977
41978 fi
41979
41980
41981 if test "$HAVE_PRIOR_FUNCS" = 1; then
41982 cat >>confdefs.h <<\_ACEOF
41983 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41984 _ACEOF
41985
41986 else
41987 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41988 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41989 fi
41990
41991 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41992 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41993 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41994 echo $ECHO_N "(cached) $ECHO_C" >&6
41995 else
41996 cat >conftest.$ac_ext <<_ACEOF
41997 /* confdefs.h. */
41998 _ACEOF
41999 cat confdefs.h >>conftest.$ac_ext
42000 cat >>conftest.$ac_ext <<_ACEOF
42001 /* end confdefs.h. */
42002 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42004 #define pthread_cancel innocuous_pthread_cancel
42005
42006 /* System header to define __stub macros and hopefully few prototypes,
42007 which can conflict with char pthread_cancel (); below.
42008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42009 <limits.h> exists even on freestanding compilers. */
42010
42011 #ifdef __STDC__
42012 # include <limits.h>
42013 #else
42014 # include <assert.h>
42015 #endif
42016
42017 #undef pthread_cancel
42018
42019 /* Override any GCC internal prototype to avoid an error.
42020 Use char because int might match the return type of a GCC
42021 builtin and then its argument prototype would still apply. */
42022 #ifdef __cplusplus
42023 extern "C"
42024 #endif
42025 char pthread_cancel ();
42026 /* The GNU C library defines this for functions which it implements
42027 to always fail with ENOSYS. Some functions are actually named
42028 something starting with __ and the normal name is an alias. */
42029 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42030 choke me
42031 #endif
42032
42033 int
42034 main ()
42035 {
42036 return pthread_cancel ();
42037 ;
42038 return 0;
42039 }
42040 _ACEOF
42041 rm -f conftest.$ac_objext conftest$ac_exeext
42042 if { (ac_try="$ac_link"
42043 case "(($ac_try" in
42044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42045 *) ac_try_echo=$ac_try;;
42046 esac
42047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42048 (eval "$ac_link") 2>conftest.er1
42049 ac_status=$?
42050 grep -v '^ *+' conftest.er1 >conftest.err
42051 rm -f conftest.er1
42052 cat conftest.err >&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); } && {
42055 test -z "$ac_c_werror_flag" ||
42056 test ! -s conftest.err
42057 } && test -s conftest$ac_exeext &&
42058 $as_test_x conftest$ac_exeext; then
42059 ac_cv_func_pthread_cancel=yes
42060 else
42061 echo "$as_me: failed program was:" >&5
42062 sed 's/^/| /' conftest.$ac_ext >&5
42063
42064 ac_cv_func_pthread_cancel=no
42065 fi
42066
42067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42068 conftest$ac_exeext conftest.$ac_ext
42069 fi
42070 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42071 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42072 if test $ac_cv_func_pthread_cancel = yes; then
42073 cat >>confdefs.h <<\_ACEOF
42074 #define HAVE_PTHREAD_CANCEL 1
42075 _ACEOF
42076
42077 else
42078 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42079 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42080 fi
42081
42082
42083 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42084 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42085 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42086 echo $ECHO_N "(cached) $ECHO_C" >&6
42087 else
42088 cat >conftest.$ac_ext <<_ACEOF
42089 /* confdefs.h. */
42090 _ACEOF
42091 cat confdefs.h >>conftest.$ac_ext
42092 cat >>conftest.$ac_ext <<_ACEOF
42093 /* end confdefs.h. */
42094 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42096 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42097
42098 /* System header to define __stub macros and hopefully few prototypes,
42099 which can conflict with char pthread_mutex_timedlock (); below.
42100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42101 <limits.h> exists even on freestanding compilers. */
42102
42103 #ifdef __STDC__
42104 # include <limits.h>
42105 #else
42106 # include <assert.h>
42107 #endif
42108
42109 #undef pthread_mutex_timedlock
42110
42111 /* Override any GCC internal prototype to avoid an error.
42112 Use char because int might match the return type of a GCC
42113 builtin and then its argument prototype would still apply. */
42114 #ifdef __cplusplus
42115 extern "C"
42116 #endif
42117 char pthread_mutex_timedlock ();
42118 /* The GNU C library defines this for functions which it implements
42119 to always fail with ENOSYS. Some functions are actually named
42120 something starting with __ and the normal name is an alias. */
42121 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42122 choke me
42123 #endif
42124
42125 int
42126 main ()
42127 {
42128 return pthread_mutex_timedlock ();
42129 ;
42130 return 0;
42131 }
42132 _ACEOF
42133 rm -f conftest.$ac_objext conftest$ac_exeext
42134 if { (ac_try="$ac_link"
42135 case "(($ac_try" in
42136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42137 *) ac_try_echo=$ac_try;;
42138 esac
42139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42140 (eval "$ac_link") 2>conftest.er1
42141 ac_status=$?
42142 grep -v '^ *+' conftest.er1 >conftest.err
42143 rm -f conftest.er1
42144 cat conftest.err >&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } && {
42147 test -z "$ac_c_werror_flag" ||
42148 test ! -s conftest.err
42149 } && test -s conftest$ac_exeext &&
42150 $as_test_x conftest$ac_exeext; then
42151 ac_cv_func_pthread_mutex_timedlock=yes
42152 else
42153 echo "$as_me: failed program was:" >&5
42154 sed 's/^/| /' conftest.$ac_ext >&5
42155
42156 ac_cv_func_pthread_mutex_timedlock=no
42157 fi
42158
42159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42160 conftest$ac_exeext conftest.$ac_ext
42161 fi
42162 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42163 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42164 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42167 _ACEOF
42168
42169 else
42170 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42171 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42172 fi
42173
42174
42175 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42176 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42177 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42178 echo $ECHO_N "(cached) $ECHO_C" >&6
42179 else
42180 cat >conftest.$ac_ext <<_ACEOF
42181 /* confdefs.h. */
42182 _ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42188 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42189
42190 /* System header to define __stub macros and hopefully few prototypes,
42191 which can conflict with char pthread_attr_setstacksize (); below.
42192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42193 <limits.h> exists even on freestanding compilers. */
42194
42195 #ifdef __STDC__
42196 # include <limits.h>
42197 #else
42198 # include <assert.h>
42199 #endif
42200
42201 #undef pthread_attr_setstacksize
42202
42203 /* Override any GCC internal prototype to avoid an error.
42204 Use char because int might match the return type of a GCC
42205 builtin and then its argument prototype would still apply. */
42206 #ifdef __cplusplus
42207 extern "C"
42208 #endif
42209 char pthread_attr_setstacksize ();
42210 /* The GNU C library defines this for functions which it implements
42211 to always fail with ENOSYS. Some functions are actually named
42212 something starting with __ and the normal name is an alias. */
42213 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42214 choke me
42215 #endif
42216
42217 int
42218 main ()
42219 {
42220 return pthread_attr_setstacksize ();
42221 ;
42222 return 0;
42223 }
42224 _ACEOF
42225 rm -f conftest.$ac_objext conftest$ac_exeext
42226 if { (ac_try="$ac_link"
42227 case "(($ac_try" in
42228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42229 *) ac_try_echo=$ac_try;;
42230 esac
42231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42232 (eval "$ac_link") 2>conftest.er1
42233 ac_status=$?
42234 grep -v '^ *+' conftest.er1 >conftest.err
42235 rm -f conftest.er1
42236 cat conftest.err >&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); } && {
42239 test -z "$ac_c_werror_flag" ||
42240 test ! -s conftest.err
42241 } && test -s conftest$ac_exeext &&
42242 $as_test_x conftest$ac_exeext; then
42243 ac_cv_func_pthread_attr_setstacksize=yes
42244 else
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42247
42248 ac_cv_func_pthread_attr_setstacksize=no
42249 fi
42250
42251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42252 conftest$ac_exeext conftest.$ac_ext
42253 fi
42254 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42255 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42256 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42259 _ACEOF
42260
42261 fi
42262
42263
42264
42265 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42266 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42267 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42268 echo $ECHO_N "(cached) $ECHO_C" >&6
42269 else
42270
42271 cat >conftest.$ac_ext <<_ACEOF
42272 /* confdefs.h. */
42273 _ACEOF
42274 cat confdefs.h >>conftest.$ac_ext
42275 cat >>conftest.$ac_ext <<_ACEOF
42276 /* end confdefs.h. */
42277 #include <pthread.h>
42278 int
42279 main ()
42280 {
42281
42282 pthread_mutexattr_t attr;
42283 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42284
42285 ;
42286 return 0;
42287 }
42288 _ACEOF
42289 rm -f conftest.$ac_objext
42290 if { (ac_try="$ac_compile"
42291 case "(($ac_try" in
42292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42293 *) ac_try_echo=$ac_try;;
42294 esac
42295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42296 (eval "$ac_compile") 2>conftest.er1
42297 ac_status=$?
42298 grep -v '^ *+' conftest.er1 >conftest.err
42299 rm -f conftest.er1
42300 cat conftest.err >&5
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); } && {
42303 test -z "$ac_c_werror_flag" ||
42304 test ! -s conftest.err
42305 } && test -s conftest.$ac_objext; then
42306 wx_cv_type_pthread_mutexattr_t=yes
42307 else
42308 echo "$as_me: failed program was:" >&5
42309 sed 's/^/| /' conftest.$ac_ext >&5
42310
42311 wx_cv_type_pthread_mutexattr_t=no
42312
42313 fi
42314
42315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42316
42317 fi
42318 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42319 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42320
42321 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42322 cat >>confdefs.h <<\_ACEOF
42323 #define HAVE_PTHREAD_MUTEXATTR_T 1
42324 _ACEOF
42325
42326
42327 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42328 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42329 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42330 echo $ECHO_N "(cached) $ECHO_C" >&6
42331 else
42332
42333 cat >conftest.$ac_ext <<_ACEOF
42334 /* confdefs.h. */
42335 _ACEOF
42336 cat confdefs.h >>conftest.$ac_ext
42337 cat >>conftest.$ac_ext <<_ACEOF
42338 /* end confdefs.h. */
42339 #include <pthread.h>
42340 int
42341 main ()
42342 {
42343
42344 pthread_mutexattr_t attr;
42345 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42346
42347 ;
42348 return 0;
42349 }
42350 _ACEOF
42351 rm -f conftest.$ac_objext
42352 if { (ac_try="$ac_compile"
42353 case "(($ac_try" in
42354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42356 esac
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_compile") 2>conftest.er1
42359 ac_status=$?
42360 grep -v '^ *+' conftest.er1 >conftest.err
42361 rm -f conftest.er1
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } && {
42365 test -z "$ac_c_werror_flag" ||
42366 test ! -s conftest.err
42367 } && test -s conftest.$ac_objext; then
42368 wx_cv_func_pthread_mutexattr_settype_decl=yes
42369 else
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.$ac_ext >&5
42372
42373 wx_cv_func_pthread_mutexattr_settype_decl=no
42374
42375 fi
42376
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42378
42379 fi
42380 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42381 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42382 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42383 cat >>confdefs.h <<\_ACEOF
42384 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42385 _ACEOF
42386
42387 fi
42388 else
42389 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42390 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42391 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42392 echo $ECHO_N "(cached) $ECHO_C" >&6
42393 else
42394
42395 cat >conftest.$ac_ext <<_ACEOF
42396 /* confdefs.h. */
42397 _ACEOF
42398 cat confdefs.h >>conftest.$ac_ext
42399 cat >>conftest.$ac_ext <<_ACEOF
42400 /* end confdefs.h. */
42401 #include <pthread.h>
42402 int
42403 main ()
42404 {
42405
42406 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42407
42408 ;
42409 return 0;
42410 }
42411 _ACEOF
42412 rm -f conftest.$ac_objext
42413 if { (ac_try="$ac_compile"
42414 case "(($ac_try" in
42415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42416 *) ac_try_echo=$ac_try;;
42417 esac
42418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42419 (eval "$ac_compile") 2>conftest.er1
42420 ac_status=$?
42421 grep -v '^ *+' conftest.er1 >conftest.err
42422 rm -f conftest.er1
42423 cat conftest.err >&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); } && {
42426 test -z "$ac_c_werror_flag" ||
42427 test ! -s conftest.err
42428 } && test -s conftest.$ac_objext; then
42429
42430 wx_cv_type_pthread_rec_mutex_init=yes
42431
42432 else
42433 echo "$as_me: failed program was:" >&5
42434 sed 's/^/| /' conftest.$ac_ext >&5
42435
42436
42437 wx_cv_type_pthread_rec_mutex_init=no
42438
42439
42440 fi
42441
42442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42443
42444 fi
42445 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42446 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42447 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42448 cat >>confdefs.h <<\_ACEOF
42449 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42450 _ACEOF
42451
42452 else
42453 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42454 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42455 fi
42456 fi
42457 fi
42458
42459 else
42460 if test "$wxUSE_THREADS" = "yes" ; then
42461 case "${host}" in
42462 *-*-mingw32* )
42463 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42464 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42465 if test "${wx_cv_cflags_mthread+set}" = set; then
42466 echo $ECHO_N "(cached) $ECHO_C" >&6
42467 else
42468
42469 CFLAGS_OLD="$CFLAGS"
42470 CFLAGS="-mthreads $CFLAGS"
42471 cat >conftest.$ac_ext <<_ACEOF
42472 /* confdefs.h. */
42473 _ACEOF
42474 cat confdefs.h >>conftest.$ac_ext
42475 cat >>conftest.$ac_ext <<_ACEOF
42476 /* end confdefs.h. */
42477
42478 int
42479 main ()
42480 {
42481
42482 ;
42483 return 0;
42484 }
42485 _ACEOF
42486 rm -f conftest.$ac_objext
42487 if { (ac_try="$ac_compile"
42488 case "(($ac_try" in
42489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42490 *) ac_try_echo=$ac_try;;
42491 esac
42492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42493 (eval "$ac_compile") 2>conftest.er1
42494 ac_status=$?
42495 grep -v '^ *+' conftest.er1 >conftest.err
42496 rm -f conftest.er1
42497 cat conftest.err >&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); } && {
42500 test -z "$ac_c_werror_flag" ||
42501 test ! -s conftest.err
42502 } && test -s conftest.$ac_objext; then
42503 wx_cv_cflags_mthread=yes
42504 else
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.$ac_ext >&5
42507
42508 wx_cv_cflags_mthread=no
42509
42510 fi
42511
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513
42514
42515 fi
42516 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42517 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42518
42519 if test "$wx_cv_cflags_mthread" = "yes"; then
42520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42521 LDFLAGS="$LDFLAGS -mthreads"
42522 else
42523 CFLAGS="$CFLAGS_OLD"
42524 fi
42525 ;;
42526 *-pc-os2*emx )
42527 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42528 LDFLAGS="$LDFLAGS -Zmt"
42529 ;;
42530 esac
42531 fi
42532 fi
42533
42534 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42535 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42536 if test "${ac_cv_func_localtime_r+set}" = set; then
42537 echo $ECHO_N "(cached) $ECHO_C" >&6
42538 else
42539 cat >conftest.$ac_ext <<_ACEOF
42540 /* confdefs.h. */
42541 _ACEOF
42542 cat confdefs.h >>conftest.$ac_ext
42543 cat >>conftest.$ac_ext <<_ACEOF
42544 /* end confdefs.h. */
42545 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42547 #define localtime_r innocuous_localtime_r
42548
42549 /* System header to define __stub macros and hopefully few prototypes,
42550 which can conflict with char localtime_r (); below.
42551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42552 <limits.h> exists even on freestanding compilers. */
42553
42554 #ifdef __STDC__
42555 # include <limits.h>
42556 #else
42557 # include <assert.h>
42558 #endif
42559
42560 #undef localtime_r
42561
42562 /* Override any GCC internal prototype to avoid an error.
42563 Use char because int might match the return type of a GCC
42564 builtin and then its argument prototype would still apply. */
42565 #ifdef __cplusplus
42566 extern "C"
42567 #endif
42568 char localtime_r ();
42569 /* The GNU C library defines this for functions which it implements
42570 to always fail with ENOSYS. Some functions are actually named
42571 something starting with __ and the normal name is an alias. */
42572 #if defined __stub_localtime_r || defined __stub___localtime_r
42573 choke me
42574 #endif
42575
42576 int
42577 main ()
42578 {
42579 return localtime_r ();
42580 ;
42581 return 0;
42582 }
42583 _ACEOF
42584 rm -f conftest.$ac_objext conftest$ac_exeext
42585 if { (ac_try="$ac_link"
42586 case "(($ac_try" in
42587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42588 *) ac_try_echo=$ac_try;;
42589 esac
42590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42591 (eval "$ac_link") 2>conftest.er1
42592 ac_status=$?
42593 grep -v '^ *+' conftest.er1 >conftest.err
42594 rm -f conftest.er1
42595 cat conftest.err >&5
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); } && {
42598 test -z "$ac_c_werror_flag" ||
42599 test ! -s conftest.err
42600 } && test -s conftest$ac_exeext &&
42601 $as_test_x conftest$ac_exeext; then
42602 ac_cv_func_localtime_r=yes
42603 else
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42606
42607 ac_cv_func_localtime_r=no
42608 fi
42609
42610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42611 conftest$ac_exeext conftest.$ac_ext
42612 fi
42613 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42614 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42615 if test $ac_cv_func_localtime_r = yes; then
42616 cat >>confdefs.h <<\_ACEOF
42617 #define HAVE_LOCALTIME_R 1
42618 _ACEOF
42619
42620 fi
42621
42622 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42623 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42624 if test "${ac_cv_func_gmtime_r+set}" = set; then
42625 echo $ECHO_N "(cached) $ECHO_C" >&6
42626 else
42627 cat >conftest.$ac_ext <<_ACEOF
42628 /* confdefs.h. */
42629 _ACEOF
42630 cat confdefs.h >>conftest.$ac_ext
42631 cat >>conftest.$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42633 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42635 #define gmtime_r innocuous_gmtime_r
42636
42637 /* System header to define __stub macros and hopefully few prototypes,
42638 which can conflict with char gmtime_r (); below.
42639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42640 <limits.h> exists even on freestanding compilers. */
42641
42642 #ifdef __STDC__
42643 # include <limits.h>
42644 #else
42645 # include <assert.h>
42646 #endif
42647
42648 #undef gmtime_r
42649
42650 /* Override any GCC internal prototype to avoid an error.
42651 Use char because int might match the return type of a GCC
42652 builtin and then its argument prototype would still apply. */
42653 #ifdef __cplusplus
42654 extern "C"
42655 #endif
42656 char gmtime_r ();
42657 /* The GNU C library defines this for functions which it implements
42658 to always fail with ENOSYS. Some functions are actually named
42659 something starting with __ and the normal name is an alias. */
42660 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42661 choke me
42662 #endif
42663
42664 int
42665 main ()
42666 {
42667 return gmtime_r ();
42668 ;
42669 return 0;
42670 }
42671 _ACEOF
42672 rm -f conftest.$ac_objext conftest$ac_exeext
42673 if { (ac_try="$ac_link"
42674 case "(($ac_try" in
42675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42676 *) ac_try_echo=$ac_try;;
42677 esac
42678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42679 (eval "$ac_link") 2>conftest.er1
42680 ac_status=$?
42681 grep -v '^ *+' conftest.er1 >conftest.err
42682 rm -f conftest.er1
42683 cat conftest.err >&5
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); } && {
42686 test -z "$ac_c_werror_flag" ||
42687 test ! -s conftest.err
42688 } && test -s conftest$ac_exeext &&
42689 $as_test_x conftest$ac_exeext; then
42690 ac_cv_func_gmtime_r=yes
42691 else
42692 echo "$as_me: failed program was:" >&5
42693 sed 's/^/| /' conftest.$ac_ext >&5
42694
42695 ac_cv_func_gmtime_r=no
42696 fi
42697
42698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42699 conftest$ac_exeext conftest.$ac_ext
42700 fi
42701 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42702 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42703 if test $ac_cv_func_gmtime_r = yes; then
42704 cat >>confdefs.h <<\_ACEOF
42705 #define HAVE_GMTIME_R 1
42706 _ACEOF
42707
42708 fi
42709
42710 { echo "$as_me:$LINENO: checking for readdir_r" >&5
42711 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
42712 if test "${ac_cv_func_readdir_r+set}" = set; then
42713 echo $ECHO_N "(cached) $ECHO_C" >&6
42714 else
42715 cat >conftest.$ac_ext <<_ACEOF
42716 /* confdefs.h. */
42717 _ACEOF
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42721 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42723 #define readdir_r innocuous_readdir_r
42724
42725 /* System header to define __stub macros and hopefully few prototypes,
42726 which can conflict with char readdir_r (); below.
42727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42728 <limits.h> exists even on freestanding compilers. */
42729
42730 #ifdef __STDC__
42731 # include <limits.h>
42732 #else
42733 # include <assert.h>
42734 #endif
42735
42736 #undef readdir_r
42737
42738 /* Override any GCC internal prototype to avoid an error.
42739 Use char because int might match the return type of a GCC
42740 builtin and then its argument prototype would still apply. */
42741 #ifdef __cplusplus
42742 extern "C"
42743 #endif
42744 char readdir_r ();
42745 /* The GNU C library defines this for functions which it implements
42746 to always fail with ENOSYS. Some functions are actually named
42747 something starting with __ and the normal name is an alias. */
42748 #if defined __stub_readdir_r || defined __stub___readdir_r
42749 choke me
42750 #endif
42751
42752 int
42753 main ()
42754 {
42755 return readdir_r ();
42756 ;
42757 return 0;
42758 }
42759 _ACEOF
42760 rm -f conftest.$ac_objext conftest$ac_exeext
42761 if { (ac_try="$ac_link"
42762 case "(($ac_try" in
42763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42764 *) ac_try_echo=$ac_try;;
42765 esac
42766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42767 (eval "$ac_link") 2>conftest.er1
42768 ac_status=$?
42769 grep -v '^ *+' conftest.er1 >conftest.err
42770 rm -f conftest.er1
42771 cat conftest.err >&5
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); } && {
42774 test -z "$ac_c_werror_flag" ||
42775 test ! -s conftest.err
42776 } && test -s conftest$ac_exeext &&
42777 $as_test_x conftest$ac_exeext; then
42778 ac_cv_func_readdir_r=yes
42779 else
42780 echo "$as_me: failed program was:" >&5
42781 sed 's/^/| /' conftest.$ac_ext >&5
42782
42783 ac_cv_func_readdir_r=no
42784 fi
42785
42786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42787 conftest$ac_exeext conftest.$ac_ext
42788 fi
42789 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42790 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
42791 if test $ac_cv_func_readdir_r = yes; then
42792 cat >>confdefs.h <<\_ACEOF
42793 #define HAVE_READDIR_R 1
42794 _ACEOF
42795
42796 fi
42797
42798
42799
42800
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42806
42807 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42808 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42809
42810 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42811 echo $ECHO_N "(cached) $ECHO_C" >&6
42812 else
42813
42814
42815 ################################################################
42816
42817 ac_cv_func_which_gethostbyname_r=unknown
42818
42819 #
42820 # ONE ARGUMENT (sanity check)
42821 #
42822
42823 # This should fail, as there is no variant of gethostbyname_r() that takes
42824 # a single argument. If it actually compiles, then we can assume that
42825 # netdb.h is not declaring the function, and the compiler is thereby
42826 # assuming an implicit prototype. In which case, we're out of luck.
42827 #
42828 cat >conftest.$ac_ext <<_ACEOF
42829 /* confdefs.h. */
42830 _ACEOF
42831 cat confdefs.h >>conftest.$ac_ext
42832 cat >>conftest.$ac_ext <<_ACEOF
42833 /* end confdefs.h. */
42834 #include <netdb.h>
42835 int
42836 main ()
42837 {
42838
42839 char *name = "www.gnu.org";
42840 (void)gethostbyname_r(name) /* ; */
42841
42842 ;
42843 return 0;
42844 }
42845 _ACEOF
42846 rm -f conftest.$ac_objext
42847 if { (ac_try="$ac_compile"
42848 case "(($ac_try" in
42849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42850 *) ac_try_echo=$ac_try;;
42851 esac
42852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42853 (eval "$ac_compile") 2>conftest.er1
42854 ac_status=$?
42855 grep -v '^ *+' conftest.er1 >conftest.err
42856 rm -f conftest.er1
42857 cat conftest.err >&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } && {
42860 test -z "$ac_c_werror_flag" ||
42861 test ! -s conftest.err
42862 } && test -s conftest.$ac_objext; then
42863 ac_cv_func_which_gethostbyname_r=no
42864 else
42865 echo "$as_me: failed program was:" >&5
42866 sed 's/^/| /' conftest.$ac_ext >&5
42867
42868
42869 fi
42870
42871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42872
42873 #
42874 # SIX ARGUMENTS
42875 # (e.g. Linux)
42876 #
42877
42878 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42879
42880 cat >conftest.$ac_ext <<_ACEOF
42881 /* confdefs.h. */
42882 _ACEOF
42883 cat confdefs.h >>conftest.$ac_ext
42884 cat >>conftest.$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42886 #include <netdb.h>
42887 int
42888 main ()
42889 {
42890
42891 char *name = "www.gnu.org";
42892 struct hostent ret, *retp;
42893 char buf[1024];
42894 int buflen = 1024;
42895 int my_h_errno;
42896 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42897
42898 ;
42899 return 0;
42900 }
42901 _ACEOF
42902 rm -f conftest.$ac_objext
42903 if { (ac_try="$ac_compile"
42904 case "(($ac_try" in
42905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42906 *) ac_try_echo=$ac_try;;
42907 esac
42908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42909 (eval "$ac_compile") 2>conftest.er1
42910 ac_status=$?
42911 grep -v '^ *+' conftest.er1 >conftest.err
42912 rm -f conftest.er1
42913 cat conftest.err >&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } && {
42916 test -z "$ac_c_werror_flag" ||
42917 test ! -s conftest.err
42918 } && test -s conftest.$ac_objext; then
42919 ac_cv_func_which_gethostbyname_r=six
42920 else
42921 echo "$as_me: failed program was:" >&5
42922 sed 's/^/| /' conftest.$ac_ext >&5
42923
42924
42925 fi
42926
42927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42928
42929 fi
42930
42931 #
42932 # FIVE ARGUMENTS
42933 # (e.g. Solaris)
42934 #
42935
42936 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42937
42938 cat >conftest.$ac_ext <<_ACEOF
42939 /* confdefs.h. */
42940 _ACEOF
42941 cat confdefs.h >>conftest.$ac_ext
42942 cat >>conftest.$ac_ext <<_ACEOF
42943 /* end confdefs.h. */
42944 #include <netdb.h>
42945 int
42946 main ()
42947 {
42948
42949 char *name = "www.gnu.org";
42950 struct hostent ret;
42951 char buf[1024];
42952 int buflen = 1024;
42953 int my_h_errno;
42954 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42955
42956 ;
42957 return 0;
42958 }
42959 _ACEOF
42960 rm -f conftest.$ac_objext
42961 if { (ac_try="$ac_compile"
42962 case "(($ac_try" in
42963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42964 *) ac_try_echo=$ac_try;;
42965 esac
42966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42967 (eval "$ac_compile") 2>conftest.er1
42968 ac_status=$?
42969 grep -v '^ *+' conftest.er1 >conftest.err
42970 rm -f conftest.er1
42971 cat conftest.err >&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); } && {
42974 test -z "$ac_c_werror_flag" ||
42975 test ! -s conftest.err
42976 } && test -s conftest.$ac_objext; then
42977 ac_cv_func_which_gethostbyname_r=five
42978 else
42979 echo "$as_me: failed program was:" >&5
42980 sed 's/^/| /' conftest.$ac_ext >&5
42981
42982
42983 fi
42984
42985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42986
42987 fi
42988
42989 #
42990 # THREE ARGUMENTS
42991 # (e.g. AIX, HP-UX, Tru64)
42992 #
42993
42994 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42995
42996 cat >conftest.$ac_ext <<_ACEOF
42997 /* confdefs.h. */
42998 _ACEOF
42999 cat confdefs.h >>conftest.$ac_ext
43000 cat >>conftest.$ac_ext <<_ACEOF
43001 /* end confdefs.h. */
43002 #include <netdb.h>
43003 int
43004 main ()
43005 {
43006
43007 char *name = "www.gnu.org";
43008 struct hostent ret;
43009 struct hostent_data data;
43010 (void)gethostbyname_r(name, &ret, &data) /* ; */
43011
43012 ;
43013 return 0;
43014 }
43015 _ACEOF
43016 rm -f conftest.$ac_objext
43017 if { (ac_try="$ac_compile"
43018 case "(($ac_try" in
43019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43020 *) ac_try_echo=$ac_try;;
43021 esac
43022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43023 (eval "$ac_compile") 2>conftest.er1
43024 ac_status=$?
43025 grep -v '^ *+' conftest.er1 >conftest.err
43026 rm -f conftest.er1
43027 cat conftest.err >&5
43028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43029 (exit $ac_status); } && {
43030 test -z "$ac_c_werror_flag" ||
43031 test ! -s conftest.err
43032 } && test -s conftest.$ac_objext; then
43033 ac_cv_func_which_gethostbyname_r=three
43034 else
43035 echo "$as_me: failed program was:" >&5
43036 sed 's/^/| /' conftest.$ac_ext >&5
43037
43038
43039 fi
43040
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042
43043 fi
43044
43045 ################################################################
43046
43047
43048 fi
43049
43050 case "$ac_cv_func_which_gethostbyname_r" in
43051 three)
43052 { echo "$as_me:$LINENO: result: three" >&5
43053 echo "${ECHO_T}three" >&6; }
43054 cat >>confdefs.h <<\_ACEOF
43055 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43056 _ACEOF
43057
43058 ;;
43059
43060 five)
43061 { echo "$as_me:$LINENO: result: five" >&5
43062 echo "${ECHO_T}five" >&6; }
43063 cat >>confdefs.h <<\_ACEOF
43064 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43065 _ACEOF
43066
43067 ;;
43068
43069 six)
43070 { echo "$as_me:$LINENO: result: six" >&5
43071 echo "${ECHO_T}six" >&6; }
43072 cat >>confdefs.h <<\_ACEOF
43073 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43074 _ACEOF
43075
43076 ;;
43077
43078 no)
43079 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43080 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43081 ;;
43082
43083 unknown)
43084 { echo "$as_me:$LINENO: result: can't tell" >&5
43085 echo "${ECHO_T}can't tell" >&6; }
43086 ;;
43087
43088 *)
43089 { { echo "$as_me:$LINENO: error: internal error" >&5
43090 echo "$as_me: error: internal error" >&2;}
43091 { (exit 1); exit 1; }; }
43092 ;;
43093 esac
43094
43095 ac_ext=c
43096 ac_cpp='$CPP $CPPFLAGS'
43097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43100
43101
43102
43103 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43104 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43105 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43106 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43107 if test "${ac_cv_func_gethostbyname+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 else
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h. */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43118 #define gethostbyname innocuous_gethostbyname
43119
43120 /* System header to define __stub macros and hopefully few prototypes,
43121 which can conflict with char gethostbyname (); below.
43122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43123 <limits.h> exists even on freestanding compilers. */
43124
43125 #ifdef __STDC__
43126 # include <limits.h>
43127 #else
43128 # include <assert.h>
43129 #endif
43130
43131 #undef gethostbyname
43132
43133 /* Override any GCC internal prototype to avoid an error.
43134 Use char because int might match the return type of a GCC
43135 builtin and then its argument prototype would still apply. */
43136 #ifdef __cplusplus
43137 extern "C"
43138 #endif
43139 char gethostbyname ();
43140 /* The GNU C library defines this for functions which it implements
43141 to always fail with ENOSYS. Some functions are actually named
43142 something starting with __ and the normal name is an alias. */
43143 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43144 choke me
43145 #endif
43146
43147 int
43148 main ()
43149 {
43150 return gethostbyname ();
43151 ;
43152 return 0;
43153 }
43154 _ACEOF
43155 rm -f conftest.$ac_objext conftest$ac_exeext
43156 if { (ac_try="$ac_link"
43157 case "(($ac_try" in
43158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43159 *) ac_try_echo=$ac_try;;
43160 esac
43161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43162 (eval "$ac_link") 2>conftest.er1
43163 ac_status=$?
43164 grep -v '^ *+' conftest.er1 >conftest.err
43165 rm -f conftest.er1
43166 cat conftest.err >&5
43167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43168 (exit $ac_status); } && {
43169 test -z "$ac_c_werror_flag" ||
43170 test ! -s conftest.err
43171 } && test -s conftest$ac_exeext &&
43172 $as_test_x conftest$ac_exeext; then
43173 ac_cv_func_gethostbyname=yes
43174 else
43175 echo "$as_me: failed program was:" >&5
43176 sed 's/^/| /' conftest.$ac_ext >&5
43177
43178 ac_cv_func_gethostbyname=no
43179 fi
43180
43181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43182 conftest$ac_exeext conftest.$ac_ext
43183 fi
43184 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43185 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43186 if test $ac_cv_func_gethostbyname = yes; then
43187 cat >>confdefs.h <<\_ACEOF
43188 #define HAVE_GETHOSTBYNAME 1
43189 _ACEOF
43190
43191 fi
43192
43193 fi
43194
43195 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43196 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43197 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43198 echo $ECHO_N "(cached) $ECHO_C" >&6
43199 else
43200
43201 ac_ext=cpp
43202 ac_cpp='$CXXCPP $CPPFLAGS'
43203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43206
43207
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h. */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43214 #include <netdb.h>
43215 int
43216 main ()
43217 {
43218
43219 char *name;
43220 char *proto;
43221 struct servent *se, *res;
43222 char buffer[2048];
43223 int buflen = 2048;
43224 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43225
43226 ;
43227 return 0;
43228 }
43229 _ACEOF
43230 rm -f conftest.$ac_objext
43231 if { (ac_try="$ac_compile"
43232 case "(($ac_try" in
43233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43234 *) ac_try_echo=$ac_try;;
43235 esac
43236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43237 (eval "$ac_compile") 2>conftest.er1
43238 ac_status=$?
43239 grep -v '^ *+' conftest.er1 >conftest.err
43240 rm -f conftest.er1
43241 cat conftest.err >&5
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); } && {
43244 test -z "$ac_cxx_werror_flag" ||
43245 test ! -s conftest.err
43246 } && test -s conftest.$ac_objext; then
43247 ac_cv_func_which_getservbyname_r=six
43248 else
43249 echo "$as_me: failed program was:" >&5
43250 sed 's/^/| /' conftest.$ac_ext >&5
43251
43252
43253 cat >conftest.$ac_ext <<_ACEOF
43254 /* confdefs.h. */
43255 _ACEOF
43256 cat confdefs.h >>conftest.$ac_ext
43257 cat >>conftest.$ac_ext <<_ACEOF
43258 /* end confdefs.h. */
43259 #include <netdb.h>
43260 int
43261 main ()
43262 {
43263
43264 char *name;
43265 char *proto;
43266 struct servent *se;
43267 char buffer[2048];
43268 int buflen = 2048;
43269 (void) getservbyname_r(name, proto, se, buffer, buflen)
43270
43271 ;
43272 return 0;
43273 }
43274 _ACEOF
43275 rm -f conftest.$ac_objext
43276 if { (ac_try="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43280 esac
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_cxx_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43292 ac_cv_func_which_getservbyname_r=five
43293 else
43294 echo "$as_me: failed program was:" >&5
43295 sed 's/^/| /' conftest.$ac_ext >&5
43296
43297
43298 cat >conftest.$ac_ext <<_ACEOF
43299 /* confdefs.h. */
43300 _ACEOF
43301 cat confdefs.h >>conftest.$ac_ext
43302 cat >>conftest.$ac_ext <<_ACEOF
43303 /* end confdefs.h. */
43304 #include <netdb.h>
43305 int
43306 main ()
43307 {
43308
43309 char *name;
43310 char *proto;
43311 struct servent *se;
43312 struct servent_data data;
43313 (void) getservbyname_r(name, proto, se, &data);
43314
43315 ;
43316 return 0;
43317 }
43318 _ACEOF
43319 rm -f conftest.$ac_objext
43320 if { (ac_try="$ac_compile"
43321 case "(($ac_try" in
43322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43323 *) ac_try_echo=$ac_try;;
43324 esac
43325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43326 (eval "$ac_compile") 2>conftest.er1
43327 ac_status=$?
43328 grep -v '^ *+' conftest.er1 >conftest.err
43329 rm -f conftest.er1
43330 cat conftest.err >&5
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); } && {
43333 test -z "$ac_cxx_werror_flag" ||
43334 test ! -s conftest.err
43335 } && test -s conftest.$ac_objext; then
43336 ac_cv_func_which_getservbyname_r=four
43337 else
43338 echo "$as_me: failed program was:" >&5
43339 sed 's/^/| /' conftest.$ac_ext >&5
43340
43341 ac_cv_func_which_getservbyname_r=no
43342
43343 fi
43344
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43346
43347
43348 fi
43349
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351
43352
43353 fi
43354
43355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43356 ac_ext=c
43357 ac_cpp='$CPP $CPPFLAGS'
43358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43361
43362
43363
43364 fi
43365 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43366 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43367
43368 if test $ac_cv_func_which_getservbyname_r = six; then
43369 cat >>confdefs.h <<\_ACEOF
43370 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43371 _ACEOF
43372
43373 elif test $ac_cv_func_which_getservbyname_r = five; then
43374 cat >>confdefs.h <<\_ACEOF
43375 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43376 _ACEOF
43377
43378 elif test $ac_cv_func_which_getservbyname_r = four; then
43379 cat >>confdefs.h <<\_ACEOF
43380 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43381 _ACEOF
43382
43383 fi
43384
43385
43386 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43387 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43388
43389 for ac_func in getservbyname
43390 do
43391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43392 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43394 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43395 echo $ECHO_N "(cached) $ECHO_C" >&6
43396 else
43397 cat >conftest.$ac_ext <<_ACEOF
43398 /* confdefs.h. */
43399 _ACEOF
43400 cat confdefs.h >>conftest.$ac_ext
43401 cat >>conftest.$ac_ext <<_ACEOF
43402 /* end confdefs.h. */
43403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43405 #define $ac_func innocuous_$ac_func
43406
43407 /* System header to define __stub macros and hopefully few prototypes,
43408 which can conflict with char $ac_func (); below.
43409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43410 <limits.h> exists even on freestanding compilers. */
43411
43412 #ifdef __STDC__
43413 # include <limits.h>
43414 #else
43415 # include <assert.h>
43416 #endif
43417
43418 #undef $ac_func
43419
43420 /* Override any GCC internal prototype to avoid an error.
43421 Use char because int might match the return type of a GCC
43422 builtin and then its argument prototype would still apply. */
43423 #ifdef __cplusplus
43424 extern "C"
43425 #endif
43426 char $ac_func ();
43427 /* The GNU C library defines this for functions which it implements
43428 to always fail with ENOSYS. Some functions are actually named
43429 something starting with __ and the normal name is an alias. */
43430 #if defined __stub_$ac_func || defined __stub___$ac_func
43431 choke me
43432 #endif
43433
43434 int
43435 main ()
43436 {
43437 return $ac_func ();
43438 ;
43439 return 0;
43440 }
43441 _ACEOF
43442 rm -f conftest.$ac_objext conftest$ac_exeext
43443 if { (ac_try="$ac_link"
43444 case "(($ac_try" in
43445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43446 *) ac_try_echo=$ac_try;;
43447 esac
43448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43449 (eval "$ac_link") 2>conftest.er1
43450 ac_status=$?
43451 grep -v '^ *+' conftest.er1 >conftest.err
43452 rm -f conftest.er1
43453 cat conftest.err >&5
43454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43455 (exit $ac_status); } && {
43456 test -z "$ac_c_werror_flag" ||
43457 test ! -s conftest.err
43458 } && test -s conftest$ac_exeext &&
43459 $as_test_x conftest$ac_exeext; then
43460 eval "$as_ac_var=yes"
43461 else
43462 echo "$as_me: failed program was:" >&5
43463 sed 's/^/| /' conftest.$ac_ext >&5
43464
43465 eval "$as_ac_var=no"
43466 fi
43467
43468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43469 conftest$ac_exeext conftest.$ac_ext
43470 fi
43471 ac_res=`eval echo '${'$as_ac_var'}'`
43472 { echo "$as_me:$LINENO: result: $ac_res" >&5
43473 echo "${ECHO_T}$ac_res" >&6; }
43474 if test `eval echo '${'$as_ac_var'}'` = yes; then
43475 cat >>confdefs.h <<_ACEOF
43476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43477 _ACEOF
43478 cat >>confdefs.h <<\_ACEOF
43479 #define HAVE_GETSERVBYNAME 1
43480 _ACEOF
43481
43482 fi
43483 done
43484
43485 fi
43486
43487 if test "$wxUSE_THREADS" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_THREADS 1
43490 _ACEOF
43491
43492
43493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43494 else
43495 if test "$wx_cv_func_strtok_r" = "yes"; then
43496 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43497 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43498 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43499 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43500 { echo "$as_me:$LINENO: result: yes" >&5
43501 echo "${ECHO_T}yes" >&6; }
43502 else
43503 { echo "$as_me:$LINENO: result: no" >&5
43504 echo "${ECHO_T}no" >&6; }
43505 fi
43506 fi
43507 fi
43508
43509 if test "$WXGTK20" = 1 ; then
43510 cat >>confdefs.h <<_ACEOF
43511 #define __WXGTK20__ $WXGTK20
43512 _ACEOF
43513
43514 WXGTK12=1
43515 fi
43516
43517 if test "$WXGTK12" = 1 ; then
43518 cat >>confdefs.h <<_ACEOF
43519 #define __WXGTK12__ $WXGTK12
43520 _ACEOF
43521
43522 fi
43523
43524 if test "$WXGTK127" = 1 ; then
43525 cat >>confdefs.h <<_ACEOF
43526 #define __WXGTK127__ $WXGTK127
43527 _ACEOF
43528
43529 fi
43530
43531 if test "$WXGPE" = 1 ; then
43532 cat >>confdefs.h <<_ACEOF
43533 #define __WXGPE__ $WXGPE
43534 _ACEOF
43535
43536 fi
43537
43538 DEBUG_CFLAGS=
43539 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43540 DEBUG_CFLAGS="-g"
43541 wxUSE_OPTIMISE=no
43542 fi
43543
43544 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43545 wxUSE_DEBUG_INFO=yes
43546 if test "$GCC" = yes; then
43547 DEBUG_CFLAGS="-ggdb"
43548 fi
43549 fi
43550
43551 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43552 cat >>confdefs.h <<\_ACEOF
43553 #define WXDEBUG 1
43554 _ACEOF
43555
43556 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43557 else
43558 if test "$wxUSE_GTK" = 1 ; then
43559 if test "x$wxGTK_VERSION" = "x1" ; then
43560 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43561 fi
43562 fi
43563 fi
43564
43565 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_MEMORY_TRACING 1
43568 _ACEOF
43569
43570 cat >>confdefs.h <<\_ACEOF
43571 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43572 _ACEOF
43573
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_DEBUG_NEW_ALWAYS 1
43576 _ACEOF
43577
43578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43579 fi
43580
43581 if test "$wxUSE_DMALLOC" = "yes" ; then
43582 DMALLOC_LIBS="-ldmallocthcxx"
43583 fi
43584
43585 PROFILE_FLAGS=
43586 if test "$wxUSE_PROFILE" = "yes" ; then
43587 PROFILE_FLAGS=" -pg"
43588 fi
43589
43590 if test "$GCC" = "yes" ; then
43591 if test "$wxUSE_NO_RTTI" = "yes" ; then
43592 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43593 fi
43594 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43595 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43596 fi
43597 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43598 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43599 fi
43600
43601 case "${host}" in
43602 powerpc*-*-aix* )
43603 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43604 ;;
43605 *-hppa* )
43606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43607 ;;
43608 esac
43609 fi
43610
43611 OPTIMISE_CFLAGS=
43612 if test "$wxUSE_OPTIMISE" = "no" ; then
43613 if test "$GCC" = yes ; then
43614 OPTIMISE_CFLAGS="-O0"
43615 fi
43616 else
43617 if test "$GCC" = yes ; then
43618 case "${host}" in
43619 *-pc-os2_emx | *-pc-os2-emx )
43620 OPTIMISE_CFLAGS="-O2"
43621 ;;
43622 *)
43623 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43624 ;;
43625 esac
43626 else
43627 OPTIMISE_CFLAGS="-O"
43628 fi
43629 fi
43630
43631
43632 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define WXWIN_COMPATIBILITY_2_6 1
43635 _ACEOF
43636
43637
43638 WXWIN_COMPATIBILITY_2_8="yes"
43639 fi
43640
43641 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43642 cat >>confdefs.h <<\_ACEOF
43643 #define WXWIN_COMPATIBILITY_2_8 1
43644 _ACEOF
43645
43646 fi
43647
43648
43649 if test "$wxUSE_GUI" = "yes"; then
43650 cat >>confdefs.h <<\_ACEOF
43651 #define wxUSE_GUI 1
43652 _ACEOF
43653
43654
43655 fi
43656
43657
43658 if test "$wxUSE_UNIX" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_UNIX 1
43661 _ACEOF
43662
43663 fi
43664
43665
43666 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43667
43668 HAVE_DL_FUNCS=0
43669 HAVE_SHL_FUNCS=0
43670 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43671 if test "$USE_DARWIN" = 1; then
43672 HAVE_DL_FUNCS=1
43673 elif test "$USE_DOS" = 1; then
43674 HAVE_DL_FUNCS=0
43675 else
43676
43677 for ac_func in dlopen
43678 do
43679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43683 echo $ECHO_N "(cached) $ECHO_C" >&6
43684 else
43685 cat >conftest.$ac_ext <<_ACEOF
43686 /* confdefs.h. */
43687 _ACEOF
43688 cat confdefs.h >>conftest.$ac_ext
43689 cat >>conftest.$ac_ext <<_ACEOF
43690 /* end confdefs.h. */
43691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43693 #define $ac_func innocuous_$ac_func
43694
43695 /* System header to define __stub macros and hopefully few prototypes,
43696 which can conflict with char $ac_func (); below.
43697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43698 <limits.h> exists even on freestanding compilers. */
43699
43700 #ifdef __STDC__
43701 # include <limits.h>
43702 #else
43703 # include <assert.h>
43704 #endif
43705
43706 #undef $ac_func
43707
43708 /* Override any GCC internal prototype to avoid an error.
43709 Use char because int might match the return type of a GCC
43710 builtin and then its argument prototype would still apply. */
43711 #ifdef __cplusplus
43712 extern "C"
43713 #endif
43714 char $ac_func ();
43715 /* The GNU C library defines this for functions which it implements
43716 to always fail with ENOSYS. Some functions are actually named
43717 something starting with __ and the normal name is an alias. */
43718 #if defined __stub_$ac_func || defined __stub___$ac_func
43719 choke me
43720 #endif
43721
43722 int
43723 main ()
43724 {
43725 return $ac_func ();
43726 ;
43727 return 0;
43728 }
43729 _ACEOF
43730 rm -f conftest.$ac_objext conftest$ac_exeext
43731 if { (ac_try="$ac_link"
43732 case "(($ac_try" in
43733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43734 *) ac_try_echo=$ac_try;;
43735 esac
43736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43737 (eval "$ac_link") 2>conftest.er1
43738 ac_status=$?
43739 grep -v '^ *+' conftest.er1 >conftest.err
43740 rm -f conftest.er1
43741 cat conftest.err >&5
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); } && {
43744 test -z "$ac_c_werror_flag" ||
43745 test ! -s conftest.err
43746 } && test -s conftest$ac_exeext &&
43747 $as_test_x conftest$ac_exeext; then
43748 eval "$as_ac_var=yes"
43749 else
43750 echo "$as_me: failed program was:" >&5
43751 sed 's/^/| /' conftest.$ac_ext >&5
43752
43753 eval "$as_ac_var=no"
43754 fi
43755
43756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43757 conftest$ac_exeext conftest.$ac_ext
43758 fi
43759 ac_res=`eval echo '${'$as_ac_var'}'`
43760 { echo "$as_me:$LINENO: result: $ac_res" >&5
43761 echo "${ECHO_T}$ac_res" >&6; }
43762 if test `eval echo '${'$as_ac_var'}'` = yes; then
43763 cat >>confdefs.h <<_ACEOF
43764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43765 _ACEOF
43766
43767 cat >>confdefs.h <<\_ACEOF
43768 #define HAVE_DLOPEN 1
43769 _ACEOF
43770
43771 HAVE_DL_FUNCS=1
43772
43773 else
43774
43775 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43776 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43777 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43779 else
43780 ac_check_lib_save_LIBS=$LIBS
43781 LIBS="-ldl $LIBS"
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788
43789 /* Override any GCC internal prototype to avoid an error.
43790 Use char because int might match the return type of a GCC
43791 builtin and then its argument prototype would still apply. */
43792 #ifdef __cplusplus
43793 extern "C"
43794 #endif
43795 char dlopen ();
43796 int
43797 main ()
43798 {
43799 return dlopen ();
43800 ;
43801 return 0;
43802 }
43803 _ACEOF
43804 rm -f conftest.$ac_objext conftest$ac_exeext
43805 if { (ac_try="$ac_link"
43806 case "(($ac_try" in
43807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43808 *) ac_try_echo=$ac_try;;
43809 esac
43810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43811 (eval "$ac_link") 2>conftest.er1
43812 ac_status=$?
43813 grep -v '^ *+' conftest.er1 >conftest.err
43814 rm -f conftest.er1
43815 cat conftest.err >&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); } && {
43818 test -z "$ac_c_werror_flag" ||
43819 test ! -s conftest.err
43820 } && test -s conftest$ac_exeext &&
43821 $as_test_x conftest$ac_exeext; then
43822 ac_cv_lib_dl_dlopen=yes
43823 else
43824 echo "$as_me: failed program was:" >&5
43825 sed 's/^/| /' conftest.$ac_ext >&5
43826
43827 ac_cv_lib_dl_dlopen=no
43828 fi
43829
43830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43831 conftest$ac_exeext conftest.$ac_ext
43832 LIBS=$ac_check_lib_save_LIBS
43833 fi
43834 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43835 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43836 if test $ac_cv_lib_dl_dlopen = yes; then
43837
43838 cat >>confdefs.h <<\_ACEOF
43839 #define HAVE_DLOPEN 1
43840 _ACEOF
43841
43842 HAVE_DL_FUNCS=1
43843 DL_LINK=" -ldl$DL_LINK"
43844
43845 else
43846
43847
43848 for ac_func in shl_load
43849 do
43850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43855 else
43856 cat >conftest.$ac_ext <<_ACEOF
43857 /* confdefs.h. */
43858 _ACEOF
43859 cat confdefs.h >>conftest.$ac_ext
43860 cat >>conftest.$ac_ext <<_ACEOF
43861 /* end confdefs.h. */
43862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43864 #define $ac_func innocuous_$ac_func
43865
43866 /* System header to define __stub macros and hopefully few prototypes,
43867 which can conflict with char $ac_func (); below.
43868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43869 <limits.h> exists even on freestanding compilers. */
43870
43871 #ifdef __STDC__
43872 # include <limits.h>
43873 #else
43874 # include <assert.h>
43875 #endif
43876
43877 #undef $ac_func
43878
43879 /* Override any GCC internal prototype to avoid an error.
43880 Use char because int might match the return type of a GCC
43881 builtin and then its argument prototype would still apply. */
43882 #ifdef __cplusplus
43883 extern "C"
43884 #endif
43885 char $ac_func ();
43886 /* The GNU C library defines this for functions which it implements
43887 to always fail with ENOSYS. Some functions are actually named
43888 something starting with __ and the normal name is an alias. */
43889 #if defined __stub_$ac_func || defined __stub___$ac_func
43890 choke me
43891 #endif
43892
43893 int
43894 main ()
43895 {
43896 return $ac_func ();
43897 ;
43898 return 0;
43899 }
43900 _ACEOF
43901 rm -f conftest.$ac_objext conftest$ac_exeext
43902 if { (ac_try="$ac_link"
43903 case "(($ac_try" in
43904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43905 *) ac_try_echo=$ac_try;;
43906 esac
43907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43908 (eval "$ac_link") 2>conftest.er1
43909 ac_status=$?
43910 grep -v '^ *+' conftest.er1 >conftest.err
43911 rm -f conftest.er1
43912 cat conftest.err >&5
43913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43914 (exit $ac_status); } && {
43915 test -z "$ac_c_werror_flag" ||
43916 test ! -s conftest.err
43917 } && test -s conftest$ac_exeext &&
43918 $as_test_x conftest$ac_exeext; then
43919 eval "$as_ac_var=yes"
43920 else
43921 echo "$as_me: failed program was:" >&5
43922 sed 's/^/| /' conftest.$ac_ext >&5
43923
43924 eval "$as_ac_var=no"
43925 fi
43926
43927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43928 conftest$ac_exeext conftest.$ac_ext
43929 fi
43930 ac_res=`eval echo '${'$as_ac_var'}'`
43931 { echo "$as_me:$LINENO: result: $ac_res" >&5
43932 echo "${ECHO_T}$ac_res" >&6; }
43933 if test `eval echo '${'$as_ac_var'}'` = yes; then
43934 cat >>confdefs.h <<_ACEOF
43935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43936 _ACEOF
43937
43938 cat >>confdefs.h <<\_ACEOF
43939 #define HAVE_SHL_LOAD 1
43940 _ACEOF
43941
43942 HAVE_SHL_FUNCS=1
43943
43944 else
43945
43946 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43947 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43948 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43950 else
43951 ac_check_lib_save_LIBS=$LIBS
43952 LIBS="-lshl_load $LIBS"
43953 cat >conftest.$ac_ext <<_ACEOF
43954 /* confdefs.h. */
43955 _ACEOF
43956 cat confdefs.h >>conftest.$ac_ext
43957 cat >>conftest.$ac_ext <<_ACEOF
43958 /* end confdefs.h. */
43959
43960 /* Override any GCC internal prototype to avoid an error.
43961 Use char because int might match the return type of a GCC
43962 builtin and then its argument prototype would still apply. */
43963 #ifdef __cplusplus
43964 extern "C"
43965 #endif
43966 char dld ();
43967 int
43968 main ()
43969 {
43970 return dld ();
43971 ;
43972 return 0;
43973 }
43974 _ACEOF
43975 rm -f conftest.$ac_objext conftest$ac_exeext
43976 if { (ac_try="$ac_link"
43977 case "(($ac_try" in
43978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43979 *) ac_try_echo=$ac_try;;
43980 esac
43981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43982 (eval "$ac_link") 2>conftest.er1
43983 ac_status=$?
43984 grep -v '^ *+' conftest.er1 >conftest.err
43985 rm -f conftest.er1
43986 cat conftest.err >&5
43987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43988 (exit $ac_status); } && {
43989 test -z "$ac_c_werror_flag" ||
43990 test ! -s conftest.err
43991 } && test -s conftest$ac_exeext &&
43992 $as_test_x conftest$ac_exeext; then
43993 ac_cv_lib_shl_load_dld=yes
43994 else
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43997
43998 ac_cv_lib_shl_load_dld=no
43999 fi
44000
44001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44002 conftest$ac_exeext conftest.$ac_ext
44003 LIBS=$ac_check_lib_save_LIBS
44004 fi
44005 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44006 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44007 if test $ac_cv_lib_shl_load_dld = yes; then
44008
44009 HAVE_SHL_FUNCS=1
44010 DL_LINK=" -ldld$DL_LINK"
44011
44012 fi
44013
44014
44015 fi
44016 done
44017
44018
44019 fi
44020
44021
44022 fi
44023 done
44024
44025
44026 if test "$HAVE_DL_FUNCS" = 1; then
44027
44028 for ac_func in dlerror
44029 do
44030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44031 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44033 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44034 echo $ECHO_N "(cached) $ECHO_C" >&6
44035 else
44036 cat >conftest.$ac_ext <<_ACEOF
44037 /* confdefs.h. */
44038 _ACEOF
44039 cat confdefs.h >>conftest.$ac_ext
44040 cat >>conftest.$ac_ext <<_ACEOF
44041 /* end confdefs.h. */
44042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44044 #define $ac_func innocuous_$ac_func
44045
44046 /* System header to define __stub macros and hopefully few prototypes,
44047 which can conflict with char $ac_func (); below.
44048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44049 <limits.h> exists even on freestanding compilers. */
44050
44051 #ifdef __STDC__
44052 # include <limits.h>
44053 #else
44054 # include <assert.h>
44055 #endif
44056
44057 #undef $ac_func
44058
44059 /* Override any GCC internal prototype to avoid an error.
44060 Use char because int might match the return type of a GCC
44061 builtin and then its argument prototype would still apply. */
44062 #ifdef __cplusplus
44063 extern "C"
44064 #endif
44065 char $ac_func ();
44066 /* The GNU C library defines this for functions which it implements
44067 to always fail with ENOSYS. Some functions are actually named
44068 something starting with __ and the normal name is an alias. */
44069 #if defined __stub_$ac_func || defined __stub___$ac_func
44070 choke me
44071 #endif
44072
44073 int
44074 main ()
44075 {
44076 return $ac_func ();
44077 ;
44078 return 0;
44079 }
44080 _ACEOF
44081 rm -f conftest.$ac_objext conftest$ac_exeext
44082 if { (ac_try="$ac_link"
44083 case "(($ac_try" in
44084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44085 *) ac_try_echo=$ac_try;;
44086 esac
44087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44088 (eval "$ac_link") 2>conftest.er1
44089 ac_status=$?
44090 grep -v '^ *+' conftest.er1 >conftest.err
44091 rm -f conftest.er1
44092 cat conftest.err >&5
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); } && {
44095 test -z "$ac_c_werror_flag" ||
44096 test ! -s conftest.err
44097 } && test -s conftest$ac_exeext &&
44098 $as_test_x conftest$ac_exeext; then
44099 eval "$as_ac_var=yes"
44100 else
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.$ac_ext >&5
44103
44104 eval "$as_ac_var=no"
44105 fi
44106
44107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44108 conftest$ac_exeext conftest.$ac_ext
44109 fi
44110 ac_res=`eval echo '${'$as_ac_var'}'`
44111 { echo "$as_me:$LINENO: result: $ac_res" >&5
44112 echo "${ECHO_T}$ac_res" >&6; }
44113 if test `eval echo '${'$as_ac_var'}'` = yes; then
44114 cat >>confdefs.h <<_ACEOF
44115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44116 _ACEOF
44117 cat >>confdefs.h <<\_ACEOF
44118 #define HAVE_DLERROR 1
44119 _ACEOF
44120
44121 else
44122
44123 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44124 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44125 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44126 echo $ECHO_N "(cached) $ECHO_C" >&6
44127 else
44128 ac_check_lib_save_LIBS=$LIBS
44129 LIBS="-ldl $LIBS"
44130 cat >conftest.$ac_ext <<_ACEOF
44131 /* confdefs.h. */
44132 _ACEOF
44133 cat confdefs.h >>conftest.$ac_ext
44134 cat >>conftest.$ac_ext <<_ACEOF
44135 /* end confdefs.h. */
44136
44137 /* Override any GCC internal prototype to avoid an error.
44138 Use char because int might match the return type of a GCC
44139 builtin and then its argument prototype would still apply. */
44140 #ifdef __cplusplus
44141 extern "C"
44142 #endif
44143 char dlerror ();
44144 int
44145 main ()
44146 {
44147 return dlerror ();
44148 ;
44149 return 0;
44150 }
44151 _ACEOF
44152 rm -f conftest.$ac_objext conftest$ac_exeext
44153 if { (ac_try="$ac_link"
44154 case "(($ac_try" in
44155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44156 *) ac_try_echo=$ac_try;;
44157 esac
44158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44159 (eval "$ac_link") 2>conftest.er1
44160 ac_status=$?
44161 grep -v '^ *+' conftest.er1 >conftest.err
44162 rm -f conftest.er1
44163 cat conftest.err >&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); } && {
44166 test -z "$ac_c_werror_flag" ||
44167 test ! -s conftest.err
44168 } && test -s conftest$ac_exeext &&
44169 $as_test_x conftest$ac_exeext; then
44170 ac_cv_lib_dl_dlerror=yes
44171 else
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44174
44175 ac_cv_lib_dl_dlerror=no
44176 fi
44177
44178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44179 conftest$ac_exeext conftest.$ac_ext
44180 LIBS=$ac_check_lib_save_LIBS
44181 fi
44182 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44183 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44184 if test $ac_cv_lib_dl_dlerror = yes; then
44185 cat >>confdefs.h <<\_ACEOF
44186 #define HAVE_DLERROR 1
44187 _ACEOF
44188
44189 fi
44190
44191
44192
44193 fi
44194 done
44195
44196 fi
44197 fi
44198
44199 if test "$HAVE_DL_FUNCS" = 0; then
44200 if test "$HAVE_SHL_FUNCS" = 0; then
44201 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44202 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44203 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44204 wxUSE_DYNAMIC_LOADER=no
44205 wxUSE_DYNLIB_CLASS=no
44206 else
44207 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44208 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44209 fi
44210 fi
44211 fi
44212 fi
44213 fi
44214
44215 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define wxUSE_DYNAMIC_LOADER 1
44218 _ACEOF
44219
44220 fi
44221 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_DYNLIB_CLASS 1
44224 _ACEOF
44225
44226 fi
44227
44228
44229
44230 if test "$wxUSE_PLUGINS" = "yes" ; then
44231 if test "$wxUSE_SHARED" = "no" ; then
44232 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44233 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44234 wxUSE_PLUGINS=no
44235 fi
44236 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44237 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44238 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44239 wxUSE_PLUGINS=no
44240 fi
44241 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44242 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44243 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44244 wxUSE_PLUGINS=no
44245 fi
44246 if test "$wxUSE_PLUGINS" = "yes" ; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_PLUGINS 1
44249 _ACEOF
44250
44251 fi
44252 fi
44253
44254
44255 if test "$wxUSE_STL" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_STL 1
44258 _ACEOF
44259
44260 fi
44261
44262 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_EXTENDED_RTTI 1
44265 _ACEOF
44266
44267 fi
44268
44269 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_APPLE_IEEE 1
44272 _ACEOF
44273
44274 fi
44275
44276 if test "$wxUSE_TIMER" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_TIMER 1
44279 _ACEOF
44280
44281 fi
44282
44283 if test "$USE_UNIX" = "1" ; then
44284 if test "$wxUSE_MGL" != 1; then
44285 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44286 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44287 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44288 echo $ECHO_N "(cached) $ECHO_C" >&6
44289 else
44290
44291 cat >conftest.$ac_ext <<_ACEOF
44292 /* confdefs.h. */
44293 _ACEOF
44294 cat confdefs.h >>conftest.$ac_ext
44295 cat >>conftest.$ac_ext <<_ACEOF
44296 /* end confdefs.h. */
44297
44298 #include <sys/ioctl.h>
44299 #include <sys/soundcard.h>
44300
44301 int
44302 main ()
44303 {
44304
44305 ioctl(0, SNDCTL_DSP_SPEED, 0);
44306
44307 ;
44308 return 0;
44309 }
44310 _ACEOF
44311 rm -f conftest.$ac_objext conftest$ac_exeext
44312 if { (ac_try="$ac_link"
44313 case "(($ac_try" in
44314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44315 *) ac_try_echo=$ac_try;;
44316 esac
44317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44318 (eval "$ac_link") 2>conftest.er1
44319 ac_status=$?
44320 grep -v '^ *+' conftest.er1 >conftest.err
44321 rm -f conftest.er1
44322 cat conftest.err >&5
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); } && {
44325 test -z "$ac_c_werror_flag" ||
44326 test ! -s conftest.err
44327 } && test -s conftest$ac_exeext &&
44328 $as_test_x conftest$ac_exeext; then
44329 ac_cv_header_sys_soundcard=yes
44330 else
44331 echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.$ac_ext >&5
44333
44334
44335 saveLibs="$LIBS"
44336 LIBS="$saveLibs -lossaudio"
44337 cat >conftest.$ac_ext <<_ACEOF
44338 /* confdefs.h. */
44339 _ACEOF
44340 cat confdefs.h >>conftest.$ac_ext
44341 cat >>conftest.$ac_ext <<_ACEOF
44342 /* end confdefs.h. */
44343
44344 #include <sys/ioctl.h>
44345 #include <sys/soundcard.h>
44346
44347 int
44348 main ()
44349 {
44350
44351 ioctl(0, SNDCTL_DSP_SPEED, 0);
44352
44353 ;
44354 return 0;
44355 }
44356 _ACEOF
44357 rm -f conftest.$ac_objext conftest$ac_exeext
44358 if { (ac_try="$ac_link"
44359 case "(($ac_try" in
44360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44361 *) ac_try_echo=$ac_try;;
44362 esac
44363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44364 (eval "$ac_link") 2>conftest.er1
44365 ac_status=$?
44366 grep -v '^ *+' conftest.er1 >conftest.err
44367 rm -f conftest.er1
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } && {
44371 test -z "$ac_c_werror_flag" ||
44372 test ! -s conftest.err
44373 } && test -s conftest$ac_exeext &&
44374 $as_test_x conftest$ac_exeext; then
44375 ac_cv_header_sys_soundcard=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44379
44380
44381 LIBS="$saveLibs"
44382 ac_cv_header_sys_soundcard=no
44383
44384
44385 fi
44386
44387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44388 conftest$ac_exeext conftest.$ac_ext
44389
44390
44391 fi
44392
44393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44394 conftest$ac_exeext conftest.$ac_ext
44395
44396 fi
44397 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44398 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44399 fi
44400
44401 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44402 cat >>confdefs.h <<\_ACEOF
44403 #define HAVE_SYS_SOUNDCARD_H 1
44404 _ACEOF
44405
44406 fi
44407 fi
44408
44409 WITH_PLUGIN_SDL=0
44410 if test "$wxUSE_SOUND" = "yes"; then
44411 if test "$USE_UNIX" = "1" ; then
44412 if test "$wxUSE_LIBSDL" != "no"; then
44413
44414 # Check whether --with-sdl-prefix was given.
44415 if test "${with_sdl_prefix+set}" = set; then
44416 withval=$with_sdl_prefix; sdl_prefix="$withval"
44417 else
44418 sdl_prefix=""
44419 fi
44420
44421
44422 # Check whether --with-sdl-exec-prefix was given.
44423 if test "${with_sdl_exec_prefix+set}" = set; then
44424 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44425 else
44426 sdl_exec_prefix=""
44427 fi
44428
44429 # Check whether --enable-sdltest was given.
44430 if test "${enable_sdltest+set}" = set; then
44431 enableval=$enable_sdltest;
44432 else
44433 enable_sdltest=yes
44434 fi
44435
44436
44437 if test x$sdl_exec_prefix != x ; then
44438 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44439 if test x${SDL_CONFIG+set} != xset ; then
44440 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44441 fi
44442 fi
44443 if test x$sdl_prefix != x ; then
44444 sdl_args="$sdl_args --prefix=$sdl_prefix"
44445 if test x${SDL_CONFIG+set} != xset ; then
44446 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44447 fi
44448 fi
44449
44450 if test "x$prefix" != xNONE; then
44451 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44452 fi
44453 # Extract the first word of "sdl-config", so it can be a program name with args.
44454 set dummy sdl-config; ac_word=$2
44455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44457 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44458 echo $ECHO_N "(cached) $ECHO_C" >&6
44459 else
44460 case $SDL_CONFIG in
44461 [\\/]* | ?:[\\/]*)
44462 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44463 ;;
44464 *)
44465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44466 for as_dir in $PATH
44467 do
44468 IFS=$as_save_IFS
44469 test -z "$as_dir" && as_dir=.
44470 for ac_exec_ext in '' $ac_executable_extensions; do
44471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44472 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44474 break 2
44475 fi
44476 done
44477 done
44478 IFS=$as_save_IFS
44479
44480 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44481 ;;
44482 esac
44483 fi
44484 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44485 if test -n "$SDL_CONFIG"; then
44486 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44487 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44488 else
44489 { echo "$as_me:$LINENO: result: no" >&5
44490 echo "${ECHO_T}no" >&6; }
44491 fi
44492
44493
44494 min_sdl_version=1.2.0
44495 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44496 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44497 no_sdl=""
44498 if test "$SDL_CONFIG" = "no" ; then
44499 no_sdl=yes
44500 else
44501 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44502 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44503
44504 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44506 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44508 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44510 if test "x$enable_sdltest" = "xyes" ; then
44511 ac_save_CFLAGS="$CFLAGS"
44512 ac_save_CXXFLAGS="$CXXFLAGS"
44513 ac_save_LIBS="$LIBS"
44514 CFLAGS="$CFLAGS $SDL_CFLAGS"
44515 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44516 LIBS="$LIBS $SDL_LIBS"
44517 rm -f conf.sdltest
44518 if test "$cross_compiling" = yes; then
44519 echo $ac_n "cross compiling; assumed OK... $ac_c"
44520 else
44521 cat >conftest.$ac_ext <<_ACEOF
44522 /* confdefs.h. */
44523 _ACEOF
44524 cat confdefs.h >>conftest.$ac_ext
44525 cat >>conftest.$ac_ext <<_ACEOF
44526 /* end confdefs.h. */
44527
44528 #include <stdio.h>
44529 #include <stdlib.h>
44530 #include <string.h>
44531 #include "SDL.h"
44532
44533 char*
44534 my_strdup (char *str)
44535 {
44536 char *new_str;
44537
44538 if (str)
44539 {
44540 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44541 strcpy (new_str, str);
44542 }
44543 else
44544 new_str = NULL;
44545
44546 return new_str;
44547 }
44548
44549 int main (int argc, char *argv[])
44550 {
44551 int major, minor, micro;
44552 char *tmp_version;
44553
44554 /* This hangs on some systems (?)
44555 system ("touch conf.sdltest");
44556 */
44557 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44558
44559 /* HP/UX 9 (%@#!) writes to sscanf strings */
44560 tmp_version = my_strdup("$min_sdl_version");
44561 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44562 printf("%s, bad version string\n", "$min_sdl_version");
44563 exit(1);
44564 }
44565
44566 if (($sdl_major_version > major) ||
44567 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44568 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44569 {
44570 return 0;
44571 }
44572 else
44573 {
44574 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44575 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44576 printf("*** best to upgrade to the required version.\n");
44577 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44578 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44579 printf("*** config.cache before re-running configure\n");
44580 return 1;
44581 }
44582 }
44583
44584
44585 _ACEOF
44586 rm -f conftest$ac_exeext
44587 if { (ac_try="$ac_link"
44588 case "(($ac_try" in
44589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44590 *) ac_try_echo=$ac_try;;
44591 esac
44592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44593 (eval "$ac_link") 2>&5
44594 ac_status=$?
44595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44597 { (case "(($ac_try" in
44598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44599 *) ac_try_echo=$ac_try;;
44600 esac
44601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44602 (eval "$ac_try") 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; }; then
44606 :
44607 else
44608 echo "$as_me: program exited with status $ac_status" >&5
44609 echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44611
44612 ( exit $ac_status )
44613 no_sdl=yes
44614 fi
44615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44616 fi
44617
44618
44619 CFLAGS="$ac_save_CFLAGS"
44620 CXXFLAGS="$ac_save_CXXFLAGS"
44621 LIBS="$ac_save_LIBS"
44622 fi
44623 fi
44624 if test "x$no_sdl" = x ; then
44625 { echo "$as_me:$LINENO: result: yes" >&5
44626 echo "${ECHO_T}yes" >&6; }
44627
44628 EXTRALIBS_SDL="$SDL_LIBS"
44629 CFLAGS="$SDL_CFLAGS $CFLAGS"
44630 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_LIBSDL 1
44633 _ACEOF
44634
44635
44636 else
44637 { echo "$as_me:$LINENO: result: no" >&5
44638 echo "${ECHO_T}no" >&6; }
44639 if test "$SDL_CONFIG" = "no" ; then
44640 echo "*** The sdl-config script installed by SDL could not be found"
44641 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44642 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44643 echo "*** full path to sdl-config."
44644 else
44645 if test -f conf.sdltest ; then
44646 :
44647 else
44648 echo "*** Could not run SDL test program, checking why..."
44649 CFLAGS="$CFLAGS $SDL_CFLAGS"
44650 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44651 LIBS="$LIBS $SDL_LIBS"
44652 cat >conftest.$ac_ext <<_ACEOF
44653 /* confdefs.h. */
44654 _ACEOF
44655 cat confdefs.h >>conftest.$ac_ext
44656 cat >>conftest.$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44658
44659 #include <stdio.h>
44660 #include "SDL.h"
44661
44662 int main(int argc, char *argv[])
44663 { return 0; }
44664 #undef main
44665 #define main K_and_R_C_main
44666
44667 int
44668 main ()
44669 {
44670 return 0;
44671 ;
44672 return 0;
44673 }
44674 _ACEOF
44675 rm -f conftest.$ac_objext conftest$ac_exeext
44676 if { (ac_try="$ac_link"
44677 case "(($ac_try" in
44678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44679 *) ac_try_echo=$ac_try;;
44680 esac
44681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44682 (eval "$ac_link") 2>conftest.er1
44683 ac_status=$?
44684 grep -v '^ *+' conftest.er1 >conftest.err
44685 rm -f conftest.er1
44686 cat conftest.err >&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_c_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest$ac_exeext &&
44692 $as_test_x conftest$ac_exeext; then
44693 echo "*** The test program compiled, but did not run. This usually means"
44694 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44695 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44698 echo "*** is required on your system"
44699 echo "***"
44700 echo "*** If you have an old version installed, it is best to remove it, although"
44701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44702 else
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.$ac_ext >&5
44705
44706 echo "*** The test program failed to compile or link. See the file config.log for the"
44707 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44708 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44709 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44710 fi
44711
44712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44713 conftest$ac_exeext conftest.$ac_ext
44714 CFLAGS="$ac_save_CFLAGS"
44715 CXXFLAGS="$ac_save_CXXFLAGS"
44716 LIBS="$ac_save_LIBS"
44717 fi
44718 fi
44719 SDL_CFLAGS=""
44720 SDL_LIBS=""
44721 wxUSE_LIBSDL="no"
44722 fi
44723
44724
44725 rm -f conf.sdltest
44726
44727 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44728 WITH_PLUGIN_SDL=1
44729 fi
44730 fi
44731 else
44732 if test "$wxUSE_MGL" = 1; then
44733 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44734 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44735 wxUSE_SOUND="no"
44736 fi
44737 fi
44738 fi
44739
44740 if test "$wxUSE_SOUND" = "yes"; then
44741 cat >>confdefs.h <<\_ACEOF
44742 #define wxUSE_SOUND 1
44743 _ACEOF
44744
44745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44746 fi
44747
44748 if test "$WXGTK20" = 1; then
44749
44750
44751 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44752 if test -n "$ac_tool_prefix"; then
44753 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44754 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44757 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44758 echo $ECHO_N "(cached) $ECHO_C" >&6
44759 else
44760 case $PKG_CONFIG in
44761 [\\/]* | ?:[\\/]*)
44762 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44763 ;;
44764 *)
44765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44766 for as_dir in $PATH
44767 do
44768 IFS=$as_save_IFS
44769 test -z "$as_dir" && as_dir=.
44770 for ac_exec_ext in '' $ac_executable_extensions; do
44771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44772 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44774 break 2
44775 fi
44776 done
44777 done
44778 IFS=$as_save_IFS
44779
44780 ;;
44781 esac
44782 fi
44783 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44784 if test -n "$PKG_CONFIG"; then
44785 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44786 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44787 else
44788 { echo "$as_me:$LINENO: result: no" >&5
44789 echo "${ECHO_T}no" >&6; }
44790 fi
44791
44792
44793 fi
44794 if test -z "$ac_cv_path_PKG_CONFIG"; then
44795 ac_pt_PKG_CONFIG=$PKG_CONFIG
44796 # Extract the first word of "pkg-config", so it can be a program name with args.
44797 set dummy pkg-config; ac_word=$2
44798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44800 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44801 echo $ECHO_N "(cached) $ECHO_C" >&6
44802 else
44803 case $ac_pt_PKG_CONFIG in
44804 [\\/]* | ?:[\\/]*)
44805 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44806 ;;
44807 *)
44808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44809 for as_dir in $PATH
44810 do
44811 IFS=$as_save_IFS
44812 test -z "$as_dir" && as_dir=.
44813 for ac_exec_ext in '' $ac_executable_extensions; do
44814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44815 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44817 break 2
44818 fi
44819 done
44820 done
44821 IFS=$as_save_IFS
44822
44823 ;;
44824 esac
44825 fi
44826 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44827 if test -n "$ac_pt_PKG_CONFIG"; then
44828 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44829 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44830 else
44831 { echo "$as_me:$LINENO: result: no" >&5
44832 echo "${ECHO_T}no" >&6; }
44833 fi
44834
44835 if test "x$ac_pt_PKG_CONFIG" = x; then
44836 PKG_CONFIG=""
44837 else
44838 case $cross_compiling:$ac_tool_warned in
44839 yes:)
44840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44841 whose name does not start with the host triplet. If you think this
44842 configuration is useful to you, please write to autoconf@gnu.org." >&5
44843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44844 whose name does not start with the host triplet. If you think this
44845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44846 ac_tool_warned=yes ;;
44847 esac
44848 PKG_CONFIG=$ac_pt_PKG_CONFIG
44849 fi
44850 else
44851 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44852 fi
44853
44854 fi
44855 if test -n "$PKG_CONFIG"; then
44856 _pkg_min_version=0.9.0
44857 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44858 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44859 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44860 { echo "$as_me:$LINENO: result: yes" >&5
44861 echo "${ECHO_T}yes" >&6; }
44862 else
44863 { echo "$as_me:$LINENO: result: no" >&5
44864 echo "${ECHO_T}no" >&6; }
44865 PKG_CONFIG=""
44866 fi
44867
44868 fi
44869
44870 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44871 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44872
44873
44874 pkg_failed=no
44875 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44876 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44877
44878 if test -n "$PKG_CONFIG"; then
44879 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44880 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44881 else
44882 if test -n "$PKG_CONFIG" && \
44883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44884 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44885 ac_status=$?
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; then
44888 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44889 else
44890 pkg_failed=yes
44891 fi
44892 fi
44893 else
44894 pkg_failed=untried
44895 fi
44896 if test -n "$PKG_CONFIG"; then
44897 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44898 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44899 else
44900 if test -n "$PKG_CONFIG" && \
44901 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44902 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44903 ac_status=$?
44904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44905 (exit $ac_status); }; then
44906 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44907 else
44908 pkg_failed=yes
44909 fi
44910 fi
44911 else
44912 pkg_failed=untried
44913 fi
44914
44915
44916
44917 if test $pkg_failed = yes; then
44918
44919 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44920 _pkg_short_errors_supported=yes
44921 else
44922 _pkg_short_errors_supported=no
44923 fi
44924 if test $_pkg_short_errors_supported = yes; then
44925 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44926 else
44927 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44928 fi
44929 # Put the nasty error message in config.log where it belongs
44930 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44931
44932
44933 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44934 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44935 wxUSE_LIBGNOMEPRINT="no"
44936
44937
44938 elif test $pkg_failed = untried; then
44939
44940 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44941 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44942 wxUSE_LIBGNOMEPRINT="no"
44943
44944
44945 else
44946 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44947 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44948 { echo "$as_me:$LINENO: result: yes" >&5
44949 echo "${ECHO_T}yes" >&6; }
44950
44951 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44952 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_LIBGNOMEPRINT 1
44955 _ACEOF
44956
44957
44958 fi
44959 fi
44960 fi
44961
44962 if test "$wxUSE_MIMETYPE" = "yes" ; then
44963 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44964
44965
44966 pkg_failed=no
44967 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44968 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44969
44970 if test -n "$PKG_CONFIG"; then
44971 if test -n "$GNOMEVFS_CFLAGS"; then
44972 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44973 else
44974 if test -n "$PKG_CONFIG" && \
44975 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44976 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44977 ac_status=$?
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; then
44980 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44981 else
44982 pkg_failed=yes
44983 fi
44984 fi
44985 else
44986 pkg_failed=untried
44987 fi
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$GNOMEVFS_LIBS"; then
44990 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44991 else
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44999 else
45000 pkg_failed=yes
45001 fi
45002 fi
45003 else
45004 pkg_failed=untried
45005 fi
45006
45007
45008
45009 if test $pkg_failed = yes; then
45010
45011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45012 _pkg_short_errors_supported=yes
45013 else
45014 _pkg_short_errors_supported=no
45015 fi
45016 if test $_pkg_short_errors_supported = yes; then
45017 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45018 else
45019 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45020 fi
45021 # Put the nasty error message in config.log where it belongs
45022 echo "$GNOMEVFS_PKG_ERRORS" >&5
45023
45024
45025 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45026 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45027 wxUSE_LIBGNOMEVFS="no"
45028
45029
45030 elif test $pkg_failed = untried; then
45031
45032 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45033 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45034 wxUSE_LIBGNOMEVFS="no"
45035
45036
45037 else
45038 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45039 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45040 { echo "$as_me:$LINENO: result: yes" >&5
45041 echo "${ECHO_T}yes" >&6; }
45042
45043 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45044 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_LIBGNOMEVFS 1
45047 _ACEOF
45048
45049
45050 fi
45051 fi
45052 fi
45053
45054 if test "$wxUSE_LIBHILDON" = "yes" ; then
45055
45056 pkg_failed=no
45057 { echo "$as_me:$LINENO: checking for HILDON" >&5
45058 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45059
45060 if test -n "$PKG_CONFIG"; then
45061 if test -n "$HILDON_CFLAGS"; then
45062 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45063 else
45064 if test -n "$PKG_CONFIG" && \
45065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45066 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45067 ac_status=$?
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); }; then
45070 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45071 else
45072 pkg_failed=yes
45073 fi
45074 fi
45075 else
45076 pkg_failed=untried
45077 fi
45078 if test -n "$PKG_CONFIG"; then
45079 if test -n "$HILDON_LIBS"; then
45080 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45081 else
45082 if test -n "$PKG_CONFIG" && \
45083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45084 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45085 ac_status=$?
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; then
45088 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45089 else
45090 pkg_failed=yes
45091 fi
45092 fi
45093 else
45094 pkg_failed=untried
45095 fi
45096
45097
45098
45099 if test $pkg_failed = yes; then
45100
45101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45102 _pkg_short_errors_supported=yes
45103 else
45104 _pkg_short_errors_supported=no
45105 fi
45106 if test $_pkg_short_errors_supported = yes; then
45107 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45108 else
45109 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45110 fi
45111 # Put the nasty error message in config.log where it belongs
45112 echo "$HILDON_PKG_ERRORS" >&5
45113
45114
45115 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45116 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45117 wxUSE_LIBHILDON="no"
45118
45119
45120 elif test $pkg_failed = untried; then
45121
45122 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45123 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45124 wxUSE_LIBHILDON="no"
45125
45126
45127 else
45128 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45129 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45130 { echo "$as_me:$LINENO: result: yes" >&5
45131 echo "${ECHO_T}yes" >&6; }
45132
45133 EXTRALIBS_HILDON="$HILDON_LIBS"
45134 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45135 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45136 cat >>confdefs.h <<\_ACEOF
45137 #define wxUSE_LIBHILDON 1
45138 _ACEOF
45139
45140
45141 fi
45142 fi
45143 fi
45144
45145 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45146 cat >>confdefs.h <<\_ACEOF
45147 #define wxUSE_CMDLINE_PARSER 1
45148 _ACEOF
45149
45150 fi
45151
45152 if test "$wxUSE_STOPWATCH" = "yes"; then
45153 cat >>confdefs.h <<\_ACEOF
45154 #define wxUSE_STOPWATCH 1
45155 _ACEOF
45156
45157 fi
45158
45159 if test "$wxUSE_DATETIME" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_DATETIME 1
45162 _ACEOF
45163
45164 fi
45165
45166 if test "$wxUSE_FILE" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_FILE 1
45169 _ACEOF
45170
45171 fi
45172
45173 if test "$wxUSE_FFILE" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_FFILE 1
45176 _ACEOF
45177
45178 fi
45179
45180 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45181 if test "$wxUSE_STREAMS" != yes; then
45182 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45183 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45184 wxUSE_ARCHIVE_STREAMS=no
45185 else
45186 cat >>confdefs.h <<\_ACEOF
45187 #define wxUSE_ARCHIVE_STREAMS 1
45188 _ACEOF
45189
45190 fi
45191 fi
45192
45193 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45194 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45195 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45196 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45197 elif test "$wxUSE_ZLIB" = "no"; then
45198 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45199 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45200 else
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_ZIPSTREAM 1
45203 _ACEOF
45204
45205 fi
45206 fi
45207
45208 if test "$wxUSE_TARSTREAM" = "yes"; then
45209 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45210 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45211 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45212 else
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_TARSTREAM 1
45215 _ACEOF
45216
45217 fi
45218 fi
45219
45220 if test "$wxUSE_FILESYSTEM" = "yes"; then
45221 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45222 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45223 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45224 wxUSE_FILESYSTEM=no
45225 else
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_FILESYSTEM 1
45228 _ACEOF
45229
45230 fi
45231 fi
45232
45233 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45234 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45235 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45236 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45237 else
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_FS_ARCHIVE 1
45240 _ACEOF
45241
45242 fi
45243 fi
45244
45245 if test "$wxUSE_FS_ZIP" = "yes"; then
45246 if test "$wxUSE_FS_ARCHIVE" != yes; then
45247 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45248 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45249 else
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_FS_ZIP 1
45252 _ACEOF
45253
45254 fi
45255 fi
45256
45257 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45258 if test "$USE_UNIX" != 1; then
45259 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45260 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45261 wxUSE_ON_FATAL_EXCEPTION=no
45262 else
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_ON_FATAL_EXCEPTION 1
45265 _ACEOF
45266
45267 fi
45268 fi
45269
45270 if test "$wxUSE_STACKWALKER" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_STACKWALKER 1
45273 _ACEOF
45274
45275 fi
45276
45277 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45278 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45279 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45280 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45281 wxUSE_DEBUGREPORT=no
45282 else
45283 cat >>confdefs.h <<\_ACEOF
45284 #define wxUSE_DEBUGREPORT 1
45285 _ACEOF
45286
45287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45289 fi
45290 fi
45291 fi
45292
45293 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45294 cat >>confdefs.h <<\_ACEOF
45295 #define wxUSE_SNGLINST_CHECKER 1
45296 _ACEOF
45297
45298 fi
45299
45300 if test "$wxUSE_BUSYINFO" = "yes"; then
45301 cat >>confdefs.h <<\_ACEOF
45302 #define wxUSE_BUSYINFO 1
45303 _ACEOF
45304
45305 fi
45306
45307 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_STD_IOSTREAM 1
45310 _ACEOF
45311
45312 fi
45313
45314 if test "$wxUSE_STD_STRING" = "yes"; then
45315 cat >>confdefs.h <<\_ACEOF
45316 #define wxUSE_STD_STRING 1
45317 _ACEOF
45318
45319 fi
45320
45321 if test "$wxUSE_STDPATHS" = "yes"; then
45322 cat >>confdefs.h <<\_ACEOF
45323 #define wxUSE_STDPATHS 1
45324 _ACEOF
45325
45326 fi
45327
45328 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_TEXTBUFFER 1
45331 _ACEOF
45332
45333 fi
45334
45335 if test "$wxUSE_TEXTFILE" = "yes"; then
45336 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45337 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45338 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45339 else
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_TEXTFILE 1
45342 _ACEOF
45343
45344 fi
45345 fi
45346
45347 if test "$wxUSE_CONFIG" = "yes" ; then
45348 if test "$wxUSE_TEXTFILE" != "yes"; then
45349 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45350 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45351 else
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_CONFIG 1
45354 _ACEOF
45355
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_CONFIG_NATIVE 1
45358 _ACEOF
45359
45360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45361 fi
45362 fi
45363
45364 if test "$wxUSE_INTL" = "yes" ; then
45365 if test "$wxUSE_FILE" != "yes"; then
45366 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45367 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45368 else
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_INTL 1
45371 _ACEOF
45372
45373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45374 GUIDIST="$GUIDIST INTL_DIST"
45375 fi
45376 fi
45377
45378 if test "$wxUSE_LOG" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_LOG 1
45381 _ACEOF
45382
45383
45384 if test "$wxUSE_LOGGUI" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_LOGGUI 1
45387 _ACEOF
45388
45389 fi
45390
45391 if test "$wxUSE_LOGWINDOW" = "yes"; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_LOGWINDOW 1
45394 _ACEOF
45395
45396 fi
45397
45398 if test "$wxUSE_LOGDIALOG" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_LOG_DIALOG 1
45401 _ACEOF
45402
45403 fi
45404
45405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45406 fi
45407
45408 if test "$wxUSE_LONGLONG" = "yes"; then
45409 cat >>confdefs.h <<\_ACEOF
45410 #define wxUSE_LONGLONG 1
45411 _ACEOF
45412
45413 fi
45414
45415 if test "$wxUSE_GEOMETRY" = "yes"; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_GEOMETRY 1
45418 _ACEOF
45419
45420 fi
45421
45422 if test "$wxUSE_BASE64" = "yes"; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_BASE64 1
45425 _ACEOF
45426
45427 fi
45428
45429 if test "$wxUSE_STREAMS" = "yes" ; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_STREAMS 1
45432 _ACEOF
45433
45434 fi
45435
45436 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45437 cat >>confdefs.h <<\_ACEOF
45438 #define wxUSE_PRINTF_POS_PARAMS 1
45439 _ACEOF
45440
45441 fi
45442
45443 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_OBJC_UNIQUIFYING 1
45446 _ACEOF
45447
45448 fi
45449
45450
45451 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_CONSOLE_EVENTLOOP 1
45454 _ACEOF
45455
45456
45457 if test "$wxUSE_UNIX" = "yes"; then
45458 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_SELECT_DISPATCHER 1
45461 _ACEOF
45462
45463 fi
45464
45465 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45466
45467 for ac_header in sys/epoll.h
45468 do
45469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45474 echo $ECHO_N "(cached) $ECHO_C" >&6
45475 fi
45476 ac_res=`eval echo '${'$as_ac_Header'}'`
45477 { echo "$as_me:$LINENO: result: $ac_res" >&5
45478 echo "${ECHO_T}$ac_res" >&6; }
45479 else
45480 # Is the header compilable?
45481 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45483 cat >conftest.$ac_ext <<_ACEOF
45484 /* confdefs.h. */
45485 _ACEOF
45486 cat confdefs.h >>conftest.$ac_ext
45487 cat >>conftest.$ac_ext <<_ACEOF
45488 /* end confdefs.h. */
45489 $ac_includes_default
45490 #include <$ac_header>
45491 _ACEOF
45492 rm -f conftest.$ac_objext
45493 if { (ac_try="$ac_compile"
45494 case "(($ac_try" in
45495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45496 *) ac_try_echo=$ac_try;;
45497 esac
45498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45499 (eval "$ac_compile") 2>conftest.er1
45500 ac_status=$?
45501 grep -v '^ *+' conftest.er1 >conftest.err
45502 rm -f conftest.er1
45503 cat conftest.err >&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } && {
45506 test -z "$ac_c_werror_flag" ||
45507 test ! -s conftest.err
45508 } && test -s conftest.$ac_objext; then
45509 ac_header_compiler=yes
45510 else
45511 echo "$as_me: failed program was:" >&5
45512 sed 's/^/| /' conftest.$ac_ext >&5
45513
45514 ac_header_compiler=no
45515 fi
45516
45517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45518 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45519 echo "${ECHO_T}$ac_header_compiler" >&6; }
45520
45521 # Is the header present?
45522 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45524 cat >conftest.$ac_ext <<_ACEOF
45525 /* confdefs.h. */
45526 _ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530 #include <$ac_header>
45531 _ACEOF
45532 if { (ac_try="$ac_cpp conftest.$ac_ext"
45533 case "(($ac_try" in
45534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45535 *) ac_try_echo=$ac_try;;
45536 esac
45537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } >/dev/null && {
45545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45546 test ! -s conftest.err
45547 }; then
45548 ac_header_preproc=yes
45549 else
45550 echo "$as_me: failed program was:" >&5
45551 sed 's/^/| /' conftest.$ac_ext >&5
45552
45553 ac_header_preproc=no
45554 fi
45555
45556 rm -f conftest.err conftest.$ac_ext
45557 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45558 echo "${ECHO_T}$ac_header_preproc" >&6; }
45559
45560 # So? What about this header?
45561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45562 yes:no: )
45563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45567 ac_header_preproc=yes
45568 ;;
45569 no:yes:* )
45570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45582 ( cat <<\_ASBOX
45583 ## ----------------------------------------- ##
45584 ## Report this to wx-dev@lists.wxwidgets.org ##
45585 ## ----------------------------------------- ##
45586 _ASBOX
45587 ) | sed "s/^/$as_me: WARNING: /" >&2
45588 ;;
45589 esac
45590 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45592 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45593 echo $ECHO_N "(cached) $ECHO_C" >&6
45594 else
45595 eval "$as_ac_Header=\$ac_header_preproc"
45596 fi
45597 ac_res=`eval echo '${'$as_ac_Header'}'`
45598 { echo "$as_me:$LINENO: result: $ac_res" >&5
45599 echo "${ECHO_T}$ac_res" >&6; }
45600
45601 fi
45602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45603 cat >>confdefs.h <<_ACEOF
45604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45605 _ACEOF
45606
45607 fi
45608
45609 done
45610
45611 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45612 cat >>confdefs.h <<\_ACEOF
45613 #define wxUSE_EPOLL_DISPATCHER 1
45614 _ACEOF
45615
45616 else
45617 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45618 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45619 fi
45620 fi
45621 fi
45622 fi
45623
45624
45625
45626
45627 for ac_func in gettimeofday ftime
45628 do
45629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45634 else
45635 cat >conftest.$ac_ext <<_ACEOF
45636 /* confdefs.h. */
45637 _ACEOF
45638 cat confdefs.h >>conftest.$ac_ext
45639 cat >>conftest.$ac_ext <<_ACEOF
45640 /* end confdefs.h. */
45641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45643 #define $ac_func innocuous_$ac_func
45644
45645 /* System header to define __stub macros and hopefully few prototypes,
45646 which can conflict with char $ac_func (); below.
45647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45648 <limits.h> exists even on freestanding compilers. */
45649
45650 #ifdef __STDC__
45651 # include <limits.h>
45652 #else
45653 # include <assert.h>
45654 #endif
45655
45656 #undef $ac_func
45657
45658 /* Override any GCC internal prototype to avoid an error.
45659 Use char because int might match the return type of a GCC
45660 builtin and then its argument prototype would still apply. */
45661 #ifdef __cplusplus
45662 extern "C"
45663 #endif
45664 char $ac_func ();
45665 /* The GNU C library defines this for functions which it implements
45666 to always fail with ENOSYS. Some functions are actually named
45667 something starting with __ and the normal name is an alias. */
45668 #if defined __stub_$ac_func || defined __stub___$ac_func
45669 choke me
45670 #endif
45671
45672 int
45673 main ()
45674 {
45675 return $ac_func ();
45676 ;
45677 return 0;
45678 }
45679 _ACEOF
45680 rm -f conftest.$ac_objext conftest$ac_exeext
45681 if { (ac_try="$ac_link"
45682 case "(($ac_try" in
45683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45684 *) ac_try_echo=$ac_try;;
45685 esac
45686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45687 (eval "$ac_link") 2>conftest.er1
45688 ac_status=$?
45689 grep -v '^ *+' conftest.er1 >conftest.err
45690 rm -f conftest.er1
45691 cat conftest.err >&5
45692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693 (exit $ac_status); } && {
45694 test -z "$ac_c_werror_flag" ||
45695 test ! -s conftest.err
45696 } && test -s conftest$ac_exeext &&
45697 $as_test_x conftest$ac_exeext; then
45698 eval "$as_ac_var=yes"
45699 else
45700 echo "$as_me: failed program was:" >&5
45701 sed 's/^/| /' conftest.$ac_ext >&5
45702
45703 eval "$as_ac_var=no"
45704 fi
45705
45706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45707 conftest$ac_exeext conftest.$ac_ext
45708 fi
45709 ac_res=`eval echo '${'$as_ac_var'}'`
45710 { echo "$as_me:$LINENO: result: $ac_res" >&5
45711 echo "${ECHO_T}$ac_res" >&6; }
45712 if test `eval echo '${'$as_ac_var'}'` = yes; then
45713 cat >>confdefs.h <<_ACEOF
45714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45715 _ACEOF
45716 break
45717 fi
45718 done
45719
45720
45721 if test "$ac_cv_func_gettimeofday" = "yes"; then
45722 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45723 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45724 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45726 else
45727
45728 cat >conftest.$ac_ext <<_ACEOF
45729 /* confdefs.h. */
45730 _ACEOF
45731 cat confdefs.h >>conftest.$ac_ext
45732 cat >>conftest.$ac_ext <<_ACEOF
45733 /* end confdefs.h. */
45734
45735 #include <sys/time.h>
45736 #include <unistd.h>
45737
45738 int
45739 main ()
45740 {
45741
45742 struct timeval tv;
45743 gettimeofday(&tv, NULL);
45744
45745 ;
45746 return 0;
45747 }
45748 _ACEOF
45749 rm -f conftest.$ac_objext
45750 if { (ac_try="$ac_compile"
45751 case "(($ac_try" in
45752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45753 *) ac_try_echo=$ac_try;;
45754 esac
45755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45756 (eval "$ac_compile") 2>conftest.er1
45757 ac_status=$?
45758 grep -v '^ *+' conftest.er1 >conftest.err
45759 rm -f conftest.er1
45760 cat conftest.err >&5
45761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45762 (exit $ac_status); } && {
45763 test -z "$ac_c_werror_flag" ||
45764 test ! -s conftest.err
45765 } && test -s conftest.$ac_objext; then
45766 wx_cv_func_gettimeofday_has_2_args=yes
45767 else
45768 echo "$as_me: failed program was:" >&5
45769 sed 's/^/| /' conftest.$ac_ext >&5
45770
45771 cat >conftest.$ac_ext <<_ACEOF
45772 /* confdefs.h. */
45773 _ACEOF
45774 cat confdefs.h >>conftest.$ac_ext
45775 cat >>conftest.$ac_ext <<_ACEOF
45776 /* end confdefs.h. */
45777
45778 #include <sys/time.h>
45779 #include <unistd.h>
45780
45781 int
45782 main ()
45783 {
45784
45785 struct timeval tv;
45786 gettimeofday(&tv);
45787
45788 ;
45789 return 0;
45790 }
45791 _ACEOF
45792 rm -f conftest.$ac_objext
45793 if { (ac_try="$ac_compile"
45794 case "(($ac_try" in
45795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45796 *) ac_try_echo=$ac_try;;
45797 esac
45798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45799 (eval "$ac_compile") 2>conftest.er1
45800 ac_status=$?
45801 grep -v '^ *+' conftest.er1 >conftest.err
45802 rm -f conftest.er1
45803 cat conftest.err >&5
45804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45805 (exit $ac_status); } && {
45806 test -z "$ac_c_werror_flag" ||
45807 test ! -s conftest.err
45808 } && test -s conftest.$ac_objext; then
45809 wx_cv_func_gettimeofday_has_2_args=no
45810 else
45811 echo "$as_me: failed program was:" >&5
45812 sed 's/^/| /' conftest.$ac_ext >&5
45813
45814
45815 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45816 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45817 wx_cv_func_gettimeofday_has_2_args=unknown
45818
45819
45820 fi
45821
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823
45824 fi
45825
45826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45827
45828 fi
45829 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45830 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45831
45832 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45833 cat >>confdefs.h <<\_ACEOF
45834 #define WX_GETTIMEOFDAY_NO_TZ 1
45835 _ACEOF
45836
45837 fi
45838 fi
45839
45840 if test "$wxUSE_DATETIME" = "yes"; then
45841 { echo "$as_me:$LINENO: checking for strptime" >&5
45842 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
45843 if test "${ac_cv_func_strptime+set}" = set; then
45844 echo $ECHO_N "(cached) $ECHO_C" >&6
45845 else
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
45853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45854 #define strptime innocuous_strptime
45855
45856 /* System header to define __stub macros and hopefully few prototypes,
45857 which can conflict with char strptime (); below.
45858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45859 <limits.h> exists even on freestanding compilers. */
45860
45861 #ifdef __STDC__
45862 # include <limits.h>
45863 #else
45864 # include <assert.h>
45865 #endif
45866
45867 #undef strptime
45868
45869 /* Override any GCC internal prototype to avoid an error.
45870 Use char because int might match the return type of a GCC
45871 builtin and then its argument prototype would still apply. */
45872 #ifdef __cplusplus
45873 extern "C"
45874 #endif
45875 char strptime ();
45876 /* The GNU C library defines this for functions which it implements
45877 to always fail with ENOSYS. Some functions are actually named
45878 something starting with __ and the normal name is an alias. */
45879 #if defined __stub_strptime || defined __stub___strptime
45880 choke me
45881 #endif
45882
45883 int
45884 main ()
45885 {
45886 return strptime ();
45887 ;
45888 return 0;
45889 }
45890 _ACEOF
45891 rm -f conftest.$ac_objext conftest$ac_exeext
45892 if { (ac_try="$ac_link"
45893 case "(($ac_try" in
45894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45895 *) ac_try_echo=$ac_try;;
45896 esac
45897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45898 (eval "$ac_link") 2>conftest.er1
45899 ac_status=$?
45900 grep -v '^ *+' conftest.er1 >conftest.err
45901 rm -f conftest.er1
45902 cat conftest.err >&5
45903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904 (exit $ac_status); } && {
45905 test -z "$ac_c_werror_flag" ||
45906 test ! -s conftest.err
45907 } && test -s conftest$ac_exeext &&
45908 $as_test_x conftest$ac_exeext; then
45909 ac_cv_func_strptime=yes
45910 else
45911 echo "$as_me: failed program was:" >&5
45912 sed 's/^/| /' conftest.$ac_ext >&5
45913
45914 ac_cv_func_strptime=no
45915 fi
45916
45917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45918 conftest$ac_exeext conftest.$ac_ext
45919 fi
45920 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
45921 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
45922
45923 if test "$ac_cv_func_strptime" = "yes"; then
45924 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
45925 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
45926 if test "${wx_cv_func_strptime_decl+set}" = set; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929
45930 ac_ext=cpp
45931 ac_cpp='$CXXCPP $CPPFLAGS'
45932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45935
45936 cat >conftest.$ac_ext <<_ACEOF
45937 /* confdefs.h. */
45938 _ACEOF
45939 cat confdefs.h >>conftest.$ac_ext
45940 cat >>conftest.$ac_ext <<_ACEOF
45941 /* end confdefs.h. */
45942
45943 #include <time.h>
45944
45945 int
45946 main ()
45947 {
45948
45949 struct tm t;
45950 strptime("foo", "bar", &t);
45951
45952 ;
45953 return 0;
45954 }
45955 _ACEOF
45956 rm -f conftest.$ac_objext
45957 if { (ac_try="$ac_compile"
45958 case "(($ac_try" in
45959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45960 *) ac_try_echo=$ac_try;;
45961 esac
45962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45963 (eval "$ac_compile") 2>conftest.er1
45964 ac_status=$?
45965 grep -v '^ *+' conftest.er1 >conftest.err
45966 rm -f conftest.er1
45967 cat conftest.err >&5
45968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45969 (exit $ac_status); } && {
45970 test -z "$ac_cxx_werror_flag" ||
45971 test ! -s conftest.err
45972 } && test -s conftest.$ac_objext; then
45973 wx_cv_func_strptime_decl=yes
45974 else
45975 echo "$as_me: failed program was:" >&5
45976 sed 's/^/| /' conftest.$ac_ext >&5
45977
45978 wx_cv_func_strptime_decl=no
45979
45980 fi
45981
45982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45983 ac_ext=c
45984 ac_cpp='$CPP $CPPFLAGS'
45985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45988
45989
45990
45991 fi
45992 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45993 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
45994 fi
45995 if test "$wx_cv_func_strptime_decl" = "yes"; then
45996 cat >>confdefs.h <<\_ACEOF
45997 #define HAVE_STRPTIME_DECL 1
45998 _ACEOF
45999
46000 else
46001 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46002 fi
46003 if test "$ac_cv_func_strptime" = "yes"; then
46004 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46005 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46006 if test "${wx_cv_func_strptime_ok+set}" = set; then
46007 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 else
46009 if test "$cross_compiling" = yes; then
46010 wx_cv_func_strptime_ok=no
46011
46012 else
46013 cat >conftest.$ac_ext <<_ACEOF
46014
46015 #include <stdlib.h>
46016 #include <time.h>
46017 #include "confdefs.h"
46018
46019 $wx_strptime_decl
46020
46021 int main()
46022 {
46023 struct tm t;
46024 return !!strptime("", "%x", &t);
46025 }
46026
46027 _ACEOF
46028 rm -f conftest$ac_exeext
46029 if { (ac_try="$ac_link"
46030 case "(($ac_try" in
46031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46032 *) ac_try_echo=$ac_try;;
46033 esac
46034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46035 (eval "$ac_link") 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46039 { (case "(($ac_try" in
46040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46041 *) ac_try_echo=$ac_try;;
46042 esac
46043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46044 (eval "$ac_try") 2>&5
46045 ac_status=$?
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); }; }; then
46048 wx_cv_func_strptime_ok=yes
46049 else
46050 echo "$as_me: program exited with status $ac_status" >&5
46051 echo "$as_me: failed program was:" >&5
46052 sed 's/^/| /' conftest.$ac_ext >&5
46053
46054 ( exit $ac_status )
46055 wx_cv_func_strptime_ok=no
46056 fi
46057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46058 fi
46059
46060
46061
46062 fi
46063 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46064 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46065
46066 if test "$wx_cv_func_strptime_ok" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define HAVE_STRPTIME 1
46069 _ACEOF
46070
46071 fi
46072 fi
46073
46074 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46075 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46076 if test "${wx_cv_var_timezone+set}" = set; then
46077 echo $ECHO_N "(cached) $ECHO_C" >&6
46078 else
46079
46080 ac_ext=cpp
46081 ac_cpp='$CXXCPP $CPPFLAGS'
46082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46085
46086 cat >conftest.$ac_ext <<_ACEOF
46087 /* confdefs.h. */
46088 _ACEOF
46089 cat confdefs.h >>conftest.$ac_ext
46090 cat >>conftest.$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46092
46093 #include <time.h>
46094
46095 int
46096 main ()
46097 {
46098
46099 int tz;
46100 tz = timezone;
46101
46102 ;
46103 return 0;
46104 }
46105 _ACEOF
46106 rm -f conftest.$ac_objext
46107 if { (ac_try="$ac_compile"
46108 case "(($ac_try" in
46109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46110 *) ac_try_echo=$ac_try;;
46111 esac
46112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46113 (eval "$ac_compile") 2>conftest.er1
46114 ac_status=$?
46115 grep -v '^ *+' conftest.er1 >conftest.err
46116 rm -f conftest.er1
46117 cat conftest.err >&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); } && {
46120 test -z "$ac_cxx_werror_flag" ||
46121 test ! -s conftest.err
46122 } && test -s conftest.$ac_objext; then
46123
46124 wx_cv_var_timezone=timezone
46125
46126 else
46127 echo "$as_me: failed program was:" >&5
46128 sed 's/^/| /' conftest.$ac_ext >&5
46129
46130
46131 cat >conftest.$ac_ext <<_ACEOF
46132 /* confdefs.h. */
46133 _ACEOF
46134 cat confdefs.h >>conftest.$ac_ext
46135 cat >>conftest.$ac_ext <<_ACEOF
46136 /* end confdefs.h. */
46137
46138 #include <time.h>
46139
46140 int
46141 main ()
46142 {
46143
46144 int tz;
46145 tz = _timezone;
46146
46147 ;
46148 return 0;
46149 }
46150 _ACEOF
46151 rm -f conftest.$ac_objext
46152 if { (ac_try="$ac_compile"
46153 case "(($ac_try" in
46154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46155 *) ac_try_echo=$ac_try;;
46156 esac
46157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46158 (eval "$ac_compile") 2>conftest.er1
46159 ac_status=$?
46160 grep -v '^ *+' conftest.er1 >conftest.err
46161 rm -f conftest.er1
46162 cat conftest.err >&5
46163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46164 (exit $ac_status); } && {
46165 test -z "$ac_cxx_werror_flag" ||
46166 test ! -s conftest.err
46167 } && test -s conftest.$ac_objext; then
46168
46169 wx_cv_var_timezone=_timezone
46170
46171 else
46172 echo "$as_me: failed program was:" >&5
46173 sed 's/^/| /' conftest.$ac_ext >&5
46174
46175
46176 cat >conftest.$ac_ext <<_ACEOF
46177 /* confdefs.h. */
46178 _ACEOF
46179 cat confdefs.h >>conftest.$ac_ext
46180 cat >>conftest.$ac_ext <<_ACEOF
46181 /* end confdefs.h. */
46182
46183 #include <time.h>
46184
46185 int
46186 main ()
46187 {
46188
46189 int tz;
46190 tz = __timezone;
46191
46192 ;
46193 return 0;
46194 }
46195 _ACEOF
46196 rm -f conftest.$ac_objext
46197 if { (ac_try="$ac_compile"
46198 case "(($ac_try" in
46199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46200 *) ac_try_echo=$ac_try;;
46201 esac
46202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46203 (eval "$ac_compile") 2>conftest.er1
46204 ac_status=$?
46205 grep -v '^ *+' conftest.er1 >conftest.err
46206 rm -f conftest.er1
46207 cat conftest.err >&5
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); } && {
46210 test -z "$ac_cxx_werror_flag" ||
46211 test ! -s conftest.err
46212 } && test -s conftest.$ac_objext; then
46213
46214 wx_cv_var_timezone=__timezone
46215
46216 else
46217 echo "$as_me: failed program was:" >&5
46218 sed 's/^/| /' conftest.$ac_ext >&5
46219
46220
46221 if test "$USE_DOS" = 0 ; then
46222 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46223 echo "$as_me: WARNING: no timezone variable" >&2;}
46224 fi
46225
46226
46227 fi
46228
46229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46230
46231
46232 fi
46233
46234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46235
46236
46237 fi
46238
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247
46248 fi
46249 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46250 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46251
46252 if test "x$wx_cv_var_timezone" != x ; then
46253 cat >>confdefs.h <<_ACEOF
46254 #define WX_TIMEZONE $wx_cv_var_timezone
46255 _ACEOF
46256
46257 fi
46258
46259
46260 for ac_func in localtime
46261 do
46262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46263 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46265 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46266 echo $ECHO_N "(cached) $ECHO_C" >&6
46267 else
46268 cat >conftest.$ac_ext <<_ACEOF
46269 /* confdefs.h. */
46270 _ACEOF
46271 cat confdefs.h >>conftest.$ac_ext
46272 cat >>conftest.$ac_ext <<_ACEOF
46273 /* end confdefs.h. */
46274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46276 #define $ac_func innocuous_$ac_func
46277
46278 /* System header to define __stub macros and hopefully few prototypes,
46279 which can conflict with char $ac_func (); below.
46280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46281 <limits.h> exists even on freestanding compilers. */
46282
46283 #ifdef __STDC__
46284 # include <limits.h>
46285 #else
46286 # include <assert.h>
46287 #endif
46288
46289 #undef $ac_func
46290
46291 /* Override any GCC internal prototype to avoid an error.
46292 Use char because int might match the return type of a GCC
46293 builtin and then its argument prototype would still apply. */
46294 #ifdef __cplusplus
46295 extern "C"
46296 #endif
46297 char $ac_func ();
46298 /* The GNU C library defines this for functions which it implements
46299 to always fail with ENOSYS. Some functions are actually named
46300 something starting with __ and the normal name is an alias. */
46301 #if defined __stub_$ac_func || defined __stub___$ac_func
46302 choke me
46303 #endif
46304
46305 int
46306 main ()
46307 {
46308 return $ac_func ();
46309 ;
46310 return 0;
46311 }
46312 _ACEOF
46313 rm -f conftest.$ac_objext conftest$ac_exeext
46314 if { (ac_try="$ac_link"
46315 case "(($ac_try" in
46316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46317 *) ac_try_echo=$ac_try;;
46318 esac
46319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46320 (eval "$ac_link") 2>conftest.er1
46321 ac_status=$?
46322 grep -v '^ *+' conftest.er1 >conftest.err
46323 rm -f conftest.er1
46324 cat conftest.err >&5
46325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46326 (exit $ac_status); } && {
46327 test -z "$ac_c_werror_flag" ||
46328 test ! -s conftest.err
46329 } && test -s conftest$ac_exeext &&
46330 $as_test_x conftest$ac_exeext; then
46331 eval "$as_ac_var=yes"
46332 else
46333 echo "$as_me: failed program was:" >&5
46334 sed 's/^/| /' conftest.$ac_ext >&5
46335
46336 eval "$as_ac_var=no"
46337 fi
46338
46339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46340 conftest$ac_exeext conftest.$ac_ext
46341 fi
46342 ac_res=`eval echo '${'$as_ac_var'}'`
46343 { echo "$as_me:$LINENO: result: $ac_res" >&5
46344 echo "${ECHO_T}$ac_res" >&6; }
46345 if test `eval echo '${'$as_ac_var'}'` = yes; then
46346 cat >>confdefs.h <<_ACEOF
46347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46348 _ACEOF
46349
46350 fi
46351 done
46352
46353
46354 if test "$ac_cv_func_localtime" = "yes"; then
46355 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46356 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46357 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46358 echo $ECHO_N "(cached) $ECHO_C" >&6
46359 else
46360
46361 cat >conftest.$ac_ext <<_ACEOF
46362 /* confdefs.h. */
46363 _ACEOF
46364 cat confdefs.h >>conftest.$ac_ext
46365 cat >>conftest.$ac_ext <<_ACEOF
46366 /* end confdefs.h. */
46367
46368 #include <time.h>
46369
46370 int
46371 main ()
46372 {
46373
46374 struct tm tm;
46375 tm.tm_gmtoff++;
46376
46377 ;
46378 return 0;
46379 }
46380 _ACEOF
46381 rm -f conftest.$ac_objext
46382 if { (ac_try="$ac_compile"
46383 case "(($ac_try" in
46384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46385 *) ac_try_echo=$ac_try;;
46386 esac
46387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46388 (eval "$ac_compile") 2>conftest.er1
46389 ac_status=$?
46390 grep -v '^ *+' conftest.er1 >conftest.err
46391 rm -f conftest.er1
46392 cat conftest.err >&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } && {
46395 test -z "$ac_c_werror_flag" ||
46396 test ! -s conftest.err
46397 } && test -s conftest.$ac_objext; then
46398
46399 wx_cv_struct_tm_has_gmtoff=yes
46400
46401 else
46402 echo "$as_me: failed program was:" >&5
46403 sed 's/^/| /' conftest.$ac_ext >&5
46404
46405 wx_cv_struct_tm_has_gmtoff=no
46406
46407 fi
46408
46409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46410
46411 fi
46412 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46413 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46414 fi
46415
46416 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define WX_GMTOFF_IN_TM 1
46419 _ACEOF
46420
46421 fi
46422
46423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46424 fi
46425
46426
46427 if test "$wxUSE_SOCKETS" = "yes"; then
46428 if test "$wxUSE_MGL" = "1"; then
46429 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46430 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46431 wxUSE_SOCKETS="no"
46432 fi
46433 fi
46434
46435 if test "$wxUSE_SOCKETS" = "yes"; then
46436 if test "$TOOLKIT" != "MSW"; then
46437 { echo "$as_me:$LINENO: checking for socket" >&5
46438 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46439 if test "${ac_cv_func_socket+set}" = set; then
46440 echo $ECHO_N "(cached) $ECHO_C" >&6
46441 else
46442 cat >conftest.$ac_ext <<_ACEOF
46443 /* confdefs.h. */
46444 _ACEOF
46445 cat confdefs.h >>conftest.$ac_ext
46446 cat >>conftest.$ac_ext <<_ACEOF
46447 /* end confdefs.h. */
46448 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46450 #define socket innocuous_socket
46451
46452 /* System header to define __stub macros and hopefully few prototypes,
46453 which can conflict with char socket (); below.
46454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46455 <limits.h> exists even on freestanding compilers. */
46456
46457 #ifdef __STDC__
46458 # include <limits.h>
46459 #else
46460 # include <assert.h>
46461 #endif
46462
46463 #undef socket
46464
46465 /* Override any GCC internal prototype to avoid an error.
46466 Use char because int might match the return type of a GCC
46467 builtin and then its argument prototype would still apply. */
46468 #ifdef __cplusplus
46469 extern "C"
46470 #endif
46471 char socket ();
46472 /* The GNU C library defines this for functions which it implements
46473 to always fail with ENOSYS. Some functions are actually named
46474 something starting with __ and the normal name is an alias. */
46475 #if defined __stub_socket || defined __stub___socket
46476 choke me
46477 #endif
46478
46479 int
46480 main ()
46481 {
46482 return socket ();
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 rm -f conftest.$ac_objext conftest$ac_exeext
46488 if { (ac_try="$ac_link"
46489 case "(($ac_try" in
46490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46491 *) ac_try_echo=$ac_try;;
46492 esac
46493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46494 (eval "$ac_link") 2>conftest.er1
46495 ac_status=$?
46496 grep -v '^ *+' conftest.er1 >conftest.err
46497 rm -f conftest.er1
46498 cat conftest.err >&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } && {
46501 test -z "$ac_c_werror_flag" ||
46502 test ! -s conftest.err
46503 } && test -s conftest$ac_exeext &&
46504 $as_test_x conftest$ac_exeext; then
46505 ac_cv_func_socket=yes
46506 else
46507 echo "$as_me: failed program was:" >&5
46508 sed 's/^/| /' conftest.$ac_ext >&5
46509
46510 ac_cv_func_socket=no
46511 fi
46512
46513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46514 conftest$ac_exeext conftest.$ac_ext
46515 fi
46516 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46517 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46518 if test $ac_cv_func_socket = yes; then
46519 :
46520 else
46521
46522 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46523 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46524 if test "${ac_cv_lib_socket_socket+set}" = set; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 else
46527 ac_check_lib_save_LIBS=$LIBS
46528 LIBS="-lsocket $LIBS"
46529 cat >conftest.$ac_ext <<_ACEOF
46530 /* confdefs.h. */
46531 _ACEOF
46532 cat confdefs.h >>conftest.$ac_ext
46533 cat >>conftest.$ac_ext <<_ACEOF
46534 /* end confdefs.h. */
46535
46536 /* Override any GCC internal prototype to avoid an error.
46537 Use char because int might match the return type of a GCC
46538 builtin and then its argument prototype would still apply. */
46539 #ifdef __cplusplus
46540 extern "C"
46541 #endif
46542 char socket ();
46543 int
46544 main ()
46545 {
46546 return socket ();
46547 ;
46548 return 0;
46549 }
46550 _ACEOF
46551 rm -f conftest.$ac_objext conftest$ac_exeext
46552 if { (ac_try="$ac_link"
46553 case "(($ac_try" in
46554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46555 *) ac_try_echo=$ac_try;;
46556 esac
46557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46558 (eval "$ac_link") 2>conftest.er1
46559 ac_status=$?
46560 grep -v '^ *+' conftest.er1 >conftest.err
46561 rm -f conftest.er1
46562 cat conftest.err >&5
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); } && {
46565 test -z "$ac_c_werror_flag" ||
46566 test ! -s conftest.err
46567 } && test -s conftest$ac_exeext &&
46568 $as_test_x conftest$ac_exeext; then
46569 ac_cv_lib_socket_socket=yes
46570 else
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.$ac_ext >&5
46573
46574 ac_cv_lib_socket_socket=no
46575 fi
46576
46577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46578 conftest$ac_exeext conftest.$ac_ext
46579 LIBS=$ac_check_lib_save_LIBS
46580 fi
46581 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46582 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46583 if test $ac_cv_lib_socket_socket = yes; then
46584 if test "$INET_LINK" != " -lsocket"; then
46585 INET_LINK="$INET_LINK -lsocket"
46586 fi
46587 else
46588
46589 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46590 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46591 wxUSE_SOCKETS=no
46592
46593
46594 fi
46595
46596
46597
46598 fi
46599
46600 fi
46601 fi
46602
46603 if test "$wxUSE_SOCKETS" = "yes" ; then
46604 if test "$TOOLKIT" != "MSW"; then
46605 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46606 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46607 if test "${wx_cv_type_getsockname3+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46609 else
46610
46611 ac_ext=cpp
46612 ac_cpp='$CXXCPP $CPPFLAGS'
46613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46616
46617 cat >conftest.$ac_ext <<_ACEOF
46618 /* confdefs.h. */
46619 _ACEOF
46620 cat confdefs.h >>conftest.$ac_ext
46621 cat >>conftest.$ac_ext <<_ACEOF
46622 /* end confdefs.h. */
46623
46624 #include <sys/types.h>
46625 #include <sys/socket.h>
46626
46627 int
46628 main ()
46629 {
46630
46631 socklen_t len;
46632 getsockname(0, 0, &len);
46633
46634 ;
46635 return 0;
46636 }
46637 _ACEOF
46638 rm -f conftest.$ac_objext
46639 if { (ac_try="$ac_compile"
46640 case "(($ac_try" in
46641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46642 *) ac_try_echo=$ac_try;;
46643 esac
46644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46645 (eval "$ac_compile") 2>conftest.er1
46646 ac_status=$?
46647 grep -v '^ *+' conftest.er1 >conftest.err
46648 rm -f conftest.er1
46649 cat conftest.err >&5
46650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46651 (exit $ac_status); } && {
46652 test -z "$ac_cxx_werror_flag" ||
46653 test ! -s conftest.err
46654 } && test -s conftest.$ac_objext; then
46655 wx_cv_type_getsockname3=socklen_t
46656 else
46657 echo "$as_me: failed program was:" >&5
46658 sed 's/^/| /' conftest.$ac_ext >&5
46659
46660
46661 CFLAGS_OLD="$CFLAGS"
46662 if test "$GCC" = yes ; then
46663 CFLAGS="-Werror $CFLAGS"
46664 fi
46665
46666 cat >conftest.$ac_ext <<_ACEOF
46667 /* confdefs.h. */
46668 _ACEOF
46669 cat confdefs.h >>conftest.$ac_ext
46670 cat >>conftest.$ac_ext <<_ACEOF
46671 /* end confdefs.h. */
46672
46673 #include <sys/types.h>
46674 #include <sys/socket.h>
46675
46676 int
46677 main ()
46678 {
46679
46680 size_t len;
46681 getsockname(0, 0, &len);
46682
46683 ;
46684 return 0;
46685 }
46686 _ACEOF
46687 rm -f conftest.$ac_objext
46688 if { (ac_try="$ac_compile"
46689 case "(($ac_try" in
46690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46691 *) ac_try_echo=$ac_try;;
46692 esac
46693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46694 (eval "$ac_compile") 2>conftest.er1
46695 ac_status=$?
46696 grep -v '^ *+' conftest.er1 >conftest.err
46697 rm -f conftest.er1
46698 cat conftest.err >&5
46699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700 (exit $ac_status); } && {
46701 test -z "$ac_cxx_werror_flag" ||
46702 test ! -s conftest.err
46703 } && test -s conftest.$ac_objext; then
46704 wx_cv_type_getsockname3=size_t
46705 else
46706 echo "$as_me: failed program was:" >&5
46707 sed 's/^/| /' conftest.$ac_ext >&5
46708
46709 cat >conftest.$ac_ext <<_ACEOF
46710 /* confdefs.h. */
46711 _ACEOF
46712 cat confdefs.h >>conftest.$ac_ext
46713 cat >>conftest.$ac_ext <<_ACEOF
46714 /* end confdefs.h. */
46715
46716 #include <sys/types.h>
46717 #include <sys/socket.h>
46718
46719 int
46720 main ()
46721 {
46722
46723 int len;
46724 getsockname(0, 0, &len);
46725
46726 ;
46727 return 0;
46728 }
46729 _ACEOF
46730 rm -f conftest.$ac_objext
46731 if { (ac_try="$ac_compile"
46732 case "(($ac_try" in
46733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46734 *) ac_try_echo=$ac_try;;
46735 esac
46736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46737 (eval "$ac_compile") 2>conftest.er1
46738 ac_status=$?
46739 grep -v '^ *+' conftest.er1 >conftest.err
46740 rm -f conftest.er1
46741 cat conftest.err >&5
46742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743 (exit $ac_status); } && {
46744 test -z "$ac_cxx_werror_flag" ||
46745 test ! -s conftest.err
46746 } && test -s conftest.$ac_objext; then
46747 wx_cv_type_getsockname3=int
46748 else
46749 echo "$as_me: failed program was:" >&5
46750 sed 's/^/| /' conftest.$ac_ext >&5
46751
46752 wx_cv_type_getsockname3=unknown
46753
46754 fi
46755
46756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46757
46758 fi
46759
46760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46761
46762 CFLAGS="$CFLAGS_OLD"
46763
46764
46765 fi
46766
46767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46768 ac_ext=c
46769 ac_cpp='$CPP $CPPFLAGS'
46770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46773
46774
46775 fi
46776 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46777 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46778
46779 if test "$wx_cv_type_getsockname3" = "unknown"; then
46780 wxUSE_SOCKETS=no
46781 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46782 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46783 else
46784 cat >>confdefs.h <<_ACEOF
46785 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46786 _ACEOF
46787
46788 fi
46789 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46790 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46791 if test "${wx_cv_type_getsockopt5+set}" = set; then
46792 echo $ECHO_N "(cached) $ECHO_C" >&6
46793 else
46794
46795 ac_ext=cpp
46796 ac_cpp='$CXXCPP $CPPFLAGS'
46797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46800
46801 cat >conftest.$ac_ext <<_ACEOF
46802 /* confdefs.h. */
46803 _ACEOF
46804 cat confdefs.h >>conftest.$ac_ext
46805 cat >>conftest.$ac_ext <<_ACEOF
46806 /* end confdefs.h. */
46807
46808 #include <sys/types.h>
46809 #include <sys/socket.h>
46810
46811 int
46812 main ()
46813 {
46814
46815 socklen_t len;
46816 getsockopt(0, 0, 0, 0, &len);
46817
46818 ;
46819 return 0;
46820 }
46821 _ACEOF
46822 rm -f conftest.$ac_objext
46823 if { (ac_try="$ac_compile"
46824 case "(($ac_try" in
46825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46826 *) ac_try_echo=$ac_try;;
46827 esac
46828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46829 (eval "$ac_compile") 2>conftest.er1
46830 ac_status=$?
46831 grep -v '^ *+' conftest.er1 >conftest.err
46832 rm -f conftest.er1
46833 cat conftest.err >&5
46834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46835 (exit $ac_status); } && {
46836 test -z "$ac_cxx_werror_flag" ||
46837 test ! -s conftest.err
46838 } && test -s conftest.$ac_objext; then
46839 wx_cv_type_getsockopt5=socklen_t
46840 else
46841 echo "$as_me: failed program was:" >&5
46842 sed 's/^/| /' conftest.$ac_ext >&5
46843
46844
46845 cat >conftest.$ac_ext <<_ACEOF
46846 /* confdefs.h. */
46847 _ACEOF
46848 cat confdefs.h >>conftest.$ac_ext
46849 cat >>conftest.$ac_ext <<_ACEOF
46850 /* end confdefs.h. */
46851
46852 #include <sys/types.h>
46853 #include <sys/socket.h>
46854
46855 int
46856 main ()
46857 {
46858
46859 size_t len;
46860 getsockopt(0, 0, 0, 0, &len);
46861
46862 ;
46863 return 0;
46864 }
46865 _ACEOF
46866 rm -f conftest.$ac_objext
46867 if { (ac_try="$ac_compile"
46868 case "(($ac_try" in
46869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46870 *) ac_try_echo=$ac_try;;
46871 esac
46872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46873 (eval "$ac_compile") 2>conftest.er1
46874 ac_status=$?
46875 grep -v '^ *+' conftest.er1 >conftest.err
46876 rm -f conftest.er1
46877 cat conftest.err >&5
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); } && {
46880 test -z "$ac_cxx_werror_flag" ||
46881 test ! -s conftest.err
46882 } && test -s conftest.$ac_objext; then
46883 wx_cv_type_getsockopt5=size_t
46884 else
46885 echo "$as_me: failed program was:" >&5
46886 sed 's/^/| /' conftest.$ac_ext >&5
46887
46888 cat >conftest.$ac_ext <<_ACEOF
46889 /* confdefs.h. */
46890 _ACEOF
46891 cat confdefs.h >>conftest.$ac_ext
46892 cat >>conftest.$ac_ext <<_ACEOF
46893 /* end confdefs.h. */
46894
46895 #include <sys/types.h>
46896 #include <sys/socket.h>
46897
46898 int
46899 main ()
46900 {
46901
46902 int len;
46903 getsockopt(0, 0, 0, 0, &len);
46904
46905 ;
46906 return 0;
46907 }
46908 _ACEOF
46909 rm -f conftest.$ac_objext
46910 if { (ac_try="$ac_compile"
46911 case "(($ac_try" in
46912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46913 *) ac_try_echo=$ac_try;;
46914 esac
46915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46916 (eval "$ac_compile") 2>conftest.er1
46917 ac_status=$?
46918 grep -v '^ *+' conftest.er1 >conftest.err
46919 rm -f conftest.er1
46920 cat conftest.err >&5
46921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922 (exit $ac_status); } && {
46923 test -z "$ac_cxx_werror_flag" ||
46924 test ! -s conftest.err
46925 } && test -s conftest.$ac_objext; then
46926 wx_cv_type_getsockopt5=int
46927 else
46928 echo "$as_me: failed program was:" >&5
46929 sed 's/^/| /' conftest.$ac_ext >&5
46930
46931 wx_cv_type_getsockopt5=unknown
46932
46933 fi
46934
46935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46936
46937 fi
46938
46939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46940
46941
46942 fi
46943
46944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46945 ac_ext=c
46946 ac_cpp='$CPP $CPPFLAGS'
46947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46950
46951
46952 fi
46953 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46954 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46955
46956 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46957 wxUSE_SOCKETS=no
46958 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46959 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46960 else
46961 cat >>confdefs.h <<_ACEOF
46962 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46963 _ACEOF
46964
46965 fi
46966 fi
46967 fi
46968
46969 if test "$wxUSE_SOCKETS" = "yes" ; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_SOCKETS 1
46972 _ACEOF
46973
46974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46975 fi
46976
46977 if test "$wxUSE_PROTOCOL" = "yes"; then
46978 if test "$wxUSE_SOCKETS" != "yes"; then
46979 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46980 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46981 wxUSE_PROTOCOL=no
46982 fi
46983 fi
46984
46985 if test "$wxUSE_PROTOCOL" = "yes"; then
46986 cat >>confdefs.h <<\_ACEOF
46987 #define wxUSE_PROTOCOL 1
46988 _ACEOF
46989
46990
46991 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_PROTOCOL_HTTP 1
46994 _ACEOF
46995
46996 fi
46997 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_PROTOCOL_FTP 1
47000 _ACEOF
47001
47002 fi
47003 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47004 cat >>confdefs.h <<\_ACEOF
47005 #define wxUSE_PROTOCOL_FILE 1
47006 _ACEOF
47007
47008 fi
47009 else
47010 if test "$wxUSE_FS_INET" = "yes"; then
47011 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47012 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47013 wxUSE_FS_INET="no"
47014 fi
47015 fi
47016
47017 if test "$wxUSE_URL" = "yes"; then
47018 if test "$wxUSE_PROTOCOL" != "yes"; then
47019 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47020 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47021 wxUSE_URL=no
47022 fi
47023 if test "$wxUSE_URL" = "yes"; then
47024 cat >>confdefs.h <<\_ACEOF
47025 #define wxUSE_URL 1
47026 _ACEOF
47027
47028 fi
47029 fi
47030
47031 if test "$wxUSE_VARIANT" = "yes"; then
47032 cat >>confdefs.h <<\_ACEOF
47033 #define wxUSE_VARIANT 1
47034 _ACEOF
47035
47036 fi
47037
47038 if test "$wxUSE_FS_INET" = "yes"; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_FS_INET 1
47041 _ACEOF
47042
47043 fi
47044
47045
47046 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47047 wxUSE_JOYSTICK=no
47048
47049 if test "$TOOLKIT" = "MSW"; then
47050 wxUSE_JOYSTICK=yes
47051
47052 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47053 if test "$USE_DARWIN" = 1; then
47054 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47055 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47056 ac_ext=cpp
47057 ac_cpp='$CXXCPP $CPPFLAGS'
47058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47061
47062 cat >conftest.$ac_ext <<_ACEOF
47063 /* confdefs.h. */
47064 _ACEOF
47065 cat confdefs.h >>conftest.$ac_ext
47066 cat >>conftest.$ac_ext <<_ACEOF
47067 /* end confdefs.h. */
47068 #include <IOKit/hid/IOHIDLib.h>
47069 int
47070 main ()
47071 {
47072 IOHIDQueueInterface *qi = NULL;
47073 IOHIDCallbackFunction cb = NULL;
47074 qi->setEventCallout(NULL, cb, NULL, NULL);
47075 ;
47076 return 0;
47077 }
47078 _ACEOF
47079 rm -f conftest.$ac_objext
47080 if { (ac_try="$ac_compile"
47081 case "(($ac_try" in
47082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47083 *) ac_try_echo=$ac_try;;
47084 esac
47085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47086 (eval "$ac_compile") 2>conftest.er1
47087 ac_status=$?
47088 grep -v '^ *+' conftest.er1 >conftest.err
47089 rm -f conftest.er1
47090 cat conftest.err >&5
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); } && {
47093 test -z "$ac_cxx_werror_flag" ||
47094 test ! -s conftest.err
47095 } && test -s conftest.$ac_objext; then
47096 wxUSE_JOYSTICK=yes
47097
47098 else
47099 echo "$as_me: failed program was:" >&5
47100 sed 's/^/| /' conftest.$ac_ext >&5
47101
47102
47103 fi
47104
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106 ac_ext=c
47107 ac_cpp='$CPP $CPPFLAGS'
47108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111
47112 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47113 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47114 fi
47115
47116 else
47117 if test "$wxUSE_MGL" != "1"; then
47118
47119 for ac_header in linux/joystick.h
47120 do
47121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47125 echo $ECHO_N "(cached) $ECHO_C" >&6
47126 else
47127 cat >conftest.$ac_ext <<_ACEOF
47128 /* confdefs.h. */
47129 _ACEOF
47130 cat confdefs.h >>conftest.$ac_ext
47131 cat >>conftest.$ac_ext <<_ACEOF
47132 /* end confdefs.h. */
47133 $ac_includes_default
47134
47135 #include <$ac_header>
47136 _ACEOF
47137 rm -f conftest.$ac_objext
47138 if { (ac_try="$ac_compile"
47139 case "(($ac_try" in
47140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47141 *) ac_try_echo=$ac_try;;
47142 esac
47143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47144 (eval "$ac_compile") 2>conftest.er1
47145 ac_status=$?
47146 grep -v '^ *+' conftest.er1 >conftest.err
47147 rm -f conftest.er1
47148 cat conftest.err >&5
47149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47150 (exit $ac_status); } && {
47151 test -z "$ac_c_werror_flag" ||
47152 test ! -s conftest.err
47153 } && test -s conftest.$ac_objext; then
47154 eval "$as_ac_Header=yes"
47155 else
47156 echo "$as_me: failed program was:" >&5
47157 sed 's/^/| /' conftest.$ac_ext >&5
47158
47159 eval "$as_ac_Header=no"
47160 fi
47161
47162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47163 fi
47164 ac_res=`eval echo '${'$as_ac_Header'}'`
47165 { echo "$as_me:$LINENO: result: $ac_res" >&5
47166 echo "${ECHO_T}$ac_res" >&6; }
47167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47168 cat >>confdefs.h <<_ACEOF
47169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47170 _ACEOF
47171 wxUSE_JOYSTICK=yes
47172 fi
47173
47174 done
47175
47176 fi
47177 fi
47178
47179 if test "$wxUSE_JOYSTICK" = "yes"; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_JOYSTICK 1
47182 _ACEOF
47183
47184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47185 else
47186 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47187 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47188 fi
47189 fi
47190
47191
47192
47193 if test "$wxUSE_FONTENUM" = "yes" ; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_FONTENUM 1
47196 _ACEOF
47197
47198 fi
47199
47200 if test "$wxUSE_FONTMAP" = "yes" ; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_FONTMAP 1
47203 _ACEOF
47204
47205 fi
47206
47207 if test "$wxUSE_UNICODE" = "yes" ; then
47208 cat >>confdefs.h <<\_ACEOF
47209 #define wxUSE_UNICODE 1
47210 _ACEOF
47211
47212
47213 if test "$USE_WIN32" != 1; then
47214 wxUSE_UNICODE_MSLU=no
47215 fi
47216
47217 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47218 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47219 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47220 if test "${ac_cv_lib_unicows_main+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47222 else
47223 ac_check_lib_save_LIBS=$LIBS
47224 LIBS="-lunicows $LIBS"
47225 cat >conftest.$ac_ext <<_ACEOF
47226 /* confdefs.h. */
47227 _ACEOF
47228 cat confdefs.h >>conftest.$ac_ext
47229 cat >>conftest.$ac_ext <<_ACEOF
47230 /* end confdefs.h. */
47231
47232
47233 int
47234 main ()
47235 {
47236 return main ();
47237 ;
47238 return 0;
47239 }
47240 _ACEOF
47241 rm -f conftest.$ac_objext conftest$ac_exeext
47242 if { (ac_try="$ac_link"
47243 case "(($ac_try" in
47244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47245 *) ac_try_echo=$ac_try;;
47246 esac
47247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47248 (eval "$ac_link") 2>conftest.er1
47249 ac_status=$?
47250 grep -v '^ *+' conftest.er1 >conftest.err
47251 rm -f conftest.er1
47252 cat conftest.err >&5
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); } && {
47255 test -z "$ac_c_werror_flag" ||
47256 test ! -s conftest.err
47257 } && test -s conftest$ac_exeext &&
47258 $as_test_x conftest$ac_exeext; then
47259 ac_cv_lib_unicows_main=yes
47260 else
47261 echo "$as_me: failed program was:" >&5
47262 sed 's/^/| /' conftest.$ac_ext >&5
47263
47264 ac_cv_lib_unicows_main=no
47265 fi
47266
47267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47268 conftest$ac_exeext conftest.$ac_ext
47269 LIBS=$ac_check_lib_save_LIBS
47270 fi
47271 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47272 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47273 if test $ac_cv_lib_unicows_main = yes; then
47274
47275 cat >>confdefs.h <<\_ACEOF
47276 #define wxUSE_UNICODE_MSLU 1
47277 _ACEOF
47278
47279
47280 else
47281
47282 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47283 Applications will only run on Windows NT/2000/XP!" >&5
47284 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47285 Applications will only run on Windows NT/2000/XP!" >&2;}
47286 wxUSE_UNICODE_MSLU=no
47287
47288 fi
47289
47290 fi
47291 fi
47292
47293 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47294 cat >>confdefs.h <<\_ACEOF
47295 #define wxUSE_UNICODE_UTF8 1
47296 _ACEOF
47297
47298
47299 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_UTF8_LOCALE_ONLY 1
47302 _ACEOF
47303
47304 fi
47305 fi
47306
47307 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_EXPERIMENTAL_PRINTF 1
47310 _ACEOF
47311
47312 fi
47313
47314
47315 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_CONSTRAINTS 1
47318 _ACEOF
47319
47320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47321 fi
47322
47323 if test "$wxUSE_MDI" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_MDI 1
47326 _ACEOF
47327
47328
47329 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_MDI_ARCHITECTURE 1
47332 _ACEOF
47333
47334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47335 fi
47336 fi
47337
47338 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47341 _ACEOF
47342
47343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47344 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47346 fi
47347 fi
47348
47349 if test "$wxUSE_HELP" = "yes"; then
47350 cat >>confdefs.h <<\_ACEOF
47351 #define wxUSE_HELP 1
47352 _ACEOF
47353
47354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47355
47356 if test "$wxUSE_MSW" = 1; then
47357 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47358 cat >>confdefs.h <<\_ACEOF
47359 #define wxUSE_MS_HTML_HELP 1
47360 _ACEOF
47361
47362 fi
47363 fi
47364
47365 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47366 if test "$wxUSE_HTML" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_WXHTML_HELP 1
47369 _ACEOF
47370
47371 else
47372 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47373 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47374 wxUSE_WXHTML_HELP=no
47375 fi
47376 fi
47377 fi
47378
47379 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47380 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47381 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47382 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47383 else
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_PRINTING_ARCHITECTURE 1
47386 _ACEOF
47387
47388 fi
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47390 fi
47391
47392 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_POSTSCRIPT 1
47395 _ACEOF
47396
47397 fi
47398
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47401 _ACEOF
47402
47403
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_NORMALIZED_PS_FONTS 1
47406 _ACEOF
47407
47408
47409 if test "$wxUSE_SVG" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_SVG 1
47412 _ACEOF
47413
47414 fi
47415
47416
47417 if test "$wxUSE_METAFILE" = "yes"; then
47418 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47419 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47420 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47421 wxUSE_METAFILE=no
47422 fi
47423 fi
47424
47425
47426 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47427 -o "$wxUSE_CLIPBOARD" = "yes" \
47428 -o "$wxUSE_OLE" = "yes" \
47429 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47430 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47431 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47432 if test "${ac_cv_header_ole2_h+set}" = set; then
47433 echo $ECHO_N "(cached) $ECHO_C" >&6
47434 else
47435 cat >conftest.$ac_ext <<_ACEOF
47436 /* confdefs.h. */
47437 _ACEOF
47438 cat confdefs.h >>conftest.$ac_ext
47439 cat >>conftest.$ac_ext <<_ACEOF
47440 /* end confdefs.h. */
47441
47442
47443 #include <ole2.h>
47444 _ACEOF
47445 rm -f conftest.$ac_objext
47446 if { (ac_try="$ac_compile"
47447 case "(($ac_try" in
47448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47449 *) ac_try_echo=$ac_try;;
47450 esac
47451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47452 (eval "$ac_compile") 2>conftest.er1
47453 ac_status=$?
47454 grep -v '^ *+' conftest.er1 >conftest.err
47455 rm -f conftest.er1
47456 cat conftest.err >&5
47457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47458 (exit $ac_status); } && {
47459 test -z "$ac_c_werror_flag" ||
47460 test ! -s conftest.err
47461 } && test -s conftest.$ac_objext; then
47462 ac_cv_header_ole2_h=yes
47463 else
47464 echo "$as_me: failed program was:" >&5
47465 sed 's/^/| /' conftest.$ac_ext >&5
47466
47467 ac_cv_header_ole2_h=no
47468 fi
47469
47470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47471 fi
47472 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47473 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47474
47475
47476
47477 if test "$ac_cv_header_ole2_h" = "yes" ; then
47478 if test "$GCC" = yes ; then
47479 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47480 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47481 cat >conftest.$ac_ext <<_ACEOF
47482 /* confdefs.h. */
47483 _ACEOF
47484 cat confdefs.h >>conftest.$ac_ext
47485 cat >>conftest.$ac_ext <<_ACEOF
47486 /* end confdefs.h. */
47487 #include <windows.h>
47488 #include <ole2.h>
47489 int
47490 main ()
47491 {
47492
47493 ;
47494 return 0;
47495 }
47496 _ACEOF
47497 rm -f conftest.$ac_objext
47498 if { (ac_try="$ac_compile"
47499 case "(($ac_try" in
47500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47501 *) ac_try_echo=$ac_try;;
47502 esac
47503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47504 (eval "$ac_compile") 2>conftest.er1
47505 ac_status=$?
47506 grep -v '^ *+' conftest.er1 >conftest.err
47507 rm -f conftest.er1
47508 cat conftest.err >&5
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); } && {
47511 test -z "$ac_c_werror_flag" ||
47512 test ! -s conftest.err
47513 } && test -s conftest.$ac_objext; then
47514 { echo "$as_me:$LINENO: result: no" >&5
47515 echo "${ECHO_T}no" >&6; }
47516 else
47517 echo "$as_me: failed program was:" >&5
47518 sed 's/^/| /' conftest.$ac_ext >&5
47519
47520 { echo "$as_me:$LINENO: result: yes" >&5
47521 echo "${ECHO_T}yes" >&6; }
47522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47523 fi
47524
47525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47526 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47527 if test "$wxUSE_OLE" = "yes" ; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_OLE 1
47530 _ACEOF
47531
47532 cat >>confdefs.h <<\_ACEOF
47533 #define wxUSE_OLE_AUTOMATION 1
47534 _ACEOF
47535
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_ACTIVEX 1
47538 _ACEOF
47539
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47541 fi
47542 fi
47543
47544 if test "$wxUSE_DATAOBJ" = "yes" ; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_DATAOBJ 1
47547 _ACEOF
47548
47549 fi
47550 else
47551 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47552 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47553
47554 wxUSE_CLIPBOARD=no
47555 wxUSE_DRAG_AND_DROP=no
47556 wxUSE_DATAOBJ=no
47557 wxUSE_OLE=no
47558 fi
47559
47560 if test "$wxUSE_METAFILE" = "yes"; then
47561 cat >>confdefs.h <<\_ACEOF
47562 #define wxUSE_METAFILE 1
47563 _ACEOF
47564
47565
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_ENH_METAFILE 1
47568 _ACEOF
47569
47570 fi
47571 fi
47572
47573 if test "$wxUSE_IPC" = "yes"; then
47574 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47575 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47576 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47577 wxUSE_IPC=no
47578 fi
47579
47580 if test "$wxUSE_IPC" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_IPC 1
47583 _ACEOF
47584
47585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47586 fi
47587 fi
47588
47589 if test "$wxUSE_DATAOBJ" = "yes"; then
47590 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47591 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47592 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47593 wxUSE_DATAOBJ=no
47594 else
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_DATAOBJ 1
47597 _ACEOF
47598
47599 fi
47600 else
47601 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47602 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47603 wxUSE_CLIPBOARD=no
47604 wxUSE_DRAG_AND_DROP=no
47605 fi
47606
47607 if test "$wxUSE_CLIPBOARD" = "yes"; then
47608 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47609 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47610 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47611 wxUSE_CLIPBOARD=no
47612 fi
47613
47614 if test "$wxUSE_CLIPBOARD" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_CLIPBOARD 1
47617 _ACEOF
47618
47619 fi
47620 fi
47621
47622 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47623 if test "$wxUSE_GTK" = 1; then
47624 if test "$WXGTK12" != 1; then
47625 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47626 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47627 wxUSE_DRAG_AND_DROP=no
47628 fi
47629 fi
47630
47631 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47632 "$wxUSE_DFB" = 1; then
47633 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47634 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47635 wxUSE_DRAG_AND_DROP=no
47636 fi
47637
47638 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_DRAG_AND_DROP 1
47641 _ACEOF
47642
47643 fi
47644
47645 fi
47646
47647 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47649 fi
47650
47651 if test "$wxUSE_SPLINES" = "yes" ; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define wxUSE_SPLINES 1
47654 _ACEOF
47655
47656 fi
47657
47658 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_MOUSEWHEEL 1
47661 _ACEOF
47662
47663 fi
47664
47665
47666 USES_CONTROLS=0
47667 if test "$wxUSE_CONTROLS" = "yes"; then
47668 USES_CONTROLS=1
47669 fi
47670
47671 if test "$wxUSE_ACCEL" = "yes"; then
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_ACCEL 1
47674 _ACEOF
47675
47676 USES_CONTROLS=1
47677 fi
47678
47679 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47680 cat >>confdefs.h <<\_ACEOF
47681 #define wxUSE_ANIMATIONCTRL 1
47682 _ACEOF
47683
47684 USES_CONTROLS=1
47685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47686 fi
47687
47688 if test "$wxUSE_BUTTON" = "yes"; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_BUTTON 1
47691 _ACEOF
47692
47693 USES_CONTROLS=1
47694 fi
47695
47696 if test "$wxUSE_BMPBUTTON" = "yes"; then
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_BMPBUTTON 1
47699 _ACEOF
47700
47701 USES_CONTROLS=1
47702 fi
47703
47704 if test "$wxUSE_CALCTRL" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_CALENDARCTRL 1
47707 _ACEOF
47708
47709 USES_CONTROLS=1
47710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47711 fi
47712
47713 if test "$wxUSE_CARET" = "yes"; then
47714 cat >>confdefs.h <<\_ACEOF
47715 #define wxUSE_CARET 1
47716 _ACEOF
47717
47718 USES_CONTROLS=1
47719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47720 fi
47721
47722 if test "$wxUSE_COLLPANE" = "yes"; then
47723 cat >>confdefs.h <<\_ACEOF
47724 #define wxUSE_COLLPANE 1
47725 _ACEOF
47726
47727 USES_CONTROLS=1
47728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47729 fi
47730
47731 if test "$wxUSE_COMBOBOX" = "yes"; then
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_COMBOBOX 1
47734 _ACEOF
47735
47736 USES_CONTROLS=1
47737 fi
47738
47739 if test "$wxUSE_COMBOCTRL" = "yes"; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_COMBOCTRL 1
47742 _ACEOF
47743
47744 USES_CONTROLS=1
47745 fi
47746
47747 if test "$wxUSE_CHOICE" = "yes"; then
47748 cat >>confdefs.h <<\_ACEOF
47749 #define wxUSE_CHOICE 1
47750 _ACEOF
47751
47752 USES_CONTROLS=1
47753 fi
47754
47755 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_CHOICEBOOK 1
47758 _ACEOF
47759
47760 USES_CONTROLS=1
47761 fi
47762
47763 if test "$wxUSE_CHECKBOX" = "yes"; then
47764 cat >>confdefs.h <<\_ACEOF
47765 #define wxUSE_CHECKBOX 1
47766 _ACEOF
47767
47768 USES_CONTROLS=1
47769 fi
47770
47771 if test "$wxUSE_CHECKLST" = "yes"; then
47772 cat >>confdefs.h <<\_ACEOF
47773 #define wxUSE_CHECKLISTBOX 1
47774 _ACEOF
47775
47776 USES_CONTROLS=1
47777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47778 fi
47779
47780 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_COLOURPICKERCTRL 1
47783 _ACEOF
47784
47785 USES_CONTROLS=1
47786 fi
47787
47788 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_DATEPICKCTRL 1
47791 _ACEOF
47792
47793 USES_CONTROLS=1
47794 fi
47795
47796 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_DIRPICKERCTRL 1
47799 _ACEOF
47800
47801 USES_CONTROLS=1
47802 fi
47803
47804 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_FILEPICKERCTRL 1
47807 _ACEOF
47808
47809 USES_CONTROLS=1
47810 fi
47811
47812 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_FONTPICKERCTRL 1
47815 _ACEOF
47816
47817 USES_CONTROLS=1
47818 fi
47819
47820 if test "$wxUSE_DISPLAY" = "yes"; then
47821 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47822 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47823 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47824 wxUSE_DISPLAY=no
47825 else
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_DISPLAY 1
47828 _ACEOF
47829
47830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47831 fi
47832 fi
47833
47834 if test "$wxUSE_DETECT_SM" = "yes"; then
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_DETECT_SM 1
47837 _ACEOF
47838
47839 fi
47840
47841 if test "$wxUSE_GAUGE" = "yes"; then
47842 cat >>confdefs.h <<\_ACEOF
47843 #define wxUSE_GAUGE 1
47844 _ACEOF
47845
47846 USES_CONTROLS=1
47847 fi
47848
47849 if test "$wxUSE_GRID" = "yes"; then
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_GRID 1
47852 _ACEOF
47853
47854 USES_CONTROLS=1
47855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47856 fi
47857
47858 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47859 cat >>confdefs.h <<\_ACEOF
47860 #define wxUSE_HYPERLINKCTRL 1
47861 _ACEOF
47862
47863 USES_CONTROLS=1
47864 fi
47865
47866 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47867 cat >>confdefs.h <<\_ACEOF
47868 #define wxUSE_BITMAPCOMBOBOX 1
47869 _ACEOF
47870
47871 USES_CONTROLS=1
47872 fi
47873
47874 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_DATAVIEWCTRL 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47881 fi
47882
47883 if test "$wxUSE_IMAGLIST" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_IMAGLIST 1
47886 _ACEOF
47887
47888 fi
47889
47890 if test "$wxUSE_LISTBOOK" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_LISTBOOK 1
47893 _ACEOF
47894
47895 USES_CONTROLS=1
47896 fi
47897
47898 if test "$wxUSE_LISTBOX" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_LISTBOX 1
47901 _ACEOF
47902
47903 USES_CONTROLS=1
47904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47905 fi
47906
47907 if test "$wxUSE_LISTCTRL" = "yes"; then
47908 if test "$wxUSE_IMAGLIST" = "yes"; then
47909 cat >>confdefs.h <<\_ACEOF
47910 #define wxUSE_LISTCTRL 1
47911 _ACEOF
47912
47913 USES_CONTROLS=1
47914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47915 else
47916 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47917 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47918 fi
47919 fi
47920
47921 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_EDITABLELISTBOX 1
47924 _ACEOF
47925
47926 USES_CONTROLS=1
47927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47928 fi
47929
47930 if test "$wxUSE_NOTEBOOK" = "yes"; then
47931 cat >>confdefs.h <<\_ACEOF
47932 #define wxUSE_NOTEBOOK 1
47933 _ACEOF
47934
47935 USES_CONTROLS=1
47936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47937 fi
47938
47939 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47940 cat >>confdefs.h <<\_ACEOF
47941 #define wxUSE_ODCOMBOBOX 1
47942 _ACEOF
47943
47944 USES_CONTROLS=1
47945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47946 fi
47947
47948
47949 if test "$wxUSE_RADIOBOX" = "yes"; then
47950 cat >>confdefs.h <<\_ACEOF
47951 #define wxUSE_RADIOBOX 1
47952 _ACEOF
47953
47954 USES_CONTROLS=1
47955 fi
47956
47957 if test "$wxUSE_RADIOBTN" = "yes"; then
47958 cat >>confdefs.h <<\_ACEOF
47959 #define wxUSE_RADIOBTN 1
47960 _ACEOF
47961
47962 USES_CONTROLS=1
47963 fi
47964
47965 if test "$wxUSE_SASH" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_SASH 1
47968 _ACEOF
47969
47970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47971 fi
47972
47973 if test "$wxUSE_SCROLLBAR" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_SCROLLBAR 1
47976 _ACEOF
47977
47978 USES_CONTROLS=1
47979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47980 fi
47981
47982 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_SEARCHCTRL 1
47985 _ACEOF
47986
47987 USES_CONTROLS=1
47988 fi
47989
47990 if test "$wxUSE_SLIDER" = "yes"; then
47991 cat >>confdefs.h <<\_ACEOF
47992 #define wxUSE_SLIDER 1
47993 _ACEOF
47994
47995 USES_CONTROLS=1
47996 fi
47997
47998 if test "$wxUSE_SPINBTN" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_SPINBTN 1
48001 _ACEOF
48002
48003 USES_CONTROLS=1
48004 fi
48005
48006 if test "$wxUSE_SPINCTRL" = "yes"; then
48007 cat >>confdefs.h <<\_ACEOF
48008 #define wxUSE_SPINCTRL 1
48009 _ACEOF
48010
48011 USES_CONTROLS=1
48012 fi
48013
48014 if test "$wxUSE_SPLITTER" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_SPLITTER 1
48017 _ACEOF
48018
48019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48020 fi
48021
48022 if test "$wxUSE_STATBMP" = "yes"; then
48023 cat >>confdefs.h <<\_ACEOF
48024 #define wxUSE_STATBMP 1
48025 _ACEOF
48026
48027 USES_CONTROLS=1
48028 fi
48029
48030 if test "$wxUSE_STATBOX" = "yes"; then
48031 cat >>confdefs.h <<\_ACEOF
48032 #define wxUSE_STATBOX 1
48033 _ACEOF
48034
48035 USES_CONTROLS=1
48036 fi
48037
48038 if test "$wxUSE_STATTEXT" = "yes"; then
48039 cat >>confdefs.h <<\_ACEOF
48040 #define wxUSE_STATTEXT 1
48041 _ACEOF
48042
48043 USES_CONTROLS=1
48044 fi
48045
48046 if test "$wxUSE_STATLINE" = "yes"; then
48047 cat >>confdefs.h <<\_ACEOF
48048 #define wxUSE_STATLINE 1
48049 _ACEOF
48050
48051 USES_CONTROLS=1
48052 fi
48053
48054 if test "$wxUSE_STATUSBAR" = "yes"; then
48055 cat >>confdefs.h <<\_ACEOF
48056 #define wxUSE_NATIVE_STATUSBAR 1
48057 _ACEOF
48058
48059 cat >>confdefs.h <<\_ACEOF
48060 #define wxUSE_STATUSBAR 1
48061 _ACEOF
48062
48063 USES_CONTROLS=1
48064
48065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48066 fi
48067
48068 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_TAB_DIALOG 1
48071 _ACEOF
48072
48073 fi
48074
48075 if test "$wxUSE_TEXTCTRL" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_TEXTCTRL 1
48078 _ACEOF
48079
48080 USES_CONTROLS=1
48081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48082 fi
48083
48084 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48085 if test "$wxUSE_COCOA" = 1 ; then
48086 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48087 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48088 wxUSE_TOGGLEBTN=no
48089 fi
48090
48091 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_TOGGLEBTN 1
48094 _ACEOF
48095
48096 USES_CONTROLS=1
48097 fi
48098 fi
48099
48100 if test "$wxUSE_TOOLBAR" = "yes"; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_TOOLBAR 1
48103 _ACEOF
48104
48105 USES_CONTROLS=1
48106
48107 if test "$wxUSE_UNIVERSAL" = "yes"; then
48108 wxUSE_TOOLBAR_NATIVE="no"
48109 else
48110 wxUSE_TOOLBAR_NATIVE="yes"
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_TOOLBAR_NATIVE 1
48113 _ACEOF
48114
48115 fi
48116
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48118 fi
48119
48120 if test "$wxUSE_TOOLTIPS" = "yes"; then
48121 if test "$wxUSE_MOTIF" = 1; then
48122 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48123 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48124 else
48125 if test "$wxUSE_UNIVERSAL" = "yes"; then
48126 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48127 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48128 else
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_TOOLTIPS 1
48131 _ACEOF
48132
48133 fi
48134 fi
48135 fi
48136
48137 if test "$wxUSE_TREEBOOK" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_TREEBOOK 1
48140 _ACEOF
48141
48142 USES_CONTROLS=1
48143 fi
48144
48145 if test "$wxUSE_TOOLBOOK" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_TOOLBOOK 1
48148 _ACEOF
48149
48150 USES_CONTROLS=1
48151 fi
48152
48153 if test "$wxUSE_TREECTRL" = "yes"; then
48154 if test "$wxUSE_IMAGLIST" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_TREECTRL 1
48157 _ACEOF
48158
48159 USES_CONTROLS=1
48160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48161 else
48162 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48163 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48164 fi
48165 fi
48166
48167 if test "$wxUSE_POPUPWIN" = "yes"; then
48168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48169 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48170 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48171 else
48172 if test "$wxUSE_PM" = 1; then
48173 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48174 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48175 else
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_POPUPWIN 1
48178 _ACEOF
48179
48180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48181
48182 USES_CONTROLS=1
48183 fi
48184 fi
48185 fi
48186
48187 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48188 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48189 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48190 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48191 else
48192 cat >>confdefs.h <<\_ACEOF
48193 #define wxUSE_DIALUP_MANAGER 1
48194 _ACEOF
48195
48196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48197 fi
48198 fi
48199
48200 if test "$wxUSE_TIPWINDOW" = "yes"; then
48201 if test "$wxUSE_PM" = 1; then
48202 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48203 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48204 else
48205 cat >>confdefs.h <<\_ACEOF
48206 #define wxUSE_TIPWINDOW 1
48207 _ACEOF
48208
48209 fi
48210 fi
48211
48212 if test "$USES_CONTROLS" = 1; then
48213 cat >>confdefs.h <<\_ACEOF
48214 #define wxUSE_CONTROLS 1
48215 _ACEOF
48216
48217 fi
48218
48219
48220 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48221 cat >>confdefs.h <<\_ACEOF
48222 #define wxUSE_ACCESSIBILITY 1
48223 _ACEOF
48224
48225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48226 fi
48227
48228 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48229 cat >>confdefs.h <<\_ACEOF
48230 #define wxUSE_DRAGIMAGE 1
48231 _ACEOF
48232
48233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48234 fi
48235
48236 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48237 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48238 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48239 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48240 else
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_EXCEPTIONS 1
48243 _ACEOF
48244
48245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48246 fi
48247 fi
48248
48249 USE_HTML=0
48250 if test "$wxUSE_HTML" = "yes"; then
48251 cat >>confdefs.h <<\_ACEOF
48252 #define wxUSE_HTML 1
48253 _ACEOF
48254
48255 USE_HTML=1
48256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48257 if test "$wxUSE_MAC" = 1; then
48258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48259 fi
48260 fi
48261 if test "$wxUSE_WEBKIT" = "yes"; then
48262 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48263 old_CPPFLAGS="$CPPFLAGS"
48264 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48265 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48266 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48267 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48268 echo $ECHO_N "(cached) $ECHO_C" >&6
48269 else
48270 cat >conftest.$ac_ext <<_ACEOF
48271 /* confdefs.h. */
48272 _ACEOF
48273 cat confdefs.h >>conftest.$ac_ext
48274 cat >>conftest.$ac_ext <<_ACEOF
48275 /* end confdefs.h. */
48276
48277 #include <Carbon/Carbon.h>
48278 #include <WebKit/WebKit.h>
48279
48280
48281 #include <WebKit/HIWebView.h>
48282 _ACEOF
48283 rm -f conftest.$ac_objext
48284 if { (ac_try="$ac_compile"
48285 case "(($ac_try" in
48286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48287 *) ac_try_echo=$ac_try;;
48288 esac
48289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48290 (eval "$ac_compile") 2>conftest.er1
48291 ac_status=$?
48292 grep -v '^ *+' conftest.er1 >conftest.err
48293 rm -f conftest.er1
48294 cat conftest.err >&5
48295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48296 (exit $ac_status); } && {
48297 test -z "$ac_c_werror_flag" ||
48298 test ! -s conftest.err
48299 } && test -s conftest.$ac_objext; then
48300 ac_cv_header_WebKit_HIWebView_h=yes
48301 else
48302 echo "$as_me: failed program was:" >&5
48303 sed 's/^/| /' conftest.$ac_ext >&5
48304
48305 ac_cv_header_WebKit_HIWebView_h=no
48306 fi
48307
48308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48309 fi
48310 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48311 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48312 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48313
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_WEBKIT 1
48316 _ACEOF
48317
48318 WEBKIT_LINK="-framework WebKit"
48319
48320 else
48321
48322 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48323 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48324 wxUSE_WEBKIT=no
48325
48326 fi
48327
48328
48329 CPPFLAGS="$old_CPPFLAGS"
48330 elif test "$wxUSE_COCOA" = 1; then
48331 cat >>confdefs.h <<\_ACEOF
48332 #define wxUSE_WEBKIT 1
48333 _ACEOF
48334
48335 else
48336 wxUSE_WEBKIT=no
48337 fi
48338 fi
48339
48340 USE_XRC=0
48341 if test "$wxUSE_XRC" = "yes"; then
48342 if test "$wxUSE_XML" != "yes"; then
48343 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48344 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48345 wxUSE_XRC=no
48346 else
48347 cat >>confdefs.h <<\_ACEOF
48348 #define wxUSE_XRC 1
48349 _ACEOF
48350
48351 USE_XRC=1
48352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48353 fi
48354 fi
48355
48356 USE_AUI=0
48357 if test "$wxUSE_AUI" = "yes"; then
48358 cat >>confdefs.h <<\_ACEOF
48359 #define wxUSE_AUI 1
48360 _ACEOF
48361
48362 USE_AUI=1
48363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48364 fi
48365
48366 USE_STC=0
48367 if test "$wxUSE_STC" = "yes"; then
48368 cat >>confdefs.h <<\_ACEOF
48369 #define wxUSE_STC 1
48370 _ACEOF
48371
48372 USE_STC=1
48373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48374 fi
48375
48376 if test "$wxUSE_MENUS" = "yes"; then
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_MENUS 1
48379 _ACEOF
48380
48381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48382 fi
48383
48384 if test "$wxUSE_METAFILE" = "yes"; then
48385 cat >>confdefs.h <<\_ACEOF
48386 #define wxUSE_METAFILE 1
48387 _ACEOF
48388
48389 fi
48390
48391 if test "$wxUSE_MIMETYPE" = "yes"; then
48392 cat >>confdefs.h <<\_ACEOF
48393 #define wxUSE_MIMETYPE 1
48394 _ACEOF
48395
48396 fi
48397
48398 if test "$wxUSE_MINIFRAME" = "yes"; then
48399 cat >>confdefs.h <<\_ACEOF
48400 #define wxUSE_MINIFRAME 1
48401 _ACEOF
48402
48403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48404 fi
48405
48406 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48407 cat >>confdefs.h <<\_ACEOF
48408 #define wxUSE_SYSTEM_OPTIONS 1
48409 _ACEOF
48410
48411 fi
48412
48413 if test "$wxUSE_TASKBARICON" = "yes"; then
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_TASKBARICON 1
48416 _ACEOF
48417
48418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48419 fi
48420
48421
48422 if test "$wxUSE_VALIDATORS" = "yes"; then
48423 cat >>confdefs.h <<\_ACEOF
48424 #define wxUSE_VALIDATORS 1
48425 _ACEOF
48426
48427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48428 fi
48429
48430 if test "$wxUSE_PALETTE" = "yes" ; then
48431 if test "$wxUSE_DFB" = 1; then
48432 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48433 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48434 wxUSE_PALETTE=no
48435 else
48436 cat >>confdefs.h <<\_ACEOF
48437 #define wxUSE_PALETTE 1
48438 _ACEOF
48439
48440 fi
48441 fi
48442
48443 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48444 LIBS=" -lunicows $LIBS"
48445 fi
48446
48447 USE_RICHTEXT=0
48448 if test "$wxUSE_RICHTEXT" = "yes"; then
48449 cat >>confdefs.h <<\_ACEOF
48450 #define wxUSE_RICHTEXT 1
48451 _ACEOF
48452
48453 USE_RICHTEXT=1
48454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48455 fi
48456
48457
48458 if test "$wxUSE_IMAGE" = "yes" ; then
48459 cat >>confdefs.h <<\_ACEOF
48460 #define wxUSE_IMAGE 1
48461 _ACEOF
48462
48463
48464 if test "$wxUSE_GIF" = "yes" ; then
48465 cat >>confdefs.h <<\_ACEOF
48466 #define wxUSE_GIF 1
48467 _ACEOF
48468
48469 fi
48470
48471 if test "$wxUSE_PCX" = "yes" ; then
48472 cat >>confdefs.h <<\_ACEOF
48473 #define wxUSE_PCX 1
48474 _ACEOF
48475
48476 fi
48477
48478 if test "$wxUSE_TGA" = "yes" ; then
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_TGA 1
48481 _ACEOF
48482
48483 fi
48484
48485 if test "$wxUSE_IFF" = "yes" ; then
48486 cat >>confdefs.h <<\_ACEOF
48487 #define wxUSE_IFF 1
48488 _ACEOF
48489
48490 fi
48491
48492 if test "$wxUSE_PNM" = "yes" ; then
48493 cat >>confdefs.h <<\_ACEOF
48494 #define wxUSE_PNM 1
48495 _ACEOF
48496
48497 fi
48498
48499 if test "$wxUSE_XPM" = "yes" ; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_XPM 1
48502 _ACEOF
48503
48504 fi
48505
48506 if test "$wxUSE_ICO_CUR" = "yes" ; then
48507 cat >>confdefs.h <<\_ACEOF
48508 #define wxUSE_ICO_CUR 1
48509 _ACEOF
48510
48511 fi
48512 fi
48513
48514
48515 if test "$wxUSE_ABOUTDLG" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_ABOUTDLG 1
48518 _ACEOF
48519
48520 fi
48521
48522 if test "$wxUSE_CHOICEDLG" = "yes"; then
48523 cat >>confdefs.h <<\_ACEOF
48524 #define wxUSE_CHOICEDLG 1
48525 _ACEOF
48526
48527 fi
48528
48529 if test "$wxUSE_COLOURDLG" = "yes"; then
48530 cat >>confdefs.h <<\_ACEOF
48531 #define wxUSE_COLOURDLG 1
48532 _ACEOF
48533
48534 fi
48535
48536 if test "$wxUSE_FILEDLG" = "yes"; then
48537 cat >>confdefs.h <<\_ACEOF
48538 #define wxUSE_FILEDLG 1
48539 _ACEOF
48540
48541 fi
48542
48543 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define wxUSE_FINDREPLDLG 1
48546 _ACEOF
48547
48548 fi
48549
48550 if test "$wxUSE_FONTDLG" = "yes"; then
48551 cat >>confdefs.h <<\_ACEOF
48552 #define wxUSE_FONTDLG 1
48553 _ACEOF
48554
48555 fi
48556
48557 if test "$wxUSE_DIRDLG" = "yes"; then
48558 if test "$wxUSE_TREECTRL" != "yes"; then
48559 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48560 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48561 else
48562 cat >>confdefs.h <<\_ACEOF
48563 #define wxUSE_DIRDLG 1
48564 _ACEOF
48565
48566 fi
48567 fi
48568
48569 if test "$wxUSE_MSGDLG" = "yes"; then
48570 cat >>confdefs.h <<\_ACEOF
48571 #define wxUSE_MSGDLG 1
48572 _ACEOF
48573
48574 fi
48575
48576 if test "$wxUSE_NUMBERDLG" = "yes"; then
48577 cat >>confdefs.h <<\_ACEOF
48578 #define wxUSE_NUMBERDLG 1
48579 _ACEOF
48580
48581 fi
48582
48583 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48584 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48585 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48586 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48587 else
48588 cat >>confdefs.h <<\_ACEOF
48589 #define wxUSE_PROGRESSDLG 1
48590 _ACEOF
48591
48592 fi
48593 fi
48594
48595 if test "$wxUSE_SPLASH" = "yes"; then
48596 cat >>confdefs.h <<\_ACEOF
48597 #define wxUSE_SPLASH 1
48598 _ACEOF
48599
48600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48601 fi
48602
48603 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48604 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48605 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48606 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48607 else
48608 cat >>confdefs.h <<\_ACEOF
48609 #define wxUSE_STARTUP_TIPS 1
48610 _ACEOF
48611
48612 fi
48613 fi
48614
48615 if test "$wxUSE_TEXTDLG" = "yes"; then
48616 cat >>confdefs.h <<\_ACEOF
48617 #define wxUSE_TEXTDLG 1
48618 _ACEOF
48619
48620 fi
48621
48622 if test "$wxUSE_WIZARDDLG" = "yes"; then
48623 cat >>confdefs.h <<\_ACEOF
48624 #define wxUSE_WIZARDDLG 1
48625 _ACEOF
48626
48627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48628 fi
48629
48630
48631 if test "$wxUSE_MSW" = 1 ; then
48632
48633 if test "$wxUSE_DC_CACHEING" = "yes"; then
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_DC_CACHEING 1
48636 _ACEOF
48637
48638 fi
48639
48640 if test "$wxUSE_DIB" = "yes"; then
48641 cat >>confdefs.h <<\_ACEOF
48642 #define wxUSE_WXDIB 1
48643 _ACEOF
48644
48645 fi
48646
48647 if test "$wxUSE_REGKEY" = "yes"; then
48648 cat >>confdefs.h <<\_ACEOF
48649 #define wxUSE_REGKEY 1
48650 _ACEOF
48651
48652 fi
48653
48654 if test "$wxUSE_UXTHEME" = "yes"; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_UXTHEME 1
48657 _ACEOF
48658
48659 fi
48660
48661 fi
48662
48663
48664 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48665 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48666 cat >>confdefs.h <<\_ACEOF
48667 #define wxUSE_GRAPHICS_CONTEXT 1
48668 _ACEOF
48669
48670 elif test "$wxUSE_GTK" != 1; then
48671 cat >>confdefs.h <<\_ACEOF
48672 #define wxUSE_GRAPHICS_CONTEXT 1
48673 _ACEOF
48674
48675 else
48676
48677 pkg_failed=no
48678 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48679 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48680
48681 if test -n "$PKG_CONFIG"; then
48682 if test -n "$CAIRO_CFLAGS"; then
48683 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48684 else
48685 if test -n "$PKG_CONFIG" && \
48686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48687 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48688 ac_status=$?
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); }; then
48691 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48692 else
48693 pkg_failed=yes
48694 fi
48695 fi
48696 else
48697 pkg_failed=untried
48698 fi
48699 if test -n "$PKG_CONFIG"; then
48700 if test -n "$CAIRO_LIBS"; then
48701 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48702 else
48703 if test -n "$PKG_CONFIG" && \
48704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48705 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48706 ac_status=$?
48707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48708 (exit $ac_status); }; then
48709 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48710 else
48711 pkg_failed=yes
48712 fi
48713 fi
48714 else
48715 pkg_failed=untried
48716 fi
48717
48718
48719
48720 if test $pkg_failed = yes; then
48721
48722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48723 _pkg_short_errors_supported=yes
48724 else
48725 _pkg_short_errors_supported=no
48726 fi
48727 if test $_pkg_short_errors_supported = yes; then
48728 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48729 else
48730 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48731 fi
48732 # Put the nasty error message in config.log where it belongs
48733 echo "$CAIRO_PKG_ERRORS" >&5
48734
48735 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48736 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48737
48738 elif test $pkg_failed = untried; then
48739 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
48740 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
48741
48742 else
48743 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48744 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48745 { echo "$as_me:$LINENO: result: yes" >&5
48746 echo "${ECHO_T}yes" >&6; }
48747 cat >>confdefs.h <<\_ACEOF
48748 #define wxUSE_GRAPHICS_CONTEXT 1
48749 _ACEOF
48750
48751 fi
48752 fi
48753 fi
48754
48755
48756 USE_MEDIA=0
48757
48758 if test "$wxUSE_MEDIACTRL" = "yes"; then
48759 USE_MEDIA=1
48760
48761 if test "$wxUSE_GTK" = 1; then
48762 wxUSE_GSTREAMER="no"
48763
48764 GST_VERSION_MAJOR=0
48765 GST_VERSION_MINOR=10
48766 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48767
48768 if test "$wxUSE_GSTREAMER8" = "no"; then
48769
48770 pkg_failed=no
48771 { echo "$as_me:$LINENO: checking for GST" >&5
48772 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48773
48774 if test -n "$PKG_CONFIG"; then
48775 if test -n "$GST_CFLAGS"; then
48776 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48777 else
48778 if test -n "$PKG_CONFIG" && \
48779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48780 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48781 ac_status=$?
48782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48783 (exit $ac_status); }; then
48784 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48785 else
48786 pkg_failed=yes
48787 fi
48788 fi
48789 else
48790 pkg_failed=untried
48791 fi
48792 if test -n "$PKG_CONFIG"; then
48793 if test -n "$GST_LIBS"; then
48794 pkg_cv_GST_LIBS="$GST_LIBS"
48795 else
48796 if test -n "$PKG_CONFIG" && \
48797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48798 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48799 ac_status=$?
48800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48801 (exit $ac_status); }; then
48802 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48803 else
48804 pkg_failed=yes
48805 fi
48806 fi
48807 else
48808 pkg_failed=untried
48809 fi
48810
48811
48812
48813 if test $pkg_failed = yes; then
48814
48815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48816 _pkg_short_errors_supported=yes
48817 else
48818 _pkg_short_errors_supported=no
48819 fi
48820 if test $_pkg_short_errors_supported = yes; then
48821 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48822 else
48823 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48824 fi
48825 # Put the nasty error message in config.log where it belongs
48826 echo "$GST_PKG_ERRORS" >&5
48827
48828
48829 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48830 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48831 GST_VERSION_MINOR=8
48832
48833
48834 elif test $pkg_failed = untried; then
48835
48836 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48837 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48838 GST_VERSION_MINOR=8
48839
48840
48841 else
48842 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48843 GST_LIBS=$pkg_cv_GST_LIBS
48844 { echo "$as_me:$LINENO: result: yes" >&5
48845 echo "${ECHO_T}yes" >&6; }
48846
48847 wxUSE_GSTREAMER="yes"
48848 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48849
48850 fi
48851 else
48852 GST_VERSION_MINOR=8
48853 fi
48854
48855 if test $GST_VERSION_MINOR = "8"; then
48856 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48857
48858 pkg_failed=no
48859 { echo "$as_me:$LINENO: checking for GST" >&5
48860 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48861
48862 if test -n "$PKG_CONFIG"; then
48863 if test -n "$GST_CFLAGS"; then
48864 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48865 else
48866 if test -n "$PKG_CONFIG" && \
48867 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48868 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48869 ac_status=$?
48870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871 (exit $ac_status); }; then
48872 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48873 else
48874 pkg_failed=yes
48875 fi
48876 fi
48877 else
48878 pkg_failed=untried
48879 fi
48880 if test -n "$PKG_CONFIG"; then
48881 if test -n "$GST_LIBS"; then
48882 pkg_cv_GST_LIBS="$GST_LIBS"
48883 else
48884 if test -n "$PKG_CONFIG" && \
48885 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48886 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48887 ac_status=$?
48888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48889 (exit $ac_status); }; then
48890 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48891 else
48892 pkg_failed=yes
48893 fi
48894 fi
48895 else
48896 pkg_failed=untried
48897 fi
48898
48899
48900
48901 if test $pkg_failed = yes; then
48902
48903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48904 _pkg_short_errors_supported=yes
48905 else
48906 _pkg_short_errors_supported=no
48907 fi
48908 if test $_pkg_short_errors_supported = yes; then
48909 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48910 else
48911 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48912 fi
48913 # Put the nasty error message in config.log where it belongs
48914 echo "$GST_PKG_ERRORS" >&5
48915
48916
48917 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48918 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48919
48920 elif test $pkg_failed = untried; then
48921
48922 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48923 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48924
48925 else
48926 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48927 GST_LIBS=$pkg_cv_GST_LIBS
48928 { echo "$as_me:$LINENO: result: yes" >&5
48929 echo "${ECHO_T}yes" >&6; }
48930 wxUSE_GSTREAMER="yes"
48931 fi
48932 fi
48933
48934
48935 if test "$wxUSE_GSTREAMER" = "yes"; then
48936 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48937 LIBS="$GST_LIBS $LIBS"
48938
48939 cat >>confdefs.h <<\_ACEOF
48940 #define wxUSE_GSTREAMER 1
48941 _ACEOF
48942
48943 else
48944 USE_MEDIA=0
48945 fi
48946 fi
48947
48948 if test $USE_MEDIA = 1; then
48949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48950 cat >>confdefs.h <<\_ACEOF
48951 #define wxUSE_MEDIACTRL 1
48952 _ACEOF
48953
48954 fi
48955 fi
48956
48957
48958 if test "$cross_compiling" = "yes"; then
48959 OSINFO="\"$host\""
48960 else
48961 OSINFO=`uname -s -r -m`
48962 OSINFO="\"$OSINFO\""
48963 fi
48964
48965 cat >>confdefs.h <<_ACEOF
48966 #define WXWIN_OS_DESCRIPTION $OSINFO
48967 _ACEOF
48968
48969
48970
48971 if test "x$prefix" != "xNONE"; then
48972 wxPREFIX=$prefix
48973 else
48974 wxPREFIX=$ac_default_prefix
48975 fi
48976
48977 cat >>confdefs.h <<_ACEOF
48978 #define wxINSTALL_PREFIX "$wxPREFIX"
48979 _ACEOF
48980
48981
48982
48983
48984 STD_BASE_LIBS="base"
48985 STD_GUI_LIBS=""
48986 BUILT_WX_LIBS="base"
48987 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48988
48989 if test "$wxUSE_SOCKETS" = "yes" ; then
48990 STD_BASE_LIBS="net $STD_BASE_LIBS"
48991 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48992 fi
48993 if test "$wxUSE_ODBC" != "no" ; then
48994 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48995 fi
48996 if test "$wxUSE_XML" = "yes" ; then
48997 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48998 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48999 fi
49000
49001 if test "$wxUSE_GUI" = "yes"; then
49002 STD_GUI_LIBS="adv core"
49003 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49004
49005 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49006 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49007 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49008 fi
49009 if test "$wxUSE_ODBC" != "no" ; then
49010 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49011 fi
49012 if test "$wxUSE_HTML" = "yes" ; then
49013 STD_GUI_LIBS="html $STD_GUI_LIBS"
49014 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49015 fi
49016 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49017 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49018 fi
49019 if test "$wxUSE_OPENGL" = "yes" ; then
49020 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49021 fi
49022 if test "$wxUSE_AUI" = "yes" ; then
49023 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49024 fi
49025 if test "$wxUSE_STC" = "yes" ; then
49026 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49027 fi
49028 if test "$wxUSE_XRC" = "yes" ; then
49029 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49030 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49031 fi
49032 fi
49033
49034
49035
49036
49037
49038
49039
49040
49041 if test "$wxUSE_MAC" = 1 ; then
49042 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49043 if test "$USE_DARWIN" = 1; then
49044 LDFLAGS="$LDFLAGS -framework QuickTime"
49045 else
49046 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49047 fi
49048 fi
49049 if test "$USE_DARWIN" = 1; then
49050 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49051 else
49052 LDFLAGS="$LDFLAGS -lCarbonLib"
49053 fi
49054 fi
49055 if test "$wxUSE_COCOA" = 1 ; then
49056 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49057 if test "$wxUSE_MEDIACTRL" = "yes"; then
49058 LDFLAGS="$LDFLAGS -framework QuickTime"
49059 fi
49060 fi
49061 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49062 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49063 fi
49064
49065 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49066
49067 if test "$wxUSE_GUI" = "yes"; then
49068
49069
49070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49071 dynamic erase event exec font image minimal mobile \
49072 mobile/wxedit mobile/styles propsize render \
49073 rotate shaped svg taborder vscroll widgets"
49074
49075 if test "$wxUSE_MONOLITHIC" != "yes"; then
49076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49077 fi
49078 if test "$TOOLKIT" = "MSW"; then
49079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49080 if test "$wxUSE_UNIVERSAL" != "yes"; then
49081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49082 fi
49083 fi
49084 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49086 fi
49087 else
49088 SAMPLES_SUBDIRS="console"
49089 fi
49090
49091
49092 if test "x$INTELCC" = "xyes" ; then
49093 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49094 elif test "$GCC" = yes ; then
49095 CWARNINGS="-Wall -Wundef"
49096 fi
49097
49098 if test "x$INTELCXX" = "xyes" ; then
49099 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49100 elif test "$GXX" = yes ; then
49101 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49102 fi
49103
49104
49105 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49106 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49107
49108
49109 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49110 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49111 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49112 $CPPFLAGS `
49113
49114 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49115 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49116 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49117
49118 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49119
49120
49121 if test "x$MWCC" = "xyes"; then
49122
49123 CC="$CC -cwd source -I-"
49124 CXX="$CXX -cwd source -I-"
49125 fi
49126
49127
49128 LIBS=`echo $LIBS`
49129 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49130 EXTRALIBS_XML="$EXPAT_LINK"
49131 EXTRALIBS_HTML="$MSPACK_LINK"
49132 EXTRALIBS_ODBC="$ODBC_LINK"
49133 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49134 if test "$wxUSE_GUI" = "yes"; then
49135 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49136 fi
49137 if test "$wxUSE_OPENGL" = "yes"; then
49138 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49139 fi
49140
49141 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49142
49143 WXCONFIG_LIBS="$LIBS"
49144
49145 if test "$wxUSE_REGEX" = "builtin" ; then
49146 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49147 fi
49148 if test "$wxUSE_EXPAT" = "builtin" ; then
49149 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49150 fi
49151 if test "$wxUSE_ODBC" = "builtin" ; then
49152 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49153 fi
49154 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49155 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49156 fi
49157 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49158 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49159 fi
49160 if test "$wxUSE_LIBPNG" = "builtin" ; then
49161 wxconfig_3rdparty="png $wxconfig_3rdparty"
49162 fi
49163 if test "$wxUSE_ZLIB" = "builtin" ; then
49164 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49165 fi
49166
49167 for i in $wxconfig_3rdparty ; do
49168 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49169 done
49170
49171
49172 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49173 WXUNIV=1
49174
49175 case "$wxUNIV_THEMES" in
49176 ''|all)
49177 cat >>confdefs.h <<\_ACEOF
49178 #define wxUSE_ALL_THEMES 1
49179 _ACEOF
49180
49181 ;;
49182
49183 *)
49184 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49185 cat >>confdefs.h <<_ACEOF
49186 #define wxUSE_THEME_$t 1
49187 _ACEOF
49188
49189 done
49190 esac
49191 else
49192 WXUNIV=0
49193 fi
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203 if test $wxUSE_MONOLITHIC = "yes" ; then
49204 MONOLITHIC=1
49205 else
49206 MONOLITHIC=0
49207 fi
49208
49209 if test $wxUSE_PLUGINS = "yes" ; then
49210 USE_PLUGINS=1
49211 else
49212 USE_PLUGINS=0
49213 fi
49214
49215 if test $wxUSE_ODBC != "no" ; then
49216 USE_ODBC=1
49217 else
49218 USE_ODBC=0
49219 fi
49220
49221 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49222 USE_QA=1
49223 else
49224 USE_QA=0
49225 fi
49226
49227 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49228 OFFICIAL_BUILD=1
49229 else
49230 OFFICIAL_BUILD=0
49231 fi
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49259
49260
49261
49262
49263
49264
49265
49266
49267 case "$TOOLKIT" in
49268 GTK)
49269 TOOLKIT_DESC="GTK+"
49270 if test "$WXGTK20" = 1; then
49271 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49272 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49273 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49274 fi
49275 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49276 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49277 fi
49278 if test "$wxUSE_LIBHILDON" = "yes"; then
49279 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49280 fi
49281
49282 if test "$TOOLKIT_EXTRA" != ""; then
49283 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49284 fi
49285 fi
49286 ;;
49287
49288 ?*)
49289 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49290 ;;
49291
49292 *)
49293 TOOLKIT_DESC="base only"
49294 ;;
49295 esac
49296
49297 if test "$wxUSE_WINE" = "yes"; then
49298 BAKEFILE_FORCE_PLATFORM=win32
49299 fi
49300
49301 if test "$wxUSE_MAC" = 1 ; then
49302 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49303 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49304 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49305 else
49306 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49307 fi
49308 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49309 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49310 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49311 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49312 bk_use_pch=no
49313 fi
49314 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49315 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49316 fi
49317
49318 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49319 then
49320 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49321 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49322 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49323 echo $ECHO_N "(cached) $ECHO_C" >&6
49324 else
49325
49326 echo '#include <stdio.h>
49327 const wchar_t test_var[] = L"awidetest";' > conftest.h
49328
49329 echo '#include "conftest.h"
49330 int main()
49331 {
49332 printf("%ls", test_var);
49333 return 0;
49334 }' > conftest.cpp
49335
49336 wx_cv_gcc_pch_bug="pch not supported"
49337
49338 if $CXX conftest.h >/dev/null 2>&1
49339 then
49340 wx_cv_gcc_pch_bug=
49341
49342 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49343 then
49344 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49345 grep awidetest >/dev/null
49346 then
49347 wx_cv_gcc_pch_bug=no
49348 else
49349 wx_cv_gcc_pch_bug=yes
49350 fi
49351 fi
49352 fi
49353
49354 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49355
49356 fi
49357 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49358 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49359
49360 if test "$wx_cv_gcc_pch_bug" = yes; then
49361 bk_use_pch=no
49362 fi
49363 fi
49364
49365
49366
49367
49368 if test "x$BAKEFILE_HOST" = "x"; then
49369 if test "x${host}" = "x" ; then
49370 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49371 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49372 { (exit 1); exit 1; }; }
49373 fi
49374
49375 BAKEFILE_HOST="${host}"
49376 fi
49377
49378 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49379
49380 if test -n "$ac_tool_prefix"; then
49381 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49382 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49385 if test "${ac_cv_prog_RANLIB+set}" = set; then
49386 echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388 if test -n "$RANLIB"; then
49389 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49390 else
49391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49392 for as_dir in $PATH
49393 do
49394 IFS=$as_save_IFS
49395 test -z "$as_dir" && as_dir=.
49396 for ac_exec_ext in '' $ac_executable_extensions; do
49397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49398 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49400 break 2
49401 fi
49402 done
49403 done
49404 IFS=$as_save_IFS
49405
49406 fi
49407 fi
49408 RANLIB=$ac_cv_prog_RANLIB
49409 if test -n "$RANLIB"; then
49410 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49411 echo "${ECHO_T}$RANLIB" >&6; }
49412 else
49413 { echo "$as_me:$LINENO: result: no" >&5
49414 echo "${ECHO_T}no" >&6; }
49415 fi
49416
49417
49418 fi
49419 if test -z "$ac_cv_prog_RANLIB"; then
49420 ac_ct_RANLIB=$RANLIB
49421 # Extract the first word of "ranlib", so it can be a program name with args.
49422 set dummy ranlib; ac_word=$2
49423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49425 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49426 echo $ECHO_N "(cached) $ECHO_C" >&6
49427 else
49428 if test -n "$ac_ct_RANLIB"; then
49429 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49430 else
49431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49432 for as_dir in $PATH
49433 do
49434 IFS=$as_save_IFS
49435 test -z "$as_dir" && as_dir=.
49436 for ac_exec_ext in '' $ac_executable_extensions; do
49437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49438 ac_cv_prog_ac_ct_RANLIB="ranlib"
49439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49440 break 2
49441 fi
49442 done
49443 done
49444 IFS=$as_save_IFS
49445
49446 fi
49447 fi
49448 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49449 if test -n "$ac_ct_RANLIB"; then
49450 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49451 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49452 else
49453 { echo "$as_me:$LINENO: result: no" >&5
49454 echo "${ECHO_T}no" >&6; }
49455 fi
49456
49457 if test "x$ac_ct_RANLIB" = x; then
49458 RANLIB=":"
49459 else
49460 case $cross_compiling:$ac_tool_warned in
49461 yes:)
49462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49463 whose name does not start with the host triplet. If you think this
49464 configuration is useful to you, please write to autoconf@gnu.org." >&5
49465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49466 whose name does not start with the host triplet. If you think this
49467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49468 ac_tool_warned=yes ;;
49469 esac
49470 RANLIB=$ac_ct_RANLIB
49471 fi
49472 else
49473 RANLIB="$ac_cv_prog_RANLIB"
49474 fi
49475
49476 # Find a good install program. We prefer a C program (faster),
49477 # so one script is as good as another. But avoid the broken or
49478 # incompatible versions:
49479 # SysV /etc/install, /usr/sbin/install
49480 # SunOS /usr/etc/install
49481 # IRIX /sbin/install
49482 # AIX /bin/install
49483 # AmigaOS /C/install, which installs bootblocks on floppy discs
49484 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49485 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49486 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49487 # OS/2's system install, which has a completely different semantic
49488 # ./install, which can be erroneously created by make from ./install.sh.
49489 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49490 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49491 if test -z "$INSTALL"; then
49492 if test "${ac_cv_path_install+set}" = set; then
49493 echo $ECHO_N "(cached) $ECHO_C" >&6
49494 else
49495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49496 for as_dir in $PATH
49497 do
49498 IFS=$as_save_IFS
49499 test -z "$as_dir" && as_dir=.
49500 # Account for people who put trailing slashes in PATH elements.
49501 case $as_dir/ in
49502 ./ | .// | /cC/* | \
49503 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49504 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49505 /usr/ucb/* ) ;;
49506 *)
49507 # OSF1 and SCO ODT 3.0 have their own names for install.
49508 # Don't use installbsd from OSF since it installs stuff as root
49509 # by default.
49510 for ac_prog in ginstall scoinst install; do
49511 for ac_exec_ext in '' $ac_executable_extensions; do
49512 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49513 if test $ac_prog = install &&
49514 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49515 # AIX install. It has an incompatible calling convention.
49516 :
49517 elif test $ac_prog = install &&
49518 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49519 # program-specific install script used by HP pwplus--don't use.
49520 :
49521 else
49522 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49523 break 3
49524 fi
49525 fi
49526 done
49527 done
49528 ;;
49529 esac
49530 done
49531 IFS=$as_save_IFS
49532
49533
49534 fi
49535 if test "${ac_cv_path_install+set}" = set; then
49536 INSTALL=$ac_cv_path_install
49537 else
49538 # As a last resort, use the slow shell script. Don't cache a
49539 # value for INSTALL within a source directory, because that will
49540 # break other packages using the cache if that directory is
49541 # removed, or if the value is a relative name.
49542 INSTALL=$ac_install_sh
49543 fi
49544 fi
49545 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49546 echo "${ECHO_T}$INSTALL" >&6; }
49547
49548 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49549 # It thinks the first close brace ends the variable substitution.
49550 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49551
49552 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49553
49554 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49555
49556 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49557 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49558 LN_S=$as_ln_s
49559 if test "$LN_S" = "ln -s"; then
49560 { echo "$as_me:$LINENO: result: yes" >&5
49561 echo "${ECHO_T}yes" >&6; }
49562 else
49563 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49564 echo "${ECHO_T}no, using $LN_S" >&6; }
49565 fi
49566
49567
49568 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49569 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49570 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49571 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49572 echo $ECHO_N "(cached) $ECHO_C" >&6
49573 else
49574 cat >conftest.make <<\_ACEOF
49575 SHELL = /bin/sh
49576 all:
49577 @echo '@@@%%%=$(MAKE)=@@@%%%'
49578 _ACEOF
49579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49580 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49581 *@@@%%%=?*=@@@%%%*)
49582 eval ac_cv_prog_make_${ac_make}_set=yes;;
49583 *)
49584 eval ac_cv_prog_make_${ac_make}_set=no;;
49585 esac
49586 rm -f conftest.make
49587 fi
49588 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49589 { echo "$as_me:$LINENO: result: yes" >&5
49590 echo "${ECHO_T}yes" >&6; }
49591 SET_MAKE=
49592 else
49593 { echo "$as_me:$LINENO: result: no" >&5
49594 echo "${ECHO_T}no" >&6; }
49595 SET_MAKE="MAKE=${MAKE-make}"
49596 fi
49597
49598
49599
49600 if test "x$SUNCXX" = "xyes"; then
49601 AR=$CXX
49602 AROPTIONS="-xar -o"
49603
49604 elif test "x$SGICC" = "xyes"; then
49605 AR=$CXX
49606 AROPTIONS="-ar -o"
49607
49608 else
49609 if test -n "$ac_tool_prefix"; then
49610 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49611 set dummy ${ac_tool_prefix}ar; ac_word=$2
49612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49614 if test "${ac_cv_prog_AR+set}" = set; then
49615 echo $ECHO_N "(cached) $ECHO_C" >&6
49616 else
49617 if test -n "$AR"; then
49618 ac_cv_prog_AR="$AR" # Let the user override the test.
49619 else
49620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49621 for as_dir in $PATH
49622 do
49623 IFS=$as_save_IFS
49624 test -z "$as_dir" && as_dir=.
49625 for ac_exec_ext in '' $ac_executable_extensions; do
49626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49627 ac_cv_prog_AR="${ac_tool_prefix}ar"
49628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49629 break 2
49630 fi
49631 done
49632 done
49633 IFS=$as_save_IFS
49634
49635 fi
49636 fi
49637 AR=$ac_cv_prog_AR
49638 if test -n "$AR"; then
49639 { echo "$as_me:$LINENO: result: $AR" >&5
49640 echo "${ECHO_T}$AR" >&6; }
49641 else
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49644 fi
49645
49646
49647 fi
49648 if test -z "$ac_cv_prog_AR"; then
49649 ac_ct_AR=$AR
49650 # Extract the first word of "ar", so it can be a program name with args.
49651 set dummy ar; ac_word=$2
49652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49654 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49655 echo $ECHO_N "(cached) $ECHO_C" >&6
49656 else
49657 if test -n "$ac_ct_AR"; then
49658 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49659 else
49660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49661 for as_dir in $PATH
49662 do
49663 IFS=$as_save_IFS
49664 test -z "$as_dir" && as_dir=.
49665 for ac_exec_ext in '' $ac_executable_extensions; do
49666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49667 ac_cv_prog_ac_ct_AR="ar"
49668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49669 break 2
49670 fi
49671 done
49672 done
49673 IFS=$as_save_IFS
49674
49675 fi
49676 fi
49677 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49678 if test -n "$ac_ct_AR"; then
49679 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49680 echo "${ECHO_T}$ac_ct_AR" >&6; }
49681 else
49682 { echo "$as_me:$LINENO: result: no" >&5
49683 echo "${ECHO_T}no" >&6; }
49684 fi
49685
49686 if test "x$ac_ct_AR" = x; then
49687 AR="ar"
49688 else
49689 case $cross_compiling:$ac_tool_warned in
49690 yes:)
49691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49692 whose name does not start with the host triplet. If you think this
49693 configuration is useful to you, please write to autoconf@gnu.org." >&5
49694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49695 whose name does not start with the host triplet. If you think this
49696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49697 ac_tool_warned=yes ;;
49698 esac
49699 AR=$ac_ct_AR
49700 fi
49701 else
49702 AR="$ac_cv_prog_AR"
49703 fi
49704
49705 AROPTIONS=rcu
49706 fi
49707
49708
49709 if test -n "$ac_tool_prefix"; then
49710 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49711 set dummy ${ac_tool_prefix}strip; 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_STRIP+set}" = set; then
49715 echo $ECHO_N "(cached) $ECHO_C" >&6
49716 else
49717 if test -n "$STRIP"; then
49718 ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
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 STRIP=$ac_cv_prog_STRIP
49738 if test -n "$STRIP"; then
49739 { echo "$as_me:$LINENO: result: $STRIP" >&5
49740 echo "${ECHO_T}$STRIP" >&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_STRIP"; then
49749 ac_ct_STRIP=$STRIP
49750 # Extract the first word of "strip", so it can be a program name with args.
49751 set dummy strip; 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_STRIP+set}" = set; then
49755 echo $ECHO_N "(cached) $ECHO_C" >&6
49756 else
49757 if test -n "$ac_ct_STRIP"; then
49758 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
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_STRIP=$ac_cv_prog_ac_ct_STRIP
49778 if test -n "$ac_ct_STRIP"; then
49779 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49780 echo "${ECHO_T}$ac_ct_STRIP" >&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_STRIP" = x; then
49787 STRIP=":"
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 STRIP=$ac_ct_STRIP
49800 fi
49801 else
49802 STRIP="$ac_cv_prog_STRIP"
49803 fi
49804
49805 if test -n "$ac_tool_prefix"; then
49806 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49807 set dummy ${ac_tool_prefix}nm; ac_word=$2
49808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49810 if test "${ac_cv_prog_NM+set}" = set; then
49811 echo $ECHO_N "(cached) $ECHO_C" >&6
49812 else
49813 if test -n "$NM"; then
49814 ac_cv_prog_NM="$NM" # Let the user override the test.
49815 else
49816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49817 for as_dir in $PATH
49818 do
49819 IFS=$as_save_IFS
49820 test -z "$as_dir" && as_dir=.
49821 for ac_exec_ext in '' $ac_executable_extensions; do
49822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49823 ac_cv_prog_NM="${ac_tool_prefix}nm"
49824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49825 break 2
49826 fi
49827 done
49828 done
49829 IFS=$as_save_IFS
49830
49831 fi
49832 fi
49833 NM=$ac_cv_prog_NM
49834 if test -n "$NM"; then
49835 { echo "$as_me:$LINENO: result: $NM" >&5
49836 echo "${ECHO_T}$NM" >&6; }
49837 else
49838 { echo "$as_me:$LINENO: result: no" >&5
49839 echo "${ECHO_T}no" >&6; }
49840 fi
49841
49842
49843 fi
49844 if test -z "$ac_cv_prog_NM"; then
49845 ac_ct_NM=$NM
49846 # Extract the first word of "nm", so it can be a program name with args.
49847 set dummy nm; ac_word=$2
49848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49850 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49851 echo $ECHO_N "(cached) $ECHO_C" >&6
49852 else
49853 if test -n "$ac_ct_NM"; then
49854 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49855 else
49856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49857 for as_dir in $PATH
49858 do
49859 IFS=$as_save_IFS
49860 test -z "$as_dir" && as_dir=.
49861 for ac_exec_ext in '' $ac_executable_extensions; do
49862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49863 ac_cv_prog_ac_ct_NM="nm"
49864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49865 break 2
49866 fi
49867 done
49868 done
49869 IFS=$as_save_IFS
49870
49871 fi
49872 fi
49873 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49874 if test -n "$ac_ct_NM"; then
49875 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49876 echo "${ECHO_T}$ac_ct_NM" >&6; }
49877 else
49878 { echo "$as_me:$LINENO: result: no" >&5
49879 echo "${ECHO_T}no" >&6; }
49880 fi
49881
49882 if test "x$ac_ct_NM" = x; then
49883 NM=":"
49884 else
49885 case $cross_compiling:$ac_tool_warned in
49886 yes:)
49887 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49888 whose name does not start with the host triplet. If you think this
49889 configuration is useful to you, please write to autoconf@gnu.org." >&5
49890 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49891 whose name does not start with the host triplet. If you think this
49892 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49893 ac_tool_warned=yes ;;
49894 esac
49895 NM=$ac_ct_NM
49896 fi
49897 else
49898 NM="$ac_cv_prog_NM"
49899 fi
49900
49901
49902 case ${BAKEFILE_HOST} in
49903 *-hp-hpux* )
49904 INSTALL_DIR="mkdir -p"
49905 ;;
49906 * )
49907 INSTALL_DIR='$(INSTALL) -d'
49908 ;;
49909 esac
49910
49911
49912 LDFLAGS_GUI=
49913 case ${BAKEFILE_HOST} in
49914 *-*-cygwin* | *-*-mingw32* )
49915 LDFLAGS_GUI="-mwindows"
49916 esac
49917
49918
49919 fi
49920
49921 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49922 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49923 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49924 echo $ECHO_N "(cached) $ECHO_C" >&6
49925 else
49926
49927 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49928 egrep -s GNU > /dev/null); then
49929 bakefile_cv_prog_makeisgnu="yes"
49930 else
49931 bakefile_cv_prog_makeisgnu="no"
49932 fi
49933
49934 fi
49935 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49936 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49937
49938 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49939 IF_GNU_MAKE=""
49940 else
49941 IF_GNU_MAKE="#"
49942 fi
49943
49944
49945
49946 PLATFORM_UNIX=0
49947 PLATFORM_WIN32=0
49948 PLATFORM_MSDOS=0
49949 PLATFORM_MAC=0
49950 PLATFORM_MACOS=0
49951 PLATFORM_MACOSX=0
49952 PLATFORM_OS2=0
49953 PLATFORM_BEOS=0
49954
49955 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49956 case "${BAKEFILE_HOST}" in
49957 *-*-mingw32* )
49958 PLATFORM_WIN32=1
49959 ;;
49960 *-pc-msdosdjgpp )
49961 PLATFORM_MSDOS=1
49962 ;;
49963 *-pc-os2_emx | *-pc-os2-emx )
49964 PLATFORM_OS2=1
49965 ;;
49966 *-*-darwin* )
49967 PLATFORM_MAC=1
49968 PLATFORM_MACOSX=1
49969 ;;
49970 *-*-beos* )
49971 PLATFORM_BEOS=1
49972 ;;
49973 powerpc-apple-macos* )
49974 PLATFORM_MAC=1
49975 PLATFORM_MACOS=1
49976 ;;
49977 * )
49978 PLATFORM_UNIX=1
49979 ;;
49980 esac
49981 else
49982 case "$BAKEFILE_FORCE_PLATFORM" in
49983 win32 )
49984 PLATFORM_WIN32=1
49985 ;;
49986 msdos )
49987 PLATFORM_MSDOS=1
49988 ;;
49989 os2 )
49990 PLATFORM_OS2=1
49991 ;;
49992 darwin )
49993 PLATFORM_MAC=1
49994 PLATFORM_MACOSX=1
49995 ;;
49996 unix )
49997 PLATFORM_UNIX=1
49998 ;;
49999 beos )
50000 PLATFORM_BEOS=1
50001 ;;
50002 * )
50003 ;;
50004 esac
50005 fi
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017 # Check whether --enable-omf was given.
50018 if test "${enable_omf+set}" = set; then
50019 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50020 fi
50021
50022
50023 case "${BAKEFILE_HOST}" in
50024 *-*-darwin* )
50025 if test "x$GCC" = "xyes"; then
50026 CFLAGS="$CFLAGS -fno-common"
50027 CXXFLAGS="$CXXFLAGS -fno-common"
50028 fi
50029 if test "x$XLCC" = "xyes"; then
50030 CFLAGS="$CFLAGS -qnocommon"
50031 CXXFLAGS="$CXXFLAGS -qnocommon"
50032 fi
50033 ;;
50034
50035 *-pc-os2_emx | *-pc-os2-emx )
50036 if test "x$bk_os2_use_omf" = "xyes" ; then
50037 AR=emxomfar
50038 RANLIB=:
50039 LDFLAGS="-Zomf $LDFLAGS"
50040 CFLAGS="-Zomf $CFLAGS"
50041 CXXFLAGS="-Zomf $CXXFLAGS"
50042 OS2_LIBEXT="lib"
50043 else
50044 OS2_LIBEXT="a"
50045 fi
50046 ;;
50047
50048 i*86-*-beos* )
50049 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50050 ;;
50051 esac
50052
50053
50054 SO_SUFFIX="so"
50055 SO_SUFFIX_MODULE="so"
50056 EXEEXT=""
50057 LIBPREFIX="lib"
50058 LIBEXT=".a"
50059 DLLPREFIX="lib"
50060 DLLPREFIX_MODULE=""
50061 DLLIMP_SUFFIX=""
50062 dlldir="$libdir"
50063
50064 case "${BAKEFILE_HOST}" in
50065 *-hp-hpux* )
50066 SO_SUFFIX="sl"
50067 SO_SUFFIX_MODULE="sl"
50068 ;;
50069 *-*-aix* )
50070 SO_SUFFIX="a"
50071 SO_SUFFIX_MODULE="a"
50072 ;;
50073 *-*-cygwin* )
50074 SO_SUFFIX="dll"
50075 SO_SUFFIX_MODULE="dll"
50076 DLLIMP_SUFFIX="dll.a"
50077 EXEEXT=".exe"
50078 DLLPREFIX="cyg"
50079 dlldir="$bindir"
50080 ;;
50081 *-*-mingw32* )
50082 SO_SUFFIX="dll"
50083 SO_SUFFIX_MODULE="dll"
50084 DLLIMP_SUFFIX="dll.a"
50085 EXEEXT=".exe"
50086 DLLPREFIX=""
50087 dlldir="$bindir"
50088 ;;
50089 *-pc-msdosdjgpp )
50090 EXEEXT=".exe"
50091 DLLPREFIX=""
50092 dlldir="$bindir"
50093 ;;
50094 *-pc-os2_emx | *-pc-os2-emx )
50095 SO_SUFFIX="dll"
50096 SO_SUFFIX_MODULE="dll"
50097 DLLIMP_SUFFIX=$OS2_LIBEXT
50098 EXEEXT=".exe"
50099 DLLPREFIX=""
50100 LIBPREFIX=""
50101 LIBEXT=".$OS2_LIBEXT"
50102 dlldir="$bindir"
50103 ;;
50104 *-*-darwin* )
50105 SO_SUFFIX="dylib"
50106 SO_SUFFIX_MODULE="bundle"
50107 ;;
50108 esac
50109
50110 if test "x$DLLIMP_SUFFIX" = "x" ; then
50111 DLLIMP_SUFFIX="$SO_SUFFIX"
50112 fi
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125 PIC_FLAG=""
50126 if test "x$GCC" = "xyes"; then
50127 PIC_FLAG="-fPIC"
50128 fi
50129
50130 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50131 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50132 WINDOWS_IMPLIB=0
50133
50134 case "${BAKEFILE_HOST}" in
50135 *-hp-hpux* )
50136 if test "x$GCC" != "xyes"; then
50137 LDFLAGS="$LDFLAGS -L/usr/lib"
50138
50139 SHARED_LD_CC="${CC} -b -o"
50140 SHARED_LD_CXX="${CXX} -b -o"
50141 PIC_FLAG="+Z"
50142 fi
50143 ;;
50144
50145 *-*-linux* )
50146 if test "$INTELCC" = "yes"; then
50147 PIC_FLAG="-KPIC"
50148 elif test "x$SUNCXX" = "xyes"; then
50149 SHARED_LD_CC="${CC} -G -o"
50150 SHARED_LD_CXX="${CXX} -G -o"
50151 PIC_FLAG="-KPIC"
50152 fi
50153 ;;
50154
50155 *-*-solaris2* )
50156 if test "x$SUNCXX" = xyes ; then
50157 SHARED_LD_CC="${CC} -G -o"
50158 SHARED_LD_CXX="${CXX} -G -o"
50159 PIC_FLAG="-KPIC"
50160 fi
50161 ;;
50162
50163 *-*-darwin* )
50164
50165 D='$'
50166 cat <<EOF >shared-ld-sh
50167 #!/bin/sh
50168 #-----------------------------------------------------------------------------
50169 #-- Name: distrib/mac/shared-ld-sh
50170 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50171 #-- Author: Gilles Depeyrot
50172 #-- Copyright: (c) 2002 Gilles Depeyrot
50173 #-- Licence: any use permitted
50174 #-----------------------------------------------------------------------------
50175
50176 verbose=0
50177 args=""
50178 objects=""
50179 linking_flag="-dynamiclib"
50180 ldargs="-r -keep_private_externs -nostdlib"
50181
50182 while test ${D}# -gt 0; do
50183 case ${D}1 in
50184
50185 -v)
50186 verbose=1
50187 ;;
50188
50189 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50190 # collect these options and values
50191 args="${D}{args} ${D}1 ${D}2"
50192 shift
50193 ;;
50194
50195 -s|-Wl,*)
50196 # collect these load args
50197 ldargs="${D}{ldargs} ${D}1"
50198 ;;
50199
50200 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50201 # collect these options
50202 args="${D}{args} ${D}1"
50203 ;;
50204
50205 -dynamiclib|-bundle)
50206 linking_flag="${D}1"
50207 ;;
50208
50209 -*)
50210 echo "shared-ld: unhandled option '${D}1'"
50211 exit 1
50212 ;;
50213
50214 *.o | *.a | *.dylib)
50215 # collect object files
50216 objects="${D}{objects} ${D}1"
50217 ;;
50218
50219 *)
50220 echo "shared-ld: unhandled argument '${D}1'"
50221 exit 1
50222 ;;
50223
50224 esac
50225 shift
50226 done
50227
50228 status=0
50229
50230 #
50231 # Link one module containing all the others
50232 #
50233 if test ${D}{verbose} = 1; then
50234 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50235 fi
50236 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50237 status=${D}?
50238
50239 #
50240 # Link the shared library from the single module created, but only if the
50241 # previous command didn't fail:
50242 #
50243 if test ${D}{status} = 0; then
50244 if test ${D}{verbose} = 1; then
50245 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50246 fi
50247 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50248 status=${D}?
50249 fi
50250
50251 #
50252 # Remove intermediate module
50253 #
50254 rm -f master.${D}${D}.o
50255
50256 exit ${D}status
50257 EOF
50258
50259 chmod +x shared-ld-sh
50260
50261 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50262 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50263
50264
50265 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50266 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50267 if test "${bakefile_cv_gcc31+set}" = set; then
50268 echo $ECHO_N "(cached) $ECHO_C" >&6
50269 else
50270
50271 cat >conftest.$ac_ext <<_ACEOF
50272 /* confdefs.h. */
50273 _ACEOF
50274 cat confdefs.h >>conftest.$ac_ext
50275 cat >>conftest.$ac_ext <<_ACEOF
50276 /* end confdefs.h. */
50277
50278 int
50279 main ()
50280 {
50281
50282 #if (__GNUC__ < 3) || \
50283 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50284 This is old gcc
50285 #endif
50286
50287 ;
50288 return 0;
50289 }
50290 _ACEOF
50291 rm -f conftest.$ac_objext
50292 if { (ac_try="$ac_compile"
50293 case "(($ac_try" in
50294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50295 *) ac_try_echo=$ac_try;;
50296 esac
50297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50298 (eval "$ac_compile") 2>conftest.er1
50299 ac_status=$?
50300 grep -v '^ *+' conftest.er1 >conftest.err
50301 rm -f conftest.er1
50302 cat conftest.err >&5
50303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50304 (exit $ac_status); } && {
50305 test -z "$ac_c_werror_flag" ||
50306 test ! -s conftest.err
50307 } && test -s conftest.$ac_objext; then
50308
50309 bakefile_cv_gcc31=yes
50310
50311 else
50312 echo "$as_me: failed program was:" >&5
50313 sed 's/^/| /' conftest.$ac_ext >&5
50314
50315
50316 bakefile_cv_gcc31=no
50317
50318
50319 fi
50320
50321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50322
50323 fi
50324 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50325 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50326 if test "$bakefile_cv_gcc31" = "no"; then
50327 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50328 SHARED_LD_CXX="$SHARED_LD_CC"
50329 else
50330 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50331 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50332 fi
50333
50334 if test "x$GCC" == "xyes"; then
50335 PIC_FLAG="-dynamic -fPIC"
50336 fi
50337 if test "x$XLCC" = "xyes"; then
50338 PIC_FLAG="-dynamic -DPIC"
50339 fi
50340 ;;
50341
50342 *-*-aix* )
50343 if test "x$GCC" = "xyes"; then
50344 PIC_FLAG=""
50345
50346 case "${BAKEFILE_HOST}" in
50347 *-*-aix5* )
50348 LD_EXPFULL="-Wl,-bexpfull"
50349 ;;
50350 esac
50351
50352 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50353 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50354 else
50355 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50356 set dummy makeC++SharedLib; ac_word=$2
50357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50359 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50360 echo $ECHO_N "(cached) $ECHO_C" >&6
50361 else
50362 if test -n "$AIX_CXX_LD"; then
50363 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50364 else
50365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50366 for as_dir in $PATH
50367 do
50368 IFS=$as_save_IFS
50369 test -z "$as_dir" && as_dir=.
50370 for ac_exec_ext in '' $ac_executable_extensions; do
50371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50372 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50374 break 2
50375 fi
50376 done
50377 done
50378 IFS=$as_save_IFS
50379
50380 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50381 fi
50382 fi
50383 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50384 if test -n "$AIX_CXX_LD"; then
50385 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50386 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50387 else
50388 { echo "$as_me:$LINENO: result: no" >&5
50389 echo "${ECHO_T}no" >&6; }
50390 fi
50391
50392
50393 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50394 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50395 fi
50396 ;;
50397
50398 *-*-beos* )
50399 SHARED_LD_CC="${LD} -nostart -o"
50400 SHARED_LD_CXX="${LD} -nostart -o"
50401 ;;
50402
50403 *-*-irix* )
50404 if test "x$GCC" != "xyes"; then
50405 PIC_FLAG="-KPIC"
50406 fi
50407 ;;
50408
50409 *-*-cygwin* | *-*-mingw32* )
50410 PIC_FLAG=""
50411 SHARED_LD_CC="\$(CC) -shared -o"
50412 SHARED_LD_CXX="\$(CXX) -shared -o"
50413 WINDOWS_IMPLIB=1
50414 ;;
50415
50416 *-pc-os2_emx | *-pc-os2-emx )
50417 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50418 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50419 PIC_FLAG=""
50420
50421 D='$'
50422 cat <<EOF >dllar.sh
50423 #!/bin/sh
50424 #
50425 # dllar - a tool to build both a .dll and an .a file
50426 # from a set of object (.o) files for EMX/OS2.
50427 #
50428 # Written by Andrew Zabolotny, bit@freya.etu.ru
50429 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50430 #
50431 # This script will accept a set of files on the command line.
50432 # All the public symbols from the .o files will be exported into
50433 # a .DEF file, then linker will be run (through gcc) against them to
50434 # build a shared library consisting of all given .o files. All libraries
50435 # (.a) will be first decompressed into component .o files then act as
50436 # described above. You can optionally give a description (-d "description")
50437 # which will be put into .DLL. To see the list of accepted options (as well
50438 # as command-line format) simply run this program without options. The .DLL
50439 # is built to be imported by name (there is no guarantee that new versions
50440 # of the library you build will have same ordinals for same symbols).
50441 #
50442 # dllar is free software; you can redistribute it and/or modify
50443 # it under the terms of the GNU General Public License as published by
50444 # the Free Software Foundation; either version 2, or (at your option)
50445 # any later version.
50446 #
50447 # dllar is distributed in the hope that it will be useful,
50448 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50449 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50450 # GNU General Public License for more details.
50451 #
50452 # You should have received a copy of the GNU General Public License
50453 # along with dllar; see the file COPYING. If not, write to the Free
50454 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50455 # 02111-1307, USA.
50456
50457 # To successfuly run this program you will need:
50458 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50459 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50460 # - gcc
50461 # (used to build the .dll)
50462 # - emxexp
50463 # (used to create .def file from .o files)
50464 # - emximp
50465 # (used to create .a file from .def file)
50466 # - GNU text utilites (cat, sort, uniq)
50467 # used to process emxexp output
50468 # - GNU file utilities (mv, rm)
50469 # - GNU sed
50470 # - lxlite (optional, see flag below)
50471 # (used for general .dll cleanup)
50472 #
50473
50474 flag_USE_LXLITE=1;
50475
50476 #
50477 # helper functions
50478 # basnam, variant of basename, which does _not_ remove the path, _iff_
50479 # second argument (suffix to remove) is given
50480 basnam(){
50481 case ${D}# in
50482 1)
50483 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50484 ;;
50485 2)
50486 echo ${D}1 | sed 's/'${D}2'${D}//'
50487 ;;
50488 *)
50489 echo "error in basnam ${D}*"
50490 exit 8
50491 ;;
50492 esac
50493 }
50494
50495 # Cleanup temporary files and output
50496 CleanUp() {
50497 cd ${D}curDir
50498 for i in ${D}inputFiles ; do
50499 case ${D}i in
50500 *!)
50501 rm -rf \`basnam ${D}i !\`
50502 ;;
50503 *)
50504 ;;
50505 esac
50506 done
50507
50508 # Kill result in case of failure as there is just to many stupid make/nmake
50509 # things out there which doesn't do this.
50510 if [ ${D}# -eq 0 ]; then
50511 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50512 fi
50513 }
50514
50515 # Print usage and exit script with rc=1.
50516 PrintHelp() {
50517 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50518 echo ' [-name-mangler-script script.sh]'
50519 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50520 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50521 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50522 echo ' [*.o] [*.a]'
50523 echo '*> "output_file" should have no extension.'
50524 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50525 echo ' The import library name is derived from this and is set to "name".a,'
50526 echo ' unless overridden by -import'
50527 echo '*> "importlib_name" should have no extension.'
50528 echo ' If it has the .o, or .a extension, it is automatically removed.'
50529 echo ' This name is used as the import library name and may be longer and'
50530 echo ' more descriptive than the DLL name which has to follow the old '
50531 echo ' 8.3 convention of FAT.'
50532 echo '*> "script.sh may be given to override the output_file name by a'
50533 echo ' different name. It is mainly useful if the regular make process'
50534 echo ' of some package does not take into account OS/2 restriction of'
50535 echo ' DLL name lengths. It takes the importlib name as input and is'
50536 echo ' supposed to procude a shorter name as output. The script should'
50537 echo ' expect to get importlib_name without extension and should produce'
50538 echo ' a (max.) 8 letter name without extension.'
50539 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50540 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50541 echo ' These flags will be put at the start of GCC command line.'
50542 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50543 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50544 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50545 echo ' If the last character of a symbol is "*", all symbols beginning'
50546 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50547 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50548 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50549 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50550 echo ' C runtime DLLs.'
50551 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50552 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50553 echo ' unchanged to GCC at the end of command line.'
50554 echo '*> If you create a DLL from a library and you do not specify -o,'
50555 echo ' the basename for DLL and import library will be set to library name,'
50556 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50557 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50558 echo ' library will be renamed into gcc_s.a.'
50559 echo '--------'
50560 echo 'Example:'
50561 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50562 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50563 CleanUp
50564 exit 1
50565 }
50566
50567 # Execute a command.
50568 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50569 # @Uses Whatever CleanUp() uses.
50570 doCommand() {
50571 echo "${D}*"
50572 eval ${D}*
50573 rcCmd=${D}?
50574
50575 if [ ${D}rcCmd -ne 0 ]; then
50576 echo "command failed, exit code="${D}rcCmd
50577 CleanUp
50578 exit ${D}rcCmd
50579 fi
50580 }
50581
50582 # main routine
50583 # setup globals
50584 cmdLine=${D}*
50585 outFile=""
50586 outimpFile=""
50587 inputFiles=""
50588 renameScript=""
50589 description=""
50590 CC=gcc.exe
50591 CFLAGS="-s -Zcrtdll"
50592 EXTRA_CFLAGS=""
50593 EXPORT_BY_ORDINALS=0
50594 exclude_symbols=""
50595 library_flags=""
50596 curDir=\`pwd\`
50597 curDirS=curDir
50598 case ${D}curDirS in
50599 */)
50600 ;;
50601 *)
50602 curDirS=${D}{curDirS}"/"
50603 ;;
50604 esac
50605 # Parse commandline
50606 libsToLink=0
50607 omfLinking=0
50608 while [ ${D}1 ]; do
50609 case ${D}1 in
50610 -ord*)
50611 EXPORT_BY_ORDINALS=1;
50612 ;;
50613 -o*)
50614 shift
50615 outFile=${D}1
50616 ;;
50617 -i*)
50618 shift
50619 outimpFile=${D}1
50620 ;;
50621 -name-mangler-script)
50622 shift
50623 renameScript=${D}1
50624 ;;
50625 -d*)
50626 shift
50627 description=${D}1
50628 ;;
50629 -f*)
50630 shift
50631 CFLAGS=${D}1
50632 ;;
50633 -c*)
50634 shift
50635 CC=${D}1
50636 ;;
50637 -h*)
50638 PrintHelp
50639 ;;
50640 -ex*)
50641 shift
50642 exclude_symbols=${D}{exclude_symbols}${D}1" "
50643 ;;
50644 -libf*)
50645 shift
50646 library_flags=${D}{library_flags}${D}1" "
50647 ;;
50648 -nocrt*)
50649 CFLAGS="-s"
50650 ;;
50651 -nolxl*)
50652 flag_USE_LXLITE=0
50653 ;;
50654 -* | /*)
50655 case ${D}1 in
50656 -L* | -l*)
50657 libsToLink=1
50658 ;;
50659 -Zomf)
50660 omfLinking=1
50661 ;;
50662 *)
50663 ;;
50664 esac
50665 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50666 ;;
50667 *.dll)
50668 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50669 if [ ${D}omfLinking -eq 1 ]; then
50670 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50671 else
50672 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50673 fi
50674 ;;
50675 *)
50676 found=0;
50677 if [ ${D}libsToLink -ne 0 ]; then
50678 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50679 else
50680 for file in ${D}1 ; do
50681 if [ -f ${D}file ]; then
50682 inputFiles="${D}{inputFiles} ${D}file"
50683 found=1
50684 fi
50685 done
50686 if [ ${D}found -eq 0 ]; then
50687 echo "ERROR: No file(s) found: "${D}1
50688 exit 8
50689 fi
50690 fi
50691 ;;
50692 esac
50693 shift
50694 done # iterate cmdline words
50695
50696 #
50697 if [ -z "${D}inputFiles" ]; then
50698 echo "dllar: no input files"
50699 PrintHelp
50700 fi
50701
50702 # Now extract all .o files from .a files
50703 newInputFiles=""
50704 for file in ${D}inputFiles ; do
50705 case ${D}file in
50706 *.a | *.lib)
50707 case ${D}file in
50708 *.a)
50709 suffix=".a"
50710 AR="ar"
50711 ;;
50712 *.lib)
50713 suffix=".lib"
50714 AR="emxomfar"
50715 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50716 ;;
50717 *)
50718 ;;
50719 esac
50720 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50721 mkdir ${D}dirname
50722 if [ ${D}? -ne 0 ]; then
50723 echo "Failed to create subdirectory ./${D}dirname"
50724 CleanUp
50725 exit 8;
50726 fi
50727 # Append '!' to indicate archive
50728 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50729 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50730 cd ${D}curDir
50731 found=0;
50732 for subfile in ${D}dirname/*.o* ; do
50733 if [ -f ${D}subfile ]; then
50734 found=1
50735 if [ -s ${D}subfile ]; then
50736 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50737 newInputFiles="${D}newInputFiles ${D}subfile"
50738 fi
50739 fi
50740 done
50741 if [ ${D}found -eq 0 ]; then
50742 echo "WARNING: there are no files in archive \\'${D}file\\'"
50743 fi
50744 ;;
50745 *)
50746 newInputFiles="${D}{newInputFiles} ${D}file"
50747 ;;
50748 esac
50749 done
50750 inputFiles="${D}newInputFiles"
50751
50752 # Output filename(s).
50753 do_backup=0;
50754 if [ -z ${D}outFile ]; then
50755 do_backup=1;
50756 set outFile ${D}inputFiles; outFile=${D}2
50757 fi
50758
50759 # If it is an archive, remove the '!' and the '_%' suffixes
50760 case ${D}outFile in
50761 *_%!)
50762 outFile=\`basnam ${D}outFile _%!\`
50763 ;;
50764 *)
50765 ;;
50766 esac
50767 case ${D}outFile in
50768 *.dll)
50769 outFile=\`basnam ${D}outFile .dll\`
50770 ;;
50771 *.DLL)
50772 outFile=\`basnam ${D}outFile .DLL\`
50773 ;;
50774 *.o)
50775 outFile=\`basnam ${D}outFile .o\`
50776 ;;
50777 *.obj)
50778 outFile=\`basnam ${D}outFile .obj\`
50779 ;;
50780 *.a)
50781 outFile=\`basnam ${D}outFile .a\`
50782 ;;
50783 *.lib)
50784 outFile=\`basnam ${D}outFile .lib\`
50785 ;;
50786 *)
50787 ;;
50788 esac
50789 case ${D}outimpFile in
50790 *.a)
50791 outimpFile=\`basnam ${D}outimpFile .a\`
50792 ;;
50793 *.lib)
50794 outimpFile=\`basnam ${D}outimpFile .lib\`
50795 ;;
50796 *)
50797 ;;
50798 esac
50799 if [ -z ${D}outimpFile ]; then
50800 outimpFile=${D}outFile
50801 fi
50802 defFile="${D}{outFile}.def"
50803 arcFile="${D}{outimpFile}.a"
50804 arcFile2="${D}{outimpFile}.lib"
50805
50806 #create ${D}dllFile as something matching 8.3 restrictions,
50807 if [ -z ${D}renameScript ] ; then
50808 dllFile="${D}outFile"
50809 else
50810 dllFile=\`${D}renameScript ${D}outimpFile\`
50811 fi
50812
50813 if [ ${D}do_backup -ne 0 ] ; then
50814 if [ -f ${D}arcFile ] ; then
50815 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50816 fi
50817 if [ -f ${D}arcFile2 ] ; then
50818 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50819 fi
50820 fi
50821
50822 # Extract public symbols from all the object files.
50823 tmpdefFile=${D}{defFile}_%
50824 rm -f ${D}tmpdefFile
50825 for file in ${D}inputFiles ; do
50826 case ${D}file in
50827 *!)
50828 ;;
50829 *)
50830 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50831 ;;
50832 esac
50833 done
50834
50835 # Create the def file.
50836 rm -f ${D}defFile
50837 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50838 dllFile="${D}{dllFile}.dll"
50839 if [ ! -z ${D}description ]; then
50840 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50841 fi
50842 echo "EXPORTS" >> ${D}defFile
50843
50844 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50845 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50846
50847 # Checks if the export is ok or not.
50848 for word in ${D}exclude_symbols; do
50849 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50850 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50851 done
50852
50853
50854 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50855 sed "=" < ${D}tmpdefFile | \\
50856 sed '
50857 N
50858 : loop
50859 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50860 t loop
50861 ' > ${D}{tmpdefFile}%
50862 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50863 else
50864 rm -f ${D}{tmpdefFile}%
50865 fi
50866 cat ${D}tmpdefFile >> ${D}defFile
50867 rm -f ${D}tmpdefFile
50868
50869 # Do linking, create implib, and apply lxlite.
50870 gccCmdl="";
50871 for file in ${D}inputFiles ; do
50872 case ${D}file in
50873 *!)
50874 ;;
50875 *)
50876 gccCmdl="${D}gccCmdl ${D}file"
50877 ;;
50878 esac
50879 done
50880 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50881 touch "${D}{outFile}.dll"
50882
50883 doCommand "emximp -o ${D}arcFile ${D}defFile"
50884 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50885 add_flags="";
50886 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50887 add_flags="-ynd"
50888 fi
50889 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50890 fi
50891 doCommand "emxomf -s -l ${D}arcFile"
50892
50893 # Successful exit.
50894 CleanUp 1
50895 exit 0
50896 EOF
50897
50898 chmod +x dllar.sh
50899 ;;
50900
50901 powerpc-apple-macos* | \
50902 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50903 *-*-mirbsd* | \
50904 *-*-sunos4* | \
50905 *-*-osf* | \
50906 *-*-dgux5* | \
50907 *-*-sysv5* | \
50908 *-pc-msdosdjgpp )
50909 ;;
50910
50911 *)
50912 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50913 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50914 { (exit 1); exit 1; }; }
50915 esac
50916
50917 if test "x$PIC_FLAG" != "x" ; then
50918 PIC_FLAG="$PIC_FLAG -DPIC"
50919 fi
50920
50921 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50922 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50923 fi
50924 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50925 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50926 fi
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936 USE_SOVERSION=0
50937 USE_SOVERLINUX=0
50938 USE_SOVERSOLARIS=0
50939 USE_SOVERCYGWIN=0
50940 USE_SOSYMLINKS=0
50941 USE_MACVERSION=0
50942 SONAME_FLAG=
50943
50944 case "${BAKEFILE_HOST}" in
50945 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50946 if test "x$SUNCXX" = "xyes"; then
50947 SONAME_FLAG="-h "
50948 else
50949 SONAME_FLAG="-Wl,-soname,"
50950 fi
50951 USE_SOVERSION=1
50952 USE_SOVERLINUX=1
50953 USE_SOSYMLINKS=1
50954 ;;
50955
50956 *-*-solaris2* )
50957 SONAME_FLAG="-h "
50958 USE_SOVERSION=1
50959 USE_SOVERSOLARIS=1
50960 USE_SOSYMLINKS=1
50961 ;;
50962
50963 *-*-darwin* )
50964 USE_MACVERSION=1
50965 USE_SOVERSION=1
50966 USE_SOSYMLINKS=1
50967 ;;
50968
50969 *-*-cygwin* )
50970 USE_SOVERSION=1
50971 USE_SOVERCYGWIN=1
50972 ;;
50973 esac
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984 # Check whether --enable-dependency-tracking was given.
50985 if test "${enable_dependency_tracking+set}" = set; then
50986 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50987 fi
50988
50989
50990 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50991 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50992
50993 BK_DEPS=""
50994 if test "x$bk_use_trackdeps" = "xno" ; then
50995 DEPS_TRACKING=0
50996 { echo "$as_me:$LINENO: result: disabled" >&5
50997 echo "${ECHO_T}disabled" >&6; }
50998 else
50999 DEPS_TRACKING=1
51000
51001 if test "x$GCC" = "xyes"; then
51002 DEPSMODE=gcc
51003 case "${BAKEFILE_HOST}" in
51004 *-*-darwin* )
51005 DEPSFLAG="-no-cpp-precomp -MMD"
51006 ;;
51007 * )
51008 DEPSFLAG="-MMD"
51009 ;;
51010 esac
51011 { echo "$as_me:$LINENO: result: gcc" >&5
51012 echo "${ECHO_T}gcc" >&6; }
51013 elif test "x$MWCC" = "xyes"; then
51014 DEPSMODE=mwcc
51015 DEPSFLAG="-MM"
51016 { echo "$as_me:$LINENO: result: mwcc" >&5
51017 echo "${ECHO_T}mwcc" >&6; }
51018 elif test "x$SUNCC" = "xyes"; then
51019 DEPSMODE=unixcc
51020 DEPSFLAG="-xM1"
51021 { echo "$as_me:$LINENO: result: Sun cc" >&5
51022 echo "${ECHO_T}Sun cc" >&6; }
51023 elif test "x$SGICC" = "xyes"; then
51024 DEPSMODE=unixcc
51025 DEPSFLAG="-M"
51026 { echo "$as_me:$LINENO: result: SGI cc" >&5
51027 echo "${ECHO_T}SGI cc" >&6; }
51028 elif test "x$HPCC" = "xyes"; then
51029 DEPSMODE=unixcc
51030 DEPSFLAG="+make"
51031 { echo "$as_me:$LINENO: result: HP cc" >&5
51032 echo "${ECHO_T}HP cc" >&6; }
51033 elif test "x$COMPAQCC" = "xyes"; then
51034 DEPSMODE=gcc
51035 DEPSFLAG="-MD"
51036 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51037 echo "${ECHO_T}Compaq cc" >&6; }
51038 else
51039 DEPS_TRACKING=0
51040 { echo "$as_me:$LINENO: result: none" >&5
51041 echo "${ECHO_T}none" >&6; }
51042 fi
51043
51044 if test $DEPS_TRACKING = 1 ; then
51045
51046 D='$'
51047 cat <<EOF >bk-deps
51048 #!/bin/sh
51049
51050 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51051 # script. It is used to track C/C++ files dependencies in portable way.
51052 #
51053 # Permission is given to use this file in any way.
51054
51055 DEPSMODE=${DEPSMODE}
51056 DEPSDIR=.deps
51057 DEPSFLAG="${DEPSFLAG}"
51058
51059 mkdir -p ${D}DEPSDIR
51060
51061 if test ${D}DEPSMODE = gcc ; then
51062 ${D}* ${D}{DEPSFLAG}
51063 status=${D}?
51064 if test ${D}{status} != 0 ; then
51065 exit ${D}{status}
51066 fi
51067 # move created file to the location we want it in:
51068 while test ${D}# -gt 0; do
51069 case "${D}1" in
51070 -o )
51071 shift
51072 objfile=${D}1
51073 ;;
51074 -* )
51075 ;;
51076 * )
51077 srcfile=${D}1
51078 ;;
51079 esac
51080 shift
51081 done
51082 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51083 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51084 if test -f ${D}depfile ; then
51085 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51086 rm -f ${D}depfile
51087 else
51088 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51089 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51090 if test ! -f ${D}depfile ; then
51091 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51092 depfile="${D}objfile.d"
51093 fi
51094 if test -f ${D}depfile ; then
51095 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51096 rm -f ${D}depfile
51097 fi
51098 fi
51099 exit 0
51100 elif test ${D}DEPSMODE = mwcc ; then
51101 ${D}* || exit ${D}?
51102 # Run mwcc again with -MM and redirect into the dep file we want
51103 # NOTE: We can't use shift here because we need ${D}* to be valid
51104 prevarg=
51105 for arg in ${D}* ; do
51106 if test "${D}prevarg" = "-o"; then
51107 objfile=${D}arg
51108 else
51109 case "${D}arg" in
51110 -* )
51111 ;;
51112 * )
51113 srcfile=${D}arg
51114 ;;
51115 esac
51116 fi
51117 prevarg="${D}arg"
51118 done
51119 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51120 exit 0
51121 elif test ${D}DEPSMODE = unixcc; then
51122 ${D}* || exit ${D}?
51123 # Run compiler again with deps flag and redirect into the dep file.
51124 # It doesn't work if the '-o FILE' option is used, but without it the
51125 # dependency file will contain the wrong name for the object. So it is
51126 # removed from the command line, and the dep file is fixed with sed.
51127 cmd=""
51128 while test ${D}# -gt 0; do
51129 case "${D}1" in
51130 -o )
51131 shift
51132 objfile=${D}1
51133 ;;
51134 * )
51135 eval arg${D}#=\\${D}1
51136 cmd="${D}cmd \\${D}arg${D}#"
51137 ;;
51138 esac
51139 shift
51140 done
51141 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51142 exit 0
51143 else
51144 ${D}*
51145 exit ${D}?
51146 fi
51147 EOF
51148
51149 chmod +x bk-deps
51150 BK_DEPS="`pwd`/bk-deps"
51151 fi
51152 fi
51153
51154
51155
51156
51157
51158 case ${BAKEFILE_HOST} in
51159 *-*-cygwin* | *-*-mingw32* )
51160 if test -n "$ac_tool_prefix"; then
51161 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51162 set dummy ${ac_tool_prefix}windres; ac_word=$2
51163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51165 if test "${ac_cv_prog_WINDRES+set}" = set; then
51166 echo $ECHO_N "(cached) $ECHO_C" >&6
51167 else
51168 if test -n "$WINDRES"; then
51169 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51170 else
51171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51172 for as_dir in $PATH
51173 do
51174 IFS=$as_save_IFS
51175 test -z "$as_dir" && as_dir=.
51176 for ac_exec_ext in '' $ac_executable_extensions; do
51177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51178 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51180 break 2
51181 fi
51182 done
51183 done
51184 IFS=$as_save_IFS
51185
51186 fi
51187 fi
51188 WINDRES=$ac_cv_prog_WINDRES
51189 if test -n "$WINDRES"; then
51190 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51191 echo "${ECHO_T}$WINDRES" >&6; }
51192 else
51193 { echo "$as_me:$LINENO: result: no" >&5
51194 echo "${ECHO_T}no" >&6; }
51195 fi
51196
51197
51198 fi
51199 if test -z "$ac_cv_prog_WINDRES"; then
51200 ac_ct_WINDRES=$WINDRES
51201 # Extract the first word of "windres", so it can be a program name with args.
51202 set dummy windres; ac_word=$2
51203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51205 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51207 else
51208 if test -n "$ac_ct_WINDRES"; then
51209 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51210 else
51211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51212 for as_dir in $PATH
51213 do
51214 IFS=$as_save_IFS
51215 test -z "$as_dir" && as_dir=.
51216 for ac_exec_ext in '' $ac_executable_extensions; do
51217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51218 ac_cv_prog_ac_ct_WINDRES="windres"
51219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51220 break 2
51221 fi
51222 done
51223 done
51224 IFS=$as_save_IFS
51225
51226 fi
51227 fi
51228 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51229 if test -n "$ac_ct_WINDRES"; then
51230 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51231 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51232 else
51233 { echo "$as_me:$LINENO: result: no" >&5
51234 echo "${ECHO_T}no" >&6; }
51235 fi
51236
51237 if test "x$ac_ct_WINDRES" = x; then
51238 WINDRES=""
51239 else
51240 case $cross_compiling:$ac_tool_warned in
51241 yes:)
51242 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51243 whose name does not start with the host triplet. If you think this
51244 configuration is useful to you, please write to autoconf@gnu.org." >&5
51245 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51246 whose name does not start with the host triplet. If you think this
51247 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51248 ac_tool_warned=yes ;;
51249 esac
51250 WINDRES=$ac_ct_WINDRES
51251 fi
51252 else
51253 WINDRES="$ac_cv_prog_WINDRES"
51254 fi
51255
51256 ;;
51257
51258 *-*-darwin* | powerpc-apple-macos* )
51259 # Extract the first word of "Rez", so it can be a program name with args.
51260 set dummy Rez; ac_word=$2
51261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51263 if test "${ac_cv_prog_REZ+set}" = set; then
51264 echo $ECHO_N "(cached) $ECHO_C" >&6
51265 else
51266 if test -n "$REZ"; then
51267 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51268 else
51269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51270 for as_dir in $PATH
51271 do
51272 IFS=$as_save_IFS
51273 test -z "$as_dir" && as_dir=.
51274 for ac_exec_ext in '' $ac_executable_extensions; do
51275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51276 ac_cv_prog_REZ="Rez"
51277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51278 break 2
51279 fi
51280 done
51281 done
51282 IFS=$as_save_IFS
51283
51284 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51285 fi
51286 fi
51287 REZ=$ac_cv_prog_REZ
51288 if test -n "$REZ"; then
51289 { echo "$as_me:$LINENO: result: $REZ" >&5
51290 echo "${ECHO_T}$REZ" >&6; }
51291 else
51292 { echo "$as_me:$LINENO: result: no" >&5
51293 echo "${ECHO_T}no" >&6; }
51294 fi
51295
51296
51297 # Extract the first word of "SetFile", so it can be a program name with args.
51298 set dummy SetFile; ac_word=$2
51299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51301 if test "${ac_cv_prog_SETFILE+set}" = set; then
51302 echo $ECHO_N "(cached) $ECHO_C" >&6
51303 else
51304 if test -n "$SETFILE"; then
51305 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51306 else
51307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51308 for as_dir in $PATH
51309 do
51310 IFS=$as_save_IFS
51311 test -z "$as_dir" && as_dir=.
51312 for ac_exec_ext in '' $ac_executable_extensions; do
51313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51314 ac_cv_prog_SETFILE="SetFile"
51315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51316 break 2
51317 fi
51318 done
51319 done
51320 IFS=$as_save_IFS
51321
51322 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51323 fi
51324 fi
51325 SETFILE=$ac_cv_prog_SETFILE
51326 if test -n "$SETFILE"; then
51327 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51328 echo "${ECHO_T}$SETFILE" >&6; }
51329 else
51330 { echo "$as_me:$LINENO: result: no" >&5
51331 echo "${ECHO_T}no" >&6; }
51332 fi
51333
51334
51335 ;;
51336 esac
51337
51338
51339
51340
51341
51342
51343 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51344
51345
51346 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51347
51348
51349
51350 # Check whether --enable-precomp-headers was given.
51351 if test "${enable_precomp_headers+set}" = set; then
51352 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51353 fi
51354
51355
51356 GCC_PCH=0
51357 ICC_PCH=0
51358 USE_PCH=0
51359 BK_MAKE_PCH=""
51360
51361 case ${BAKEFILE_HOST} in
51362 *-*-cygwin* )
51363 bk_use_pch="no"
51364 ;;
51365 esac
51366
51367 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51368 if test "x$GCC" = "xyes"; then
51369 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51370 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51371 cat >conftest.$ac_ext <<_ACEOF
51372 /* confdefs.h. */
51373 _ACEOF
51374 cat confdefs.h >>conftest.$ac_ext
51375 cat >>conftest.$ac_ext <<_ACEOF
51376 /* end confdefs.h. */
51377
51378 int
51379 main ()
51380 {
51381
51382 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51383 There is no PCH support
51384 #endif
51385 #if (__GNUC__ < 3)
51386 There is no PCH support
51387 #endif
51388 #if (__GNUC__ == 3) && \
51389 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51390 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51391 ( defined(__INTEL_COMPILER) )
51392 There is no PCH support
51393 #endif
51394
51395 ;
51396 return 0;
51397 }
51398 _ACEOF
51399 rm -f conftest.$ac_objext
51400 if { (ac_try="$ac_compile"
51401 case "(($ac_try" in
51402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51403 *) ac_try_echo=$ac_try;;
51404 esac
51405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51406 (eval "$ac_compile") 2>conftest.er1
51407 ac_status=$?
51408 grep -v '^ *+' conftest.er1 >conftest.err
51409 rm -f conftest.er1
51410 cat conftest.err >&5
51411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51412 (exit $ac_status); } && {
51413 test -z "$ac_c_werror_flag" ||
51414 test ! -s conftest.err
51415 } && test -s conftest.$ac_objext; then
51416
51417 { echo "$as_me:$LINENO: result: yes" >&5
51418 echo "${ECHO_T}yes" >&6; }
51419 GCC_PCH=1
51420
51421 else
51422 echo "$as_me: failed program was:" >&5
51423 sed 's/^/| /' conftest.$ac_ext >&5
51424
51425
51426 cat >conftest.$ac_ext <<_ACEOF
51427 /* confdefs.h. */
51428 _ACEOF
51429 cat confdefs.h >>conftest.$ac_ext
51430 cat >>conftest.$ac_ext <<_ACEOF
51431 /* end confdefs.h. */
51432
51433 int
51434 main ()
51435 {
51436
51437 #if !defined(__INTEL_COMPILER) || \
51438 (__INTEL_COMPILER < 800)
51439 There is no PCH support
51440 #endif
51441
51442 ;
51443 return 0;
51444 }
51445 _ACEOF
51446 rm -f conftest.$ac_objext
51447 if { (ac_try="$ac_compile"
51448 case "(($ac_try" in
51449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51450 *) ac_try_echo=$ac_try;;
51451 esac
51452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51453 (eval "$ac_compile") 2>conftest.er1
51454 ac_status=$?
51455 grep -v '^ *+' conftest.er1 >conftest.err
51456 rm -f conftest.er1
51457 cat conftest.err >&5
51458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51459 (exit $ac_status); } && {
51460 test -z "$ac_c_werror_flag" ||
51461 test ! -s conftest.err
51462 } && test -s conftest.$ac_objext; then
51463
51464 { echo "$as_me:$LINENO: result: yes" >&5
51465 echo "${ECHO_T}yes" >&6; }
51466 ICC_PCH=1
51467
51468 else
51469 echo "$as_me: failed program was:" >&5
51470 sed 's/^/| /' conftest.$ac_ext >&5
51471
51472
51473 { echo "$as_me:$LINENO: result: no" >&5
51474 echo "${ECHO_T}no" >&6; }
51475
51476 fi
51477
51478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51479
51480 fi
51481
51482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51483 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51484 USE_PCH=1
51485
51486 D='$'
51487 cat <<EOF >bk-make-pch
51488 #!/bin/sh
51489
51490 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51491 # script. It is used to generated precompiled headers.
51492 #
51493 # Permission is given to use this file in any way.
51494
51495 outfile="${D}{1}"
51496 header="${D}{2}"
51497 shift
51498 shift
51499
51500 compiler=""
51501 headerfile=""
51502
51503 while test ${D}{#} -gt 0; do
51504 add_to_cmdline=1
51505 case "${D}{1}" in
51506 -I* )
51507 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51508 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51509 headerfile="${D}{incdir}/${D}{header}"
51510 fi
51511 ;;
51512 -use-pch|-use_pch )
51513 shift
51514 add_to_cmdline=0
51515 ;;
51516 esac
51517 if test ${D}add_to_cmdline = 1 ; then
51518 compiler="${D}{compiler} ${D}{1}"
51519 fi
51520 shift
51521 done
51522
51523 if test "x${D}{headerfile}" = "x" ; then
51524 echo "error: can't find header ${D}{header} in include paths" >&2
51525 else
51526 if test -f ${D}{outfile} ; then
51527 rm -f ${D}{outfile}
51528 else
51529 mkdir -p \`dirname ${D}{outfile}\`
51530 fi
51531 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51532 mkdir -p .deps
51533 if test "x${GCC_PCH}" = "x1" ; then
51534 # can do this because gcc is >= 3.4:
51535 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51536 elif test "x${ICC_PCH}" = "x1" ; then
51537 filename=pch_gen-${D}${D}
51538 file=${D}{filename}.c
51539 dfile=${D}{filename}.d
51540 cat > ${D}file <<EOT
51541 #include "${D}header"
51542 EOT
51543 # using -MF icc complains about differing command lines in creation/use
51544 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51545 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51546 rm -f ${D}file ${D}dfile ${D}{filename}.o
51547 fi
51548 exit ${D}{?}
51549 fi
51550 EOF
51551
51552 chmod +x bk-make-pch
51553 BK_MAKE_PCH="`pwd`/bk-make-pch"
51554 fi
51555 fi
51556 fi
51557
51558
51559
51560
51561
51562 COND_BUILD_DEBUG="#"
51563 if test "x$BUILD" = "xdebug" ; then
51564 COND_BUILD_DEBUG=""
51565 fi
51566
51567 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51568 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51569 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51570 fi
51571
51572 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51573 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51574 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51575 fi
51576
51577 COND_BUILD_DEBUG_UNICODE_0="#"
51578 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51579 COND_BUILD_DEBUG_UNICODE_0=""
51580 fi
51581
51582 COND_BUILD_DEBUG_UNICODE_1="#"
51583 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51584 COND_BUILD_DEBUG_UNICODE_1=""
51585 fi
51586
51587 COND_BUILD_RELEASE="#"
51588 if test "x$BUILD" = "xrelease" ; then
51589 COND_BUILD_RELEASE=""
51590 fi
51591
51592 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51593 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51594 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51595 fi
51596
51597 COND_BUILD_RELEASE_UNICODE_0="#"
51598 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51599 COND_BUILD_RELEASE_UNICODE_0=""
51600 fi
51601
51602 COND_BUILD_RELEASE_UNICODE_1="#"
51603 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51604 COND_BUILD_RELEASE_UNICODE_1=""
51605 fi
51606
51607 COND_DEBUG_FLAG_1="#"
51608 if test "x$DEBUG_FLAG" = "x1" ; then
51609 COND_DEBUG_FLAG_1=""
51610 fi
51611
51612 COND_DEBUG_INFO_0="#"
51613 if test "x$DEBUG_INFO" = "x0" ; then
51614 COND_DEBUG_INFO_0=""
51615 fi
51616
51617 COND_DEBUG_INFO_1="#"
51618 if test "x$DEBUG_INFO" = "x1" ; then
51619 COND_DEBUG_INFO_1=""
51620 fi
51621
51622 COND_DEPS_TRACKING_0="#"
51623 if test "x$DEPS_TRACKING" = "x0" ; then
51624 COND_DEPS_TRACKING_0=""
51625 fi
51626
51627 COND_DEPS_TRACKING_1="#"
51628 if test "x$DEPS_TRACKING" = "x1" ; then
51629 COND_DEPS_TRACKING_1=""
51630 fi
51631
51632 COND_GCC_PCH_1="#"
51633 if test "x$GCC_PCH" = "x1" ; then
51634 COND_GCC_PCH_1=""
51635 fi
51636
51637 COND_ICC_PCH_1="#"
51638 if test "x$ICC_PCH" = "x1" ; then
51639 COND_ICC_PCH_1=""
51640 fi
51641
51642 COND_MONOLITHIC_0="#"
51643 if test "x$MONOLITHIC" = "x0" ; then
51644 COND_MONOLITHIC_0=""
51645 fi
51646
51647 COND_MONOLITHIC_0_SHARED_0="#"
51648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51649 COND_MONOLITHIC_0_SHARED_0=""
51650 fi
51651
51652 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51654 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51655 fi
51656
51657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51659 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51660 fi
51661
51662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51664 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51665 fi
51666
51667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51669 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51670 fi
51671
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51675 fi
51676
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51680 fi
51681
51682 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51684 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51685 fi
51686
51687 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51689 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51690 fi
51691
51692 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51694 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51695 fi
51696
51697 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51699 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51700 fi
51701
51702 COND_MONOLITHIC_0_SHARED_1="#"
51703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51704 COND_MONOLITHIC_0_SHARED_1=""
51705 fi
51706
51707 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51709 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51710 fi
51711
51712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51714 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51715 fi
51716
51717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51719 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51720 fi
51721
51722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51724 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51725 fi
51726
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
51728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51729 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
51730 fi
51731
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51733 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51734 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51735 fi
51736
51737 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
51738 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
51739 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
51740 fi
51741
51742 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51743 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51744 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51745 fi
51746
51747 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51748 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51749 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51750 fi
51751
51752 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51754 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51755 fi
51756
51757 COND_MONOLITHIC_0_USE_AUI_1="#"
51758 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51759 COND_MONOLITHIC_0_USE_AUI_1=""
51760 fi
51761
51762 COND_MONOLITHIC_0_USE_GUI_1="#"
51763 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51764 COND_MONOLITHIC_0_USE_GUI_1=""
51765 fi
51766
51767 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51768 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51769 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51770 fi
51771
51772 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
51773 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51774 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
51775 fi
51776
51777 COND_MONOLITHIC_0_USE_HTML_1="#"
51778 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51779 COND_MONOLITHIC_0_USE_HTML_1=""
51780 fi
51781
51782 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51783 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51784 COND_MONOLITHIC_0_USE_MEDIA_1=""
51785 fi
51786
51787 COND_MONOLITHIC_0_USE_ODBC_1="#"
51788 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
51789 COND_MONOLITHIC_0_USE_ODBC_1=""
51790 fi
51791
51792 COND_MONOLITHIC_0_USE_QA_1="#"
51793 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51794 COND_MONOLITHIC_0_USE_QA_1=""
51795 fi
51796
51797 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51798 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51799 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51800 fi
51801
51802 COND_MONOLITHIC_0_USE_STC_1="#"
51803 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51804 COND_MONOLITHIC_0_USE_STC_1=""
51805 fi
51806
51807 COND_MONOLITHIC_0_USE_XRC_1="#"
51808 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51809 COND_MONOLITHIC_0_USE_XRC_1=""
51810 fi
51811
51812 COND_MONOLITHIC_1="#"
51813 if test "x$MONOLITHIC" = "x1" ; then
51814 COND_MONOLITHIC_1=""
51815 fi
51816
51817 COND_MONOLITHIC_1_SHARED_0="#"
51818 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51819 COND_MONOLITHIC_1_SHARED_0=""
51820 fi
51821
51822 COND_MONOLITHIC_1_SHARED_1="#"
51823 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51824 COND_MONOLITHIC_1_SHARED_1=""
51825 fi
51826
51827 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51828 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51829 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51830 fi
51831
51832 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51833 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51834 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51835 fi
51836
51837 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51838 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51839 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51840 fi
51841
51842 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51843 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51844 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51845 fi
51846
51847 COND_PLATFORM_MACOSX_1="#"
51848 if test "x$PLATFORM_MACOSX" = "x1" ; then
51849 COND_PLATFORM_MACOSX_1=""
51850 fi
51851
51852 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51854 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51855 fi
51856
51857 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51859 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51860 fi
51861
51862 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51865 fi
51866
51867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51870 fi
51871
51872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51873 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51874 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51875 fi
51876
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51878 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51879 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51880 fi
51881
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51883 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51884 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51885 fi
51886
51887 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51888 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51889 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51890 fi
51891
51892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51893 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51895 fi
51896
51897 COND_PLATFORM_MACOS_1="#"
51898 if test "x$PLATFORM_MACOS" = "x1" ; then
51899 COND_PLATFORM_MACOS_1=""
51900 fi
51901
51902 COND_PLATFORM_MAC_1="#"
51903 if test "x$PLATFORM_MAC" = "x1" ; then
51904 COND_PLATFORM_MAC_1=""
51905 fi
51906
51907 COND_PLATFORM_MSDOS_0="#"
51908 if test "x$PLATFORM_MSDOS" = "x0" ; then
51909 COND_PLATFORM_MSDOS_0=""
51910 fi
51911
51912 COND_PLATFORM_MSDOS_1="#"
51913 if test "x$PLATFORM_MSDOS" = "x1" ; then
51914 COND_PLATFORM_MSDOS_1=""
51915 fi
51916
51917 COND_PLATFORM_OS2_1="#"
51918 if test "x$PLATFORM_OS2" = "x1" ; then
51919 COND_PLATFORM_OS2_1=""
51920 fi
51921
51922 COND_PLATFORM_UNIX_0="#"
51923 if test "x$PLATFORM_UNIX" = "x0" ; then
51924 COND_PLATFORM_UNIX_0=""
51925 fi
51926
51927 COND_PLATFORM_UNIX_1="#"
51928 if test "x$PLATFORM_UNIX" = "x1" ; then
51929 COND_PLATFORM_UNIX_1=""
51930 fi
51931
51932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51933 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51934 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51935 fi
51936
51937 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51938 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51939 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51940 fi
51941
51942 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51943 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51944 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51945 fi
51946
51947 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51948 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51949 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51950 fi
51951
51952 COND_PLATFORM_WIN32_0="#"
51953 if test "x$PLATFORM_WIN32" = "x0" ; then
51954 COND_PLATFORM_WIN32_0=""
51955 fi
51956
51957 COND_PLATFORM_WIN32_1="#"
51958 if test "x$PLATFORM_WIN32" = "x1" ; then
51959 COND_PLATFORM_WIN32_1=""
51960 fi
51961
51962 COND_SHARED_0="#"
51963 if test "x$SHARED" = "x0" ; then
51964 COND_SHARED_0=""
51965 fi
51966
51967 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51968 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51969 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51970 fi
51971
51972 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51973 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51974 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51975 fi
51976
51977 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51978 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51979 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51980 fi
51981
51982 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51984 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51985 fi
51986
51987 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51988 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51989 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51990 fi
51991
51992 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51993 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51994 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51995 fi
51996
51997 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51998 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51999 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52000 fi
52001
52002 COND_SHARED_0_USE_STC_1="#"
52003 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52004 COND_SHARED_0_USE_STC_1=""
52005 fi
52006
52007 COND_SHARED_0_USE_XRC_1="#"
52008 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52009 COND_SHARED_0_USE_XRC_1=""
52010 fi
52011
52012 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52013 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52014 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52015 fi
52016
52017 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52018 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52019 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52020 fi
52021
52022 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52023 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52024 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52025 fi
52026
52027 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52028 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52029 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52030 fi
52031
52032 COND_SHARED_1="#"
52033 if test "x$SHARED" = "x1" ; then
52034 COND_SHARED_1=""
52035 fi
52036
52037 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52038 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52039 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52040 fi
52041
52042 COND_SHARED_1_USE_XRC_1="#"
52043 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52044 COND_SHARED_1_USE_XRC_1=""
52045 fi
52046
52047 COND_TOOLKIT_="#"
52048 if test "x$TOOLKIT" = "x" ; then
52049 COND_TOOLKIT_=""
52050 fi
52051
52052 COND_TOOLKIT_COCOA="#"
52053 if test "x$TOOLKIT" = "xCOCOA" ; then
52054 COND_TOOLKIT_COCOA=""
52055 fi
52056
52057 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52058 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52059 COND_TOOLKIT_COCOA_USE_GUI_1=""
52060 fi
52061
52062 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52063 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52064 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52065 fi
52066
52067 COND_TOOLKIT_DFB="#"
52068 if test "x$TOOLKIT" = "xDFB" ; then
52069 COND_TOOLKIT_DFB=""
52070 fi
52071
52072 COND_TOOLKIT_DFB_USE_GUI_1="#"
52073 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52074 COND_TOOLKIT_DFB_USE_GUI_1=""
52075 fi
52076
52077 COND_TOOLKIT_GTK="#"
52078 if test "x$TOOLKIT" = "xGTK" ; then
52079 COND_TOOLKIT_GTK=""
52080 fi
52081
52082 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52083 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52084 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52085 fi
52086
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52088 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52090 fi
52091
52092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52093 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52095 fi
52096
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52098 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52099 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52100 fi
52101
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52103 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52104 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52105 fi
52106
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52108 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52109 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52110 fi
52111
52112 COND_TOOLKIT_GTK_USE_GUI_1="#"
52113 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52114 COND_TOOLKIT_GTK_USE_GUI_1=""
52115 fi
52116
52117 COND_TOOLKIT_MAC="#"
52118 if test "x$TOOLKIT" = "xMAC" ; then
52119 COND_TOOLKIT_MAC=""
52120 fi
52121
52122 COND_TOOLKIT_MAC_USE_GUI_1="#"
52123 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52124 COND_TOOLKIT_MAC_USE_GUI_1=""
52125 fi
52126
52127 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52128 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52129 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52130 fi
52131
52132 COND_TOOLKIT_MGL="#"
52133 if test "x$TOOLKIT" = "xMGL" ; then
52134 COND_TOOLKIT_MGL=""
52135 fi
52136
52137 COND_TOOLKIT_MGL_USE_GUI_1="#"
52138 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52139 COND_TOOLKIT_MGL_USE_GUI_1=""
52140 fi
52141
52142 COND_TOOLKIT_MOTIF="#"
52143 if test "x$TOOLKIT" = "xMOTIF" ; then
52144 COND_TOOLKIT_MOTIF=""
52145 fi
52146
52147 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52148 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52149 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52150 fi
52151
52152 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52153 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52154 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52155 fi
52156
52157 COND_TOOLKIT_MSW="#"
52158 if test "x$TOOLKIT" = "xMSW" ; then
52159 COND_TOOLKIT_MSW=""
52160 fi
52161
52162 COND_TOOLKIT_MSW_USE_GUI_1="#"
52163 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52164 COND_TOOLKIT_MSW_USE_GUI_1=""
52165 fi
52166
52167 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52168 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52169 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52170 fi
52171
52172 COND_TOOLKIT_MSW_WXUNIV_0="#"
52173 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52174 COND_TOOLKIT_MSW_WXUNIV_0=""
52175 fi
52176
52177 COND_TOOLKIT_PM="#"
52178 if test "x$TOOLKIT" = "xPM" ; then
52179 COND_TOOLKIT_PM=""
52180 fi
52181
52182 COND_TOOLKIT_PM_USE_GUI_1="#"
52183 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52184 COND_TOOLKIT_PM_USE_GUI_1=""
52185 fi
52186
52187 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52188 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52189 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52190 fi
52191
52192 COND_TOOLKIT_WINCE="#"
52193 if test "x$TOOLKIT" = "xWINCE" ; then
52194 COND_TOOLKIT_WINCE=""
52195 fi
52196
52197 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52198 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52199 COND_TOOLKIT_WINCE_USE_GUI_1=""
52200 fi
52201
52202 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52203 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52204 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52205 fi
52206
52207 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52208 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52209 COND_TOOLKIT_WINCE_WXUNIV_0=""
52210 fi
52211
52212 COND_TOOLKIT_X11="#"
52213 if test "x$TOOLKIT" = "xX11" ; then
52214 COND_TOOLKIT_X11=""
52215 fi
52216
52217 COND_TOOLKIT_X11_USE_GUI_1="#"
52218 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52219 COND_TOOLKIT_X11_USE_GUI_1=""
52220 fi
52221
52222 COND_UNICODE_1="#"
52223 if test "x$UNICODE" = "x1" ; then
52224 COND_UNICODE_1=""
52225 fi
52226
52227 COND_USE_EXCEPTIONS_0="#"
52228 if test "x$USE_EXCEPTIONS" = "x0" ; then
52229 COND_USE_EXCEPTIONS_0=""
52230 fi
52231
52232 COND_USE_EXCEPTIONS_1="#"
52233 if test "x$USE_EXCEPTIONS" = "x1" ; then
52234 COND_USE_EXCEPTIONS_1=""
52235 fi
52236
52237 COND_USE_GUI_0="#"
52238 if test "x$USE_GUI" = "x0" ; then
52239 COND_USE_GUI_0=""
52240 fi
52241
52242 COND_USE_GUI_1="#"
52243 if test "x$USE_GUI" = "x1" ; then
52244 COND_USE_GUI_1=""
52245 fi
52246
52247 COND_USE_GUI_1_USE_OPENGL_1="#"
52248 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52249 COND_USE_GUI_1_USE_OPENGL_1=""
52250 fi
52251
52252 COND_USE_GUI_1_WXUNIV_0="#"
52253 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52254 COND_USE_GUI_1_WXUNIV_0=""
52255 fi
52256
52257 COND_USE_GUI_1_WXUNIV_1="#"
52258 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52259 COND_USE_GUI_1_WXUNIV_1=""
52260 fi
52261
52262 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52263 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52264 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52265 fi
52266
52267 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52269 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52270 fi
52271
52272 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52274 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52275 fi
52276
52277 COND_USE_ODBC_1="#"
52278 if test "x$USE_ODBC" = "x1" ; then
52279 COND_USE_ODBC_1=""
52280 fi
52281
52282 COND_USE_OPENGL_1="#"
52283 if test "x$USE_OPENGL" = "x1" ; then
52284 COND_USE_OPENGL_1=""
52285 fi
52286
52287 COND_USE_PCH_1="#"
52288 if test "x$USE_PCH" = "x1" ; then
52289 COND_USE_PCH_1=""
52290 fi
52291
52292 COND_USE_PLUGINS_0="#"
52293 if test "x$USE_PLUGINS" = "x0" ; then
52294 COND_USE_PLUGINS_0=""
52295 fi
52296
52297 COND_USE_RTTI_0="#"
52298 if test "x$USE_RTTI" = "x0" ; then
52299 COND_USE_RTTI_0=""
52300 fi
52301
52302 COND_USE_RTTI_1="#"
52303 if test "x$USE_RTTI" = "x1" ; then
52304 COND_USE_RTTI_1=""
52305 fi
52306
52307 COND_USE_SOSYMLINKS_1="#"
52308 if test "x$USE_SOSYMLINKS" = "x1" ; then
52309 COND_USE_SOSYMLINKS_1=""
52310 fi
52311
52312 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52313 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52314 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52315 fi
52316
52317 COND_USE_SOVERLINUX_1="#"
52318 if test "x$USE_SOVERLINUX" = "x1" ; then
52319 COND_USE_SOVERLINUX_1=""
52320 fi
52321
52322 COND_USE_SOVERSION_0="#"
52323 if test "x$USE_SOVERSION" = "x0" ; then
52324 COND_USE_SOVERSION_0=""
52325 fi
52326
52327 COND_USE_SOVERSOLARIS_1="#"
52328 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52329 COND_USE_SOVERSOLARIS_1=""
52330 fi
52331
52332 COND_USE_STC_1="#"
52333 if test "x$USE_STC" = "x1" ; then
52334 COND_USE_STC_1=""
52335 fi
52336
52337 COND_USE_THREADS_0="#"
52338 if test "x$USE_THREADS" = "x0" ; then
52339 COND_USE_THREADS_0=""
52340 fi
52341
52342 COND_USE_THREADS_1="#"
52343 if test "x$USE_THREADS" = "x1" ; then
52344 COND_USE_THREADS_1=""
52345 fi
52346
52347 COND_USE_XRC_1="#"
52348 if test "x$USE_XRC" = "x1" ; then
52349 COND_USE_XRC_1=""
52350 fi
52351
52352 COND_WINDOWS_IMPLIB_1="#"
52353 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52354 COND_WINDOWS_IMPLIB_1=""
52355 fi
52356
52357 COND_WITH_PLUGIN_SDL_1="#"
52358 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52359 COND_WITH_PLUGIN_SDL_1=""
52360 fi
52361
52362 COND_WXUNIV_0="#"
52363 if test "x$WXUNIV" = "x0" ; then
52364 COND_WXUNIV_0=""
52365 fi
52366
52367 COND_WXUNIV_1="#"
52368 if test "x$WXUNIV" = "x1" ; then
52369 COND_WXUNIV_1=""
52370 fi
52371
52372 COND_WXUSE_EXPAT_BUILTIN="#"
52373 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52374 COND_WXUSE_EXPAT_BUILTIN=""
52375 fi
52376
52377 COND_WXUSE_LIBJPEG_BUILTIN="#"
52378 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52379 COND_WXUSE_LIBJPEG_BUILTIN=""
52380 fi
52381
52382 COND_WXUSE_LIBPNG_BUILTIN="#"
52383 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52384 COND_WXUSE_LIBPNG_BUILTIN=""
52385 fi
52386
52387 COND_WXUSE_LIBTIFF_BUILTIN="#"
52388 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52389 COND_WXUSE_LIBTIFF_BUILTIN=""
52390 fi
52391
52392 COND_WXUSE_ODBC_BUILTIN="#"
52393 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52394 COND_WXUSE_ODBC_BUILTIN=""
52395 fi
52396
52397 COND_WXUSE_REGEX_BUILTIN="#"
52398 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52399 COND_WXUSE_REGEX_BUILTIN=""
52400 fi
52401
52402 COND_WXUSE_ZLIB_BUILTIN="#"
52403 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52404 COND_WXUSE_ZLIB_BUILTIN=""
52405 fi
52406
52407
52408
52409 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52410 { { 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
52411 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;}
52412 { (exit 1); exit 1; }; }
52413 fi
52414
52415 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52416 { { 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
52417 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;}
52418 { (exit 1); exit 1; }; }
52419 fi
52420
52421
52422 if test $GCC_PCH = 1
52423 then
52424 if test "$wx_cv_gcc_pch_bug" = yes; then
52425 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52426 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52427 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52428 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52429 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52430 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52431 fi
52432
52433 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52434 fi
52435
52436
52437 if test "$wxUSE_MAC" = 1 ; then
52438 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52439 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52440 mv temp bk-deps
52441 chmod +x bk-deps
52442 fi
52443 fi
52444
52445 if test "$wxUSE_SHARED" = "yes"; then
52446
52447 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52448 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52449
52450 case "${host}" in
52451 *-pc-os2_emx | *-pc-os2-emx )
52452 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52453 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52454 cp -p ${srcdir}/src/os2/dllnames.sh .
52455 cp -p ${srcdir}/src/os2/dllar.sh .
52456 ;;
52457 esac
52458 else
52459
52460 EXE_LINKER="$CXX -o"
52461
52462 fi
52463 if test "$wxUSE_OMF" = "yes"; then
52464 case "${host}" in
52465 *-pc-os2_emx | *-pc-os2-emx )
52466 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52467 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52468 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52469 ;;
52470 esac
52471 fi
52472
52473 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52474
52475
52476 case "${host}" in
52477 *-*-solaris2* )
52478 if "$GCC" = yes; then
52479 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52480 LIBS=`echo $LIBS | sed 's/-mt//'`
52481 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52482 fi
52483 ;;
52484
52485 *-*-linux* )
52486 if test "x$SUNCXX" = xyes; then
52487 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52488 LIBS=`echo $LIBS | sed 's/-pthread//'`
52489 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52490 fi
52491 ;;
52492 esac
52493
52494 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52495 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52496
52497 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52498
52499
52500
52501
52502
52503
52504
52505
52506
52507
52508
52509
52510
52511
52512
52513
52514
52515
52516
52517
52518
52519
52520
52521
52522
52523
52524
52525
52526
52527
52528
52529
52530
52531
52532
52533
52534
52535
52536
52537
52538
52539
52540
52541
52542
52543
52544
52545
52546
52547
52548
52549
52550
52551
52552
52553
52554
52555
52556
52557
52558
52559 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52561 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52562 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52563 echo $ECHO_N "(cached) $ECHO_C" >&6
52564 else
52565 cat >conftest.make <<\_ACEOF
52566 SHELL = /bin/sh
52567 all:
52568 @echo '@@@%%%=$(MAKE)=@@@%%%'
52569 _ACEOF
52570 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52571 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52572 *@@@%%%=?*=@@@%%%*)
52573 eval ac_cv_prog_make_${ac_make}_set=yes;;
52574 *)
52575 eval ac_cv_prog_make_${ac_make}_set=no;;
52576 esac
52577 rm -f conftest.make
52578 fi
52579 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52580 { echo "$as_me:$LINENO: result: yes" >&5
52581 echo "${ECHO_T}yes" >&6; }
52582 SET_MAKE=
52583 else
52584 { echo "$as_me:$LINENO: result: no" >&5
52585 echo "${ECHO_T}no" >&6; }
52586 SET_MAKE="MAKE=${MAKE-make}"
52587 fi
52588
52589
52590
52591 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52592
52593
52594 if test "$USE_WIN32" = 1; then
52595 ac_config_commands="$ac_config_commands
52596 rcdefs.h
52597 "
52598
52599 fi
52600
52601 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52602
52603
52604 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52605
52606
52607 if test "$wx_cv_version_script" = "yes"; then
52608 ac_config_files="$ac_config_files version-script"
52609
52610 fi
52611 ac_config_files="$ac_config_files Makefile"
52612
52613
52614 ac_config_commands="$ac_config_commands wx-config"
52615
52616
52617
52618 if test "$wxWITH_SUBDIRS" != "no"; then
52619 if test "$wxUSE_GUI" = "yes"; then
52620 SUBDIRS="samples demos utils"
52621 else SUBDIRS="samples utils"
52622 fi
52623
52624
52625
52626 # Check whether --with-cppunit-prefix was given.
52627 if test "${with_cppunit_prefix+set}" = set; then
52628 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52629 else
52630 cppunit_config_prefix=""
52631 fi
52632
52633
52634 # Check whether --with-cppunit-exec-prefix was given.
52635 if test "${with_cppunit_exec_prefix+set}" = set; then
52636 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52637 else
52638 cppunit_config_exec_prefix=""
52639 fi
52640
52641
52642 if test x$cppunit_config_exec_prefix != x ; then
52643 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52644 if test x${CPPUNIT_CONFIG+set} != xset ; then
52645 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52646 fi
52647 fi
52648 if test x$cppunit_config_prefix != x ; then
52649 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52650 if test x${CPPUNIT_CONFIG+set} != xset ; then
52651 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52652 fi
52653 fi
52654
52655 # Extract the first word of "cppunit-config", so it can be a program name with args.
52656 set dummy cppunit-config; ac_word=$2
52657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52659 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52660 echo $ECHO_N "(cached) $ECHO_C" >&6
52661 else
52662 case $CPPUNIT_CONFIG in
52663 [\\/]* | ?:[\\/]*)
52664 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52665 ;;
52666 *)
52667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52668 for as_dir in $PATH
52669 do
52670 IFS=$as_save_IFS
52671 test -z "$as_dir" && as_dir=.
52672 for ac_exec_ext in '' $ac_executable_extensions; do
52673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52674 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52676 break 2
52677 fi
52678 done
52679 done
52680 IFS=$as_save_IFS
52681
52682 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52683 ;;
52684 esac
52685 fi
52686 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52687 if test -n "$CPPUNIT_CONFIG"; then
52688 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52689 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52690 else
52691 { echo "$as_me:$LINENO: result: no" >&5
52692 echo "${ECHO_T}no" >&6; }
52693 fi
52694
52695
52696 cppunit_version_min=1.8.0
52697
52698 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52699 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52700 no_cppunit=""
52701 if test "$CPPUNIT_CONFIG" = "no" ; then
52702 { echo "$as_me:$LINENO: result: no" >&5
52703 echo "${ECHO_T}no" >&6; }
52704 no_cppunit=yes
52705 else
52706 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52707 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52708 cppunit_version=`$CPPUNIT_CONFIG --version`
52709
52710 cppunit_major_version=`echo $cppunit_version | \
52711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52712 cppunit_minor_version=`echo $cppunit_version | \
52713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52714 cppunit_micro_version=`echo $cppunit_version | \
52715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52716
52717 cppunit_major_min=`echo $cppunit_version_min | \
52718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52719 cppunit_minor_min=`echo $cppunit_version_min | \
52720 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52721 cppunit_micro_min=`echo $cppunit_version_min | \
52722 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52723
52724 cppunit_version_proper=`expr \
52725 $cppunit_major_version \> $cppunit_major_min \| \
52726 $cppunit_major_version \= $cppunit_major_min \& \
52727 $cppunit_minor_version \> $cppunit_minor_min \| \
52728 $cppunit_major_version \= $cppunit_major_min \& \
52729 $cppunit_minor_version \= $cppunit_minor_min \& \
52730 $cppunit_micro_version \>= $cppunit_micro_min `
52731
52732 if test "$cppunit_version_proper" = "1" ; then
52733 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52734 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52735 else
52736 { echo "$as_me:$LINENO: result: no" >&5
52737 echo "${ECHO_T}no" >&6; }
52738 no_cppunit=yes
52739 fi
52740 fi
52741
52742 if test "x$no_cppunit" = x ; then
52743 SUBDIRS="$SUBDIRS tests"
52744 else
52745 CPPUNIT_CFLAGS=""
52746 CPPUNIT_LIBS=""
52747 :
52748 fi
52749
52750
52751
52752
52753
52754 for subdir in `echo $SUBDIRS`; do
52755 if test -d ${srcdir}/${subdir} ; then
52756 if test "$wxUSE_GUI" = "yes"; then
52757 if test ${subdir} = "samples"; then
52758 makefiles="samples/Makefile.in $makefiles"
52759 for sample in `echo $SAMPLES_SUBDIRS`; do
52760 if test -d $srcdir/samples/$sample; then
52761 makefiles="samples/$sample/Makefile.in $makefiles"
52762 fi
52763 done
52764 else
52765 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
52766 eval "disabled=\$$disabled_var"
52767 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52768 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52769 fi
52770 else if test ${subdir} = "samples"; then
52771 makefiles="samples/Makefile.in samples/console/Makefile.in"
52772 elif test ${subdir} = "utils"; then
52773 makefiles=""
52774 for util in HelpGen tex2rtf ; do
52775 if test -d $srcdir/utils/$util ; then
52776 makefiles="utils/$util/Makefile.in \
52777 utils/$util/src/Makefile.in \
52778 $makefiles"
52779 fi
52780 done
52781 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52782 fi
52783 fi
52784
52785 for mkin in $makefiles ; do
52786 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52787 ac_config_files="$ac_config_files $mk"
52788
52789 done
52790 fi
52791 done
52792 fi
52793 cat >confcache <<\_ACEOF
52794 # This file is a shell script that caches the results of configure
52795 # tests run on this system so they can be shared between configure
52796 # scripts and configure runs, see configure's option --config-cache.
52797 # It is not useful on other systems. If it contains results you don't
52798 # want to keep, you may remove or edit it.
52799 #
52800 # config.status only pays attention to the cache file if you give it
52801 # the --recheck option to rerun configure.
52802 #
52803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52805 # following values.
52806
52807 _ACEOF
52808
52809 # The following way of writing the cache mishandles newlines in values,
52810 # but we know of no workaround that is simple, portable, and efficient.
52811 # So, we kill variables containing newlines.
52812 # Ultrix sh set writes to stderr and can't be redirected directly,
52813 # and sets the high bit in the cache file unless we assign to the vars.
52814 (
52815 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52816 eval ac_val=\$$ac_var
52817 case $ac_val in #(
52818 *${as_nl}*)
52819 case $ac_var in #(
52820 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52821 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52822 esac
52823 case $ac_var in #(
52824 _ | IFS | as_nl) ;; #(
52825 *) $as_unset $ac_var ;;
52826 esac ;;
52827 esac
52828 done
52829
52830 (set) 2>&1 |
52831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52832 *${as_nl}ac_space=\ *)
52833 # `set' does not quote correctly, so add quotes (double-quote
52834 # substitution turns \\\\ into \\, and sed turns \\ into \).
52835 sed -n \
52836 "s/'/'\\\\''/g;
52837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52838 ;; #(
52839 *)
52840 # `set' quotes correctly as required by POSIX, so do not add quotes.
52841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52842 ;;
52843 esac |
52844 sort
52845 ) |
52846 sed '
52847 /^ac_cv_env_/b end
52848 t clear
52849 :clear
52850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52851 t end
52852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52853 :end' >>confcache
52854 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52855 if test -w "$cache_file"; then
52856 test "x$cache_file" != "x/dev/null" &&
52857 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52858 echo "$as_me: updating cache $cache_file" >&6;}
52859 cat confcache >$cache_file
52860 else
52861 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52862 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52863 fi
52864 fi
52865 rm -f confcache
52866
52867 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52868 # Let make expand exec_prefix.
52869 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52870
52871 DEFS=-DHAVE_CONFIG_H
52872
52873 ac_libobjs=
52874 ac_ltlibobjs=
52875 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52876 # 1. Remove the extension, and $U if already installed.
52877 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52878 ac_i=`echo "$ac_i" | sed "$ac_script"`
52879 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52880 # will be set to the directory where LIBOBJS objects are built.
52881 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52882 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52883 done
52884 LIBOBJS=$ac_libobjs
52885
52886 LTLIBOBJS=$ac_ltlibobjs
52887
52888
52889
52890 : ${CONFIG_STATUS=./config.status}
52891 ac_clean_files_save=$ac_clean_files
52892 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52893 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52894 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52895 cat >$CONFIG_STATUS <<_ACEOF
52896 #! $SHELL
52897 # Generated by $as_me.
52898 # Run this file to recreate the current configuration.
52899 # Compiler output produced by configure, useful for debugging
52900 # configure, is in config.log if it exists.
52901
52902 debug=false
52903 ac_cs_recheck=false
52904 ac_cs_silent=false
52905 SHELL=\${CONFIG_SHELL-$SHELL}
52906 _ACEOF
52907
52908 cat >>$CONFIG_STATUS <<\_ACEOF
52909 ## --------------------- ##
52910 ## M4sh Initialization. ##
52911 ## --------------------- ##
52912
52913 # Be more Bourne compatible
52914 DUALCASE=1; export DUALCASE # for MKS sh
52915 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52916 emulate sh
52917 NULLCMD=:
52918 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52919 # is contrary to our usage. Disable this feature.
52920 alias -g '${1+"$@"}'='"$@"'
52921 setopt NO_GLOB_SUBST
52922 else
52923 case `(set -o) 2>/dev/null` in
52924 *posix*) set -o posix ;;
52925 esac
52926
52927 fi
52928
52929
52930
52931
52932 # PATH needs CR
52933 # Avoid depending upon Character Ranges.
52934 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52935 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52936 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52937 as_cr_digits='0123456789'
52938 as_cr_alnum=$as_cr_Letters$as_cr_digits
52939
52940 # The user is always right.
52941 if test "${PATH_SEPARATOR+set}" != set; then
52942 echo "#! /bin/sh" >conf$$.sh
52943 echo "exit 0" >>conf$$.sh
52944 chmod +x conf$$.sh
52945 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52946 PATH_SEPARATOR=';'
52947 else
52948 PATH_SEPARATOR=:
52949 fi
52950 rm -f conf$$.sh
52951 fi
52952
52953 # Support unset when possible.
52954 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52955 as_unset=unset
52956 else
52957 as_unset=false
52958 fi
52959
52960
52961 # IFS
52962 # We need space, tab and new line, in precisely that order. Quoting is
52963 # there to prevent editors from complaining about space-tab.
52964 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52965 # splitting by setting IFS to empty value.)
52966 as_nl='
52967 '
52968 IFS=" "" $as_nl"
52969
52970 # Find who we are. Look in the path if we contain no directory separator.
52971 case $0 in
52972 *[\\/]* ) as_myself=$0 ;;
52973 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52974 for as_dir in $PATH
52975 do
52976 IFS=$as_save_IFS
52977 test -z "$as_dir" && as_dir=.
52978 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52979 done
52980 IFS=$as_save_IFS
52981
52982 ;;
52983 esac
52984 # We did not find ourselves, most probably we were run as `sh COMMAND'
52985 # in which case we are not to be found in the path.
52986 if test "x$as_myself" = x; then
52987 as_myself=$0
52988 fi
52989 if test ! -f "$as_myself"; then
52990 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52991 { (exit 1); exit 1; }
52992 fi
52993
52994 # Work around bugs in pre-3.0 UWIN ksh.
52995 for as_var in ENV MAIL MAILPATH
52996 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52997 done
52998 PS1='$ '
52999 PS2='> '
53000 PS4='+ '
53001
53002 # NLS nuisances.
53003 for as_var in \
53004 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53005 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53006 LC_TELEPHONE LC_TIME
53007 do
53008 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53009 eval $as_var=C; export $as_var
53010 else
53011 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53012 fi
53013 done
53014
53015 # Required to use basename.
53016 if expr a : '\(a\)' >/dev/null 2>&1 &&
53017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53018 as_expr=expr
53019 else
53020 as_expr=false
53021 fi
53022
53023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53024 as_basename=basename
53025 else
53026 as_basename=false
53027 fi
53028
53029
53030 # Name of the executable.
53031 as_me=`$as_basename -- "$0" ||
53032 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53033 X"$0" : 'X\(//\)$' \| \
53034 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53035 echo X/"$0" |
53036 sed '/^.*\/\([^/][^/]*\)\/*$/{
53037 s//\1/
53038 q
53039 }
53040 /^X\/\(\/\/\)$/{
53041 s//\1/
53042 q
53043 }
53044 /^X\/\(\/\).*/{
53045 s//\1/
53046 q
53047 }
53048 s/.*/./; q'`
53049
53050 # CDPATH.
53051 $as_unset CDPATH
53052
53053
53054
53055 as_lineno_1=$LINENO
53056 as_lineno_2=$LINENO
53057 test "x$as_lineno_1" != "x$as_lineno_2" &&
53058 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53059
53060 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53061 # uniformly replaced by the line number. The first 'sed' inserts a
53062 # line-number line after each line using $LINENO; the second 'sed'
53063 # does the real work. The second script uses 'N' to pair each
53064 # line-number line with the line containing $LINENO, and appends
53065 # trailing '-' during substitution so that $LINENO is not a special
53066 # case at line end.
53067 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53068 # scripts with optimization help from Paolo Bonzini. Blame Lee
53069 # E. McMahon (1931-1989) for sed's syntax. :-)
53070 sed -n '
53071 p
53072 /[$]LINENO/=
53073 ' <$as_myself |
53074 sed '
53075 s/[$]LINENO.*/&-/
53076 t lineno
53077 b
53078 :lineno
53079 N
53080 :loop
53081 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53082 t loop
53083 s/-\n.*//
53084 ' >$as_me.lineno &&
53085 chmod +x "$as_me.lineno" ||
53086 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53087 { (exit 1); exit 1; }; }
53088
53089 # Don't try to exec as it changes $[0], causing all sort of problems
53090 # (the dirname of $[0] is not the place where we might find the
53091 # original and so on. Autoconf is especially sensitive to this).
53092 . "./$as_me.lineno"
53093 # Exit status is that of the last command.
53094 exit
53095 }
53096
53097
53098 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53099 as_dirname=dirname
53100 else
53101 as_dirname=false
53102 fi
53103
53104 ECHO_C= ECHO_N= ECHO_T=
53105 case `echo -n x` in
53106 -n*)
53107 case `echo 'x\c'` in
53108 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53109 *) ECHO_C='\c';;
53110 esac;;
53111 *)
53112 ECHO_N='-n';;
53113 esac
53114
53115 if expr a : '\(a\)' >/dev/null 2>&1 &&
53116 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53117 as_expr=expr
53118 else
53119 as_expr=false
53120 fi
53121
53122 rm -f conf$$ conf$$.exe conf$$.file
53123 if test -d conf$$.dir; then
53124 rm -f conf$$.dir/conf$$.file
53125 else
53126 rm -f conf$$.dir
53127 mkdir conf$$.dir
53128 fi
53129 echo >conf$$.file
53130 if ln -s conf$$.file conf$$ 2>/dev/null; then
53131 as_ln_s='ln -s'
53132 # ... but there are two gotchas:
53133 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53134 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53135 # In both cases, we have to default to `cp -p'.
53136 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53137 as_ln_s='cp -p'
53138 elif ln conf$$.file conf$$ 2>/dev/null; then
53139 as_ln_s=ln
53140 else
53141 as_ln_s='cp -p'
53142 fi
53143 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53144 rmdir conf$$.dir 2>/dev/null
53145
53146 if mkdir -p . 2>/dev/null; then
53147 as_mkdir_p=:
53148 else
53149 test -d ./-p && rmdir ./-p
53150 as_mkdir_p=false
53151 fi
53152
53153 if test -x / >/dev/null 2>&1; then
53154 as_test_x='test -x'
53155 else
53156 if ls -dL / >/dev/null 2>&1; then
53157 as_ls_L_option=L
53158 else
53159 as_ls_L_option=
53160 fi
53161 as_test_x='
53162 eval sh -c '\''
53163 if test -d "$1"; then
53164 test -d "$1/.";
53165 else
53166 case $1 in
53167 -*)set "./$1";;
53168 esac;
53169 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53170 ???[sx]*):;;*)false;;esac;fi
53171 '\'' sh
53172 '
53173 fi
53174 as_executable_p=$as_test_x
53175
53176 # Sed expression to map a string onto a valid CPP name.
53177 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53178
53179 # Sed expression to map a string onto a valid variable name.
53180 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53181
53182
53183 exec 6>&1
53184
53185 # Save the log message, to keep $[0] and so on meaningful, and to
53186 # report actual input values of CONFIG_FILES etc. instead of their
53187 # values after options handling.
53188 ac_log="
53189 This file was extended by wxWidgets $as_me 2.9.0, which was
53190 generated by GNU Autoconf 2.61. Invocation command line was
53191
53192 CONFIG_FILES = $CONFIG_FILES
53193 CONFIG_HEADERS = $CONFIG_HEADERS
53194 CONFIG_LINKS = $CONFIG_LINKS
53195 CONFIG_COMMANDS = $CONFIG_COMMANDS
53196 $ $0 $@
53197
53198 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53199 "
53200
53201 _ACEOF
53202
53203 cat >>$CONFIG_STATUS <<_ACEOF
53204 # Files that config.status was made for.
53205 config_files="$ac_config_files"
53206 config_headers="$ac_config_headers"
53207 config_commands="$ac_config_commands"
53208
53209 _ACEOF
53210
53211 cat >>$CONFIG_STATUS <<\_ACEOF
53212 ac_cs_usage="\
53213 \`$as_me' instantiates files from templates according to the
53214 current configuration.
53215
53216 Usage: $0 [OPTIONS] [FILE]...
53217
53218 -h, --help print this help, then exit
53219 -V, --version print version number and configuration settings, then exit
53220 -q, --quiet do not print progress messages
53221 -d, --debug don't remove temporary files
53222 --recheck update $as_me by reconfiguring in the same conditions
53223 --file=FILE[:TEMPLATE]
53224 instantiate the configuration file FILE
53225 --header=FILE[:TEMPLATE]
53226 instantiate the configuration header FILE
53227
53228 Configuration files:
53229 $config_files
53230
53231 Configuration headers:
53232 $config_headers
53233
53234 Configuration commands:
53235 $config_commands
53236
53237 Report bugs to <bug-autoconf@gnu.org>."
53238
53239 _ACEOF
53240 cat >>$CONFIG_STATUS <<_ACEOF
53241 ac_cs_version="\\
53242 wxWidgets config.status 2.9.0
53243 configured by $0, generated by GNU Autoconf 2.61,
53244 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53245
53246 Copyright (C) 2006 Free Software Foundation, Inc.
53247 This config.status script is free software; the Free Software Foundation
53248 gives unlimited permission to copy, distribute and modify it."
53249
53250 ac_pwd='$ac_pwd'
53251 srcdir='$srcdir'
53252 INSTALL='$INSTALL'
53253 _ACEOF
53254
53255 cat >>$CONFIG_STATUS <<\_ACEOF
53256 # If no file are specified by the user, then we need to provide default
53257 # value. By we need to know if files were specified by the user.
53258 ac_need_defaults=:
53259 while test $# != 0
53260 do
53261 case $1 in
53262 --*=*)
53263 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53264 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53265 ac_shift=:
53266 ;;
53267 *)
53268 ac_option=$1
53269 ac_optarg=$2
53270 ac_shift=shift
53271 ;;
53272 esac
53273
53274 case $ac_option in
53275 # Handling of the options.
53276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53277 ac_cs_recheck=: ;;
53278 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53279 echo "$ac_cs_version"; exit ;;
53280 --debug | --debu | --deb | --de | --d | -d )
53281 debug=: ;;
53282 --file | --fil | --fi | --f )
53283 $ac_shift
53284 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53285 ac_need_defaults=false;;
53286 --header | --heade | --head | --hea )
53287 $ac_shift
53288 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53289 ac_need_defaults=false;;
53290 --he | --h)
53291 # Conflict between --help and --header
53292 { echo "$as_me: error: ambiguous option: $1
53293 Try \`$0 --help' for more information." >&2
53294 { (exit 1); exit 1; }; };;
53295 --help | --hel | -h )
53296 echo "$ac_cs_usage"; exit ;;
53297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53298 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53299 ac_cs_silent=: ;;
53300
53301 # This is an error.
53302 -*) { echo "$as_me: error: unrecognized option: $1
53303 Try \`$0 --help' for more information." >&2
53304 { (exit 1); exit 1; }; } ;;
53305
53306 *) ac_config_targets="$ac_config_targets $1"
53307 ac_need_defaults=false ;;
53308
53309 esac
53310 shift
53311 done
53312
53313 ac_configure_extra_args=
53314
53315 if $ac_cs_silent; then
53316 exec 6>/dev/null
53317 ac_configure_extra_args="$ac_configure_extra_args --silent"
53318 fi
53319
53320 _ACEOF
53321 cat >>$CONFIG_STATUS <<_ACEOF
53322 if \$ac_cs_recheck; then
53323 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53324 CONFIG_SHELL=$SHELL
53325 export CONFIG_SHELL
53326 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53327 fi
53328
53329 _ACEOF
53330 cat >>$CONFIG_STATUS <<\_ACEOF
53331 exec 5>>config.log
53332 {
53333 echo
53334 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53335 ## Running $as_me. ##
53336 _ASBOX
53337 echo "$ac_log"
53338 } >&5
53339
53340 _ACEOF
53341 cat >>$CONFIG_STATUS <<_ACEOF
53342 #
53343 # INIT-COMMANDS
53344 #
53345
53346 CPP="$CPP"
53347 infile="$srcdir/include/wx/msw/genrcdefs.h"
53348 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53349
53350
53351 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53352 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53353 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53354 LN_S="${LN_S}"
53355
53356
53357 _ACEOF
53358
53359 cat >>$CONFIG_STATUS <<\_ACEOF
53360
53361 # Handling of arguments.
53362 for ac_config_target in $ac_config_targets
53363 do
53364 case $ac_config_target in
53365 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53366 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53367 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53368 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53369 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53370 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53371 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53372 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53373
53374 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53375 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53376 { (exit 1); exit 1; }; };;
53377 esac
53378 done
53379
53380
53381 # If the user did not use the arguments to specify the items to instantiate,
53382 # then the envvar interface is used. Set only those that are not.
53383 # We use the long form for the default assignment because of an extremely
53384 # bizarre bug on SunOS 4.1.3.
53385 if $ac_need_defaults; then
53386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53388 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53389 fi
53390
53391 # Have a temporary directory for convenience. Make it in the build tree
53392 # simply because there is no reason against having it here, and in addition,
53393 # creating and moving files from /tmp can sometimes cause problems.
53394 # Hook for its removal unless debugging.
53395 # Note that there is a small window in which the directory will not be cleaned:
53396 # after its creation but before its name has been assigned to `$tmp'.
53397 $debug ||
53398 {
53399 tmp=
53400 trap 'exit_status=$?
53401 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53402 ' 0
53403 trap '{ (exit 1); exit 1; }' 1 2 13 15
53404 }
53405 # Create a (secure) tmp directory for tmp files.
53406
53407 {
53408 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53409 test -n "$tmp" && test -d "$tmp"
53410 } ||
53411 {
53412 tmp=./conf$$-$RANDOM
53413 (umask 077 && mkdir "$tmp")
53414 } ||
53415 {
53416 echo "$me: cannot create a temporary directory in ." >&2
53417 { (exit 1); exit 1; }
53418 }
53419
53420 #
53421 # Set up the sed scripts for CONFIG_FILES section.
53422 #
53423
53424 # No need to generate the scripts if there are no CONFIG_FILES.
53425 # This happens for instance when ./config.status config.h
53426 if test -n "$CONFIG_FILES"; then
53427
53428 _ACEOF
53429
53430
53431
53432 ac_delim='%!_!# '
53433 for ac_last_try in false false false false false :; do
53434 cat >conf$$subs.sed <<_ACEOF
53435 SHELL!$SHELL$ac_delim
53436 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53437 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53438 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53439 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53440 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53441 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53442 exec_prefix!$exec_prefix$ac_delim
53443 prefix!$prefix$ac_delim
53444 program_transform_name!$program_transform_name$ac_delim
53445 bindir!$bindir$ac_delim
53446 sbindir!$sbindir$ac_delim
53447 libexecdir!$libexecdir$ac_delim
53448 datarootdir!$datarootdir$ac_delim
53449 datadir!$datadir$ac_delim
53450 sysconfdir!$sysconfdir$ac_delim
53451 sharedstatedir!$sharedstatedir$ac_delim
53452 localstatedir!$localstatedir$ac_delim
53453 includedir!$includedir$ac_delim
53454 oldincludedir!$oldincludedir$ac_delim
53455 docdir!$docdir$ac_delim
53456 infodir!$infodir$ac_delim
53457 htmldir!$htmldir$ac_delim
53458 dvidir!$dvidir$ac_delim
53459 pdfdir!$pdfdir$ac_delim
53460 psdir!$psdir$ac_delim
53461 libdir!$libdir$ac_delim
53462 localedir!$localedir$ac_delim
53463 mandir!$mandir$ac_delim
53464 DEFS!$DEFS$ac_delim
53465 ECHO_C!$ECHO_C$ac_delim
53466 ECHO_N!$ECHO_N$ac_delim
53467 ECHO_T!$ECHO_T$ac_delim
53468 LIBS!$LIBS$ac_delim
53469 build_alias!$build_alias$ac_delim
53470 host_alias!$host_alias$ac_delim
53471 target_alias!$target_alias$ac_delim
53472 build!$build$ac_delim
53473 build_cpu!$build_cpu$ac_delim
53474 build_vendor!$build_vendor$ac_delim
53475 build_os!$build_os$ac_delim
53476 host!$host$ac_delim
53477 host_cpu!$host_cpu$ac_delim
53478 host_vendor!$host_vendor$ac_delim
53479 host_os!$host_os$ac_delim
53480 target!$target$ac_delim
53481 target_cpu!$target_cpu$ac_delim
53482 target_vendor!$target_vendor$ac_delim
53483 target_os!$target_os$ac_delim
53484 wx_top_builddir!$wx_top_builddir$ac_delim
53485 CC!$CC$ac_delim
53486 CFLAGS!$CFLAGS$ac_delim
53487 LDFLAGS!$LDFLAGS$ac_delim
53488 CPPFLAGS!$CPPFLAGS$ac_delim
53489 ac_ct_CC!$ac_ct_CC$ac_delim
53490 EXEEXT!$EXEEXT$ac_delim
53491 OBJEXT!$OBJEXT$ac_delim
53492 CPP!$CPP$ac_delim
53493 GREP!$GREP$ac_delim
53494 EGREP!$EGREP$ac_delim
53495 CXX!$CXX$ac_delim
53496 CXXFLAGS!$CXXFLAGS$ac_delim
53497 ac_ct_CXX!$ac_ct_CXX$ac_delim
53498 RANLIB!$RANLIB$ac_delim
53499 AR!$AR$ac_delim
53500 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53501 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53502 INSTALL_DATA!$INSTALL_DATA$ac_delim
53503 STRIP!$STRIP$ac_delim
53504 WINDRES!$WINDRES$ac_delim
53505 DLLTOOL!$DLLTOOL$ac_delim
53506 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53507 LN_S!$LN_S$ac_delim
53508 subdirs!$subdirs$ac_delim
53509 PKG_CONFIG!$PKG_CONFIG$ac_delim
53510 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53511 GTK_LIBS!$GTK_LIBS$ac_delim
53512 GTK_CONFIG!$GTK_CONFIG$ac_delim
53513 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53514 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53515 XMKMF!$XMKMF$ac_delim
53516 X_CFLAGS!$X_CFLAGS$ac_delim
53517 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53518 X_LIBS!$X_LIBS$ac_delim
53519 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53520 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53521 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53522 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53523 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53524 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53525 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53526 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53527 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53528 REZ!$REZ$ac_delim
53529 DEREZ!$DEREZ$ac_delim
53530 SETFILE!$SETFILE$ac_delim
53531 LIBICONV!$LIBICONV$ac_delim
53532 _ACEOF
53533
53534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53535 break
53536 elif $ac_last_try; then
53537 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53538 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53539 { (exit 1); exit 1; }; }
53540 else
53541 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53542 fi
53543 done
53544
53545 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53546 if test -n "$ac_eof"; then
53547 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53548 ac_eof=`expr $ac_eof + 1`
53549 fi
53550
53551 cat >>$CONFIG_STATUS <<_ACEOF
53552 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53554 _ACEOF
53555 sed '
53556 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53557 s/^/s,@/; s/!/@,|#_!!_#|/
53558 :n
53559 t n
53560 s/'"$ac_delim"'$/,g/; t
53561 s/$/\\/; p
53562 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53563 ' >>$CONFIG_STATUS <conf$$subs.sed
53564 rm -f conf$$subs.sed
53565 cat >>$CONFIG_STATUS <<_ACEOF
53566 CEOF$ac_eof
53567 _ACEOF
53568
53569
53570 ac_delim='%!_!# '
53571 for ac_last_try in false false false false false :; do
53572 cat >conf$$subs.sed <<_ACEOF
53573 SDL_CONFIG!$SDL_CONFIG$ac_delim
53574 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53575 SDL_LIBS!$SDL_LIBS$ac_delim
53576 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53577 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53578 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53579 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53580 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53581 HILDON_LIBS!$HILDON_LIBS$ac_delim
53582 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53583 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53584 GST_CFLAGS!$GST_CFLAGS$ac_delim
53585 GST_LIBS!$GST_LIBS$ac_delim
53586 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53587 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53588 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53589 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53590 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53591 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53592 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53593 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53594 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53595 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53596 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53597 VENDOR!$VENDOR$ac_delim
53598 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53599 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53600 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53601 WXUNIV!$WXUNIV$ac_delim
53602 MONOLITHIC!$MONOLITHIC$ac_delim
53603 USE_PLUGINS!$USE_PLUGINS$ac_delim
53604 CXXWARNINGS!$CXXWARNINGS$ac_delim
53605 EXTRALIBS!$EXTRALIBS$ac_delim
53606 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53607 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53608 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53609 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53610 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53611 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53612 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53613 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53614 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53615 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53616 UNICODE!$UNICODE$ac_delim
53617 BUILD!$BUILD$ac_delim
53618 DEBUG_INFO!$DEBUG_INFO$ac_delim
53619 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53620 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53621 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53622 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53623 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53624 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53625 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53626 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53627 SET_MAKE!$SET_MAKE$ac_delim
53628 MAKE_SET!$MAKE_SET$ac_delim
53629 AROPTIONS!$AROPTIONS$ac_delim
53630 NM!$NM$ac_delim
53631 INSTALL_DIR!$INSTALL_DIR$ac_delim
53632 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53633 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53634 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53635 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53636 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53637 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53638 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53639 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53640 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53641 SO_SUFFIX!$SO_SUFFIX$ac_delim
53642 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53643 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53644 LIBPREFIX!$LIBPREFIX$ac_delim
53645 LIBEXT!$LIBEXT$ac_delim
53646 DLLPREFIX!$DLLPREFIX$ac_delim
53647 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53648 dlldir!$dlldir$ac_delim
53649 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53650 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53651 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53652 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53653 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53654 PIC_FLAG!$PIC_FLAG$ac_delim
53655 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53656 USE_SOVERSION!$USE_SOVERSION$ac_delim
53657 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53658 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53659 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53660 USE_MACVERSION!$USE_MACVERSION$ac_delim
53661 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53662 SONAME_FLAG!$SONAME_FLAG$ac_delim
53663 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53664 BK_DEPS!$BK_DEPS$ac_delim
53665 GCC_PCH!$GCC_PCH$ac_delim
53666 ICC_PCH!$ICC_PCH$ac_delim
53667 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53668 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53669 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53670 _ACEOF
53671
53672 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53673 break
53674 elif $ac_last_try; then
53675 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53676 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53677 { (exit 1); exit 1; }; }
53678 else
53679 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53680 fi
53681 done
53682
53683 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53684 if test -n "$ac_eof"; then
53685 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53686 ac_eof=`expr $ac_eof + 1`
53687 fi
53688
53689 cat >>$CONFIG_STATUS <<_ACEOF
53690 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53692 _ACEOF
53693 sed '
53694 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53695 s/^/s,@/; s/!/@,|#_!!_#|/
53696 :n
53697 t n
53698 s/'"$ac_delim"'$/,g/; t
53699 s/$/\\/; p
53700 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53701 ' >>$CONFIG_STATUS <conf$$subs.sed
53702 rm -f conf$$subs.sed
53703 cat >>$CONFIG_STATUS <<_ACEOF
53704 CEOF$ac_eof
53705 _ACEOF
53706
53707
53708 ac_delim='%!_!# '
53709 for ac_last_try in false false false false false :; do
53710 cat >conf$$subs.sed <<_ACEOF
53711 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53712 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53713 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53714 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53715 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53716 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53717 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53718 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53719 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53720 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53721 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53722 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53723 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53724 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53725 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53726 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53727 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53729 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
53732 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53733 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
53734 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53735 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53736 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53737 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53738 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53739 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53741 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53742 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
53743 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53744 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
53745 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53746 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53747 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53748 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53749 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53750 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53751 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
53752 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53753 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53754 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
53755 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53756 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53757 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53758 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53759 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53760 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53761 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53762 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53763 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53764 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53765 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53766 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53767 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
53768 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
53769 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
53770 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
53771 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
53772 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
53773 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
53774 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53775 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53776 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53777 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53778 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53779 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53780 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53781 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53782 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53783 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53784 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53785 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53786 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53787 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53788 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53789 COND_SHARED_0!$COND_SHARED_0$ac_delim
53790 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53791 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53792 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53793 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53794 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53795 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53796 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53797 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53798 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
53799 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
53800 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
53801 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
53802 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
53803 COND_SHARED_1!$COND_SHARED_1$ac_delim
53804 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53805 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
53806 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53807 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53808 _ACEOF
53809
53810 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53811 break
53812 elif $ac_last_try; then
53813 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53814 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53815 { (exit 1); exit 1; }; }
53816 else
53817 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53818 fi
53819 done
53820
53821 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53822 if test -n "$ac_eof"; then
53823 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53824 ac_eof=`expr $ac_eof + 1`
53825 fi
53826
53827 cat >>$CONFIG_STATUS <<_ACEOF
53828 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53829 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53830 _ACEOF
53831 sed '
53832 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53833 s/^/s,@/; s/!/@,|#_!!_#|/
53834 :n
53835 t n
53836 s/'"$ac_delim"'$/,g/; t
53837 s/$/\\/; p
53838 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53839 ' >>$CONFIG_STATUS <conf$$subs.sed
53840 rm -f conf$$subs.sed
53841 cat >>$CONFIG_STATUS <<_ACEOF
53842 CEOF$ac_eof
53843 _ACEOF
53844
53845
53846 ac_delim='%!_!# '
53847 for ac_last_try in false false false false false :; do
53848 cat >conf$$subs.sed <<_ACEOF
53849 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53850 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53851 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53852 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53853 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53854 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53856 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53859 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53860 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53861 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53862 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
53863 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
53864 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53865 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53866 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53867 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53868 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53869 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53870 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53871 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53872 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53873 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53874 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53875 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53876 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53877 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53878 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53879 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53880 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53881 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53882 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53883 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53884 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53885 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53886 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53887 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53888 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53889 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53890 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53891 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53892 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53893 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
53894 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53895 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53896 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53897 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53898 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53899 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
53900 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53901 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53902 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53903 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53904 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53905 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53906 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53907 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53908 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53909 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53910 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53911 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53912 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53913 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53914 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53915 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53916 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
53917 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53918 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53919 SHARED!$SHARED$ac_delim
53920 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53921 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53922 USE_GUI!$USE_GUI$ac_delim
53923 AFMINSTALL!$AFMINSTALL$ac_delim
53924 WIN32INSTALL!$WIN32INSTALL$ac_delim
53925 TOOLKIT!$TOOLKIT$ac_delim
53926 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53927 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53928 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53929 cross_compiling!$cross_compiling$ac_delim
53930 WIDGET_SET!$WIDGET_SET$ac_delim
53931 WX_RELEASE!$WX_RELEASE$ac_delim
53932 WX_VERSION!$WX_VERSION$ac_delim
53933 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53934 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53935 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
53936 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53937 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53938 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53939 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53940 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53941 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53942 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53943 EXE_LINKER!$EXE_LINKER$ac_delim
53944 GUIDIST!$GUIDIST$ac_delim
53945 DISTDIR!$DISTDIR$ac_delim
53946 _ACEOF
53947
53948 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53949 break
53950 elif $ac_last_try; then
53951 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53952 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53953 { (exit 1); exit 1; }; }
53954 else
53955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53956 fi
53957 done
53958
53959 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53960 if test -n "$ac_eof"; then
53961 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53962 ac_eof=`expr $ac_eof + 1`
53963 fi
53964
53965 cat >>$CONFIG_STATUS <<_ACEOF
53966 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53968 _ACEOF
53969 sed '
53970 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53971 s/^/s,@/; s/!/@,|#_!!_#|/
53972 :n
53973 t n
53974 s/'"$ac_delim"'$/,g/; t
53975 s/$/\\/; p
53976 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53977 ' >>$CONFIG_STATUS <conf$$subs.sed
53978 rm -f conf$$subs.sed
53979 cat >>$CONFIG_STATUS <<_ACEOF
53980 CEOF$ac_eof
53981 _ACEOF
53982
53983
53984 ac_delim='%!_!# '
53985 for ac_last_try in false false false false false :; do
53986 cat >conf$$subs.sed <<_ACEOF
53987 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53988 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53989 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53990 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53991 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53992 RESCOMP!$RESCOMP$ac_delim
53993 RESFLAGS!$RESFLAGS$ac_delim
53994 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53995 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53996 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53997 LIBWXMACRES!$LIBWXMACRES$ac_delim
53998 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53999 MACSETFILE!$MACSETFILE$ac_delim
54000 GCC!$GCC$ac_delim
54001 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54002 LIBOBJS!$LIBOBJS$ac_delim
54003 LTLIBOBJS!$LTLIBOBJS$ac_delim
54004 _ACEOF
54005
54006 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54007 break
54008 elif $ac_last_try; then
54009 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54010 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54011 { (exit 1); exit 1; }; }
54012 else
54013 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54014 fi
54015 done
54016
54017 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54018 if test -n "$ac_eof"; then
54019 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54020 ac_eof=`expr $ac_eof + 1`
54021 fi
54022
54023 cat >>$CONFIG_STATUS <<_ACEOF
54024 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54026 _ACEOF
54027 sed '
54028 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54029 s/^/s,@/; s/!/@,|#_!!_#|/
54030 :n
54031 t n
54032 s/'"$ac_delim"'$/,g/; t
54033 s/$/\\/; p
54034 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54035 ' >>$CONFIG_STATUS <conf$$subs.sed
54036 rm -f conf$$subs.sed
54037 cat >>$CONFIG_STATUS <<_ACEOF
54038 :end
54039 s/|#_!!_#|//g
54040 CEOF$ac_eof
54041 _ACEOF
54042
54043
54044 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54045 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54046 # trailing colons and then remove the whole line if VPATH becomes empty
54047 # (actually we leave an empty line to preserve line numbers).
54048 if test "x$srcdir" = x.; then
54049 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54050 s/:*\$(srcdir):*/:/
54051 s/:*\${srcdir}:*/:/
54052 s/:*@srcdir@:*/:/
54053 s/^\([^=]*=[ ]*\):*/\1/
54054 s/:*$//
54055 s/^[^=]*=[ ]*$//
54056 }'
54057 fi
54058
54059 cat >>$CONFIG_STATUS <<\_ACEOF
54060 fi # test -n "$CONFIG_FILES"
54061
54062
54063 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54064 do
54065 case $ac_tag in
54066 :[FHLC]) ac_mode=$ac_tag; continue;;
54067 esac
54068 case $ac_mode$ac_tag in
54069 :[FHL]*:*);;
54070 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54071 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54072 { (exit 1); exit 1; }; };;
54073 :[FH]-) ac_tag=-:-;;
54074 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54075 esac
54076 ac_save_IFS=$IFS
54077 IFS=:
54078 set x $ac_tag
54079 IFS=$ac_save_IFS
54080 shift
54081 ac_file=$1
54082 shift
54083
54084 case $ac_mode in
54085 :L) ac_source=$1;;
54086 :[FH])
54087 ac_file_inputs=
54088 for ac_f
54089 do
54090 case $ac_f in
54091 -) ac_f="$tmp/stdin";;
54092 *) # Look for the file first in the build tree, then in the source tree
54093 # (if the path is not absolute). The absolute path cannot be DOS-style,
54094 # because $ac_f cannot contain `:'.
54095 test -f "$ac_f" ||
54096 case $ac_f in
54097 [\\/$]*) false;;
54098 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54099 esac ||
54100 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54101 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54102 { (exit 1); exit 1; }; };;
54103 esac
54104 ac_file_inputs="$ac_file_inputs $ac_f"
54105 done
54106
54107 # Let's still pretend it is `configure' which instantiates (i.e., don't
54108 # use $as_me), people would be surprised to read:
54109 # /* config.h. Generated by config.status. */
54110 configure_input="Generated from "`IFS=:
54111 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54112 if test x"$ac_file" != x-; then
54113 configure_input="$ac_file. $configure_input"
54114 { echo "$as_me:$LINENO: creating $ac_file" >&5
54115 echo "$as_me: creating $ac_file" >&6;}
54116 fi
54117
54118 case $ac_tag in
54119 *:-:* | *:-) cat >"$tmp/stdin";;
54120 esac
54121 ;;
54122 esac
54123
54124 ac_dir=`$as_dirname -- "$ac_file" ||
54125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54126 X"$ac_file" : 'X\(//\)[^/]' \| \
54127 X"$ac_file" : 'X\(//\)$' \| \
54128 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54129 echo X"$ac_file" |
54130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54131 s//\1/
54132 q
54133 }
54134 /^X\(\/\/\)[^/].*/{
54135 s//\1/
54136 q
54137 }
54138 /^X\(\/\/\)$/{
54139 s//\1/
54140 q
54141 }
54142 /^X\(\/\).*/{
54143 s//\1/
54144 q
54145 }
54146 s/.*/./; q'`
54147 { as_dir="$ac_dir"
54148 case $as_dir in #(
54149 -*) as_dir=./$as_dir;;
54150 esac
54151 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54152 as_dirs=
54153 while :; do
54154 case $as_dir in #(
54155 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54156 *) as_qdir=$as_dir;;
54157 esac
54158 as_dirs="'$as_qdir' $as_dirs"
54159 as_dir=`$as_dirname -- "$as_dir" ||
54160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54161 X"$as_dir" : 'X\(//\)[^/]' \| \
54162 X"$as_dir" : 'X\(//\)$' \| \
54163 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54164 echo X"$as_dir" |
54165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54166 s//\1/
54167 q
54168 }
54169 /^X\(\/\/\)[^/].*/{
54170 s//\1/
54171 q
54172 }
54173 /^X\(\/\/\)$/{
54174 s//\1/
54175 q
54176 }
54177 /^X\(\/\).*/{
54178 s//\1/
54179 q
54180 }
54181 s/.*/./; q'`
54182 test -d "$as_dir" && break
54183 done
54184 test -z "$as_dirs" || eval "mkdir $as_dirs"
54185 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54186 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54187 { (exit 1); exit 1; }; }; }
54188 ac_builddir=.
54189
54190 case "$ac_dir" in
54191 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54192 *)
54193 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54194 # A ".." for each directory in $ac_dir_suffix.
54195 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54196 case $ac_top_builddir_sub in
54197 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54198 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54199 esac ;;
54200 esac
54201 ac_abs_top_builddir=$ac_pwd
54202 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54203 # for backward compatibility:
54204 ac_top_builddir=$ac_top_build_prefix
54205
54206 case $srcdir in
54207 .) # We are building in place.
54208 ac_srcdir=.
54209 ac_top_srcdir=$ac_top_builddir_sub
54210 ac_abs_top_srcdir=$ac_pwd ;;
54211 [\\/]* | ?:[\\/]* ) # Absolute name.
54212 ac_srcdir=$srcdir$ac_dir_suffix;
54213 ac_top_srcdir=$srcdir
54214 ac_abs_top_srcdir=$srcdir ;;
54215 *) # Relative name.
54216 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54217 ac_top_srcdir=$ac_top_build_prefix$srcdir
54218 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54219 esac
54220 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54221
54222
54223 case $ac_mode in
54224 :F)
54225 #
54226 # CONFIG_FILE
54227 #
54228
54229 case $INSTALL in
54230 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54231 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54232 esac
54233 _ACEOF
54234
54235 cat >>$CONFIG_STATUS <<\_ACEOF
54236 # If the template does not know about datarootdir, expand it.
54237 # FIXME: This hack should be removed a few years after 2.60.
54238 ac_datarootdir_hack=; ac_datarootdir_seen=
54239
54240 case `sed -n '/datarootdir/ {
54241 p
54242 q
54243 }
54244 /@datadir@/p
54245 /@docdir@/p
54246 /@infodir@/p
54247 /@localedir@/p
54248 /@mandir@/p
54249 ' $ac_file_inputs` in
54250 *datarootdir*) ac_datarootdir_seen=yes;;
54251 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54252 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54253 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54254 _ACEOF
54255 cat >>$CONFIG_STATUS <<_ACEOF
54256 ac_datarootdir_hack='
54257 s&@datadir@&$datadir&g
54258 s&@docdir@&$docdir&g
54259 s&@infodir@&$infodir&g
54260 s&@localedir@&$localedir&g
54261 s&@mandir@&$mandir&g
54262 s&\\\${datarootdir}&$datarootdir&g' ;;
54263 esac
54264 _ACEOF
54265
54266 # Neutralize VPATH when `$srcdir' = `.'.
54267 # Shell code in configure.ac might set extrasub.
54268 # FIXME: do we really want to maintain this feature?
54269 cat >>$CONFIG_STATUS <<_ACEOF
54270 sed "$ac_vpsub
54271 $extrasub
54272 _ACEOF
54273 cat >>$CONFIG_STATUS <<\_ACEOF
54274 :t
54275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54276 s&@configure_input@&$configure_input&;t t
54277 s&@top_builddir@&$ac_top_builddir_sub&;t t
54278 s&@srcdir@&$ac_srcdir&;t t
54279 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54280 s&@top_srcdir@&$ac_top_srcdir&;t t
54281 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54282 s&@builddir@&$ac_builddir&;t t
54283 s&@abs_builddir@&$ac_abs_builddir&;t t
54284 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54285 s&@INSTALL@&$ac_INSTALL&;t t
54286 $ac_datarootdir_hack
54287 " $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
54288
54289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54291 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54292 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54293 which seems to be undefined. Please make sure it is defined." >&5
54294 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54295 which seems to be undefined. Please make sure it is defined." >&2;}
54296
54297 rm -f "$tmp/stdin"
54298 case $ac_file in
54299 -) cat "$tmp/out"; rm -f "$tmp/out";;
54300 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54301 esac
54302 ;;
54303 :H)
54304 #
54305 # CONFIG_HEADER
54306 #
54307 _ACEOF
54308
54309 # Transform confdefs.h into a sed script `conftest.defines', that
54310 # substitutes the proper values into config.h.in to produce config.h.
54311 rm -f conftest.defines conftest.tail
54312 # First, append a space to every undef/define line, to ease matching.
54313 echo 's/$/ /' >conftest.defines
54314 # Then, protect against being on the right side of a sed subst, or in
54315 # an unquoted here document, in config.status. If some macros were
54316 # called several times there might be several #defines for the same
54317 # symbol, which is useless. But do not sort them, since the last
54318 # AC_DEFINE must be honored.
54319 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54320 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54321 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54322 # PARAMS is the parameter list in the macro definition--in most cases, it's
54323 # just an empty string.
54324 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54325 ac_dB='\\)[ (].*,\\1define\\2'
54326 ac_dC=' '
54327 ac_dD=' ,'
54328
54329 uniq confdefs.h |
54330 sed -n '
54331 t rset
54332 :rset
54333 s/^[ ]*#[ ]*define[ ][ ]*//
54334 t ok
54335 d
54336 :ok
54337 s/[\\&,]/\\&/g
54338 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54339 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54340 ' >>conftest.defines
54341
54342 # Remove the space that was appended to ease matching.
54343 # Then replace #undef with comments. This is necessary, for
54344 # example, in the case of _POSIX_SOURCE, which is predefined and required
54345 # on some systems where configure will not decide to define it.
54346 # (The regexp can be short, since the line contains either #define or #undef.)
54347 echo 's/ $//
54348 s,^[ #]*u.*,/* & */,' >>conftest.defines
54349
54350 # Break up conftest.defines:
54351 ac_max_sed_lines=50
54352
54353 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54354 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54355 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54356 # et cetera.
54357 ac_in='$ac_file_inputs'
54358 ac_out='"$tmp/out1"'
54359 ac_nxt='"$tmp/out2"'
54360
54361 while :
54362 do
54363 # Write a here document:
54364 cat >>$CONFIG_STATUS <<_ACEOF
54365 # First, check the format of the line:
54366 cat >"\$tmp/defines.sed" <<\\CEOF
54367 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54368 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54369 b
54370 :def
54371 _ACEOF
54372 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54373 echo 'CEOF
54374 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54375 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54376 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54377 grep . conftest.tail >/dev/null || break
54378 rm -f conftest.defines
54379 mv conftest.tail conftest.defines
54380 done
54381 rm -f conftest.defines conftest.tail
54382
54383 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54384 cat >>$CONFIG_STATUS <<\_ACEOF
54385 if test x"$ac_file" != x-; then
54386 echo "/* $configure_input */" >"$tmp/config.h"
54387 cat "$ac_result" >>"$tmp/config.h"
54388 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54389 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54390 echo "$as_me: $ac_file is unchanged" >&6;}
54391 else
54392 rm -f $ac_file
54393 mv "$tmp/config.h" $ac_file
54394 fi
54395 else
54396 echo "/* $configure_input */"
54397 cat "$ac_result"
54398 fi
54399 rm -f "$tmp/out12"
54400 ;;
54401
54402 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54403 echo "$as_me: executing $ac_file commands" >&6;}
54404 ;;
54405 esac
54406
54407
54408 case $ac_file$ac_mode in
54409 "rcdefs.h":C)
54410 mkdir -p $outdir &&
54411 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54412 ;;
54413 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54414 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54415 "wx-config":C) rm -f wx-config
54416 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54417 ;;
54418
54419 esac
54420 done # for ac_tag
54421
54422
54423 { (exit 0); exit 0; }
54424 _ACEOF
54425 chmod +x $CONFIG_STATUS
54426 ac_clean_files=$ac_clean_files_save
54427
54428
54429 # configure is writing to config.log, and then calls config.status.
54430 # config.status does its own redirection, appending to config.log.
54431 # Unfortunately, on DOS this fails, as config.log is still kept open
54432 # by configure, so config.status won't be able to write to it; its
54433 # output is simply discarded. So we exec the FD to /dev/null,
54434 # effectively closing config.log, so it can be properly (re)opened and
54435 # appended to by config.status. When coming back to configure, we
54436 # need to make the FD available again.
54437 if test "$no_create" != yes; then
54438 ac_cs_success=:
54439 ac_config_status_args=
54440 test "$silent" = yes &&
54441 ac_config_status_args="$ac_config_status_args --quiet"
54442 exec 5>/dev/null
54443 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54444 exec 5>>config.log
54445 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54446 # would make configure fail if this is the last instruction.
54447 $ac_cs_success || { (exit 1); exit 1; }
54448 fi
54449
54450 #
54451 # CONFIG_SUBDIRS section.
54452 #
54453 if test "$no_recursion" != yes; then
54454
54455 # Remove --cache-file and --srcdir arguments so they do not pile up.
54456 ac_sub_configure_args=
54457 ac_prev=
54458 eval "set x $ac_configure_args"
54459 shift
54460 for ac_arg
54461 do
54462 if test -n "$ac_prev"; then
54463 ac_prev=
54464 continue
54465 fi
54466 case $ac_arg in
54467 -cache-file | --cache-file | --cache-fil | --cache-fi \
54468 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54469 ac_prev=cache_file ;;
54470 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54471 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54472 | --c=*)
54473 ;;
54474 --config-cache | -C)
54475 ;;
54476 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54477 ac_prev=srcdir ;;
54478 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54479 ;;
54480 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54481 ac_prev=prefix ;;
54482 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54483 ;;
54484 *)
54485 case $ac_arg in
54486 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54487 esac
54488 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54489 esac
54490 done
54491
54492 # Always prepend --prefix to ensure using the same prefix
54493 # in subdir configurations.
54494 ac_arg="--prefix=$prefix"
54495 case $ac_arg in
54496 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54497 esac
54498 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54499
54500 # Pass --silent
54501 if test "$silent" = yes; then
54502 ac_sub_configure_args="--silent $ac_sub_configure_args"
54503 fi
54504
54505 ac_popdir=`pwd`
54506 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54507
54508 # Do not complain, so a configure script can configure whichever
54509 # parts of a large source tree are present.
54510 test -d "$srcdir/$ac_dir" || continue
54511
54512 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54513 echo "$as_me:$LINENO: $ac_msg" >&5
54514 echo "$ac_msg" >&6
54515 { as_dir="$ac_dir"
54516 case $as_dir in #(
54517 -*) as_dir=./$as_dir;;
54518 esac
54519 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54520 as_dirs=
54521 while :; do
54522 case $as_dir in #(
54523 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54524 *) as_qdir=$as_dir;;
54525 esac
54526 as_dirs="'$as_qdir' $as_dirs"
54527 as_dir=`$as_dirname -- "$as_dir" ||
54528 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54529 X"$as_dir" : 'X\(//\)[^/]' \| \
54530 X"$as_dir" : 'X\(//\)$' \| \
54531 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54532 echo X"$as_dir" |
54533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54534 s//\1/
54535 q
54536 }
54537 /^X\(\/\/\)[^/].*/{
54538 s//\1/
54539 q
54540 }
54541 /^X\(\/\/\)$/{
54542 s//\1/
54543 q
54544 }
54545 /^X\(\/\).*/{
54546 s//\1/
54547 q
54548 }
54549 s/.*/./; q'`
54550 test -d "$as_dir" && break
54551 done
54552 test -z "$as_dirs" || eval "mkdir $as_dirs"
54553 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54554 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54555 { (exit 1); exit 1; }; }; }
54556 ac_builddir=.
54557
54558 case "$ac_dir" in
54559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54560 *)
54561 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54562 # A ".." for each directory in $ac_dir_suffix.
54563 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54564 case $ac_top_builddir_sub in
54565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54567 esac ;;
54568 esac
54569 ac_abs_top_builddir=$ac_pwd
54570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54571 # for backward compatibility:
54572 ac_top_builddir=$ac_top_build_prefix
54573
54574 case $srcdir in
54575 .) # We are building in place.
54576 ac_srcdir=.
54577 ac_top_srcdir=$ac_top_builddir_sub
54578 ac_abs_top_srcdir=$ac_pwd ;;
54579 [\\/]* | ?:[\\/]* ) # Absolute name.
54580 ac_srcdir=$srcdir$ac_dir_suffix;
54581 ac_top_srcdir=$srcdir
54582 ac_abs_top_srcdir=$srcdir ;;
54583 *) # Relative name.
54584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54585 ac_top_srcdir=$ac_top_build_prefix$srcdir
54586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54587 esac
54588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54589
54590
54591 cd "$ac_dir"
54592
54593 # Check for guested configure; otherwise get Cygnus style configure.
54594 if test -f "$ac_srcdir/configure.gnu"; then
54595 ac_sub_configure=$ac_srcdir/configure.gnu
54596 elif test -f "$ac_srcdir/configure"; then
54597 ac_sub_configure=$ac_srcdir/configure
54598 elif test -f "$ac_srcdir/configure.in"; then
54599 # This should be Cygnus configure.
54600 ac_sub_configure=$ac_aux_dir/configure
54601 else
54602 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54603 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54604 ac_sub_configure=
54605 fi
54606
54607 # The recursion is here.
54608 if test -n "$ac_sub_configure"; then
54609 # Make the cache file name correct relative to the subdirectory.
54610 case $cache_file in
54611 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54612 *) # Relative name.
54613 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54614 esac
54615
54616 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54617 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54618 # The eval makes quoting arguments work.
54619 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54620 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54621 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54622 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54623 { (exit 1); exit 1; }; }
54624 fi
54625
54626 cd "$ac_popdir"
54627 done
54628 fi
54629
54630
54631 echo
54632 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54633 echo ""
54634 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54635 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54636
54637 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54638 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54639 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54640 if test "$wxUSE_UNICODE" = "yes"; then
54641 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54642 echo " (using UTF-8)"
54643 else
54644 echo " (using wchar_t)"
54645 fi
54646 else
54647 echo
54648 fi
54649
54650 echo " What level of wxWidgets compatibility should be enabled?"
54651 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54652 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54653
54654 echo " Which libraries should wxWidgets use?"
54655 echo " jpeg ${wxUSE_LIBJPEG-none}"
54656 echo " png ${wxUSE_LIBPNG-none}"
54657 echo " regex ${wxUSE_REGEX}"
54658 echo " tiff ${wxUSE_LIBTIFF-none}"
54659 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54660 echo " xpm ${wxUSE_LIBXPM-none}"
54661 fi
54662 echo " zlib ${wxUSE_ZLIB}"
54663 echo " odbc ${wxUSE_ODBC}"
54664 echo " expat ${wxUSE_EXPAT}"
54665 echo " libmspack ${wxUSE_LIBMSPACK}"
54666 echo " sdl ${wxUSE_LIBSDL}"
54667
54668 echo ""
54669